/* ==========================================================================
   Föhrenbach Versicherungsmakler GmbH
   Visual direction: contemporary European editorial
   Palette: warm paper, deep pine-ink, sage and terracotta
   Type: system serif for display, system sans for text (no external fonts)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --paper: #F3EFE6;
  --paper-2: #EAE4D6;
  --white: #FBF9F4;
  --ink: #16231F;
  --ink-deep: #101A17;
  --pine: #2F4A40;
  --sage: #D8DFCE;
  --sage-2: #BCC8B0;
  --clay: #B4532E;
  --clay-dark: #963F1D;
  --clay-soft: #E9B79F;

  --muted: #58635C;
  --on-dark-muted: rgba(243, 239, 230, 0.74);
  --line: rgba(22, 35, 31, 0.16);
  --line-light: rgba(243, 239, 230, 0.2);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 80px;
  --radius: 4px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.12;
}

h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.6rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a {
  color: inherit;
  text-decoration-color: rgba(180, 83, 46, 0.55);
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}
a:hover { color: var(--clay-dark); text-decoration-color: currentColor; }

:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
  border-radius: 2px;
}

address { font-style: normal; }
ul, ol { margin: 0; padding: 0; list-style: none; }

section[id] { scroll-margin-top: calc(var(--header-h) - 1px); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(72px, 9vw, 136px); }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--paper); }

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--lg { width: 30px; height: 30px; stroke-width: 1.4; }

/* SVG illustration colour helpers */
.f-paper { fill: var(--paper); }
.f-sage { fill: var(--sage); }
.f-sage2 { fill: var(--sage-2); }
.f-pine { fill: var(--pine); }
.f-ink { fill: var(--ink); }
.f-clay { fill: var(--clay); }
.arc {
  fill: none;
  stroke: var(--clay);
  stroke-width: 2;
  stroke-dasharray: 3 9;
  stroke-linecap: round;
}
.arc--faint { opacity: 0.55; }
.rule { fill: none; stroke: var(--ink); stroke-opacity: 0.18; stroke-width: 1; }
.rule--light { stroke: var(--paper); stroke-opacity: 0.25; }

/* --------------------------------------------------------------------------
   3. Shared components
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
}
.eyebrow--light { color: var(--clay-soft); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 28px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover { background: var(--clay); border-color: var(--clay); color: var(--white); }
.btn:hover .icon { transform: translateX(5px); }
.btn:active { transform: translateY(1px); }

.btn--small { padding: 12px 20px; font-size: 0.88rem; }
.btn--clay { background: var(--clay); border-color: var(--clay); color: var(--white); }
.btn--clay:hover { background: var(--ink); border-color: var(--ink); }
.btn--light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--clay-soft); border-color: var(--clay-soft); color: var(--ink); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}
.link-arrow .icon { transition: transform 0.25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(5px); }
.link-arrow--light { color: var(--clay-soft); }
.link-arrow--light:hover { color: var(--paper); }

/* Scroll reveal (only active when JavaScript is available) */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   4. Top bar and header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: var(--on-dark-muted);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 9px;
}
.topbar__links { display: flex; align-items: center; gap: 28px; }
.topbar a { color: var(--paper); text-decoration: none; }
.topbar a:hover { color: var(--clay-soft); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 12px 30px -22px rgba(22, 35, 31, 0.5); }

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand__mark {
  display: grid;
  place-items: end center;
  width: 38px;
  height: 46px;
  padding-bottom: 6px;
  border-radius: 999px 999px 3px 3px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1;
  transition: background-color 0.3s var(--ease);
}
.brand:hover .brand__mark { background: var(--clay); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.brand__text small {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; gap: 34px; }
.nav__link {
  position: relative;
  display: inline-block;
  padding-block: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link:hover { color: var(--ink); }

.nav-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  position: absolute;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), background-color 0.2s;
}
.nav-toggle__bars { top: 50%; left: 50%; margin: -1px 0 0 -9px; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle.is-open .nav-toggle__bars { background: transparent; }
.nav-toggle.is-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(48px, 6vw, 96px);
}
.hero__ring {
  position: absolute;
  top: -180px;
  right: -200px;
  width: 760px;
  height: 760px;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}
