/* EB Garamond -- self-hosted, SIL Open Font Licence. Latin subset, 72 KB total.
   Replaces Bogart (commercial desktop licence, not cleared for web) and Fraunces. */
@font-face {
  font-family: "EB Garamond";
  src: url("../fonts/ebgaramond-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("../fonts/ebgaramond-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("../fonts/ebgaramond-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #FAF4EC;
  --surface: #EDF0E2;
  --band-latte: #F7E7D0;
  --card: #FFFBF4;
  --ink: #311321;
  --muted: #6B5560;
  --accent: #835C50;
  --accent-leaf: #A5CD85;
  --peri: #ABB0D9;
  --mocha: #835C50;
  --latte: #F6D6B1;
  --line: #E3CFB9;
  --btn-bg: #311321;
  --btn-fg: #FAF4EC;
  --stain-op: 0.42;
  --orn-op: 0.30;
  --orn-filter: none;
  --orn-blend: multiply;
  --shadow: 0 12px 32px rgba(49, 19, 33, 0.12);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1F0E18;
    --surface: #2A1421;
    --band-latte: #291320;
    --card: #2E1626;
    --ink: #F6E6D4;
    --muted: #D3BAB0;
    --accent: #D2A08A;
    --accent-leaf: #A5CD85;
    --peri: #ABB0D9;
    --mocha: #B08A7C;
    --latte: #F6D6B1;
    --line: #4A2C3A;
    --btn-bg: #F6D6B1;
    --btn-fg: #2A1220;
    --stain-op: 0.20;
    --orn-op: 0.25;
    --orn-filter: invert(1) sepia(0.45) saturate(1.1) brightness(1.05);
    --orn-blend: screen;
    --shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: 1.16rem;
  line-height: 1.68;
}
.display {
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-weight: 500;
  line-height: 1.1;
  text-wrap: balance;
  letter-spacing: 0.005em;
}
.eyebrow {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
a { color: var(--accent); }
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
img { max-width: 100%; display: block; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.stain {
  position: absolute;
  mix-blend-mode: var(--orn-blend);
  filter: var(--orn-filter);
  opacity: var(--stain-op);
  pointer-events: none;
}
.orn {
  background-repeat: no-repeat;
  pointer-events: none;
}

/* ---------- header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.wordmark img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex: none;
}
.wm-name {
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.1;
  display: block;
}
.wm-sub {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: lowercase;
  color: var(--muted);
  display: block;
}
.nav-links { display: flex; gap: 22px; flex-wrap: wrap; }
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.nav-links a:hover { color: var(--accent); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 80px 0 84px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 260px; margin: 0 auto; }
}
.hero h1 {
  font-size: clamp(2.5rem, 6.2vw, 4.4rem);
  margin: 16px 0 20px;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero p.lede {
  max-width: 36rem;
  font-size: 1.12rem;
  color: var(--muted);
  margin: 0 0 32px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: "Courier New", Courier, monospace;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 2px solid var(--btn-bg);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-ghost { background: transparent; color: var(--ink); }

.hero-art { position: relative; }
.hero-logo {
  width: min(76%, 290px);
  margin: 0 auto;
  border-radius: 50%;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}
.stain-hero {
  width: 310px;
  bottom: 8px;
  left: 43%;
  transform: rotate(-8deg);
}
@media (max-width: 800px) { .stain-hero { display: none; } }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero .eyebrow, .hero h1, .hero .lede, .hero .cta-row, .hero-logo {
  animation: rise 0.7s ease both;
}
.hero h1 { animation-delay: 0.08s; }
.hero .lede { animation-delay: 0.16s; }
.hero .cta-row { animation-delay: 0.24s; }
.hero-logo { animation-delay: 0.2s; }

/* ---------- ticker ---------- */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  padding: 13px 0;
}
.ticker-track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: scroll 36s linear infinite;
}
.ticker span {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.ticker span b { color: var(--accent); font-weight: 700; margin-right: 44px; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
  .hero .eyebrow, .hero h1, .hero .lede, .hero .cta-row, .hero-logo { animation: none; }
  .btn, .tile img { transition: none; }
}

/* ---------- sections ---------- */
section { padding: 84px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 12px 0 14px; }
.section-head p { color: var(--muted); margin: 0; }

/* ---------- featured trio ---------- */
#trio { background: var(--band-latte); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trio-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) { .trio-grid { grid-template-columns: 1fr; } }
.trio-covers {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}
.trio-covers img {
  width: 33%;
  border-radius: 6px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.trio-covers img:nth-child(1) { transform: rotate(-5deg) translateX(6%); }
.trio-covers img:nth-child(2) { transform: translateY(-3%); z-index: 2; position: relative; }
.trio-covers img:nth-child(3) { transform: rotate(5deg) translateX(-6%); }
.trio-text h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 12px 0 14px; }
.trio-text p { color: var(--muted); margin: 0 0 14px; }
.tea-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.tea-list li { padding: 7px 0; border-top: 1px dashed var(--line); }
.tea-list li:last-child { border-bottom: 1px dashed var(--line); }
.tea-list b { color: var(--accent); font-weight: 700; }

/* ---------- work grid ---------- */
#work { position: relative; overflow: hidden; }
.stain-work {
  width: 250px;
  top: 30px;
  right: 5%;
  transform: rotate(11deg);
}
@media (max-width: 640px) { .stain-work { display: none; } }
.work-grid { columns: 300px 3; column-gap: 28px; }
.tile { break-inside: avoid; margin: 0 0 34px; }
.tile-art {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--card);
}
.tile img { width: 100%; transition: transform 0.25s ease; }
.tile:hover img { transform: scale(1.025); }
.tile figcaption { padding: 13px 4px 0; }
.tile-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease;
}
.tile-link:hover .tile-title { color: var(--accent); }
.tile-link .tile-title { transition: color 0.15s ease; }
.tile-cta {
  display: block;
  margin-top: 5px;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.tile-link:hover .tile-cta,
.tile-link:focus-visible .tile-cta { opacity: 1; }
@media (hover: none) { .tile-cta { opacity: 1; } }
.tile-title {
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: 1.18rem;
  display: block;
}
.tile-cat {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.more-work {
  margin-top: 10px;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  max-width: 46rem;
}
.more-work b { color: var(--accent); }

/* ---------- services ---------- */
#services { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 22px;
}
.svc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.svc h3 {
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: 1.3rem;
  font-weight: 500;
  margin: 4px 0 0;
}
.svc p { color: var(--muted); margin: 0; font-size: 0.96rem; }
.svc ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted); font-size: 0.93rem; }
.svc li { margin: 3px 0; }
.svc-leaf {
  width: 34px; height: 34px;
  border-radius: 50% 50% 50% 4px;
  background: var(--accent-leaf);
  opacity: 0.75;
}

