/* Brick & Browser — design system v2 */
/* Fonts (Archivo, Newsreader) are loaded via <link> tags in each page <head> */

:root {
  --ink: #1c1917;
  --ink-2: #262220;
  --ink-3: #332d29;
  --paper: #efece4;
  --paper-2: #e8e3d8;
  --paper-raised: #fffdf9;
  --white: #fffefc;

  --garnet: #7b2a33;
  --garnet-dark: #5e1f27;
  --garnet-light: #9c3d47;
  --garnet-tint: rgba(123, 42, 51, 0.07);
  --garnet-tint-strong: rgba(123, 42, 51, 0.14);

  --brass: #a9863e;
  --brass-light: #c7a35e;
  --brass-tint: rgba(169, 134, 62, 0.16);

  --stone: #6b6259;
  --stone-light: #8a8177;
  --stone-on-ink: #b6ada0;

  --line: rgba(28, 25, 23, 0.13);
  --line-strong: rgba(28, 25, 23, 0.24);
  --line-on-ink: rgba(239, 236, 228, 0.14);
  --line-on-ink-strong: rgba(239, 236, 228, 0.26);

  --font-sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Newsreader', Georgia, serif;

  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.05), 0 4px 10px -6px rgba(123, 42, 51, 0.12);
  --shadow-md: 0 2px 4px rgba(28, 25, 23, 0.06), 0 20px 40px -16px rgba(28, 25, 23, 0.18);
  --shadow-lg: 0 4px 8px rgba(28, 25, 23, 0.08), 0 30px 60px -20px rgba(28, 25, 23, 0.24);

  --ease: cubic-bezier(.22, .68, 0, 1);
  --container: 1180px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; }

::selection { background: var(--garnet); color: var(--white); }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Type utilities */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--garnet);
}
.eyebrow::before {
  content: '';
  width: 16px;
  height: 1.5px;
  background: var(--garnet);
}
.eyebrow.on-ink { color: var(--brass-light); }
.eyebrow.on-ink::before { background: var(--brass-light); }

.accent { color: var(--garnet); font-style: italic; font-family: var(--font-serif); font-weight: 500; }

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 26px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--garnet);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(94, 31, 39, 0.2), 0 14px 30px -12px rgba(123, 42, 51, 0.55);
}
.btn-primary:hover { background: var(--garnet-dark); transform: translateY(-2px); box-shadow: 0 2px 4px rgba(94, 31, 39, 0.25), 0 20px 36px -12px rgba(123, 42, 51, 0.6); }
.btn-primary:focus-visible { outline-color: var(--ink); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(28, 25, 23, 0.04); transform: translateY(-2px); }

.btn-ghost.on-ink { color: var(--paper); border-color: var(--line-on-ink-strong); }
.btn-ghost.on-ink:hover { border-color: var(--paper); background: rgba(239, 236, 228, 0.06); }

.btn-sm { padding: 10px 18px; font-size: 12px; }
.btn-lg { padding: 17px 30px; font-size: 13.5px; }
.btn svg { transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--garnet);
  border-bottom: 1.5px solid rgba(123, 42, 51, 0.3);
  padding-bottom: 2px;
  transition: border-color 0.25s ease, gap 0.25s ease;
}
.text-link:hover { border-color: var(--garnet); gap: 10px; }
.text-link.on-ink { color: var(--brass-light); border-color: rgba(199, 163, 94, 0.35); }
.text-link.on-ink:hover { border-color: var(--brass-light); }
.text-link svg { flex-shrink: 0; }

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--ink);
  border-bottom: 1px solid var(--line-on-ink);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav__logo img { height: 30px; width: auto; }
.nav__logo-text {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 16.5px;
  letter-spacing: -0.01em;
  color: var(--paper);
}
.nav__logo-text .amp { color: var(--brass-light); font-style: italic; font-family: var(--font-serif); }

.nav__links { display: flex; align-items: center; gap: 8px; }
.nav__link {
  position: relative;
  padding: 9px 15px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--stone-on-ink);
  border-radius: var(--radius-sm);
  transition: color 0.25s ease, background-color 0.25s ease;
}
.nav__link:hover { color: var(--paper); background: rgba(239, 236, 228, 0.06); }
.nav__link.active { color: var(--paper); }
.nav__link.active::after {
  content: '';
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 3px;
  height: 2px;
  background: var(--garnet-light);
  border-radius: 2px;
}

.nav__actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  border-radius: var(--radius-sm);
}
.nav__toggle:hover { background: rgba(239, 236, 228, 0.08); }