.hero__ring::after {
  content: "";
  position: absolute;
  inset: 90px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.hero h1 {
  max-width: 14.5em;
  font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.3rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.hero h1 em {
  font-style: italic;
  color: var(--clay);
  background: linear-gradient(transparent 84%, rgba(180, 83, 46, 0.22) 84%);
}

.lead {
  max-width: 40em;
  margin-top: 32px;
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 36px;
  margin-top: 40px;
}

.hero__visual { position: relative; }
.arch {
  width: min(100%, 470px);
  margin-left: auto;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  background: var(--sage);
}
.arch svg { display: block; width: 100%; height: 100%; }

.hero__panel {
  position: absolute;
  left: -10%;
  bottom: 9%;
  width: min(270px, 72%);
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 24px 44px -26px rgba(22, 35, 31, 0.45);
  font-size: 0.95rem;
  line-height: 1.5;
}
.hero__panel p { margin: 6px 0 8px; font-family: var(--serif); font-size: 1.15rem; line-height: 1.35; }
.hero__panel a { font-size: 0.88rem; font-weight: 600; }
.hero__panel-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
}
.hero__panel-label .icon { width: 16px; height: 16px; }

/* Hero entrance animation (CSS only, so content is visible without JS) */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
.hero__copy > * { animation: fade-up 0.9s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: 0.08s; }
.hero__copy > :nth-child(3) { animation-delay: 0.16s; }
.hero__copy > :nth-child(4) { animation-delay: 0.24s; }
.arch { animation: fade-up 1.1s var(--ease) 0.15s both; }
.hero__panel { animation: fade-up 1s var(--ease) 0.55s both; }

/* Highlight strip */
.strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(56px, 7vw, 104px);
  border-top: 1px solid var(--ink);
}
.strip__item {
  padding: 30px 32px 40px;
  border-left: 1px solid var(--line);
  transition: background-color 0.3s var(--ease);
}
.strip__item:first-child { padding-left: 0; border-left: 0; }
.strip__item:hover { background: rgba(216, 223, 206, 0.45); }
.strip__item:first-child:hover { background: transparent; }
.strip__label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
}
.strip__title { font-size: 1.5rem; margin-bottom: 8px; }
.strip__item p { margin: 0; font-size: 0.95rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   6. About
   -------------------------------------------------------------------------- */
.about { padding-top: clamp(72px, 8vw, 128px); }

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.about__head {
  position: sticky;
  top: calc(var(--header-h) + 36px);
}
.about__head h2 { max-width: 13em; }

.pull {
  margin: 44px 0 0;
  padding-left: 26px;
  border-left: 3px solid var(--clay);
}
.pull p {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.55rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--pine);
}

.about__body p { color: var(--muted); }
.about__body .about__lead {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.65rem);
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 1.4em;
}

.about__row {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(56px, 7vw, 100px);
}
.about__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
}
.about__figure svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.about__figure:hover svg { transform: scale(1.03); }
.about__figure figcaption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 8px 14px;
  background: var(--paper);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.glance {
  padding: clamp(28px, 3vw, 44px);
  border-radius: var(--radius);
  background: var(--pine);
  color: var(--paper);
}
.glance h3 { margin-bottom: 20px; }
.glance dl { margin: 0; }
.glance dl > div { padding: 15px 0; border-top: 1px solid var(--line-light); }
.glance dt {
  margin-bottom: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay-soft);
}
.glance dd { margin: 0; font-size: 0.98rem; line-height: 1.45; }
.glance a { color: var(--paper); }
.glance a:hover { color: var(--clay-soft); }

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(56px, 7vw, 100px);
}
.principle {
  padding-top: 28px;
  border-top: 1px solid var(--ink);
}
.principle__no {
  display: block;
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: 3.6rem;
  line-height: 1;
  color: var(--clay);
}
.principle h3 { margin-bottom: 12px; }
.principle p { color: var(--muted); margin: 0; }

/* --------------------------------------------------------------------------
   7. Services (dark, ruled list)
   -------------------------------------------------------------------------- */
.services { background: var(--ink); color: var(--paper); }

.services__head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(44px, 5vw, 76px);
}
.services__head h2 { max-width: 14em; }
.services__head > p { margin: 0; max-width: 44ch; color: var(--on-dark-muted); }

.services__list { border-top: 1px solid var(--line-light); }

.service {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(30px, 3.6vw, 52px) 0;
  border-bottom: 1px solid var(--line-light);
  transition: background-color 0.4s var(--ease);
}
.service::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--clay-soft);
  transition: width 0.7s var(--ease);
}
.service:hover { background: rgba(243, 239, 230, 0.04); }
.service:hover::before { width: 100%; }

