/* =========================================================
   fudunuzusolution — design system
   Palette and type sampled from the reference site (hubspot.com)
   ========================================================= */

:root {
  --bg: #fcfcfa;
  --surface: #f4f2ec;
  --surface-2: #f7efe6;
  --ink: #1f1f1f;
  --muted: #6a655c;
  --line: #e3dfd5;
  --line-strong: #cfc9bc;
  --accent: #ff4800;
  --accent-dark: #d93a00;
  --accent-soft: #fde5d6;
  --deep: #061c1d;
  --deep-2: #0d2b2c;
  --cream: #f6f1e7;
  --radius: 10px;
  --radius-lg: 16px;
  --container: 1180px;
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --shadow-sm: 0 1px 2px rgba(31, 31, 31, 0.06), 0 8px 24px rgba(31, 31, 31, 0.05);
  --shadow-lg: 0 24px 60px rgba(6, 28, 29, 0.18);
  --header-h: 74px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

em {
  font-style: italic;
}

::selection {
  background: var(--accent);
  color: #fff;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-dark);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 13px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 252, 250, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 24px rgba(31, 31, 31, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.brand-dot {
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  flex: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
}

.nav-link-mobile {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span:first-child {
  top: 16px;
}

.nav-toggle span:last-child {
  bottom: 16px;
}

.nav-toggle[aria-expanded='true'] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* ---------- hero ---------- */

.hero {
  padding: 64px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
}

.hero-title {
  margin: 18px 0 20px;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero-title > span {
  display: block;
}

.hero-title em {
  display: block;
  color: var(--accent);
}

.hero-lead {
  max-width: 54ch;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.stat-value {
  display: block;
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.stat-label {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  padding-bottom: 34px;
  min-width: 0;
}

.device {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 100%;
}

.device img {
  max-width: 100%;
  height: auto;
}

.device.laptop {
  border-radius: 14px;
}

.device-bar {
  display: flex;
  gap: 5px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.device-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-strong);
}

.device.laptop img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: top center;
}

.device.phone {
  position: absolute;
  right: -14px;
  bottom: 0;
  width: 30%;
  min-width: 128px;
  border-radius: 20px;
  border-width: 6px;
  border-color: var(--ink);
  box-shadow: 0 18px 40px rgba(6, 28, 29, 0.24);
}

.device.phone img {
  width: 100%;
  aspect-ratio: 9 / 17;
  object-fit: cover;
  object-position: top center;
}

.hero-note {
  position: absolute;
  left: 2px;
  bottom: 2px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- discipline strip ---------- */

.discipline-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.discipline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.discipline {
  padding: 26px 28px 24px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.discipline:first-child {
  border-left: 0;
  padding-left: 0;
}

.discipline-index {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.discipline-label {
  font-family: var(--font-serif);
  font-size: 21px;
  letter-spacing: -0.01em;
}

.discipline-note {
  font-size: 11.5px;
  color: var(--muted);
}

/* ---------- sections ---------- */

.section {
  padding: 86px 0;
}

.section-tint {
  background: var(--surface);
}

.section-head {
  max-width: 780px;
  margin-bottom: 46px;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  max-width: none;
}

.section-head-row > div {
  max-width: 560px;
}

.section-lead-right {
  max-width: 400px;
}

.section-title {
  margin: 14px 0 16px;
  font-size: clamp(32px, 3.9vw, 46px);
}

.section-title em {
  color: var(--accent);
}

.section-lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 62ch;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.value-grid-four {
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.value-card {
  border-top: 1px solid var(--line-strong);
  padding-top: 22px;
}

.value-index {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 14px;
}

.value-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- split ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-reverse .split-visual {
  order: 2;
}

.split-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.split-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split-copy .section-title {
  margin-top: 14px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 26px 0 28px;
}

.check-list li {
  display: flex;
  gap: 11px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink);
}

.check {
  color: var(--accent);
  font-weight: 700;
  flex: none;
}

/* ---------- feature grid ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 19px;
  height: 19px;
}

.feature-card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- work ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.work-card {
  display: flex;
  flex-direction: column;
}

.work-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.work-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.work-card:hover .work-image img {
  transform: scale(1.03);
}

.work-meta {
  padding: 20px 4px 0;
}

.work-category {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.work-meta h3 {
  font-size: 22px;
  margin: 8px 0 8px;
}

.work-meta p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- principle ---------- */

.principle {
  background: var(--deep);
  color: var(--cream);
  padding: 88px 0;
}

.principle-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}

.principle-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 10px;
}

.principle-quote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.28;
  letter-spacing: -0.02em;
  font-weight: 300;
}

/* ---------- CTA ---------- */

.cta-band {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 64px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.cta-title {
  margin: 10px 0 10px;
  font-size: clamp(30px, 3.6vw, 44px);
}

.cta-title em {
  color: var(--accent);
}

.cta-text {
  color: var(--muted);
  font-size: 15px;
  max-width: 52ch;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex: none;
}

/* ---------- page hero ---------- */

.page-hero {
  padding: 70px 0 48px;
  border-bottom: 1px solid var(--line);
}

.page-hero-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 22px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: end;
}

.page-title {
  font-size: clamp(38px, 4.6vw, 62px);
}

.page-title em {
  color: var(--accent);
}

.page-hero-lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 48ch;
}

/* ---------- services ---------- */

.service-list {
  border-top: 1px solid var(--line-strong);
}

.service-row {
  display: grid;
  grid-template-columns: 150px 1fr 300px;
  gap: 34px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.service-row-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.service-index {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.service-row-main h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.service-row-main p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 52ch;
}

.service-points {
  display: grid;
  gap: 8px;
  align-content: start;
}

.service-points li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  color: var(--ink);
}

.service-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- process ---------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.process-grid-three {
  grid-template-columns: repeat(3, 1fr);
}

.process-step {
  border-top: 1px solid var(--line-strong);
  padding-top: 20px;
}

.process-step-index {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 14px;
}

.process-step h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- FAQ ---------- */

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-serif);
  font-size: 21px;
  letter-spacing: -0.01em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-toggle {
  position: relative;
  width: 16px;
  height: 16px;
  flex: none;
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  background: var(--ink);
  transition: transform 0.2s ease;
}

.faq-toggle::before {
  left: 0;
  top: 7px;
  width: 16px;
  height: 1.5px;
}

.faq-toggle::after {
  left: 7px;
  top: 0;
  width: 1.5px;
  height: 16px;
}

.faq-item[open] .faq-toggle::after {
  transform: scaleY(0);
}

.faq-body {
  padding: 0 48px 24px 0;
}

.faq-body p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  max-width: 70ch;
}

