/* NORTH²⁸ — site styles
   Layout: navy-first pages (brand ratio ~60% navy / 25% cream / 10% mist / 5% amber),
   alternating with cream "light" bands; amber is a signal, never a background block. */
:root {
  --navy: #0A1628;
  --navy-2: #0F1F38;
  --navy-3: #16284A;
  --line: #24344F;
  --cream: #F4F1EA;
  --cream-2: #FBF9F4;
  --cream-line: #E4DED1;
  --amber: #F2A93B;
  --amber-deep: #B8741A;
  --amber-ink: #9A5B0B;
  --mist: #C3CBD8;
  --muted: #8F9BB0;
  --ink-soft: #3D4A5C;
  --ice: linear-gradient(100deg, #FFFFFF 0%, #F7D9A0 45%, #F2A93B 100%);

  --f-sans: 'Outfit', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --t-xs: .78rem; --t-sm: .9rem; --t-md: 1.05rem; --t-lg: 1.25rem;
  --t-h3: clamp(1.2rem, 1.1rem + .4vw, 1.45rem);
  --t-h2: clamp(1.9rem, 1.4rem + 2vw, 3rem);
  --t-h1: clamp(2.5rem, 1.6rem + 4.2vw, 5.4rem);

  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--navy); color: var(--cream);
  font-family: var(--f-sans); font-size: var(--t-md); font-weight: 300; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 600; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
.mono { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .04em; }
.selectable { user-select: all; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--amber);
}
.light .eyebrow { color: var(--amber-ink); }
.lede { font-size: var(--t-lg); color: var(--mist); max-width: 60ch; }
.light .lede { color: var(--ink-soft); }
.ice {
  font-style: normal; background: var(--ice); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fade-text { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em; padding: .95em 1.5em; border-radius: 999px;
  font-weight: 500; font-size: var(--t-md); border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .35s;
  will-change: transform;
}
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-amber { background: var(--amber); color: var(--navy); box-shadow: 0 10px 30px -12px rgba(242, 169, 59, .7); }
.btn-amber:hover { background: #F7BC5E; box-shadow: 0 16px 40px -12px rgba(242, 169, 59, .85); }
.btn-ghost { border-color: var(--line); color: var(--cream); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: var(--navy-3); }
.link-arrow { display: inline-flex; gap: .5em; align-items: center; color: var(--amber); font-weight: 500; }
.link-arrow:hover .arrow { transform: translateX(4px); }
.arrow { transition: transform .3s var(--ease); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: baseline; font-weight: 600; font-size: 1.35rem; letter-spacing: .14em; color: var(--cream); line-height: 1; }
.logo-o { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; width: .82em; margin: 0 .12em 0 .02em; transform: translateY(-.04em); }
.logo-o svg { width: .82em; height: .82em; display: block; }
.logo-bar { display: block; width: 100%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #FFF6E3, #F2A93B); }
.logo-needle { transform-origin: 50px 50px; transition: transform .8s var(--ease); }
.brand:hover .logo-needle { transform: rotate(360deg); }
.logo-28 { color: var(--amber); font-size: .42em; letter-spacing: .02em; font-weight: 500; align-self: flex-start; margin-left: .1em; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px);
  transition: background .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(10, 22, 40, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: .55em 1em; border-radius: 999px; font-size: var(--t-sm); font-weight: 400; color: var(--mist); position: relative; transition: color .2s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--cream); }
.nav-links a.is-active:not(.nav-cta)::after { content: ''; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); transform: translateX(-50%); }
.nav-links .nav-cta { margin-left: 10px; border: 1px solid var(--amber); color: var(--amber); }
.nav-links .nav-cta:hover, .nav-links .nav-cta.is-active { background: var(--amber); color: var(--navy); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--cream); transition: transform .3s var(--ease); }
.nav-open .nav-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: calc(76px + env(safe-area-inset-top, 0px)) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px var(--gutter) 28px; background: rgba(10, 22, 40, .97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
  }
  .nav-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-open .nav { background: rgba(10, 22, 40, .97); }
  .nav-links a { font-size: var(--t-lg); padding: .7em 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-links a.is-active:not(.nav-cta)::after { left: auto; right: 0; top: 50%; bottom: auto; transform: translateY(-50%); }
  .nav-links .nav-cta { margin: 14px 0 0; text-align: center; border-radius: 999px; border: 1px solid var(--amber); }
}