.service__no {
  padding-top: 6px;
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--clay-soft);
}
.service__title {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--paper);
}
.service__title .icon { margin-top: 3px; color: var(--clay-soft); }
.service__title h3 {
  font-size: clamp(1.4rem, 1.15rem + 0.9vw, 1.9rem);
  transition: transform 0.4s var(--ease);
}
.service:hover .service__title h3 { transform: translateX(6px); }

.service__desc { margin: 0; color: var(--on-dark-muted); }

.service__tags { display: grid; gap: 10px; align-content: start; font-size: 0.92rem; }
.service__tags li {
  position: relative;
  padding-left: 24px;
  color: var(--paper);
}
.service__tags li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 12px;
  height: 1px;
  background: var(--clay-soft);
}

.services__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  margin-top: clamp(40px, 5vw, 72px);
  padding: clamp(28px, 3.4vw, 44px);
  border-radius: var(--radius);
  background: var(--pine);
}
.services__cta p {
  max-width: 38em;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.6rem);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   8. Approach / process
   -------------------------------------------------------------------------- */
.process { background: var(--white); }
.process__head { max-width: 780px; margin-bottom: clamp(48px, 6vw, 88px); }

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}
.steps::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 30px;
  right: 30px;
  height: 1px;
  background: var(--ink);
  opacity: 0.3;
}
.step { position: relative; }
.step__no {
  position: relative;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 26px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  font-family: var(--serif);
  font-size: 1.5rem;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.step:hover .step__no { background: var(--clay); border-color: var(--clay); color: var(--white); }
.step h3 { margin-bottom: 10px; }
.step p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* --------------------------------------------------------------------------
   9. Benefits (bento layout)
   -------------------------------------------------------------------------- */
.benefits { background: var(--sage); }
.benefits__head { max-width: 780px; margin-bottom: clamp(44px, 5vw, 76px); }

.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 2.6vw, 38px);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tile:hover { transform: translateY(-6px); box-shadow: 0 28px 44px -30px rgba(22, 35, 31, 0.55); }
.tile__idx {
  margin-bottom: auto;
  padding-bottom: 36px;
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.1em;
  opacity: 0.7;
}
.tile h3 { margin-bottom: 12px; }
.tile p { margin: 0; font-size: 0.98rem; }
.tile a { font-weight: 600; }

.tile--feature {
  grid-row: span 2;
  min-height: 520px;
  background: var(--ink);
  color: var(--paper);
}
.tile--feature h3 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); }
.tile--feature p { color: var(--on-dark-muted); position: relative; z-index: 1; }
.tile--feature .tile__note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--clay-soft);
}
.tile--feature::after {
  content: "";
  position: absolute;
  top: 70px;
  right: 34px;
  width: 190px;
  height: 250px;
  border: 1px solid var(--line-light);
  border-radius: 999px 999px 0 0;
}
.tile--feature h3,
.tile--feature .tile__idx { position: relative; z-index: 1; }

.tile--white { background: var(--white); }
.tile--white p { color: var(--muted); }
.tile--clay { background: var(--clay); color: var(--white); }
.tile--clay p { color: rgba(251, 249, 244, 0.92); }
.tile--line { border: 1px solid var(--ink); }
.tile--line p { color: var(--pine); }
.tile--sand { background: var(--paper); }
.tile--sand p { color: var(--muted); }

/* --------------------------------------------------------------------------
   10. FAQ
   -------------------------------------------------------------------------- */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.faq__intro { position: sticky; top: calc(var(--header-h) + 36px); }
.faq__intro h2 { max-width: 12em; font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); }
.faq__intro p { margin: 24px 0 28px; max-width: 34em; color: var(--muted); }

.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  display: block;
  padding: 26px 56px 26px 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.45rem);
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
  transition: color 0.25s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--clay-dark); }
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 8px;
  width: 18px;
  height: 2px;
  margin-top: -1px;
  background: var(--clay);
  transition: transform 0.35s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p {
  max-width: 44em;
  margin: 0;
  padding: 0 56px 28px 0;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   11. Contact
   -------------------------------------------------------------------------- */
.contact { background: var(--paper-2); }
.contact__head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 68px); }
.contact__head > p { margin-top: 22px; color: var(--muted); }

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: stretch;
}

.contact__panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 3.4vw, 48px);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
}
.contact__panel h3 { margin-bottom: 30px; font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem); }
.contact__list { display: grid; gap: 26px; margin-bottom: 36px; }
.contact__list > div { padding-top: 20px; border-top: 1px solid var(--line-light); }
.contact__label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay-soft);
}
.contact__list p { margin: 0; font-size: 1.05rem; line-height: 1.55; }
.contact__list a { color: var(--paper); }
.contact__list a:hover { color: var(--clay-soft); }
.contact__panel .link-arrow { margin-top: auto; }

