@font-face { font-family: Outfit; src: url(assets/fonts/Outfit.woff2) format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: Inter; src: url(assets/fonts/Inter.woff2) format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  --teal: #0F766E;
  --teal-dark: #075E58;
  --coral: #FF6B4A;
  --ink: #0B1F24;
  --cream: #FFF7ED;
  --white: #FFFFFF;
  --muted: #3E5459;          /* 7.6:1 on cream */
  --muted-on-ink: #B7C6C8;   /* 9.6:1 on ink */
  --line: #EADFD0;
  --error: #B42318;          /* 6.3:1 on white */
  --radius: 24px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(11, 31, 36, .06), 0 8px 24px rgba(11, 31, 36, .06);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 1.0625rem/1.65 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: Outfit, Inter, system-ui, sans-serif; font-weight: 600; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
button, [role="button"], a.btn, summary { cursor: pointer; touch-action: manipulation; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.on-ink :focus-visible, .site-footer :focus-visible { outline-color: var(--coral); }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dot { color: var(--coral); }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--ink); color: var(--white); padding: 12px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: var(--white); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1 Outfit, Inter, sans-serif; text-decoration: none;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn-coral { background: var(--coral); color: var(--ink); }
.btn-coral:hover { color: var(--ink); background: #FF8466; box-shadow: 0 6px 18px rgba(255, 107, 74, .35); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { color: var(--white); background: var(--teal-dark); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { color: var(--ink); background: rgba(11, 31, 36, .06); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--cream); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; padding: 8px 0; }
.brand img { height: 32px; width: auto; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  background: none; border: 0; border-radius: var(--radius-sm); color: var(--ink);
}
.nav-toggle .i-close, .nav-toggle[aria-expanded="true"] .i-menu { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
.site-nav { display: none; }
.site-nav.open {
  display: block; position: absolute; inset: var(--header-h) 0 auto 0;
  background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 16px 24px;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-nav a:not(.btn) { display: flex; align-items: center; min-height: 48px; padding: 0 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.site-nav a:not(.btn):hover { color: var(--teal); }
.site-nav .btn { margin-top: 8px; width: 100%; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.open { display: block; position: static; padding: 0; border: 0; background: none; }
  .site-nav ul { display: flex; align-items: center; gap: 8px; }
  .site-nav a:not(.btn) { padding: 0 12px; }
  .site-nav .btn { margin: 0 0 0 8px; width: auto; }
}

/* Sections */
section { padding-block: 72px; }
@media (min-width: 768px) { section { padding-block: 112px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  font: 600 .875rem/1 Outfit, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--teal);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.125rem; }

/* Hero */
.hero { padding-block: 48px 72px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.75rem, 9vw, 5.5rem); letter-spacing: -.02em; }
.hero-lede { margin-top: 24px; max-width: 34ch; font-size: clamp(1.125rem, 2.2vw, 1.3rem); color: var(--muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-tile { border-radius: var(--radius); padding: 20px; background: var(--white); box-shadow: var(--shadow); }
.hero-tile.main { grid-column: span 2; background: var(--teal); display: grid; place-items: center; padding: 40px 24px; aspect-ratio: 16 / 9; }
.hero-tile.main img { width: min(60%, 260px); height: auto; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .2)); }
.hero-tile strong { display: block; font: 600 1.25rem/1.2 Outfit, sans-serif; }
.hero-tile span { color: var(--muted); font-size: .9375rem; }
.hero-tile.ink { background: var(--ink); color: var(--white); }
.hero-tile.ink span { color: var(--muted-on-ink); }
@media (min-width: 960px) {
  .hero { padding-block: 72px 112px; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; }
}

/* Bento / cards */
.bento { display: grid; gap: 16px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(11, 31, 36, .06), 0 16px 32px rgba(11, 31, 36, .1); }
.card h3 { font-size: 1.5rem; margin: 20px 0 8px; }
.card p { color: var(--muted); }
.card ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 8px; }
.card li { display: flex; gap: 10px; align-items: flex-start; }
.card li .icon { width: 20px; height: 20px; color: var(--teal); margin-top: 3px; }
.card-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--cream); color: var(--teal); }
.card.feature { background: var(--teal); color: var(--white); }
.card.feature p { color: var(--white); }
.card.feature .card-icon { background: rgba(255, 255, 255, .14); color: var(--white); }
.card.feature li .icon { color: var(--coral); }
@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .bento .feature { grid-row: span 2; display: flex; flex-direction: column; }
  .bento .wide { grid-column: span 2; }
}

