/* =========================================================
   Nuuk Media theme
   ========================================================= */
@font-face { font-family: "Plus Jakarta Sans"; src: url(../fonts/pjs-latin.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; src: url(../fonts/pjs-latin-ext.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; src: url(../fonts/pjs-latin-italic.woff2) format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }

@view-transition { navigation: auto; }

:root {
  --bg: #FFFFFF;
  --surface: #F4F8FE;
  --tint: #EAF2FD;
  --cream: #FFF7EC;
  --navy: #0A2554;
  --navy-deep: #061A3F;
  --ink: #0C1B3E;
  --muted: #4A5878;
  --blue: #2F6FDB;
  --blue-deep: #1D4FAE;
  --accent: #F8B630;
  --accent-deep: #E2A21F;
  --line: #DCE6F5;
  --line-dark: rgba(255,255,255,.12);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px;
  --shadow: 0 1px 2px rgba(10,37,84,.06), 0 12px 32px -12px rgba(10,37,84,.18);
  --shadow-lg: 0 2px 4px rgba(10,37,84,.06), 0 30px 60px -24px rgba(10,37,84,.35);
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 32px);
  --section: clamp(64px, 9vw, 112px);
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --spring: linear(0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
:where(html) { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
:where(body) { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
:where(h1,h2,h3,h4,h5,h6,p,ol,ul,figure,blockquote,dl,dd,address,fieldset) { margin: 0; padding: 0; border: 0; }
:where(ul,ol) { list-style: none; }
:where(a) { color: inherit; text-decoration: none; }
:where(img,svg,video) { display: block; max-width: 100%; height: auto; }
:where(button,input,textarea,select) { font: inherit; color: inherit; }
:where(button) { cursor: pointer; background: none; border: 0; padding: 0; }
:where(address) { font-style: normal; }
::selection { background: var(--accent); color: var(--navy); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--accent); color: var(--navy); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; transition: top .2s; }
.skip:focus { top: 16px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }
.section { padding-block: var(--section); position: relative; }
.band--tint { background: var(--tint); }
.band--cream { background: var(--cream); }
.band--white { background: #fff; }
.section--line { border-top: 1px solid var(--line); }
.cols { display: grid; gap: clamp(24px, 3vw, 40px); margin-top: clamp(32px, 4vw, 56px); }
.cols--2 { grid-template-columns: repeat(2, 1fr); }
.cols--3 { grid-template-columns: repeat(3, 1fr); }
.cols--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .cols--4 { grid-template-columns: repeat(2, 1fr); } .cols--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cols--2, .cols--3, .cols--4 { grid-template-columns: 1fr; } }

/* ---------- Type ---------- */
.h2, .h3, .h4, .h5, .hero__title, .article__title { font-weight: 800; letter-spacing: -0.025em; color: var(--navy); text-wrap: balance; }
.h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; }
.h2--sm { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.12; }
.h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; }
.h4 { font-size: 19px; line-height: 1.25; letter-spacing: -0.015em; }
.h5 { font-size: 16.5px; line-height: 1.3; letter-spacing: -0.01em; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 60ch; margin-top: 16px; }
.muted { color: var(--muted); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
p { text-wrap: pretty; }
.accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn { --bx: 0px; --by: 0px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 10px; font-weight: 700; font-size: 16px; letter-spacing: -0.005em; white-space: nowrap; isolation: isolate; overflow: hidden; transform: translate(var(--bx), var(--by)); transition: transform .35s var(--ease-out), box-shadow .3s, background-color .3s, color .3s, border-color .3s; }
.btn span { position: relative; z-index: 1; }
.btn .btn__icon { width: 18px; height: 18px; position: relative; z-index: 1; transition: transform .35s var(--ease-out); }
.btn:hover .btn__icon { transform: translateX(4px); }
.btn--primary { background: var(--accent); color: var(--navy); box-shadow: 0 8px 24px -10px rgba(248,182,48,.75); }
.btn--primary::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.55), transparent 60%); opacity: 0; transition: opacity .3s; }
.btn--primary:hover::before { opacity: 1; }
.btn--primary:hover { box-shadow: 0 14px 30px -10px rgba(248,182,48,.9); }
.btn--primary:active { transform: translate(var(--bx), var(--by)) scale(.97); }
.btn--ghost { border: 1.5px solid rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--ghost-dark { border: 1.5px solid var(--navy); color: var(--navy); background: transparent; }
.btn--ghost-dark:hover { background: var(--navy); color: #fff; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); }
.text-link .icon { width: 18px; transition: transform .3s var(--ease-out); }
.text-link:hover .icon { transform: translateX(4px); }
.mail-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); }
.mail-link .icon { width: 24px; height: 24px; }
.mail-link span { background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease-out); }
.mail-link:hover span { background-size: 100% 2px; }

/* ---------- Icon discs ---------- */
.icon { width: 24px; height: 24px; flex: none; }
.disc { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: var(--navy); flex: none; transition: transform .5s var(--spring); }
.disc .icon { width: 26px; height: 26px; }
.disc--lg { width: 76px; height: 76px; } .disc--lg .icon { width: 34px; height: 34px; }
.disc--xl { width: 92px; height: 92px; } .disc--xl .icon { width: 40px; height: 40px; }
.disc--tint { background: var(--tint); color: var(--blue-deep); }
.disc--cream { background: #FFEFD0; color: var(--navy); }
.disc--white { background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.disc--navy { background: var(--navy); color: #fff; }

/* ---------- Header ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
@supports (animation-timeline: scroll()) {
  .progress { animation: progress linear both; animation-timeline: scroll(root); }
  @keyframes progress { to { transform: scaleX(1); } }
}
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(6,26,63,.0); transition: background-color .35s, box-shadow .35s, backdrop-filter .35s; view-transition-name: site-header; }
.site-header::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--line-dark); }
body .site-header { background: var(--navy-deep); }
.site-header.is-scrolled { background: rgba(6,26,63,.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 10px 30px -12px rgba(0,0,0,.4); }
.site-header__inner { display: flex; align-items: center; gap: 32px; height: 84px; transition: height .35s var(--ease-out); }
.site-header.is-scrolled .site-header__inner { height: 70px; }
.site-header__cta { margin-left: 8px; }

.logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; flex: none; view-transition-name: logo; }
.logo__mark { width: 52px; height: 52px; transition: transform .6s var(--spring); }
.logo:hover .logo__mark { transform: rotate(-12deg) scale(1.06); }
.logo:hover .logo__rocket { animation: rocket-hop .9s var(--ease-out); }
@keyframes rocket-hop { 40% { transform: translateY(-5px); } }
.logo__flame { transform-origin: 32px 45px; animation: flame 0.35s ease-in-out infinite alternate; }
.logo__type { display: grid; line-height: 1; }
.logo__nuuk { font-weight: 800; font-size: 30px; letter-spacing: .04em; }
.logo__media { font-weight: 800; font-size: 14px; letter-spacing: .62em; color: var(--accent); margin-top: 3px; }
.logo--lg .logo__mark { width: 64px; height: 64px; }
.logo--lg .logo__nuuk { font-size: 38px; }
.logo--lg .logo__media { font-size: 17px; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 6px; }
.nav__link { position: relative; display: block; padding: 10px 14px; color: rgba(255,255,255,.86); font-weight: 600; font-size: 15.5px; border-radius: 8px; transition: color .25s, background-color .25s; }
.nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav__link:hover { color: #fff; }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-current { color: var(--accent); }
.nav__link.is-current::after { transform: scaleX(1); }

.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.25); position: relative; margin-left: auto; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.menu-toggle span:first-child { top: 17px; } .menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 70px 0 0; z-index: 99; background: var(--navy-deep); padding: 28px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between; overflow: auto; opacity: 1; transform: none; transition: opacity .35s, transform .45s var(--ease-out), display .45s allow-discrete, overlay .45s allow-discrete; }
.mobile-menu[hidden] { display: none; opacity: 0; transform: translateY(-12px); }
@starting-style { .mobile-menu:not([hidden]) { opacity: 0; transform: translateY(-12px); } }
.mobile-menu nav { display: grid; }
.mobile-menu__link { font-size: 32px; font-weight: 800; color: #fff; padding: 12px 0; border-bottom: 1px solid var(--line-dark); letter-spacing: -0.02em; animation: menu-in .6s var(--ease-out) both; animation-delay: calc(var(--i) * 45ms + 80ms); }
.mobile-menu__link.is-current { color: var(--accent); }
@keyframes menu-in { from { opacity: 0; transform: translateY(16px); } }
.mobile-menu__foot { display: grid; gap: 18px; margin-top: 32px; }
.mobile-menu__mail { display: inline-flex; gap: 10px; align-items: center; color: rgba(255,255,255,.8); }
@media (max-width: 1080px) {
  .nav, .site-header__cta { display: none; }
  .menu-toggle { display: block; }
  .site-header__inner { height: 72px; }
  .logo__mark { width: 44px; height: 44px; }
  .logo__nuuk { font-size: 25px; } .logo__media { font-size: 12px; }
}
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy-deep); color: #fff; overflow: clip; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(1100px 600px at 85% 10%, #123A80 0%, transparent 60%), linear-gradient(180deg, #071D45 0%, #0A2554 100%); }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.hero__blob--a { width: 520px; height: 520px; right: -120px; top: -180px; background: #1D4FAE; animation: drift 18s ease-in-out infinite alternate; }
.hero__blob--b { width: 360px; height: 360px; left: -140px; bottom: -200px; background: #2F6FDB; opacity: .3; animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-60px, 50px) scale(1.12); } }
.hero__grain { position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, #000, transparent 85%); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(24px, 4vw, 64px); min-height: clamp(460px, 62vh, 600px); padding-block: clamp(48px, 6vw, 72px); }
.hero__title { color: #fff; font-size: clamp(38px, 5.2vw, 66px); line-height: 1.04; letter-spacing: -0.035em; }
.hero__title .accent { color: var(--accent); }
.hero__text { font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.82); max-width: 34ch; margin-top: 22px; line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__mail { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; font-size: 19px; font-weight: 600; color: #fff; }
.hero__mail-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--navy); transition: transform .5s var(--spring); }
.hero__mail-ic .icon { width: 22px; }
.hero__mail:hover .hero__mail-ic { transform: scale(1.12) rotate(-8deg); }
.hero__art { position: relative; }
.hero__art .illus { width: 100%; max-width: 580px; margin-inline: auto; overflow: visible; }
.hero--contact .hero__grid { min-height: clamp(400px, 52vh, 520px); }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; padding-block: 48px 24px; }
  .hero__art .illus { max-width: 460px; }
  .hero__text { max-width: 46ch; }
}

/* Headline word reveal */
.hero__title .w, .article__title .w { display: inline-block; overflow: clip; overflow-clip-margin: 0.14em; vertical-align: bottom; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .w > span, .article__title .w > span { display: inline-block; }
.js .hero__title .w > span, .js .article__title .w > span { animation: word-up 1s var(--ease-out) both; animation-delay: calc(var(--i) * 70ms + 120ms); }
@keyframes word-up { from { transform: translateY(105%) rotate(4deg); opacity: 0; } }
.js .hero__in { animation: fade-up .9s var(--ease-out) both; animation-delay: calc(var(--i) * 90ms + 200ms); }
@keyframes fade-up { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } }
.js .hero__art .illus { animation: art-in 1.3s var(--ease-out) both .25s; }
@keyframes art-in { from { opacity: 0; transform: translateY(30px) scale(.94); } }

/* Illustration motion */
.illus .card { filter: drop-shadow(0 18px 24px rgba(4,18,48,.28)); }
.band--tint .illus .card, .band--cream .illus .card, .band--white .illus .card, .section .illus .card { filter: drop-shadow(0 14px 20px rgba(10,37,84,.14)); }
.hero .illus .card { filter: drop-shadow(0 22px 30px rgba(2,10,30,.45)); }
.fl { animation: float 6s ease-in-out infinite; animation-delay: calc(var(--d, 0s) * -1); transform-box: fill-box; }
@keyframes float { 50% { transform: translateY(-12px); } }
.tw { animation: twinkle 3s ease-in-out infinite; animation-delay: var(--d, 0s); transform-box: fill-box; transform-origin: center; }
@keyframes twinkle { 50% { opacity: .2; transform: scale(.6); } }
.flow { stroke-dasharray: 6 10; animation: flow 1.6s linear infinite; animation-delay: var(--d, 0s); }
@keyframes flow { to { stroke-dashoffset: -32; } }
.node { transform-box: fill-box; transform-origin: center; animation: node 2.4s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes node { 50% { transform: scale(1.6); opacity: .6; } }
.orbit { transform-box: view-box; transform-origin: 300px 230px; animation: spin 60s linear infinite; }
.orbit--r { animation-duration: 90s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.rocket { animation: rocket 5s ease-in-out infinite; }
@keyframes rocket { 50% { translate: 8px -10px; } }
.rocket__flame { transform-box: fill-box; transform-origin: 50% 0; animation: flame .18s ease-in-out infinite alternate; }
@keyframes flame { to { transform: scaleY(.82) scaleX(.92); } }
.chain { animation: chain 4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes chain { 50% { transform: rotate(6deg) scale(1.04); } }
.dot { transform-box: fill-box; transform-origin: center; animation: dot 1.2s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes dot { 30% { transform: translateY(-5px); } 60% { transform: none; } }
.spark path { stroke-dasharray: 30; animation: spark 2.4s ease-in-out infinite; }
.spark path:nth-child(2) { animation-delay: .2s; } .spark path:nth-child(3) { animation-delay: .4s; }
@keyframes spark { 0%, 100% { stroke-dashoffset: 30; opacity: 0; } 30%, 70% { stroke-dashoffset: 0; opacity: 1; } }
.sun { transform-box: fill-box; transform-origin: center; animation: sun 8s ease-in-out infinite; }
@keyframes sun { 50% { transform: scale(1.04); } }
.write { opacity: 0; animation: write .8s var(--ease-out) forwards; animation-delay: calc(var(--d) + .6s); }
@keyframes write { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.pop { transform-box: fill-box; transform-origin: center; animation: pop .7s var(--spring) both; animation-delay: calc(var(--d) + .5s); }
@keyframes pop { from { opacity: 0; transform: scale(.6); } }
.letter { animation: letter 4s ease-in-out infinite; }
@keyframes letter { 50% { transform: translateY(-10px); } }

/* Scroll-linked parallax (progressive enhancement) */
@supports (animation-timeline: view()) {
  .js .hero__art[data-parallax] .illus { animation-name: art-in, parallax; animation-duration: 1.3s, auto; animation-timing-function: var(--ease-out), linear; animation-fill-mode: both, both; animation-timeline: auto, view(); animation-range: normal, exit 0% exit 100%; animation-delay: .25s, 0s; }
  @keyframes parallax { to { transform: translateY(80px) scale(.96); opacity: .4; } }
  .cta__art .illus, .split__art .illus, .duo-text__art .illus { animation: drift-in linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  @keyframes drift-in { from { transform: translateY(50px) rotate(-3deg) scale(.92); opacity: 0; } }
}

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); filter: blur(6px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out), filter .9s var(--ease-out); transition-delay: var(--delay, 0s); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js [data-stagger] > * { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--si, 0) * 90ms); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }

/* ---------- Services (home) ---------- */
.services { gap: 0; }
.service { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px clamp(18px, 3vw, 40px) 30px; border-radius: var(--r-lg); transition: background-color .4s; }
.service + .service::before { content: ""; position: absolute; left: 0; top: 10%; bottom: 10%; width: 1px; background: var(--line); }
.service .h3 { margin-top: 22px; font-size: 22px; }
.service p { color: var(--muted); margin-top: 10px; max-width: 30ch; }
.service__go { margin-top: 18px; color: var(--accent-deep); transition: transform .4s var(--ease-out); }
.service:hover { background: var(--surface); }
.service:hover .disc { transform: translateY(-6px) rotate(-6deg) scale(1.06); }
.service:hover .service__go { transform: translateX(8px); }
@media (max-width: 960px) { .services { grid-template-columns: 1fr; } .service + .service::before { left: 10%; right: 10%; top: 0; bottom: auto; width: auto; height: 1px; } }

/* spotlight */
[data-spot] { --mx: 50%; --my: 50%; }
.service::after, .qcard::after, .post-card::after, .form-card::after, .featured::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(47,111,219,.1), transparent 45%); opacity: 0; transition: opacity .4s; }
.service:hover::after, .qcard:hover::after, .post-card:hover::after, .form-card:hover::after, .featured:hover::after { opacity: 1; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: clamp(20px, 3vw, 40px); margin-top: clamp(32px, 4vw, 56px); counter-reset: s; }
.steps--big { grid-template-columns: repeat(3, 1fr); }
.steps--big .step { position: relative; padding-right: 32px; }
.steps--big .step:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 18px; width: 14px; height: 14px; border-right: 2px solid var(--navy); border-top: 2px solid var(--navy); transform: rotate(45deg); opacity: .5; }
.step__num { display: block; font-size: clamp(48px, 5.5vw, 68px); font-weight: 800; line-height: 1; color: var(--accent); letter-spacing: -0.04em; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.step p { color: var(--muted); margin-top: 8px; max-width: 34ch; }
.step__disc { display: inline-grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--navy); font-weight: 800; font-size: 17px; box-shadow: 0 8px 18px -8px rgba(226,162,31,.9); transition: transform .5s var(--spring); }
.step:hover .step__disc { transform: scale(1.1) rotate(-8deg); }
.steps--row { grid-template-columns: repeat(4, 1fr); }
.steps--row .step { position: relative; }
.step__top { display: flex; align-items: center; gap: 14px; }
.steps--row .step p { margin-top: 14px; }
.steps--row .step:not(:last-child)::after { content: ""; position: absolute; right: -8px; top: 20px; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-top: 2px solid var(--muted); transform: rotate(45deg); opacity: .45; }
.steps--divided .step:not(:last-child)::after { display: none; }
.steps--divided .step + .step { border-left: 1px solid var(--line); padding-left: clamp(16px, 2vw, 28px); }
.steps--line { grid-template-columns: repeat(3, 1fr); position: relative; }
.steps--line::before { content: ""; position: absolute; left: 26px; right: 10%; top: 26px; height: 2px; background: var(--accent); transform-origin: left; transform: scaleX(var(--line-p, 0)); transition: transform 1.6s var(--ease-out) .2s; }
.steps--line.is-in::before { --line-p: 1; }
.html-nojs .steps--line::before, html:not(.js) .steps--line::before { transform: scaleX(1); }
.steps--line .step { position: relative; }
.steps--line .step__disc { position: relative; z-index: 1; margin-bottom: 18px; outline: 6px solid var(--tint); }
@media (max-width: 960px) {
  .steps--big, .steps--row, .steps--line { grid-template-columns: 1fr 1fr; }
  .steps--big .step::after, .steps--row .step::after { display: none; }
  .steps--line::before { display: none; }
  .steps--divided .step + .step { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) { .steps--big, .steps--row, .steps--line { grid-template-columns: 1fr; } }

/* ---------- Home split duo ---------- */
.split-duo { display: grid; grid-template-columns: 1fr 1fr; }
.split-duo__panel { position: relative; display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 20px; padding: clamp(48px, 6vw, 80px) clamp(24px, 4vw, 56px); overflow: hidden; }
.split-duo__panel:first-child { padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.split-duo__panel:last-child { padding-right: max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.split-duo__copy p { color: var(--muted); margin: 16px 0 26px; }
.split-duo__art .illus { width: 100%; transition: transform .8s var(--ease-out); }
.split-duo__panel:hover .split-duo__art .illus { transform: scale(1.05) rotate(-2deg); }
@media (max-width: 1080px) { .split-duo { grid-template-columns: 1fr; } .split-duo__panel { padding-inline: var(--gutter) !important; } }
@media (max-width: 560px) { .split-duo__panel { grid-template-columns: 1fr; } .split-duo__art { max-width: 320px; } }

/* ---------- Features ---------- */
.feature .h4 { margin-top: 18px; }
.feature p { color: var(--muted); margin-top: 8px; font-size: 16px; }
.feature:hover .disc { transform: translateY(-6px) scale(1.05); }
.features--divided { gap: 0; }
.features--divided .feature { padding: 8px clamp(16px, 2vw, 28px); }
.features--divided .feature + .feature { border-left: 1px solid var(--line); }
.band--tint .features--divided .feature + .feature { border-color: #CCDDF4; }
.features--divided .feature:first-child { padding-left: 0; }
.features--center .feature { text-align: center; display: flex; flex-direction: column; align-items: center; }
.features--center .feature:first-child { padding-left: clamp(16px, 2vw, 28px); }
@media (max-width: 960px) {
  .features--divided { row-gap: 40px; }
  .features--divided .feature:nth-child(odd) { border-left: 0; padding-left: 0; }
  .features--center .feature:nth-child(odd) { padding-left: clamp(16px, 2vw, 28px); }
}
@media (max-width: 640px) { .features--divided .feature { border-left: 0 !important; padding-inline: 0 !important; } }

/* ---------- Duo text (link building) ---------- */
.duo-text { margin-top: 0; gap: 0; }
.duo-text__item { padding-inline: clamp(0px, 3vw, 48px); }
.duo-text__item:first-child { padding-left: 0; border-right: 1px solid var(--line); }
.duo-text__item p { color: var(--muted); margin-top: 16px; max-width: 52ch; }
.duo-text__art { max-width: 380px; margin: 28px auto 0; }
@media (max-width: 640px) { .duo-text__item { padding: 0 !important; border: 0 !important; } .duo-text__item + .duo-text__item { margin-top: 56px; } }

/* ---------- Question cards ---------- */
.qcard { position: relative; display: flex; gap: 18px; align-items: flex-start; background: #fff; padding: 26px; border-radius: var(--r-lg); border: 1px solid #F1E4CC; box-shadow: 0 10px 30px -20px rgba(10,37,84,.3); transition: transform .5s var(--ease-out), box-shadow .5s; }
.qcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.qcard p { color: var(--muted); font-size: 15.5px; margin-top: 6px; }

/* ---------- FAQ ---------- */
.faq { gap: 0; }
.faq__item { padding: 4px clamp(16px, 2.5vw, 36px); }
.faq__item:first-child { padding-left: 0; }
.faq__item + .faq__item { border-left: 1px solid var(--line); }
.band--cream .faq__item + .faq__item { border-color: #EEDFC4; }
.faq__item p { color: var(--muted); margin-top: 10px; }
@media (max-width: 960px) { .faq { grid-template-columns: 1fr; row-gap: 28px; } .faq__item { padding: 0 !important; border: 0 !important; } }

/* ---------- Brief (content) ---------- */
.brief { display: grid; grid-template-columns: .9fr 2fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.brief__cols { display: grid; grid-template-columns: repeat(4, 1fr); }
.brief__item { padding: 6px clamp(14px, 1.6vw, 24px); border-left: 1px solid #C9DAF3; }
.brief__ic { width: 34px; height: 34px; color: var(--navy); margin-bottom: 14px; transition: transform .5s var(--spring); }
.brief__item:hover .brief__ic { transform: scale(1.15) rotate(-6deg); }
.brief__item p { color: var(--muted); font-size: 15px; margin-top: 6px; }
@media (max-width: 960px) { .brief { grid-template-columns: 1fr; } .brief__cols { grid-template-columns: 1fr 1fr; row-gap: 28px; } }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(32px, 5vw, 80px); }
.split__art .illus { max-width: 460px; margin-left: auto; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { padding-block: clamp(56px, 7vw, 88px); overflow: hidden; }
.cta__grid { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(24px, 4vw, 64px); }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 30px; }
.cta__art .illus { max-width: 420px; margin-left: auto; }
.band--white { border-top: 1px solid var(--line); }
@media (max-width: 860px) { .cta__grid { grid-template-columns: 1fr; } .cta__art .illus { margin: 0 auto; max-width: 340px; } }

/* ---------- Section head ---------- */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.numbered { display: grid; gap: 26px; margin-top: 32px; }
.numbered li { display: flex; gap: 20px; align-items: flex-start; }
.numbered__n { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--navy); font-weight: 800; font-size: 22px; box-shadow: 0 8px 18px -8px rgba(226,162,31,.9); }
.numbered p { color: var(--muted); margin-top: 4px; }
.company { margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--line); }
.company > p { color: var(--muted); margin-top: 4px; }
.company__list { display: grid; gap: 14px; margin-top: 22px; font-size: 15.5px; }
.company__list li { display: flex; gap: 14px; align-items: center; }
.company__list .icon { color: var(--navy); width: 22px; }
.company__list a:hover { color: var(--blue); }
.form-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow-lg); margin-top: clamp(-120px, -8vw, -40px); z-index: 2; }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } .form-card { margin-top: 0; } }
.form { display: grid; gap: 18px; position: relative; z-index: 1; }
.form .h3 { margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.label { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 10px; display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; }
.chip-opt { position: relative; cursor: pointer; }
.chip-opt input { position: absolute; opacity: 0; pointer-events: none; }
.chip-opt span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--muted); transition: all .3s var(--ease-out); }
.chip-opt:hover span { border-color: var(--blue); color: var(--navy); }
.chip-opt input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; transform: scale(1.03); }
.chip-opt input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.field { position: relative; }
.field input, .field textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); padding: 24px 14px 8px; font-size: 16px; color: var(--ink); transition: border-color .25s, background-color .25s, box-shadow .25s; resize: vertical; }
.field textarea { min-height: 140px; padding-top: 28px; }
.field label { position: absolute; left: 15px; top: 16px; font-size: 16px; color: var(--muted); pointer-events: none; transform-origin: 0 0; transition: transform .25s var(--ease-out), color .25s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(47,111,219,.14); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-9px) scale(.78); color: var(--blue-deep); font-weight: 600; }
.field.has-error input, .field.has-error textarea { border-color: #C2410C; background: #FFF8F3; }
.field__err { display: block; color: #B23A0A; font-size: 13.5px; margin-top: 6px; min-height: 0; }
.field__err:empty { display: none; }
.field__count { position: absolute; right: 12px; bottom: 10px; font-size: 12px; color: var(--muted); }
.field--area .field__err:not(:empty) ~ .field__count { bottom: 34px; }
.form__note { font-size: 13.5px; color: var(--muted); text-align: center; }
.form__note.is-error { color: #B23A0A; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form.is-sending .btn { pointer-events: none; }
.form.is-sending .btn span::after { content: "…"; }
.form.is-sending .btn .btn__icon { animation: fly .9s var(--ease-out) infinite; }
@keyframes fly { 50% { transform: translate(6px, -6px); opacity: .4; } }
.form-success { text-align: center; padding: 48px 12px; position: relative; z-index: 1; }
.form-success p { color: var(--muted); margin-top: 10px; }
.form-success__ic { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--accent); color: var(--navy); margin-bottom: 22px; animation: pop .8s var(--spring) both; }
.form-success__ic .icon { width: 40px; height: 40px; stroke-width: 2.6; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .35s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.direct { padding-block: 44px; }
.direct__grid { display: grid; grid-template-columns: 140px 1fr auto; align-items: center; gap: clamp(20px, 4vw, 56px); }
.direct p { color: var(--muted); margin-top: 6px; }
.direct__mail { display: inline-block; margin-top: 8px; font-weight: 700; font-size: 19px; color: var(--blue-deep); }
.direct__mail:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 720px) { .direct__grid { grid-template-columns: 90px 1fr; } .direct__grid .btn { grid-column: 1 / -1; justify-self: start; } }

/* ---------- Blog ---------- */
.hero--blog .hero__grid { grid-template-columns: 1fr 1fr; min-height: clamp(420px, 56vh, 540px); }
.blog-search { display: flex; align-items: center; gap: 12px; margin-top: 30px; max-width: 440px; padding: 0 14px 0 18px; height: 56px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.18); transition: border-color .3s, background-color .3s, box-shadow .3s; }
.blog-search:focus-within { border-color: var(--accent); background: rgba(255,255,255,.12); box-shadow: 0 0 0 5px rgba(248,182,48,.15); }
.blog-search .icon { color: rgba(255,255,255,.7); }
.blog-search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: #fff; font-size: 16px; }
.blog-search input::placeholder { color: rgba(255,255,255,.6); }
.blog-search kbd { font: 600 12px var(--font); padding: 3px 8px; border-radius: 6px; border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.7); }
.featured { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; background: #fff; color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease-out); will-change: transform; }
.featured__cover { aspect-ratio: 16 / 8.5; }
.featured__body { padding: 22px 26px 26px; }
.featured__label { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-deep); }
.featured__label .icon { width: 16px; height: 16px; }
.featured__title { font-size: clamp(20px, 2vw, 26px); line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); margin-top: 8px; text-wrap: balance; }
.featured__meta { display: flex; align-items: center; gap: 14px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.featured__go { margin-left: auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: var(--navy); transition: transform .4s var(--spring); }
.featured:hover .featured__go { transform: rotate(-45deg) scale(1.1); }
@media (max-width: 900px) { .hero--blog .hero__grid { grid-template-columns: 1fr; } }

.tabs-bar { position: sticky; top: 70px; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.tabs-bar.is-stuck { box-shadow: 0 10px 30px -18px rgba(10,37,84,.35); }
.tabs-bar__inner { overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 92%, transparent); }
.tabs-bar__inner::-webkit-scrollbar { display: none; }
.tabs { position: relative; display: flex; gap: 4px; padding-block: 12px; width: max-content; }
.tab { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 12px; font-weight: 700; font-size: 15px; color: var(--muted); white-space: nowrap; transition: color .35s; }
.tab .icon { width: 19px; height: 19px; transition: transform .5s var(--spring); }
.tab em { font-style: normal; font-size: 12px; font-weight: 700; min-width: 24px; height: 22px; padding: 0 7px; display: inline-grid; place-items: center; border-radius: 99px; background: var(--tint); color: var(--blue-deep); transition: background-color .35s, color .35s; }
.tab:hover { color: var(--navy); }
.tab:hover .icon { transform: rotate(-10deg) scale(1.12); }
.tab.is-active { color: #fff; }
.tab.is-active em { background: var(--accent); color: var(--navy); }
.tabs__ink { position: absolute; z-index: 0; top: 12px; height: calc(100% - 24px); left: 0; width: 0; border-radius: 12px; background: var(--navy); box-shadow: 0 10px 20px -10px rgba(10,37,84,.7); transition: transform .55s var(--spring), width .55s var(--spring); }
html:not(.js) .tab.is-active { background: var(--navy); }
@media (max-width: 1080px) { .tabs-bar { top: 72px; } }

.blog-list { padding-top: clamp(40px, 5vw, 64px); }
.blog-list__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.blog-list__head .muted { margin-top: 6px; max-width: 60ch; }
.blog-list__count { color: var(--muted); font-size: 15px; }
.blog-list__count strong { color: var(--navy); font-size: 18px; }
.blog-list__more { display: flex; justify-content: center; margin-top: 48px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 28px); view-transition-name: post-grid; }
.post-grid--home { margin-top: clamp(28px, 3vw, 44px); }
@media (max-width: 1000px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { position: relative; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease-out), box-shadow .5s, border-color .3s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #C6D7F1; }
.post-card__link { display: flex; flex-direction: column; height: 100%; }
.post-card__cover { aspect-ratio: 16 / 10; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.post-card__meta { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--muted); }
.post-card__title { font-size: 19px; line-height: 1.28; font-weight: 800; letter-spacing: -0.015em; color: var(--navy); margin-top: 12px; text-wrap: balance; }
.post-card__excerpt { color: var(--muted); font-size: 15px; margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 18px; font-size: 13.5px; color: var(--muted); }
.post-card__go { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--tint); color: var(--navy); transition: background-color .3s, transform .45s var(--spring); }
.post-card__go .icon { width: 18px; }
.post-card:hover .post-card__go { background: var(--accent); transform: rotate(-45deg); }
.post-card[hidden] { display: none; }
.post-card--wide { grid-column: span 2; }
.post-card--wide .post-card__link { flex-direction: row; }
.post-card--wide .post-card__cover { aspect-ratio: auto; flex: 1.1; min-height: 100%; }
.post-card--wide .post-card__body { flex: 1; padding: 30px; }
.post-card--wide .post-card__title { font-size: clamp(22px, 2.2vw, 28px); }
.post-card--wide .post-card__excerpt { -webkit-line-clamp: 4; font-size: 16px; }
[data-active]:not([data-active="all"]) .post-card--wide, .is-searching .post-card--wide { grid-column: auto; }
[data-active]:not([data-active="all"]) .post-card--wide .post-card__link, .is-searching .post-card--wide .post-card__link { flex-direction: column; }
[data-active]:not([data-active="all"]) .post-card--wide .post-card__cover, .is-searching .post-card--wide .post-card__cover { aspect-ratio: 16 / 10; flex: none; min-height: 0; }
[data-active]:not([data-active="all"]) .post-card--wide .post-card__body, .is-searching .post-card--wide .post-card__body { padding: 20px 22px 22px; }
[data-active]:not([data-active="all"]) .post-card--wide .post-card__title, .is-searching .post-card--wide .post-card__title { font-size: 19px; }
@media (max-width: 620px) { .post-card--wide { grid-column: auto; } .post-card--wide .post-card__link { flex-direction: column; } .post-card--wide .post-card__cover { aspect-ratio: 16/10; flex: none; min-height: 0; } .post-card--wide .post-card__body { padding: 20px 22px 22px; } }
.post-card.is-entering { animation: card-in .6s var(--ease-out) both; animation-delay: calc(var(--n, 0) * 50ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }

.cover { position: relative; overflow: hidden; background: var(--tint); }
.cover svg:not(.cover__icon) { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 1.2s var(--ease-out); }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.cover__icon { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; padding: 14px; box-sizing: content-box; border-radius: 22px; background: rgba(255,255,255,.92); color: var(--navy); box-shadow: 0 14px 30px -12px rgba(10,37,84,.45); transition: transform .6s var(--spring); }
.cover--navy .cover__icon { background: var(--accent); }
.post-card:hover .cover svg, .post-card:hover .cover img, .featured:hover .cover svg { transform: scale(1.06); }
.post-card:hover .cover__icon, .featured:hover .cover__icon { transform: translateY(-4px) rotate(-8deg) scale(1.06); }
.cover .cv-a { animation: cv 12s ease-in-out infinite alternate; }
@keyframes cv { to { transform: translate(24px, 12px); } }

.chip { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 700; background: var(--tint); color: var(--blue-deep); white-space: nowrap; }
.chip--seo-articles, .chip--news { background: var(--navy); color: #fff; }
.chip--content-marketing { background: #FFEFD0; color: #7A4F00; }
.chip--guest-articles { background: var(--accent); color: var(--navy); }

.empty { text-align: center; padding: 56px 16px; display: grid; justify-items: center; gap: 10px; }
.empty p { color: var(--muted); max-width: 44ch; }
.empty .btn { margin-top: 10px; }

.guest__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.guest__grid .btn { margin-top: 28px; }
.guest__steps { display: grid; gap: 14px; }
.guest__steps li { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid #F1E4CC; border-radius: var(--r-lg); padding: 20px 22px; transition: transform .5s var(--ease-out), box-shadow .5s; }
.guest__steps li:hover { transform: translateX(8px); box-shadow: var(--shadow); }
.guest__steps p { color: var(--muted); font-size: 15px; margin-top: 4px; }
@media (max-width: 860px) { .guest__grid { grid-template-columns: 1fr; } }

/* ---------- Article ---------- */
.read-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 121; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
@supports (animation-timeline: scroll()) { .read-progress { animation: progress linear both; animation-timeline: scroll(root); } .single .progress { display: none; } }
.article__head { position: relative; isolation: isolate; color: #fff; background: var(--navy-deep); padding: clamp(48px, 7vw, 88px) 0 clamp(120px, 14vw, 180px); overflow: clip; }
.article__head--page { padding-bottom: clamp(56px, 7vw, 88px); }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,.7); margin-bottom: 20px; }
.crumbs .icon { width: 16px; }
.crumbs a:hover { color: var(--accent); }
.article__title { color: #fff; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.07; letter-spacing: -0.032em; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 26px; font-size: 15px; color: rgba(255,255,255,.78); }
.article__meta span { display: inline-flex; align-items: center; gap: 8px; }
.article__meta .icon { width: 18px; }
.article__meta strong { color: #fff; }
.avatar { display: grid !important; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--navy); font-weight: 800; }
.article__cover-wrap { max-width: calc(1060px + var(--gutter) * 2); margin-top: clamp(-150px, -12vw, -90px); position: relative; z-index: 2; }
.article__cover { aspect-ratio: 21 / 9; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.article__cover .cover__icon { width: 72px; height: 72px; margin: -36px 0 0 -36px; padding: 20px; border-radius: 28px; }
.article__layout { display: grid; grid-template-columns: 240px minmax(0, 720px); justify-content: center; gap: clamp(32px, 5vw, 72px); padding-block: clamp(48px, 6vw, 72px) var(--section); }
.article__aside { position: sticky; top: 110px; align-self: start; display: grid; gap: 32px; }
.toc__h { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 12px; }
.toc ol { display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; font-size: 14.5px; font-weight: 600; color: var(--muted); line-height: 1.35; transition: color .25s, border-color .25s; }
.toc a:hover { color: var(--navy); }
.toc a.is-active { color: var(--navy); border-left-color: var(--accent); }
.share__row { display: flex; gap: 10px; }
.share__btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--navy); transition: background-color .3s, transform .4s var(--spring); }
.share__btn:hover { background: var(--accent); transform: translateY(-3px); }
.share__btn .icon { width: 20px; }
@media (max-width: 960px) { .article__layout { grid-template-columns: 1fr; } .article__aside { position: static; order: 2; } }

.prose { font-size: 18px; line-height: 1.75; color: #24324F; }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-size: clamp(25px, 2.4vw, 31px); line-height: 1.18; font-weight: 800; letter-spacing: -0.022em; color: var(--navy); margin-top: 2em; scroll-margin-top: 140px; }
.prose h3 { font-size: 21px; line-height: 1.3; font-weight: 800; color: var(--navy); margin-top: 1.6em; }
.prose a { color: var(--blue-deep); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:hover { color: var(--navy); text-decoration-color: var(--accent); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before { content: ""; position: absolute; left: 6px; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.prose ol { list-style: decimal; }
.prose ol li::marker { font-weight: 800; color: var(--accent-deep); }
.prose li + li { margin-top: .5em; }
.prose blockquote { padding: 22px 26px; border-radius: var(--r-md); background: var(--cream); border-left: 4px solid var(--accent); font-size: 19px; font-weight: 600; color: var(--navy); }
.prose strong { color: var(--navy); }
.prose img { border-radius: var(--r-md); }
.prose > p:first-child { font-size: 20px; color: var(--navy); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px !important; }

.pager { margin-top: 48px; }
.pager .nav-links { display: flex; gap: 8px; justify-content: center; }
.pager .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); font-weight: 700; }
.pager .current { background: var(--navy); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--navy-deep); color: rgba(255,255,255,.82); overflow: hidden; isolation: isolate; }
.site-footer__glow { position: absolute; inset: auto -10% -60% auto; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(47,111,219,.35), transparent 65%); z-index: -1; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 64px 48px; }
.site-footer__brand p { margin-top: 18px; max-width: 30ch; color: rgba(255,255,255,.7); }
.site-footer__h { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: 18px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer ul a, .site-footer__contact a { position: relative; transition: color .25s; }
.site-footer ul a:hover, .site-footer__contact a:hover { color: #fff; }
.site-footer ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
.site-footer ul a:hover::after { transform: scaleX(1); transform-origin: left; }
.site-footer__contact { display: grid; gap: 14px; align-content: start; }
.site-footer__contact > a, .site-footer__contact > span { display: flex; gap: 12px; align-items: flex-start; }
.site-footer__contact .icon { width: 20px; margin-top: 3px; color: #fff; }
.site-footer__base { display: flex; justify-content: space-between; gap: 20px; padding-block: 22px; border-top: 1px solid var(--line-dark); font-size: 14px; color: rgba(255,255,255,.6); }
.to-top { display: inline-flex; align-items: center; gap: 8px; }
.to-top .icon { width: 16px; transform: rotate(-90deg); transition: transform .4s var(--ease-out); }
.to-top:hover { color: #fff; } .to-top:hover .icon { transform: rotate(-90deg) translateX(4px); }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 300; translate: -50% 0; background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 15px; box-shadow: var(--shadow-lg); transition: opacity .35s, transform .45s var(--spring); }
@starting-style { .toast { opacity: 0; transform: translateY(20px) scale(.9); } }

/* ---------- View transitions ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: var(--ease-out); }
::view-transition-old(root) { animation-name: vt-out; }
::view-transition-new(root) { animation-name: vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-14px); filter: blur(4px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }
::view-transition-group(site-header), ::view-transition-group(logo) { animation-duration: 0s; }
::view-transition-old(post-grid) { animation: vt-grid-out .25s ease both; }
::view-transition-new(post-grid) { animation: vt-grid-in .45s var(--ease-out) both; }
@keyframes vt-grid-out { to { opacity: 0; transform: scale(.985); } }
@keyframes vt-grid-in { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-stagger] > * { opacity: 1; transform: none; filter: none; }
  .write { opacity: 1; }
  @view-transition { navigation: none; }
}
@media print { .site-header, .site-footer, .progress, .read-progress, .tabs-bar, .cta { display: none !important; } .js [data-reveal], .js [data-stagger] > * { opacity: 1 !important; transform: none !important; filter: none !important; } }
