:root {
  --gold: #B8922A;
  --gold-light: #D4AF5A;
  --champagne: #C6AF7A;
  --teal: #0090A8;
  --ink: #1A1A1A;
  --deep-ink: #14161A;
  --paper: #FAF8F4;
  --warm-gray: #C6BEB4;
  --muted: #4A4640;
  --max: 1080px;
  --gutter: clamp(16px, 4vw, 36px);
  --radius: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); color-scheme: light; }
body { margin: 0; font-family: "Jost", sans-serif; font-size: 16px; font-weight: 400; line-height: 1.55; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 400; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--deep-ink); outline-offset: 4px; }
::selection { background: var(--champagne); color: var(--ink); }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -100px; background: var(--ink); color: white; padding: 12px 18px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.site-header { position: sticky; top: 0; z-index: 30; background: #faf9f5; border-bottom: 1px solid var(--champagne); }
.nav-bar { display: flex; align-items: center; gap: 24px; min-height: 68px; max-width: var(--max); margin: auto; padding: 8px var(--gutter); }
.logo { display: inline-flex; gap: .45em; text-decoration: none; white-space: nowrap; }
.logo-a, .logo-s { font-size: 13px; letter-spacing: .18em; }
.logo-a { font-weight: 500; } .logo-s { font-weight: 300; }
.links { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.links a { font-size: 13px; font-weight: 500; text-decoration: none; padding-block: 12px; }
.links a:hover, .foot a:hover { text-decoration: underline; text-decoration-color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 18px; border: 1px solid var(--gold); border-radius: 999px; background: var(--gold); color: var(--deep-ink); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--deep-ink); color: white; border-color: var(--deep-ink); }
.btn-ghost { color: var(--ink); background: transparent; }
.btn:disabled { background: #e7e2da; border-color: var(--warm-gray); color: var(--muted); cursor: not-allowed; }
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 0; display: flex; align-items: flex-start; padding: 56px 0 72px; }
.hero-fluid { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-fluid::before, .hero-fluid::after { content: ""; position: absolute; width: min(72vw, 640px); height: min(72vw, 640px); border-radius: 50%; filter: blur(72px); }
.hero-fluid::before { background: radial-gradient(circle at 40% 40%, rgba(184,146,42,.38), rgba(212,175,90,.08) 55%, transparent 70%); top: -12%; left: -8%; animation: drift-a 26s ease-in-out infinite alternate; }
.hero-fluid::after { background: radial-gradient(circle at 60% 50%, rgba(0,144,168,.26), rgba(198,175,122,.1) 50%, transparent 70%); right: -10%; bottom: -18%; animation: drift-b 32s ease-in-out infinite alternate; }
@keyframes drift-a { from { transform: translate(0,0) scale(1); } to { transform: translate(8%,6%) scale(1.12); } }
@keyframes drift-b { from { transform: translate(0,0) scale(1.05); } to { transform: translate(-7%,-5%) scale(1); } }
.hero .wrap { position: relative; z-index: 1; }
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
h1 { font-size: clamp(2rem, 5.4vw, 3.6rem); line-height: 1.12; letter-spacing: -.02em; overflow-wrap: break-word; margin-bottom: 18px; }
.hero h1 { max-width: 15ch; }
.sub { max-width: 36rem; font-size: 1.08rem; line-height: 1.6; }
.hero .sub, .contact .sub { margin-bottom: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
section { padding: 56px 0; }
.section-head { margin-bottom: 24px; }
.section-head h2, .exclusion h2 { font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.proof, .services, .work, .approach { display: grid; gap: 16px; }
.proof, .approach { grid-template-columns: repeat(4,minmax(0,1fr)); }
.services { grid-template-columns: repeat(2,minmax(0,1fr)); }
.work { grid-template-columns: repeat(3,minmax(0,1fr)); }
.card { border: 1px solid var(--champagne); border-radius: var(--radius); padding: 28px 24px; min-width: 0; background: white; }
.card h3 { font-size: 1.15rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; margin-bottom: 12px; }
.card p { font-size: 15px; }
.proof .card { background: var(--paper); border-color: var(--gold); padding: 24px 20px; }
.proof .card p { font-size: 14px; color: var(--muted); line-height: 1.4; }
.proof .card h3 { font-size: 1.05rem; }
.approach .card { padding: 24px 20px; }
.tag { display: inline-block; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--warm-gray); border-radius: 999px; padding: 6px 10px; }
.self-label { margin-bottom: 24px; }
.work-card h3 a { text-decoration: none; display: flex; justify-content: space-between; align-items: center; padding-block: 4px; }
.work-card h3 a:hover { text-decoration: underline; }
.work-category { display: block; font-size: 12px; color: var(--muted); margin-top: 20px; }
.exclusion { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; }
.exclusion p { max-width: 42rem; }
.contact { padding-bottom: 72px; }
.contact-panel { border: 1px solid var(--gold); border-radius: 24px; padding: clamp(28px,5vw,48px); background: white; }
.contact h2 { font-size: clamp(1.7rem,4vw,2.7rem); letter-spacing: -.02em; line-height: 1.15; max-width: 16ch; margin-bottom: 14px; }
.site-footer { padding: 8px 0 48px; }
.foot { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 20px; position: relative; font-size: 12px; color: var(--muted); }
.foot::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--gold); }
.foot a { text-decoration: none; }
.foot span:last-child { margin-left: auto; }
.page-intro { padding: 80px 0 36px; }
.page-intro h1 { max-width: 18ch; }
.index-work { padding-top: 24px; padding-bottom: 96px; }
.thumbnail { background: var(--paper); margin: -12px -8px 24px; border-radius: 10px; overflow: hidden; border: 1px solid #e3ded6; }
.thumbnail img { width: 100%; height: auto; display: block; aspect-ratio: 6/5; object-fit: contain; }
.case-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; color: var(--muted); font-size: 13px; padding-bottom: 36px; }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.case-meta a { margin-left: auto; }
.case-body { padding-bottom: 48px; }
.case-section, .service-detail { display: grid; grid-template-columns: 1fr 2fr; gap: 36px; border-top: 1px solid var(--champagne); padding-block: 40px; }
.case-section h2 { font-size: 1.4rem; line-height: 1.25; }
.prose { min-width: 0; }
.prose p + p { margin-top: 18px; }
.prose h3 { font-size: 1.08rem; font-weight: 500; margin-bottom: 10px; }
.prose p + h3 { margin-top: 28px; }
.decision-list { margin: 0; padding: 0; list-style: none; }
.decision-list li + li { margin-top: 28px; }
.deliverables { margin: 0; padding-left: 20px; }
.deliverables li + li { margin-top: 14px; }
.service-details { padding-bottom: 56px; }
.service-detail { padding-block: 48px; }
.service-detail h2 { font-family: "Cormorant Garamond", serif; font-size: clamp(2rem,3vw,2.6rem); line-height: 1.1; max-width: 12ch; }
.mock-stage { margin-top: 28px; padding: 24px; background: #efede7; border-radius: 16px; }
.mockup { background: #fff; border: 1px solid var(--warm-gray); padding: 24px; border-radius: 16px; width: 100%; max-width: 540px; margin-inline: auto; }
.mockup h3 { font-size: 1.5rem; font-weight: 400; line-height: 1.18; letter-spacing: -.02em; margin: 22px 0 12px; }
.mock-top { display: flex; gap: 12px; flex-wrap: wrap; justify-content: space-between; font-size: 12px; align-items: center; }
.mock-top .tag { font-size: 10px; padding: 4px 8px; }
.mock-sub, .mock-caption { color: var(--muted); font-size: 13px; }
.mock-caption { margin-top: 16px; font-size: 11px; }
.phone { max-width: 330px; border: 2px solid var(--ink); border-radius: 30px; padding: 20px; }
.phone-speaker { width: 48px; height: 4px; border-radius: 4px; background: var(--ink); margin: 0 auto 28px; }
.checklist { border: 0; padding: 0; margin: 24px 0; min-width: 0; }
.checklist label { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid #e3ded6; font-size: 14px; cursor: pointer; }
.checklist input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); flex-shrink: 0; }
.checklist input:checked + span { text-decoration: line-through; color: var(--muted); }
.mock-feedback { border-left: 2px solid var(--teal); padding-left: 12px; font-size: 13px; margin-top: 20px; }
.filter-row, .review-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.mockup button { min-height: 44px; border: 1px solid var(--warm-gray); border-radius: 999px; background: var(--paper); color: var(--ink); padding: 8px 14px; cursor: pointer; font-size: 13px; }
.mockup button:hover { border-color: var(--ink); }
.mockup button[aria-pressed="true"] { background: var(--ink); color: white; border-color: var(--ink); }
.request-list { margin: 18px 0 0; padding: 0; list-style: none; }
.request-list li { padding: 14px 0; border-bottom: 1px solid #e3ded6; }
.request-list strong { display: block; font-size: 14px; font-weight: 500; }
.request-list span { font-size: 12px; color: var(--muted); }
blockquote { margin: 20px 0; padding: 16px; border-left: 2px solid var(--champagne); background: var(--paper); font-size: 14px; }
.decision-fields { margin: 0; }
.decision-fields div { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 8px 0; font-size: 13px; }
dt { color: var(--muted); } dd { margin: 0; }
.contact-form-section { padding-top: 24px; padding-bottom: 96px; }
.form-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.contact-note h2 { font-size: 1.4rem; margin-bottom: 16px; }
.contact-note p { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
form { min-width: 0; padding: 28px; background: white; border: 1px solid var(--champagne); border-radius: var(--radius); }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { min-width: 0; margin-bottom: 24px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.field input, .field textarea, .field select { width: 100%; min-width: 0; padding: 12px; min-height: 48px; border: 1px solid #81796f; border-radius: 8px; background: var(--paper); color: var(--ink); }
.field textarea { resize: vertical; }
.error-actions { padding-bottom: 120px; }
main { scroll-margin-top: 150px; }
@media (max-width: 900px) {
  .nav-bar { gap: 16px; flex-wrap: wrap; }
  .links { order: 3; width: 100%; justify-content: space-between; gap: 16px; }
  .nav-cta { margin-left: auto; }
  .proof, .approach { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .work { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .work-card:last-child { grid-column: 1/-1; }
  .index-work .work-card:last-child { max-width: 100%; }
  .index-work .work-card:last-child .thumbnail { max-width: 360px; }
  .case-section, .service-detail { grid-template-columns: 1fr 2.2fr; gap: 24px; }
}
@media (max-width: 767px) {
  .site-header { position: relative; }
  .hero { min-height: 0; padding: 48px 0 56px; }
  section { padding: 40px 0; }
  .page-intro { padding: 48px 0 28px; }
  .case-section, .service-detail, .form-layout, .exclusion { grid-template-columns: 1fr; gap: 24px; }
  .service-detail h2 { max-width: 100%; }
  .mock-stage { padding: 16px; }
  .mockup { padding: 20px; }
}
@media (max-width: 479px) {
  .proof, .services, .work, .approach, .form-pair { grid-template-columns: minmax(0,1fr); }
  .work-card:last-child { grid-column: auto; }
  .logo-a, .logo-s { font-size: 11px; letter-spacing: .14em; }
  .nav-bar { gap: 8px; }
  .nav-cta { padding: 10px 12px; font-size: 11px; letter-spacing: .01em; }
  .links { gap: 8px; }
  .links a { font-size: 13px; }
  .card { padding: 22px 18px; }
  .self-label { margin-bottom: 20px; }
  form { padding: 22px 18px; }
  .form-pair { gap: 0; }
  .mock-stage { padding: 12px; }
  .mockup { padding: 16px; }
  .mock-top { gap: 8px; }
  .case-meta a { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-fluid::before, .hero-fluid::after { transform: none !important; }
}
/* Static thumbnails use the same interface content as the interactive case studies. */
.thumbnail { height: 228px; display: flex; align-items: center; justify-content: center; padding: 16px; background: #efede7; }
.mini-phone, .mini-window { background: #fff; border: 1px solid var(--warm-gray); border-radius: 10px; width: 100%; padding: 16px; color: var(--ink); }
.mini-phone { max-width: 190px; border: 1px solid var(--ink); border-radius: 18px; }
.mini-kicker { display: block; font-size: 9px; color: var(--muted); margin-bottom: 12px; }
.thumbnail strong { display: block; font-size: 15px; line-height: 1.2; font-weight: 400; margin-bottom: 12px; }
.mini-check, .mini-row { display: block; font-size: 9px; padding-block: 8px; border-bottom: 1px solid #e3ded6; }
.mini-check::before { content: ""; display: inline-block; width: 7px; height: 7px; border: 1px solid var(--muted); margin-right: 6px; }
.mini-caption { display: block; font-size: 8px; color: var(--muted); margin-top: 12px; border-left: 2px solid var(--teal); padding-left: 6px; }
.mini-filters { display: flex; gap: 6px; }
.mini-filters span { border: 1px solid var(--warm-gray); padding: 3px 6px; border-radius: 99px; font-size: 8px; }
.mini-filters span:first-child { background: var(--ink); color: white; border-color: var(--ink); }
.mini-row small { display: block; font-size: 8px; color: var(--muted); }
.mini-quote { display: block; font-size: 10px; background: var(--paper); padding: 10px; border-left: 2px solid var(--champagne); }


/* --- paper grain overlay (added post-build) --- */
body::after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:9999;
  background-image:url("/assets/texture-grain.png");
  background-repeat:repeat;
  background-size:512px 512px;
  mix-blend-mode:multiply;
  opacity:.38;
}
@media (prefers-reduced-motion: reduce){ body::after{ opacity:.3 } }

/* --- work index: stacked feature cards --- */
.page-intro .sub + .sub { margin-top: 16px; }
.index-work .work {
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
.index-work .work-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  gap: 12px 40px;
  align-items: start;
  padding: 32px;
}
.index-work .thumbnail {
  height: 320px;
  margin: 0;
  align-self: stretch;
}
.index-work .mini-phone { max-width: 210px; }
.index-work .mini-window { max-width: 380px; margin-inline: auto; }
.index-work .work-card h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  margin-bottom: 10px;
}
.work-copy { min-width: 0; overflow-wrap: break-word; }
.work-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 22px 0 8px;
  line-height: 1.4;
}
.toolkit-list { margin-top: 16px; }

/* --- faq: same two-column rhythm as services --- */
.faq-list { padding-bottom: 56px; }
.faq-list .service-detail h2 {
  max-width: 16ch;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  overflow-wrap: break-word;
}

@media (max-width: 900px) {
  .index-work .work-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .index-work .work-card:last-child .thumbnail {
    max-width: none;
  }
  .index-work .thumbnail { height: 280px; }
}
@media (max-width: 767px) {
  .faq-list .service-detail h2 { max-width: 100%; }
  .index-work .work-card { padding: 24px 20px; }
}
@media (max-width: 479px) {
  .index-work .thumbnail { height: 240px; padding: 12px; }
  .index-work .work-card { padding: 22px 18px; }
}


/* --- Live app affordance on work cards ------------------------------
   The two built concepts are the only thing on this site a visitor can
   actually use, and they were three clicks down. Surfaced on the card. */
.work-try { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; }
.try-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--gold-deep, #8A6B1E);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}
.try-link:hover { border-bottom-width: 2px; }
.try-link:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.try-none { font-size: 12px; color: var(--muted); }