/* Work */
.work-grid { display: grid; gap: 16px; }
.work-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.work-visual { aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
.work-visual::before, .work-visual::after { content: ""; position: absolute; border-radius: 50%; }
.v1 { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); }
.v1::before { width: 55%; aspect-ratio: 1; right: -10%; bottom: -15%; background: var(--coral); }
.v1::after { width: 22%; aspect-ratio: 1; left: 12%; top: 16%; background: var(--cream); }
.v2 { background: var(--ink); }
.v2::before { width: 70%; aspect-ratio: 1; left: -20%; top: -30%; border: 28px solid var(--teal); }
.v2::after { width: 14%; aspect-ratio: 1; right: 18%; bottom: 20%; background: var(--coral); }
.v3 { background: linear-gradient(160deg, #FFE3D8, var(--cream)); }
.v3::before { width: 40%; aspect-ratio: 1; left: 30%; top: 20%; background: var(--teal); border-radius: 30%; transform: rotate(18deg); }
.v3::after { width: 18%; aspect-ratio: 1; left: 22%; bottom: 14%; background: var(--coral); }
.work-body { padding: 24px; display: grid; gap: 8px; }
.tag { justify-self: start; font: 600 .8125rem/1 Outfit, sans-serif; padding: 6px 10px; border-radius: 999px; background: var(--cream); color: var(--muted); border: 1px dashed #C9B9A4; }
.work-body h3 { font-size: 1.375rem; }
.work-body p { color: var(--muted); }
@media (min-width: 768px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
.step { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); counter-increment: step; }
.step::before {
  content: "0" counter(step); display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--white); font: 600 1rem/1 Outfit, sans-serif;
}
.step:last-child::before { background: var(--coral); color: var(--ink); }
.step h3 { font-size: 1.375rem; margin: 20px 0 8px; }
.step p { color: var(--muted); }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* About (ink) */
.on-ink { background: var(--ink); color: var(--white); }
.on-ink .eyebrow { color: #5FD1C4; }
.on-ink .section-head p, .on-ink p { color: var(--muted-on-ink); }
.on-ink a { color: #5FD1C4; }
.about-grid { display: grid; gap: 40px; }
.about-grid .lead { font-size: clamp(1.25rem, 2.6vw, 1.625rem); line-height: 1.5; color: var(--white); font-family: Outfit, sans-serif; }
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.values li { padding: 24px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .14); }
.values strong { display: block; font: 600 1.25rem/1.3 Outfit, sans-serif; color: var(--white); margin-bottom: 6px; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* Contact */
.contact-grid { display: grid; gap: 40px; }
.contact-aside p { color: var(--muted); }
.contact-aside .direct { margin-top: 24px; font-weight: 500; }
.form-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 20px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9375rem; }
.field .req { color: var(--error); }
.field .hint { font-size: .875rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid #8A9A9D; background: var(--white); font-size: 1rem;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15, 118, 110, .25); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field .error { color: var(--error); font-size: .875rem; font-weight: 500; }
.field .error:empty { display: none; }
.hp { position: absolute; left: -9999px; }
.form-foot { display: grid; gap: 16px; margin-top: 8px; }
.form-foot .legal { font-size: .875rem; color: var(--muted); }
.form-status { padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 500; }
.form-status:empty { display: none; }
.form-status.ok { background: #E3F4F1; color: var(--teal-dark); }
.form-status.err { background: #FDECEA; color: var(--error); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; display: none; }
.sending .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field.full { grid-column: 1 / -1; } }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; } }

/* Footer */
.site-footer { background: var(--ink); color: var(--muted-on-ink); padding-block: 56px 32px; font-size: .9375rem; }
.footer-top { display: grid; gap: 32px; }
.footer-top img { height: 32px; width: auto; }
.footer-top p { margin-top: 12px; max-width: 36ch; }
.site-footer h2 { font-size: 1rem; color: var(--white); margin-bottom: 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a, .link-btn { color: var(--muted-on-ink); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a:hover, .link-btn:hover { color: var(--white); }
.link-btn { background: none; border: 0; padding: 0; font-size: inherit; }
.socials { display: flex; gap: 8px; }
.socials a { width: 44px; height: 44px; justify-content: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); }
.socials .icon { width: 20px; height: 20px; }
.socials .fill { fill: currentColor; stroke: none; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
@media (min-width: 768px) { .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; } }

/* Legal + 404 pages */
.page { padding-block: 48px 96px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(2.25rem, 6vw, 3.5rem); margin-bottom: 16px; }
.page h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.page p, .page li { color: #22383D; }
.page p + p { margin-top: 12px; }
.page ul { padding-left: 1.25rem; }
.draft-banner { background: #FFF1C2; border: 1px solid #E8C44C; color: #4A3A00; padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 32px; font-weight: 500; }
.ph { background: #FFF1C2; padding: 0 4px; border-radius: 4px; font-family: ui-monospace, monospace; font-size: .9em; }
.not-found { min-height: 60vh; min-height: 60dvh; display: grid; place-items: center; text-align: center; }
.not-found img { margin: 0 auto 24px; width: 120px; height: auto; }
.not-found p { color: var(--muted); margin: 16px 0 32px; }

/* Cookie banner */
.consent {
  position: fixed; z-index: 500; left: 16px; right: 16px; bottom: 16px; max-width: 520px;
  background: var(--white); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(11, 31, 36, .22); padding: 24px;
}
.consent[hidden] { display: none; }
.consent .consent-title { font: 600 1.25rem/1.2 Outfit, sans-serif; color: var(--ink); margin-bottom: 8px; }
.consent p { font-size: .9375rem; color: var(--muted); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.consent-actions .btn { flex: 1 1 120px; }
.consent fieldset { border: 0; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.consent label { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; min-height: 24px; }
.consent input[type="checkbox"] { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal); }

/* Reveal (JS adds .js on <html>) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js .reveal { opacity: 1; transform: none; }
  .card:hover { transform: none; }
}

/* Fixes from screenshot review */
.consent fieldset[hidden] { display: none; }
.contact-aside h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 16px; }
.about-more { margin-top: 20px; }
.page .link-btn { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; min-height: 24px; display: inline; }
