/* =========================================================================
   DIRECTORIAL — main.css
   1. Shared styles (every page)   2. Page sections (marked by file name)
   ========================================================================= */

/* =========================================================================
   DIRECTORIAL DESIGN SYSTEM (shared by all 12 pages — keep in sync)
   Layout, type and interactions follow the approved reference (Agntix "AI image"
   demo); colours come from the Directorial logo.
   1 Tokens  2 Base  3 Layout  4 Type  5 Buttons  6 Header  7 Footer
   8 Components  9 Motion  10 Utilities
   ========================================================================= */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Logo colours */
  --amber: #FFC300;
  --orange: #FF6A02;
  --red: #FD0A01;
  --grad: linear-gradient(230deg, #FFC300 6.7%, #FF6A02 48%, #FD0A01 90.96%);
  --grad-text: linear-gradient(139deg, #FFC300 0%, #FF6A02 49%, #FD0A01 100%);
  --grad-border: linear-gradient(304deg, #FFC300 23.79%, #FF6A02 47%, #FD0A01 85.86%);

  /* Neutrals (reference palette) */
  --navy: #08041D;          /* hero, brand strip, footer */
  --navy-2: #201C35;        /* pills on navy */
  --navy-3: #17132A;
  --black: #141414;         /* headings */
  --body: #2E2D2D;          /* body text */
  --muted: rgba(0, 0, 0, .6);
  --line: rgba(0, 0, 0, .08);
  --line-2: rgba(0, 0, 0, .1);
  --soft: #F6F6F9;          /* soft panels */
  --white: #FFFFFF;
  --cream: #FFF6BF;
  --peach: #FFE3CC;

  --font: "Inter", "Segoe UI", Arial, sans-serif;
  --radius: 20px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1200px;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 15px/1.75 var(--font); color: var(--body); background: var(--white); overflow-x: hidden; }
main { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul { margin: 0; padding: 0; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 400; background: var(--black); color: #fff; padding: .7rem 1rem; border-radius: 10px; }
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 3. Layout ---------------------------------------------------------------- */
.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
.section { position: relative; padding-block: clamp(80px, 9vw, 130px); }
.section--soft { background: var(--soft); }
.section--navy { background: var(--navy); color: #fff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 80px); align-items: center; }
.grid { display: grid; gap: 30px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .grid--4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* 4. Type ------------------------------------------------------------------ */
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--black); font-weight: 700; letter-spacing: -.04em; line-height: 1.15; }
.section--navy h1, .section--navy h2, .section--navy h3, .on-navy h1, .on-navy h2, .on-navy h3 { color: #fff; }
.title-xl { font-size: clamp(3rem, 1.4rem + 6vw, 7.5rem); font-weight: 600; line-height: .9; letter-spacing: -.04em; }
.title { font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.4rem); text-transform: capitalize; }
.title--60 { font-size: clamp(2.2rem, 1.3rem + 3vw, 3.75rem); }
.title-sm { font-size: 20px; letter-spacing: -.02em; }
.lead { font-size: 18px; line-height: 1.56; color: var(--black); }
.muted { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; font-size: 14px; font-weight: 600; line-height: 1; text-transform: uppercase;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.eyebrow--center { display: flex; justify-content: center; }
.eyebrow__hex { width: 14px; height: 16px; background: var(--grad-text); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); animation: hex-spin 6s linear infinite; }
.text-center { text-align: center; }
.section-head { margin-bottom: 60px; }
.section-head--center { text-align: center; max-width: 820px; margin-inline: auto; }
.section-head--split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }
.section-head--split p { color: var(--muted); font-size: 16px; font-weight: 500; margin: 0; }
@media (max-width: 900px) { .section-head--split { grid-template-columns: 1fr; } }
/* Underline that draws in on hover (reference: .tp-line-black) */
.line-hover { background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
  background-position: 100% 100%, 0 100%; background-repeat: no-repeat; background-size: 0 1px, 0 1px; transition: background-size .3s linear; }
.line-hover:hover, a:hover > .line-hover, a:focus-visible > .line-hover, .card-hover:hover .line-hover { background-size: 0 1px, 100% 1px; }

/* 5. Buttons --------------------------------------------------------------- */
/* Rotating light around the button edge + grow on hover (reference: .animated-border-box) */
.glow-border { position: relative; display: inline-block; border-radius: var(--radius-sm); overflow: hidden; line-height: 0; z-index: 0; transition: transform .4s var(--ease); }
.glow-border::before { content: ""; position: absolute; left: 50%; top: 50%; width: 2000px; height: 2000px; z-index: -2;
  background-image: conic-gradient(transparent, rgba(255,255,255,.95), transparent 25%); transform: translate(-50%, -50%); animation: rotate 4s linear infinite; }
.glow-border--dark::before { background-image: conic-gradient(var(--black), transparent, var(--black) 25%); }
.glow-border:hover { transform: scale(1.06); }
.glow-border.w-100 { display: block; }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin: 1px; border: 0; border-radius: var(--radius-sm); cursor: pointer;
  font: 600 17px/1 var(--font); letter-spacing: -.01em; color: #fff; padding: 22px 30px 20px; transition: background .3s, color .3s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--grad { background: var(--grad); }
.btn--light { background: #fff; color: var(--black); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--light:hover { background: var(--black); color: #fff; }
.btn--dark { background: var(--black); }
.btn--dark:hover { background: #2a2a2a; }
.btn--glass { background: rgba(41, 38, 54, .85); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,246,191,.1); }
.btn--sm { font-size: 16px; padding: 14px 24px 13px; }
.glow-border.w-100 .btn { width: calc(100% - 2px); }
.circle-btn { width: 48px; height: 48px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--black); background: transparent; cursor: pointer; transition: .3s var(--ease); }
.circle-btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.circle-btn:hover { background: var(--black); color: #fff; border-color: var(--black); }
.circle-btn:hover svg { transform: rotate(-45deg); }
.on-navy .circle-btn { color: #fff; border-color: rgba(255,255,255,.2); }
.on-navy .circle-btn:hover { background: #fff; color: var(--black); }
.text-link { font-weight: 600; color: var(--black); text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--orange); }

/* 6. Header ---------------------------------------------------------------- */
.site-header { position: fixed; inset: 30px 0 auto; z-index: 100; transition: top .4s var(--ease); }
.site-header__bar { position: relative; display: flex; align-items: center; gap: 20px; padding: 10px 10px 10px 14px; border-radius: 16px;
  background: rgba(8, 4, 29, .2); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .4s, border-color .4s, box-shadow .4s; }
.site-header.is-scrolled { top: 12px; }
.site-header.is-scrolled .site-header__bar { background: rgba(255,255,255,.92); border-color: var(--line); box-shadow: 0 10px 30px -18px rgba(8,4,29,.35); }
.brand { flex: none; display: block; padding: 6px 12px; border-radius: 10px; background: #fff; }
.brand img { width: 112px; height: auto; animation: logo-in .9s var(--ease) .15s both; transition: transform .4s var(--ease); }
.brand:hover img { transform: translateY(-2px) scale(1.03); }
.primary-nav { margin-inline: auto; }
.primary-nav > ul { list-style: none; display: flex; align-items: center; gap: 34px; }
.primary-nav > ul > li > a, .mega-toggle { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 14px 0; background: none; border: 0; cursor: pointer;
  font: 600 16px/1 var(--font); letter-spacing: -.01em; color: #fff; transition: color .3s; }
.site-header.is-scrolled .primary-nav > ul > li > a, .site-header.is-scrolled .mega-toggle { color: var(--black); }
.primary-nav > ul > li > a::after, .mega-toggle::after { content: ""; position: absolute; left: 0; bottom: 6px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.primary-nav > ul > li > a:hover::after, .primary-nav > ul > li > a[aria-current="page"]::after, .mega-toggle:hover::after, .mega-toggle[data-current]::after { transform: scaleX(1); transform-origin: left; }
.mega-toggle svg { width: 14px; height: 14px; transition: transform .3s; }
.mega-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
/* Mega menu drops with a perspective tilt (reference: .tp-megamenu-wrapper) */
.mega { position: absolute; left: 0; right: 0; top: calc(100% + 10px); padding: 34px 34px 26px; border-radius: 14px; background: rgba(255,255,255,.95); backdrop-filter: blur(40px);
  box-shadow: 0 2px 6px rgba(19,19,22,.1); opacity: 0; visibility: hidden; transform: perspective(300px) rotateX(-18deg); transform-origin: center top; transition: .25s var(--ease); }
.mega.is-open { opacity: 1; visibility: visible; transform: perspective(300px) rotateX(0); }
.mega__cols { display: grid; grid-template-columns: repeat(4, 1fr) 1.15fr; gap: 10px 26px; }
.mega__title { font-size: 13px; font-weight: 600; color: #111013; text-transform: uppercase; letter-spacing: 0; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid #F3F3F6; }
.mega ul { list-style: none; display: grid; gap: 2px; }
.mega a { display: flex; justify-content: space-between; gap: 8px; padding: 5px 8px; border-radius: 8px; font-size: 14px; font-weight: 600; color: #636368; transition: .2s; }
.mega a small { color: #A2A2A8; font-weight: 500; }
.mega a:hover { background: #F8F8FB; color: var(--black); }
.mega__feature { position: relative; border-radius: 12px; overflow: hidden; min-height: 220px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; }
.mega__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .9s var(--ease); }
.mega__feature::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, transparent, rgba(8,4,29,.85)); }
.mega__feature > * { position: relative; }
.mega__feature:hover img { transform: scale(1.08); }
.mega__feature strong { font-size: 20px; letter-spacing: -.02em; line-height: 1.2; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 12px; border: 0; background: transparent; color: #fff; cursor: pointer; transition: .3s; }
.site-header.is-scrolled .icon-btn { color: var(--black); }
.icon-btn:hover { background: rgba(255,255,255,.12); }
.site-header.is-scrolled .icon-btn:hover { background: var(--soft); }
.icon-btn svg { width: 22px; height: 22px; }
.menu-toggle { display: none; }
/* Off-canvas menu (mobile) */
.offcanvas { position: fixed; inset: 0 0 0 auto; z-index: 150; width: min(420px, 90vw); padding: 30px; background: #fff; overflow-y: auto;
  clip-path: inset(0 0 0 100%); visibility: hidden; transition: clip-path .5s var(--ease), visibility .5s; }
.offcanvas.is-open { clip-path: inset(0); visibility: visible; }
.offcanvas__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.offcanvas__top img { width: 130px; }
.offcanvas .icon-btn { color: var(--black); background: var(--soft); border-radius: 50%; }
.offcanvas h2 { font-size: 34px; }
.offcanvas nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 600; color: var(--black); }
.offcanvas nav a:hover { color: var(--orange); padding-left: 6px; }
.offcanvas details summary { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 600; color: var(--black); cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.offcanvas details summary::-webkit-details-marker { display: none; }
.offcanvas details nav a { font-size: 15px; padding: 8px 0 8px 14px; }
.offcanvas__cta { margin-top: 30px; }
.backdrop { position: fixed; inset: 0; z-index: 140; background: rgba(8,4,29,.55); opacity: 0; visibility: hidden; transition: .4s; }
.backdrop.is-open { opacity: 1; visibility: visible; }
@media (max-width: 1100px) {
  .primary-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-actions { margin-left: auto; }
}

/* 7. Footer (reference: .ai-footer-area) ----------------------------------- */
/* ---- Submit-your-brand CTA (above footer) ---- */
.brand-cta { padding: 40px 0 120px; }
.brand-cta__card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(40px, 5vw, 80px);
  border-radius: 30px; background: var(--grad); overflow: hidden; isolation: isolate; }
.brand-cta__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 15% 20%, rgba(255,255,255,.35), transparent 45%); }
.brand-cta__copy { max-width: 760px; }
.brand-cta__eyebrow { display: inline-block; margin-bottom: 16px; padding: 6px 14px; border-radius: 8px; background: rgba(8,4,29,.12); color: var(--navy); font-weight: 600; font-size: 14px; }
.brand-cta__title { margin: 0; color: var(--navy); font-size: clamp(30px, 2.4vw + 14px, 54px); line-height: 1.08; letter-spacing: -.04em; }
.brand-cta .glow-border { flex: none; }
.brand-cta__hex { position: absolute; z-index: -1; aspect-ratio: 1 / 1.1547; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: rgba(255,255,255,.18); animation: cta-float 9s ease-in-out infinite; }
.brand-cta__hex--1 { width: 180px; right: 22%; top: -70px; }
.brand-cta__hex--2 { width: 90px; right: 6%; bottom: -30px; background: rgba(8,4,29,.12); animation-delay: -2s; }
.brand-cta__hex--3 { width: 46px; right: 34%; bottom: 24px; background: rgba(255,255,255,.4); animation-delay: -4s; }
.brand-cta__hex--4 { width: 260px; left: -90px; bottom: -150px; background: rgba(255,255,255,.12); animation: hex-spin 30s linear infinite; }
.brand-cta__hex--5 { width: 28px; left: 46%; top: 30px; background: var(--navy); opacity: .25; animation-delay: -6s; }
@keyframes cta-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(30deg); } }
@media (max-width: 860px) { .brand-cta__card { flex-direction: column; align-items: flex-start; } .brand-cta { padding-bottom: 80px; } }
.site-footer { position: relative; background: var(--navy); color: rgba(255,255,255,.6); overflow: hidden; isolation: isolate; }
.site-footer__glow { position: absolute; right: 12%; bottom: -30%; width: 680px; z-index: -1; opacity: .8; pointer-events: none; }
.site-footer__pattern { position: absolute; inset: 0; z-index: -1; background: url("../images/logo-elements/hex-pattern.svg") center / 300px repeat; opacity: .35; pointer-events: none; }
.footer-main { display: grid; grid-template-columns: 1.45fr .7fr .9fr 1fr; gap: 40px; padding: 110px 0 80px; }
.footer-title { color: #fff; font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; margin-bottom: 40px; }
.footer-search label { display: block; color: #fff; font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.footer-search__row { position: relative; }
.footer-search__row > svg { position: absolute; left: 0; top: 16px; width: 18px; height: 18px; color: rgba(255,255,255,.5); }
.footer-search input { width: 100%; height: 52px; padding: 0 44px 0 30px; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.15); color: #fff; font: 500 16px var(--font); letter-spacing: -.02em; transition: border-color .3s; }
.footer-search input::placeholder { color: rgba(255,255,255,.4); }
.footer-search input:focus { outline: none; border-color: #fff; }
.footer-search button { position: absolute; right: 0; top: 8px; width: 36px; height: 36px; border: 0; background: none; color: #fff; cursor: pointer; transition: transform .3s; }
.footer-search button:hover { transform: translateX(4px); }
.footer-search button svg { width: 20px; height: 20px; }
.footer-col h2 { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin: 25px 0 25px; }
.footer-col ul { list-style: none; display: grid; gap: 12px; }
.footer-col a { font-size: 16px; font-weight: 500; letter-spacing: -.02em; line-height: 1.3; transition: color .3s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 25px 0; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom__logo { display: inline-block; padding: 6px 12px; border-radius: 10px; background: #fff; }
.footer-bottom__logo img { width: 120px; }
.footer-bottom p { margin: 0; color: #fff; font-size: 16px; font-weight: 500; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom nav a { color: #fff; font-weight: 500; }
.footer-bottom nav a:hover { color: var(--amber); }
@media (max-width: 1000px) { .footer-main { grid-template-columns: 1fr 1fr; } .footer-main > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; padding-top: 80px; } }

.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: #fff; color: var(--black); box-shadow: 0 6px 20px rgba(8,4,29,.18); opacity: 0; transform: translateY(16px); pointer-events: none; transition: .35s var(--ease); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--black); color: #fff; }
.to-top svg { width: 18px; height: 18px; }

/* Loader: hexagons fly in from three sides (top / left / right), lock together, then two navy curtains open */
.loader { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; overflow: hidden; transition: visibility 0s linear 1s; }
.loader__curtain { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--navy); transition: transform .9s cubic-bezier(.77, 0, .18, 1); }
.loader__curtain--top { top: 0; }
.loader__curtain--bottom { bottom: 0; }
.loader__inner { position: relative; display: grid; place-items: center; gap: 22px; transition: opacity .45s var(--ease), transform .6s var(--ease); }
.loader__mark { width: 150px; overflow: visible; }
.loader__hex { fill: none; stroke: url(#ldr-grad); stroke-width: 7; stroke-linejoin: round; transform-box: fill-box; transform-origin: center; opacity: 0;
  animation: ldr-in 1s cubic-bezier(.2, .9, .25, 1.15) forwards, ldr-lock .5s ease-out 1.25s forwards; }
.loader__hex--top { --from: translate(0, -70vh) rotate(-240deg) scale(.4); animation-delay: 0s, 1.25s; }
.loader__hex--left { --from: translate(-70vw, 30vh) rotate(200deg) scale(.4); animation-delay: .15s, 1.25s; }
.loader__hex--right { --from: translate(70vw, 30vh) rotate(-200deg) scale(.4); animation-delay: .3s, 1.25s; }
@keyframes ldr-in { 0% { opacity: 0; transform: var(--from); } 25% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes ldr-lock { 0% { opacity: 1; transform: none; stroke-width: 7; } 45% { transform: scale(1.12); stroke-width: 9; } 100% { opacity: 1; transform: none; stroke-width: 7; } }
.loader__logo { padding: 10px 16px; border-radius: 12px; background: #fff; opacity: 0; transform: translateY(14px); animation: ldr-logo .5s var(--ease) 1.15s forwards; }
.loader__logo img { width: 150px; }
@keyframes ldr-logo { to { opacity: 1; transform: none; } }
.loader.is-done { visibility: hidden; pointer-events: none; }
.loader.is-done .loader__curtain--top { transform: translateY(-100%); }
.loader.is-done .loader__curtain--bottom { transform: translateY(100%); }
.loader.is-done .loader__inner { opacity: 0; transform: scale(.85); }

/* 8. Components ------------------------------------------------------------ */
/* Inner-page hero (navy band) */
.page-hero { position: relative; padding: 200px 0 110px; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.page-hero__fade { position: absolute; inset: auto 0 0; height: 40%; z-index: -1; background: linear-gradient(transparent, var(--navy)); }
.page-hero h1 { color: #fff; font-size: clamp(2.6rem, 1.5rem + 4vw, 5.5rem); font-weight: 600; line-height: .95; letter-spacing: -.04em; max-width: 15ch; margin-bottom: 24px; }
.page-hero p { color: rgba(255,255,255,.7); font-size: 18px; max-width: 58ch; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; margin-bottom: 25px; border-radius: 28px; background: rgba(255,255,255,.08); backdrop-filter: blur(10px);
  color: #fff; font-size: 13px; font-weight: 600; line-height: 1; text-transform: uppercase; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; }
.crumbs li + li::before { content: ""; display: inline-block; width: 6px; height: 7px; margin-right: 8px; background: var(--grad-text); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); animation: hex-spin 6s linear infinite; }
.crumbs a:hover { color: var(--amber); }

/* Category tile — label slides in on hover (reference: .ai-project-item) */
.tile { position: relative; display: block; overflow: hidden; background: var(--navy); }
.tile img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 475 / 341; transition: transform .9s var(--ease); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.1); }
.tile__label { position: absolute; left: 40px; bottom: 40px; max-width: calc(100% - 60px); overflow: hidden; display: grid; justify-items: start; }
.tile__sub, .tile__name { background: #fff; font-weight: 600; line-height: 1; transform: translateX(-101%); transition: transform .3s; }
.tile__sub { color: #494949; font-size: 12px; text-transform: uppercase; padding: 13px 20px; transition-delay: 50ms; }
.tile__name { color: var(--black); font-size: 22px; letter-spacing: -.02em; padding: 20px; margin-top: 2px; }
.tile:hover .tile__sub, .tile:hover .tile__name, .tile:focus-visible .tile__sub, .tile:focus-visible .tile__name, .tile.is-static .tile__sub, .tile.is-static .tile__name { transform: none; transition-duration: .5s; }
/* touch devices can't hover: show labels */
@media (hover: none) { .tile__sub, .tile__name { transform: none; } }
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } .tile__label { left: 16px; bottom: 16px; } .tile__name { font-size: 16px; padding: 14px; } }
@media (max-width: 520px) { .tile-grid { grid-template-columns: 1fr; } }

/* Card with border + zooming thumb (reference: .ai-blog-item) — used for posts and listings */
.card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.card:hover { box-shadow: 0 30px 50px -30px rgba(8,4,29,.25); }
.card__thumb { border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.card__thumb img { width: 100%; height: 250px; object-fit: cover; border-radius: var(--radius); transition: transform .9s var(--ease); }
.card:hover .card__thumb img { transform: scale(1.1) rotate(-2deg); }
.card__thumb--logo { display: grid; place-items: center; height: 250px; }
.card__thumb--logo img { width: 78%; height: 70%; object-fit: contain; border-radius: 0; }
.card__thumb--logo.is-dark { background: var(--navy); }
.card__thumb--logo.is-mono img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 28px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.card__tag { display: inline-block; align-self: flex-start; margin-bottom: 12px; font-size: 14px; font-weight: 600; line-height: 1; letter-spacing: -.02em; text-transform: uppercase;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; position: relative; z-index: 2; }
.card__title { font-size: 22px; font-weight: 700; line-height: 1.4; letter-spacing: -.02em; margin-bottom: 18px; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__text { color: var(--muted); font-size: 15px; margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; font-weight: 600; color: rgba(0,0,0,.45); }
.card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.card__meta span:not(:last-child)::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: rgba(0,0,0,.4); margin: 0 11px; }
.card__meta svg { width: 15px; height: 15px; }

/* Icon circle that inverts on hover (reference: .ai-about-list / .ai-choose-icon) */
.ic-circle { flex: none; width: 60px; height: 60px; display: inline-grid; place-items: center; border-radius: 50%; background: rgba(0,0,0,.08); color: var(--black); transition: .3s var(--ease); }
.ic-circle svg { width: 22px; height: 22px; }
.ic-circle img { width: 30px; height: 30px; }
.ic-row:hover .ic-circle { background: var(--black); color: #fff; transform: scale(1.1); }
.ic-row:hover .ic-circle img { filter: brightness(0) invert(1); }

/* Small pill with links (reference: .ai-choose-bottom-text) */
.note-pill { display: inline-block; padding: 5px 20px; border: 1px solid var(--line-2); border-radius: 20px; color: rgba(0,0,0,.7); font-size: 15px; font-weight: 500; }
.note-pill a { color: var(--black); font-weight: 600; text-decoration: underline; }
.note-pill a:hover { color: var(--orange); }

/* Accordion with +/− marker on the left (reference: .ai-faq-accordion-wrap) */
.acc-item { position: relative; padding: 0 0 15px 40px; }
.acc-item:not(:last-child) { border-bottom: 1px solid var(--line-2); }
.acc-item h3 { margin: 0; font-size: 0; }
.acc-btn { position: relative; width: 100%; padding: 25px 0 13px; border: 0; background: none; text-align: left; cursor: pointer; font: 600 20px/1.25 var(--font); letter-spacing: -.02em; color: var(--black); }
.acc-btn::before, .acc-btn::after { content: ""; position: absolute; left: -33px; top: 34px; background: var(--black); border-radius: 2px; transition: transform .4s var(--ease); }
.acc-btn::before { width: 2px; height: 14px; margin-left: 6px; margin-top: -6px; }
.acc-btn::after { width: 14px; height: 2px; }
.acc-btn[aria-expanded="true"]::before { transform: rotate(90deg); }
.acc-panel p { color: var(--muted); font-size: 15px; font-weight: 500; letter-spacing: -.02em; line-height: 1.6; margin: 0; padding-bottom: 6px; }

/* Text marquee with outlined giant type (reference: .ai-text-slider) */

/* Empty states */
.empty { text-align: center; padding: 60px 24px; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.empty img { width: 130px; margin: 0 auto 18px; }

/* Forms */
.field { display: grid; gap: 8px; }
.field label { font-size: 15px; font-weight: 600; color: var(--black); }
.input, .select, .textarea { width: 100%; min-height: 54px; padding: 14px 18px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; color: var(--black); font: 500 15px var(--font); transition: border-color .3s, box-shadow .3s; }
.textarea { min-height: 150px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,106,2,.14); }
.field-error { min-height: 1.2em; color: #B42318; font-size: 13px; font-weight: 500; }
[aria-invalid="true"] { border-color: #B42318 !important; }

/* 9. Motion ---------------------------------------------------------------- */
/* Fade-up on scroll (reference: .tp_fade_anim) */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-50px); }
.js [data-reveal="right"] { transform: translateX(50px); }
.js [data-reveal="zoom"] { transform: scale(.92); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.logo-el { position: absolute; pointer-events: none; z-index: 0; }
.float-slow { animation: float 9s ease-in-out infinite; }
.float-med { animation: float 6s ease-in-out infinite reverse; }
.spin-slow { animation: spin 40s linear infinite; }
.pulse { animation: pulse 3s linear infinite; }
@keyframes rotate { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes hex-spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-16px) rotate(6deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes logo-in { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes logo-pulse { 50% { transform: scale(1.04); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,106,2,.45); } 70% { box-shadow: 0 0 0 22px rgba(255,106,2,0); } 100% { box-shadow: 0 0 0 0 rgba(255,106,2,0); } }

/* 10. Utilities ------------------------------------------------------------ */
.mt-30 { margin-top: 30px; }
.mt-60 { margin-top: 60px; }
.center-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 50px; }
.hidden { display: none !important; }

@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] { opacity: 1; transform: none; }
}

/* =========================================================================
   index.html
   ========================================================================= */
/* Hero ------------------------------------------------------------------- */
.hero { position: relative; min-height: 950px; padding-top: 180px; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; }
.hero h1 { color: #fff; margin-bottom: 40px; }
.hero__gem { display: inline-block; width: .8em; height: .8em; vertical-align: -.06em; }
.hero-search { display: grid; grid-template-columns: auto 1fr 190px auto; align-items: center; gap: 6px; max-width: 640px; padding: 6px; margin-bottom: 26px;
  border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); }
.hero-search > svg { width: 20px; height: 20px; margin-left: 12px; color: rgba(255,255,255,.7); }
.hero-search input, .hero-search select { min-width: 0; height: 50px; border: 0; background: transparent; color: #fff; font: 500 15px var(--font); padding: 0 10px; }
.hero-search input::placeholder { color: rgba(255,255,255,.55); }
.hero-search select { border-left: 1px solid rgba(255,255,255,.15); cursor: pointer; }
.hero-search select option { color: var(--black); }
.hero-search input:focus, .hero-search select:focus { outline: none; }
.hero-search:focus-within { border-color: rgba(255,195,0,.6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
/* Two image columns drifting up and down (reference hero slider) */
.hero__slider { position: relative; height: 770px; margin-top: -180px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; overflow: hidden; }
.hero__slider::after { content: ""; position: absolute; inset: -2px 0; pointer-events: none;
  background: linear-gradient(var(--navy) 1%, rgba(8,4,29,0) 24%, rgba(8,4,29,0) 68%, var(--navy) 98%); }
.hero__col { display: grid; gap: 12px; align-content: start; animation: col-up 30s ease-in-out infinite alternate; }
.hero__col--down { animation-name: col-down; }
.hero__col img { width: 100%; height: 300px; object-fit: cover; border: 1px solid rgba(255,255,255,.08); }
@keyframes col-up { from { transform: translateY(0); } to { transform: translateY(calc(-100% + 770px)); } }
@keyframes col-down { from { transform: translateY(calc(-100% + 770px)); } to { transform: translateY(0); } }
@media (max-width: 1000px) {
  .hero { min-height: 0; padding: 150px 0 0; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__slider { margin-top: 20px; height: 420px; }
  @keyframes col-up { to { transform: translateY(calc(-100% + 420px)); } }
  @keyframes col-down { from { transform: translateY(calc(-100% + 420px)); } }
}
@media (max-width: 640px) { .hero-search { grid-template-columns: auto 1fr; } .hero-search select { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(255,255,255,.15); } .hero-search .btn { grid-column: 1 / -1; } }

/* Brand strip ----------------------------------------------------------- */
.brand-strip { background: var(--navy); padding: 0 0 60px; overflow: hidden; }
.brand-strip__track { display: flex; gap: 8px; width: max-content; animation: marquee 90s linear infinite; }
.brand-strip:hover .brand-strip__track, .brand-strip:focus-within .brand-strip__track { animation-play-state: paused; }
.brand-pill { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 10px; background: var(--navy-2); color: #fff; font-size: 15px; font-weight: 600; white-space: nowrap; transition: background .3s; }
.brand-pill i { width: 12px; height: 14px; background: var(--grad); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.brand-pill:hover { background: #2E2950; }

/* Why choose us ----------------------------------------------------------- */
.choose { padding-top: 150px; overflow: hidden; }
.choose__shape { position: absolute; left: 50%; top: 40px; width: 520px; transform: translateX(-50%); opacity: .7; z-index: -1; }
.choose .title { max-width: 1100px; margin-inline: auto; }
.choose__inline { display: inline-block; width: 50px; height: 50px; vertical-align: -6px; }
.choose__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 45px; }
.choose__row .ic-row { display: flex; gap: 20px; align-items: center; }
.choose__row p { margin: 0; color: var(--black); font-size: 18px; font-weight: 700; line-height: 1.4; }
@media (max-width: 900px) { .choose__row { grid-template-columns: 1fr; } }

/* About ------------------------------------------------------------------- */
.about { padding-top: 40px; }
.about__thumbs { position: relative; min-height: 560px; }
.about__thumb { position: absolute; width: 62%; aspect-ratio: 384 / 400; object-fit: cover; }
.about__thumb--1 { left: 0; top: 120px; }
.about__thumb--2 { left: 36%; top: 0; box-shadow: 0 30px 60px -30px rgba(8,4,29,.5); }
.about__list { list-style: none; margin: 40px 0 40px; display: grid; gap: 14px; }
.about__list li { display: flex; align-items: center; gap: 30px; font-size: 20px; font-weight: 600; color: var(--black); letter-spacing: -.02em; }
@media (max-width: 900px) { .about__thumbs { min-height: 420px; } .about__list li { font-size: 17px; gap: 18px; } }

/* Service cards: a gradient border fades in on hover (reference .ai-service-item) */
.svc { position: relative; padding: 2px; border-radius: 22px; background: linear-gradient(90deg, rgba(0,0,0,.09), rgba(0,0,0,.03)); }
.svc::before { content: ""; position: absolute; inset: 0; border-radius: 22px; background: var(--grad-border); opacity: 0; transition: opacity .3s ease-out; }
.svc:hover::before, .svc:focus-within::before { opacity: 1; }
.svc__inner { position: relative; height: 100%; display: grid; justify-items: center; align-content: start; text-align: center; gap: 14px; padding: 50px 60px; border-radius: 20px; background: #fff; }
.svc__inner > img { width: 64px; height: 64px; }
.svc .title-sm { margin: 10px 0 0; }
.svc p { color: var(--muted); font-size: 16px; margin: 0 0 10px; }
@media (max-width: 900px) { .svc__inner { padding: 40px 30px; } }

/* Category tiles --------------------------------------------------------- */
.projects { padding-bottom: 80px; }

/* Editor's choice --------------------------------------------------------- */
.editors { overflow: hidden; }
.editors__burst { width: 360px; right: -120px; top: 60px; opacity: .6; }
.tabs { position: relative; display: inline-flex; padding: 4px; border: 1px solid var(--line-2); border-radius: 12px; }
.editors .tabs { margin-top: 26px; }
.tabs button { position: relative; z-index: 1; padding: 9px 16px; border: 0; background: none; border-radius: 8px; cursor: pointer; font: 500 15px var(--font); color: var(--black); transition: color .3s; }
.tabs button[aria-selected="true"] { color: #fff; }
.tabs__bg { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 6px; background: var(--black); transition: left .35s var(--ease), width .35s var(--ease); }
.ec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ec-card { display: flex; flex-direction: column; padding: 50px; border-radius: 60px; background: var(--soft); transition: transform .4s var(--ease); }
.ec-card:hover { transform: translateY(-8px); }
.ec-card__logo { flex: none; height: 110px; display: flex; align-items: center; justify-content: flex-start; margin-bottom: 20px; overflow: hidden; }
.ec-card__logo img { display: block; width: auto; height: auto; max-height: 110px; max-width: 100%; object-fit: contain; border-radius: 14px; }
.ec-card__logo.is-dark { justify-content: center; background: var(--navy); border-radius: 20px; padding: 14px; }
.ec-card__logo.is-dark img { max-height: 82px; }
.ec-card__logo.is-mono { border-radius: 20px; }
.ec-card__logo.is-mono img { width: 100%; height: 110px; max-height: none; object-fit: cover; }
.ec-card__cat { font-size: 16px; font-weight: 500; color: var(--muted); }
.ec-card h3 { font-size: 30px; font-weight: 600; line-height: 1.15; margin: 6px 0 22px; }
.ec-card ul { list-style: none; display: grid; gap: 14px; margin: 26px 0 0; padding: 0; }
.ec-card li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 500; color: var(--black); }
.ec-card li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--orange); }
.ec-card:nth-child(2) .btn { background: var(--grad); color: #fff; box-shadow: none; }
.ec-pager { display: flex; justify-content: center; align-items: center; gap: 18px; margin: 40px 0 26px; }
.ec-pager #ec-prev svg { transform: rotate(180deg); }
.ec-pager .circle-btn:hover svg { transform: none; }
.ec-pager #ec-prev:hover svg { transform: rotate(180deg); }
@media (max-width: 1000px) { .ec-grid { grid-template-columns: 1fr 1fr; } .ec-card:nth-child(3) { display: none; } }
@media (max-width: 640px) { .ec-grid { grid-template-columns: 1fr; } .ec-card { padding: 34px; border-radius: 34px; } .ec-card:nth-child(n) { display: flex; } }

/* FAQ block ------------------------------------------------------------- */
.faq-block { position: relative; margin-bottom: 120px; border-block: 1px solid var(--line); }
.faq-block__thumb { position: absolute; left: 0; top: 0; width: 50%; height: 100%; overflow: hidden; }
.faq-block__thumb img { width: 100%; height: 100%; object-fit: cover; animation: zoom-in-out 14s ease-in-out infinite alternate; }
@keyframes zoom-in-out { to { transform: scale(1.12); } }
.faq-block__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.faq-block__stats { display: flex; align-items: flex-end; justify-content: flex-end; gap: 20px; padding-bottom: 160px; margin-right: -60px; }
.stat { display: grid; padding: 29px 39px; box-shadow: 0 2px 10px rgba(27,27,27,.1); backdrop-filter: blur(40px); color: var(--black); }
.stat span { font-size: 16px; }
.stat strong { font-size: 54px; font-weight: 700; letter-spacing: -.04em; line-height: 1.1; }
.stat--peach { background: var(--peach); }
.stat--cream { background: var(--cream); margin-bottom: 40px; }
.faq-block__content { padding: 120px 0 120px 110px; }
.faq-block__circle { width: 70px; height: 70px; display: grid; place-items: center; margin-bottom: 25px; border-radius: 50%; background: rgba(0,0,0,.06); border: 1px solid var(--line-2); color: var(--black); transition: .3s; }
.faq-block__circle svg { width: 22px; height: 22px; }
.faq-block__circle:hover { background: var(--black); color: #fff; }
@media (max-width: 1000px) {
  .faq-block__thumb { position: relative; width: 100%; height: 380px; }
  .faq-block__grid { grid-template-columns: 1fr; }
  .faq-block__stats { justify-content: flex-start; padding: 0; margin: -90px 0 0; flex-wrap: wrap; }
  .stat--cream { margin-bottom: 0; }
  .faq-block__content { padding: 60px 0; }
}

/* Image strip ------------------------------------------------------------ */
.strip { display: grid; grid-template-columns: repeat(6, 1fr); }
.strip__img { overflow: hidden; aspect-ratio: 1; }
.strip__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.strip__img:hover img { transform: scale(1.1); }
@media (max-width: 800px) { .strip { grid-template-columns: repeat(3, 1fr); } }

/* =========================================================================
   category-listing.html
   ========================================================================= */
/* Glass search/filter bar inside the navy hero */
.glass-form { display: grid; grid-template-columns: auto 1fr 190px; align-items: center; gap: 6px; max-width: 620px; padding: 6px; margin-top: 34px;
  border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); }
.glass-form > svg { width: 20px; height: 20px; margin-left: 12px; color: rgba(255,255,255,.7); }
.glass-form input, .glass-form select { min-width: 0; height: 50px; border: 0; background: transparent; color: #fff; font: 500 15px var(--font); padding: 0 10px; }
.glass-form input::placeholder { color: rgba(255,255,255,.55); }
.glass-form select { border-left: 1px solid rgba(255,255,255,.15); cursor: pointer; }
.glass-form select option { color: var(--black); }
.glass-form input:focus, .glass-form select:focus { outline: none; }
.glass-form:focus-within { border-color: rgba(255,195,0,.6); }
@media (max-width: 560px) { .glass-form { grid-template-columns: auto 1fr; } .glass-form select { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(255,255,255,.15); } }

.cl-section { padding-bottom: 100px; }
.cl-bar { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 50px; }
.cl-bar .title { margin: 0; }
.tile-grid--4 { grid-template-columns: repeat(4, 1fr); }
.tile-grid--4 .tile__label { left: 24px; bottom: 24px; }
.tile-grid--4 .tile__name { font-size: 18px; padding: 16px; }
@media (max-width: 1100px) { .tile-grid--4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .tile-grid--4 { grid-template-columns: repeat(2, 1fr); } .tile-grid--4 .tile__label { left: 10px; bottom: 10px; } .tile-grid--4 .tile__name { font-size: 14px; padding: 10px; } .tile-grid--4 .tile__sub { padding: 8px 10px; font-size: 10px; } }
.cl-cta { position: relative; background: var(--navy); color: #fff; padding: 120px 0; overflow: hidden; isolation: isolate; }
.cl-cta__orbit { width: 620px; right: -200px; top: -160px; opacity: .35; z-index: -1; }
.cl-cta__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.cl-cta__img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: 20px; }
.cl-cta__text { color: rgba(255,255,255,.7); font-size: 18px; margin-bottom: 34px; }
.row-gap { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 900px) { .cl-cta__grid { grid-template-columns: 1fr; gap: 40px; } }

/* =========================================================================
   category-single-listing.html
   ========================================================================= */
.cs-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; z-index: -2; animation: zoom-slow 18s ease-in-out infinite alternate; }
@keyframes zoom-slow { to { transform: scale(1.12); } }
.cs-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.cs-stats span { padding: 9px 16px; border-radius: 28px; background: rgba(255,255,255,.08); backdrop-filter: blur(10px); font-size: 13px; font-weight: 600; text-transform: uppercase; }
.cs-layout { display: grid; grid-template-columns: 1fr 330px; gap: 50px; align-items: start; }
.cs-toolbar { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; padding: 24px; border-radius: 30px; background: var(--soft); }
.cs-count { margin: 26px 0; }
.cs-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.cs-source { margin-top: 30px; font-size: 14px; }
.cs-source a { color: var(--black); font-weight: 600; text-decoration: underline; }
.cs-aside { position: sticky; top: 120px; display: grid; gap: 24px; }
.cs-cta { position: relative; overflow: hidden; padding: 40px; border-radius: 40px; background: var(--navy); color: rgba(255,255,255,.7); isolation: isolate; }
.cs-cta h2 { color: #fff; font-size: 26px; }
.cs-cta__burst { width: 200px; right: -70px; top: -70px; opacity: .6; z-index: -1; }
.cs-related-box { padding: 34px; border-radius: 40px; background: var(--soft); }
.cs-related-box h2 { font-size: 22px; }
.cs-related { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.cs-related .tile { border-radius: 14px; }
.cs-related .tile img { aspect-ratio: 1; }
.cs-related .tile__label { left: 8px; bottom: 8px; max-width: calc(100% - 16px); }
.cs-related .tile__sub { display: none; }
.cs-related .tile__name { font-size: 12px; padding: 8px; transform: none; }
@media (max-width: 1100px) { .cs-layout { grid-template-columns: 1fr; } .cs-aside { position: static; grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .cs-toolbar, .cs-aside { grid-template-columns: 1fr; } }

/* =========================================================================
   single-listing.html
   ========================================================================= */
.sl-hero__img { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; opacity: .22; filter: blur(4px); z-index: -2; }
.sl-hero__chain { width: 240px; right: 5%; top: 150px; opacity: .8; z-index: -1; }
#listing .page-hero h1 { margin-bottom: 6px; }
.sl-head { display: grid; grid-template-columns: 170px 1fr; gap: 34px; align-items: center; margin-top: 20px; }
.sl-logo { aspect-ratio: 1; border-radius: 30px; background: #fff; display: grid; place-items: center; overflow: hidden; animation: logo-in .8s var(--ease) both; }
.sl-logo.is-dark { background: var(--navy-2); }
.sl-logo img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.sl-logo.is-mono img { object-fit: cover; padding: 0; }
.sl-cat { display: inline-block; font-size: 14px; font-weight: 600; text-transform: uppercase; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sl-title { color: rgba(255,255,255,.75); font-size: 18px; margin: 8px 0 14px; max-width: 60ch; }
.sl-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.sl-badges span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 28px; background: rgba(255,255,255,.08); font-size: 13px; font-weight: 600; }
.sl-badges svg { width: 15px; height: 15px; color: #6EE7A6; }
.sl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.sl-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; padding-block: 80px 110px; align-items: start; }
.sl-main { display: grid; gap: 24px; min-width: 0; }
.sl-two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sl-block { padding: clamp(26px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.sl-block h2 { display: flex; align-items: center; gap: 16px; font-size: 24px; margin-bottom: 22px; }
.sl-block h2 .ic-circle { width: 48px; height: 48px; }
.sl-block:hover h2 .ic-circle { background: var(--black); color: #fff; }
.sl-block h3 { font-size: 20px; }
.sl-note { font-size: 14px; }
.sl-highlights { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sl-highlights li { display: flex; gap: 12px; padding: 16px 18px; border-radius: 14px; background: var(--soft); color: var(--black); }
.sl-highlights svg { width: 20px; height: 20px; color: var(--orange); flex: none; margin-top: 3px; }
.sl-highlights small { display: block; color: var(--muted); }
.sl-dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; margin: 0; }
.sl-dl dt { color: var(--muted); }
.sl-dl dd { margin: 0; text-align: right; font-weight: 600; color: var(--black); }
.sl-dl dd.is-empty { font-weight: 500; font-style: italic; color: var(--muted); }
.sl-hours { width: 100%; border-collapse: collapse; }
.sl-hours th, .sl-hours td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; color: var(--black); }
.sl-hours td { text-align: right; color: var(--body); font-weight: 500; }
.sl-hours td.is-closed { color: var(--red, #FD0A01); }
.sl-hours tr.is-today th, .sl-hours tr.is-today td { color: var(--black); font-weight: 700; }
.sl-today { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 6px; background: var(--grad); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; }
.sl-hours-note { font-size: 14px; }
.sl-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 160px; gap: 10px; }
.sl-gallery button { position: relative; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--soft); }
.sl-gallery button:first-child { grid-row: span 2; }
.sl-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.sl-gallery button:hover img { transform: scale(1.1) rotate(-2deg); }
.sl-reviews { display: grid; grid-template-columns: 200px 1fr; gap: 26px; align-items: center; }
.sl-score { padding: 26px; border-radius: 30px; background: var(--soft); text-align: center; color: var(--black); }
.sl-score strong { display: block; font-size: 54px; letter-spacing: -.04em; line-height: 1; }
.sl-stars { display: inline-flex; gap: 2px; color: #CFCFD6; margin: 8px 0; }
.sl-stars svg { width: 18px; height: 18px; }
.sl-bars { display: grid; gap: 8px; }
.sl-bar { display: grid; grid-template-columns: 56px 1fr 22px; gap: 12px; align-items: center; font-size: 14px; color: var(--muted); }
.sl-bar span:nth-child(2) { height: 8px; border-radius: 4px; background: var(--soft); }
.sl-review-cta { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); }
.sl-review-cta p { margin: 0; color: var(--black); }
.sl-map iframe { width: 100%; height: 320px; border: 0; border-radius: 14px; background: var(--soft); }
.sl-aside { position: sticky; top: 120px; display: grid; gap: 24px; }
.sl-side { position: relative; padding: 36px; border-radius: 40px; background: var(--soft); overflow: hidden; isolation: isolate; }
.sl-side h2 { font-size: 22px; margin-bottom: 20px; }
.sl-contact { list-style: none; display: grid; gap: 16px; }
.sl-contact li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; }
.sl-contact .ic-circle { width: 48px; height: 48px; background: #fff; }
.sl-contact small { display: block; color: var(--muted); font-size: 13px; }
.sl-contact a { font-weight: 600; color: var(--black); word-break: break-word; }
.sl-contact a:hover { color: var(--orange); }
.sl-social { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.sl-social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--black); transition: .3s var(--ease); }
.sl-social a:hover { background: var(--black); color: #fff; transform: translateY(-3px); }
.sl-social svg { width: 18px; height: 18px; }
.sl-trust { list-style: none; display: grid; gap: 12px; }
.sl-trust li { display: flex; gap: 10px; align-items: center; color: var(--black); font-weight: 500; }
.sl-trust svg { width: 20px; height: 20px; color: #16A34A; flex: none; }
.sl-trust li.is-no svg { color: var(--muted); }
.sl-trust a { text-decoration: underline; }
.sl-promo { background: var(--navy); color: rgba(255,255,255,.7); }
.sl-promo h2 { color: #fff; }
.sl-promo__orbit { width: 300px; right: -140px; bottom: -140px; opacity: .45; z-index: -1; }

.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 30px; background: rgba(8,4,29,.95); }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; text-align: center; color: #fff; }
.lightbox__figure img { max-height: 76vh; width: auto; margin: 0 auto 14px; border-radius: 14px; }
.lb-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: .3s; }
.lb-btn:hover { background: #fff; color: var(--black); }
.lb-btn svg { width: 20px; height: 20px; }
.lightbox__close { position: absolute; top: 20px; right: 20px; }
.lightbox__prev svg { transform: rotate(180deg); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 160%); z-index: 310; padding: 12px 20px; border-radius: 14px; background: var(--black); color: #fff; transition: transform .4s var(--ease); }
.toast.is-on { transform: translate(-50%, 0); }
@media (max-width: 1100px) { .sl-layout { grid-template-columns: 1fr; } .sl-aside { position: static; } }
@media (max-width: 700px) {
  .sl-head { grid-template-columns: 1fr; } .sl-logo { width: 130px; }
  .sl-two, .sl-highlights, .sl-reviews { grid-template-columns: 1fr; }
  .sl-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; } .sl-gallery button:first-child { grid-column: 1 / -1; }
  .lightbox { grid-template-columns: 1fr; padding: 70px 14px 14px; } .lightbox__prev, .lightbox__next { position: absolute; bottom: 16px; } .lightbox__prev { left: 16px; } .lightbox__next { right: 16px; }
}

/* =========================================================================
   services.html
   ========================================================================= */
.grid--4 .svc__inner { padding: 46px 34px; }

.sv-find { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.sv-find__img { margin-top: 30px; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50% 50% 20px 20px; }
.sv-find__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; }
.sv-find__list li { display: flex; align-items: center; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--black); font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.sv-find__list .ic-circle { width: 44px; height: 44px; }
.sv-thumbs { position: relative; min-height: 560px; }
.sv-thumb { position: absolute; width: 62%; aspect-ratio: 384 / 400; object-fit: cover; }
.sv-thumb--1 { left: 0; top: 0; }
.sv-thumb--2 { left: 36%; top: 140px; box-shadow: 0 30px 60px -30px rgba(8,4,29,.5); }
.sv-why { list-style: none; display: grid; gap: 22px; margin-top: 34px; }
.sv-why li { display: flex; gap: 24px; align-items: center; }
.sv-why strong { display: block; color: var(--black); font-size: 20px; letter-spacing: -.02em; }
.sv-why small { color: var(--muted); font-size: 15px; }
.quotes { columns: 3 300px; column-gap: 30px; }
.quote { break-inside: avoid; margin: 0 0 30px; padding: 40px; border-radius: 40px; background: #fff; transition: transform .4s var(--ease); }
.quote:hover { transform: translateY(-6px); }
.quote blockquote { margin: 0 0 24px; color: var(--black); font-size: 20px; font-weight: 600; line-height: 1.4; letter-spacing: -.02em; }
.quote figcaption { display: flex; gap: 14px; align-items: center; }
.quote img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.quote span { display: grid; line-height: 1.4; }
.quote strong { color: var(--black); }
.quote small { color: var(--muted); }
.svc .ic-circle { margin-bottom: 4px; }
@media (max-width: 900px) { .sv-find, .sv-find__list { grid-template-columns: 1fr; } .sv-find__img { max-width: 320px; } .sv-thumbs { min-height: 420px; } }

/* =========================================================================
   contact.html
   ========================================================================= */
.ct-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.ct-topics { list-style: none; display: grid; gap: 22px; margin: 30px 0 40px; }
.ct-topics li { display: flex; gap: 20px; align-items: center; }
.ct-topics span:last-child { display: grid; line-height: 1.4; }
.ct-topics strong { color: var(--black); font-size: 18px; letter-spacing: -.02em; }
.ct-topics small { color: var(--muted); font-size: 15px; }
.ct-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
.ct-form { display: grid; gap: 10px; padding: clamp(28px, 4vw, 50px); border-radius: 40px; background: var(--soft); }
.ct-form h2 { font-size: 30px; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-check { max-width: 300px; }
.ct-form .glow-border { justify-self: start; }
.ct-result { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line-2); }
.ct-result h3 { font-size: 20px; }
.ct-result pre { white-space: pre-wrap; font: 500 14px var(--font); background: var(--soft); padding: 14px; border-radius: 12px; max-height: 220px; overflow: auto; }
.ct-result.is-ok { border-color: #86D9A8; }
.privacy { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.privacy__gem { width: 70px; margin-bottom: 24px; }
.privacy__flag { padding: 18px; border-radius: 16px; background: var(--cream); color: var(--black); font-size: 15px; }
.privacy__body { max-width: 68ch; }
.privacy__body h3 { font-size: 22px; margin-top: 26px; }
.privacy__body p { color: var(--muted); }
@media (max-width: 900px) { .ct-grid, .privacy { grid-template-columns: 1fr; gap: 50px; } }
@media (max-width: 560px) { .ct-row { grid-template-columns: 1fr; } }

/* =========================================================================
   search.html
   ========================================================================= */
.sr-form { display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; gap: 6px; align-items: center; max-width: 980px; margin-top: 34px; padding: 6px; border-radius: 16px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); }
.sr-form__q { display: flex; align-items: center; }
.sr-form__q svg { width: 20px; height: 20px; margin: 0 4px 0 12px; color: rgba(255,255,255,.7); flex: none; }
.sr-form input, .sr-form select { width: 100%; min-width: 0; height: 50px; border: 0; background: transparent; color: #fff; font: 500 15px var(--font); padding: 0 10px; }
.sr-form select { border-left: 1px solid rgba(255,255,255,.15); cursor: pointer; }
.sr-form select option { color: var(--black); }
.sr-form input::placeholder { color: rgba(255,255,255,.55); }
.sr-form input:focus, .sr-form select:focus { outline: none; }
.sr-form:focus-within { border-color: rgba(255,195,0,.6); }
.sr-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.sr-top p { margin: 0; }

.tabs button b { font-weight: 600; opacity: .6; margin-left: 4px; }

.sr-tiles { grid-template-columns: repeat(3, 1fr); }
.sr-note { margin-top: 40px; font-size: 14px; }
.sr-note a { color: var(--black); text-decoration: underline; }
.locations { overflow: hidden; }
.locations__map { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; pointer-events: none; }
.locations .container { position: relative; }
.loc-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.loc-pill { padding: 12px 20px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--black); transition: .3s var(--ease); }
.loc-pill small { color: var(--muted); font-weight: 500; margin-left: 4px; }
.loc-pill:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-3px); }
.loc-pill:hover small { color: var(--amber); }
@media (max-width: 900px) { .sr-form { grid-template-columns: 1fr 1fr; } .sr-form__q { grid-column: 1 / -1; } .sr-form select:first-of-type { border-left: 0; } .sr-tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sr-form { grid-template-columns: 1fr; } .sr-form select { border-left: 0; border-top: 1px solid rgba(255,255,255,.15); } .sr-tiles { grid-template-columns: 1fr; } }

/* =========================================================================
   sitemap.html
   ========================================================================= */
.sm-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.sm-jump a { padding: 10px 18px; border-radius: 10px; background: var(--navy-2); color: #fff; font-weight: 600; transition: .3s; }
.sm-jump a:hover { background: #fff; color: var(--black); }
.sm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.sm-card { padding: 40px; border-radius: 40px; background: var(--soft); scroll-margin-top: 120px; }
.sm-card--wide { grid-column: 1 / -1; }
.sm-card h2 { display: flex; align-items: center; gap: 16px; font-size: 26px; }
.sm-card__img { width: 100%; height: 120px; object-fit: cover; border-radius: 16px; margin-bottom: 20px; }
.sm-list { list-style: none; display: grid; gap: 10px; }
.sm-list--cols { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.sm-list--cols3 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.sm-list a { color: var(--black); font-weight: 500; }
.sm-list small, .sm-group small { color: var(--muted); }
.sm-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.sm-group { border-bottom: 1px solid var(--line-2); }
.sm-group summary { position: relative; padding: 16px 0 16px 34px; cursor: pointer; list-style: none; font-weight: 600; color: var(--black); display: flex; gap: 10px; }
.sm-group summary::-webkit-details-marker { display: none; }
.sm-group summary::before, .sm-group summary::after { content: ""; position: absolute; left: 0; top: 26px; width: 14px; height: 2px; background: var(--black); border-radius: 2px; transition: transform .4s var(--ease); }
.sm-group summary::after { transform: rotate(90deg); }
.sm-group[open] summary::after { transform: rotate(0); }
.sm-group ul { list-style: none; display: grid; gap: 6px; padding: 0 0 18px 34px; }
.sm-group a { color: var(--muted); }
.sm-group a:hover { color: var(--orange); }
@media (max-width: 800px) { .sm-grid, .sm-groups { grid-template-columns: 1fr; } .sm-card { padding: 28px; border-radius: 28px; } }

/* =========================================================================
   blog-listing.html
   ========================================================================= */
.topics { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 50px; scrollbar-width: thin; }
.topic { flex: none; padding: 10px 18px; border-radius: 10px; border: 1px solid var(--line-2); font-weight: 600; font-size: 15px; color: var(--black); transition: .3s; }
.topic small { color: var(--muted); font-weight: 500; }
.topic:hover { border-color: var(--black); }
.topic[aria-current="page"] { background: var(--black); color: #fff; border-color: var(--black); }
.topic[aria-current="page"] small { color: var(--amber); }
.feed-note { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); margin-top: 40px; }
.feed-note img { width: 26px; height: 26px; flex: none; }

.bl-lead { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; margin-bottom: 90px; }
.bl-lead > .card .card__thumb img { height: 420px; }
.bl-lead > .card .card__title { font-size: clamp(24px, 1.5vw + 14px, 34px); line-height: 1.2; }
.bl-side { display: grid; gap: 30px; }
.bl-side .card { flex-direction: row; }
.bl-side .card__thumb { flex: 0 0 42%; }
.bl-side .card__thumb img { height: 100%; min-height: 170px; }
.bl-side .card__body { padding: 22px; }
.bl-side .card__title { font-size: 18px; margin-bottom: 12px; }
.bl-head { margin-bottom: 40px; }
@media (max-width: 1000px) { .bl-lead { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .bl-side .card { flex-direction: column; } .bl-lead > .card .card__thumb img { height: 260px; } }

/* =========================================================================
   blog-single.html
   ========================================================================= */
#bs .page-hero h1 { max-width: 22ch; font-size: clamp(2.2rem, 1.3rem + 3vw, 4.2rem); line-height: 1.05; }
.bs-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; color: rgba(255,255,255,.7); font-weight: 600; font-size: 15px; }
.bs-meta img { width: 34px; height: 34px; border-radius: 50%; }
.bs-meta span { display: inline-flex; gap: 10px; align-items: center; }
.bs-wrap { margin-top: -60px; position: relative; }
.bs-cover { margin: 0 0 60px; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 7.5; background: var(--navy-2); }
.bs-cover img { width: 100%; height: 100%; object-fit: cover; }
.bs-body { max-width: 820px; margin: 0 auto 110px; }
.bs-standfirst { margin-top: 10px; color: var(--black); font-size: clamp(22px, 1vw + 16px, 30px); font-weight: 600; line-height: 1.4; letter-spacing: -.02em; }
.bs-source { display: grid; grid-template-columns: 54px 1fr; gap: 20px; margin: 40px 0; padding: 30px; border-radius: 30px; background: var(--soft); }
.bs-share { display: flex; align-items: center; gap: 10px; padding: 24px 0; border-block: 1px solid var(--line-2); }
.bs-share > span:first-child { font-weight: 600; color: var(--black); margin-right: 6px; }
.bs-copied { color: #15803D; font-weight: 600; font-size: 14px; }
.bs-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.bs-pager a { display: grid; gap: 4px; padding: 22px; border-radius: 20px; border: 1px solid var(--line); color: var(--black); font-weight: 600; transition: .3s var(--ease); }
.bs-pager a:hover { border-color: var(--black); transform: translateY(-3px); }
.bs-pager small { color: var(--muted); font-weight: 500; }
.bs-pager a:last-child { text-align: right; }
@media (max-width: 600px) { .bs-pager { grid-template-columns: 1fr; } .bs-pager a:last-child { text-align: left; } .bs-source { grid-template-columns: 1fr; } }

/* =========================================================================
   404.html
   ========================================================================= */
.nf { position: relative; min-height: 100vh; padding: 190px 0 110px; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }

.nf__orbit { width: 760px; left: -280px; top: -200px; opacity: .3; z-index: -1; }
.nf__stack { width: 80px; right: 6%; top: 24%; }
.nf__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.nf__art { text-align: center; }
.nf__trio { width: min(440px, 100%); margin: 0 auto; }
.nf__code { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 0; font-size: clamp(80px, 6vw + 40px, 150px); font-weight: 800; line-height: 1; letter-spacing: -.04em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nf__code img { width: .8em; height: .9em; }
.nf h1 { color: #fff; font-size: clamp(2.6rem, 1.4rem + 4vw, 5.6rem); margin-bottom: 24px; }
.nf__lede { color: rgba(255,255,255,.7); font-size: 18px; max-width: 46ch; }
.nf-search { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 6px; max-width: 540px; padding: 6px; margin: 30px 0 22px; border-radius: 16px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); }
.nf-search > svg { width: 20px; height: 20px; margin-left: 12px; color: rgba(255,255,255,.7); }
.nf-search input { min-width: 0; height: 50px; border: 0; background: transparent; color: #fff; font: 500 15px var(--font); padding: 0 10px; }
.nf-search input::placeholder { color: rgba(255,255,255,.55); }
.nf-search input:focus { outline: none; }
.nf__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.nf__chips p { width: 100%; margin: 0 0 4px; color: rgba(255,255,255,.6); font-weight: 600; }
.nf-chip { padding: 10px 16px; border-radius: 10px; background: var(--navy-2); font-weight: 600; font-size: 14px; transition: .3s; }
.nf-chip:hover { background: #fff; color: var(--black); }
@media (max-width: 900px) { .nf__grid { grid-template-columns: 1fr; } .nf__trio { width: 280px; } }
@media (max-width: 480px) { .nf-search { grid-template-columns: auto 1fr; } .nf-search .btn { grid-column: 1 / -1; } }