/* ---------- about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 56px;
}

.about-story p {
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 58ch;
}

.about-story .about-lede {
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 16px;
}

.about-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  position: relative;
}

.about-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(252, 252, 250, 0.94);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}

/* ---------- insights ---------- */

.featured-post {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
  padding-bottom: 58px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.featured-post-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.featured-post-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.featured-post-copy h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  margin: 16px 0 14px;
}

.featured-post-copy p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 20px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 32px;
}

.post-grid-three {
  grid-template-columns: repeat(3, 1fr);
}

.post-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  transition: color 0.2s ease;
}

.post-card-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  margin-bottom: 4px;
}

.post-card-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-card-image img {
  transform: scale(1.03);
}

.post-card h3 {
  font-size: 23px;
  line-height: 1.2;
}

.post-card h3 a:hover,
.featured-post-copy h2 a:hover {
  color: var(--accent);
}

.post-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.post-date {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ---------- newsletter ---------- */

.newsletter {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  padding: 64px 0;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.newsletter-copy p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 48ch;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-content: start;
}

.newsletter-form input {
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
}

.newsletter-form input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}

.newsletter-status {
  grid-column: 1 / -1;
  font-size: 12.5px;
  color: var(--accent-dark);
  min-height: 18px;
}

/* ---------- article ---------- */

.article-hero {
  padding: 46px 0 34px;
}

.back-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 26px;
}

.back-link:hover {
  color: var(--ink);
}

.article-meta {
  margin-bottom: 18px;
}

.article-hero .page-title {
  max-width: 20ch;
  margin-bottom: 18px;
}

.article-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  margin-top: 8px;
}

.article-cover img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.section-article {
  padding: 58px 0 70px;
}

.article-body {
  max-width: 720px;
}

.article-body p {
  font-size: 16.5px;
  line-height: 1.85;
  color: #3b3833;
  margin-bottom: 20px;
}

.article-body h2 {
  font-size: 30px;
  margin: 40px 0 14px;
}

.article-body ul {
  margin: 0 0 22px;
  padding-left: 0;
  display: grid;
  gap: 9px;
}

.article-body ul li {
  position: relative;
  padding-left: 20px;
  font-size: 15.5px;
  line-height: 1.75;
  color: #3b3833;
}

.article-body ul li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.article-body blockquote {
  margin: 32px 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--accent);
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.legal-body h2 {
  font-size: 24px;
  margin: 36px 0 12px;
}

.legal-body section:first-child h2 {
  margin-top: 0;
}

.legal-body p {
  font-size: 15px;
  line-height: 1.8;
  color: #3b3833;
  margin-bottom: 14px;
}

.legal-body ul {
  margin: 0 0 18px;
  padding-left: 0;
  display: grid;
  gap: 8px;
}

.legal-body ul li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.75;
  color: #3b3833;
}

