:root {
  --ink: #101216;
  --paper: #f2f4f5;
  --paper-strong: #ffffff;
  --muted: #6e757c;
  --line: rgba(16, 18, 22, .14);
  --line-strong: rgba(16, 18, 22, .28);
  --accent: #1ee0c6;
  --accent-strong: #00bfa6;
  --accent-contrast: #071c1b;
  --surface-dark: #10151c;
  --surface-mid: #18212a;
  --soft-accent: rgba(30, 224, 198, .12);
  --display: 'Space Grotesk', sans-serif;
  --body: 'Manrope', sans-serif;
  --mono: 'DM Mono', monospace;
  --radius-xl: 2rem;
  --radius-lg: 1.25rem;
  --radius-md: .75rem;
  --shadow: 0 24px 80px rgba(9, 13, 18, .13);
  --header-h: 76px;
  color-scheme: light;
}

html.theme-sciencex { --ink:#0b1721; --paper:#edf2f4; --paper-strong:#f8fbfc; --muted:#667781; --line:rgba(11,23,33,.14); --line-strong:rgba(11,23,33,.3); --accent:#9efc57; --accent-strong:#67de2b; --accent-contrast:#13240d; --surface-dark:#07161f; --surface-mid:#103040; --soft-accent:rgba(158,252,87,.13); }
html.theme-time-rich { --ink:#15161a; --paper:#f0efeb; --paper-strong:#fcfbf8; --muted:#76736d; --line:rgba(21,22,26,.15); --line-strong:rgba(21,22,26,.34); --accent:#d3a36b; --accent-strong:#b47c3e; --accent-contrast:#2b1d11; --surface-dark:#191919; --surface-mid:#2a2927; --soft-accent:rgba(211,163,107,.16); }
html.theme-rich-harvest { --ink:#1a251e; --paper:#eeede7; --paper-strong:#faf9f4; --muted:#74776f; --line:rgba(26,37,30,.16); --line-strong:rgba(26,37,30,.32); --accent:#de723d; --accent-strong:#bd5427; --accent-contrast:#2d1208; --surface-dark:#16221b; --surface-mid:#27362c; --soft-accent:rgba(222,114,61,.14); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; max-width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.icon { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.6; vertical-align: -.18em; }
.icon-dot { width: .7rem; height: .7rem; fill: currentColor; stroke: none; }

.site-chrome { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.ambient { position: absolute; width: 34rem; height: 34rem; border-radius: 50%; filter: blur(90px); opacity: .2; }
.ambient-one { top: -18rem; right: -8rem; background: var(--accent); }
.ambient-two { bottom: -20rem; left: -15rem; background: var(--accent-strong); opacity: .09; }

.site-header { position: relative; z-index: 20; display: flex; align-items: center; gap: 2rem; width: min(100% - 5rem, 1440px); height: var(--header-h); margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--display); font-size: 1rem; font-weight: 700; letter-spacing: -.03em; }
.brand-mark { width: 1.75rem; height: 1.75rem; fill: none; stroke: currentColor; stroke-width: 1.5; }
.brand-word { white-space: nowrap; }
.primary-nav { display: flex; align-items: center; gap: 1.45rem; margin-left: auto; }
.nav-link { position: relative; padding: .5rem 0; color: var(--muted); font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; transition: color .25s ease; }
.nav-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: .15rem; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.header-cta, .mobile-cta { padding: .72rem 1rem; border: 1px solid var(--ink); border-radius: 999px; font-family: var(--mono); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; transition: background .25s ease, color .25s ease, transform .25s ease; }
.header-cta:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.menu-toggle, .mobile-nav { display: none; }

.page { width: min(100% - 5rem, 1440px); margin: 0 auto; }
.section { padding: 8rem 0; }
.eyebrow, .footer-label, .category-meta, .service-index, .principle-number, .node-number { margin: 0 0 1rem; font-family: var(--mono); font-size: .67rem; letter-spacing: .16em; line-height: 1.35; text-transform: uppercase; }
.eyebrow { color: var(--accent-strong); }
.muted { color: var(--muted); }
.display-small { max-width: 48rem; margin: 0; font-family: var(--display); font-size: clamp(1.7rem, 3.2vw, 3rem); font-weight: 500; line-height: 1.15; letter-spacing: -.06em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.065em; }
h1 { margin-bottom: 1.5rem; font-size: clamp(3.8rem, 7.3vw, 8.6rem); font-weight: 600; line-height: .94; }
h2 { margin-bottom: 1.2rem; font-size: clamp(2.5rem, 5vw, 5.4rem); font-weight: 600; line-height: .98; }
h3 { margin-bottom: .7rem; font-size: 1.45rem; font-weight: 600; line-height: 1.06; }
.hero-body { max-width: 28rem; margin-bottom: 2.2rem; color: var(--muted); font-size: 1rem; }

.hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 6vw, 8rem); min-height: calc(100vh - var(--header-h) - 1rem); align-items: center; padding: 4rem 0 7rem; }
.hero-copy { position: relative; z-index: 2; max-width: 46rem; min-width: 0; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.4rem; }
.hero-visual { position: relative; min-height: min(60vw, 42rem); min-width: 0; }
.hero-image-wrap { position: absolute; inset: 0 0 2rem 4rem; overflow: hidden; border-radius: var(--radius-xl); background: var(--surface-dark); box-shadow: var(--shadow); transform: rotate(1.5deg); }
.hero-image-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(4,13,18,.07), rgba(4,13,18,.42)); mix-blend-mode: multiply; pointer-events: none; }
.hero-image-wrap img { height: 100%; filter: saturate(.85) contrast(1.04); transform: scale(1.06); transition: transform 1.2s cubic-bezier(.22,.8,.25,1); }
.hero:hover .hero-image-wrap img { transform: scale(1.12); }
.hero-visual-label { position: absolute; right: 0; bottom: 0; display: flex; align-items: center; gap: .55rem; padding: .7rem .85rem; background: var(--paper-strong); border: 1px solid var(--line); border-radius: 999px; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
.pulse-dot { width: .48rem; height: .48rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 .25rem var(--soft-accent); animation: pulse 2.8s ease-in-out infinite; }
.signal-canvas-wrap { position: absolute; inset: -2rem -2rem auto auto; width: 60%; height: 55%; pointer-events: none; mix-blend-mode: screen; opacity: .8; }
.signal-canvas { width: 100%; height: 100%; }
.route-orbit { position: absolute; inset: 8% 7% 10% 11%; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; transform: rotate(-18deg); pointer-events: none; }
.route-orbit::before, .route-orbit::after, .route-orbit span { content: ''; position: absolute; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 .35rem rgba(211,163,107,.18); }
.route-orbit::before { top: 8%; left: 29%; }
.route-orbit::after { right: 8%; bottom: 23%; }
.route-orbit span:nth-child(1) { left: 9%; bottom: 24%; }
.route-orbit span:nth-child(2) { top: 46%; right: 2%; }
.route-orbit span:nth-child(3) { top: 2%; right: 35%; }
.editorial-index { position: absolute; left: 1rem; bottom: 3rem; display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; color: #fff; font-family: var(--mono); font-size: .75rem; transform: rotate(-8deg); }
.hero--compact { min-height: auto; padding: 6rem 0 5rem; }
.hero--compact h1 { max-width: 42rem; font-size: clamp(3.5rem, 7vw, 7rem); }
.hero--compact .hero-visual { min-height: min(45vw, 31rem); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 2.85rem; padding: .78rem 1.15rem; border: 1px solid transparent; border-radius: 999px; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; line-height: 1; text-transform: uppercase; cursor: pointer; transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--accent); color: var(--accent-contrast); }
.button-primary:hover { background: var(--accent-strong); }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: var(--surface-mid); }
.button-light { background: var(--paper-strong); color: var(--ink); }
.button-light:hover { background: var(--accent); }
.button-quiet { border-color: var(--line-strong); background: transparent; }
.button-quiet:hover { border-color: var(--ink); background: var(--paper-strong); }
.text-link, .card-link { display: inline-flex; align-items: center; gap: .45rem; width: fit-content; border-bottom: 1px solid var(--line-strong); padding-bottom: .22rem; font-family: var(--mono); font-size: .66rem; letter-spacing: .09em; text-transform: uppercase; transition: color .25s ease, border-color .25s ease; }
.text-link:hover, .card-link:hover { color: var(--accent-strong); border-color: var(--accent-strong); }