.form {
  padding: clamp(28px, 3.4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
}
.field { margin-bottom: 8px; }
.field label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pine);
}
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid rgba(22, 35, 31, 0.4);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 12px) 50%, calc(100% - 6px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 28px; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--clay);
  box-shadow: 0 1px 0 var(--clay);
}
.field__error {
  min-height: 1.5em;
  margin: 4px 0 0;
  font-size: 0.84rem;
  color: #A32A2A;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-bottom-color: #A32A2A; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}
.consent input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--clay);
  cursor: pointer;
}
.form__hint { margin: 4px 0 24px; font-size: 0.85rem; color: var(--muted); }
.form__status { margin: 18px 0 0; font-size: 0.95rem; color: var(--pine); }
.form__status:empty { display: none; }
.form__status.is-success { padding: 14px 18px; border-left: 3px solid var(--pine); background: var(--sage); }

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding-top: clamp(56px, 7vw, 96px);
  background: var(--ink-deep);
  color: var(--on-dark-muted);
  font-size: 0.95rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: clamp(44px, 5vw, 72px);
}
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { color: var(--clay-soft); }
.brand--light { color: var(--paper); }
.brand--light:hover { color: var(--paper); }
.brand--light .brand__mark { background: var(--paper); color: var(--ink); }
.brand--light:hover .brand__mark { background: var(--clay-soft); }
.brand--light .brand__text small { color: var(--on-dark-muted); }
.footer__brand p { max-width: 30em; margin-top: 22px; }
.footer__title {
  margin: 0 0 18px;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay-soft);
}
.footer__col ul { display: grid; gap: 9px; }
.footer__col address { line-height: 1.75; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-block: 24px;
  border-top: 1px solid var(--line-light);
  font-size: 0.85rem;
}
.footer__bottom p { margin: 0; }
.footer__bottom ul { display: flex; gap: 26px; }

/* --------------------------------------------------------------------------
   13. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .service { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.3fr); }
  .service__tags { grid-column: 2 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .steps::before { display: none; }
}

@media (max-width: 980px) {
  :root { --header-h: 72px; }

  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -28px rgba(22, 35, 31, 0.5);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 400;
  }
  .nav__link::after { display: none; }
  .nav__link.is-active { color: var(--clay); }
  .nav__cta { margin-top: 22px; justify-content: center; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; width: 100%; margin-inline: auto; }
  .arch { margin-inline: auto; }
  .hero__panel { left: 16px; bottom: 28px; }
  .hero h1 { max-width: 15em; }

  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .strip__item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .strip__item:nth-child(3):hover { background: transparent; }

  .about__grid,
  .faq__grid,
  .services__head { grid-template-columns: 1fr; }
  .about__head,
  .faq__intro { position: static; }
  .about__row { grid-template-columns: 1fr; }
  .about__figure { aspect-ratio: 16 / 10; }

  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--feature { grid-column: 1 / -1; grid-row: auto; min-height: 360px; }

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

@media (max-width: 720px) {
  .topbar__address { display: none; }
  .topbar__inner { justify-content: space-between; }

  .principles { grid-template-columns: 1fr; gap: 36px; }

  .service { grid-template-columns: 1fr; gap: 16px; }
  .service__tags { grid-column: auto; grid-template-columns: 1fr; }
  .services__cta { flex-direction: column; align-items: flex-start; }

  .steps { grid-template-columns: 1fr; row-gap: 0; padding-left: 0; }
  .steps::before {
    display: block;
    top: 30px;
    bottom: 30px;
    left: 29px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .step { padding: 0 0 36px 84px; }
  .step:last-child { padding-bottom: 0; }
  .step__no { position: absolute; top: 0; left: 0; margin: 0; }

  .field-row { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}

@media (max-width: 560px) {
  .strip { grid-template-columns: 1fr; }
  .strip__item,
  .strip__item:nth-child(3) { padding: 26px 0 30px; border-left: 0; }
  .strip__item:nth-child(n + 2) { border-top: 1px solid var(--line); }
  .bento { grid-template-columns: 1fr; }
  .tile--feature { min-height: 0; }
  .tile--feature::after { width: 130px; height: 170px; top: 40px; right: 20px; }
  .footer__grid { grid-template-columns: 1fr; }
  .brand__text small { letter-spacing: 0.08em; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   14. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