.menu-mobile {
  position: fixed;
  inset: 76px 0 0 0;
  z-index: 190;
  background: var(--ink);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.menu-mobile.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.menu-mobile ul { display: flex; flex-direction: column; gap: 4px; }
.menu-mobile a {
  padding: 14px 4px;
  font-size: 19px;
  font-weight: 700;
  color: var(--paper);
  border-bottom: 1px solid var(--line-on-ink);
}
.menu-mobile a.active { color: var(--brass-light); }
.menu-mobile .btn { align-self: flex-start; }

@media (max-width: 860px) {
  .nav__links, .nav__actions .btn-sm { display: none; }
  .nav__toggle { display: flex; }
}

/* ── Page header (services / process / work) ────────── */
.page-header {
  background: var(--ink);
  padding: 84px 0 76px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(123, 42, 51, 0.35), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}
.page-header__inner { max-width: var(--container); margin: 0 auto; padding: 0 28px; position: relative; max-width: 720px; }
.page-header h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  color: var(--paper);
  margin: 18px 0 20px;
}
.page-header p { font-size: 17px; color: var(--stone-on-ink); max-width: 560px; line-height: 1.65; }

/* ── Section rhythm ──────────────────────────────────── */
.section { padding: 108px 0; position: relative; }
.section.tight { padding: 72px 0; }
.section.on-ink { background: var(--ink); color: var(--paper); }
.section.on-panel { background: var(--paper-2); }
.section-inner { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

.section-head { max-width: 640px; margin-bottom: 60px; }
.section-head h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); margin: 16px 0 14px; color: var(--ink); }
.section-head.on-ink h2 { color: var(--paper); }
.section-head p { font-size: 16.5px; color: var(--stone); line-height: 1.65; }
.section-head.on-ink p { color: var(--stone-on-ink); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

/* reveal (JS toggles visibility) */
.reveal, .reveal-pop { visibility: hidden; }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  background: var(--ink);
  color: var(--paper);
  padding: 68px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -8%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(123, 42, 51, 0.4), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -6%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(169, 134, 62, 0.16), transparent 72%);
  pointer-events: none;
}
.hero__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero__eyebrow { color: var(--brass-light); margin-bottom: 26px; }
.hero__eyebrow::before { background: var(--brass-light); }

.hero__title {
  font-size: clamp(2.6rem, 4.3vw, 4.1rem);
  color: var(--paper);
  margin-bottom: 24px;
}
.hero__title .line-mask { display: block; overflow: hidden; }
.hero__title .line { display: block; }
.hero__title em {
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--brass-light);
}

.hero__lede { font-size: 17.5px; color: var(--stone-on-ink); max-width: 480px; line-height: 1.7; margin-bottom: 36px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }

.hero__proof-row { display: flex; flex-wrap: wrap; gap: 32px; }
.hero__proof-item { display: flex; flex-direction: column; gap: 4px; }
.hero__proof-num { font-size: 27px; font-weight: 800; color: var(--paper); letter-spacing: -0.01em; }
.hero__proof-label { font-size: 12.5px; color: var(--stone-on-ink); }

/* Signature hero device: an illustrative exchange thread */
.thread {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--line-on-ink);
  border-radius: var(--radius-lg);
  padding: 26px 26px 22px;
  box-shadow: var(--shadow-lg);
}
.thread__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-on-ink);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.thread__label::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass-light);
}
.thread__bubble {
  max-width: 84%;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 14.5px;
  line-height: 1.55;
  margin-bottom: 12px;
}
.thread__bubble--in {
  background: var(--ink-3);
  color: var(--paper);
  border-top-left-radius: 2px;
}
.thread__bubble--out {
  background: var(--garnet);
  color: var(--white);
  margin-left: auto;
  border-top-right-radius: 2px;
}
.thread__meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--stone-on-ink);
  margin-top: 4px;
}
.thread__meta svg { color: var(--brass-light); }

.thread__foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-on-ink);
  font-size: 12.5px;
  color: var(--stone-on-ink);
}
.thread__foot strong { color: var(--paper); font-weight: 700; }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 52px; }
  .thread { max-width: 460px; }
}
@media (max-width: 560px) {
  .hero__proof-row { gap: 22px; }
  .hero__actions .btn { flex: 1 1 auto; }
}

/* ── Trust bar ───────────────────────────────────────── */
.trust-bar {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.trust-bar__row {
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  align-items: center;
  justify-content: center;
}
.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-3);
}
.trust-bar__item svg { color: var(--garnet); flex-shrink: 0; }

/* ── Relationship timeline (signature component) ─────── */
.relationship { position: relative; }
.relationship__list {
  position: relative;
  max-width: 860px;
}
.relationship__list::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 10px;
  bottom: 10px;
  width: 1.5px;
  background: var(--line-strong);
}
.relationship__list.on-ink::before { background: var(--line-on-ink-strong); }