/* ---------- process ---------- */
#process { position: relative; overflow: hidden; }
.stain-process {
  width: 310px;
  bottom: 20px;
  right: 7%;
  transform: rotate(-4deg);
}
@media (max-width: 640px) { .stain-process { display: none; } }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.step { border-top: 2px solid var(--accent-leaf); padding-top: 16px; }
.step::before {
  counter-increment: step;
  content: "Step " counter(step);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.step h3 {
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-weight: 500;
  font-size: 1.3rem;
  margin: 8px 0 6px;
}
.step p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ---------- about ---------- */
#about { background: var(--band-latte); border-top: 1px solid var(--line); position: relative; overflow: hidden; }
#about .wrap {
  position: relative;
  max-width: 820px;
}
.orn-corner {
  position: absolute;
  width: 200px;
  height: 330px;
  top: -10px;
  right: -34px;
  background-image: url("../images/nouveau-corners.jpg");
  background-size: 612px auto;
  background-position: -4px -18px;
  mix-blend-mode: var(--orn-blend);
  filter: var(--orn-filter);
  opacity: var(--orn-op);
  transform: scaleX(-1);
}
@media (max-width: 780px) { .orn-corner { display: none; } }
#about h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 12px 0 16px; }
#about p { color: var(--muted); max-width: 36rem; }

/* ---------- contact (espresso band, both themes) ---------- */
#contact {
  background: #311321;
  color: #F6E7D4;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
#contact .eyebrow { color: var(--accent-leaf); }
#contact h2 { font-size: clamp(2rem, 5vw, 3.1rem); margin: 14px 0 12px; color: #F6E7D4; }
#contact p { color: #C9B39E; max-width: 33rem; margin: 0 auto 30px; }
#contact .btn-primary {
  background: #F6D6B1;
  color: #311321;
  border-color: #F6D6B1;
}
#contact :focus-visible { outline-color: #F6D6B1; }
.contact-note {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: #C9B39E;
  margin-top: 24px;
}
.orn-divider {
  width: 318px;
  max-width: 80%;
  height: 108px;
  margin: 0 auto 2px;
  background-image: url("../images/nouveau-poppy-set.jpg");
  background-size: 900px auto;
  background-position: -310px -25px;
  filter: invert(1) sepia(0.45) saturate(1.1) brightness(1.05);
  mix-blend-mode: screen;
  opacity: 0.7;
  pointer-events: none;
}
.orn-flourish {
  position: absolute;
  width: 130px;
  height: 205px;
  bottom: 12px;
  right: 26px;
  background-image: url("../images/nouveau-poppy-set.jpg");
  background-size: 838px auto;
  background-position: -708px -260px;
  filter: invert(1) sepia(0.45) saturate(1.1) brightness(1.05);
  mix-blend-mode: screen;
  opacity: 0.5;
  pointer-events: none;
}
@media (max-width: 640px) { .orn-flourish { display: none; } }

