/* Tidelock Systems shared stylesheet.
   Editorial layout, Washington DC landmark motifs, water line dividers.
   No third party fonts or scripts. */

@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-400i.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-vf.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f3eee4;
  --paper-2: #ebe4d4;
  --ink: #0d2b33;
  --ink-2: #17404b;
  --green: #0f6e56;
  --green-deep: #0a4a3b;
  --green-lite: #4db89a;
  --sand: #cdbb97;
  --blossom: #e9a9ba;
  --muted: #4b5d63;
  --line: rgba(13, 43, 51, 0.18);
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.on-ink :focus-visible { outline-color: var(--green-lite); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

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

/* Type */
.display {
  font-family: var(--serif);
  font-size: clamp(2.9rem, 7.6vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.h2 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.6vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.12; }
em, .ital { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--green); }
.on-ink em, .on-ink .ital { color: var(--green-lite); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-ink .eyebrow { color: var(--green-lite); }
.lede { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.on-ink .lede { color: rgba(243, 238, 228, 0.82); }
.muted { color: var(--muted); }
.on-ink .muted { color: rgba(243, 238, 228, 0.7); }
.small { font-size: 0.92rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  border: 1.5px solid var(--ink); border-radius: 999px;
  font: 600 0.98rem/1 var(--sans); text-decoration: none; color: var(--ink); background: transparent;
  cursor: pointer; transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn .arr { transition: transform 0.25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-solid { background: var(--green); border-color: var(--green); color: var(--paper); }
.btn-solid:hover { background: var(--green-deep); border-color: var(--green-deep); }
.on-ink .btn { border-color: var(--paper); color: var(--paper); }
.on-ink .btn:hover { background: var(--paper); color: var(--ink); }
.on-ink .btn-solid { background: var(--green-lite); border-color: var(--green-lite); color: var(--ink); }
.on-ink .btn-solid:hover { background: var(--paper); border-color: var(--paper); }
.link { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 2px; transition: background-size 0.3s var(--ease); }
.link:hover { background-size: 0 1.5px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 238, 228, 0.88);
  backdrop-filter: saturate(1.2) blur(14px); -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: auto; }
.brand-text { display: grid; line-height: 1; }
.brand-text b { font: 700 1.18rem/1 var(--sans); letter-spacing: 0.14em; color: var(--green-deep); }
.brand-text span { font: 500 0.66rem/1 var(--sans); letter-spacing: 0.34em; color: var(--green); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); font-size: 0.96rem; font-weight: 500; }
.nav a { text-decoration: none; color: var(--ink); position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { min-height: 42px; padding: 0 20px; font-size: 0.92rem; }
.nav .btn-solid, .nav .btn-solid:hover { color: var(--paper); }
.menu-btn { display: none; width: 46px; height: 46px; border: 1.5px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer; padding: 0; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.2s; }
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 22px; }
.menu-btn span:nth-child(3) { top: 27px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 22px; max-height: 0; overflow: hidden; visibility: hidden; opacity: 0;
    transition: opacity 0.25s var(--ease);
  }
  .menu-open .nav { max-height: 90vh; visibility: visible; opacity: 1; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 16px; justify-content: center; border-bottom: 1.5px solid var(--green-deep); }
}

/* Hero */
.hero { position: relative; padding: clamp(44px, 8vw, 104px) 0 0; overflow: hidden; }
.gridbg { background-image: url("grid.svg"); background-size: 900px 900px; background-position: 50% 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.hero .display { margin: 22px 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-note { margin-top: 30px; font-size: 0.95rem; color: var(--muted); max-width: 32em; }
.arch { border-radius: 999px 999px 0 0; overflow: hidden; position: relative; background: var(--ink); aspect-ratio: 4 / 5.2; }
.arch picture, .arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 16px; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.9); background: linear-gradient(transparent, rgba(13, 43, 51, 0.7)); text-align: center; }
.arch-outline { position: absolute; inset: -14px -14px 0; border: 1.5px solid var(--green); border-bottom: 0; border-radius: 999px 999px 0 0; pointer-events: none; opacity: 0.55; }
.hero-art { position: relative; padding: 14px 14px 0; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 380px; }
}

/* Water line and skyline dividers */
.wave {
  height: 28px; background: var(--wave, var(--ink));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='28' viewBox='0 0 120 28'%3E%3Cpath d='M0 14Q15 2 30 14T60 14T90 14T120 14V28H0Z'/%3E%3C/svg%3E") repeat-x 0 100% / 120px 28px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='28' viewBox='0 0 120 28'%3E%3Cpath d='M0 14Q15 2 30 14T60 14T90 14T120 14V28H0Z'/%3E%3C/svg%3E") repeat-x 0 100% / 120px 28px;
  animation: drift 14s linear infinite;
}
@keyframes drift { to { -webkit-mask-position: 120px 100%; mask-position: 120px 100%; } }
.skyline { width: 100%; height: auto; color: var(--ink); opacity: 0.9; }
.skyline-band { margin-top: clamp(36px, 6vw, 80px); color: var(--ink); }
.skyline-band svg { width: 100%; height: clamp(54px, 9vw, 120px); }