.relationship__fill {
  position: absolute;
  left: 27px;
  top: 10px;
  width: 1.5px;
  height: 0%;
  background: var(--garnet);
  transform-origin: top;
}

.relationship__stage {
  position: relative;
  padding-left: 76px;
  padding-bottom: 56px;
}
.relationship__stage:last-child { padding-bottom: 0; }

.relationship__marker {
  position: absolute;
  left: 14px;
  top: 2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--stone);
  transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}
.relationship__list.on-ink .relationship__marker { background: var(--ink); border-color: var(--line-on-ink-strong); color: var(--stone-on-ink); }
.relationship__stage.is-active .relationship__marker {
  background: var(--garnet);
  border-color: var(--garnet);
  color: var(--white);
}

.relationship__stamp {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 8px;
  display: block;
}
.relationship__list.on-ink .relationship__stamp { color: var(--brass-light); }

.relationship__title { font-size: 21px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.relationship__list.on-ink .relationship__title { color: var(--paper); }

.relationship__desc { font-size: 15px; color: var(--stone); line-height: 1.7; max-width: 560px; margin-bottom: 16px; }
.relationship__list.on-ink .relationship__desc { color: var(--stone-on-ink); }

.relationship__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.meta-chip {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  background: var(--paper-raised);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
}
.relationship__list.on-ink .meta-chip { color: var(--paper); background: var(--ink-2); border-color: var(--line-on-ink); }

@media (max-width: 560px) {
  .relationship__list::before, .relationship__fill { left: 17px; }
  .relationship__marker { left: 4px; width: 24px; height: 24px; font-size: 11px; }
  .relationship__stage { padding-left: 56px; padding-bottom: 44px; }
}

/* ── Services list (editorial rows) ─────────────────── */
.svc-group + .svc-group { margin-top: 52px; }
.svc-group__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.svc-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 22px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.35s var(--ease);
}
.svc-row:hover { padding-left: 10px; }
.svc-row:last-child { border-bottom: none; }

.svc-row__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--garnet-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.svc-row__body h3 { font-size: 18.5px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.svc-row__body p { font-size: 14.5px; color: var(--stone); line-height: 1.65; max-width: 560px; }
.svc-row__note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--stone-light);
  border-left: 2px solid var(--brass);
  padding-left: 12px;
}

.svc-row__arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  align-self: center;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease);
  flex-shrink: 0;
}
.svc-row:hover .svc-row__arrow { background: var(--garnet); border-color: var(--garnet); color: var(--white); transform: rotate(45deg); }

@media (max-width: 640px) {
  .svc-row { grid-template-columns: 36px 1fr; }
  .svc-row__arrow { display: none; }
  .svc-row:hover { padding-left: 0; }
}

/* ── Case study / work ───────────────────────────────── */
.case {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.case__media { position: relative; background: var(--ink); min-height: 320px; }
.case__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.case__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,25,23,0) 40%, rgba(28,25,23,0.55) 100%);
  mix-blend-mode: multiply;
}
.case__tag {
  position: absolute;
  top: 20px; left: 20px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(28, 25, 23, 0.55);
  border: 1px solid rgba(239, 236, 228, 0.3);
  padding: 7px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.case__body { padding: 44px; display: flex; flex-direction: column; }
.case__name { font-size: 25px; font-weight: 800; margin-bottom: 12px; }
.case__desc { font-size: 15px; color: var(--stone); line-height: 1.7; margin-bottom: 28px; }
.case__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 28px; }
.case__stat-num { font-size: 26px; font-weight: 800; color: var(--garnet); letter-spacing: -0.01em; }
.case__stat-label { font-size: 12.5px; color: var(--stone); margin-top: 2px; }
.case__link { margin-top: auto; }

@media (max-width: 860px) {
  .case { grid-template-columns: 1fr; }
  .case__media { min-height: 220px; }
  .case__body { padding: 32px 28px; }
}

/* Empty slot */
.work-empty {
  margin-top: 32px;
  padding: 40px;
  text-align: center;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  color: var(--stone-light);
  font-size: 14.5px;
}

