/* koya makes — site styles
   Layout concept: rounded paper panels floating on warm stone, like objects on a
   shelf. One big lowercase serif, plain sans everywhere else, soft tints for cards.
   Deliberately a single (light) theme: the brand is warm neutrals. */
:root {
  --stone: #E3DDD5;
  --paper: #F7F4EF;
  --white: #FFFDFA;
  --ink: #171513;
  --ink-2: #3D3833;
  --pebble: #6E6760;
  --line: #DCD4CA;
  --sage: #C9D2BF;
  --lilac: #D7CFE6;
  --mist: #BFD0D6;
  --sand: #E8D9C4;
  --ok: #3F6B4A;
  --err: #A3302A;

  --serif: "Gloock", "Bodoni 72", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --r-xl: 32px;
  --r-lg: 22px;
  --r-md: 14px;
  --pad: clamp(22px, 4.4vw, 60px);
  --gap: clamp(10px, 1.2vw, 14px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(96px + env(safe-area-inset-top, 0px)); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--stone); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--stone); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.05; text-wrap: balance; }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 16px; }

/* Frame: everything sits on stone with a little gutter */
.frame { max-width: 1320px; margin: 0 auto; padding: 12px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); display: grid; gap: var(--gap); }
.stack { display: grid; gap: var(--gap); min-width: 0; }
.panel { background: var(--paper); border-radius: var(--r-xl); padding: var(--pad); position: relative; min-width: 0; }
.panel.dark { background: var(--ink); color: var(--paper); }
@media (max-width: 640px) { .panel { border-radius: 24px; } }