/* Sections */
.section { padding: clamp(64px, 10vw, 136px) 0; position: relative; }
.on-ink { background: var(--ink); color: var(--paper); }
.on-sand { background: var(--paper-2); }
.section-head { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 6vw, 72px); }
.section-head .h2 { margin-top: 16px; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* Service index */
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.index li { border-bottom: 1px solid var(--line); }
.index a {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.1fr) 40px; gap: 20px; align-items: baseline;
  padding: 26px 0; text-decoration: none; transition: padding 0.35s var(--ease), background 0.35s var(--ease);
}
.index a:hover { padding-left: 14px; background: linear-gradient(90deg, rgba(15, 110, 86, 0.07), transparent); }
.index .num { font-family: var(--serif); font-size: 1.5rem; color: var(--green); }
.index .name { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.05; }
.index .what { color: var(--muted); font-size: 1rem; }
.index .go { font-size: 1.4rem; text-align: right; color: var(--green); transition: transform 0.3s var(--ease); }
.index a:hover .go { transform: translateX(6px); }
@media (max-width: 760px) {
  .index a { grid-template-columns: 44px 1fr 28px; }
  .index .what { grid-column: 2 / 3; grid-row: 2; }
  .index .go { grid-row: 1; grid-column: 3; }
}

/* Process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 6vw, 96px); counter-reset: step; }
.process li { padding: 28px 0 30px; border-top: 1px solid rgba(243, 238, 228, 0.25); display: grid; grid-template-columns: 84px 1fr; gap: 8px 14px; }
.process .n { font-family: var(--serif); font-size: clamp(3rem, 5.5vw, 4.6rem); line-height: 0.9; color: var(--green-lite); grid-row: 1 / 3; }
.process h3 { font-family: var(--serif); font-size: 1.7rem; line-height: 1.1; }
.process p { margin: 0; color: rgba(243, 238, 228, 0.75); }
@media (max-width: 760px) { .process { grid-template-columns: 1fr; } }

/* Audience panels */
.panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); }
.panel { padding: clamp(28px, 4vw, 52px); border: 1.5px solid var(--ink); border-radius: 28px; position: relative; overflow: hidden; }
.panel.fill { background: var(--ink); color: var(--paper); }
.panel .h3 { margin: 14px 0 18px; }
.panel ul { margin: 0; padding: 0; list-style: none; }
.panel li { padding: 12px 0 12px 26px; border-top: 1px solid var(--line); position: relative; }
.panel.fill li { border-color: rgba(243, 238, 228, 0.22); }
.panel li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 12px; height: 12px; border: 1.5px solid var(--green); border-radius: 50%; }
.panel.fill li::before { border-color: var(--green-lite); }
.panel .mark { position: absolute; right: -10px; bottom: -12px; width: 150px; opacity: 0.12; color: currentColor; }
@media (max-width: 860px) { .panels { grid-template-columns: 1fr; } }

/* Work entries */
.entries { display: grid; gap: clamp(48px, 8vw, 104px); }
.entry { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.entry:nth-child(even) .entry-art { order: 2; }
.entry-art { position: relative; border-radius: 28px; overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); aspect-ratio: 5 / 4; display: grid; place-items: center; }
.entry-art picture, .entry-art img { width: 100%; height: 100%; object-fit: cover; }
.entry-art.ill { color: var(--green); }
.entry-art.ill svg { width: 74%; height: auto; }
.entry-tag { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); }
.entry h3 { font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.05; margin: 12px 0 18px; }
.entry dl { margin: 22px 0 0; display: grid; gap: 14px; }
.entry dt { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.entry dd { margin: 2px 0 0; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding: 0; list-style: none; }
.facts li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.86rem; background: var(--paper); }
@media (max-width: 860px) { .entry { grid-template-columns: 1fr; } .entry:nth-child(even) .entry-art { order: 0; } }

