/* ==========================================================================
   Vayura Digital — Classic theme
   Ivory paper, deep plum, wine accent and antique gold.
   Playfair Display (headings) + Source Sans 3 (body).
   ========================================================================== */

:root {
  --plum: #2B1840;
  --plum-2: #3D2456;
  --plum-3: #1C0F2B;
  --wine: #8E1F55;
  --wine-d: #6E1641;
  --gold: #B08D57;
  --gold-d: #8A6A3A;
  --gold-l: #EADFCB;
  --paper: #FBF8F3;
  --paper-2: #F4EEE4;
  --white: #FFFFFF;
  --ink: #221B2B;
  --muted: #5E5767;
  --line: #E4DCCF;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1200px;
  --shadow: 0 1px 2px rgba(43, 24, 64, .06), 0 8px 24px rgba(43, 24, 64, .07);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--wine); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--wine-d); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; color: var(--plum); letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(34px, 4.6vw, 56px); }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--plum); color: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; }
.ico { flex: none; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 600 13.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  padding: 16px 28px; border: 1px solid transparent; border-radius: 2px;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn-wine { background: var(--wine); color: #fff; }
.btn-wine:hover { background: var(--wine-d); color: #fff; }
.btn-plum { background: var(--plum); color: #fff; }
.btn-plum:hover { background: var(--plum-3); color: #fff; }
.btn-gold { background: var(--gold); color: var(--plum-3); }
.btn-gold:hover { background: #C29E66; color: var(--plum-3); }
.btn-outline { border-color: var(--plum); color: var(--plum); background: transparent; }
.btn-outline:hover { background: var(--plum); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--plum); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--wine); }
.link-arrow .ico { transition: transform .2s; }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ── Section scaffolding ─────────────────────────────────── */
.sec { padding-block: clamp(64px, 8vw, 104px); }
.sec-alt { background: var(--paper-2); }
.sec-white { background: var(--white); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 56px); }
.sec-head p { color: var(--muted); font-size: 18px; }
.kicker {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 14px;
  font: 600 12.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-d);
}
.sec-head .kicker::before, .sec-head .kicker::after { content: ""; width: 34px; height: 1px; background: var(--gold); }
.kicker-left::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.kicker-light { color: var(--gold); }
.ornament { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 6px 0 22px; color: var(--gold); }
.ornament::before, .ornament::after { content: ""; width: 56px; height: 1px; background: currentColor; }
.ornament i { width: 7px; height: 7px; background: currentColor; transform: rotate(45deg); }
.ornament.left { justify-content: flex-start; }
.ornament.left::before { display: none; }
.lead { font-size: 19px; color: var(--muted); }

/* ── Top bar & header ───────────────────────────────────── */
.topbar { background: var(--plum-3); color: rgba(255,255,255,.82); font-size: 14px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; flex-wrap: wrap; padding-block: 9px; }
.tb-info { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.tb-info a, .tb-info span { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.tb-info a:hover { color: #fff; }
.tb-info .ico { color: var(--gold); }
.tb-social { display: flex; gap: 6px; }
.tb-social a { display: grid; place-items: center; width: 28px; height: 28px; color: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.14); border-radius: 50%; }
.tb-social a:hover { color: var(--plum-3); background: var(--gold); border-color: var(--gold); }

.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-bottom: 1px solid var(--line); pointer-events: none; }
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--plum); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font: 700 25px/1 var(--serif); letter-spacing: .01em; }
.brand-name em { font-style: italic; font-weight: 500; color: var(--wine); }
.brand-sub { font: 600 10.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-d); margin-top: 6px; }
.brand-light { color: #fff; }
.brand-light .brand-name em { color: var(--gold); }
.brand-light .brand-sub { color: rgba(255,255,255,.6); }

.primary > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.primary a { display: block; padding: 10px 13px; font: 600 14px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); text-decoration: none; position: relative; }
.primary > ul > li > a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.primary > ul > li > a:hover::after, .primary > ul > li > a[aria-current]::after { transform: scaleX(1); }
.primary a[aria-current] { color: var(--wine); }
.primary .nav-cta { margin-left: 10px; }
.primary .nav-cta .btn { padding: 13px 18px; color: #fff; font-size: 12.5px; }
.primary .nav-cta .btn::after { display: none; }
.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle { background: none; border: 0; padding: 6px; margin-left: -10px; color: var(--muted); cursor: pointer; }
.sub { list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: 0; min-width: 300px; background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--gold); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: flex; align-items: center; gap: 12px; text-transform: none; letter-spacing: 0; font-size: 15.5px; font-weight: 400; padding: 10px 20px; }
.sub a .ico { color: var(--gold-d); }
.sub a:hover { background: var(--paper); color: var(--wine); }
.menu-btn { display: none; align-items: center; gap: 8px; background: none; border: 1px solid var(--line); padding: 9px 14px; font: 600 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--plum); cursor: pointer; }

/* ── Hero ───────────────────────────────────────────────── */
.hero { position: relative; background: var(--plum) url('../img/stock/hero-desk.jpg') center/cover no-repeat; color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--plum-3) 0%, rgba(28,15,43,.94) 32%, rgba(28,15,43,.74) 52%, rgba(28,15,43,.42) 75%); }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 30%, rgba(142,31,85,.45), transparent 60%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(64px, 9vw, 120px); }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--gold); }
.hero .lead { color: rgba(255,255,255,.82); max-width: 34em; margin-bottom: 34px; }
.hero .kicker { color: var(--gold); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); font-size: 15px; color: rgba(255,255,255,.78); }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .ico { color: var(--gold); }

.frame { position: relative; background: var(--paper); color: var(--ink); padding: 38px 34px; outline: 1px solid var(--gold); outline-offset: 10px; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.frame h2 { font-size: 22px; text-align: center; margin-bottom: 4px; }
.frame .ornament { margin-bottom: 18px; }
.frame-stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.frame-stats div { padding: 18px 10px; text-align: center; border-bottom: 1px solid var(--line); }
.frame-stats div:nth-child(odd) { border-right: 1px solid var(--line); }
.frame-stats strong { display: block; font: 600 34px/1.1 var(--serif); color: var(--wine); font-variant-numeric: lining-nums tabular-nums; }
.frame-stats span { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.frame-foot { margin: 18px 0 0; text-align: center; font: italic 500 17px/1.5 var(--serif); color: var(--plum-2); }

/* ── Animated stats band (count-up numbers) ────────────── */
.counter-band { position: relative; background: var(--plum); color: #fff; overflow: hidden; }
.counter-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 15% 15%, rgba(142,31,85,.55), transparent 55%), radial-gradient(ellipse at 85% 85%, rgba(176,141,87,.18), transparent 55%); }
.counter-band .wrap { position: relative; }
.counter-band .sec-head { text-align: center; margin-bottom: 44px; }
.counter-band .sec-head h2 { color: #fff; }
.counter-band .kicker { color: var(--gold); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat-item { text-align: center; padding: 28px 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 4px; transition: transform .3s ease, background .3s ease, opacity .7s ease; }
.stat-item:hover { transform: translateY(-6px); background: rgba(255,255,255,.08); }
.stat-ico { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin: 0 0 14px; border-radius: 50%; background: rgba(176,141,87,.15); color: var(--gold); }
.stat-num { display: block; font: 600 42px/1.1 var(--serif); color: #fff; font-variant-numeric: lining-nums tabular-nums; }
.stat-label { display: block; margin-top: 6px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.72); }
@media (max-width: 760px) { .stat-grid { grid-template-columns: 1fr 1fr; } .stat-num { font-size: 34px; } }

/* ── Industries we serve ─────────────────────────────────── */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ind-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 30px 24px; text-align: center; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.ind-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(43,24,64,.1); border-color: var(--gold); }
.ind-ico { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin-bottom: 16px; border-radius: 50%; background: var(--paper-2); color: var(--wine); }
.ind-card h3 { font-size: 18px; margin-bottom: 8px; }
.ind-card p { margin: 0; font-size: 14.5px; color: var(--muted); }
@media (max-width: 980px) { .ind-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .ind-grid { grid-template-columns: 1fr; } }

/* ── Page hero (inner pages) ────────────────────────────── */
.page-hero { position: relative; background: var(--plum); color: #fff; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 85% 20%, rgba(142,31,85,.5), transparent 55%), repeating-linear-gradient(135deg, rgba(176,141,87,.06) 0 1px, transparent 1px 22px); }
.page-hero .wrap { position: relative; padding-block: clamp(52px, 7vw, 92px); text-align: center; }
.page-hero h1 { color: #fff; max-width: 900px; margin-inline: auto; }
.page-hero .lead { color: rgba(255,255,255,.8); max-width: 720px; margin: 0 auto; }
.page-hero .kicker { color: var(--gold); }
.page-hero .ornament { color: var(--gold); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; margin: 0 0 18px; padding: 0; font-size: 14px; color: rgba(255,255,255,.7); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--gold); }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* ── Feature row ────────────────────────────────────────── */
.features { position: relative; z-index: 2; margin-top: -56px; }
.f-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.f-item { padding: 34px 30px; display: flex; gap: 18px; }
.f-item + .f-item { border-left: 1px solid var(--line); }
.f-ico { flex: none; width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--wine); border-radius: 50%; }
.f-item h3 { font-size: 20px; margin-bottom: 6px; }
.f-item p { margin: 0; color: var(--muted); font-size: 16px; }

/* ── Two-column split ───────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split > * { min-width: 0; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .ico { color: var(--gold-d); margin-top: 3px; }
.checks.one { grid-template-columns: 1fr; }

.portrait { position: relative; padding: 0 22px 22px 0; }
.portrait::before { content: ""; position: absolute; right: 0; bottom: 0; top: 22px; left: 22px; border: 1px solid var(--gold); }
.portrait-inner { position: relative; background: var(--plum) url('../img/stock/about-team.jpg') center/cover no-repeat; color: #fff; padding: clamp(32px, 4vw, 48px); isolation: isolate; }
.portrait-inner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(43,24,64,.88), rgba(43,24,64,.96)); }
.portrait-inner blockquote { margin: 0; font: italic 500 clamp(22px, 2.4vw, 28px)/1.45 var(--serif); }
.portrait-inner cite { display: block; margin-top: 18px; font: 600 13px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; font-style: normal; color: var(--gold); }
.portrait-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; border-top: 1px solid rgba(255,255,255,.18); }
.portrait-stats div { padding-top: 18px; }
.portrait-stats strong { display: block; font: 600 30px/1.1 var(--serif); color: var(--gold); }
.portrait-stats span { font-size: 13.5px; color: rgba(255,255,255,.75); }

/* ── Framed photo (reusable, matches .portrait gold-outline style) ─ */
.img-frame { position: relative; padding: 0 18px 18px 0; aspect-ratio: 4/3; }
.img-frame::before { content: ""; position: absolute; right: 0; bottom: 0; top: 18px; left: 18px; border: 1px solid var(--gold); z-index: 0; }
.img-frame img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; box-shadow: 0 20px 44px rgba(0,0,0,.18); }

/* ── Audit band ─────────────────────────────────────────── */
.audit-band { background: var(--wine); color: #fff; position: relative; overflow: hidden; }
.audit-band::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(234,223,203,.35); pointer-events: none; }
.audit-band .wrap { position: relative; padding-block: clamp(52px, 6vw, 76px); text-align: center; }
.audit-band h2 { color: #fff; }
.audit-band p { color: rgba(255,255,255,.85); max-width: 640px; margin: 0 auto 28px; }
.inline-form { display: flex; max-width: 720px; margin: 0 auto; background: #fff; padding: 6px; gap: 6px; }
.inline-form input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; padding: 12px 16px; color: var(--ink); }
.inline-form input + input { border-left: 1px solid var(--line); }
.inline-form .btn { flex: none; }

/* ── Service cards ──────────────────────────────────────── */
.s-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--white); }
.s-card { position: relative; padding: 38px 28px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; transition: background .25s; }
.s-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.s-card:hover { background: var(--paper); }
.s-card:hover::before { transform: scaleX(1); }
.s-num { font: italic 500 15px/1 var(--serif); color: var(--gold-d); margin-bottom: 18px; }
.s-card .s-ico { color: var(--wine); margin-bottom: 18px; }
.s-card h3 { font-size: 21px; }
.s-card h3 a { color: inherit; text-decoration: none; }
.s-card h3 a::after { content: ""; position: absolute; inset: 0; }
.s-card p { color: var(--muted); font-size: 16px; flex: 1; }
.s-card .link-arrow { position: relative; }