/* Small parts */
.chip { display: inline-flex; align-items: center; gap: .35em; font-size: .9rem; line-height: 1; border: 1.25px solid currentColor; border-radius: 999px; padding: .5em .9em; white-space: nowrap; }
.label { font-size: .95rem; color: var(--pebble); }
.dark .label { color: #A9A197; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 500 .95rem/1 var(--sans); padding: .95em 1.4em; border-radius: 999px; border: 1.25px solid var(--ink); background: transparent; color: var(--ink); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s; white-space: nowrap; }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.btn[disabled] { opacity: .55; cursor: progress; }
.dark .btn { border-color: var(--paper); color: var(--paper); }
.dark .btn-solid { background: var(--paper); color: var(--ink); }
.dark .btn:hover { background: var(--paper); color: var(--ink); }
.textlink { font-weight: 500; text-decoration: underline; text-decoration-thickness: 1.25px; }
.textlink:hover { text-decoration-thickness: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header: a floating pill */
.site-head { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 10px); z-index: 50; }
.head-row { display: flex; align-items: center; gap: 20px; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); border-radius: 999px; padding: 10px 10px 10px 26px; box-shadow: 0 1px 0 rgba(23, 21, 19, .04); }
.logo { display: block; height: 26px; width: auto; }
.logo-link { display: block; flex: none; }
.nav { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--ink-2); }
.nav a:hover { color: var(--ink); text-decoration: underline; }
.head-cta { padding: .8em 1.2em; }
.menu-btn { display: none; margin-left: auto; background: var(--ink); color: var(--paper); border: 0; border-radius: 999px; padding: .75em 1.15em; font: 500 .9rem var(--sans); cursor: pointer; }
@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-radius: 24px; padding: 8px 22px 14px; box-shadow: 0 18px 40px rgba(23, 21, 19, .12); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; color: var(--ink); }
  .nav a:last-child { border-bottom: 0; }
  .menu-btn { display: inline-block; }
  .head-cta { display: none; }
  .head-row { padding-left: 20px; }
}

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; padding-block: clamp(4px, 2vw, 24px); }
.avail { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: .9rem; color: var(--pebble); }
.avail .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(63, 107, 74, .15); flex: none; }
.avail b { color: var(--ink); font-weight: 500; }
.hero-title { font-family: var(--serif); font-size: clamp(3.1rem, 7.6vw, 7rem); line-height: .96; letter-spacing: -.025em; }
.hero-title .rot { display: inline-block; margin-top: .06em; padding: 0 .14em .06em; margin-left: -.14em; border-radius: .18em; background: var(--sage); transition: opacity .35s, transform .35s, background-color .35s; }
.rot[data-tint="lilac"] { background: var(--lilac); }
.rot[data-tint="mist"] { background: var(--mist); }
.rot[data-tint="sand"] { background: var(--sand); }
.rot.out { opacity: 0; transform: translateY(.18em); }
.hero-lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 44ch; }
.hero-offer { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: center; background: var(--white); border-radius: var(--r-lg); padding: 14px 18px; max-width: 520px; box-shadow: inset 0 0 0 1px var(--line); }
.hero-offer .chip { grid-row: span 2; align-self: start; font-size: .8rem; }
.offer-title { font-weight: 600; }
.offer-price { color: var(--pebble); font-weight: 400; }
.offer-pitch { grid-column: 2; font-size: .92rem; color: var(--pebble); line-height: 1.45; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.hero-visual { position: relative; background: var(--sage); border-radius: var(--r-lg); min-height: 520px; overflow: hidden; display: grid; place-items: end center; padding-top: 48px; }
.hero-visual .phone { width: min(300px, 62%); border-radius: 34px 34px 0 0; border: 7px solid var(--ink); border-bottom: 0; overflow: hidden; background: #fff; box-shadow: 0 30px 60px rgba(23, 21, 19, .18); }
.hero-visual .phone img { width: 100%; }
.float { position: absolute; background: var(--white); border-radius: 18px; padding: 12px 14px; box-shadow: 0 16px 34px rgba(23, 21, 19, .14); font-size: .88rem; line-height: 1.35; text-decoration: none; color: var(--ink); }
.float-offer { top: 18px; right: 18px; display: grid; gap: 4px; min-width: 180px; }
.float-offer .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.float-offer .go { width: 28px; height: 28px; border-radius: 50%; border: 1.25px solid var(--ink); display: grid; place-items: center; font-size: .85rem; }
.float-offer b { font-weight: 600; font-size: .98rem; }
.float-card { left: 16px; bottom: 40px; width: min(220px, 44%); padding: 6px; transform: rotate(-6deg); }
.float-card img { border-radius: 10px; }
@media (max-width: 960px) { .hero { grid-template-columns: 1fr; } .hero-visual { min-height: 440px; } }
@media (max-width: 520px) { .hero-visual { min-height: 400px; } .float-card { display: none; } .float-offer { left: 14px; right: 14px; top: 14px; } }

/* Mission */
.mission { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 20px clamp(24px, 5vw, 80px); align-items: start; }
.mission p.big { font-size: clamp(1.25rem, 2.1vw, 1.65rem); line-height: 1.42; color: var(--ink-2); max-width: 38ch; }
.mission .btn { margin-top: 22px; }
@media (max-width: 760px) { .mission { grid-template-columns: 1fr; } }

/* Category cards (the shelf) */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.cat { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; padding: 18px; transition: transform .35s ease; }
.cat:hover { transform: translateY(-4px); }
.cat .cat-top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2; font-size: 1rem; }
.cat .cat-top .arrow { font-size: 1.1rem; }
.cat .cat-sub { position: relative; z-index: 2; font-size: .88rem; color: var(--ink-2); margin-top: 6px; max-width: 22ch; }
.cat .cat-img { position: absolute; left: 50%; top: 38%; transform: translateX(-50%); width: 58%; }
.cat .cat-img.phone { border: 5px solid var(--ink); border-radius: 22px; overflow: hidden; box-shadow: 0 18px 36px rgba(23, 21, 19, .18); }
.cat .cat-img.cards { width: 86%; top: 42%; }
.cat .cat-img.cards img { border-radius: 8px; box-shadow: 0 14px 28px rgba(23, 21, 19, .2); }
.cat .cat-img.cards img + img { margin-top: -48%; margin-left: 14%; transform: rotate(6deg); }
.cat .cat-img.cards img:first-child { transform: rotate(-5deg); }
[data-tint="sage"] { background-color: var(--sage); }
[data-tint="lilac"] { background-color: var(--lilac); }
[data-tint="mist"] { background-color: var(--mist); }
[data-tint="sand"] { background-color: var(--sand); }
@media (max-width: 960px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .cat { aspect-ratio: 3 / 4; padding: 14px; } .cat .cat-sub { display: none; } .cat .cat-img { top: 22%; width: 66%; } .cat .cat-img.cards { top: 34%; } }

/* Section heads */
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 40px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head h2 { font-family: var(--serif); font-size: clamp(2.3rem, 5vw, 4rem); letter-spacing: -.02em; }
.sec-head p { color: var(--pebble); max-width: 50ch; justify-self: end; }
.sec-head .label { display: block; margin-bottom: 12px; }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; } .sec-head p { justify-self: start; } }

