:root {
  --bg: #F6F1E7;
  --surface: #FBF8F2;
  --ink: #1D2A44;
  --muted: #5B6475;
  --line: #E2DACB;
  --primary: #2D5B45;
  --primary-ink: #FFFFFF;
  --accent: #C8603A;
  --font-display: 'Newsreader', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 10px;
}

/* ---- Base layer: reset, type scale, layout primitives. -------------------
   Theme tokens (colours, fonts) come from site.yaml and are emitted above
   this file as :root variables. Components must use these tokens, never
   hard-coded colours or fonts. Required tokens:
   --bg --surface --ink --muted --line --primary --primary-ink --accent
   --font-display --font-body --radius
--------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Fluid type scale (mobile 390px -> desktop 1440px) */
:root {
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.18vw, 1.1rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.25rem + 0.8vw, 1.9rem);
  --step-3: clamp(1.8rem, 1.45rem + 1.5vw, 2.7rem);
  --step-4: clamp(2.2rem, 1.6rem + 2.6vw, 3.8rem);
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4rem;
  --section-pad: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  --container: 72rem;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --shadow: 0 1px 2px rgb(0 0 0 / .05), 0 8px 24px rgb(0 0 0 / .08);
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { text-wrap: pretty; }

/* Layout primitives */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-pad); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; gap: var(--space-5); margin-bottom: var(--space-7); }
.section-head h2 { font-size: var(--step-2); white-space: nowrap; }
.section-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.eyebrow { font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: var(--step-1); color: var(--muted); }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.4em; border-radius: var(--radius);
  font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.link-arrow { font-weight: 600; text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px; }

/* Skip link */
.skip-link { position: absolute; left: var(--space-4); top: -100px; background: var(--ink); color: var(--bg); padding: .5em 1em; border-radius: var(--radius); z-index: 100; }
.skip-link:focus { top: var(--space-4); }

/* Scroll reveal: add class "reveal" to an element; base.js toggles .is-visible */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible, .no-motion .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* nav */
/* nav: sticky header. Mobile first; below 48rem the links live in a dropdown panel. */
.c-nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.c-nav.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow); }
.c-nav__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  min-height: 64px;
}
.c-nav__brand {
  font-family: var(--font-display); font-size: var(--step-1); font-weight: 500;
  line-height: 1; letter-spacing: -0.01em; color: var(--ink); text-decoration: none;
  padding-block: var(--space-2);
}
.c-nav__toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-right: -10px; padding: 0;
  border: 0; border-radius: var(--radius); background: transparent; color: var(--ink); cursor: pointer;
}
.c-nav.is-js .c-nav__toggle { display: inline-flex; }
.c-nav__icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.c-nav__icon--close { display: none; }
.c-nav.is-open .c-nav__icon--open { display: none; }
.c-nav.is-open .c-nav__icon--close { display: block; }

/* Mobile panel: full-width dropdown, hidden until opened (JS) */
.c-nav__panel {
  position: absolute; top: 100%; left: 0; right: 0;
  display: none; flex-direction: column;
  padding: var(--space-3) var(--gutter) var(--space-5);
  background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
}
.c-nav.is-js .c-nav__panel { display: none; }
.c-nav.is-js.is-open .c-nav__panel { display: flex; }
/* Without JS: show the links as a plain block under the brand */
.c-nav:not(.is-js) .c-nav__bar { flex-wrap: wrap; }
.c-nav:not(.is-js) .c-nav__panel {
  position: static; display: flex; width: 100%; padding: 0 0 var(--space-4);
  background: none; border: 0; box-shadow: none;
}
.c-nav__links { list-style: none; padding: 0; display: flex; flex-direction: column; }
.c-nav__links a {
  display: flex; align-items: center; min-height: 48px;
  font-family: var(--font-display); font-size: var(--step-1); color: var(--ink);
  text-decoration: none; border-bottom: 1px solid var(--line);
}
.c-nav__links li:last-child a { border-bottom: 0; }
.c-nav__cta { width: 100%; margin-top: var(--space-4); }

