:root {
  --canvas: #faf9f5;
  --surface: #f5f0e8;
  --card: #efe9de;
  --accent-amber: #e8a55a;
  --ink: #141413;
  --body: #3d3d3a;
  --muted: #6c6a64;
  --hairline: #e6dfd8;
  --coral: #cc785c;
  --coral-dark: #a9583e;
  --dark: #181715;
  --dark-soft: #252320;
  --on-dark: #faf9f5;
  --on-dark-soft: #a09d96;
  --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: "Work Sans", Inter, sans-serif; font-size: 16px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1200px, calc(100% - 96px)); margin: 0 auto; }
.nav { height: 72px; background: rgba(250,249,245,.94); border-bottom: 1px solid var(--hairline); position: fixed; inset: 0 0 auto; z-index: 20; backdrop-filter: blur(12px); }
.nav__bar { height: 72px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo { width: 148px; height: auto; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a, .footer__links a { color: var(--muted); font-size: 14px; transition: color .18s ease; }
.nav__links a:hover, .footer__links a:hover { color: var(--coral); }
.btn { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 14px; padding: 0 20px; border: 0; border-radius: 8px; font-size: 14px; font-weight: 600; transition: transform .18s var(--ease), background .18s ease, color .18s ease; }
.btn__icon { width: 28px; height: 28px; object-fit: contain; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn--primary { background: var(--coral); color: #fff; }
.btn--primary:hover { background: var(--coral-dark); }
.btn--secondary { border: 1px solid currentColor; }
.btn--secondary:hover { background: var(--canvas); color: var(--ink); }
.btn--xl { min-height: 52px; padding-inline: 24px; }
.nav__toggle, .mobile-menu { display: none; }
.hero { position: relative; isolation: isolate; min-height: 900px; padding-top: 72px; background: var(--canvas); }
.hero-field {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 54%, var(--canvas) 5%, transparent 62%),
    radial-gradient(ellipse at 92% 32%, color-mix(in srgb, var(--accent-amber) 23%, var(--card)), transparent 52%),
    radial-gradient(ellipse at 4% 80%, var(--card), transparent 55%),
    var(--canvas);
}
.hero-field__canvas, .hero-field__dots { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.hero-field__canvas { transition: opacity .4s ease-out; }
.hero-field[data-ready] .hero-field__canvas { opacity: 1; }
.hero-field__dots {
  background: radial-gradient(circle, var(--accent-amber) 1.25px, transparent 1.7px) 0 0 / 6px 6px;
  mask-image: radial-gradient(circle 110px at var(--x, -120px) var(--y, -120px), black, transparent);
  transition: opacity .7s ease-out;
}
.hero-field[data-hover] .hero-field__dots { opacity: .68; transition-duration: .25s; }
.hero-field__ripple {
  position: absolute;
  width: 320px;
  height: 320px;
  margin: -160px;
  border-radius: 50%;
  background: radial-gradient(circle closest-side, transparent 77%, color-mix(in srgb, var(--accent-amber) 45%, transparent) 90%, transparent);
  animation: hero-ripple 1s cubic-bezier(.16,.7,.3,1) both;
}
@keyframes hero-ripple {
  from { transform: scale(.04); opacity: .9; }
  to { transform: scale(1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-field__canvas, .hero-field__dots, .hero-field__ripple { display: none; }
}
.hero__wrap { min-height: 828px; display: flex; align-items: center; justify-content: center; }
.hero__text { width: min(100%, 720px); text-align: center; }
.hero__lead { margin-inline: auto; }
.hero__assistant { position: absolute; bottom: 36px; right: max(48px, calc((100% - 1200px) / 2)); width: 180px; pointer-events: none; }
.hero__assistant img { width: 100%; height: auto; }
.hero[data-assistant-departed] .hero__assistant,
.hero[data-assistant-departed] .hero__assistant-canvas { visibility: hidden; }
.hero__assistant-canvas { display: none; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .hero[data-assistant-ready] .hero__assistant-canvas { display: block; }
  .hero[data-assistant-ready] .hero__assistant { display: none; }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .hero[data-assistant-ready] .hero__assistant-canvas { display: block; }
  .hero[data-assistant-ready] .hero__assistant { visibility: hidden; }
}
.btn-row { justify-content: center; }
.eyebrow { margin: 0 0 20px; color: var(--coral-dark); font-family: "DM Mono", ui-monospace, monospace; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.055em; }
.hero h1 { width: 100%; max-width: 100%; margin: 0 auto 28px; text-align: center; font-size: clamp(40px, 6vw, 65px); line-height: .98; overflow-wrap: normal; white-space: normal;}
[data-title-reveal] { --title-reveal-version: 1; }
.hero-title__line { display: block; }
.title-reveal__word { white-space: nowrap; }
.title-reveal__char { display: inline-block; position: relative; }
.title-reveal__dots { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: var(--coral); pointer-events: none; }
[data-title-reveal="preparing"] .hero-title__line,
[data-title-reveal="running"] .title-reveal__letter { visibility: hidden; }
.title-reveal__char[data-resolved] .title-reveal__letter { visibility: visible; animation: title-reveal-settle .14s ease-out; }
.title-reveal__char[data-resolved] .title-reveal__dots,
[data-title-reveal="done"] .title-reveal__dots { display: none; }
@keyframes title-reveal-settle { from { color: var(--coral); } to { color: var(--ink); } }
h2 { margin-bottom: 24px; max-width: 13ch; font-size: clamp(38px, 4.5vw, 60px); line-height: 1.05; }
h3 { margin-bottom: 8px; font-size: 22px; line-height: 1.2; font-weight: 500; letter-spacing: -.03em; }
.hero__lead, .body-copy { max-width: 45ch; color: var(--body); font-size: 18px; line-height: 1.55; }
.hero__lead { margin-bottom: 32px; }
.btn-row { display: flex; align-items: center; gap: 24px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--coral-dark); font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 4px; transition: color .18s ease; }
.text-link:hover { color: var(--ink); }
.section { padding: 112px 0; }
.section--method { background: var(--canvas); }
.method-grid, .ai-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 80px; align-items: center; }
.method-copy { grid-column: span 5; }
.body-copy { margin-bottom: 32px; color: var(--muted); }
.steps { grid-column: 7 / span 6; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--hairline); }
.steps li > span { color: var(--coral-dark); font-family: "DM Mono", monospace; font-size: 12px; }
.steps h3 { margin-bottom: 6px; font-size: 24px; }
.steps p { margin: 0; color: var(--muted); }
.section--ai { background: var(--surface); }
.ai-visual { grid-column: span 7; min-height: 500px; padding: 28px; overflow: hidden; position: relative; background: var(--dark); color: var(--on-dark); border-radius: 12px; display: flex; flex-direction: column; justify-content: space-between; }
.ai-visual__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .14; filter: grayscale(1); }
.flow-label, .flow, .flow-foot { position: relative; z-index: 1; }
.flow-label, .flow-foot { color: #a09d96; font-family: "DM Mono", monospace; font-size: 11px; }
.flow { display: flex; align-items: center; gap: 12px; }
.flow-node { flex: 1; min-height: 142px; padding: 18px; border: 1px solid rgba(250,249,245,.3); border-radius: 8px; background: rgba(24,23,21,.72); display: flex; flex-direction: column; justify-content: flex-end; }
.flow-node--active { background: var(--coral); border-color: var(--coral); }
.node-dot { width: 9px; height: 9px; border-radius: 50%; background: #e8a55a; margin-bottom: auto; }
.flow-node strong { font-size: 17px; font-weight: 500; }
.flow-node small { color: #b6b2aa; font-family: "DM Mono", monospace; font-size: 10px; }
.flow-node--active small { color: #fff0e8; }
.flow-line { width: 22px; height: 1px; background: #a09d96; position: relative; }
.flow-line::after { content: ""; position: absolute; right: 0; top: -3px; border: 3px solid transparent; border-left-color: #a09d96; }
.flow-foot { display: flex; justify-content: space-between; }
.live-dot { width: 7px; height: 7px; margin-top: 5px; background: #5db8a6; border-radius: 50%; }
.ai-copy { grid-column: 9 / span 4; }
.ai-copy h2 { max-width: 9ch; }
.check-list { list-style: none; padding: 0; margin: 32px 0 0; }
.check-list li { padding: 12px 0 12px 24px; border-top: 1px solid var(--hairline); position: relative; }
.check-list li::before { content: "✳"; position: absolute; left: 0; color: var(--coral); }
.section--statement { background: var(--coral); color: #fff; padding-block: 128px; }
.statement { display: flex; align-items: end; justify-content: space-between; gap: 48px; }
.statement h2 { max-width: 14ch; margin: 0; }
.statement .btn--secondary { border-color: #fff; color: #fff; flex: 0 0 auto; }
.statement .btn--secondary:hover { color: var(--coral-dark); }
.footer { background: var(--dark); color: var(--on-dark); padding: 96px 0 32px; }
.footer__top { display: flex; justify-content: space-between; align-items: end; gap: 48px; padding-bottom: 96px; }
.footer h2 { max-width: 11ch; margin: 0; }
.footer__bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; padding-top: 24px; border-top: 1px solid rgba(250,249,245,.2); }
.footer .brand-logo { width: 156px; }
.footer__links { display: flex; gap: 24px; }
.footer__links a { color: #a09d96; }
.legal { margin: 0; color: #8e8b82; font-size: 12px; text-align: right; }
:focus-visible { outline: 3px solid #e8a55a; outline-offset: 4px; }
.m-enter .hero__text > :not(h1) { opacity: 0; transform: translateY(16px); }
.m-enter-done .hero__text > :not(h1) { opacity: 1; transform: translateY(0); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.contact-page { padding-top: 72px; }
.contact-hero { padding: 112px 0 128px; background: var(--canvas); }
.contact-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 80px; align-items: start; }
.contact-intro { grid-column: span 5; }
.contact-intro h1 { margin: 0 0 24px; font-size: clamp(48px, 5vw, 72px); line-height: .98; }
.contact-intro .body-copy { max-width: 34ch; }
.contact-note { margin: 64px 0 0; padding-top: 20px; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 14px; }
.contact-form-wrap { grid-column: 7 / span 6; padding: 32px; background: var(--surface); border-radius: 12px; }
.contact-form { display: grid; gap: 24px; }
.contact-form__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { color: var(--ink); font-size: 14px; font-weight: 600; }
.field input, .field textarea { width: 100%; border: 1px solid var(--hairline); border-radius: 8px; padding: 12px 14px; background: var(--canvas); color: var(--ink); font: inherit; line-height: 1.45; }
.field input { min-height: 48px; }
.field textarea { min-height: 144px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--coral); outline: 3px solid rgba(232,165,90,.35); outline-offset: 2px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error, #c64545); }
.field__error { margin: 0; color: #a83b3b; font-size: 13px; }
.form__status { min-height: 24px; margin: 0; color: var(--body); font-size: 14px; }
.form__status[data-state="error"] { color: #a83b3b; }
.form__status[data-state="ready"] { color: var(--coral-dark); }
.contact-footer { padding-top: 64px; }
.m-enter .contact-hero > .wrap { opacity: 0; transform: translateY(16px); }
.m-enter-done .contact-hero > .wrap { opacity: 1; transform: translateY(0); transition: opacity .65s var(--ease), transform .65s var(--ease); }
@media (max-width: 760px) {
  .wrap { width: min(100% - 40px, 600px); }
  .nav, .nav__bar { height: 60px; }
  .nav { background: var(--canvas); backdrop-filter: none; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; width: 44px; height: 44px; margin-left: auto; border: 0; background: transparent; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; }
  .nav__toggle span { display: block; width: 20px; height: 1px; background: var(--ink); }
  .mobile-menu { position: fixed; inset: 60px 0 0; padding: 24px 20px; background: var(--canvas); flex-direction: column; overflow-y: auto; overscroll-behavior: contain; z-index: 10; }
  .mobile-menu.is-open { display: flex; }
  .mobile-menu a { padding: 18px 0; border-bottom: 1px solid var(--hairline); font-size: 24px; letter-spacing: -.04em; }
  .hero { min-height: auto; padding-top: 60px; }
  .hero__wrap { min-height: 0; display: flex; flex-direction: column; align-items: stretch; }
  .hero__text { width: 100%; padding: 72px 0 56px; }
  .hero__assistant { position: relative; bottom: auto; right: auto; left: auto; width: 156px; margin: -28px auto 32px; transform: none; }
  .hero h1 { font-size: clamp(32px, 9vw, 40px); }
  h1 { font-size: 52px; }
  h2 { font-size: 42px; }
  .section { padding: 80px 0 72px; }
  .method-grid, .ai-grid { display: flex; flex-direction: column; gap: 48px; align-items: stretch; }
  .ai-visual { min-height: 420px; padding: 24px; }
  .flow { gap: 6px; }
  .flow-node { min-height: 130px; padding: 14px; }
  .flow-node strong { font-size: 15px; }
  .flow-line { width: 10px; }
  .statement { display: block; }
  .statement .btn { margin-top: 32px; width: 100%; }
  .footer { padding-top: 80px; }
  .footer__top { display: block; padding-bottom: 80px; }
  .footer__top .btn { margin-top: 32px; width: 100%; }
  .footer__bottom { grid-template-columns: 1fr; gap: 20px; }
  .legal { text-align: left; }
  .contact-page { padding-top: 60px; }
  .contact-hero { padding: 72px 0 80px; }
  .contact-grid { display: flex; flex-direction: column; gap: 48px; }
  .contact-intro, .contact-form-wrap { width: 100%; }
  .contact-intro h1 { font-size: 52px; }
  .contact-note { margin-top: 40px; }
  .contact-form-wrap { padding: 24px; }
  .contact-form__row { grid-template-columns: 1fr; }
  .contact-form .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .m-enter .hero__text > :not(h1) { opacity: 1; transform: none; }
  [data-title-reveal] .hero-title__line,
  [data-title-reveal] .title-reveal__letter { visibility: visible; }
  .title-reveal__dots { display: none; }
  .m-enter .contact-hero > .wrap { opacity: 1; transform: none; }
}