.intro-strip { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding: 2.4rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.3rem; }
.section-heading h2 { max-width: 45rem; margin-bottom: 0; }
.section-aside { max-width: 18rem; margin-bottom: .3rem; color: var(--muted); font-size: .9rem; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.category-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-strong); transition: transform .55s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease; }
.category-card:hover { border-color: var(--line-strong); box-shadow: 0 18px 50px rgba(12,18,22,.1); transform: translateY(-8px) rotate(.25deg); }
.category-card a { display: block; height: 100%; }
.category-image { position: relative; aspect-ratio: 1.14; overflow: hidden; background: var(--surface-mid); }
.category-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5,10,12,.4)); }
.category-image img { height: 100%; transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .7s ease; }
.category-card:hover .category-image img { filter: saturate(1.1); transform: scale(1.08); }
.category-meta { position: absolute; z-index: 1; left: 1rem; bottom: .8rem; margin: 0; color: #fff; }
.category-copy { display: flex; flex-direction: column; min-height: 11.4rem; padding: 1.2rem 1.15rem 1.1rem; }
.category-copy h3 { max-width: 12rem; }
.category-copy p { margin-bottom: auto; color: var(--muted); font-size: .82rem; }
.card-link { margin-top: 1.2rem; }
.category-grid--all { grid-template-columns: repeat(3, minmax(0,1fr)); }

.service-split { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.service-panel { position: relative; min-height: 31rem; overflow: hidden; padding: 2.3rem; border-radius: var(--radius-xl); }
.service-panel h2 { max-width: 27rem; font-size: clamp(2.4rem, 4vw, 4.4rem); }
.service-panel p:not(.eyebrow):not(.service-index) { max-width: 24rem; color: rgba(255,255,255,.68); }
.service-panel .button { position: absolute; bottom: 2.3rem; left: 2.3rem; }
.service-retail { background: var(--surface-dark); color: #fff; }
.service-trade { background: var(--accent); color: var(--accent-contrast); }
.service-trade p:not(.eyebrow):not(.service-index) { color: rgba(0,0,0,.64); }
.service-trade .eyebrow { color: rgba(0,0,0,.65); }
.service-index { position: absolute; top: 2.4rem; right: 2.4rem; color: var(--accent); }
.service-trade .service-index { color: rgba(0,0,0,.55); }

.route-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: center; }
.route-copy { max-width: 30rem; }
.route-copy p:not(.eyebrow) { max-width: 26rem; color: var(--muted); }
.route-map { position: relative; min-height: 20rem; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--paper-strong); overflow: hidden; }
.route-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.route-base, .route-progress { fill: none; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.route-base { stroke: var(--line-strong); stroke-dasharray: 2 9; }
.route-progress { stroke: var(--accent-strong); stroke-dasharray: 800; stroke-dashoffset: 800; transition: stroke-dashoffset 1.5s cubic-bezier(.2,.8,.2,1); }
.is-visible .route-progress { stroke-dashoffset: 0; }
.route-pin { position: absolute; padding: .45rem .6rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-family: var(--mono); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; }
.pin-a { left: 8%; bottom: 21%; }
.pin-b { left: 55%; top: 40%; }
.pin-c { right: 8%; top: 15%; }

.contact-band { display: flex; flex-direction: column; align-items: flex-start; padding: 5rem clamp(2rem, 6vw, 7rem); border-radius: var(--radius-xl); background: var(--surface-dark); color: #fff; }
.contact-band h2 { max-width: 50rem; color: #fff; }
.contact-band .eyebrow { color: var(--accent); }

.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.filter-button { padding: .72rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font-family: var(--mono); font-size: .63rem; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease; }
.filter-button:hover, .filter-button.is-selected { border-color: var(--ink); background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.category-card.is-hidden { display: none; }
.selection-note { display: grid; grid-template-columns: 4rem 1fr; gap: 2rem; align-items: start; max-width: 48rem; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-strong); }
.selection-note .note-mark { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--soft-accent); color: var(--accent-strong); }
.selection-note .brand-mark { width: 1.5rem; height: 1.5rem; }
.selection-note h2 { max-width: 32rem; font-size: clamp(2rem, 3.6vw, 3.7rem); }

.editorial-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 8vw, 9rem); align-items: center; }
.editorial-image { min-height: 32rem; overflow: hidden; border-radius: var(--radius-xl); background: var(--surface-mid); }
.editorial-image img { height: 100%; min-height: 32rem; }
.editorial-copy { max-width: 33rem; }
.editorial-copy p:not(.eyebrow):not(.muted) { color: var(--muted); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.steps-grid article { min-height: 15rem; padding: 1.5rem; border-top: 1px solid var(--line-strong); }
.steps-grid article > span { display: block; margin-bottom: 3.5rem; color: var(--accent-strong); font-family: var(--mono); font-size: .72rem; }
.steps-grid p { max-width: 18rem; margin-bottom: 0; color: var(--muted); font-size: .88rem; }
.dark-quote { display: flex; flex-direction: column; align-items: flex-start; padding: 5rem clamp(2rem, 7vw, 8rem); border-radius: var(--radius-xl); background: var(--surface-mid); color: #fff; }
.dark-quote blockquote { max-width: 55rem; margin: 0 0 2rem; font-family: var(--display); font-size: clamp(2.4rem, 5vw, 5.8rem); line-height: 1; letter-spacing: -.07em; }
.dark-quote .eyebrow { color: var(--accent); }

.trade-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; border-top: 1px solid var(--line); }
.trade-intro h2 { max-width: 42rem; margin-bottom: 0; }
.trade-intro > p { max-width: 24rem; margin-bottom: .4rem; color: var(--muted); }
.trade-timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-top: 1.5rem; }
.trade-rail { position: absolute; top: 4.8rem; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, var(--accent), var(--line-strong), var(--accent)); transform-origin: left; transform: scaleX(.1); transition: transform 1.3s cubic-bezier(.2,.8,.2,1); }
.trade-timeline.is-visible .trade-rail { transform: scaleX(1); }
.trade-node { position: relative; min-height: 15rem; padding: 1rem 1rem 1.3rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-strong); transition: transform .5s ease, border-color .3s ease; }
.trade-node:hover { border-color: var(--accent-strong); transform: translateY(-7px); }
.node-number { color: var(--accent-strong); }
.node-dot { display: block; width: .7rem; height: .7rem; margin: 1.25rem 0 2rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 .35rem var(--soft-accent); }
.trade-node p { margin-bottom: 0; color: var(--muted); font-size: .85rem; }
.trade-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 8vw, 8rem); align-items: center; }
.trade-feature-image { min-height: 30rem; overflow: hidden; border-radius: var(--radius-xl); }
.trade-feature-image img { height: 100%; min-height: 30rem; }
.trade-feature-copy { max-width: 34rem; }
.trade-feature-copy > p:not(.eyebrow) { color: var(--muted); }
.check-list { display: grid; gap: .65rem; margin: 1.8rem 0 2.2rem; padding: 0; list-style: none; font-family: var(--mono); font-size: .7rem; letter-spacing: .04em; }
.check-list li { position: relative; padding-left: 1.25rem; }
.check-list li::before { content: ''; position: absolute; left: 0; top: .55em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--accent); }