/* ---------- Load + reveal motion ---------- */
.load { animation: rise .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 110ms + 100ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.js .reveal.pre { opacity: 0; transform: translateY(26px); }
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: calc(140px + env(safe-area-inset-top, 0px)) 80px; overflow: hidden; isolation: isolate; }
.sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after, .page-hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 140px; background: linear-gradient(transparent, var(--navy)); z-index: -1; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.hero h1 { font-size: var(--t-h1); }
.hero h1 .line { display: block; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(242,169,59,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(242,169,59,0); } 100% { box-shadow: 0 0 0 0 rgba(242,169,59,0); } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 8px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-facts div { display: flex; flex-direction: column; }
.hero-facts dt { font-size: 1.7rem; font-weight: 600; color: var(--cream); font-variant-numeric: tabular-nums; }
.hero-facts dd { margin: 0; font-size: var(--t-sm); color: var(--muted); }

.hero-compass { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.compass { width: min(100%, 440px); height: auto; overflow: visible; }
.compass .cardinal { fill: var(--muted); font: 500 15px var(--f-mono); text-anchor: middle; }
.compass .cardinal.n { fill: var(--amber); font-size: 18px; }
.compass .tick { stroke: var(--line); stroke-width: 1.2; }
.compass .tick.major { stroke: var(--mist); stroke-width: 2; }
.compass .needle { transform-origin: 200px 200px; }
.compass .dial { transform-origin: 200px 200px; animation: spin 120s linear infinite; }
.compass .ring { filter: drop-shadow(0 0 18px rgba(242,169,59,.35)); }
@keyframes spin { to { transform: rotate(360deg); } }
.bearing { color: var(--muted); }
.bearing span:first-child { color: var(--amber); font-variant-numeric: tabular-nums; }
.scroll-hint { display: none; position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-hint i { width: 1px; height: 34px; background: linear-gradient(var(--amber), transparent); animation: drip 2s infinite var(--ease); transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding-block: calc(150px + env(safe-area-inset-top, 0px)) 70px; overflow: hidden; isolation: isolate; }
.page-hero.compact { padding-bottom: 40px; }
.page-hero .wrap { display: flex; flex-direction: column; gap: 24px; }
.page-hero h1 { font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.6rem); }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: 22px; background: var(--navy-2); }
.marquee-track { display: flex; gap: 36px; width: max-content; animation: marquee 38s linear infinite; font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem); font-weight: 500; color: var(--mist); white-space: nowrap; }
.marquee-track b { color: var(--amber); font-weight: 400; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 130px); position: relative; }
.section.tight { padding-top: 24px; }
.section.light { background: var(--cream); color: var(--navy); }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: var(--t-h2); }
.section-head.split { max-width: none; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head.split > div { display: flex; flex-direction: column; gap: 16px; max-width: 680px; }

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service-card { background: var(--navy); padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; position: relative; min-width: 0; transition: background .3s; }
.service-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(242,169,59,.12), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.service-card:hover::before { opacity: 1; }
.service-card:hover { background: var(--navy-2); }
.service-card h3 { font-size: var(--t-h3); }
.service-card p { color: var(--mist); font-size: var(--t-sm); flex: 1; }
.service-card .more { display: inline-flex; gap: .5em; align-items: center; color: var(--amber); font-size: var(--t-sm); font-weight: 500; }
.service-card:hover .more .arrow { transform: translateX(4px); }
.icon { width: 36px; height: 36px; fill: none; stroke: var(--amber); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.light .icon { stroke: var(--amber-deep); }

/* ---------- Work cards ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
.work-card { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.work-meta { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.work-meta h3 { font-size: var(--t-h3); margin-bottom: 4px; }
.work-meta p { color: var(--ink-soft); font-size: var(--t-sm); }
.pill { flex-shrink: 0; font-size: var(--t-xs); font-weight: 500; padding: .35em .9em; border-radius: 999px; border: 1px solid currentColor; opacity: .75; white-space: nowrap; }

/* ---------- Browser mockup ---------- */
.browser {
  border-radius: 14px; overflow: hidden; background: #0D1A30; border: 1px solid rgba(195,203,216,.18);
  box-shadow: 0 30px 60px -30px rgba(10,22,40,.55), 0 12px 24px -16px rgba(10,22,40,.4);
  transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.light .browser { border-color: rgba(10,22,40,.12); }
.browser:hover { box-shadow: 0 40px 80px -30px rgba(10,22,40,.65), 0 16px 32px -16px rgba(10,22,40,.45); }
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #131F36; border-bottom: 1px solid rgba(195,203,216,.1); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #2A3A57; }
.dots i:first-child { background: #E8836B; } .dots i:nth-child(2) { background: #F2C04A; } .dots i:nth-child(3) { background: #5FB37A; }
.url { flex: 1; display: flex; align-items: center; gap: 6px; justify-content: center; max-width: 320px; margin: 0 auto; padding: 4px 12px; border-radius: 8px; background: #0A1628; font-family: var(--f-mono); font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.url svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.3; flex-shrink: 0; }
.screen { container-type: inline-size; aspect-ratio: 16 / 10; position: relative; overflow: hidden; }

/* Mock base — everything in cqw so the whole page scales with the frame */
.m { position: absolute; inset: 0; display: flex; flex-direction: column; font-family: var(--f-sans); font-size: 2.2cqw; line-height: 1.2; }
.m-nav { display: flex; align-items: center; gap: 3.2cqw; padding: 2.4cqw 4cqw; font-size: 1.7cqw; }
.m-nav b { margin-right: auto; font-size: 2.1cqw; letter-spacing: .1em; display: flex; align-items: center; gap: 1cqw; }
.m-nav span { opacity: .7; }
.m-nav em { font-style: normal; padding: .8cqw 2cqw; border-radius: 99px; font-weight: 500; }
.m-copy { display: flex; flex-direction: column; gap: 1.2cqw; }
.m-copy small { font-size: 1.4cqw; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.m-copy strong { font-size: 5.2cqw; font-weight: 600; line-height: 1.02; }
.m-copy em { font-style: normal; align-self: flex-start; padding: 1.1cqw 2.6cqw; border-radius: 99px; font-size: 1.6cqw; font-weight: 500; margin-top: 1cqw; }
.m-stats { display: flex; gap: 2cqw; padding: 0 4cqw 3cqw; }
.m-stats span { flex: 1; display: flex; flex-direction: column; gap: .4cqw; font-size: 1.4cqw; opacity: .85; padding: 1.6cqw 2cqw; border-radius: 1.4cqw; }
.m-stats b { font-size: 2.2cqw; }

/* Hotel */
.m-hotel { background: #F6F0E6; color: #1F2A24; }
.m-hotel .m-nav { position: absolute; inset: 0 0 auto; z-index: 2; color: #FFF8EC; }
.m-hotel .m-nav em { background: #C9A15C; color: #1F2A24; }
.m-hotel .m-hero { position: relative; flex: 1; overflow: hidden; background: linear-gradient(180deg, #2C3E55 0%, #C77D5A 55%, #F3B77E 75%); }
.m-hotel .sun { position: absolute; width: 16cqw; height: 16cqw; border-radius: 50%; right: 18cqw; top: 22cqw; background: radial-gradient(circle, #FFE3AE, #F7A65E 70%); box-shadow: 0 0 8cqw #F7A65E; animation: sunset 9s ease-in-out infinite alternate; }
@keyframes sunset { to { transform: translateY(3cqw); } }
.m-hotel .sea { position: absolute; inset: auto 0 0; height: 40%; background: repeating-linear-gradient(180deg, #1F4C63 0 1.2cqw, #24607A 1.2cqw 2cqw); opacity: .95; }
.m-hotel .sea::after { content: ''; position: absolute; left: 60%; top: 0; width: 18cqw; height: 100%; background: linear-gradient(180deg, rgba(255,214,150,.65), transparent); filter: blur(1cqw); transform: translateX(-50%); }
.m-hotel .palm { position: absolute; left: 6cqw; bottom: 20%; width: 1.2cqw; height: 26cqw; background: #1B2621; transform: rotate(-6deg); transform-origin: bottom; }
.m-hotel .palm::before, .m-hotel .palm::after { content: ''; position: absolute; top: -1cqw; width: 14cqw; height: 4cqw; border-radius: 50% 50% 0 50%; background: #1B2621; right: 0; transform: rotate(18deg); }
.m-hotel .palm::after { left: 0; right: auto; border-radius: 50% 50% 50% 0; transform: rotate(-24deg); }
.m-hotel .m-copy { position: absolute; left: 18cqw; top: 15cqw; color: #FFF8EC; text-shadow: 0 .4cqw 2cqw rgba(0,0,0,.25); }
.m-hotel .m-book { position: absolute; left: 4cqw; right: 4cqw; bottom: 3cqw; display: flex; gap: 2cqw; align-items: center; padding: 1.6cqw 2.2cqw; background: #FFFBF4; border-radius: 1.4cqw; font-size: 1.3cqw; color: #6A6458; box-shadow: 0 1cqw 3cqw rgba(0,0,0,.2); }
.m-hotel .m-book span { flex: 1; } .m-hotel .m-book b { color: #1F2A24; font-size: 1.6cqw; }
.m-hotel .m-book em { font-style: normal; background: #1F2A24; color: #F6F0E6; padding: 1.2cqw 2.4cqw; border-radius: .8cqw; font-weight: 500; }
.m-hotel .m-cards { display: flex; gap: 2cqw; padding: 2.4cqw 4cqw; height: 12cqw; }
.m-hotel .m-cards i { flex: 1; border-radius: 1cqw; background: linear-gradient(135deg, #D9C6A5, #B9946A); }
.m-hotel .m-cards .c2 { background: linear-gradient(135deg, #A7B9A9, #6E8B78); } .m-hotel .m-cards .c3 { background: linear-gradient(135deg, #C9B39A, #8C6E57); }

/* Medical */
.m-medical { background: #F3F8FB; color: #0E3049; }
.m-medical .m-nav em { background: #1F8FB5; color: #fff; }
.m-medical .cross { width: 2.4cqw; height: 2.4cqw; background: conic-gradient(from 0deg, #1F8FB5 0 0); clip-path: polygon(35% 0,65% 0,65% 35%,100% 35%,100% 65%,65% 65%,65% 100%,35% 100%,35% 65%,0 65%,0 35%,35% 35%); }
.m-split { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; padding: 2cqw 4cqw; align-items: center; }
.m-medical .m-copy p { height: 1.1cqw; width: 80%; border-radius: 1cqw; background: #CFE0EA; }
.m-medical .m-copy p.s { width: 60%; }
.m-medical .m-copy em { background: #0E3049; color: #fff; }
.m-pulse { position: relative; height: 100%; border-radius: 2cqw; background: linear-gradient(160deg, #D9EEF6, #BFE1EE); display: flex; flex-direction: column; justify-content: center; padding: 3cqw; gap: 2cqw; }
.m-pulse svg { width: 100%; height: auto; }
.ekg { fill: none; stroke: #1F8FB5; stroke-width: 2.4; stroke-linejoin: round; stroke-dasharray: 360; stroke-dashoffset: 360; animation: ekg 3s linear infinite; }
@keyframes ekg { 60% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -360; } }
.m-appt { background: #fff; border-radius: 1.4cqw; padding: 1.8cqw 2.2cqw; display: flex; flex-direction: column; gap: .5cqw; font-size: 1.4cqw; box-shadow: 0 1cqw 3cqw rgba(14,48,73,.12); }
.m-appt b { font-size: 1.7cqw; } .m-appt .ok { color: #1F8F6A; }
.m-chips { display: flex; gap: 1.4cqw; padding: 0 4cqw 3cqw; flex-wrap: wrap; }
.m-chips span { font-size: 1.4cqw; padding: .9cqw 2cqw; border-radius: 99px; background: #fff; border: 1px solid #CFE0EA; }

/* Corporate */
.m-corp { background: #0B1220; color: #E9EDF3; }
.m-corp .m-nav b small { font-weight: 300; letter-spacing: .2em; font-size: 1.4cqw; opacity: .7; }
.m-corp .m-nav em { border: 1px solid #C9A86A; color: #C9A86A; }
.m-corp .m-hero { position: relative; flex: 1; background: radial-gradient(ellipse at 70% 30%, #23324F, #0B1220 70%); overflow: hidden; }
.m-corp .skyline { position: absolute; right: 3cqw; bottom: 0; display: flex; align-items: flex-end; gap: 1.2cqw; height: 80%; }
.m-corp .skyline i { width: 5cqw; background: linear-gradient(180deg, #2B3B5C, #18233A); border-top: 2px solid #C9A86A; background-image: repeating-linear-gradient(0deg, transparent 0 1.6cqw, rgba(201,168,106,.25) 1.6cqw 1.9cqw), linear-gradient(180deg, #2B3B5C, #18233A); animation: grow 1.4s var(--ease) both; }
.m-corp .skyline i:nth-child(1) { height: 45%; } .m-corp .skyline i:nth-child(2) { height: 70%; animation-delay: .1s; } .m-corp .skyline i:nth-child(3) { height: 92%; animation-delay: .2s; }
.m-corp .skyline i:nth-child(4) { height: 60%; animation-delay: .3s; } .m-corp .skyline i:nth-child(5) { height: 80%; animation-delay: .4s; } .m-corp .skyline i:nth-child(6) { height: 50%; animation-delay: .5s; } .m-corp .skyline i:nth-child(7) { height: 66%; animation-delay: .6s; }
@keyframes grow { from { transform: scaleY(.2); transform-origin: bottom; } to { transform: scaleY(1); transform-origin: bottom; } }
.m-corp .m-copy { position: absolute; left: 4cqw; top: 9cqw; }
.m-corp .m-copy small { color: #C9A86A; opacity: 1; }
.m-corp .m-stats span { background: #131D31; border: 1px solid #1F2C45; }

/* Taxi */
.m-taxi { background: #141414; color: #F5F5F5; }
.m-taxi .m-nav b span { background: #FFC629; color: #141414; padding: 0 .8cqw; margin-left: .6cqw; border-radius: .4cqw; }
.m-taxi .m-nav em { background: #FFC629; color: #141414; }
.m-taxi .m-copy small { color: #FFC629; opacity: 1; }
.m-form { display: flex; flex-direction: column; gap: 1cqw; margin-top: 1.4cqw; }
.m-form .pin { font-size: 1.4cqw; padding: 1.2cqw 1.6cqw 1.2cqw 3.4cqw; border-radius: 1cqw; background: #222; border: 1px solid #333; position: relative; }
.m-form .pin::before { content: ''; position: absolute; left: 1.4cqw; top: 50%; width: 1cqw; height: 1cqw; border-radius: 50%; background: #FFC629; transform: translateY(-50%); }
.m-form .pin.b::before { background: #fff; border-radius: .2cqw; }
.m-form em { font-style: normal; text-align: center; background: #FFC629; color: #141414; padding: 1.2cqw; border-radius: 1cqw; font-weight: 600; font-size: 1.6cqw; }
.m-map { position: relative; height: 100%; border-radius: 2cqw; overflow: hidden; background: #1E1E1E; background-image: linear-gradient(#262626 1px, transparent 1px), linear-gradient(90deg, #262626 1px, transparent 1px); background-size: 4cqw 4cqw; }
.m-map svg { position: absolute; inset: 6%; width: 88%; height: 88%; }
.m-map .road { fill: none; stroke: #333; stroke-width: 9; stroke-linecap: round; }
.m-map .route { fill: none; stroke: #FFC629; stroke-width: 3; stroke-dasharray: 6 6; animation: dash 1.2s linear infinite; }
.m-map circle { fill: #FFC629; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.m-map circle.car { fill: #fff; stroke: rgba(255,198,41,.45); stroke-width: 5; }

/* Construction */
.m-build { background: #F2F0EB; color: #1E1E1E; }
.m-build .m-nav em { background: #F26B1D; color: #fff; }
.m-build .m-hero { position: relative; flex: 1; background: linear-gradient(180deg, #CFE3EE 0%, #EDE6D8 100%); overflow: hidden; }
.m-build.alt { background: #EEF1EF; }
.m-build.alt .m-nav em { background: #2E7D5B; }
.m-build.alt .m-hero { background: linear-gradient(180deg, #DDEBE4 0%, #F1EEE6 100%); }
.m-build .m-copy { position: absolute; left: 4cqw; top: 6cqw; }
.m-build .m-copy small { color: #F26B1D; opacity: 1; font-weight: 600; }
.m-build.alt .m-copy small { color: #2E7D5B; }
.crane { position: absolute; right: 30cqw; bottom: 0; width: 2cqw; height: 86%; }
.crane .mast { position: absolute; inset: 0; background: repeating-linear-gradient(45deg, #F2B21D 0 .5cqw, transparent .5cqw 1.2cqw), #F2B21D20; border-inline: .4cqw solid #F2B21D; }
.crane .jib { position: absolute; top: 0; left: -8cqw; width: 30cqw; height: 1.4cqw; background: #F2B21D; transform-origin: 9cqw 50%; animation: jib 7s ease-in-out infinite alternate; }
.crane .hook { position: absolute; top: 1.4cqw; left: 14cqw; width: .3cqw; height: 12cqw; background: #333; animation: hook 7s ease-in-out infinite alternate; }
.crane .hook::after { content: ''; position: absolute; bottom: -2cqw; left: -1.5cqw; width: 3.3cqw; height: 2cqw; background: #8A6A3D; border-radius: .3cqw; }
@keyframes jib { to { transform: rotate(-4deg); } }
@keyframes hook { to { height: 18cqw; } }
.m-build.alt .crane .mast { border-color: #2E7D5B; background: repeating-linear-gradient(45deg, #2E7D5B 0 .5cqw, transparent .5cqw 1.2cqw); }
.m-build.alt .crane .jib { background: #2E7D5B; }
.tower { position: absolute; right: 6cqw; bottom: 0; width: 20cqw; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8cqw; padding: 1.2cqw; background: #5A5F66; }
.tower i { height: 3.2cqw; background: #A9C8DA; animation: lit 4s infinite; }
.tower i:nth-child(3n) { animation-delay: 1.2s; } .tower i:nth-child(2n) { animation-delay: 2.1s; }
@keyframes lit { 50% { background: #E8F1F6; } }
.m-build.alt .tower { background: #DDD6C8; } .m-build.alt .tower i { background: #7FA392; }
.m-build .m-stats { padding-top: 2cqw; } .m-build .m-stats span { background: #fff; }

/* CRM dashboard */
.m-crm { flex-direction: row; background: #0E1626; color: #DCE3EE; --acc: #F2A93B; }
.m-crm aside { width: 16cqw; background: #0A111E; display: flex; flex-direction: column; gap: 1.6cqw; padding: 2.6cqw 2cqw; border-right: 1px solid #1B2638; }
.m-crm aside b { font-size: 1.8cqw; margin-bottom: 1.4cqw; color: var(--acc); }
.m-crm aside i { height: 1.4cqw; border-radius: .6cqw; background: #1B2638; }
.m-crm aside i.on { background: var(--acc); opacity: .85; }
.m-main { flex: 1; display: flex; flex-direction: column; gap: 2cqw; padding: 2.4cqw 3cqw; min-width: 0; }
.m-top { display: flex; align-items: center; gap: 2cqw; font-size: 2cqw; font-weight: 600; }
.m-top .search { flex: 1; height: 3cqw; border-radius: 99px; background: #172236; margin-left: 2cqw; }
.m-top .avatar { width: 3cqw; height: 3cqw; border-radius: 50%; background: linear-gradient(135deg, var(--acc), #fff); }
.m-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; }
.m-kpis div { background: #142036; border: 1px solid #1E2B44; border-radius: 1.4cqw; padding: 1.6cqw; display: flex; flex-direction: column; gap: .4cqw; }
.m-kpis small { font-size: 1.2cqw; opacity: .65; }
.m-kpis b { font-size: 2.8cqw; font-variant-numeric: tabular-nums; }
.m-kpis em { font-style: normal; font-size: 1.2cqw; color: #5FC38F; } .m-kpis em.dn { color: #E8836B; }
.m-chart { flex: 1; display: flex; align-items: flex-end; gap: 1cqw; padding: 1.6cqw; background: #142036; border: 1px solid #1E2B44; border-radius: 1.4cqw; min-height: 0; }
.m-chart i { flex: 1; height: var(--h); border-radius: .5cqw .5cqw 0 0; background: linear-gradient(180deg, var(--acc), color-mix(in srgb, var(--acc) 25%, #142036)); transform-origin: bottom; }
.in-view .m-chart i { animation: bar 1.1s var(--ease) both; animation-delay: var(--d); }
@keyframes bar { from { transform: scaleY(0); } }
.m-rows { display: flex; flex-direction: column; gap: .8cqw; }
.m-rows div { display: flex; align-items: center; gap: 1.4cqw; font-size: 1.3cqw; padding: .9cqw 1.4cqw; background: #121C2F; border-radius: .8cqw; }
.m-rows span:nth-child(2) { flex: 1; }
.m-rows .dot { width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: var(--acc); opacity: .7; }
.m-rows .tag { font-size: 1.1cqw; padding: .3cqw 1cqw; border-radius: 99px; background: rgba(95,195,143,.15); color: #5FC38F; }
.m-rows .tag.warn { background: rgba(242,169,59,.15); color: #F2A93B; }

/* Generic website mock (uses the project's own name, accent and headline) */
.m-gen { background: #F7F8FA; color: #16202E; --acc: #F2A93B; }
.m-gen .m-nav b { letter-spacing: .02em; }
.m-gen .g-dot { width: 2cqw; height: 2cqw; border-radius: .6cqw; background: var(--acc); display: inline-block; }
.m-gen .m-nav em { background: var(--acc); color: #fff; }
.m-gen .m-copy small { color: var(--acc); opacity: 1; font-weight: 600; }
.m-gen .m-copy p { height: 1.1cqw; width: 80%; border-radius: 1cqw; background: #DDE2EA; }
.m-gen .m-copy p.s { width: 58%; }
.m-gen .m-copy em { background: #16202E; color: #fff; }
.g-visual { position: relative; height: 100%; border-radius: 2cqw; overflow: hidden; background: linear-gradient(150deg, color-mix(in srgb, var(--acc) 22%, #fff), color-mix(in srgb, var(--acc) 55%, #16202E)); }
.g-visual i { position: absolute; border-radius: 1.4cqw; background: rgba(255,255,255,.85); box-shadow: 0 1cqw 3cqw rgba(0,0,0,.12); animation: gfloat 6s ease-in-out infinite; }
.g-visual .g1 { left: 10%; top: 14%; width: 48%; height: 34%; }
.g-visual .g2 { right: 9%; top: 34%; width: 36%; height: 40%; background: rgba(255,255,255,.6); animation-delay: -2s; }
.g-visual .g3 { left: 18%; bottom: 10%; width: 30%; height: 22%; background: color-mix(in srgb, var(--acc) 70%, #fff); animation-delay: -4s; }
.g-badge { position: absolute; left: 8%; bottom: 40%; font-size: 1.3cqw; font-weight: 600; padding: .8cqw 1.6cqw; border-radius: 99px; background: #fff; color: #16202E; box-shadow: 0 1cqw 2cqw rgba(0,0,0,.15); }
@keyframes gfloat { 50% { transform: translateY(-1.2cqw); } }
.g-tiles { display: flex; gap: 2cqw; padding: 0 4cqw 3cqw; }
.g-tiles span { flex: 1; height: 7cqw; border-radius: 1.4cqw; background: #fff; border: 1px solid #E3E7EE; display: flex; align-items: center; padding: 0 1.6cqw; }
.g-tiles i { width: 3cqw; height: 3cqw; border-radius: .8cqw; background: color-mix(in srgb, var(--acc) 25%, #fff); }




/* ---------- Process route ---------- */
.route { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.route-line { position: absolute; top: 2px; left: 0; width: 100%; height: 40px; overflow: visible; pointer-events: none; }
.route-line path { fill: none; stroke: var(--line); stroke-width: 2; stroke-dasharray: 4 8; vector-effect: non-scaling-stroke; }
.route li { display: flex; flex-direction: column; gap: 12px; position: relative; padding-top: 64px; min-width: 0; }
.route li::before { content: ''; position: absolute; top: 14px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--navy); border: 2px solid var(--amber); box-shadow: 0 0 0 6px var(--navy); }
.route .route-num { color: var(--amber); }
.route h3 { font-size: var(--t-h3); }
.route p { color: var(--mist); font-size: var(--t-sm); }
.route.dark-on-light li::before { background: var(--cream); box-shadow: 0 0 0 6px var(--cream); border-color: var(--amber-deep); }
.route.dark-on-light .route-num { color: var(--amber-ink); }
.route.dark-on-light p { color: var(--ink-soft); }
.route.dark-on-light .route-line path { stroke: #CFC7B6; }

/* ---------- 2⁸ band ---------- */
.bits { background: radial-gradient(ellipse at 80% 50%, rgba(242,169,59,.08), transparent 60%), var(--navy-2); border-top: 1px solid var(--line); }
.bits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.bits-grid > div:first-child { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.bits h2 { font-size: clamp(3rem, 2rem + 5vw, 6rem); }
.bits h2 sup { color: var(--amber); font-size: .5em; }
.byte { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.bit { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); }
.bit i { width: 100%; aspect-ratio: 1 / 1.6; border-radius: 10px; border: 1px solid var(--line); background: var(--navy); position: relative; overflow: hidden; transition: background .4s, border-color .4s, box-shadow .4s; }
.bit i::after { content: '0'; position: absolute; inset: 0; display: grid; place-items: center; font: 500 clamp(1rem, .8rem + 1vw, 1.6rem) var(--f-mono); color: var(--muted); }
.bit.on i { background: linear-gradient(180deg, rgba(242,169,59,.25), rgba(242,169,59,.06)); border-color: var(--amber); box-shadow: 0 0 22px -6px rgba(242,169,59,.6); }
.bit.on i::after { content: '1'; color: var(--amber); }
.byte-out { grid-column: 1 / -1; color: var(--muted); margin-top: 10px; }
.byte-out b { color: var(--cream); font-variant-numeric: tabular-nums; }

/* ---------- About ---------- */
.story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.story-text { display: flex; flex-direction: column; gap: 20px; }
.story-text h2 { font-size: var(--t-h2); }
.story-text p { color: var(--mist); max-width: 60ch; }
.orbit { width: 100%; max-width: 380px; display: block; margin-inline: auto; }
.orbit > circle { fill: none; stroke: var(--line); stroke-dasharray: 3 6; }
.orbit g { transform-origin: 160px 160px; }
.orbit-a { animation: spin 18s linear infinite; } .orbit-b { animation: spin 11s linear infinite reverse; } .orbit-c { animation: spin 7s linear infinite; }
.orbit .amber { fill: var(--amber); } .orbit .cream { fill: var(--cream); } .orbit .ice { fill: #F7D9A0; }
.story-visual { margin: 0; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { background: var(--cream-2); border: 1px solid var(--cream-line); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 14px; transition: transform .4s var(--ease), box-shadow .4s; }
.pillar:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -28px rgba(10,22,40,.4); }
.pillar h3 { font-size: 1.6rem; }
.pillar p { color: var(--ink-soft); }
.founder-card { display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: center; padding: clamp(28px, 4vw, 56px); border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(135deg, var(--navy-2), var(--navy)); }
.founder-card > div:last-child { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.founder-card h2 { font-size: var(--t-h2); }
.founder-card p { color: var(--mist); max-width: 62ch; }
.founder-card .role { color: var(--amber); }
.founder-mark { width: 200px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(242,169,59,.14), transparent 70%); }
.founder-mark svg { width: 70%; animation: wobble 6s ease-in-out infinite; }
@keyframes wobble { 25% { transform: rotate(8deg); } 75% { transform: rotate(-6deg); } }
.badges { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.badges li { font-size: var(--t-xs); padding: .45em 1em; border-radius: 999px; border: 1px solid var(--line); color: var(--cream); }
.voice { border-top: 1px solid var(--line); }
.voice-row { display: grid; grid-template-columns: 1fr 1.4fr 1.4fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.voice-row b { font-weight: 600; font-size: var(--t-lg); }
.voice-row span { color: var(--mist); }
.voice-row s { color: var(--muted); text-decoration-color: var(--amber); }

/* ---------- Services page ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.jump a { font-size: var(--t-sm); padding: .5em 1.1em; border-radius: 999px; border: 1px solid var(--line); color: var(--mist); transition: border-color .2s, color .2s; }
.jump a:hover { border-color: var(--amber); color: var(--amber); }
.svc-list { display: flex; flex-direction: column; }
.svc { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; padding-block: 56px; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc-head { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 110px; align-self: start; }
.svc-icon { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; background: var(--navy-2); border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .3s; }
.svc:hover .svc-icon { transform: rotate(-8deg) scale(1.05); border-color: var(--amber); }
.svc-head h2 { font-size: var(--t-h2); }
.svc-body { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.checks li { display: flex; gap: 12px; align-items: baseline; color: var(--cream); }
.checks li::before { content: ''; flex-shrink: 0; width: 8px; height: 8px; border-radius: 2px; background: var(--amber); transform: rotate(45deg) translateY(-1px); }
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.faq .section-head { margin: 0; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-weight: 500; font-size: var(--t-lg); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--amber); font-weight: 300; font-size: 1.5rem; line-height: 1; transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--mist); margin-top: 12px; max-width: 62ch; }

/* ---------- Projects page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.filter { font: inherit; font-size: var(--t-sm); padding: .6em 1.2em; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--mist); cursor: pointer; display: inline-flex; gap: .6em; align-items: center; transition: all .25s; }
.filter span { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--muted); }
.filter:hover { border-color: var(--mist); color: var(--cream); }
.filter.is-on { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.filter.is-on span { color: var(--amber-deep); }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 32px; }
.project { display: flex; flex-direction: column; gap: 20px; min-width: 0; transition: opacity .4s, transform .4s var(--ease); }
.project.is-hidden { display: none; }
.project-meta { display: flex; flex-direction: column; gap: 10px; }
.project-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.project-top h2 { font-size: var(--t-h3); }
.project-top .pill { color: var(--amber); }
.project-meta p { color: var(--mist); font-size: var(--t-sm); }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-family: var(--f-mono); font-size: 11px; padding: .3em .8em; border-radius: 6px; background: var(--navy-2); color: var(--muted); border: 1px solid var(--line); }
.note { margin-top: 48px; font-size: var(--t-sm); color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; }
.contact-form-wrap { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.contact-form { display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: 24px; background: var(--navy-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: var(--t-sm); font-weight: 500; color: var(--cream); padding: 0; margin-bottom: 0; }
.field legend { margin-bottom: 10px; }
.opt { font-weight: 300; color: var(--muted); margin-left: 4px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: var(--t-md); color: var(--cream); background: var(--navy); border: 1px solid var(--line);
  border-radius: 12px; padding: .85em 1em; width: 100%; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(242,169,59,.15); }
.has-error input, .has-error textarea { border-color: #E8836B; }
.err-msg { font-size: var(--t-sm); color: #F0A08E; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice:last-child { grid-column: 1 / -1; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: block; padding: .75em 1em; border-radius: 12px; border: 1px solid var(--line); font-size: var(--t-sm); color: var(--mist); text-align: center; transition: all .2s; }
.choice:hover span { border-color: var(--mist); }
.choice input:checked + span { border-color: var(--amber); background: rgba(242,169,59,.1); color: var(--cream); }
.choice input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.contact-form .btn { align-self: flex-start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 16px 20px; border-radius: 14px; font-size: var(--t-sm); }
.alert.ok { background: rgba(95,195,143,.12); border: 1px solid rgba(95,195,143,.4); color: #BFEBD3; }
.alert.err { background: rgba(232,131,107,.12); border: 1px solid rgba(232,131,107,.4); color: #F6C5B9; }
.contact-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.contact-card { padding: 32px; border: 1px solid var(--line); border-radius: 24px; display: flex; flex-direction: column; gap: 4px; }
.contact-card h2 { font-size: var(--t-h3); margin-bottom: 14px; }
.contact-line { display: grid; grid-template-columns: 90px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); min-width: 0; }
.contact-line > span:nth-child(2), .contact-line a { overflow-wrap: anywhere; }
.contact-line .mono { color: var(--muted); }
.contact-line a { color: var(--amber); }
.copy { font: inherit; font-size: var(--t-xs); padding: .35em .9em; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--mist); cursor: pointer; }
.copy:hover { border-color: var(--amber); color: var(--amber); }
.locator { position: relative; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--navy-2); }
.locator svg { display: block; width: 100%; height: auto; }
.locator .grid line { stroke: var(--line); stroke-width: 1; }
.locator .pin { fill: var(--amber); }
.locator .ping { fill: none; stroke: var(--amber); stroke-width: 1.5; transform-origin: 150px 100px; animation: ping 2.8s var(--ease) infinite; }
.locator .ping.d2 { animation-delay: 1.4s; }
@keyframes ping { from { transform: scale(.15); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.locator-label { position: absolute; left: 20px; bottom: 16px; display: flex; flex-direction: column; gap: 2px; }
.locator-label .mono { color: var(--muted); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: clamp(64px, 8vw, 110px) calc(28px + env(safe-area-inset-bottom, 0px)); background: radial-gradient(ellipse at 50% 0%, rgba(242,169,59,.07), transparent 55%), var(--navy); }
.footer-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding-bottom: clamp(56px, 7vw, 90px); border-bottom: 1px solid var(--line); }
.footer-cta h2 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4.4rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; padding-block: 56px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.footer-grid h3 { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .2em; color: var(--amber); font-weight: 600; margin-bottom: 6px; }
.footer-grid a, .footer-grid span { color: var(--mist); font-size: var(--t-sm); overflow-wrap: anywhere; }
.footer-grid a:hover { color: var(--cream); }
.footer-brand p { color: var(--mist); font-size: var(--t-sm); margin-top: 8px; max-width: 30ch; }
.footer-brand .coords { color: var(--muted); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: var(--t-xs); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .route { grid-template-columns: repeat(2, 1fr); row-gap: 8px; }
  .route-line { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero { padding-top: calc(118px + env(safe-area-inset-top, 0px)); }
  .hero-grid, .bits-grid, .story, .contact-grid, .faq { grid-template-columns: 1fr; }
  .hero-compass { order: -1; } .compass { width: min(70vw, 300px); }
  .scroll-hint { display: none; }
  .work-grid, .project-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; gap: 24px; padding-block: 40px; }
  .svc-head { position: static; flex-direction: row; align-items: center; }
  .founder-card { grid-template-columns: 1fr; gap: 24px; }
  .founder-mark { width: 120px; }
  .voice-row { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
  .route { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .work-meta { flex-direction: column; }
  .byte { gap: 5px; }
  .bit span { font-size: 10px; }
  .contact-line { grid-template-columns: 1fr auto; }
  .contact-line .mono { grid-column: 1 / -1; }
}

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