@media (min-width: 48rem) {
  .c-nav__bar { flex-wrap: nowrap; min-height: 72px; }
  .c-nav__brand { font-size: var(--step-2); }
  .c-nav__toggle, .c-nav.is-js .c-nav__toggle { display: none; }
  .c-nav .c-nav__panel,
  .c-nav.is-js .c-nav__panel,
  .c-nav.is-js.is-open .c-nav__panel,
  .c-nav:not(.is-js) .c-nav__panel {
    position: static; display: flex; flex-direction: row; align-items: center; gap: var(--space-6);
    width: auto; padding: 0; background: none; border: 0; box-shadow: none;
  }
  .c-nav:not(.is-js) .c-nav__bar { flex-wrap: nowrap; }
  .c-nav__links { flex-direction: row; align-items: center; gap: var(--space-5); }
  .c-nav__links a {
    min-height: 44px; padding-inline: 0; border: 0;
    font-family: var(--font-body); font-size: var(--step--1); font-weight: 500;
  }
  .c-nav__links a:hover { text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px; }
  .c-nav__cta { width: auto; margin-top: 0; min-height: 44px; padding: .5em 1.1em; font-size: var(--step--1); }
}

@media (min-width: 64rem) {
  .c-nav__bar { min-height: 76px; }
  .c-nav__links { gap: var(--space-6); }
}

/* hero */
.c-hero { padding-top: clamp(2.5rem, 1.5rem + 3vw, 3.5rem); padding-bottom: 0; overflow: hidden; }
.section.c-hero { border-top: 0; }
.c-hero__grid { display: grid; gap: var(--space-7); }
.c-hero__title { font-size: var(--step-3); max-width: 15em; }
.c-hero__sub { margin-top: var(--space-4); font-family: var(--font-display); font-size: var(--step-1); color: var(--muted); }
.c-hero__actions { margin-top: var(--space-6); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); }
.c-hero__link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px; }

/* Mock-up stage (mobile: one window + phone) */
.c-hero__stage { position: relative; width: 100%; aspect-ratio: 5 / 4; }
.c-hero__frame { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.c-hero__frame img { width: 100%; height: auto; aspect-ratio: 1200 / 750; object-fit: cover; }
.c-hero__bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: var(--bg); border-bottom: 1px solid var(--line); }
.c-hero__bar span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); opacity: .45; }
.c-hero__frame--front { left: 6%; top: 6%; width: 74%; z-index: 2; }
.c-hero__frame--left, .c-hero__frame--right { display: none; }
.c-hero__phone { position: absolute; right: 3%; bottom: 0; width: 26%; aspect-ratio: 9 / 19; padding: 5px; background: var(--ink); border-radius: 22px; box-shadow: var(--shadow); z-index: 3; }
.c-hero__screen { width: 100%; height: 100%; border-radius: 17px; overflow: hidden; background: var(--surface); }
.c-hero__screen img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }

/* Skyline band: the whole drawing at its natural ratio (never cropped), centred */
.c-hero__skyline { display: block; width: 100%; max-width: 62rem; height: auto; margin: var(--space-6) auto 0; opacity: .55; -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent); mask-image: linear-gradient(to bottom, #000 80%, transparent); }

@media (min-width: 48rem) {
  .c-hero__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: var(--space-6); }
  .c-hero__title { font-size: var(--step-4); }
  .c-hero__stage { aspect-ratio: 6 / 5; }
  .c-hero__frame--left, .c-hero__frame--right { display: block; }
  .c-hero__frame--front { left: 22%; top: 4%; width: 60%; }
  .c-hero__frame--left { left: 0; top: 30%; width: 42%; z-index: 1; }
  .c-hero__frame--right { right: 0; top: 14%; width: 42%; z-index: 1; }
  .c-hero__phone { right: 2%; bottom: 2%; width: 19%; }
}

@media (min-width: 64rem) {
  .c-hero__stage { aspect-ratio: 6 / 5; }
}

/* proof-strip */
.c-proof-strip {
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--line);
}
.c-proof-strip__list {
  list-style: none;
  padding: 0;
  display: grid;
}
.c-proof-strip__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 44px;
  padding-block: var(--space-3);
}
.c-proof-strip__item + .c-proof-strip__item { border-top: 1px solid var(--line); }
.c-proof-strip__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--ink);
}
.c-proof-strip__icon.is-accent { color: var(--accent); }
.c-proof-strip__icon svg { width: 24px; height: 24px; }
.c-proof-strip__label {
  font-weight: 600;
  font-size: var(--step-0);
  line-height: 1.3;
  color: var(--ink);
}
.c-proof-strip__sub {
  margin-top: 2px;
  font-size: var(--step--1);
  line-height: 1.4;
  color: var(--muted);
}

@media (min-width: 48rem) {
  .c-proof-strip__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .c-proof-strip__item {
    padding-block: var(--space-4);
    padding-inline: var(--space-5);
  }
  .c-proof-strip__item:first-child { padding-left: 0; }
  .c-proof-strip__item + .c-proof-strip__item {
    border-top: 0;
    border-left: 1px solid var(--line);
  }
}

@media (min-width: 64rem) {
  .c-proof-strip__item { padding-block: var(--space-5); }
}

/* work-cards */
.c-work-cards__head { margin-bottom: var(--space-7); }
.c-work-cards__head .section-head { margin-bottom: var(--space-3); }
.c-work-cards__intro { color: var(--muted); font-size: var(--step-0); max-width: 40rem; }

.c-work-cards__grid { list-style: none; padding: 0; display: grid; gap: var(--space-6); }
.c-work-cards__grid > li { min-width: 0; }

.c-work-cards__card {
  margin: 0; height: 100%; display: flex; flex-direction: column;
  transition: transform .25s ease;
}
.c-work-cards__frame {
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  background: var(--surface); box-shadow: var(--shadow); overflow: hidden;
  transition: box-shadow .25s ease;
}
.c-work-cards__bar {
  display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line);
}
.c-work-cards__bar span {
  width: 8px; height: 8px; border-radius: 50%;
  background: color-mix(in srgb, var(--muted) 40%, transparent);
}
.c-work-cards__frame img { width: 100%; height: auto; }

.c-work-cards__caption {
  padding-top: var(--space-4); display: grid; gap: var(--space-2); justify-items: start;
}
.c-work-cards__label { font-size: var(--step-1); }
.c-work-cards__tag {
  display: inline-block; font-size: var(--step--1); font-weight: 600; line-height: 1.5;
  letter-spacing: .06em; text-transform: uppercase; padding: .1em .7em; border-radius: 999px;
  color: color-mix(in srgb, var(--accent) 80%, var(--ink));
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
}
.c-work-cards__text { color: var(--muted); font-size: var(--step--1); }

@media (min-width: 48rem) {
  .c-work-cards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64rem) {
  .c-work-cards__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-7); }
  .c-work-cards__text { font-size: var(--step-0); }
  .c-work-cards__head { margin-bottom: var(--space-8); }
}
@media (hover: hover) and (min-width: 64rem) {
  .c-work-cards__card:hover { transform: translateY(-4px); }
  .c-work-cards__card:hover .c-work-cards__frame {
    box-shadow: 0 2px 4px color-mix(in srgb, var(--ink) 6%, transparent),
                0 16px 36px color-mix(in srgb, var(--ink) 14%, transparent);
  }
}
@media (prefers-reduced-motion: reduce) {
  .c-work-cards__card, .c-work-cards__frame { transition: none; }
  .c-work-cards__card:hover { transform: none; }
}

/* services-lanes */
/* services-lanes: two service cards, stacked on mobile, side by side from 48rem. */
.c-services-lanes__grid { display: grid; gap: var(--space-5); }
.c-services-lanes__lane {
  display: flex; flex-direction: column; gap: var(--space-5); min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--space-6) var(--space-5);
}
.c-services-lanes__head { display: flex; align-items: center; gap: var(--space-3); }
.c-services-lanes__icon { width: 24px; height: 24px; flex: none; color: var(--primary); }
.c-services-lanes__title { font-size: var(--step-1); }
.c-services-lanes__intro { color: var(--muted); }

