@font-face { font-family: 'Domine'; font-weight: 400; font-display: swap; src: url(/assets/fonts/domine-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Domine'; font-weight: 600; font-display: swap; src: url(/assets/fonts/domine-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Domine'; font-weight: 700; font-display: swap; src: url(/assets/fonts/domine-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 400; font-display: swap; src: url(/assets/fonts/dm-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 400; font-style: italic; font-display: swap; src: url(/assets/fonts/dm-sans-latin-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 500; font-display: swap; src: url(/assets/fonts/dm-sans-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 700; font-display: swap; src: url(/assets/fonts/dm-sans-latin-700-normal.woff2) format('woff2'); }

:root {
  --ink: #1F2A24;
  --ink-2: #4A5550;
  --paper: #FFFDF8;
  --sand: #F6F2EA;
  --line: #E6DFD2;
  --clay: #A3603B;
  --clay-soft: #D9A27E;
  --sage: #4E7A63;
  --forest: #2F4237;
  --radius: 18px;
  --serif: 'Domine', Georgia, serif;
  --sans: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(40px, 5.6vw, 68px); }
h2 { font-size: clamp(30px, 3.6vw, 46px); max-width: 22ch; }
h3 { font-size: 21px; line-height: 1.25; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 40px); margin: 0 auto; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); margin-bottom: 14px; }
.eyebrow.light { color: var(--clay-soft); }
.sub { color: var(--ink-2); font-size: 19px; max-width: 62ch; margin-top: 16px; }
.fine { font-size: 14px; color: var(--ink-2); margin-top: 22px; }
.fine a { color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; background: var(--ink); color: var(--sand); font-weight: 500; font-size: 16px; text-decoration: none; border: 1.5px solid var(--ink); transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); background: #2B3A32; }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--sand); }
.btn-light { background: var(--sand); color: var(--ink); border-color: var(--sand); }
.btn-light:hover { background: #fff; }
.link { font-weight: 500; text-decoration: none; border-bottom: 1.5px solid var(--clay-soft); padding-bottom: 2px; }
.link:hover { border-color: var(--clay); }
.link.light { color: var(--sand); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 30px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 253, 248, .9); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 19px; }
.logo svg { width: 34px; height: 34px; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a:not(.btn) { text-decoration: none; font-size: 15px; color: var(--ink-2); }
.menu a:not(.btn):hover { color: var(--ink); }
.burger { display: none; width: 42px; height: 42px; border: 0; background: none; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .2s; }

/* hero */
.hero { padding: 56px 0 90px; background: radial-gradient(1200px 500px at 85% 10%, #EFE6D6 0%, rgba(239, 230, 214, 0) 60%), var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--clay); }
.lead { font-size: 20px; color: var(--ink-2); margin-top: 22px; max-width: 34em; }
.note { font-size: 14px; color: var(--ink-2); margin-top: 16px; }
.hero-art { position: relative; padding-bottom: 40px; }
.frame { margin: 0; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 24px 60px rgba(31, 42, 36, .16); border: 1px solid var(--line); }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #F1ECE2; border-bottom: 1px solid var(--line); }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D8CFC0; }
.frame-bar span { margin-left: 10px; font-size: 12px; color: var(--ink-2); }
.frame-phone { position: absolute; right: -10px; bottom: -10px; width: 30%; border-radius: 26px; border: 6px solid var(--ink); box-shadow: 0 30px 60px rgba(31, 42, 36, .3); }
.frame-desk { width: 92%; }

/* bands and sections */
.band { background: var(--sand); padding: 80px 0; }
.section { padding: 96px 0; }
.section.alt { background: var(--sand); }
.section.dark { background: var(--ink); color: var(--sand); }
.section.dark p { color: #CDD6CF; }
.cards { display: grid; gap: 20px; margin-top: 40px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.five { grid-template-columns: repeat(5, 1fr); }
.badge-native { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; margin-bottom: 18px; border-radius: 999px; background: #E7EFE9; color: var(--forest); font-size: 14px; font-weight: 500; }
.badge-native span { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 3px rgba(78, 122, 99, .2); }
.preview-note { display: inline-block; margin-top: 18px; padding: 10px 16px; border-left: 3px solid var(--clay-soft); background: var(--paper); border-radius: 0 10px 10px 0; color: var(--ink-2); font-size: 15px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.section .card { background: var(--sand); border-color: transparent; }
.card p { color: var(--ink-2); margin-top: 10px; font-size: 16px; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 44px 0 56px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.steps li { counter-increment: s; position: relative; padding: 22px 20px 22px; background: var(--sand); border-radius: var(--radius); }
.steps li::before { content: counter(s); display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--sand); font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.steps li:nth-child(3)::before, .steps li:nth-child(4)::before { background: var(--clay); }
.steps li:last-child::before { background: var(--sage); }
.steps b { display: block; font-family: var(--serif); font-size: 19px; margin-bottom: 6px; }
.steps span { color: var(--ink-2); font-size: 15px; }

.split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.split-copy h3 { font-size: 28px; margin-bottom: 14px; }
.split-copy p { color: var(--ink-2); margin-bottom: 22px; }
.section.dark .split { grid-template-columns: 1fr 1.25fr; }
.section.dark h2 { margin-bottom: 18px; }
.frame-dark { border-color: #33433A; }
.frame-dark .frame-bar { background: #2B3A32; border-color: #33433A; }
.frame-dark .frame-bar i { background: #4A5A50; }
.frame-dark .frame-bar span { color: #A9B7AE; }

/* roles */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; margin: 36px 0 28px; padding: 6px; background: var(--paper); border-radius: 999px; border: 1px solid var(--line); }
.tabs button { border: 0; background: none; padding: 10px 18px; border-radius: 999px; font: 500 15px var(--sans); color: var(--ink-2); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--sand); }
.panel { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: center; }
.panel[hidden] { display: none; }
.panel-copy h3 { font-size: 26px; margin-bottom: 18px; }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; }
.ticks li { position: relative; padding-left: 28px; margin: 10px 0; color: var(--ink-2); }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 9px; width: 12px; height: 7px; border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg); }

/* table */
.table-wrap { overflow-x: auto; margin-top: 36px; border-radius: var(--radius); border: 1px solid var(--line); }
.grid { width: 100%; border-collapse: collapse; min-width: 640px; }
.grid th, .grid td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.grid th { background: var(--sand); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); font-weight: 700; }
.grid tr:last-child td { border-bottom: 0; }
.grid td:first-child { font-weight: 500; }

/* try */
.try { background: var(--sand); }
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.role { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: var(--paper); border-radius: var(--radius); text-decoration: none; border: 1.5px solid transparent; transition: border-color .15s, transform .15s, box-shadow .15s; }
.role:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(31, 42, 36, .1); }
.role .av { flex: none; width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--forest); color: #F3ECE1; font-weight: 700; font-size: 15px; }
.role-guest .av { background: var(--clay-soft); color: var(--ink); font-size: 22px; font-weight: 400; }
.role b { display: block; font-size: 18px; }
.role small { display: block; color: var(--clay); font-weight: 500; font-size: 14px; margin-bottom: 6px; }
.role em { display: block; font-style: normal; color: var(--ink-2); font-size: 15px; line-height: 1.45; }

/* contact, footer */
.contact { background: var(--forest); color: var(--sand); padding: 72px 0; }
.contact-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.contact h2 { margin-bottom: 12px; }
.contact p { color: #CDD6CF; max-width: 52ch; }
.foot { background: var(--ink); color: #A9B7AE; padding: 28px 0; font-size: 14px; }
.foot-in { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot .fine { margin: 0; color: #8E9B92; }

@media (max-width: 1020px) {
  .hero-grid, .split, .section.dark .split, .panel { grid-template-columns: 1fr; }
  .hero-art { margin-top: 10px; }
  .cards.four, .cards.five { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:last-child { grid-column: span 2; }
  .roles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .burger { display: block; }
  .menu { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; display: none; }
  .menu.is-open { display: flex; }
  .menu a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .menu .btn { margin-top: 14px; }
  .hero { padding: 36px 0 64px; }
  .lead { font-size: 18px; }
  .section, .band { padding: 64px 0; }
  .cards.three, .cards.four, .cards.five, .roles { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li:last-child { grid-column: auto; }
  .frame-desk { width: 100%; }
  .frame-phone { width: 34%; right: 0; bottom: -18px; border-width: 4px; border-radius: 18px; }
  .tabs { border-radius: 16px; }
  .contact-in { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }