/* =========================================================
   BRAINTISA — style.css
   Concept: "the yellow t". In the logo one letter is yellow; on
   the site yellow is used the same way, as a highlighter on the
   one phrase that matters in each heading, and as a solid card
   the presenter steps out of. Everything else stays white and ink.
   Light theme only, by design.
   ========================================================= */

:root {
  color-scheme: light;
  --paper: #ffffff;
  --soft: #f7f6f2;          /* warm paper grey for alternate sections */
  --ink: #111111;           /* logo black */
  --ink-2: #3a3a3a;
  --muted: #6b6a66;
  --yellow: #fdc00b;        /* logo yellow */
  --yellow-deep: #e0a800;
  --yellow-soft: #fff5d1;
  --line: #e9e6de;
  --ok: #1f9d55;
  --shadow: 0 30px 60px -30px rgba(17, 17, 17, .35);
  --shadow-sm: 0 10px 26px -18px rgba(17, 17, 17, .45);

  --f-head: "Saira", "Segoe UI", system-ui, sans-serif;
  --f-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;

  --step-0: clamp(1rem, .97rem + .15vw, 1.07rem);
  --step-1: clamp(1.1rem, 1.04rem + .3vw, 1.3rem);
  --step-3: clamp(2rem, 1.45rem + 2.2vw, 3.3rem);
  --step-4: clamp(2.5rem, 1.6rem + 3.8vw, 4.8rem);

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --r: 24px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: var(--step-0); line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

/* the brand device: yellow highlighter behind one phrase */
.mark { background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%); padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(76px, 9vw, 124px); }
.soft { background: var(--soft); }
.kicker { font-family: var(--f-head); font-weight: 600; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 10px; height: 18px; background: var(--yellow); border-radius: 2px; }
.sec-head { display: grid; gap: 16px; max-width: 700px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head h2 { font-size: var(--step-3); }
.sec-head p { color: var(--muted); max-width: 60ch; }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.small { font-size: .84rem; color: var(--muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 14px; padding: 16px 24px; font-family: var(--f-head); font-weight: 600; font-size: 1rem; letter-spacing: .01em; text-decoration: none; white-space: nowrap; transition: transform .25s, box-shadow .25s, background .25s, color .25s; }
.btn svg { width: 18px; height: 18px; transition: transform .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 14px 28px -14px rgba(224,168,0,.9), inset 0 -3px 0 rgba(0,0,0,.08); }
.btn-yellow:hover { background: #ffcb2e; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { box-shadow: 0 0 0 4px var(--yellow); }
.btn-line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 11px 18px; font-size: .92rem; border-radius: 12px; }
.btn-block { width: 100%; white-space: normal; text-align: center; }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; } }

/* ---------- progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 70; pointer-events: none; }
.progress-bar { height: 3px; width: 0; background: var(--yellow); }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 78px; }
.brand img { width: 140px; height: auto; }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2); white-space: nowrap; background: linear-gradient(var(--yellow), var(--yellow)) 0 92% / 0 4px no-repeat; transition: background-size .3s, color .2s; padding-block: 4px; }
.nav a:hover { color: var(--ink); background-size: 100% 4px; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.menu-btn span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
@media (max-width: 1180px) {
  .nav { position: absolute; top: 76px; left: var(--gutter); right: var(--gutter); flex-direction: column; gap: 0; background: #fff; border-radius: 18px; padding: 8px 20px; box-shadow: var(--shadow); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: .25s; }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); background: none; }
  .nav a:last-child { border-bottom: 0; }
  .menu-btn { display: flex; }
}
@media (max-width: 520px) { .header-cta .btn { display: none; } .brand img { width: 120px; } }

/* ---------- hero ---------- */
.hero { padding-block: clamp(36px, 5vw, 70px) clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 24px; justify-items: start; min-width: 0; }
.tag { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: var(--soft); font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px var(--yellow-soft); }
.hero h1 { font-size: var(--step-4); letter-spacing: -.035em; line-height: 1.02; }
.lede { font-size: var(--step-1); color: var(--ink-2); max-width: 48ch; line-height: 1.55; }
.lede b { color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.assure { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; color: var(--muted); }
.assure li { display: inline-flex; align-items: center; gap: 8px; }
.assure li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fdc00b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat; flex: none; }