/* Lane 1: package rows */
.c-services-lanes__packages { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.c-services-lanes__pkg { padding-block: var(--space-4); border-bottom: 1px solid var(--line); }
.c-services-lanes__pkg-name {
  font-family: var(--font-display); font-weight: 500; font-size: var(--step-1);
  line-height: 1.2; color: var(--ink); margin-bottom: var(--space-2);
}
.c-services-lanes__feats { list-style: none; padding: 0; display: grid; gap: var(--space-1); font-size: var(--step--1); color: var(--muted); }
.c-services-lanes__feats li { position: relative; padding-left: 1.1em; }
.c-services-lanes__feats li::before {
  content: ""; position: absolute; left: 0; top: .72em; width: 4px; height: 4px; border-radius: 50%; background: var(--primary);
}
.c-services-lanes__note { font-size: var(--step--1); color: var(--muted); }

/* Lane 2: icon items */
.c-services-lanes__items { list-style: none; padding: 0; display: grid; gap: var(--space-5); }
.c-services-lanes__item { display: flex; align-items: flex-start; gap: var(--space-3); }
.c-services-lanes__item .c-services-lanes__icon { margin-top: 2px; }
.c-services-lanes__item-body { min-width: 0; }
.c-services-lanes__item-title {
  font-family: var(--font-body); font-weight: 600; font-size: var(--step-0);
  line-height: 1.3; letter-spacing: 0; color: var(--ink); margin-bottom: var(--space-1);
}
.c-services-lanes__item-text { font-size: var(--step--1); color: var(--muted); }

.c-services-lanes__link {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px;
  color: var(--ink); text-decoration-color: var(--line);
}
.c-services-lanes__link:hover { color: var(--primary); text-decoration-color: currentColor; }

@media (min-width: 48rem) {
  .c-services-lanes__grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: stretch; }
  .c-services-lanes__lane { padding: var(--space-7) var(--space-6); }
}
@media (min-width: 64rem) {
  .c-services-lanes__items { grid-template-columns: 1fr 1fr; gap: var(--space-6) var(--space-6); }
}

/* steps */
.c-steps__list { list-style: none; padding: 0; margin: 0; }
.c-steps__item {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  column-gap: var(--space-4);
  padding-bottom: var(--space-6);
}
.c-steps__item:last-child { padding-bottom: 0; }
/* Mobile: thin vertical line from one number down to the next */
.c-steps__item::before {
  content: "";
  position: absolute;
  left: calc(1.5rem - 0.5px);
  top: 3rem;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.c-steps__item:last-child::before { display: none; }
.c-steps__num {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: var(--bg);
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1;
  color: var(--accent);
}
.c-steps__body { padding-top: var(--space-3); min-width: 0; }
.c-steps__title { font-size: var(--step-1); line-height: 1.2; color: var(--ink); }
.c-steps__text { color: var(--muted); margin-top: var(--space-2); }

/* Tablet: 2 x 2 grid, no connecting line */
@media (min-width: 48rem) {
  .c-steps__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-7) var(--space-6);
  }
  .c-steps__item { display: block; padding-bottom: 0; }
  .c-steps__item::before { display: none; }
  .c-steps__num {
    width: auto;
    height: auto;
    justify-content: flex-start;
    background: none;
    font-size: var(--step-3);
    margin-bottom: var(--space-3);
  }
  .c-steps__body { padding-top: 0; }
}

/* Desktop: four in a row, hairline joins the numbers */
@media (min-width: 64rem) {
  .c-steps__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 var(--space-6);
  }
  .c-steps__item::before {
    display: block;
    left: 2.75rem;
    right: calc(-1 * var(--space-6) + var(--space-3));
    top: 1.5rem;
    bottom: auto;
    width: auto;
    height: 1px;
  }
  .c-steps__num {
    height: 3rem;
    min-width: 2.25rem;
    width: auto;
    margin-bottom: var(--space-3);
  }
  .c-steps__text { max-width: 28ch; }
}

/* about */
.c-about__grid { display: grid; gap: var(--space-6); }
.c-about__portrait {
  position: relative; margin: 0; overflow: hidden;
  aspect-ratio: 4 / 3; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--surface);
}
.c-about__portrait img { width: 100%; height: 100%; object-fit: cover; }
.c-about__portrait--mono { display: grid; place-items: center; }
.c-about__portrait .c-about__round {
  position: relative; z-index: 1; width: 42%; height: auto; aspect-ratio: 1;
  margin-bottom: 12%; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 6px var(--surface), var(--shadow);
}
.c-about__initials {
  position: relative; z-index: 1; padding-bottom: 14%;
  font-family: var(--font-display); font-size: var(--step-4); font-weight: 500;
  line-height: 1; letter-spacing: .02em; color: var(--ink);
}
.c-about__skyline {
  position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
  opacity: .2; pointer-events: none;
}
.c-about__skyline img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.c-about__name { font-size: var(--step-2); }
.c-about__role { margin-top: var(--space-2); }
.c-about__bio { margin-top: var(--space-5); max-width: 38rem; }
.c-about__bio p + p { margin-top: var(--space-4); }
.c-about__more { margin-top: var(--space-6); }
.c-about__link { display: inline-flex; align-items: center; min-height: 44px; }