.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; border-top: 1px solid var(--line); }
.about-intro h2 { max-width: 38rem; margin-bottom: 0; }
.about-intro > p { max-width: 25rem; margin-bottom: .3rem; color: var(--muted); }
.principles-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.principle-card { min-height: 17rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-strong); transition: transform .45s ease, box-shadow .35s ease; }
.principle-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.principle-number { display: block; color: var(--accent-strong); }
.principle-card p { max-width: 17rem; margin-bottom: 0; color: var(--muted); font-size: .87rem; }
.about-image-band { display: grid; grid-template-columns: 1.25fr .75fr; gap: 2rem; align-items: stretch; }
.about-image-wrap { min-height: 28rem; overflow: hidden; border-radius: var(--radius-xl); }
.about-image-wrap img { height: 100%; min-height: 28rem; }
.about-image-copy { display: flex; flex-direction: column; justify-content: end; padding: 1.8rem; border-radius: var(--radius-xl); background: var(--soft-accent); }
.about-image-copy h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
.about-image-copy p:not(.eyebrow) { color: var(--muted); }

.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 8vw, 10rem); align-items: start; }
.contact-copy { max-width: 29rem; }
.contact-copy h2 { font-size: clamp(2.5rem, 4.6vw, 5rem); }
.contact-copy > p:not(.eyebrow):not(.muted) { color: var(--muted); }
.email-link { display: inline-block; margin: 1rem 0; border-bottom: 1px solid var(--ink); font-family: var(--mono); font-size: .8rem; letter-spacing: .07em; }
.enquiry-form { display: grid; gap: .55rem; padding: 1.8rem; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--paper-strong); }
.enquiry-form label { margin-top: .8rem; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
.enquiry-form input, .enquiry-form textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; padding: .8rem 0; outline: none; background: transparent; color: var(--ink); resize: vertical; transition: border-color .25s ease, box-shadow .25s ease; }
.enquiry-form input:focus, .enquiry-form textarea:focus { border-color: var(--accent-strong); box-shadow: 0 2px 0 var(--accent-strong); }
.enquiry-form textarea { min-height: 8rem; }
.enquiry-form .button { justify-self: start; margin-top: 1.25rem; }
.form-status { min-height: 1.2rem; margin: .4rem 0 0; color: var(--accent-strong); font-family: var(--mono); font-size: .68rem; }