/* ── Why / numbered list ────────────────────────────────── */
.num-list { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.num-list li { counter-increment: n; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.num-list li:first-child { border-top: 1px solid var(--line); }
.num-list li::before { content: counter(n, upper-roman) "."; font: italic 500 26px/1 var(--serif); color: var(--gold-d); padding-top: 4px; }
.num-list h3 { font-size: 19px; margin-bottom: 4px; }
.num-list p { margin: 0; color: var(--muted); font-size: 16px; }

/* ── Process timeline ───────────────────────────────────── */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; top: 33px; left: 10%; right: 10%; height: 1px; background: var(--gold); }
.timeline li { text-align: center; padding: 0 14px; position: relative; }
.t-num { width: 66px; height: 66px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--gold); font: italic 600 22px/1 var(--serif); color: var(--wine); position: relative; box-shadow: 0 0 0 8px var(--paper-2); }
.sec-white .t-num { background: var(--white); box-shadow: 0 0 0 8px var(--white); }
.timeline h3 { font-size: 19px; margin-bottom: 6px; }
.timeline p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* ── Tabs ───────────────────────────────────────────────── */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 44px; }
.tab { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 14px 20px; font: 600 14px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.tab[aria-selected="true"] { color: var(--wine); border-bottom-color: var(--wine); }
.tab .ico { color: var(--gold-d); }
.tab-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.tab-panel[hidden] { display: none; }
.tab-art { aspect-ratio: 4/3; background: var(--plum); display: grid; place-items: center; color: var(--gold); outline: 1px solid var(--gold); outline-offset: -14px; position: relative; overflow: hidden; }
.tab-art::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(176,141,87,.07) 0 1px, transparent 1px 18px); }
.tab-art .ico { width: 34%; height: auto; position: relative; stroke-width: .8; }
.tab-panel h3 { font-size: clamp(24px, 2.6vw, 32px); }

/* ── Cases ──────────────────────────────────────────────── */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter { background: transparent; border: 1px solid var(--line); padding: 10px 18px; font: 600 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.filter[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: #fff; }
.c-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .25s; }
.case:hover { box-shadow: var(--shadow); }
.case-art { aspect-ratio: 16/10; background: var(--plum); display: grid; place-items: center; color: var(--gold); position: relative; overflow: hidden; }
.case-art::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(176,141,87,.5); }
.case-art .ico { width: 64px; height: 64px; stroke-width: 1.1; }
.case-body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.case-tag { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-d); font-weight: 600; margin-bottom: 8px; }
.case h3 { font-size: 20px; }
.case p { color: var(--muted); font-size: 16px; margin: 0; }

/* ── Testimonials ───────────────────────────────────────── */
.testi { background: var(--plum); color: #fff; position: relative; overflow: hidden; }
.testi::before { content: "\201C"; position: absolute; left: 50%; top: -110px; transform: translateX(-50%); font: 400 360px/1 var(--serif); color: rgba(176,141,87,.10); }
.testi .wrap { position: relative; text-align: center; padding-block: clamp(64px, 8vw, 100px); max-width: 900px; }
.testi h2 { color: #fff; }
.testi .kicker { color: var(--gold); }
.quote-text { font: italic 500 clamp(21px, 2.4vw, 27px)/1.55 var(--serif); margin: 10px auto 26px; min-height: 5.5em; }
.quote-who strong { display: block; font: 600 15px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.quote-who span { font-size: 15px; color: rgba(255,255,255,.72); }
.sample-tag { display: inline-block; margin-top: 14px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; border: 1px dashed rgba(255,255,255,.4); padding: 4px 12px; color: rgba(255,255,255,.7); }
.dots { display: flex; gap: 10px; justify-content: center; margin-top: 28px; }
.dots button { width: 10px; height: 10px; padding: 0; border: 1px solid var(--gold); background: transparent; transform: rotate(45deg); cursor: pointer; }
.dots button[aria-current="true"] { background: var(--gold); }

/* ── Blog cards ─────────────────────────────────────────── */
.b-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.b-card { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; position: relative; }
.b-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.b-media { display: block; aspect-ratio: 8/5; overflow: hidden; background: var(--plum); }
.b-media .cover, .b-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.b-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.b-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.b-cat { font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); text-decoration: none; position: relative; z-index: 1; }
.b-cat:hover { color: var(--wine); }
.b-card :is(h2, h3) { font-size: 21px; line-height: 1.3; }
.b-card :is(h2, h3) a { color: var(--plum); text-decoration: none; }
.b-card :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; }
.b-card :is(h2, h3) a:hover { color: var(--wine); }
.b-card p { color: var(--muted); font-size: 16px; flex: 1; }
.b-card .link-arrow { margin-top: 6px; }
.b-feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; }
.b-feature .b-media { aspect-ratio: auto; min-height: 320px; }
.b-feature .b-body { padding: clamp(28px, 4vw, 48px); justify-content: center; }
.b-feature :is(h2, h3) { font-size: clamp(24px, 2.6vw, 32px); }