@media (min-width: 48rem) {
  .c-about__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-7); align-items: start; }
  .c-about__portrait { aspect-ratio: 4 / 5; }
}
@media (min-width: 64rem) {
  .c-about__grid { gap: var(--space-8); }
}

@media (min-width: 48rem) {
  .c-about__portrait .c-about__round { width: 58%; margin-bottom: 16%; }
}

/* contact-form */
.c-contact-form__grid { display: grid; gap: var(--space-6); }
.c-contact-form__details { display: grid; justify-items: start; gap: var(--space-1); margin-top: var(--space-5); }
.c-contact-form__email {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 600; overflow-wrap: anywhere;
}
.c-contact-form__location { color: var(--muted); }
.c-contact-form__card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: var(--space-5);
}
.c-contact-form__form { display: grid; gap: var(--space-5); }
.c-contact-form__field { display: grid; gap: var(--space-2); }
.c-contact-form__label { font-size: var(--step-0); font-weight: 600; }
.c-contact-form__input {
  width: 100%; min-height: 48px; padding: .7em .9em;
  font-size: var(--step-0); line-height: 1.4; color: var(--ink);
  background: var(--bg); border: 1px solid var(--muted); border-radius: var(--radius);
}
.c-contact-form__input--area { min-height: 9rem; resize: vertical; }
.c-contact-form__submit { width: 100%; }
.c-contact-form__status:empty { display: none; }
.c-contact-form__message {
  padding: var(--space-4); background: var(--bg); color: var(--ink);
  border-left: 3px solid var(--primary); border-radius: 0 var(--radius) var(--radius) 0;
  overflow-wrap: anywhere;
}
.c-contact-form__message--error { border-left-color: var(--accent); }
.c-contact-form__message a { font-weight: 600; }

@media (min-width: 48rem) {
  .c-contact-form__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: var(--space-7); align-items: start;
  }
  .c-contact-form__card { padding: var(--space-6); }
  .c-contact-form__submit { width: auto; justify-self: start; min-width: 10rem; }
}
@media (min-width: 64rem) {
  .c-contact-form__grid { gap: var(--space-8); }
  .c-contact-form__card { padding: var(--space-7); }
}

/* footer */
.c-footer__art { line-height: 0; }
.c-footer__art img {
  width: 100%; max-width: 90rem; height: auto; margin-inline: auto;
}
.c-footer__band {
  background: var(--primary); color: var(--primary-ink);
  padding-block: var(--space-7) var(--space-5);
}
.c-footer__main { display: grid; gap: var(--space-6); }
.c-footer__wordmark {
  font-family: var(--font-display); font-size: var(--step-2); font-weight: 500;
  line-height: 1; letter-spacing: -0.015em;
}
.c-footer__tagline { margin-top: var(--space-2); font-size: var(--step--1); opacity: .9; }
.c-footer__nav ul {
  list-style: none; padding: 0;
  display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4);
}
.c-footer a { color: var(--primary-ink); text-underline-offset: .3em; }
.c-footer a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.c-footer a:focus-visible { outline-color: var(--primary-ink); }
.c-footer__nav a,
.c-footer__email a {
  display: inline-flex; align-items: center; min-height: 44px;
  text-decoration: none;
}
.c-footer__nav a:hover,
.c-footer__email a:hover { text-decoration: underline; }
.c-footer__email { font-size: var(--step--1); }
.c-footer__legal {
  margin-top: var(--space-6); padding-top: var(--space-4);
  border-top: 1px solid color-mix(in srgb, var(--primary-ink) 22%, transparent);
  font-size: var(--step--1); opacity: .85;
}

@media (min-width: 48rem) {
  .c-footer__band { padding-block: var(--space-8) var(--space-6); }
  .c-footer__main {
    grid-template-columns: minmax(0, auto) 1fr minmax(0, auto);
    align-items: center; gap: var(--space-6);
  }
  .c-footer__nav ul { justify-content: center; gap: var(--space-2) var(--space-5); }
  .c-footer__email { justify-self: end; }
  .c-footer__legal { margin-top: var(--space-7); }
}