/* Credentials strip and values */
.strip { display: flex; flex-wrap: wrap; gap: 14px 34px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.strip span::before { content: "\2726"; color: var(--green); margin-right: 10px; }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 3vw, 40px); }
.values div { padding-top: 20px; border-top: 1.5px solid var(--ink); }
.values h3 { font-family: var(--serif); font-size: 1.7rem; margin-bottom: 8px; }
.values p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.on-ink .values div { border-top-color: rgba(243, 238, 228, 0.28); }
.on-ink .values h3 { color: var(--paper); }
.on-ink .values p { color: rgba(243, 238, 228, 0.88); }
@media (max-width: 860px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* Neighborhoods */
.places { display: flex; flex-wrap: wrap; gap: 6px 26px; font-family: var(--serif); font-size: clamp(1.5rem, 3.2vw, 2.6rem); line-height: 1.25; }
.places span:nth-child(3n+1) { color: var(--green); font-style: italic; }

/* Partners */
.partners-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; margin: 26px 0 0; }
.chips li { padding: 9px 18px; border: 1px solid rgba(243, 238, 228, 0.35); border-radius: 999px; font-size: 0.95rem; }
.blossom-art { color: var(--blossom); width: min(100%, 360px); margin: 0 0 0 auto; opacity: 0.9; }
@media (max-width: 860px) { .partners-grid { grid-template-columns: 1fr; } .blossom-art { margin: 0; } }

/* Prose pages */
.page-hero { padding: clamp(48px, 8vw, 104px) 0 clamp(28px, 4vw, 56px); }
.page-hero .display { font-size: clamp(2.6rem, 6.4vw, 5.4rem); margin-top: 20px; max-width: 14em; }
.page-hero .lede { margin-top: 24px; }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.cols.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols article { padding-top: 22px; border-top: 1.5px solid var(--ink); }
.cols h3 { font-family: var(--serif); font-size: 1.7rem; line-height: 1.1; margin-bottom: 10px; }
.cols p { color: var(--ink-2); }
.cols ul { padding-left: 1.1em; margin: 0 0 1em; color: var(--ink-2); }
.cols li { margin-bottom: 4px; }
.on-ink .cols article { border-top-color: rgba(243, 238, 228, 0.28); }
.on-ink .cols h3 { color: var(--paper); }
.on-ink .cols p,
.on-ink .cols ul,
.on-ink .cols li { color: rgba(243, 238, 228, 0.88); }
@media (max-width: 960px) { .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cols, .cols.two { grid-template-columns: 1fr; } }
.service-block { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--ink); }
.service-block:last-of-type { border-bottom: 1px solid var(--ink); }
.service-block h2 { font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.05; margin-top: 12px; }
.service-block ul { margin: 14px 0 0; padding-left: 1.1em; }
.service-block li { margin-bottom: 5px; }
.service-block .ask { margin-top: 20px; padding: 18px 20px; background: var(--paper-2); border-radius: 18px; font-size: 0.97rem; }
.service-block .ask b { display: block; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); margin-bottom: 6px; }
@media (max-width: 860px) { .service-block { grid-template-columns: 1fr; } }

.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--green); font-size: 1.6rem; line-height: 1; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 14px 0 0; max-width: 46em; color: var(--ink-2); }