.hero-visual { position: relative; aspect-ratio: 5 / 6; max-width: 540px; width: 100%; justify-self: center; }
.hero-card { position: absolute; left: 4%; right: 0; bottom: 0; height: 74%; border-radius: var(--r); background: var(--yellow); overflow: hidden; }
.hero-grid-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.big-t { position: absolute; right: -2%; bottom: -18%; font-family: var(--f-head); font-weight: 800; font-size: clamp(16rem, 30vw, 26rem); line-height: 1; color: rgba(255,255,255,.35); user-select: none; }
.hero-presenter { position: absolute; left: 8%; bottom: 0; width: 88%; height: auto; z-index: 2; filter: drop-shadow(0 30px 30px rgba(0,0,0,.18)); }
.clock { position: absolute; z-index: 3; top: 8%; right: -2%; width: 116px; height: 116px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; }
.clock svg { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); transform: rotate(-90deg); }
.clock-track { fill: none; stroke: var(--line); stroke-width: 8; }
.clock-fill { fill: none; stroke: var(--yellow); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 2s cubic-bezier(.2,.8,.2,1); }
.clock-text { position: relative; text-align: center; line-height: 1; }
.clock-text b { display: block; font-family: var(--f-head); font-size: 2.2rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.clock-text span { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.chip { position: absolute; z-index: 3; display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 16px; padding: 10px 16px 10px 10px; box-shadow: var(--shadow); font-size: .8rem; color: var(--muted); line-height: 1.3; animation: bob 6s ease-in-out infinite; }
.chip b { display: block; font-family: var(--f-head); font-size: .98rem; color: var(--ink); }
.chip-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--yellow); font-weight: 800; flex: none; }
.chip-ico-dark { background: var(--ink); color: var(--yellow); }
.chip-a { left: -6%; top: 34%; }
.chip-b { right: -4%; bottom: 10%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; margin-top: 10px; }
  .chip-a { left: 0; } .chip-b { right: 0; } .clock { right: 0; }
}
@media (max-width: 480px) { .clock { width: 92px; height: 92px; } .clock-text b { font-size: 1.7rem; } .chip { font-size: .72rem; } }

/* ---------- band ---------- */
.band { background: var(--ink); color: #fff; overflow: hidden; padding-block: 18px; }
.band-track { display: flex; width: max-content; animation: band 36s linear infinite; font-family: var(--f-head); font-weight: 600; font-size: 1.1rem; }
.band-track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; }
.band-track span::after { content: ""; width: 8px; height: 14px; background: var(--yellow); border-radius: 2px; }
@keyframes band { to { transform: translateX(-50%); } }