.site-footer { width: min(100% - 5rem, 1440px); margin: 0 auto; padding: 4rem 0 1.5rem; }
.footer-top { display: flex; justify-content: space-between; gap: 2rem; padding: 1.8rem 0; border-top: 1px solid var(--line); }
.footer-brand { align-items: center; }
.footer-note { margin: .8rem 0 .35rem; color: var(--muted); font-size: .8rem; }
.footer-legal { display: block; color: var(--muted); font-family: var(--mono); font-size: .58rem; letter-spacing: .06em; text-transform: uppercase; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; gap: .55rem; }
.footer-label { margin: 0; color: var(--muted); }
.footer-contact a { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; padding-top: 1rem; color: var(--muted); font-family: var(--mono); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; }

.cursor-glow { position: fixed; z-index: 30; width: 15rem; height: 15rem; border-radius: 50%; background: var(--accent); filter: blur(80px); opacity: .08; pointer-events: none; transform: translate(-50%, -50%); transition: opacity .4s ease; }
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 var(--soft-accent); } 50% { box-shadow: 0 0 0 .35rem var(--soft-accent); } }

/* site-specific composition */
.theme-sciencex .hero--dashboard .hero-image-wrap { border-radius: 1.5rem; transform: rotate(-1deg); }
.theme-sciencex .hero--dashboard .hero-image-wrap::before { content: ''; position: absolute; z-index: 1; inset: 1rem; border: 1px solid rgba(158,252,87,.35); border-radius: 1rem; pointer-events: none; }
.theme-sciencex .service-retail { background: #07161f; }
.theme-sciencex .category-card:nth-child(2n) { transform: translateY(2rem); }
.theme-sciencex .category-card:nth-child(2n):hover { transform: translateY(1.4rem) rotate(.25deg); }
.theme-time-rich .hero--route .hero-image-wrap { transform: rotate(2.5deg); border-radius: 0 0 8rem 0; }
.theme-time-rich .hero--route .hero-image-wrap::after { background: linear-gradient(145deg, rgba(33,23,15,.05), rgba(33,23,15,.62)); }
.theme-time-rich .service-retail { background: #1d1c1a; }
.theme-time-rich .route-map { border-radius: 0; }
.theme-time-rich .trade-node { border-radius: 0; }
.theme-time-rich .trade-feature-image { border-radius: 0 0 7rem 0; }
.theme-rich-harvest .hero--editorial .hero-image-wrap { transform: rotate(-3deg); border-radius: 0 4rem 0 4rem; }
.theme-rich-harvest .hero--editorial .hero-image-wrap::after { background: linear-gradient(145deg, rgba(35,20,10,.03), rgba(35,20,10,.54)); }
.theme-rich-harvest .hero--editorial .editorial-index { border-radius: 0; transform: rotate(6deg); }
.theme-rich-harvest .category-card { border-radius: 0; }
.theme-rich-harvest .category-card:nth-child(2n) { border-radius: 0 0 3rem 0; }
.theme-rich-harvest .service-panel { border-radius: 0 3rem 0 3rem; }

@media (max-width: 1050px) {
  :root { --header-h: 70px; }
  .site-header, .page, .site-footer { width: min(100% - 3rem, 1440px); }
  .hero { gap: 3rem; }
  .hero-image-wrap { left: 1rem; }
  .category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .category-grid--all { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .category-card:nth-child(2n) { transform: none; }
  .category-card:nth-child(2n):hover { transform: translateY(-8px) rotate(.25deg); }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .site-header, .page, .site-footer { width: min(100% - 2rem, 1440px); }
  .site-header { gap: 1rem; }
  .primary-nav, .header-cta { display: none; }
  .menu-toggle { display: grid; place-content: center; gap: .25rem; width: 2.5rem; height: 2.5rem; margin-left: auto; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
  .menu-toggle span { display: block; width: 1rem; height: 1px; background: var(--ink); transition: transform .25s ease, opacity .25s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
  .mobile-nav { position: fixed; inset: var(--header-h) 0 0; display: flex; flex-direction: column; gap: 1rem; padding: 2rem 1rem; background: var(--paper); transform: translateX(100%); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
  .mobile-nav.is-open { transform: translateX(0); }
  .mobile-nav .nav-link { font-size: .85rem; }
  .mobile-cta { margin-top: 1rem; align-self: flex-start; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 3rem 0 5rem; }
  .hero-copy, .hero-body { width: 100%; max-width: 100%; }
  .hero h1 { max-width: 100%; font-size: clamp(2.35rem, 10vw, 3.8rem); overflow-wrap: anywhere; }
  .hero-visual { min-height: 27rem; }
  .hero-image-wrap { inset: 0 0 1rem 1rem; }
  .hero--compact { padding: 4rem 0 4rem; }
  .hero--compact .hero-visual { min-height: 22rem; }
  .section { padding: 5rem 0; }
  .intro-strip, .section-heading, .footer-top, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .section-heading { gap: 1.2rem; }
  .service-split, .editorial-split, .trade-feature, .contact-layout, .route-section, .trade-intro, .about-intro, .about-image-band { grid-template-columns: 1fr; gap: 2rem; }
  .service-panel { min-height: 27rem; }
  .route-map { min-height: 17rem; }
  .steps-grid, .principles-grid { grid-template-columns: 1fr; }
  .steps-grid article { min-height: auto; padding: 1.25rem 0; }
  .steps-grid article > span { margin-bottom: 1.5rem; }
  .trade-timeline { grid-template-columns: 1fr; gap: .75rem; padding-top: 0; }
  .trade-rail { top: 3rem; bottom: 3rem; left: 1.65rem; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--accent), var(--line-strong), var(--accent)); transform: scaleY(.1); transform-origin: top; }
  .trade-timeline.is-visible .trade-rail { transform: scaleY(1); }
  .trade-node { min-height: auto; padding-left: 3.6rem; }
  .node-dot { position: absolute; left: 1.3rem; top: 2.3rem; }
  .trade-node .node-number { margin-bottom: .35rem; }
  .trade-feature-image, .editorial-image, .about-image-wrap { min-height: 21rem; }
  .trade-feature-image img, .editorial-image img, .about-image-wrap img { min-height: 21rem; }
  .contact-band, .dark-quote { padding: 3rem 1.5rem; }
  .selection-note { grid-template-columns: 1fr; }
  .footer-contact { align-items: flex-start; }
  .cursor-glow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