/* Packages */
.price-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.pkg { border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pkg-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.pkg-top .chip { font-size: .82rem; }
.pkg-time { font-size: .85rem; color: var(--ink-2); }
.pkg h3 { font-family: var(--serif); font-size: clamp(1.7rem, 2.4vw, 2.1rem); letter-spacing: -.01em; margin-top: 8px; }
.pkg .price { font-family: var(--serif); font-size: clamp(3rem, 5vw, 4rem); line-height: 1; letter-spacing: -.02em; }
.pkg .price small { display: block; font: 400 .85rem/1.4 var(--sans); letter-spacing: 0; color: var(--ink-2); margin-bottom: 6px; }
.pkg .summary { color: var(--ink-2); }
.pkg ul { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid rgba(23, 21, 19, .15); display: grid; gap: 8px; font-size: .97rem; }
.pkg li { display: grid; grid-template-columns: 18px 1fr; gap: 6px; }
.pkg li::before { content: "+"; font-weight: 500; }
.pkg .scope { font-size: .88rem; line-height: 1.5; background: rgba(255, 253, 250, .6); border-radius: var(--r-md); padding: 12px 14px; color: var(--ink-2); }
.pkg .scope b, .pkg .best b { color: var(--ink); font-weight: 600; }
.pkg .best { font-size: .88rem; color: var(--ink-2); }
.pkg-acts { margin-top: auto; padding-top: 6px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.pkg-acts .textlink { font-size: .92rem; }
@media (max-width: 860px) { .price-list { grid-template-columns: 1fr; } }

/* Quick page vs full website */
.compare { margin-top: var(--gap); background: var(--white); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 36px); box-shadow: inset 0 0 0 1px var(--line); }
.compare-head { display: grid; gap: 10px; max-width: 64ch; margin-bottom: 22px; }
.compare-head h3 { font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 2.6rem); letter-spacing: -.015em; }
.compare-head p { color: var(--ink-2); }
.table-wrap { overflow-x: auto; margin-inline: -4px; padding-inline: 4px; }
.compare table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 560px; font-size: .97rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.compare tbody th { font-weight: 500; color: var(--pebble); width: 24%; }
.compare td { color: var(--ink-2); width: 38%; }
.compare td b { color: var(--ink); font-weight: 600; }
.compare thead th { border-bottom: 0; padding: 16px; vertical-align: bottom; }
.compare thead th[data-tint] { border-radius: 16px 16px 0 0; }
.compare tbody td:nth-child(2) { background: color-mix(in srgb, var(--lilac) 28%, transparent); }
.compare tbody td:nth-child(3) { background: color-mix(in srgb, var(--sand) 34%, transparent); }
.t-name { display: block; font-weight: 600; font-size: 1rem; }
.t-price { display: block; font-family: var(--serif); font-size: 2.4rem; line-height: 1.05; margin-top: 4px; }
.t-price small { font: 400 .9rem var(--sans); color: var(--ink-2); }
.compare .no { color: var(--pebble); }
.compare .t-acts th, .compare .t-acts td { border-bottom: 0; padding-top: 16px; }
.compare .t-acts td { border-radius: 0 0 16px 16px; }
.compare .t-acts .btn { white-space: normal; text-align: center; }
.custom-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: var(--gap); padding: 22px clamp(20px, 2.4vw, 30px); border-radius: var(--r-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.custom-row p { max-width: 64ch; color: var(--ink-2); }
.custom-row b { color: var(--ink); font-weight: 600; }

/* Giant wordmark panel */
.giant { overflow: hidden; padding-bottom: clamp(24px, 3vw, 40px); }
.giant-chips { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.giant-chips div { display: flex; gap: 8px; flex-wrap: wrap; }
.giant-word { margin: clamp(22px, 3vw, 40px) 0 0; }
.giant-word img { width: 100%; height: auto; }
.giant-stage { position: relative; margin-top: clamp(-110px, -7vw, -30px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 16px; }
.giant-stage .cards { position: relative; height: clamp(220px, 26vw, 360px); grid-column: 2; }
.giant-stage .cards img { position: absolute; width: 74%; border-radius: 12px; box-shadow: 0 26px 50px rgba(23, 21, 19, .22); }
.giant-stage .cards img:nth-child(1) { left: 0; top: 18%; transform: rotate(-8deg); }
.giant-stage .cards img:nth-child(2) { right: 0; top: 4%; transform: rotate(7deg); }
.giant-stage .cards img:nth-child(3) { left: 13%; top: 34%; transform: rotate(-1deg); }
.buy { background: var(--white); border-radius: var(--r-lg); padding: 16px 18px; display: grid; gap: 6px; box-shadow: inset 0 0 0 1px var(--line); max-width: 280px; grid-column: 1; grid-row: 1; align-self: end; position: relative; z-index: 2; }
.buy .label { font-size: .85rem; }
.buy b { font-weight: 600; font-size: 1.15rem; line-height: 1.25; }
.buy .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; }
.buy .amt { font-family: var(--serif); font-size: 2rem; line-height: 1; }
.buy .btn { padding: .7em 1em; font-size: .85rem; }
.giant-note { grid-column: 3; grid-row: 1; align-self: end; justify-self: end; max-width: 26ch; color: var(--pebble); font-size: .95rem; text-align: right; }
@media (max-width: 860px) {
  .giant-stage { grid-template-columns: 1fr; margin-top: -18px; }
  .giant-stage .cards { grid-column: 1; grid-row: 1; height: 62vw; }
  .buy { grid-column: 1; grid-row: 2; max-width: none; }
  .giant-note { grid-column: 1; grid-row: 3; justify-self: start; text-align: left; }
}

/* Examples */
.work-list { display: grid; gap: clamp(36px, 5vw, 64px); }
.work { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.work:nth-child(even) .work-media { order: 2; }
.work-media { display: block; border-radius: var(--r-lg); overflow: hidden; padding: clamp(14px, 2.4vw, 30px) clamp(14px, 2.4vw, 30px) 0; text-decoration: none; }
.work-media .shot { border-radius: 14px 14px 0 0; overflow: hidden; aspect-ratio: 16 / 10; max-width: 100%; box-shadow: 0 18px 40px rgba(23, 21, 19, .16); }
.work-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s ease; }
.work-media:hover img { transform: scale(1.02); }
.work .tags { display: flex; gap: 8px; flex-wrap: wrap; }
.work .tags .chip { font-size: .8rem; }
.work h3 { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.015em; margin-top: 14px; }
.work .lede { margin-top: 12px; color: var(--ink-2); max-width: 46ch; }
.work dl { margin: 18px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: .95rem; }
.work dt { color: var(--pebble); }
.work dd { margin: 0; }
.work .links { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 22px; align-items: center; }
@media (max-width: 860px) { .work { grid-template-columns: 1fr; } .work:nth-child(even) .work-media { order: 0; } }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.steps li { background: rgba(247, 244, 239, .06); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 10px; align-content: start; }
.steps .n { font-family: var(--serif); font-size: 3rem; line-height: 1; }
.steps h3 { font-family: var(--sans); font-weight: 600; font-size: 1.08rem; line-height: 1.3; }
.steps p { color: #C9C1B7; font-size: .95rem; }
.dark .sec-head p { color: #C9C1B7; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* About */
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px clamp(24px, 5vw, 80px); }
.about h2 { font-family: var(--serif); font-size: clamp(2.3rem, 4.6vw, 3.6rem); letter-spacing: -.02em; margin-top: 12px; }
.about-body { display: grid; gap: 16px; font-size: 1.05rem; color: var(--ink-2); max-width: 62ch; }
.about-body p:first-child { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.4; color: var(--ink); }
.creds { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--gap); margin-top: 8px; }
.creds div { background: var(--white); border-radius: var(--r-md); padding: 14px 16px; display: grid; gap: 4px; box-shadow: inset 0 0 0 1px var(--line); }
.creds b { color: var(--ink); font-weight: 600; font-size: .98rem; }
.creds span { font-size: .88rem; color: var(--pebble); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); }
.contact h2 { font-family: var(--serif); font-size: clamp(2.3rem, 4.6vw, 3.6rem); letter-spacing: -.02em; margin-top: 12px; }
.contact-aside { display: grid; gap: 20px; align-content: start; }
.contact-aside > p { color: var(--ink-2); }
.direct { background: var(--white); border-radius: var(--r-lg); padding: 18px; display: grid; gap: 8px; box-shadow: inset 0 0 0 1px var(--line); }
.direct .addr { font-weight: 500; word-break: break-all; user-select: all; }
.copy-btn { justify-self: start; font: 500 .85rem var(--sans); background: none; border: 1.25px solid var(--ink); color: var(--ink); border-radius: 999px; padding: .55em 1em; cursor: pointer; text-decoration: none; }
.copy-btn:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: .93rem; }
.field label .opt { font-weight: 400; color: var(--pebble); }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--white); border: 1.25px solid var(--line); border-radius: var(--r-md); padding: .85em 1em; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(23, 21, 19, .07); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field .hint { font-size: .84rem; color: var(--pebble); }
.field .err { font-size: .84rem; color: var(--err); font-weight: 600; }
.field .err:empty { display: none; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 4px; }
.form-foot small { color: var(--pebble); flex: 1 1 240px; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.status { grid-column: 1 / -1; border-radius: var(--r-lg); padding: 18px 20px; display: grid; gap: 10px; outline: none; }
.status h3 { font: 600 1.05rem/1.3 var(--sans); }
.status.ok { background: var(--sage); }
.status.fail { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--err); }
.status .row { display: flex; flex-wrap: wrap; gap: 10px; }
.status pre { white-space: pre-wrap; font: 400 .85rem/1.6 var(--sans); background: var(--paper); padding: 12px; border-radius: 10px; margin: 0; max-height: 220px; overflow: auto; }