.cta-band { text-align: left; }
.cta-band .display { font-size: clamp(2.4rem, 6vw, 5rem); max-width: 13em; }
.cta-band .hero-actions { margin-top: 36px; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(243, 238, 228, 0.82); padding: 0 0 36px; position: relative; }
.site-footer .skyline-band { color: var(--paper-2); margin: 0; padding-top: 0; background: var(--paper); }
.site-footer .skyline-band svg { color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(24px, 4vw, 56px); padding: clamp(44px, 6vw, 80px) 0 44px; }
.footer-grid h4 { font: 600 0.74rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-lite); margin-bottom: 18px; }
.footer-grid a { display: block; text-decoration: none; padding: 4px 0; color: rgba(243, 238, 228, 0.82); }
.footer-grid a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-brand img { width: 56px; margin-bottom: 14px; }
.footer-brand p { max-width: 24em; font-size: 0.96rem; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(243, 238, 228, 0.18); padding-top: 24px; font-size: 0.85rem; color: rgba(243, 238, 228, 0.6); }
.stars-mark { color: #d9534f; width: 72px; height: auto; opacity: 0.9; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Forms (intake and note) */
.form-shell { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.form-aside { position: sticky; top: 108px; }
.form-aside ol { list-style: none; padding: 0; margin: 28px 0 0; counter-reset: s; }
.form-aside li { counter-increment: s; display: flex; gap: 14px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--line); color: var(--muted); transition: color 0.3s; }
.form-aside li::before { content: "0" counter(s); font-family: var(--serif); font-size: 1.4rem; color: var(--green); }
.form-aside li[aria-current="step"] { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) {
  .form-shell { grid-template-columns: 1fr; gap: 22px; }
  .form-aside { position: static; }
  .form-aside ol { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; }
  .form-aside li { padding: 8px 0 0; border-top: 0; font-size: 0.95rem; }
  .form-aside li:not([aria-current="step"]) { font-size: 0; gap: 0; }
  .form-aside li:not([aria-current="step"])::before { font-size: 1.2rem; opacity: 0.55; }
}
.fstep { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.fstep.active { display: block; animation: rise 0.45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.fstep legend { font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.08; margin-bottom: 8px; padding: 0; }
.fstep .sub { color: var(--muted); margin-bottom: 26px; max-width: 34em; }
.field { display: block; margin-bottom: 22px; }
.field > span, .field-label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px; }
.field .opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; padding: 10px 2px; min-height: 46px;
  transition: border-color 0.2s, background 0.2s;
}
.field textarea { min-height: 112px; resize: vertical; border: 1.5px solid var(--ink); border-radius: 14px; padding: 12px 14px; background: rgba(255, 255, 255, 0.4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: rgba(255, 255, 255, 0.55); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.chips-in { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.chips-in legend { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; padding: 0; float: left; width: 100%; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 10px 18px; border: 1.5px solid var(--ink); border-radius: 999px; font-size: 0.97rem; transition: background 0.2s, color 0.2s; }
.chip input:checked + span { background: var(--green); border-color: var(--green); color: var(--paper); }
.chip input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.form-nav .spacer { flex: 1; }
.form-status { min-height: 1.6em; margin-top: 14px; font-weight: 500; }
.form-status.error { color: #a02a2a; }
.form-status.ok { color: var(--green-deep); }
.note { font-size: 0.9rem; color: var(--muted); }
.err { color: #a02a2a; font-size: 0.88rem; margin-top: 4px; min-height: 1em; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 14px 0 6px; }
.slot-btn { min-height: 46px; border: 1.5px solid var(--ink); border-radius: 12px; background: transparent; font: inherit; cursor: pointer; transition: background 0.2s, color 0.2s; }
.slot-btn:hover { background: var(--paper-2); }
.slot-btn.selected { background: var(--ink); color: var(--paper); }
.done { padding: clamp(28px, 4vw, 48px); border: 1.5px solid var(--ink); border-radius: 28px; }
.hidden { display: none !important; }
.api-warning { padding: 14px 18px; border: 1.5px solid #a02a2a; border-radius: 14px; margin-bottom: 20px; }

/* Motion */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.08s; }
.js .reveal.d2 { transition-delay: 0.16s; }
.js .reveal.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wave { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .fstep.active { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
@media print { .site-header, .site-footer .skyline-band, .wave { display: none; } }

/* Utilities (kept as classes so a strict Content Security Policy works) */
.pt-s { padding-top: 20px; }
.mt-s { margin-top: 20px; }
.mt-m { margin-top: 34px; }
.mt-l { margin-top: 40px; }
.wave.flip { transform: scaleY(-1); }
.chip-block { display: block; margin: 20px 0 0; }
.chip-block span { display: block; border-radius: 16px; }
.done-when { display: block; margin: 20px 0 0; }
.done-when dd { margin: 4px 0 0; font-family: var(--serif); font-size: 1.6rem; }
.h2 + .lede, .display + .lede, .h2 + p.lede { margin-top: 22px; }
.panel.fill .eyebrow { color: var(--green-lite); }