/* ---------- try your brand ---------- */
.play { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.play-controls { display: grid; gap: 22px; padding: clamp(20px, 3vw, 30px); border-radius: var(--r); border: 1.5px solid var(--line); background: #fff; min-width: 0; position: sticky; top: 100px; }
.field { display: grid; gap: 10px; min-width: 0; }
.field > label, .field > .lbl { font-family: var(--f-head); font-weight: 600; font-size: .95rem; }
.opt { font-family: var(--f-body); font-weight: 500; color: var(--muted); font-size: .84rem; margin-left: 4px; }
input[type="text"] { width: 100%; min-width: 0; font: inherit; color: var(--ink); background: var(--soft); border: 2px solid transparent; border-radius: 12px; padding: 13px 14px; }
input[type="text"]:focus { outline: none; border-color: var(--ink); background: #fff; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.sw { width: 38px; height: 38px; border-radius: 50%; border: 0; box-shadow: inset 0 0 0 2px rgba(0,0,0,.08); position: relative; transition: transform .2s; }
.sw:hover { transform: scale(1.1); }
.sw[aria-pressed="true"] { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ink); }
.sw-custom { background: conic-gradient(#f43f5e, #f59e0b, #84cc16, #06b6d4, #6366f1, #d946ef, #f43f5e); overflow: hidden; }
.sw-custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.seg { display: inline-flex; flex-wrap: nowrap; background: var(--soft); padding: 4px; border-radius: 12px; gap: 2px; }
.seg-wrap { display: flex; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 9px 14px; border-radius: 9px; font-weight: 600; font-size: .9rem; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.browser { border-radius: 18px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; min-width: 0; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: var(--soft); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9d5cb; }
.browser-bar .url { margin-left: 10px; flex: 1; min-width: 0; background: #fff; border-radius: 8px; padding: 5px 12px; font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini { --b: #0e7490; --bh: var(--f-head); font-family: var(--f-body); }
.mini-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; }
.mini-logo { display: flex; align-items: center; gap: 8px; font-family: var(--bh); font-weight: 700; font-size: .95rem; min-width: 0; }
.mini-logo span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-logo b { width: 30px; height: 30px; border-radius: 50%; background: var(--b); color: #fff; display: grid; place-items: center; font-size: .9rem; flex: none; transition: background .4s; }
.mini-links { display: flex; gap: 14px; font-size: .78rem; color: var(--muted); }
.mini-links i { font-style: normal; }
.mini-btn { background: var(--b); color: #fff; font-size: .74rem; font-weight: 700; padding: 7px 12px; border-radius: 8px; white-space: nowrap; transition: background .4s; }
.mini-btn-lg { font-size: .85rem; padding: 10px 16px; justify-self: start; }
.mini-hero { position: relative; margin: 0 14px; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 8; max-width: 100%; }
.mini-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s; }
.mini-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.6), rgba(0,0,0,.05) 70%); }
.mini-copy { position: absolute; z-index: 1; inset: 0; display: grid; align-content: center; gap: 10px; padding: clamp(16px, 3vw, 32px); color: #fff; max-width: 70%; }
.mini-copy small { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
.mini-copy h3 { font-family: var(--bh); font-size: clamp(1.2rem, .9rem + 1.4vw, 2rem); color: #fff; line-height: 1.1; }
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; }
.mini-cards div { border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: grid; gap: 2px; font-size: .78rem; min-width: 0; }
.mini-cards span { height: 6px; width: 40%; border-radius: 6px; background: var(--b); transition: background .4s; margin-bottom: 6px; }
.mini-cards b { font-family: var(--bh); font-size: .9rem; }
.mini-cards em { font-style: normal; color: var(--muted); }
.mini[data-style="heritage"] { --bh: "DM Serif Display", Georgia, serif; }
.mini[data-style="heritage"] .mini-copy h3, .mini[data-style="heritage"] .mini-logo, .mini[data-style="heritage"] .mini-cards b { font-weight: 400; letter-spacing: 0; }
@media (max-width: 900px) { .play { grid-template-columns: 1fr; } .play-controls { position: static; } }
@media (max-width: 520px) { .mini-links { display: none; } .mini-copy { max-width: 90%; } .mini-cards { grid-template-columns: 1fr 1fr; } .mini-cards div:last-child { display: none; } }

/* ---------- work ---------- */
.cases { display: grid; gap: clamp(56px, 7vw, 96px); }
.case { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.case-flip .case-shots { order: 2; }
.case-shots { position: relative; padding-bottom: 8%; padding-right: 10%; min-width: 0; }
.case-flip .case-shots { padding-right: 0; padding-left: 10%; }
.frame { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.frame-bar { display: flex; gap: 5px; padding: 9px 12px; background: var(--soft); border-bottom: 1px solid var(--line); }
.frame-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d9d5cb; }
.frame-desk img { width: 100%; height: auto; }
.frame-phone { position: absolute; right: 0; bottom: 0; width: 24%; border-radius: 22px; border: 5px solid var(--ink); }
.case-flip .frame-phone { right: auto; left: 0; }
.frame-phone img { width: 100%; height: auto; }
.case-copy { display: grid; gap: 20px; min-width: 0; }
.case-id { display: flex; gap: 14px; align-items: center; }
.case-id img { width: 48px; height: 48px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); padding: 2px; }
.case-id h3 { font-size: 1.5rem; }
.case-id p { color: var(--muted); font-size: .9rem; }
.from-to { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.from-to div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.from-to dt { font-family: var(--f-head); font-weight: 600; font-size: .9rem; }
.from-to div:last-child dt { background: linear-gradient(transparent 55%, var(--yellow) 55%); justify-self: start; height: fit-content; }
.from-to dd { margin: 0; color: var(--ink-2); font-size: .95rem; }
.case-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.case-tags li { font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.case-link { font-family: var(--f-head); font-weight: 600; text-decoration: none; justify-self: start; border-bottom: 3px solid var(--yellow); }
@media (max-width: 920px) { .case { grid-template-columns: 1fr; } .case-flip .case-shots { order: 0; } .from-to div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; align-items: start; }
.rv { grid-column: span 2; display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-width: 0; }
.rv-feature { grid-column: span 3; grid-row: span 2; background: var(--ink); color: #fff; border-color: var(--ink); align-self: stretch; position: relative; overflow: hidden; }
.rv-feature::before { content: "“"; position: absolute; right: 18px; top: -40px; font-family: var(--f-head); font-weight: 800; font-size: 14rem; line-height: 1; color: rgba(253,192,11,.16); pointer-events: none; }
.reviews .rv:nth-child(2) { grid-column: span 3; }
.reviews .rv:nth-child(3) { grid-column: span 3; }
.reviews .rv:nth-child(4) { grid-column: span 6; }
.rv-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rv-stars { color: var(--yellow); letter-spacing: 3px; font-size: 1.05rem; }
.rv-tag { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--yellow-soft); color: #7a5b00; }
.rv-feature .rv-tag { background: rgba(253,192,11,.18); color: var(--yellow); }
.rv-quote { margin: 0; font-size: 1rem; line-height: 1.7; color: var(--ink-2); }
.rv-feature .rv-quote { font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); line-height: 1.6; color: #fff; position: relative; }
.rv-quote.clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.rv-feature .rv-quote.clamp { -webkit-line-clamp: 14; }
@media (max-width: 960px) { .rv-feature .rv-quote.clamp { -webkit-line-clamp: 8; } }
.rv-more { align-self: flex-start; border: 0; background: none; padding: 0; font-family: var(--f-head); font-weight: 600; font-size: .9rem; border-bottom: 3px solid var(--yellow); margin-top: -6px; }
.rv-feature .rv-more { color: #fff; }
.rv-foot { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); margin-top: auto; }
.rv-feature .rv-foot { border-color: rgba(255,255,255,.14); }
.rv-av { position: relative; width: 48px; height: 48px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; overflow: hidden; flex: none; }
.rv-av b { font-family: var(--f-head); font-weight: 700; font-size: .95rem; color: var(--ink); }
.rv-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rv-who { min-width: 0; line-height: 1.3; }
.rv-who b { display: block; font-family: var(--f-head); font-size: 1rem; }
.rv-who small { color: var(--muted); font-size: .84rem; }
.rv-feature .rv-who small { color: #b8b5ad; }
.rv-foot .rv-site, .rv-site { align-self: center; font-family: var(--f-head); font-weight: 600; font-size: .86rem; text-decoration: none; white-space: nowrap; padding: 7px 12px; border-radius: 10px; background: var(--soft); transition: background .2s; }
.rv-site:hover { background: var(--yellow); }
.rv-feature .rv-site { background: rgba(255,255,255,.1); color: #fff; }
.rv-feature .rv-site:hover { background: var(--yellow); color: var(--ink); }
.rv-project { display: grid; grid-template-columns: 1fr auto; align-items: center; background: var(--soft); box-shadow: none; }
.rv-project .rv-top { gap: 14px; }
.rv-pending { color: var(--muted); font-size: .92rem; grid-column: 1; }
.rv-project .rv-site { grid-column: 2; grid-row: 1 / span 2; background: #fff; }
@media (max-width: 960px) { .reviews { grid-template-columns: 1fr 1fr; } .rv, .rv-feature, .reviews .rv:nth-child(n) { grid-column: span 2; grid-row: auto; } }
@media (max-width: 560px) { .rv-foot { grid-template-columns: auto 1fr; } .rv-foot .rv-site { grid-column: 1 / -1; justify-self: start; } .rv-project { grid-template-columns: 1fr; } .rv-project .rv-site { grid-column: 1; grid-row: auto; justify-self: start; } }

/* ---------- timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 4px; border-radius: 4px; background: var(--line); }
.timeline::after { content: ""; position: absolute; left: 0; top: 22px; height: 4px; border-radius: 4px; background: var(--yellow); width: var(--fill, 0%); transition: width 1.8s cubic-bezier(.2,.8,.2,1); }
.timeline li { position: relative; z-index: 1; padding: 0 22px 0 0; display: grid; gap: 10px; align-content: start; }
.timeline .hr { justify-self: start; font-family: var(--f-head); font-weight: 700; font-size: .9rem; background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 10px 16px; line-height: 1; }
.timeline .is-goal .hr { background: var(--yellow); border-color: var(--yellow); }
.timeline h3 { font-size: 1.3rem; margin-top: 8px; }
.timeline p { color: var(--muted); font-size: .95rem; }
.after { margin-top: clamp(40px, 5vw, 60px); display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; padding: 22px; border-radius: var(--r); background: var(--soft); }
.after-step { display: flex; align-items: center; gap: 12px; font-size: .95rem; max-width: 300px; }
.after-step .n { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--yellow); display: grid; place-items: center; font-family: var(--f-head); font-weight: 700; flex: none; }
.after-arrow { width: 40px; color: var(--muted); flex: none; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 26px; padding-left: 30px; }
  .timeline::before, .timeline::after { left: 8px; top: 0; bottom: 0; width: 4px; height: auto; }
  .timeline::after { height: var(--fill, 0%); bottom: auto; }
  .timeline li { padding: 0; }
  .after { flex-direction: column; align-items: flex-start; }
  .after-arrow { transform: rotate(90deg); margin-left: 4px; }
}

/* ---------- why ---------- */
.why-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: end; }
.why-head .sec-head { margin-bottom: 0; }
.why-presenter { width: 100%; height: auto; max-width: 520px; justify-self: end; margin-bottom: -2px; }
.compare { margin: 0 0 clamp(36px, 5vw, 56px); border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.cmp-row { display: grid; grid-template-columns: 160px 1fr 1fr; }
.cmp-row > span { padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.cmp-row:last-child > span { border-bottom: 0; }
.cmp-row > span:first-child { font-family: var(--f-head); font-weight: 600; }
.cmp-row > span:nth-child(2) { color: var(--muted); }
.cmp-row .us { background: var(--yellow-soft); font-weight: 600; }
.cmp-head > span { font-family: var(--f-head); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.cmp-head .us { background: var(--yellow); }
@media (max-width: 760px) {
  .why-head { grid-template-columns: 1fr; }
  .why-presenter { justify-self: center; }
  .cmp-row { grid-template-columns: 1fr 1fr; }
  .cmp-row > span:first-child { grid-column: 1 / -1; padding-bottom: 4px; border-bottom: 0; background: var(--soft); }
  .cmp-head > span:first-child { display: none; }
}
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why { padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; transition: transform .3s, box-shadow .3s; }
.why:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: var(--yellow); display: grid; place-items: center; }
.why-ico svg { width: 24px; height: 24px; }
.why h3 { font-size: 1.2rem; margin-top: 6px; }
.why p { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- the science (light) ---------- */
.science { background: #fffbec; color: var(--ink); position: relative; overflow: hidden; }
.science::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(17,17,17,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(17,17,17,.045) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.science .wrap { position: relative; }
.science h2, .science h3 { color: var(--ink); }
.science .sec-head p { color: #55524b; }
.science .sec-head { gap: 22px; }
.sci-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 60px); align-items: center; margin-bottom: clamp(40px, 5vw, 64px); }
.sci-head .sec-head { margin-bottom: 0; }
.pick { background: #fff; border: 1px solid #ece8da; border-radius: var(--r); padding: clamp(18px, 3vw, 28px); display: grid; gap: 16px; box-shadow: 0 18px 40px -24px rgba(17,17,17,.25); }
.pick-q { font-family: var(--f-head); font-weight: 600; font-size: 1.15rem; }
.pick-q b { background: var(--yellow); padding: 0 .2em; border-radius: 4px; }
.pick-opts { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 8px; align-items: end; }
.pick-opts button { position: relative; display: grid; gap: 2px; text-align: left; padding: 14px 12px; border-radius: 14px; border: 1.5px solid #e4e0d3; background: #fff; color: var(--ink); transition: transform .2s, border-color .2s, background .2s; min-width: 0; }
.pick-opts button:hover { border-color: #b9b4a4; transform: translateY(-2px); }
.pick-opts small { font-size: .74rem; color: #77736a; font-weight: 600; }
.pick-opts b { font-family: var(--f-head); font-size: 1.5rem; line-height: 1.1; }
.pick-opts span { font-size: .76rem; color: #55524b; line-height: 1.3; }
.pick-rec { padding-top: 26px !important; border-color: var(--yellow) !important; background: #fff6d6 !important; box-shadow: 0 10px 24px -14px rgba(253,192,11,.9); }
.pick-rec em { position: absolute; top: -10px; left: 12px; font-style: normal; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--yellow); color: var(--ink); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.pick-opts button[aria-pressed="true"] { background: var(--yellow) !important; color: var(--ink); border-color: var(--yellow) !important; }
.pick-opts button[aria-pressed="true"] small, .pick-opts button[aria-pressed="true"] span { color: #3a2f00; }
.pick-opts button[aria-pressed="true"] em { background: var(--ink); color: var(--yellow); }
.pick-a { font-size: .94rem; color: #55524b; min-height: 3.2em; line-height: 1.55; }
.pick-a b { color: var(--ink); box-shadow: inset 0 -.45em 0 rgba(253,192,11,.55); }
.sci-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sci { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid #ece8da; transition: border-color .3s, transform .3s, box-shadow .3s; min-width: 0; }
.sci:hover { border-color: var(--yellow); transform: translateY(-4px); box-shadow: 0 20px 40px -26px rgba(17,17,17,.3); }
.sci-fig { margin: -6px -6px 4px; aspect-ratio: 1.9; border-radius: 14px; background: #f5f5f4; border: 1px solid #efece3; overflow: hidden; }
.sci-fig img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.sci:hover .sci-fig img { transform: scale(1.05); }
.sci-fig.empty { display: none; }
.sci-name { align-self: flex-start; font-family: var(--f-head); font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: var(--yellow); padding: 4px 10px; border-radius: 6px; }
.sci h3 { font-size: 1.12rem; line-height: 1.2; margin-top: 4px; }
.sci p { font-size: .9rem; color: #5d5a52; }
.sci-where { margin-top: auto !important; padding-top: 12px; border-top: 1px dashed #e2ddcd; color: var(--ink) !important; font-size: .84rem !important; }
.sci-where b { color: #9a6f00; }
.sci-note { margin-top: clamp(28px, 4vw, 40px); max-width: 70ch; color: #55524b; font-size: .92rem; padding-left: 16px; border-left: 3px solid var(--yellow); }
@media (max-width: 1040px) { .sci-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .sci-head { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .sci-grid { grid-template-columns: 1fr; }
  .pick { gap: 12px; padding: 16px 14px; }
  .pick-q { font-size: 1rem; }
  .pick-opts { grid-template-columns: 1fr 1.12fr 1fr; gap: 6px; }
  .pick-opts button { padding: 10px 8px; border-radius: 12px; gap: 1px; }
  .pick-rec { padding-top: 20px !important; }
  .pick-rec em { font-size: .56rem; padding: 2px 6px; left: 50%; transform: translateX(-50%); top: -9px; }
  .pick-opts small { font-size: .62rem; line-height: 1.2; }
  .pick-opts b { font-size: 1.12rem; }
  .pick-opts span { font-size: .64rem; }
  .pick-a { font-size: .86rem; min-height: 2.8em; }
}

/* ---------- dashboard ---------- */
.dash-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.dash-copy { display: grid; gap: 18px; min-width: 0; position: relative; }
.dash-copy h2 { font-size: var(--step-3); }
.dash-copy > p { color: var(--muted); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 6px; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; flex: none; }
.dash-presenter { position: absolute; right: -40px; bottom: -40px; width: 46%; max-width: 250px; height: auto; pointer-events: none; filter: drop-shadow(0 20px 24px rgba(0,0,0,.15)); }
.dash-copy { padding-bottom: 20px; }
.dash-copy .ticks { max-width: 62%; }
.dash-ui { border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; min-width: 0; }
.dui-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.dui-top img { width: 84px; height: auto; }
.dui-badge { font-size: .74rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--yellow-soft); color: #7a5b00; }
.dui-body { display: grid; grid-template-columns: 170px 1fr; min-height: 380px; }
.dui-side { display: grid; align-content: start; gap: 4px; padding: 14px; background: var(--soft); border-right: 1px solid var(--line); }
.dui-side button { border: 0; background: transparent; text-align: left; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: .9rem; color: var(--muted); }
.dui-side button.on { background: var(--ink); color: #fff; }
.dui-main { padding: 18px; min-width: 0; }
.dui-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.dui-head b { font-family: var(--f-head); font-size: 1.15rem; }
.dui-add { font-size: .82rem; font-weight: 700; background: var(--yellow); padding: 7px 12px; border-radius: 9px; }
.dui-muted { font-size: .82rem; color: var(--muted); }
.dui-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dui-list li { display: grid; grid-template-columns: 44px 1fr auto auto; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; border: 1px solid var(--line); transition: opacity .3s; }
.dui-list li.off { opacity: .5; }
.dui-list img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.dui-list b { display: block; font-size: .92rem; line-height: 1.2; }
.dui-list small { color: var(--muted); font-size: .78rem; }
.dui-price { font-family: var(--f-head); font-weight: 600; font-size: .85rem; font-variant-numeric: tabular-nums; background: var(--soft); border-radius: 8px; padding: 5px 8px; border: 1.5px dashed transparent; min-width: 0; }
.dui-price:hover, .dui-price:focus { border-color: var(--yellow-deep); outline: none; background: #fff; }
.switch { width: 40px; height: 24px; border-radius: 999px; background: var(--line); border: 0; position: relative; transition: background .25s; flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .25s; }
.switch[aria-checked="true"] { background: var(--ink); }
.switch[aria-checked="true"]::after { transform: translateX(16px); background: var(--yellow); }
.dui-enq { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dui-enq li { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; border: 1px solid var(--line); }
.av { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--yellow); display: grid; place-items: center; font-weight: 700; }
.dui-enq b { display: block; font-size: .92rem; }
.dui-enq small { color: var(--muted); font-size: .8rem; }
.pill { font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); }
.pill.new { background: var(--yellow); color: var(--ink); }
.dui-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dui-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.dui-drop { grid-column: 1 / -1; border: 2px dashed var(--line); border-radius: 12px; padding: 22px; text-align: center; color: var(--muted); font-size: .9rem; }
@media (max-width: 960px) { .dash-grid { grid-template-columns: 1fr; } .dash-presenter { display: none; } .dash-copy .ticks { max-width: none; } }
@media (max-width: 560px) { .dui-body { grid-template-columns: 1fr; } .dui-side { grid-auto-flow: column; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); } .dui-list li { grid-template-columns: 40px 1fr auto; } .dui-price { display: none; } }

/* ---------- offer ---------- */
.offer-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 20px; max-width: 920px; margin-inline: auto; align-items: stretch; }
.offer { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r); background: #fff; border: 1.5px solid var(--line); }
.offer-main { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.offer-main::before { content: "t"; position: absolute; right: -10px; top: -60px; font-family: var(--f-head); font-weight: 800; font-size: 16rem; line-height: 1; color: rgba(253,192,11,.12); pointer-events: none; }
.offer-step { font-family: var(--f-head); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.offer-main .offer-step { color: var(--yellow); }
.offer h3 { font-size: 1.8rem; }
.offer-main h3 { color: #fff; }
.price { font-family: var(--f-head); font-weight: 800; font-size: 2.6rem; line-height: 1; letter-spacing: -.02em; }
.offer-main .price { font-size: 2rem; color: var(--yellow); }
.offer-sub { color: var(--muted); font-size: .92rem; margin-top: -6px; }
.offer-main .offer-sub { color: #b8b5ad; }
.offer .ticks { margin: 6px 0 10px; }
.offer-main .ticks li { color: #eee; }
.offer .btn { margin-top: auto; }
@media (max-width: 760px) { .offer-grid { grid-template-columns: 1fr; } }

/* ---------- hotels ---------- */
.hotel-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.hotel-presenter { width: 100%; max-width: 360px; height: auto; justify-self: center; filter: drop-shadow(0 30px 30px rgba(0,0,0,.12)); }
.hotel-copy { display: grid; gap: 18px; justify-items: start; }
.hotel-copy h2 { font-size: var(--step-3); }
.hotel-copy p { color: var(--muted); max-width: 56ch; }
@media (max-width: 820px) { .hotel-grid { grid-template-columns: 1fr; } .hotel-presenter { max-width: 260px; } }

/* ---------- faq ---------- */
.faq-wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: 16px; border: 1px solid var(--line); padding: 0 20px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-family: var(--f-head); font-weight: 600; font-size: 1.08rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-size: 1.2rem; flex: none; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--ink-2); max-width: 64ch; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

/* ---------- start ---------- */
.start { padding-top: clamp(80px, 10vw, 130px); }
.start-card { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: 20px; align-items: end; background: var(--yellow); border-radius: 32px; padding: clamp(26px, 5vw, 60px); padding-bottom: 0; }
.start-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: linear-gradient(rgba(0,0,0,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.06) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; }
.start-copy { position: relative; display: grid; gap: 16px; padding-bottom: clamp(26px, 5vw, 60px); min-width: 0; }
.kicker.dark::before { background: var(--ink); }
.start-copy h2 { font-size: var(--step-3); }
.start-copy > p { color: #3d3200; max-width: 52ch; }
.start-form { display: grid; gap: 16px; background: #fff; border-radius: 22px; padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow); margin-top: 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.start-presenter { position: relative; width: 100%; max-width: 360px; height: auto; justify-self: center; margin-top: -120px; }
@media (max-width: 880px) { .start-card { grid-template-columns: minmax(0, 1fr); } .start-presenter { max-width: 240px; margin-top: 0; } }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { padding-block: 56px 96px; }
.foot { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; }
.foot-brand { display: grid; gap: 10px; }
.foot-brand img { width: 160px; height: auto; }
.foot-brand p { color: var(--muted); font-size: .95rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink-2); }
.foot-links a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.foot-base { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.foot-base a { text-decoration: none; font-weight: 600; color: var(--ink); }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }

/* ---------- floating ---------- */
.fab-wa { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -12px rgba(37,211,102,.8); transition: transform .25s; }
.fab-wa:hover { transform: scale(1.06); }
.fab-wa svg { width: 28px; height: 28px; }
.toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 16px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 12px; font-size: .9rem; opacity: 0; pointer-events: none; transition: .3s; z-index: 90; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { transform: translateY(18px); transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.reveal.in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { transform: none; }
}