/* Footer */
.site-foot { background: var(--ink); color: var(--paper); border-radius: var(--r-xl); padding: var(--pad); display: grid; gap: 28px; }
.site-foot .foot-logo { width: min(100%, 720px); height: auto; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; align-items: end; }
.foot-line { font-size: 1.05rem; color: #C9C1B7; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: .95rem; }
.foot-links a { color: var(--paper); }
.foot-small { width: 100%; color: #A9A197; font-size: .85rem; }

/* Sample-project pages */
.cs-page { background: var(--paper); border-radius: var(--r-xl); padding: var(--pad); }
.cs-hero { padding-bottom: 28px; }
.cs-hero .crumbs { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 26px; }
.cs-hero .crumbs .mono { font-size: .95rem; color: var(--pebble); text-decoration: none; margin-right: 6px; }
.cs-hero .crumbs .mono:hover { color: var(--ink); text-decoration: underline; }
.tag { display: inline-flex; font-size: .82rem; line-height: 1; border: 1.25px solid var(--ink); border-radius: 999px; padding: .5em .85em; }
.tag-concept { background: var(--sage); border-color: var(--sage); }
.cs-hero h1 { font-family: var(--serif); font-size: clamp(3rem, 8vw, 6.4rem); letter-spacing: -.03em; line-height: .95; }
.cs-hero .lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 48ch; margin-top: 20px; }
.cs-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: 32px; }
.cs-facts div { background: var(--white); border-radius: var(--r-md); padding: 14px 16px; display: grid; gap: 4px; min-width: 0; box-shadow: inset 0 0 0 1px var(--line); }
.cs-facts .eyebrow { font-size: .82rem; color: var(--pebble); }
.cs-facts b { font-weight: 600; }
@media (max-width: 760px) { .cs-facts { grid-template-columns: 1fr 1fr; } }
.cs-shot { display: block; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); padding: clamp(14px, 3vw, 40px) clamp(14px, 3vw, 40px) 0; margin-bottom: 20px; }
.cs-shot img { width: 100%; border-radius: 14px 14px 0 0; box-shadow: 0 18px 40px rgba(23, 21, 19, .16); }
.cs-body { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 14px clamp(24px, 5vw, 72px); padding-block: 28px; border-top: 1px solid var(--line); }
.cs-body h2 { font: 500 1rem/1.5 var(--sans); color: var(--pebble); }
.cs-body .copy { display: grid; gap: 14px; max-width: 64ch; color: var(--ink-2); }
.cs-body .copy > p:first-child { font-size: 1.15rem; color: var(--ink); }
.cs-body ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }
.decisions { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--gap); }
.decisions div { background: var(--white); border-radius: var(--r-md); padding: 18px; display: grid; gap: 8px; align-content: start; box-shadow: inset 0 0 0 1px var(--line); }
.decisions b { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; line-height: 1.15; }
.decisions p { color: var(--pebble); font-size: .96rem; }
@media (max-width: 760px) { .cs-body { grid-template-columns: 1fr; } }
.cs-cta { background: var(--ink); color: var(--paper); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; margin-block: 32px 28px; }
.cs-cta h2 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.015em; }
.cs-cta p { color: #C9C1B7; margin-top: 10px; max-width: 54ch; }
.cs-cta .scope-note { font-size: .9rem; }
.cs-cta .scope-note b { color: var(--paper); }
.cs-cta .acts { display: flex; flex-wrap: wrap; gap: 10px; }
.cs-cta .btn { border-color: var(--paper); color: var(--paper); }
.cs-cta .btn-solid { background: var(--paper); color: var(--ink); }
.cs-cta .btn:hover { background: var(--paper); color: var(--ink); }
@media (max-width: 760px) { .cs-cta { grid-template-columns: 1fr; } }
.cs-next { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); }

/* Entrance: visible at rest, motion only nudges */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .24s; }
  @keyframes rise { from { transform: translateY(12px); opacity: .001; } to { transform: none; opacity: 1; } }
}
@media (max-width: 560px) {
  .hero-offer { grid-template-columns: 1fr; }
  .hero-offer .chip { grid-row: auto; justify-self: start; }
  .offer-pitch { grid-column: 1; }
  .giant-chips div { display: none; }
}
@media (max-width: 600px) {
  .compare { padding: 16px 10px 18px; }
  .compare-head { padding-inline: 6px; }
  .compare table { min-width: 0; font-size: .82rem; table-layout: fixed; }
  .compare th, .compare td { padding: 9px 7px; overflow-wrap: break-word; }
  .compare tbody th { width: 27%; font-size: .78rem; }
  .compare thead th { padding: 12px 8px; }
  .t-name { font-size: .8rem; line-height: 1.25; }
  .t-price { font-size: 1.6rem; }
  .compare .t-acts .btn { padding: .75em .6em; font-size: .78rem; width: 100%; }
}