.legal-body ul li::before {
  content: '';
  position: absolute;
  left: 1px;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.req {
  color: var(--accent);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  min-height: 46px;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}

.field.has-error input,
.field.has-error textarea {
  border-color: #c82a1c;
}

.field-error {
  font-size: 12px;
  color: #c82a1c;
}

.form-error-banner {
  font-size: 13px;
  color: #c82a1c;
  background: #fbeae6;
  border: 1px solid #f0c4bb;
  border-radius: var(--radius);
  padding: 10px 14px;
  margin-bottom: 18px;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
}

.form-note {
  font-size: 12px;
  color: var(--muted);
}

.success-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 44px 36px;
}

.success-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.success-card h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.success-card p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 10px;
}

.success-card a {
  color: var(--ink);
  text-decoration: underline;
}

.success-actions {
  margin-top: 26px;
}

.contact-aside {
  display: grid;
  gap: 26px;
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.contact-block h3 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.contact-big {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}

.contact-big:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.contact-hint {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

.contact-block p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.contact-aside-note {
  font-size: 12.5px;
  color: var(--muted);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* ---------- 404 ---------- */

.not-found {
  padding: 140px 0 150px;
}

.not-found-inner {
  max-width: 720px;
}

.not-found .page-title {
  margin: 14px 0 18px;
}

.not-found .hero-actions {
  margin-top: 28px;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--deep);
  color: var(--cream);
  padding: 72px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: end;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(246, 241, 231, 0.16);
}

.footer-lede {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.footer-lede em {
  color: var(--accent);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.55);
}

.footer-email {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(246, 241, 231, 0.35);
  padding-bottom: 3px;
}

.footer-email:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.footer-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.4fr;
  gap: 32px;
  padding: 44px 0;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col h3 {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.5);
  margin-bottom: 4px;
}

.footer-col a,
.footer-address {
  font-size: 13.5px;
  color: rgba(246, 241, 231, 0.88);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-address {
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(246, 241, 231, 0.16);
  font-size: 12px;
  color: rgba(246, 241, 231, 0.55);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-legal a:hover {
  color: var(--cream);
}

.footer-domain {
  letter-spacing: 0.08em;
}

/* ---------- reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .hero-grid {
    gap: 40px;
  }

  .service-row {
    grid-template-columns: 110px 1fr 240px;
  }

  .value-grid-four {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 960px) {
  .main-nav {
    gap: 20px;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 32px 20px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .main-nav .nav-link {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
    color: var(--ink);
  }

  .nav-link-mobile {
    display: block;
    border-bottom: 0 !important;
    color: var(--accent) !important;
    font-weight: 700;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    max-width: 620px;
  }

  .discipline-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .discipline:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .discipline:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .page-hero-grid,
  .about-grid,
  .contact-grid,
  .newsletter-inner,
  .split,
  .featured-post {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .split-reverse .split-visual {
    order: 0;
  }

  .page-hero-lead {
    max-width: 60ch;
  }

  .service-row {
    grid-template-columns: 90px 1fr;
    grid-template-areas:
      'head main'
      'head points';
    gap: 20px 24px;
  }

  .service-row-head {
    grid-area: head;
  }

  .service-row-main {
    grid-area: main;
  }

  .service-points {
    grid-area: points;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
  }

  .value-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid,
  .process-grid-three {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .work-image img {
    aspect-ratio: 16 / 9;
  }

  .principle-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }

  .post-grid,
  .post-grid-three {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-aside {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 32px;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .contact-aside-note {
    grid-column: 1 / -1;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .section-lead-right {
    max-width: 60ch;
  }
}

@media (max-width: 620px) {
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 60px 0;
  }

  .hero-title {
    font-size: clamp(38px, 10vw, 50px);
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .stat-value {
    margin-bottom: 2px;
  }

  .discipline-grid {
    grid-template-columns: 1fr;
  }

  .discipline {
    border-left: 0 !important;
    padding-left: 0 !important;
    border-top: 1px solid var(--line);
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .discipline:first-child {
    border-top: 0;
  }

  .process-grid,
  .process-grid-three {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .post-grid,
  .post-grid-three {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 24px 20px;
  }

  .form-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-actions .btn {
    width: 100%;
  }

  .contact-aside {
    grid-template-columns: 1fr;
  }

  .service-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      'head'
      'main'
      'points';
    gap: 14px;
  }

  .service-row-head {
    flex-direction: row;
    align-items: center;
  }

  .service-points {
    grid-template-columns: 1fr;
  }

  .value-grid-four {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 46px 0 34px;
  }

  .page-hero-top {
    font-size: 10px;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .newsletter-form .btn {
    width: 100%;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .device.phone {
    right: 0;
    width: 32%;
  }

  .hero-note {
    display: none;
  }

  .article-body blockquote {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