/* ── Blog listing layout ────────────────────────────────── */
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 4vw, 56px); align-items: start; }
.blog-layout .b-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
.sidebar { display: grid; gap: 28px; position: sticky; top: 110px; }
.widget { background: var(--white); border: 1px solid var(--line); padding: 26px; }
.widget h2 { font-size: 20px; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--line); position: relative; }
.widget h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 48px; height: 2px; background: var(--gold); }
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list a { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); color: var(--ink); text-decoration: none; font-size: 16px; }
.cat-list li:last-child a { border-bottom: 0; }
.cat-list a:hover, .cat-list a[aria-current] { color: var(--wine); }
.cat-list a[aria-current] { font-weight: 700; }
.cat-list span { color: var(--muted); font-size: 14px; }
.mini-post { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); text-decoration: none; }
.mini-post:last-child { border-bottom: 0; padding-bottom: 0; }
.mini-post .cover, .mini-post img { width: 72px; height: 54px; object-fit: cover; display: block; }
.mini-post strong { display: block; font: 600 15.5px/1.35 var(--serif); color: var(--plum); }
.mini-post:hover strong { color: var(--wine); }
.mini-post small { color: var(--muted); font-size: 13px; }
.widget-cta { background: var(--plum); color: #fff; border: 0; outline: 1px solid var(--gold); outline-offset: -10px; text-align: center; padding: 34px 28px; }
.widget-cta h2 { color: #fff; border: 0; padding: 0; }
.widget-cta h2::after { display: none; }
.widget-cta p { color: rgba(255,255,255,.8); font-size: 16px; }
.search-form { display: flex; border: 1px solid var(--line); background: var(--white); }
.search-form input { flex: 1; min-width: 0; border: 0; padding: 13px 14px; font: inherit; font-size: 16px; background: transparent; }
.search-form button { border: 0; background: var(--plum); color: #fff; padding: 0 16px; cursor: pointer; }
.result-note { margin: 0 0 24px; color: var(--muted); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a, .tag { display: inline-block; font-size: 13.5px; padding: 5px 12px; border: 1px solid var(--line); color: var(--muted); text-decoration: none; background: var(--white); }
.tag-cloud a:hover { border-color: var(--gold); color: var(--wine); }

.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 48px; list-style: none; padding: 0; }
.pager a, .pager span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; font-weight: 600; }
.pager a:hover { border-color: var(--gold); color: var(--wine); }
.pager [aria-current] { background: var(--plum); border-color: var(--plum); color: #fff; }

/* ── Single post ────────────────────────────────────────── */
.post-hero .wrap { padding-bottom: clamp(48px, 6vw, 72px); }
.post-hero h1 { font-size: clamp(32px, 4.2vw, 50px); }
.post-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: rgba(255,255,255,.78); }
.post-meta span { display: inline-flex; align-items: center; gap: 7px; }
.post-meta .ico { color: var(--gold); }
.post-cat { display: inline-block; margin-bottom: 16px; padding: 6px 14px; border: 1px solid var(--gold); color: var(--gold); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; font-weight: 600; }
.post-cat:hover { background: var(--gold); color: var(--plum-3); }
.post-figure { margin: -40px auto 0; max-width: 1000px; position: relative; z-index: 2; border: 10px solid var(--white); box-shadow: var(--shadow); }
.post-figure .cover, .post-figure img { width: 100%; height: auto; aspect-ratio: 8/5; object-fit: cover; display: block; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.prose { font-size: 18.5px; line-height: 1.8; max-width: 72ch; }
.prose > p:first-of-type::first-letter { float: left; font: 600 4.1em/.82 var(--serif); color: var(--wine); margin: .06em .1em 0 0; }
.prose h2 { font-size: clamp(25px, 2.6vw, 31px); margin: 1.8em 0 .6em; scroll-margin-top: 110px; }
.prose h3 { font-size: 22px; margin: 1.5em 0 .5em; scroll-margin-top: 110px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--gold-d); }
.prose blockquote { margin: 1.6em 0; padding: 6px 0 6px 26px; border-left: 3px solid var(--gold); font: italic 500 22px/1.55 var(--serif); color: var(--plum-2); }
.prose strong { color: var(--plum); }
.prose a { color: var(--wine); }
.prose img { margin: 1.5em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.prose th { background: var(--paper-2); font-weight: 600; }
.key-points { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 22px 26px; margin: 0 0 2em; }
.key-points h2 { font-size: 18px; margin: 0 0 10px; letter-spacing: .02em; }
.toc { font-size: 15.5px; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: grid; grid-template-columns: 28px 1fr; padding: 7px 0; color: var(--ink); text-decoration: none; border-bottom: 1px dashed var(--line); }
.toc a::before { content: counter(t, upper-roman) "."; font: italic 500 14px/1.6 var(--serif); color: var(--gold-d); }
.toc a:hover, .toc a.active { color: var(--wine); }
.toc .lvl3 a { padding-left: 16px; font-size: 14.5px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 0; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share-label { font: 600 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.share-btn { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--white); color: var(--plum); cursor: pointer; transition: .2s; }
.share-btn:hover { color: #fff; }
.s-facebook:hover { background: #1877F2; border-color: #1877F2; }
.s-x:hover { background: #000; border-color: #000; }
.s-linkedin:hover { background: #0A66C2; border-color: #0A66C2; }
.s-whatsapp:hover { background: #25D366; border-color: #25D366; }
.s-email:hover, .s-copy:hover { background: var(--plum); border-color: var(--plum); }
.s-copy.copied { background: var(--gold); border-color: var(--gold); color: var(--plum-3); }
.share-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding: 22px 0; margin-top: 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.author-box { display: grid; grid-template-columns: 72px 1fr; gap: 20px; margin-top: 40px; padding: 28px; background: var(--white); border: 1px solid var(--line); }
.author-av { width: 72px; height: 72px; border-radius: 50%; background: var(--plum); color: var(--gold); display: grid; place-items: center; font: italic 600 26px/1 var(--serif); outline: 1px solid var(--gold); outline-offset: 3px; }
.author-box h2 { font-size: 20px; margin-bottom: 4px; }
.author-box p { margin: 0; color: var(--muted); font-size: 16px; }
.faq { margin-top: 48px; }
.faq h2 { margin-bottom: 18px; }
details.qa { border-bottom: 1px solid var(--line); }
details.qa:first-of-type { border-top: 1px solid var(--line); }
details.qa summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 18px; padding: 18px 0; font: 600 19px/1.4 var(--serif); color: var(--plum); }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; font: 400 26px/1 var(--sans); color: var(--gold-d); transition: transform .2s; }
details.qa[open] summary::after { transform: rotate(45deg); }
details.qa .ans { padding: 0 0 20px; color: var(--muted); }
details.qa .ans p { margin: 0; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.post-nav a { display: block; padding: 20px 22px; border: 1px solid var(--line); background: var(--white); text-decoration: none; color: var(--plum); }
.post-nav a:hover { border-color: var(--gold); }
.post-nav small { display: flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.post-nav strong { font: 600 17px/1.35 var(--serif); }
.post-nav .next { text-align: right; }
.post-nav .next small { justify-content: flex-end; }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--gold); z-index: 60; }

/* ── Service page ───────────────────────────────────────── */
.inc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--white); }
.inc-grid.two { grid-template-columns: repeat(2, 1fr); }
.inc-item { padding: 30px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.inc-item .ico { color: var(--gold-d); margin-bottom: 14px; }
.inc-item h3 { font-size: 19px; }
.inc-item p { color: var(--muted); font-size: 16px; margin: 0; }
.ideal { background: var(--white); border: 1px solid var(--line); padding: 32px; outline: 1px solid var(--line); outline-offset: 6px; }
.ideal h3 { font-size: 22px; }
.svc-nav { list-style: none; margin: 0; padding: 0; }
.svc-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); color: var(--ink); text-decoration: none; }
.svc-nav a[aria-current] { color: var(--wine); font-weight: 700; }
.svc-nav a:hover { color: var(--wine); }
.svc-nav .ico { color: var(--gold-d); }

/* ── Team ───────────────────────────────────────────────── */
.t-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.member { text-align: center; padding: 34px 24px; background: var(--white); border: 1px solid var(--line); }
.m-ph { width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--plum); color: var(--gold); outline: 1px solid var(--gold); outline-offset: 5px; }
.member h3 { font-size: 20px; margin-bottom: 2px; }
.member .role { display: block; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); font-weight: 600; margin-bottom: 10px; }
.member p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* ── Stats band ─────────────────────────────────────────── */
.stats-band { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats div { text-align: center; padding: 38px 16px; }
.stats div + div { border-left: 1px solid var(--line); }
.stats strong { display: block; font: 600 clamp(34px, 4vw, 46px)/1 var(--serif); color: var(--wine); margin-bottom: 8px; }
.stats span { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ── Forms ──────────────────────────────────────────────── */
.form-card { background: var(--white); border: 1px solid var(--line); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f-field { margin-bottom: 18px; }
.f-field label { display: block; font: 600 13px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--plum); margin-bottom: 7px; }
.f-field label small { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.f-field input, .f-field select, .f-field textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--line); background: var(--paper); font: inherit; font-size: 16px; color: var(--ink); border-radius: 0; }
.f-field textarea { min-height: 150px; resize: vertical; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(176,141,87,.18); }
.f-field [aria-invalid="true"] { border-color: #B3261E; }
.f-err { display: block; color: #B3261E; font-size: 14px; margin-top: 5px; }
.notice { padding: 16px 20px; margin-bottom: 22px; border: 1px solid; }
.notice-ok { background: #EEF6EF; border-color: #A8CDB0; color: #1F5130; }
.notice-err { background: #FBEDEC; border-color: #E5B3AE; color: #8A1F17; }
.contact-cards { display: grid; gap: 18px; }
.c-card { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 22px; background: var(--white); border: 1px solid var(--line); }
.c-card .f-ico { width: 52px; height: 52px; }
.c-card h3 { font-size: 18px; margin-bottom: 2px; }
.c-card p, .c-card a { margin: 0; color: var(--muted); font-size: 16px; text-decoration: none; }
.c-card a:hover { color: var(--wine); }
.map-frame { border: 1px solid var(--line); background: var(--paper-2); aspect-ratio: 16/9; width: 100%; }

/* ── Legal / plain content ──────────────────────────────── */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 26px; margin-top: 1.6em; }

/* ── CTA strip & footer ─────────────────────────────────── */
.cta-strip { background: var(--plum-3); color: #fff; border-top: 3px solid var(--gold); }
.cta-strip .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px 40px; padding-block: 52px; }
.cta-strip h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin-bottom: 8px; }
.cta-strip p { margin: 0; color: rgba(255,255,255,.78); }
.cta-strip a:not(.btn) { color: var(--gold); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer { background: var(--plum); color: rgba(255,255,255,.75); font-size: 16px; }
.ft-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1.3fr; gap: 40px; padding-block: 64px 48px; }
.ft-about p { margin: 18px 0; }
.ft-about a:not(.brand) { color: var(--gold); }
.ft-h { font: 600 13px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 6px 0 20px; }
.ft-h-sm { margin-top: 26px; }
.ft-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ft-links a { color: rgba(255,255,255,.78); text-decoration: none; }
.ft-links a:hover { color: #fff; text-decoration: underline; }
.ft-contact { font-style: normal; display: grid; gap: 12px; }
.ft-contact span, .ft-contact a { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,.78); text-decoration: none; }
.ft-contact a:hover { color: #fff; }
.ft-contact .ico { color: var(--gold); margin-top: 4px; }
.ft-social { display: flex; gap: 8px; }
.ft-social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(176,141,87,.5); color: var(--gold); border-radius: 50%; }
.ft-social a:hover { background: var(--gold); color: var(--plum-3); }
.nl { display: flex; border: 1px solid rgba(176,141,87,.6); }
.nl input { flex: 1; min-width: 0; border: 0; background: rgba(255,255,255,.06); color: #fff; padding: 12px 14px; font: inherit; font-size: 15px; }
.nl input::placeholder { color: rgba(255,255,255,.5); }
.nl button { border: 0; background: var(--gold); color: var(--plum-3); padding: 0 16px; font: 600 12.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.ft-note { font-size: 13.5px; margin-top: 8px; color: rgba(255,255,255,.55); }
.ft-bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.ft-bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-block: 20px; }
.ft-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.ft-legal a { color: rgba(255,255,255,.7); text-decoration: none; }
.ft-legal a:hover { color: #fff; }

.wa-float { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.to-top { position: fixed; right: 20px; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 44px; height: 44px; background: var(--plum); color: var(--gold); border: 1px solid var(--gold); cursor: pointer; display: grid; place-items: center; }

/* ── Reveal animation ───────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .s-grid { grid-template-columns: repeat(2, 1fr); }
  .primary a { padding: 10px 9px; font-size: 13px; }
}
@media (max-width: 980px) {
  .menu-btn { display: inline-flex; }
  .primary { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 80px); overflow-y: auto; display: none; }
  .primary.open { display: block; }
  .primary > ul { flex-direction: column; align-items: stretch; padding: 10px clamp(16px, 4vw, 32px) 20px; gap: 0; }
  .primary > ul > li { border-bottom: 1px solid var(--line); }
  .primary > ul > li > a { padding: 15px 0; }
  .primary > ul > li > a::after { display: none; }
  .has-sub { flex-wrap: wrap; justify-content: space-between; }
  .sub-toggle { margin: 0; padding: 12px; }
  .sub { position: static; flex-basis: 100%; min-width: 0; box-shadow: none; border: 0; border-top: 1px dashed var(--line); opacity: 1; visibility: visible; transform: none; display: none; padding: 6px 0; }
  .has-sub.open .sub { display: block; }
  .has-sub:hover .sub { display: none; }
  .has-sub.open:hover .sub { display: block; }
  .sub a { padding: 10px 6px; }
  .primary .nav-cta { margin: 16px 0 0; border: 0; }
  .primary .nav-cta .btn { width: 100%; }
  .hdr { position: relative; }
  .hero .wrap, .split, .tab-panel, .blog-layout, .post-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .f-grid { grid-template-columns: 1fr; }
  .f-item + .f-item { border-left: 0; border-top: 1px solid var(--line); }
  .timeline { grid-template-columns: 1fr; gap: 26px; }
  .timeline::before { left: 33px; right: auto; top: 10px; bottom: 10px; width: 1px; height: auto; }
  .timeline li { display: grid; grid-template-columns: 66px 1fr; gap: 20px; text-align: left; padding: 0; }
  .t-num { margin: 0; }
  .c-grid, .b-grid, .inc-grid { grid-template-columns: 1fr 1fr; }
  .b-feature { grid-template-columns: 1fr; }
  .b-feature .b-media { min-height: 0; aspect-ratio: 8/5; }
  .t-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .post-figure { margin-top: -24px; border-width: 6px; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .tb-hide { display: none !important; }
  .tb-social { display: none; }
  .brand-name { font-size: 21px; }
  .brand-sub { font-size: 9.5px; letter-spacing: .2em; }
  .brand-mark { width: 40px; height: 40px; }
  .menu-btn span { display: none; }
  .s-grid, .c-grid, .b-grid, .blog-layout .b-grid, .inc-grid, .inc-grid.two, .t-grid, .ft-grid, .checks, .f-row, .post-nav { grid-template-columns: 1fr; }
  .inline-form { flex-direction: column; }
  .inline-form input + input { border-left: 0; border-top: 1px solid var(--line); }
  .frame { padding: 28px 20px; outline-offset: 6px; }
  .portrait-stats { grid-template-columns: 1fr 1fr 1fr; }
  .portrait-stats strong { font-size: 24px; }
  .tab { padding: 12px 12px; font-size: 12.5px; }
  .tab .ico { display: none; }
  .prose { font-size: 17.5px; }
  .post-nav .next { text-align: left; }
  .post-nav .next small { justify-content: flex-start; }
  .author-box { grid-template-columns: 1fr; }
  .cta-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .topbar, .site-header, .cta-strip, .site-footer, .sidebar, .share-bar, .post-nav, .wa-float, .to-top { display: none !important; }
  body { background: #fff; }
}

/* ── Device robustness (all phones, tablets, desktops) ───── */
/* Grid/flex children may shrink below their content width, so wide content
   (tables, long words, email addresses) never pushes the page sideways. */
.split > *, .blog-layout > *, .post-layout > *, .b-grid > *, .c-grid > *, .s-grid > *,
.t-grid > *, .inc-grid > *, .ft-grid > *, .f-row > *, .f-grid > *, .hero .wrap > *,
.tab-panel > *, .stats > *, .post-nav > *, .contact-cards > *, .c-card > div, .sidebar > *, .search-form > * { min-width: 0; }
.prose, .ft-contact, .c-card, .ft-about, .widget, .b-body, .author-box { overflow-wrap: anywhere; }
.prose pre { overflow-x: auto; max-width: 100%; }
.prose iframe, .prose video { max-width: 100%; }
/* 16px+ form text stops iOS Safari from zooming in on focus */
input, select, textarea, .nl input, .search-form input, .inline-form input { font-size: 16px; }
details.qa summary { padding-right: 6px; }
details.qa summary::after { flex: none; width: 22px; text-align: center; }
/* Comfortable tap targets on touch screens */
@media (pointer: coarse) {
  .ft-links a, .cat-list a, .toc a, .svc-nav a { padding-block: 10px; }
  .ft-links { gap: 2px; }
  .tb-info a { padding-block: 4px; }
}
/* Very small phones (320–359px) */
@media (max-width: 359px) {
  .wrap { padding-inline: 14px; }
  .brand { gap: 8px; }
  .brand-name { font-size: 19px; }
  .brand-sub { display: none; }
  .btn { padding: 15px 18px; letter-spacing: .08em; }
  .frame-stats strong { font-size: 28px; }
  .tb-info { gap: 4px 14px; font-size: 13px; }
  .share-btn { width: 38px; height: 38px; }
}
/* Phones in landscape: shorter hero and scrollable menu */
@media (max-height: 500px) and (orientation: landscape) {
  .hero .wrap { padding-block: 40px; }
  .site-header { position: relative; }
  .primary { max-height: 70vh; }
}
/* Tablets: keep two-column grids readable between 641px and 980px */
@media (min-width: 641px) and (max-width: 980px) {
  .hero .wrap { gap: 48px; }
  .frame { max-width: 520px; margin-inline: auto; width: 100%; }
}
/* Large screens */
@media (min-width: 1600px) {
  :root { --max: 1320px; }
  body { font-size: 18px; }
}

/* ==========================================================================
   HERO SHOWCASE — animated slides for SEO · SMO · Content · Video
   ========================================================================== */
.hx {
  --acc: #D4AE6E; --acc-2: #8E1F55; --acc-3: #3D2456;
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background: radial-gradient(120% 80% at 70% 10%, #2A1442 0%, #160A24 55%, #0E0618 100%);
}
.hx[data-slide="1"] { --acc: #F08BB4; --acc-2: #C2306E; --acc-3: #5B1E6E; }
.hx[data-slide="2"] { --acc: #9DB6FF; --acc-2: #4B4FC7; --acc-3: #2B1F6B; }
.hx[data-slide="3"] { --acc: #FF9E6B; --acc-2: #D4433B; --acc-3: #4A1640; }

/* Background: drifting aurora blobs, fine grid, cursor spotlight, giant number */
.hx-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; transition: background 1.1s ease; will-change: transform; }
.b1 { width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; left: -12vw; top: -18vw; background: var(--acc-2); animation: drift1 18s ease-in-out infinite alternate; }
.b2 { width: 38vw; height: 38vw; max-width: 600px; max-height: 600px; right: -8vw; top: 10%; background: var(--acc-3); animation: drift2 22s ease-in-out infinite alternate; }
.b3 { width: 26vw; height: 26vw; max-width: 420px; max-height: 420px; left: 38%; bottom: -14vw; background: var(--acc); opacity: .28; animation: drift3 16s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(8vw, 6vw) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-6vw, 8vw) scale(.9); } }
@keyframes drift3 { to { transform: translate(-10vw, -4vw) scale(1.2); } }
.hx-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 75%); }
.hx-spot { position: absolute; width: 520px; height: 520px; left: calc(var(--mx, .6) * 100% - 260px); top: calc(var(--my, .4) * 100% - 260px); background: radial-gradient(circle, rgba(255,255,255,.09), transparent 62%); transition: left .25s ease-out, top .25s ease-out; }
.hx-big { position: absolute; right: -1vw; bottom: 40px; font: 700 clamp(180px, 26vw, 380px)/.8 var(--serif); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.07); }
.hx-big b { position: absolute; right: 0; bottom: 0; opacity: 0; transform: translateY(40px); transition: opacity .8s, transform 1s cubic-bezier(.2,.7,.2,1); font-weight: 700; }
.hx[data-slide="0"] .hx-big b:nth-child(1), .hx[data-slide="1"] .hx-big b:nth-child(2),
.hx[data-slide="2"] .hx-big b:nth-child(3), .hx[data-slide="3"] .hx-big b:nth-child(4) { opacity: 1; transform: none; }

.hx-wrap { position: relative; padding-top: clamp(48px, 7vw, 92px); padding-bottom: 116px; }
.hx-slides { display: grid; }
.hx-slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 4vw, 64px); align-items: center; visibility: hidden; }
.hx-slide.is-active { visibility: visible; }

/* Copy */
.hx-kicker { display: inline-flex; align-items: center; gap: 12px; font: 600 12.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--acc); margin-bottom: 22px; transition: color .8s; }
.hx-num { font: italic 600 15px/1 var(--serif); letter-spacing: 0; }
.hx-line { width: 0; height: 1px; background: currentColor; transition: width .9s .2s cubic-bezier(.2,.7,.2,1); }
.is-active .hx-line { width: 44px; }
.hx-title { color: #fff; font-size: clamp(36px, 5vw, 66px); line-height: 1.06; letter-spacing: -.015em; margin: 0 0 22px; }
.hx-title em { font-style: italic; font-weight: 500; }
.hx-title em .w > span { background: linear-gradient(100deg, var(--acc) 0%, #fff 45%, var(--acc) 90%); background-size: 240% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 7s linear infinite; padding-right: .06em; }
@keyframes shimmer { to { background-position: -220% 0; } }
.hx-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hx-title .w > span { display: inline-block; transform: translateY(105%) rotate(4deg); opacity: 0; filter: blur(6px); transition: transform .9s cubic-bezier(.2,.75,.2,1), opacity .6s, filter .7s; transition-delay: calc(var(--i) * 70ms + 150ms); }
.is-active .hx-title .w > span { transform: none; opacity: 1; filter: none; }
.hx-lead { color: rgba(255,255,255,.8); font-size: clamp(17px, 1.5vw, 19px); max-width: 33em; margin-bottom: 32px; }
.hx-lead, .hx-ctas { opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .8s cubic-bezier(.2,.7,.2,1); }
.is-active .hx-lead { opacity: 1; transform: none; transition-delay: .55s; }
.is-active .hx-ctas { opacity: 1; transform: none; transition-delay: .7s; }
.hx .btn-gold { background: var(--acc); color: #1A0D26; transition: background .8s, transform .2s, box-shadow .2s; }
.hx .btn-gold:hover { background: #fff; color: #1A0D26; transform: translateY(-2px); box-shadow: 0 10px 30px -8px var(--acc); }
.hx-btn .ico { transition: transform .2s; }
.hx-btn:hover .ico { transform: translateX(4px); }

/* Visual stage */
.hx-visual { position: relative; width: 100%; max-width: 560px; justify-self: end; aspect-ratio: 1 / .9; container-type: inline-size; transform: translate(calc((var(--mx, .5) - .5) * -14px), calc((var(--my, .5) - .5) * -14px)); transition: transform .3s ease-out; }
.hx-visual > * { position: absolute; opacity: 0; transition: opacity .6s, transform .9s cubic-bezier(.2,.75,.2,1); }
.is-active .hx-visual > * { opacity: 1; }
.v-card, .phone, .player, .v-float, .v-chip, .v-toast, .frag, .reel { background: rgba(255,255,255,.96); color: var(--ink); border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.12); }
.v-chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; font: 600 13px/1 var(--sans); white-space: nowrap; color: var(--plum); }
.v-chip .ico { color: #fff; background: var(--acc-2); border-radius: 50%; padding: 2px; width: 18px; height: 18px; transition: background .8s; }
.float-y { animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 50% { translate: 0 -10px; } }

/* ── SEO: search box types, your result climbs to #1, graph draws ── */
.serp { left: 0; top: 6%; width: 76%; padding: 18px; transform: translateY(30px) scale(.96); }
.is-active .serp { transform: none; transition-delay: .2s; }
.serp-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 999px; background: #F3F0F7; color: var(--muted); font-size: 14.5px; min-height: 46px; }
.serp-q { color: var(--ink); white-space: nowrap; overflow: hidden; }
.caret { width: 2px; height: 18px; background: var(--wine); animation: blink 1s steps(1) infinite; margin-left: -8px; }
@keyframes blink { 50% { opacity: 0; } }
.serp-tabs { display: flex; gap: 16px; font-size: 12.5px; color: var(--muted); padding: 12px 6px 10px; border-bottom: 1px solid #EEE; margin-bottom: 12px; }
.serp-tabs b { color: var(--wine); border-bottom: 2px solid var(--wine); padding-bottom: 8px; margin-bottom: -11px; }
.serp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.r { display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 12px; border-radius: 12px; background: #FAF8FC; }
.r .fav { width: 28px; height: 28px; border-radius: 50%; background: #E6E1EC; flex: none; display: grid; place-items: center; font: 700 13px/1 var(--serif); color: #fff; }
.r div { flex: 1; display: grid; gap: 4px; min-width: 0; }
.r small { font-size: 11px; color: #1A7F4B; line-height: 1; min-height: 8px; }
.r small:empty { width: 30%; height: 7px; background: #E8E4EE; border-radius: 4px; }
.r b { font: 600 14px/1.1 var(--sans); color: #2B3FBF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r b.sk { width: 72%; height: 10px; background: #DCD6E4; border-radius: 5px; }
.r i { display: block; width: 88%; height: 6px; background: #ECE8F1; border-radius: 3px; }
.r-you { background: #fff; box-shadow: 0 0 0 2px var(--acc), 0 12px 30px -10px rgba(43,24,64,.35); position: relative; z-index: 1; }
.r-you .fav { background: var(--acc-2); }
.badge { font: 700 13px/1 var(--sans); color: #fff; background: linear-gradient(135deg, var(--acc-2), var(--plum)); padding: 7px 9px; border-radius: 8px; transform: scale(0); }
.is-active .r-you { animation: climb 1.3s 2.2s cubic-bezier(.5,0,.2,1) both; }
.is-active .r:not(.r-you) { animation: shiftdown 1.3s 2.2s cubic-bezier(.5,0,.2,1) both; }
.is-active .badge { animation: pop .5s 3.4s cubic-bezier(.3,1.6,.5,1) forwards; }
@keyframes climb { from { transform: translateY(204px); } }
@keyframes shiftdown { from { transform: translateY(-68px); } }
@keyframes pop { to { transform: scale(1); } }
.f-graph { right: 0; top: 0; width: 46%; padding: 14px 16px 10px; color: var(--acc-2); transform: translate(20px, -10px); }
.is-active .f-graph { transform: none; transition-delay: .5s; animation: floaty 6s 1.5s ease-in-out infinite; }
.f-lbl { display: block; font: 600 12px/1 var(--sans); color: var(--muted); margin-bottom: 8px; letter-spacing: .04em; }
.f-lbl::after { content: " ▲"; color: #1A9E5C; }
.f-graph svg { display: block; width: 100%; height: 64px; }
.f-graph .ln { stroke-dasharray: 300; stroke-dashoffset: 300; }
.f-graph .area { opacity: 0; transition: opacity 1s 2s; }
.is-active .f-graph .ln { animation: draw 2s .9s ease-out forwards; }
.is-active .f-graph .area { opacity: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.f-ring { right: 4%; bottom: 16%; width: 132px; padding: 14px; text-align: center; display: grid; justify-items: center; transform: scale(.7); }
.is-active .f-ring { transform: none; transition-delay: .8s; animation: floaty 5s 2s ease-in-out infinite; }
.f-ring svg { width: 74px; height: 74px; transform: rotate(-90deg); }
.f-ring circle { fill: none; stroke: #EEE8F4; stroke-width: 4.5; }
.f-ring .arc { stroke: var(--acc-2); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke .8s; }
.is-active .f-ring .arc { animation: ring 1.8s 1s cubic-bezier(.3,.7,.2,1) forwards; }
@keyframes ring { to { stroke-dashoffset: 2; } }
.f-ring b { font: 700 22px/1 var(--serif); color: var(--plum); margin-top: -50px; height: 50px; }
.f-ring small { font-size: 11.5px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.v-visual-chip, .hx-visual .v-chip { transform: translateX(-16px); }
[data-key="seo"] .c1 { left: -2%; bottom: 9%; }
[data-key="seo"] .c2 { left: 22%; bottom: 0; }
[data-key="seo"] .c3 { left: 44%; top: 60%; display: none; }
.is-active .hx-visual .v-chip { transform: none; }
.is-active [data-key] .c1 { transition-delay: 1.2s; } .is-active [data-key] .c2 { transition-delay: 1.4s; }
[data-key="seo"].is-active .c1 { animation: floaty 5.5s 2s ease-in-out infinite; }
[data-key="seo"].is-active .c2 { animation: floaty 6.5s 2.4s ease-in-out infinite; }

/* ── SMO: phone post, like pops, hearts rise, notifications slide in ── */
.phone { left: 22%; top: 2%; width: 50%; padding: 12px; border-radius: 30px; border: 6px solid #160A24; background: #fff; transform: translateY(40px) rotate(-4deg); }
.is-active .phone { transform: rotate(-3deg); transition-delay: .2s; animation: phone 7s 1.2s ease-in-out infinite; }
@keyframes phone { 50% { transform: rotate(-1deg) translateY(-8px); } }
.ph-top { display: flex; align-items: center; gap: 9px; padding: 4px 4px 10px; }
.ph-top .av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 700 13px/1 var(--serif); color: #fff; background: linear-gradient(135deg, var(--acc), var(--acc-2)); box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--acc-2); }
.ph-top b { display: block; font: 600 12.5px/1.1 var(--sans); }
.ph-top small { font-size: 10.5px; color: var(--muted); }
.ph-top .ph-dots { margin-left: auto; color: var(--muted); font-size: 12px; }
.ph-top div { flex: 1; }
.ph-media { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: linear-gradient(140deg, var(--acc-3), var(--acc-2) 60%, var(--acc)); transition: background .8s; }
.pm-s { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.s1 { width: 70%; height: 70%; left: -15%; top: -15%; background: rgba(255,255,255,.18); animation: spin 14s linear infinite; }
.s2 { width: 40%; height: 40%; right: 8%; bottom: 10%; background: rgba(255,255,255,.22); animation: floaty 4s ease-in-out infinite; }
.s3 { width: 18%; height: 18%; right: 22%; top: 16%; background: #fff; opacity: .5; }
@keyframes spin { to { transform: rotate(360deg) translateX(10px); } }
.pm-t { position: absolute; left: 10%; bottom: 10%; color: #fff; font: 700 clamp(18px, 5.5cqw, 30px)/1 var(--serif); }
.pm-t em { font-weight: 500; }
.pm-heart { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; transform: scale(0); opacity: 0; }
.pm-heart .ico { fill: #fff; filter: drop-shadow(0 6px 16px rgba(0,0,0,.3)); }
.is-active .pm-heart { animation: bigheart 1.1s 1.6s ease-out forwards; }
@keyframes bigheart { 30% { transform: scale(1.2); opacity: 1; } 55% { transform: scale(.95); opacity: 1; } 100% { transform: scale(1.1); opacity: 0; } }
.ph-act { display: flex; align-items: center; gap: 12px; padding: 10px 4px 6px; color: var(--ink); }
.ph-act .ico { width: 20px; height: 20px; }
.like { display: inline-grid; color: var(--ink); transition: color .2s; }
.is-active .like { animation: likepop .5s 1.7s cubic-bezier(.3,1.8,.5,1) forwards; }
.is-active .like .ico { animation: fillred .01s 1.7s forwards; }
@keyframes likepop { 40% { transform: scale(1.4); } 100% { transform: scale(1); color: #E0245E; } }
@keyframes fillred { to { fill: #E0245E; stroke: #E0245E; } }
.ph-likes { margin-left: auto; font: 600 12px/1 var(--sans); }
.ph-cap { display: grid; gap: 6px; padding: 4px; }
.ph-cap i { height: 6px; border-radius: 3px; background: #ECE8F1; }
.ph-cap i:last-child { width: 60%; }
.hearts { left: 62%; top: 42%; width: 60px; height: 200px; background: none !important; box-shadow: none !important; }
.hearts i { position: absolute; bottom: 0; left: calc(var(--x, 0) * 1px); width: 16px; height: 16px; background: var(--acc); opacity: 0; transform: rotate(45deg); border-radius: 3px 0 0 0; }
.hearts i::before, .hearts i::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: inherit; }
.hearts i::before { left: -8px; } .hearts i::after { top: -8px; }
.is-active .hearts i { animation: rise 3.2s ease-out infinite; }
.hearts i:nth-child(1) { --x: 0; animation-delay: 1.8s !important; } .hearts i:nth-child(2) { --x: 24; animation-delay: 2.3s !important; background: #fff; }
.hearts i:nth-child(3) { --x: 10; animation-delay: 2.9s !important; } .hearts i:nth-child(4) { --x: 36; animation-delay: 3.4s !important; background: var(--acc-2); }
.hearts i:nth-child(5) { --x: 6; animation-delay: 4s !important; background: #fff; } .hearts i:nth-child(6) { --x: 30; animation-delay: 4.6s !important; }
@keyframes rise { 0% { opacity: 0; transform: translateY(0) rotate(45deg) scale(.4); } 15% { opacity: .95; } 100% { opacity: 0; transform: translate(14px, -190px) rotate(45deg) scale(1.1); } }
.v-toast { display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; min-width: 190px; transform: translateX(40px); }
.v-toast .ti { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--acc), var(--acc-2)); flex: none; }
.v-toast b { display: block; font: 600 13px/1.2 var(--sans); color: var(--ink); }
.v-toast small { font-size: 11px; color: var(--muted); }
.t1 { right: 0; top: 10%; } .t2 { left: 0; top: 84%; transform: translateX(-40px); } .t3 { right: 2%; bottom: 8%; }
.is-active .t1 { transform: none; transition-delay: 1s; animation: floaty 5s 2s ease-in-out infinite; }
.is-active .t2 { transform: none; transition-delay: 2.2s; animation: floaty 6s 3s ease-in-out infinite; }
.is-active .t3 { transform: none; transition-delay: 3s; animation: floaty 5.5s 4s ease-in-out infinite; }
.orbit { left: 2%; top: 4%; width: 120px; height: 120px; background: none !important; box-shadow: none !important; border: 1px dashed rgba(255,255,255,.25); border-radius: 50%; }
.is-active .orbit { animation: spin2 20s linear infinite; }
@keyframes spin2 { to { transform: rotate(360deg); } }
.orbit span { position: absolute; width: 34px; height: 34px; margin: -17px; border-radius: 50%; display: grid; place-items: center; font: 700 11px/1 var(--sans); color: #fff; background: rgba(255,255,255,.12); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.3); }
.orbit span:nth-child(1) { left: 50%; top: 0; } .orbit span:nth-child(2) { left: 100%; top: 50%; } .orbit span:nth-child(3) { left: 50%; top: 100%; } .orbit span:nth-child(4) { left: 0; top: 50%; }
.is-active .orbit span { animation: spin2 20s linear infinite reverse; }

/* ── Content: lines write in, published stamp, pieces fan out ── */
.doc { left: 14%; top: 10%; width: 64%; padding: 0 0 20px; overflow: hidden; transform: translateY(30px) rotate(2deg); }
.is-active .doc { transform: rotate(-1.5deg); transition-delay: .2s; }
.doc-bar { display: flex; gap: 6px; align-items: center; padding: 12px 16px; background: #F3F0F7; border-bottom: 1px solid #EAE5F0; }
.doc-bar span { width: 9px; height: 9px; border-radius: 50%; background: #DCD5E5; }
.doc-bar span:first-child { background: #F26B6B; } .doc-bar span:nth-child(2) { background: #F5C04E; } .doc-bar span:nth-child(3) { background: #4CCB82; }
.doc-bar em { margin-left: auto; font: 500 11.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); font-style: normal; }
.doc-h { display: block; font: 600 clamp(15px, 3.6cqw, 20px)/1.25 var(--serif); color: var(--plum); padding: 18px 20px 12px; }
.doc-lines { display: grid; gap: 9px; padding: 0 20px; }
.doc-lines i { display: block; height: 7px; border-radius: 4px; background: #E8E3EF; width: 0; }
.doc-lines i.vsub { height: 10px; background: var(--acc-2); opacity: .6; margin-top: 6px; transition: background .8s; }
.is-active .doc-lines i { animation: write .6s calc(.8s + var(--d) * .28s) ease-out forwards; }
@keyframes write { to { width: var(--w); } }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 20px 0; }
.pill { display: inline-flex; align-items: center; gap: 5px; font: 600 11.5px/1 var(--sans); padding: 7px 10px; border-radius: 999px; background: #F1EDF6; color: var(--plum); }
.pill.ok { background: #E3F6EB; color: #17784A; }
.stamp { position: absolute; right: 18px; bottom: 62px; font: 700 13px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #17784A; border: 2px solid #17784A; padding: 8px 10px; border-radius: 6px; transform: rotate(-12deg) scale(2.2); opacity: 0; }
.is-active .stamp { animation: stamp .45s 3.1s cubic-bezier(.3,1.4,.5,1) forwards; }
@keyframes stamp { to { transform: rotate(-12deg) scale(1); opacity: .9; } }
.frag { display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; font: 600 13px/1 var(--sans); color: var(--plum); left: 40%; top: 40%; transform: scale(.4); }
.frag .fi { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--acc), var(--acc-2)); }
.car { display: flex; gap: 3px; } .car i { width: 14px; height: 30px; border-radius: 4px; background: linear-gradient(var(--acc), var(--acc-2)); } .car i:nth-child(2) { opacity: .7; } .car i:nth-child(3) { opacity: .45; }
.is-active .frag { transition-duration: .5s, 1s; }
.is-active .fr1 { left: 0; top: 0; transform: rotate(-4deg); transition-delay: 3.4s; }
.is-active .fr2 { left: 72%; top: 46%; transform: rotate(5deg); transition-delay: 3.6s; }
.is-active .fr3 { left: 2%; top: 78%; transform: rotate(3deg); transition-delay: 3.8s; }
.is-active .fr4 { left: 66%; top: 82%; transform: rotate(-3deg); transition-delay: 4s; }
.frag { opacity: 0 !important; } .is-active .frag { opacity: 1 !important; }

/* ── Video: player with moving scene, pulse play, scrub, waveform, reels ── */
.player { left: 0; top: 14%; width: 76%; aspect-ratio: 16 / 10; overflow: hidden; background: #120818; transform: translateY(30px) scale(.95); }
.is-active .player { transform: none; transition-delay: .2s; }
.scene { position: absolute; inset: 0; background: linear-gradient(180deg, var(--acc-3) 0%, var(--acc-2) 55%, var(--acc) 100%); transition: background .8s; overflow: hidden; }
.sun { position: absolute; width: 22%; aspect-ratio: 1; border-radius: 50%; left: 58%; top: 18%; background: #FFE3B8; box-shadow: 0 0 60px 20px rgba(255,214,160,.5); }
.is-active .sun { animation: sun 7s ease-in-out infinite alternate; }
@keyframes sun { to { transform: translate(-30px, 18px); } }
.hill { position: absolute; left: -10%; width: 130%; border-radius: 50% 50% 0 0; }
.hl1 { bottom: -30%; height: 70%; background: rgba(26,10,38,.55); } .hl2 { bottom: -42%; height: 72%; left: -40%; background: rgba(26,10,38,.75); } .hl3 { bottom: -52%; height: 70%; left: 20%; background: #1A0A26; }
.is-active .hl1 { animation: pan 9s linear infinite alternate; } .is-active .hl2 { animation: pan 6s linear infinite alternate-reverse; } .is-active .hl3 { animation: pan 4.5s linear infinite alternate; }
@keyframes pan { to { transform: translateX(-8%); } }
.vsub { position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); white-space: nowrap; font: 600 clamp(11px, 2.6cqw, 14px)/1 var(--sans); color: #fff; background: rgba(0,0,0,.55); padding: 6px 10px; border-radius: 4px; opacity: 0; }
.is-active .vsub { animation: subin .5s 2.4s forwards; }
@keyframes subin { to { opacity: 1; } }
.rec { position: absolute; left: 14px; top: 12px; display: flex; align-items: center; gap: 6px; font: 700 11px/1 var(--sans); letter-spacing: .14em; color: #fff; }
.rec i { width: 9px; height: 9px; border-radius: 50%; background: #FF3B3B; animation: blink 1.2s steps(1) infinite; }
.tc { position: absolute; right: 14px; top: 12px; font: 500 11px/1 ui-monospace, Menlo, monospace; color: rgba(255,255,255,.85); }
.play { position: absolute; left: 50%; top: 45%; width: 64px; height: 64px; margin: -32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.95); color: var(--acc-2); }
.play .ico { fill: currentColor; margin-left: 4px; }
.play .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #fff; animation: pulse 2s ease-out infinite; }
.play .r2 { animation-delay: 1s; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(2); opacity: 0; } }
.tl { position: absolute; left: 14px; right: 14px; bottom: 12px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.25); }
.tl-p { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 2px; background: var(--acc); }
.tl-p::after { content: ""; position: absolute; right: -6px; top: -4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.is-active .tl-p { animation: scrub 7s linear forwards; }
@keyframes scrub { to { width: 100%; } }
.reel { right: 0; width: 21%; aspect-ratio: 9 / 16; padding: 6px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; background: #160A24; overflow: hidden; }
.rl-art { position: absolute; inset: 6px; border-radius: 12px; background: linear-gradient(200deg, var(--acc), var(--acc-2) 60%, var(--acc-3)); transition: background .8s; }
.reel .ico { position: absolute; top: 42%; left: 50%; margin: -9px; fill: #fff; color: #fff; }
.reel b { position: relative; font: 700 11px/1 var(--sans); color: #fff; letter-spacing: .1em; text-transform: uppercase; padding-bottom: 10px; }
.rl1 { top: 2%; transform: translateY(-30px) rotate(6deg); } .rl2 { top: 50%; right: 15%; width: 17%; transform: translateY(30px) rotate(-5deg); }
.is-active .rl1 { transform: rotate(6deg); transition-delay: .9s; animation: floaty 6s 2s ease-in-out infinite; }
.is-active .rl2 { transform: rotate(-5deg); transition-delay: 1.2s; animation: floaty 5s 2.5s ease-in-out infinite; }
.wave { left: 6%; bottom: 5%; width: 54%; height: 46px; display: flex; align-items: center; gap: 4px; padding: 0 14px; background: rgba(255,255,255,.1) !important; backdrop-filter: blur(8px); border-radius: 12px; box-shadow: 0 0 0 1px rgba(255,255,255,.18) !important; }
.wave i { flex: 1; height: 30%; border-radius: 2px; background: var(--acc); }
.is-active .wave i { animation: eq .9s calc(var(--k) * -73ms) ease-in-out infinite alternate; }
@keyframes eq { to { height: 90%; } }
[data-key="video"] .c1 { right: 0; bottom: 4%; }

/* Nav: tabs with progress, arrows, pause */
.hx-nav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(36px, 5vw, 60px); padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.hx-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; flex: 1; max-width: 760px; }
.hx-tab { all: unset; cursor: pointer; display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 10px; padding: 4px 0; color: rgba(255,255,255,.55); transition: color .3s; }
.hx-tab:hover, .hx-tab[aria-selected="true"] { color: #fff; }
.hx-tab:focus-visible { outline: 2px solid var(--acc); outline-offset: 4px; }
.hx-tn { font: italic 600 14px/1 var(--serif); color: var(--acc); }
.hx-tl { font: 600 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.hx-bar { grid-column: 1 / -1; height: 2px; background: rgba(255,255,255,.18); margin-top: 12px; overflow: hidden; border-radius: 2px; }
.hx-bar i { display: block; height: 100%; width: 100%; background: var(--acc); transform: scaleX(0); transform-origin: left; }
.hx-tab[aria-selected="true"] .hx-bar i { transform: scaleX(var(--p, 0)); }
.hx-ctrl { display: flex; gap: 8px; }
.hx-arrow, .hx-pause { all: unset; cursor: pointer; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.3); transition: background .2s, color .2s, border-color .2s; }
.hx-arrow:hover, .hx-pause:hover { background: #fff; color: var(--plum); border-color: #fff; }
.hx-arrow:focus-visible, .hx-pause:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.hx-pause svg { fill: currentColor; }
.hx-pause .pl { display: none; } .hx-pause[aria-pressed="true"] .pl { display: block; } .hx-pause[aria-pressed="true"] .pz { display: none; }

/* Feature row as linked cards */
a.f-item { color: inherit; text-decoration: none; position: relative; transition: background .25s; }
a.f-item::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--wine), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
a.f-item:hover { background: var(--paper); }
a.f-item:hover::after { transform: scaleX(1); }
a.f-item .f-ico { transition: background .25s, color .25s, transform .35s; }
a.f-item:hover .f-ico { background: var(--wine); color: #fff; border-color: var(--wine); transform: rotate(-8deg); }
.f-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--wine); }
.f-more .ico { transition: transform .2s; } a.f-item:hover .f-more .ico { transform: translateX(4px); }

/* Brand marquee */
.brands { padding: clamp(48px, 6vw, 72px) 0 clamp(20px, 3vw, 32px); overflow: hidden; }
.brands-h { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 0 0 28px; font: 600 12.5px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-d); text-align: center; }
.brands-h span { flex: 0 1 60px; height: 1px; background: var(--gold); }
.marquee { --gap: 18px; display: flex; overflow: hidden; padding-block: 8px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mq-track { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--gap); flex: none; padding-right: var(--gap); animation: mq 38s linear infinite; }
.marquee.rev .mq-track { animation-direction: reverse; animation-duration: 44s; }
.marquee:hover .mq-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
.brand-chip { flex: none; display: flex; align-items: center; gap: 10px; height: 66px; padding: 0 28px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; color: var(--plum); font-size: 22px; white-space: nowrap; transition: transform .25s, box-shadow .25s, color .25s, border-color .25s; filter: grayscale(1); opacity: .82; }
.brand-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--wine); border-color: var(--gold); filter: none; opacity: 1; }
.brand-chip img { height: 34px; width: auto; }
.bc-dot { width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(135deg, var(--gold), var(--wine)); transform: rotate(45deg); }
.bs-g { font: 500 23px/1 var(--sans); letter-spacing: -.01em; }
.bs-m { font: 700 23px/1 var(--sans); letter-spacing: -.02em; }
.bs-script { font: italic 600 25px/1 var(--serif); }
.bs-bold { font: 700 22px/1 var(--sans); letter-spacing: -.01em; }
.bs-round { font: 700 21px/1 var(--sans); letter-spacing: .01em; text-transform: lowercase; }
.bs-serif { font: 600 23px/1 var(--serif); }
.bs-mono { font: 600 19px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .04em; text-transform: uppercase; }

/* Responsive */
@media (max-width: 1100px) {
  .hx-slide { grid-template-columns: 1fr 1fr; }
  .hx-title { font-size: clamp(34px, 4.6vw, 52px); }
}
@media (max-width: 900px) {
  .hx-slide { grid-template-columns: 1fr; gap: 36px; }
  .hx-visual { justify-self: center; max-width: 480px; }
  .hx-big { display: none; }
  .hx-nav { flex-direction: column-reverse; align-items: stretch; gap: 18px; }
  .hx-ctrl { justify-content: center; }
}
@media (max-width: 560px) {
  .hx-wrap { padding-top: 36px; padding-bottom: 96px; }
  .hx-tabs { gap: 10px; }
  .hx-tl { font-size: 11px; letter-spacing: .1em; }
  .hx-tab { grid-template-columns: 1fr; }
  .hx-tn { display: none; }
  .v-toast { min-width: 0; padding: 8px 10px 8px 8px; } .v-toast .ti { width: 26px; height: 26px; }
  .v-toast b { font-size: 11.5px; } .v-toast small { display: none; }
  .v-chip { font-size: 11px; padding: 7px 10px; }
  .f-ring { width: 104px; padding: 10px; } .f-ring svg { width: 58px; height: 58px; } .f-ring b { margin-top: -41px; height: 41px; font-size: 18px; }
  .r { height: 46px; } .r .fav { width: 22px; height: 22px; }
  .is-active .r-you { animation-name: climb-s; } .is-active .r:not(.r-you) { animation-name: shiftdown-s; }
  .serp-bar { font-size: 12.5px; min-height: 40px; padding: 9px 12px; }
  .orbit { width: 84px; height: 84px; } .orbit span { width: 28px; height: 28px; margin: -14px; font-size: 10px; }
  .brand-chip { height: 54px; padding: 0 20px; font-size: 18px; }
  .serp { width: 86%; }
}
@keyframes climb-s { from { transform: translateY(168px); } }
@keyframes shiftdown-s { from { transform: translateY(-56px); } }

/* Reduced motion: show final states, no looping animation */
@media (prefers-reduced-motion: reduce) {
  .hx *, .hx *::before, .hx *::after, .mq-track { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .f-graph .ln { stroke-dashoffset: 0; } .f-ring .arc { stroke-dashoffset: 2; } .badge { transform: scale(1); }
  .doc-lines i { width: var(--w); } .stamp { opacity: .9; transform: rotate(-12deg); } .vsub { opacity: 1; }
  .marquee { overflow-x: auto; }
}

/* ══ Homepage refresh: About collage, photo service cards, expertise photos ══ */

/* Shared motion helpers */
@keyframes vd-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes vd-spin { to { transform: rotate(360deg); } }
@keyframes vd-kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes vd-fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
/* Image wipe: the photo is uncovered left to right when scrolled into view */
.js .wipe { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s cubic-bezier(.77, 0, .18, 1); }
.js .wipe.in { clip-path: inset(0 0 0 0); }
.js .wipe img { transform: scale(1.18); transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.js .wipe.in img { transform: scale(1); }
[data-parallax] { will-change: transform; }

/* About */
.ab { overflow: hidden; }
.ab-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.ab-grid > * { min-width: 0; }
.ab-media { position: relative; isolation: isolate; padding: 0 0 clamp(90px, 9vw, 120px) 0; }
.ab-main { margin: 0 clamp(48px, 7vw, 96px) 0 0; aspect-ratio: 4/4.4; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(43, 24, 64, .45); }
.ab-main img, .ab-sub img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-sub { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4/3; margin: 0; border: 8px solid var(--paper); box-shadow: 0 24px 48px -20px rgba(43, 24, 64, .5); overflow: hidden; transition-delay: .35s; }
.ab-sub img { transition: transform .8s ease; }
.ab-sub:hover img { transform: scale(1.06); }
.ab-badge { position: absolute; top: clamp(28px, 3vw, 40px); right: clamp(18px, 2vw, 26px); width: 136px; height: 136px; border-radius: 50%; background: var(--wine); color: #fff; display: grid; place-content: center; text-align: center; box-shadow: 0 0 0 26px var(--paper), 0 24px 44px -14px rgba(43, 24, 64, .45); transition-delay: .5s; z-index: 2; }
.ab-badge.in { animation: vd-float 5s ease-in-out 1.2s infinite; }
.ab-badge strong { font: 600 36px/1 var(--serif); color: #fff; }
.ab-badge span { font: 600 10.5px/1.25 var(--sans); letter-spacing: .12em; text-transform: uppercase; max-width: 84px; margin: 4px auto 0; color: var(--gold-l); }
.ab-ring { position: absolute; inset: -22px; width: calc(100% + 44px); height: calc(100% + 44px); animation: vd-spin 22s linear infinite; pointer-events: none; max-width: none; }
.ab-ring text { font: 700 10px var(--sans); text-transform: uppercase; fill: var(--gold-d); }
.ab-stats { position: absolute; left: 0; bottom: clamp(18px, 2vw, 28px); display: flex; background: var(--plum); color: #fff; box-shadow: 0 20px 40px -18px rgba(28, 15, 43, .6); transition-delay: .6s; z-index: 2; }
.ab-stats div { padding: 18px 24px; }
.ab-stats div + div { border-left: 1px solid rgba(255, 255, 255, .14); }
.ab-stats strong { display: block; font: 600 28px/1.1 var(--serif); color: var(--gold); }
.ab-stats span { font-size: 13px; color: rgba(255, 255, 255, .75); }
.ab-dots { position: absolute; left: -26px; top: 18%; width: 110px; height: 150px; z-index: -1; background: radial-gradient(var(--gold) 1.4px, transparent 1.6px) 0 0/16px 16px; opacity: .55; }
.ab-copy h2 em { font-style: italic; color: var(--wine); }
.ab-quote { position: relative; margin: 6px 0 28px; padding: 20px 22px 18px 58px; background: var(--white); border-left: 3px solid var(--gold); box-shadow: var(--shadow); }
.ab-quote .ico { position: absolute; left: 18px; top: 20px; color: var(--gold); }
.ab-quote p { margin: 0; font: italic 500 18px/1.55 var(--serif); color: var(--ink); }
.ab-quote cite { display: block; margin-top: 10px; font: 600 11.5px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; font-style: normal; color: var(--gold-d); }
.ab-feats { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ab-feats li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .55); font-weight: 600; font-size: 15.5px; color: var(--ink); transition: border-color .25s, background .25s, opacity .7s ease, transform .7s ease; }
.ab-feats li.in:hover { border-color: var(--gold); background: var(--white); transform: translateX(4px); transition-delay: 0s !important; }
.ab-ico { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-l); color: var(--wine); transition: background .25s, color .25s; }
.ab-feats li:hover .ab-ico { background: var(--wine); color: #fff; }

/* Service cards with photos */
.s-grid { gap: 24px; border: 0; background: none; }
.s-card { padding: 0; border: 1px solid var(--line); background: var(--white); overflow: hidden; transition: opacity .7s ease, transform .5s ease, box-shadow .35s ease, border-color .35s; }
.s-card.in:hover { background: var(--white); transform: translateY(-6px); border-color: var(--gold-l); box-shadow: 0 26px 50px -24px rgba(43, 24, 64, .38); transition-delay: 0s !important; }
.s-card::before { z-index: 3; }
.s-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--plum); }
.s-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2, .7, .2, 1), filter .5s; filter: saturate(.92); }
.s-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 15, 43, 0) 45%, rgba(28, 15, 43, .55)); }
.s-card:hover .s-media img { transform: scale(1.08); filter: saturate(1.05); }
.s-media .s-num { position: absolute; left: 16px; top: 14px; margin: 0; z-index: 1; padding: 6px 10px; background: rgba(251, 248, 243, .92); color: var(--gold-d); }
.s-card .s-ico { position: relative; z-index: 2; width: 56px; height: 56px; margin: -28px 0 14px 24px; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--wine); box-shadow: 0 8px 20px -8px rgba(43, 24, 64, .4); transition: background .3s, color .3s, transform .5s; }
.s-card:hover .s-ico { background: var(--wine); color: #fff; transform: rotate(-8deg) scale(1.06); }
.s-card h3, .s-card h2, .s-card p, .s-card .link-arrow { margin-inline: 24px; }
.s-card .link-arrow { margin-bottom: 26px; }
.s-card:hover .link-arrow .ico { transform: translateX(4px); }

/* Expertise tabs with photos */
.tab-art { outline: 0; background: var(--plum); }
.tab-art::before { z-index: 1; background: linear-gradient(200deg, rgba(43, 24, 64, 0) 40%, rgba(43, 24, 64, .7)); }
.tab-art::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(234, 223, 203, .7); z-index: 1; pointer-events: none; }
.tab-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tab-panel:not([hidden]) .tab-art img { animation: vd-kenburns 7s ease-out both; }
.tab-panel:not([hidden]) .tab-art { animation: vd-fade-up .6s ease both; }
.tab-panel:not([hidden]) .tab-copy > * { animation: vd-fade-up .6s ease both; }
.tab-panel:not([hidden]) .tab-copy > :nth-child(2) { animation-delay: .07s; }
.tab-panel:not([hidden]) .tab-copy > :nth-child(3) { animation-delay: .14s; }
.tab-panel:not([hidden]) .tab-copy > :nth-child(4) { animation-delay: .21s; }
.tab-panel:not([hidden]) .tab-copy > :nth-child(5) { animation-delay: .28s; }
.tab-chip { position: absolute; left: 32px; bottom: 32px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--paper); color: var(--plum); font: 600 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45); }
.tab-art .tab-chip .ico { width: 22px; height: 22px; color: var(--wine); stroke-width: 1.6; position: static; }
.tab-idx { display: block; margin-bottom: 10px; font: italic 500 15px/1 var(--serif); color: var(--gold-d); }
.tab { transition: color .25s; }
.tab:hover { color: var(--wine); }

@media (max-width: 980px) {
  .ab-grid { grid-template-columns: 1fr; }
  .ab-media { max-width: 620px; }
}
@media (max-width: 640px) {
  .ab-media { padding-bottom: 70px; }
  .ab-main { margin-right: 34px; aspect-ratio: 4/4.2; }
  .ab-sub { width: 50%; border-width: 5px; }
  .ab-badge { width: 100px; height: 100px; top: 22px; right: 16px; box-shadow: 0 0 0 20px var(--paper), 0 18px 34px -12px rgba(43, 24, 64, .45); }
  .ab-badge strong { font-size: 28px; }
  .ab-badge span { font-size: 9px; max-width: 68px; }
  .ab-ring { inset: -17px; width: calc(100% + 34px); height: calc(100% + 34px); }
  .ab-stats { bottom: 0; }
  .ab-stats div { padding: 12px 14px; }
  .ab-stats strong { font-size: 22px; }
  .ab-stats span { font-size: 11.5px; }
  .ab-dots { left: -16px; }
  .ab-feats { grid-template-columns: 1fr; }
  .ab-quote { padding-left: 50px; }
  .ab-quote p { font-size: 17px; }
  /* Compact horizontal service cards on phones keep the page short */
  .s-grid { gap: 14px; }
  .s-card { display: grid; grid-template-columns: 112px 1fr; grid-template-rows: auto auto 1fr auto; }
  .s-card .s-media { grid-row: 1 / -1; aspect-ratio: auto; height: 100%; }
  .s-media .s-num { left: 8px; top: 8px; padding: 4px 6px; font-size: 12px; }
  .s-card .s-ico { display: none; }
  .s-card h3, .s-card h2, .s-card p, .s-card .link-arrow { margin-inline: 16px; }
  .s-card h3, .s-card h2 { margin-top: 16px; font-size: 18px !important; }
  .s-card p { font-size: 14.5px; margin-bottom: 10px; }
  .s-card .link-arrow { margin-bottom: 16px; font-size: 12px; }
  .tab-chip { left: 22px; bottom: 22px; padding: 8px 12px; font-size: 11.5px; }
  .tab-art .tab-chip .ico { display: block; width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .wipe { clip-path: none; }
  .js .wipe img { transform: none; }
  .ab-ring, .ab-badge.in { animation: none; }
  [data-parallax] { transform: none !important; }
}

/* ══ Inner pages refresh: photo heroes, media chips, animated cards ══ */

/* Page hero with background photo */
.page-hero.has-photo { background: var(--plum-3); }
.page-hero .ph-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; animation: vd-kenburns 14s ease-out both; }
.page-hero.has-photo::before { z-index: 1; background: linear-gradient(180deg, rgba(28, 15, 43, .55), rgba(43, 24, 64, .82) 70%, rgba(43, 24, 64, .94)), radial-gradient(ellipse at 85% 15%, rgba(142, 31, 85, .45), transparent 55%); }
.page-hero.has-photo .wrap { z-index: 2; padding-block: clamp(64px, 9vw, 120px); }
.page-hero.has-photo .lead { color: rgba(255, 255, 255, .88); }
.page-hero .wrap > * { animation: vd-fade-up .8s cubic-bezier(.2, .7, .2, 1) both; }
.page-hero .wrap > :nth-child(2) { animation-delay: .08s; }
.page-hero .wrap > :nth-child(3) { animation-delay: .16s; }
.page-hero .wrap > :nth-child(4) { animation-delay: .26s; }
.page-hero .wrap > :nth-child(5) { animation-delay: .36s; }
.page-hero .ornament::before, .page-hero .ornament::after { animation: vd-grow 1s .5s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes vd-grow { from { transform: scaleX(0); } to { transform: none; } }

/* About story: copy left, collage right */
.ab-story { grid-template-columns: 1fr 1.02fr; }
.ab-media-r .ab-main { margin: 0 0 0 clamp(48px, 7vw, 96px); }
.ab-media-r .ab-sub { right: auto; left: 0; }
.ab-media-r .ab-badge { right: auto; left: clamp(18px, 2vw, 26px); }
.ab-media-r .ab-dots { left: auto; right: -26px; }
.ab-note { position: absolute; right: 0; bottom: clamp(10px, 2vw, 24px); width: min(58%, 330px); margin: 0; padding: 20px 22px 18px 54px; background: var(--plum); color: #fff; box-shadow: 0 22px 44px -18px rgba(28, 15, 43, .6); transition-delay: .6s; z-index: 2; }
.ab-note .ico { position: absolute; left: 18px; top: 20px; color: var(--gold); }
.ab-note p { margin: 0; font: italic 500 16.5px/1.5 var(--serif); }
.ab-note cite { display: block; margin-top: 10px; font: 600 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; font-style: normal; color: var(--gold); }

/* Value / included cards with animated icon chip */
.inc-card { position: relative; transition: background .3s, opacity .7s ease, transform .7s ease; }
.inc-card::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--wine); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.inc-card:hover { background: var(--paper); }
.inc-card:hover::after { transform: scaleX(1); }
.v-ico { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 50%; background: var(--gold-l); color: var(--wine); transition: background .3s, color .3s, transform .5s; }
.inc-item .v-ico .ico { color: inherit; margin: 0; }
.inc-card:hover .v-ico { background: var(--wine); color: #fff; transform: rotate(-10deg) scale(1.06); }

/* Team cards */
.member { transition: opacity .7s ease, transform .5s ease, box-shadow .35s, border-color .35s; }
.member.in:hover { transform: translateY(-6px); border-color: var(--gold-l); box-shadow: 0 24px 46px -24px rgba(43, 24, 64, .4); transition-delay: 0s !important; }
.m-ph { transition: background .35s, color .35s, outline-offset .35s; }
.member:hover .m-ph { background: var(--wine); color: #fff; outline-offset: 9px; }

/* Photo block with floating chips (service, services, contact, cases, audit) */
.sv-media { position: relative; margin: 0 0 32px; padding: 0 0 22px 0; }
.sv-media figure { margin: 0; aspect-ratio: 16/10; overflow: hidden; box-shadow: 0 28px 56px -28px rgba(43, 24, 64, .5); }
.sv-media figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sv-media::before { content: ""; position: absolute; top: 18px; left: 18px; right: -18px; bottom: 4px; border: 1px solid var(--gold); z-index: -1; }
.sv-media { isolation: isolate; max-width: 680px; }
.sv-media-tall figure { aspect-ratio: 4/3.4; }
.sv-chip { position: absolute; left: 24px; bottom: 0; display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; background: var(--white); box-shadow: 0 16px 36px -14px rgba(43, 24, 64, .45); font: 600 15.5px/1.25 var(--sans); color: var(--ink); transition-delay: .55s; z-index: 2; }
.sv-chip small { display: block; font: 600 10.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-d); }
.sv-chip.in { animation: vd-float 6s ease-in-out 1.4s infinite; }
.sv-chip-top { top: 22px; bottom: auto; left: auto; right: -12px; transition-delay: .75s; }
.sv-chip-top.in { animation-delay: 2.4s; }
.ct-media { margin: 8px 0 28px; }

/* Sidebar CTA with photo */
.widget-cta.has-photo { position: relative; isolation: isolate; overflow: hidden; background: var(--plum); }
.widget-cta.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--cta-img) center/cover no-repeat; transform: scale(1.05); transition: transform 1.2s ease; }
.widget-cta.has-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(43, 24, 64, .82), rgba(28, 15, 43, .95)); }
.widget-cta.has-photo:hover::before { transform: scale(1.14); }

/* Contact cards */
.c-card { transition: opacity .7s ease, transform .5s ease, border-color .3s, box-shadow .3s; }
.c-card.in:hover { transform: translateX(6px); border-color: var(--gold); box-shadow: var(--shadow); transition-delay: 0s !important; }
.c-card .f-ico { transition: background .3s, color .3s, border-color .3s; }
.c-card:hover .f-ico { background: var(--wine); border-color: var(--wine); color: #fff; }

/* Case studies with photos */
.case { overflow: hidden; transition: opacity .7s ease, transform .5s ease, box-shadow .35s; }
.case.in:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -24px rgba(43, 24, 64, .4); transition-delay: 0s !important; }
.case-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.case-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 15, 43, .05), rgba(28, 15, 43, .55)); }
.case-art::before { z-index: 1; border-color: rgba(234, 223, 203, .65); }
.case:hover .case-art img { transform: scale(1.08); }
.case-ico { position: absolute; left: 24px; bottom: 24px; z-index: 2; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--wine); transition: background .3s, color .3s, transform .5s; }
.case-art .case-ico .ico { width: 22px; height: 22px; stroke-width: 1.8; }
.case:hover .case-ico { background: var(--wine); color: #fff; transform: rotate(-10deg); }

/* Audit gauge */
.au-gauge { position: absolute; right: -10px; top: -22px; width: 128px; height: 128px; border-radius: 50%; background: var(--white); box-shadow: 0 18px 40px -16px rgba(43, 24, 64, .5); display: grid; place-content: center; text-align: center; z-index: 2; transition-delay: .5s; }
.au-gauge svg { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); max-width: none; transform: rotate(-90deg); }
.au-gauge circle { fill: none; stroke-width: 7; }
.au-gauge .g-track { stroke: var(--gold-l); }
.au-gauge .g-arc { stroke: var(--wine); stroke-linecap: round; stroke-dasharray: 314.2; stroke-dashoffset: 314.2; transition: stroke-dashoffset 1.6s 1s cubic-bezier(.2, .7, .2, 1); }
.au-gauge.in .g-arc { stroke-dashoffset: 0; }
.au-gauge strong { position: relative; font: 600 34px/1 var(--serif); color: var(--plum); }
.au-gauge span { position: relative; max-width: 70px; margin: 4px auto 0; font: 600 9px/1.25 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-d); }
.au-media { margin-top: 8px; }
@media (min-width: 981px) { .au-sticky { position: sticky; top: 110px; } }

@media (max-width: 980px) {
  .ab-story { grid-template-columns: 1fr; }
  .ab-story .ab-media { order: 2; }
}
@media (max-width: 640px) {
  .ab-media-r .ab-main { margin: 0 0 0 34px; }
  .ab-media-r .ab-badge { left: 16px; }
  .ab-media-r .ab-dots { right: -16px; }
  .ab-note { width: 64%; padding: 14px 14px 12px 40px; }
  .ab-note .ico { left: 12px; top: 14px; width: 18px; height: 18px; }
  .ab-note p { font-size: 13.5px; }
  .sv-media::before { right: -8px; top: 12px; left: 12px; }
  .sv-chip { left: 12px; padding: 9px 14px 9px 9px; font-size: 14px; }
  .sv-chip .ab-ico { width: 32px; height: 32px; }
  .sv-chip-top { right: -4px; top: 12px; }
  .au-gauge { width: 96px; height: 96px; right: -4px; top: -16px; }
  .au-gauge strong { font-size: 26px; }
  .au-gauge span { font-size: 7.5px; max-width: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero .ph-bg, .page-hero .wrap > *, .page-hero .ornament::before, .page-hero .ornament::after, .sv-chip.in { animation: none; }
  .au-gauge .g-arc { stroke-dashoffset: 0; transition: none; }
}

/* /services uses h2 card titles: match the homepage h3 link treatment */
.s-card h2 a { color: inherit; text-decoration: none; }
.s-card h2 a::after { content: ""; position: absolute; inset: 0; }

@media (max-width: 640px) {
  /* Quote sits under the collage on phones so the photos stay visible */
  .ab-media-r { padding-bottom: 0; }
  .ab-media-r .ab-sub { position: relative; display: block; width: 62%; margin: -56px 0 0; }
  .ab-note { position: relative; right: auto; bottom: auto; width: auto; margin: 18px 0 0; }
  /* Compact value/included cards: icon left, text right */
  .inc-card { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; padding: 20px 18px; }
  .inc-card .v-ico { grid-row: span 2; width: 46px; height: 46px; margin: 0; }
  .inc-card h3 { margin-bottom: 4px; font-size: 18px; }
  .inc-card p { font-size: 15px; }
  /* Team in two columns */
  .t-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .member { padding: 22px 12px; }
  .m-ph { width: 64px; height: 64px; margin-bottom: 14px; }
  .m-ph .ico { width: 28px; height: 28px; }
  .member h3 { font-size: 17px; }
  .member .role { font-size: 10.5px; letter-spacing: .1em; }
  .member p { font-size: 14px; }
}

/* Images inserted from the blog admin ([[media:…]] figures) */
.prose figure { margin: 2em 0; }
.prose figure img { display: block; width: 100%; height: auto; margin: 0; box-shadow: 0 18px 40px -20px rgba(43, 24, 64, .45); }
.prose figcaption { margin-top: 10px; font-size: 14.5px; color: var(--muted); text-align: center; font-style: italic; }
.prose figcaption:empty { display: none; }