/* ── Testimonial ─────────────────────────────────────── */
.testimonial { max-width: 780px; margin: 0 auto; text-align: center; }
.testimonial .stars { display: flex; gap: 4px; justify-content: center; margin-bottom: 26px; }
.testimonial .star { width: 16px; height: 16px; color: var(--brass); }
.testimonial blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 28px;
}
.testimonial.on-ink blockquote { color: var(--paper); }
.author { display: flex; align-items: center; justify-content: center; gap: 12px; }
.author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--paper-raised); box-shadow: var(--shadow-sm); }
.author__name { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.testimonial.on-ink .author__name { color: var(--paper); }
.author__role { font-size: 13px; color: var(--stone); }

/* ── CTA ─────────────────────────────────────────────── */
.cta {
  background: var(--ink);
  color: var(--paper);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: -40%; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(123, 42, 51, 0.35), transparent 68%);
  pointer-events: none;
}
.cta__inner { position: relative; max-width: 620px; margin: 0 auto; }
.cta h2 { font-size: clamp(2rem, 3.4vw, 3rem); color: var(--paper); margin: 18px 0 16px; }
.cta p { font-size: 16.5px; color: var(--stone-on-ink); margin-bottom: 36px; }
.cta__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.cta__note { font-size: 13.5px; color: var(--stone-on-ink); }
.cta__note a { color: var(--brass-light); font-weight: 700; border-bottom: 1px solid rgba(199, 163, 94, 0.35); }
.cta__note a:hover { border-color: var(--brass-light); }

/* ── Footer ──────────────────────────────────────────── */
.footer { background: var(--ink); border-top: 1px solid var(--line-on-ink); }
.footer__top {
  max-width: var(--container); margin: 0 auto; padding: 68px 28px 44px;
  display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap;
}
.footer__brand { max-width: 300px; }
.footer__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer__logo img { height: 28px; }
.footer__logo-text { font-weight: 800; font-size: 16px; color: var(--paper); }
.footer__logo-text .amp { color: var(--brass-light); font-style: italic; font-family: var(--font-serif); }
.footer__tagline { font-size: 14px; color: var(--stone-on-ink); line-height: 1.6; }

.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__col-title { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 16px; }
.footer__col-links { display: flex; flex-direction: column; gap: 11px; }
.footer__col-link { font-size: 14px; color: var(--stone-on-ink); transition: color 0.2s ease; }
.footer__col-link:hover { color: var(--paper); }

.footer__bottom {
  max-width: var(--container); margin: 0 auto; padding: 24px 28px;
  border-top: 1px solid var(--line-on-ink);
  font-size: 13px; color: var(--stone-on-ink);
}

/* ── FAQ ─────────────────────────────────────────────── */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px; text-align: left; font-size: 16.5px; font-weight: 700; color: var(--ink);
}
.faq-icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--garnet); transition: transform 0.35s var(--ease); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a__inner { padding: 0 4px 24px; font-size: 14.5px; color: var(--stone); line-height: 1.7; max-width: 600px; }

/* ── Contact modal ───────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(28, 25, 23, 0.6);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; }

.modal-panel {
  position: relative;
  width: 100%; max-width: 560px;
  max-height: 88vh; overflow-y: auto;
  background: var(--paper-raised);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 44px;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.35s var(--ease);
}
.modal-overlay.open .modal-panel { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--stone); border: 1px solid var(--line);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.modal-close:hover { background: var(--paper-2); color: var(--ink); }

.modal-h { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 14px 0 10px; color: var(--ink); }
.modal-sub { font-size: 14.5px; color: var(--stone); margin-bottom: 28px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 24px; }
.field.full { grid-column: 1 / -1; }
.field__label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-3); margin-bottom: 7px; }
.field__input, .field__textarea {
  width: 100%; padding: 12px 14px; font-size: 14.5px;
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); color: var(--ink);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.field__input::placeholder, .field__textarea::placeholder { color: var(--stone-light); }
.field__input:focus, .field__textarea:focus { border-color: var(--garnet); background: var(--paper-raised); outline: none; }
.field__textarea { min-height: 96px; resize: vertical; }

.form-error { display: none; font-size: 13.5px; color: var(--garnet-dark); background: var(--garnet-tint); border: 1px solid rgba(123,42,51,0.25); padding: 12px 14px; border-radius: var(--radius-sm); margin-bottom: 20px; }
.form-submit { width: 100%; }

.modal-success { display: none; flex-direction: column; align-items: flex-start; gap: 16px; padding: 12px 0; }
.modal-success__icon { width: 48px; height: 48px; border-radius: 50%; background: var(--garnet-tint-strong); display: flex; align-items: center; justify-content: center; color: var(--garnet); }
.modal-success h3 { font-size: 22px; color: var(--ink); }
.modal-success p { font-size: 14.5px; color: var(--stone); }

@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .modal-panel { padding: 32px 24px; }
}

/* ── Responsive section rhythm ───────────────────────── */
@media (max-width: 860px) {
  .section { padding: 76px 0; }
  .page-header { padding: 64px 0 56px; }
  .section-head { margin-bottom: 44px; }
  .cta { padding: 76px 0; }
  .footer__top { padding: 52px 28px 36px; }
}
@media (max-width: 560px) {
  .container, .section-inner { padding: 0 20px; }
  .nav__inner { padding: 0 20px; }
  .case__stats { grid-template-columns: 1fr 1fr; gap: 16px; }
}