footer {
  padding: 28px 0 40px;
  text-align: center;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ---------- skip link ---------- */
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 60;
  background: var(--btn-bg);
  color: var(--btn-fg);
  padding: 11px 20px;
  border-radius: 999px;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: top 0.18s ease;
}
.skip:focus { top: 12px; }

/* ---------- mobile nav ---------- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  background: transparent;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  color: var(--ink);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--accent); color: var(--accent); }
.nav-bars { position: relative; width: 16px; height: 2px; background: currentColor; }
.nav-bars::before,
.nav-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-bars::before { top: -5px; }
.nav-bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 760px) {
  .js .nav-toggle { display: inline-flex; }
  .js .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 4px 24px 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .js .nav-links[data-open="true"] { display: flex; }
  .js .nav-links a {
    padding: 13px 2px;
    border-top: 1px solid var(--line);
    font-size: 0.92rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .skip, .nav-bars::before, .nav-bars::after { transition: none; }
}

/* ---------- case study pages ---------- */
.case-head {
  padding: 64px 0 0;
  position: relative;
  overflow: hidden;
}
.case-wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.crumb {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
.crumb a { color: var(--accent); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.case-head h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.5rem);
  margin: 0 0 18px;
}
.case-head .lede {
  font-size: 1.14rem;
  color: var(--muted);
  margin: 0;
}
.case-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px 28px;
  margin: 40px 0 0;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.case-meta > div { margin: 0; }
.case-meta dt {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.case-meta dd {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink);
}

.case-body { padding: 0 0 20px; }
.case-body section { padding: 52px 0 0; }
.case-body h2 {
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.5rem, 3.2vw, 2.05rem);
  line-height: 1.15;
  margin: 0 0 14px;
}
.case-body h3 {
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-weight: 500;
  font-size: 1.2rem;
  margin: 28px 0 6px;
}
.case-body p { color: var(--muted); margin: 0 0 16px; }
.case-body p strong, .case-body li strong { color: var(--ink); font-weight: 600; }
.case-body ul { color: var(--muted); padding-left: 20px; margin: 0 0 16px; }
.case-body li { margin: 6px 0; }

.pull {
  margin: 34px 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--accent-leaf);
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: 1.28rem;
  line-height: 1.4;
  font-style: italic;
  color: var(--ink);
}

.shot {
  margin: 34px 0;
}
.shot img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--card);
}
.shot figcaption {
  margin-top: 11px;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.shot-wide { max-width: 1100px; margin-inline: auto; padding: 0 24px; }

.duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
  margin: 34px 0;
}
.duo figure { margin: 0; }
.duo img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.duo figcaption {
  margin-top: 9px;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}
.spec-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  padding: 9px 0;
  border-top: 1px dashed var(--line);
  color: var(--muted);
}
.spec-list li:last-child { border-bottom: 1px dashed var(--line); }
.spec-list b { color: var(--accent); font-weight: 700; min-width: 9rem; }

/* next / prev project */
.case-next {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 44px 0 52px;
  margin-top: 60px;
}
.case-next-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.next-card {
  display: block;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.next-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.next-card .next-label {
  display: block;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 7px;
}
.next-card .next-title {
  display: block;
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: 1.24rem;
  line-height: 1.2;
}
@media (prefers-reduced-motion: reduce) {
  .next-card, .tile-link { transition: none; }
}


/* ================= Chicory additions ================= */

/* wordmark is now a single lockup image (light/dark handled by <picture>) */
.wordmark img { width: 188px; height: auto; border-radius: 0; }
@media (max-width: 420px) { .wordmark img { width: 148px; } }

/* services: what each package includes + who it fits */
.svc .svc-fit {
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px dashed var(--line);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  line-height: 1.65;
  color: var(--muted);
}
.svc .svc-fit b {
  display: block;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.66rem;
  margin-bottom: 3px;
}

/* process: what the client brings to each step */
.step .hw {
  margin-top: 11px;
  padding-top: 9px;
  border-top: 1px dashed var(--line);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  line-height: 1.6;
  color: var(--accent);
}

/* faq -- native <details>, no javascript */
#faq {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.faq-list { max-width: 780px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 19px 40px 19px 0;
  position: relative;
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.35;
  transition: color 0.15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -8px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq-item summary:hover { color: var(--accent); }
.faq-item p {
  color: var(--muted);
  margin: 0 0 20px;
  max-width: 62ch;
  font-size: 1.02rem;
}
.faq-note {
  margin-top: 26px;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  max-width: 46rem;
}
@media (prefers-reduced-motion: reduce) {
  .faq-item summary, .faq-item summary::after { transition: none; }
}
