/* =========================================================
   Mithran Creative Ventures — site styles
   ========================================================= */

:root {
  --navy: #0A2540;
  --navy-2: #103255;
  --navy-3: #173F66;
  --ink: #071B30;
  --gold: #C9A227;
  --gold-ink: #8A6D0F; /* brand gold darkened for text on light backgrounds (AA) */
  --gold-light: #E3C45A;
  --white: #FFFFFF;
  --gray: #F5F7FA;
  --slate: #5B6B7F;
  --line-dark: rgba(255, 255, 255, .12);
  --line-light: rgba(10, 37, 64, .12);
  --grad: linear-gradient(110deg, var(--gold) 0%, var(--gold-light) 100%);

  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --container: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(80px, 11vw, 160px);
  --radius: 6px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.05vw, 17px);
  line-height: 1.65;
  color: var(--navy);
  background: var(--navy);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-leaving { opacity: 0; transition: opacity .35s ease; }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.08; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold-light); color: var(--navy); }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 2px; }
.section--light :focus-visible, .section--white :focus-visible { outline-color: var(--gold-ink); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 16px;
  background: var(--gold-light); color: var(--navy); font-weight: 600; text-decoration: none;
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); overflow: clip; }
.section--dark { background: var(--navy); color: var(--white); }
.section--light { background: var(--gray); color: var(--navy); }
.section--white { background: var(--white); color: var(--navy); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.section--light .grad-text, .section--white .grad-text {
  background: linear-gradient(110deg, #7D630D, #8A6D0F 70%, #A8861A);
  -webkit-background-clip: text; background-clip: text;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: 12.5px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--light .eyebrow, .section--white .eyebrow { color: var(--gold-ink); }

.display { font-size: clamp(2.3rem, 5.2vw, 4.6rem); font-weight: 600; line-height: 1.02; letter-spacing: -.035em; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.5; font-weight: 500; }
.section-intro { color: var(--slate); font-size: 1.05rem; max-width: 46ch; }
.section--dark .section-intro { color: rgba(255, 255, 255, .68); }
.muted { color: var(--slate); }

.section-head { margin-bottom: clamp(48px, 6vw, 88px); }
.split-head { display: grid; gap: 28px; align-items: end; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split-head { grid-template-columns: 1.35fr 1fr; gap: 64px; } }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .3s, border-color .3s, color .3s, box-shadow .35s;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn-primary { background: var(--grad); color: var(--navy); box-shadow: 0 10px 30px -12px rgba(227, 196, 90, .6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(227, 196, 90, .8); }
.btn-ghost { border-color: rgba(255, 255, 255, .28); color: var(--white); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: var(--gold-light); background: rgba(227, 196, 90, .08); }
.btn-ghost-dark { border-color: var(--line-light); color: var(--navy); background: transparent; }
.btn-ghost-dark:hover { border-color: var(--gold); }
.btn-whatsapp { background: #25D366; color: #06301a; }
.btn-whatsapp:hover { transform: translateY(-2px); background: #2fe073; }
.btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Scroll progress + cursor ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

.cursor {
  position: fixed; top: 0; left: 0; z-index: 200; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1px solid rgba(227, 196, 90, .7); border-radius: 50%; pointer-events: none;
  opacity: 0; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background-color .3s, opacity .3s;
}
.cursor.is-on { opacity: 1; }
.cursor.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(227, 196, 90, .1); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background-color .4s, border-color .4s, backdrop-filter .4s, transform .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(10, 37, 64, .78);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line-dark);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.brand-logo { display: block; width: auto; height: 52px; }
@media (max-width: 380px) { .brand-logo { height: 46px; } }

.main-nav { margin-left: auto; display: none; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  position: relative; display: block; padding: 10px 14px; color: rgba(255, 255, 255, .78);
  text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color .25s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
  background: var(--gold-light); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--white); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-cta { display: none; }

.nav-toggle {
  margin-left: auto; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .04); cursor: pointer; position: relative; z-index: 2;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  position: absolute; left: 50%; width: 18px; height: 1.5px; background: var(--white); margin-left: -9px;
  transition: transform .4s var(--ease), opacity .2s;
}
.nav-toggle .bars { top: 50%; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle .bars::before { transform: translateY(-6px); }
.nav-toggle .bars::after { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: rotate(45deg); background: var(--white); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: rotate(-45deg); background: var(--white); }

@media (min-width: 1000px) {
  .main-nav, .header-cta { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink);
  padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
}
.mobile-menu:not([hidden]) { animation: menu-in .45s var(--ease); }
.mobile-menu li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu a {
  display: flex; align-items: baseline; gap: 16px; padding: 16px 0;
  font-family: var(--font-display); font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 600;
  color: var(--white); text-decoration: none; letter-spacing: -.02em;
}
.mobile-menu a i { font-style: normal; font-size: 12px; color: var(--gold-light); letter-spacing: .1em; }
.mobile-menu-tag { color: rgba(255, 255, 255, .5); letter-spacing: .2em; text-transform: uppercase; font-size: 12px; margin-top: 32px; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 110px; color: var(--white); overflow: clip; isolation: isolate;
  background: radial-gradient(120% 90% at 75% 40%, #14406A 0%, var(--navy) 55%, var(--ink) 100%);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-mesh { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero-mesh span { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; animation: drift 18s ease-in-out infinite alternate; }
.hero-mesh span:nth-child(1) { width: 46vw; height: 46vw; right: -8vw; top: 4vh; background: radial-gradient(circle, rgba(201, 162, 39, .16), transparent 65%); }
.hero-mesh span:nth-child(2) { width: 30vw; height: 30vw; left: 30vw; bottom: -12vw; background: radial-gradient(circle, rgba(227, 196, 90, .08), transparent 65%); animation-duration: 24s; }
.hero-mesh span:nth-child(3) { width: 24vw; height: 24vw; left: -6vw; top: 10vh; background: radial-gradient(circle, rgba(23, 63, 102, .9), transparent 70%); animation-duration: 30s; }
@keyframes drift { to { transform: translate3d(-4vw, 3vh, 0) scale(1.08); } }

.hero-orbits { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-orbits ellipse { fill: none; stroke: rgba(227, 196, 90, .16); stroke-width: 1; stroke-dasharray: 4 10; animation: dash 60s linear infinite; }
.hero-orbits ellipse:nth-child(2) { stroke: rgba(201, 162, 39, .22); stroke-dasharray: none; }
.hero-orbits ellipse:nth-child(3) { animation-direction: reverse; animation-duration: 90s; }
@keyframes dash { to { stroke-dashoffset: -1000; } }

.hero-grid { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 24px; } }

.status-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px;
  border: 1px solid rgba(227, 196, 90, .3); border-radius: 999px; background: rgba(227, 196, 90, .06);
  font-family: var(--font-display); font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255, 255, 255, .85); margin-bottom: 28px;
}
.status-pill .dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-light); }
.status-pill .dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--gold-light); animation: ping 2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }

.hero-title {
  font-size: clamp(3rem, 8.2vw, 7.6rem); font-weight: 700; line-height: .9; letter-spacing: -.045em;
  text-transform: uppercase; margin-bottom: 28px;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .line > span { display: inline-block; }
.js .hero-title .line > span { transform: translateY(110%); transition: transform 1.1s var(--ease); }
.js .hero-title .line:nth-child(2) > span { transition-delay: .1s; }
.js .hero-title .line:nth-child(3) > span { transition-delay: .2s; }
.is-loaded .hero-title .line > span { transform: none; }

.hero-sub { font-family: var(--font-display); font-size: clamp(1.1rem, 1.7vw, 1.4rem); font-weight: 500; color: var(--gold-light); margin-bottom: 14px; }
.hero-desc { max-width: 52ch; color: rgba(255, 255, 255, .72); font-size: 1.05rem; margin-bottom: 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-disciplines { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.hero-disciplines li { display: inline-flex; align-items: center; gap: 14px; }
.hero-disciplines li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

.js .hero-copy > :not(.hero-title) { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.is-loaded .hero-copy > :not(.hero-title) { opacity: 1; transform: none; }
.is-loaded .hero-copy > .hero-sub { transition-delay: .35s; }
.is-loaded .hero-copy > .hero-desc { transition-delay: .45s; }
.is-loaded .hero-copy > .hero-ctas { transition-delay: .55s; }
.is-loaded .hero-copy > .hero-disciplines { transition-delay: .65s; }

/* Sculpture */
.hero-visual { position: relative; height: clamp(360px, 52vw, 620px); perspective: 1200px; }
.sculpture-float { position: absolute; inset: 0; display: grid; place-items: center; animation: float 9s ease-in-out infinite; transform-style: preserve-3d; }
@keyframes float { 50% { transform: translateY(-14px); } }
.sculpture {
  position: relative; width: min(78%, 440px); aspect-ratio: 1; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, -18deg)); transition: transform 1.2s var(--ease);
}
.m-stack { position: absolute; inset: 0; transform-style: preserve-3d; }
.m-layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.m-front { filter: drop-shadow(0 0 16px rgba(227, 196, 90, .28)); }
.m-back .ring { stroke: #2A5480; }
.m-back .bar { fill: #2A5480; }
.m-back .v { fill: #8A6D0F; }
.sculpture-glow { position: absolute; inset: 20%; border-radius: 50%; background: radial-gradient(circle, rgba(201, 162, 39, .18), transparent 70%); filter: blur(30px); transform: translateZ(-60px); }
.orbit {
  position: absolute; inset: -6%; border-radius: 50%; border: 1px solid rgba(227, 196, 90, .45);
  transform-style: preserve-3d; animation: spin 16s linear infinite;
}
.orbit::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 14px var(--gold-light); }
.orbit-1 { --tilt: rotateX(74deg) rotateY(-8deg); }
.orbit-2 { inset: -18%; border-color: rgba(201, 162, 39, .3); --tilt: rotateX(66deg) rotateY(24deg); animation-duration: 24s; animation-direction: reverse; }
.orbit-3 { inset: 8%; border-style: dashed; border-color: rgba(255, 255, 255, .18); --tilt: rotateX(82deg) rotateY(-30deg); animation-duration: 30s; }
@keyframes spin { from { transform: var(--tilt) rotateZ(0); } to { transform: var(--tilt) rotateZ(360deg); } }

/* Floating collage cards */
.float-card {
  position: absolute; z-index: 2; padding: 12px 14px; border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6);
  transform: translate3d(var(--px, 0), var(--py, 0), 0); transition: transform 1s var(--ease);
}
.fc-cap { margin: 8px 0 0; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.fc-head { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; color: rgba(255, 255, 255, .8); margin-bottom: 6px; }
.fc-head em { font-style: normal; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); opacity: .8; }
.fc-analytics { width: 200px; left: 0; top: 8%; }
.fc-analytics svg { width: 100%; }
.spark { fill: none; stroke: var(--gold-light); stroke-width: 2; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 3s var(--ease) .8s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.fc-brand { right: 2%; top: 4%; display: grid; grid-template-columns: auto auto; gap: 4px 14px; align-items: center; }
.fc-type { font-family: var(--font-display); font-size: 40px; font-weight: 700; line-height: 1; }
.swatches { display: grid; grid-template-columns: repeat(2, 14px); gap: 4px; }
.swatches i { width: 14px; height: 14px; border-radius: 2px; background: var(--c); border: 1px solid rgba(255, 255, 255, .25); }
.fc-brand .fc-cap { grid-column: 1 / -1; }
.fc-strategy { width: 150px; right: -2%; top: 46%; }
.net-lines path { fill: none; stroke: rgba(227, 196, 90, .55); stroke-width: 1.2; }
.net-nodes circle { fill: var(--navy); stroke: var(--gold-light); stroke-width: 1.5; }
.net-nodes circle:nth-child(3) { fill: var(--gold-light); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .4; } }
.fc-event { width: 150px; left: 6%; bottom: 8%; }
.stage { position: relative; height: 70px; border-radius: 3px; overflow: hidden; background: linear-gradient(#071B30, #173F66); }
.stage i { position: absolute; top: -10px; width: 34px; height: 90px; background: linear-gradient(rgba(227, 196, 90, .7), transparent); clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%); transform-origin: top center; animation: sweep 4s ease-in-out infinite alternate; }
.stage i:nth-child(1) { left: 10px; }
.stage i:nth-child(2) { left: 58px; animation-delay: -1.3s; }
.stage i:nth-child(3) { left: 106px; animation-delay: -2.6s; }
.stage b { position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: rgba(255, 255, 255, .15); }
@keyframes sweep { from { transform: rotate(-14deg); } to { transform: rotate(14deg); } }
.fc-drone { width: 150px; right: 18%; bottom: 0; }
.drone path { fill: none; stroke: rgba(255, 255, 255, .8); stroke-width: 2.5; stroke-linecap: round; }
.drone rect { fill: var(--gold); }
.drone .rotor circle { fill: rgba(227, 196, 90, .15); stroke: var(--gold-light); stroke-width: 1; stroke-dasharray: 10 6; transform-box: fill-box; transform-origin: center; animation: rotor .6s linear infinite; }
@keyframes rotor { to { transform: rotate(360deg); } }

@media (max-width: 999px) {
  .hero-visual { height: clamp(320px, 80vw, 480px); margin-top: 8px; }
  .fc-strategy, .fc-event { display: none; }
  .fc-analytics { width: 160px; top: 2%; }
  .fc-drone { width: 120px; right: 2%; bottom: 4%; }
}
@media (max-width: 520px) { .fc-brand, .fc-analytics { display: none; } .fc-drone { width: 96px; right: 0; bottom: 0; padding: 8px 10px; } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none;
  color: rgba(255, 255, 255, .55); font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
}
.cue-line { position: relative; width: 1px; height: 44px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.cue-line::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold-light); animation: cue 2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- About ---------- */
.about-bg { position: absolute; inset: 0; pointer-events: none; }
.about-word {
  position: absolute; right: -2vw; bottom: -6vw; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(10rem, 30vw, 28rem); line-height: .8; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(10, 37, 64, .08);
}
.about-bg svg { position: absolute; left: -220px; top: -160px; width: 700px; height: 700px; }
.about-bg circle, .about-bg ellipse { fill: none; stroke: rgba(201, 162, 39, .14); }
.about-grid { position: relative; display: grid; gap: 48px; }
@media (min-width: 960px) {
  .about-grid { grid-template-columns: 1fr 1.05fr; gap: clamp(48px, 7vw, 120px); }
  .about-head { position: sticky; top: calc(var(--header-h) + 48px); align-self: start; }
}
.about-body > p:not(.lead) { color: var(--slate); }
.principles { margin: 48px 0; border-top: 1px solid var(--line-light); }
.principles li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line-light); position: relative; }
.principles li::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.principles li:hover::after { transform: scaleX(1); }
.p-num { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--gold-ink); padding-top: 4px; }
.principles h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 600; margin-bottom: 6px; }
.principles p { margin: 0; color: var(--slate); }
.about-head .facts { margin-top: 44px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; }
.facts div { border-left: 1px solid var(--line-light); padding-left: 16px; }
.facts dt { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.facts dd { margin: 10px 0 0; font-size: 13.5px; color: var(--slate); line-height: 1.45; }

/* ---------- Services ---------- */
.services { background: radial-gradient(80% 60% at 10% 0%, #123A60 0%, var(--navy) 60%); }
.svc-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .svc-grid { grid-template-columns: repeat(12, 1fr); }
  .svc-grid .svc-digital { grid-column: span 7; }
  .svc-grid .svc-brand { grid-column: span 5; }
  .svc-grid .svc-consult { grid-column: span 5; }
  .svc-grid .svc-events { grid-column: span 7; }
  .svc-grid .svc-drone { grid-column: 1 / -1; }
  .svc-grid .svc-card.svc-drone { display: grid; grid-template-columns: 1fr 1.4fr; }
  .svc-grid .svc-drone .svc-visual { order: 2; height: 100%; min-height: 300px; border-bottom: 0; border-left: 1px solid var(--line-dark); }
}
.svc-card {
  position: relative; display: flex; flex-direction: column; border: 1px solid var(--line-dark); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01));
  overflow: hidden; transition: border-color .5s, transform .6s var(--ease), translate .6s var(--ease), box-shadow .6s, background-color .5s;
}
.svc-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(227, 196, 90, .12), transparent 45%);
}
.svc-card:hover { border-color: rgba(227, 196, 90, .45); }
.svc-card:hover::before { opacity: 1; }
.svc-visual { position: relative; height: clamp(200px, 22vw, 260px); border-bottom: 1px solid var(--line-dark); overflow: hidden; }
.svc-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.svc-body { position: relative; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; flex: 1; }
.svc-num { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 13px; letter-spacing: .2em; color: var(--gold-light); margin-bottom: 14px; }
.svc-body h3 { font-size: clamp(1.45rem, 2.3vw, 2rem); font-weight: 600; margin-bottom: 12px; }
.svc-body p { color: rgba(255, 255, 255, .68); max-width: 52ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 26px; }
.tags li { font-size: 12px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-dark); color: rgba(255, 255, 255, .78); }
.explore {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  background: none; border: 0; padding: 6px 0; cursor: pointer; color: var(--white);
  font-family: var(--font-display); font-weight: 600; font-size: 15px; border-bottom: 1px solid rgba(227, 196, 90, .5);
}
.explore svg { width: 18px; height: 18px; color: var(--gold-light); transition: transform .4s var(--ease); }
.explore:hover svg, .svc-card:hover .explore svg { transform: translateX(6px); }

/* Service visuals */
.svc-visual .draw { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 2s var(--ease); }
.svc-card.is-in .draw { stroke-dashoffset: 0; }
.grid-lines path, .baseline path { stroke: rgba(255, 255, 255, .08); fill: none; }
.bars rect { fill: rgba(201, 162, 39, .35); transform-box: fill-box; transform-origin: bottom; transform: scaleY(.55); transition: transform .9s var(--ease), fill .5s; }
.bars rect:nth-child(2) { transition-delay: .05s; } .bars rect:nth-child(3) { transition-delay: .1s; }
.bars rect:nth-child(4) { transition-delay: .15s; } .bars rect:nth-child(5) { transition-delay: .2s; } .bars rect:nth-child(6) { transition-delay: .25s; }
.svc-card.is-in .bars rect { transform: scaleY(.85); }
.svc-card:hover .bars rect { transform: scaleY(1); fill: rgba(227, 196, 90, .55); }
.funnel path { fill: rgba(227, 196, 90, .12); stroke: rgba(227, 196, 90, .6); transition: fill .5s; }
.svc-card:hover .funnel path:nth-child(3) { fill: var(--gold-light); }
.labels text, .q-lbl { font-family: var(--font-body); font-size: 9px; letter-spacing: .2em; fill: rgba(255, 255, 255, .45); }
.big-type { font-family: var(--font-display); font-weight: 700; font-size: 150px; fill: rgba(255, 255, 255, .92); letter-spacing: -8px; transition: fill .5s; }
.svc-brand:hover .big-type { fill: var(--gold-light); }
.construct circle, .construct path { fill: none; stroke: rgba(255, 255, 255, .16); }
.construct { transform-origin: 300px 104px; transition: transform 1.4s var(--ease); }
.svc-brand:hover .construct { transform: rotate(45deg); }
.quad rect, .quad path { fill: none; stroke: rgba(255, 255, 255, .14); }
.links path { fill: none; stroke: rgba(227, 196, 90, .4); stroke-width: 1.4; stroke-dasharray: 5 5; animation: dash 30s linear infinite; }
.nodes circle { fill: var(--navy); stroke: var(--gold-light); stroke-width: 2; transition: fill .4s; }
.svc-consult:hover .nodes circle { fill: var(--gold-light); }
.svc-consult:hover .nodes circle:nth-child(2n) { fill: var(--navy); }
.beams path { transform-box: fill-box; transform-origin: top center; animation: sweep 5s ease-in-out infinite alternate; opacity: .5; transition: opacity .5s; }
.beams path:nth-child(2) { animation-delay: -1.6s; } .beams path:nth-child(3) { animation-delay: -3.2s; }
.svc-events:hover .beams path { opacity: .9; }
.screen { fill: rgba(10, 37, 64, .9); stroke: rgba(227, 196, 90, .4); }
.platform { fill: rgba(255, 255, 255, .1); }
.crowd circle { fill: rgba(255, 255, 255, .22); }
.terrain path { fill: none; stroke: rgba(227, 196, 90, .28); stroke-width: 1; }
.flight { fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 1.5; stroke-dasharray: 6 8; animation: dash 40s linear infinite reverse; }
.drone-big path { fill: none; stroke: var(--white); stroke-width: 3; stroke-linecap: round; }
.drone-big rect { fill: var(--gold); }
.drone-big .rotor ellipse { fill: rgba(227, 196, 90, .25); stroke: var(--gold-light); transform-box: fill-box; transform-origin: center; animation: blade .25s linear infinite alternate; }
@keyframes blade { to { transform: scaleX(.4); } }
.drone-big .scan { fill: rgba(227, 196, 90, .08); stroke: rgba(227, 196, 90, .3); stroke-dasharray: 3 5; }
.drone-big { animation: hover-y 5s ease-in-out infinite; }
@keyframes hover-y { 50% { translate: 0 -10px; } }

/* ---------- Work ---------- */
.work-grid { display: grid; gap: clamp(20px, 2.4vw, 32px); grid-template-columns: 1fr; grid-auto-flow: dense; }
@media (min-width: 700px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .work-grid { grid-template-columns: repeat(3, 1fr); }
  .proj--wide { grid-column: span 2; }
  .proj--tall { grid-row: span 2; }
  .proj--tall .proj-art { aspect-ratio: auto; flex: 1; min-height: 520px; }
}
.proj { display: flex; flex-direction: column; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.proj.is-hiding { opacity: 0; transform: scale(.97); }
.proj[hidden] { display: none; }
.proj-open {
  display: flex; flex-direction: column; height: 100%; text-align: left; padding: 0; border: 0; background: none; cursor: pointer; color: inherit;
}
.proj-art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: var(--navy); margin-bottom: 18px; }
.proj--wide .proj-art { aspect-ratio: 16 / 9; }
.proj-art svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 1.2s var(--ease), filter .6s; }
.proj-art::after {
  content: "View concept"; position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px;
  background: var(--white); color: var(--navy); font-family: var(--font-display); font-size: 13px; font-weight: 600;
  opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s var(--ease);
}
.proj-art[data-label]::after { content: attr(data-label); }
.proj-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.proj-open:hover .proj-art img, .proj-open:focus-visible .proj-art img { transform: scale(1.05); }
.proj-art-empty { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .5); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.proj-year { font-size: 12.5px; color: var(--slate); }
a.proj-open { text-decoration: none; }
.proj-open:hover .proj-art svg, .proj-open:focus-visible .proj-art svg { transform: scale(1.06); }
.proj-open:hover .proj-art::after, .proj-open:focus-visible .proj-art::after { opacity: 1; transform: none; }
.proj-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.proj-cat { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600; }
.badge-concept { font-size: 11px; padding: 3px 10px; border-radius: 999px; border: 1px dashed var(--slate); color: var(--slate); }
.proj h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 600; margin-bottom: 6px; }
.proj-open p { color: var(--slate); margin: 0; font-size: .97rem; }

.concept-flag { color: var(--navy); }
@media (min-width: 1100px) { .work-grid--even .proj-art { aspect-ratio: 16 / 10; } }
.detail-link { color: var(--gold-light); font-weight: 600; text-decoration: none; }
.detail-link:hover { text-decoration: underline; }
.head-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--gold-ink); font-weight: 600; text-decoration: none; }
.head-link svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.head-link:hover svg { transform: translateX(4px); }

/* ---------- Partners ---------- */
.partner-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.partner {
  position: relative; flex: 0 1 calc(50% - 7px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: 140px; padding: 24px 18px; background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius);
  transition: border-color .3s, box-shadow .3s;
}
.partner:hover { border-color: rgba(201, 162, 39, .5); box-shadow: 0 14px 30px -20px rgba(10, 37, 64, .35); }
@media (min-width: 640px) { .partner { flex-basis: calc(33.333% - 10px); } }
@media (min-width: 1000px) { .partner { flex-basis: calc(16.666% - 12px); } }
.partner-logo { display: flex; align-items: center; justify-content: center; width: 100%; height: 64px; text-decoration: none; }
.partner-logo img { height: 56px; width: auto; max-width: 85%; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .4s, opacity .4s, transform .4s var(--ease); }
.partner:hover .partner-logo img, .partner-logo:focus-visible img { filter: none; opacity: 1; transform: scale(1.04); }
.partner-name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--navy); text-align: center; }
.partner-role { font-size: 12px; color: var(--slate); text-align: center; line-height: 1.35; }

/* Preview-only empty slots (never shown on the live site) */
.slot-placeholder.partner { background: rgba(255, 255, 255, .65); }
.slot-placeholder .partner-logo { border: 1.5px dashed rgba(91, 107, 127, .45); border-radius: 4px; height: 72px; }
.slot-placeholder .partner-name { font-family: var(--font-body); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.slot-placeholder.proj { opacity: .75; }
.slot-placeholder .proj-art { background: transparent; border: 1.5px dashed rgba(91, 107, 127, .45); }
.slot-placeholder .proj-art-empty { color: var(--slate); }
.preview-note { margin: 18px 0 0; display: inline-block; padding: 6px 14px; border: 1px dashed var(--gold); border-radius: 999px; font-size: 13px; color: var(--gold-ink); background: rgba(201, 162, 39, .06); }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; overflow: clip; isolation: isolate; color: var(--white);
  padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(56px, 8vw, 100px);
  background: radial-gradient(90% 120% at 85% 30%, #14406A 0%, var(--navy) 55%, var(--ink) 100%);
}
.page-hero .hero-orbits { z-index: -1; }
.page-title { font-size: clamp(2.6rem, 6.4vw, 5.6rem); font-weight: 700; line-height: .98; letter-spacing: -.04em; max-width: 16ch; margin-bottom: 24px; }
.page-intro { max-width: 58ch; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: rgba(255, 255, 255, .72); margin: 0; }
.page-intro strong { color: var(--gold-light); }

/* ---------- Steps (home) ---------- */
.steps-grid { display: grid; gap: 0 32px; grid-template-columns: 1fr; counter-reset: none; }
@media (min-width: 640px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }
.steps-grid li { position: relative; padding: 28px 0 36px; border-top: 1px solid var(--line-light); }
.steps-grid li::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 40px; background: var(--grad); transition: width .6s var(--ease); }
.steps-grid li:hover::before { width: 100%; }
.steps-grid span { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--gold-ink); }
.steps-grid h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 600; margin: 14px 0 10px; }
.steps-grid p { color: var(--slate); margin: 0; }

/* ---------- Closing CTA band ---------- */
.cta-band { position: relative; overflow: clip; padding-block: clamp(72px, 9vw, 130px); color: var(--white); background: linear-gradient(140deg, var(--navy-2), var(--navy) 55%, var(--ink)); }
.cta-band::after { content: ""; position: absolute; right: -10vw; top: -30%; width: 50vw; height: 160%; border-radius: 50%; border: 1px solid rgba(227, 196, 90, .18); transform: rotate(-20deg); pointer-events: none; }
.cta-inner { position: relative; z-index: 1; display: grid; gap: 32px; align-items: end; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.4fr auto; gap: 64px; } }
.cta-band .display { text-transform: uppercase; margin-bottom: 18px; }
.cta-text { color: rgba(255, 255, 255, .7); max-width: 48ch; margin: 0; font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Services page blocks ---------- */
.svc-stack { display: grid; gap: clamp(24px, 3vw, 40px); }
.svc-card.svc-block { display: grid; grid-template-columns: 1fr; scroll-margin-top: calc(var(--header-h) + 24px); }
.svc-block .svc-body h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 600; margin-bottom: 14px; }
.svc-block .detail-list { margin: 18px 0 30px; }
.svc-block .detail-list li { padding: 11px 0; font-size: .97rem; }
.svc-block .status-legend { margin: -12px 0 18px; }
.svc-block .reg-note { margin: 0 0 30px; }
.svc-block .btn { align-self: flex-start; margin-top: auto; }
@media (min-width: 900px) {
  .svc-card.svc-block { grid-template-columns: 1fr 1.1fr; }
  .svc-block .svc-visual { height: auto; min-height: 380px; border-bottom: 0; border-right: 1px solid var(--line-dark); }
  .svc-block:nth-child(even) .svc-visual { order: 2; border-right: 0; border-left: 1px solid var(--line-dark); }
  .svc-card.svc-block.svc-drone { grid-template-columns: 1fr; }
  .svc-block.svc-drone .svc-visual { min-height: 0; height: 280px; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .svc-block.svc-drone .svc-body { display: grid; grid-template-columns: 1fr 1.2fr; grid-template-rows: auto auto auto 1fr; gap: 0 56px; align-items: start; }
  .svc-block.svc-drone .svc-body > :is(.svc-num, h2, p:first-of-type) { grid-column: 1; }
  .svc-block.svc-drone .svc-body > :not(.svc-num, h2, p:first-of-type) { grid-column: 2; }
  .svc-block.svc-drone .svc-body > .detail-list { grid-row: 1 / span 4; margin-top: 0; }
}

/* ---------- Why ---------- */
.why-grid { display: grid; gap: 56px; }
@media (min-width: 960px) { .why-grid { grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start; } }
.why-art { width: min(300px, 70%); margin-top: 48px; }
.why-art circle, .why-art ellipse { fill: none; stroke: rgba(138, 109, 15, .3); }
.why-art .why-dot { fill: var(--gold); stroke: none; animation: pulse 2.4s infinite; }
.why-list { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-light); }
@media (min-width: 640px) { .why-list { grid-template-columns: 1fr 1fr; } .why-list li:nth-child(odd) { border-right: 1px solid var(--line-light); } }
.why-list li { position: relative; padding: 32px 28px 32px 0; border-bottom: 1px solid var(--line-light); transition: background-color .4s; }
@media (min-width: 640px) { .why-list li:nth-child(even) { padding-left: 28px; } }
.why-list li::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--grad); transition: width .6s var(--ease); }
.why-list li:hover::before { width: 100%; }
.why-list span { font-family: var(--font-display); font-size: 13px; color: var(--gold-ink); font-weight: 600; }
.why-list h3 { font-size: 1.3rem; font-weight: 600; margin: 14px 0 8px; }
.why-list p { color: var(--slate); margin: 0; font-size: .97rem; }

.industries-block { margin-top: clamp(56px, 7vw, 96px); }
.industries-block h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 18px; }
.ind-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ind-chips li { padding: 9px 16px; border: 1px solid var(--line-light); border-radius: 999px; font-size: 14px; color: var(--navy); background: var(--gray); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1.15fr; gap: 0; } }
.contact-panel {
  position: relative; overflow: hidden; padding: clamp(32px, 5vw, 64px); border-radius: var(--radius);
  background: linear-gradient(160deg, var(--navy-2), var(--navy) 60%); color: var(--white);
}
@media (min-width: 1000px) { .contact-panel { border-radius: var(--radius) 0 0 var(--radius); } }
.contact-orbit { position: absolute; right: -120px; top: -100px; width: 420px; opacity: .8; animation: spin-slow 60s linear infinite; }
.contact-orbit ellipse { fill: none; stroke: rgba(227, 196, 90, .2); }
@keyframes spin-slow { to { transform: rotate(360deg); } }
.contact-panel .display { font-size: clamp(2.2rem, 4.6vw, 4rem); text-transform: uppercase; letter-spacing: -.04em; margin-bottom: 20px; position: relative; }
.panel-title { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 600; margin-bottom: 14px; position: relative; }
.contact-text { color: rgba(255, 255, 255, .72); font-size: 1.08rem; max-width: 40ch; position: relative; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 40px; position: relative; }
.contact-details { display: grid; gap: 16px; position: relative; border-top: 1px solid var(--line-dark); padding-top: 28px; }
.contact-details li { display: flex; align-items: center; gap: 14px; color: rgba(255, 255, 255, .85); }
.contact-details svg { width: 20px; height: 20px; color: var(--gold-light); flex: none; }
.contact-details a { text-decoration: none; }
.contact-details a:hover { color: var(--gold-light); }
.is-placeholder { color: rgba(255, 255, 255, .45) !important; font-style: italic; }
.section--light .is-placeholder { color: var(--slate) !important; }

.contact-form {
  padding: clamp(28px, 4.5vw, 60px); background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--line-light); display: grid; gap: 4px; align-content: start;
}
@media (min-width: 1000px) { .contact-form { border-radius: 0 var(--radius) var(--radius) 0; border-left: 0; } }
.form-row { display: grid; gap: 4px 20px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; min-width: 0; }
.field label { font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.field label span { color: var(--gold-ink); }
.field label small { font-weight: 400; color: var(--slate); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--navy); background: var(--gray);
  border: 1px solid transparent; border-bottom-color: rgba(10, 37, 64, .25); border-radius: 4px 4px 0 0;
  padding: 13px 14px; transition: border-color .25s, background-color .25s, box-shadow .25s; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235B6B7F' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.field textarea { resize: vertical; min-height: 130px; }
.phone-row { display: flex; gap: 8px; }
.phone-row select { flex: 0 0 auto; width: 112px; padding-right: 28px; background-position: right 10px center; text-overflow: ellipsis; }
.phone-row input { flex: 1; min-width: 0; }
@media (max-width: 380px) { .phone-row select { width: 104px; } }
.field input:hover, .field select:hover, .field textarea:hover { border-bottom-color: var(--gold); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 39, .18); }
.field [aria-invalid="true"] { border-color: #C2413B; background: #FFF6F5; }
.field-error { min-height: 22px; margin: 5px 0 6px; font-size: 12.5px; color: #B3261E; }
.field-check { display: grid; grid-template-columns: 22px 1fr; gap: 0 12px; align-items: start; margin-top: 4px; }
.field-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold); appearance: auto; padding: 0; }
.field-check label { font-weight: 400; font-size: 14px; color: var(--slate); margin: 0; }
.field-check label a { color: var(--gold-ink); }
.field-check .field-error { grid-column: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { font-size: 13px; color: var(--slate); margin: 2px 0 14px; }
.form-mode { font-size: 13.5px; padding: 12px 14px; border-left: 3px solid var(--gold); background: var(--gray); color: var(--navy); margin-bottom: 16px; }
.btn-submit { justify-self: start; --h: 56px; padding: 0 32px; }
.btn-submit[disabled] { opacity: .6; cursor: progress; }
.form-status { margin-top: 16px; font-size: 14.5px; }
.form-status:empty { display: none; }
.form-status.is-success { padding: 14px 16px; background: #FBF6E3; border-left: 3px solid var(--gold); }
.form-status.is-error { padding: 14px 16px; background: #FFF4F3; border-left: 3px solid #C2413B; color: #7c1d17; }
.form-status a { color: inherit; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--ink); color: rgba(255, 255, 255, .7); padding: clamp(72px, 9vw, 120px) 0 32px; }
.footer-orbits { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.footer-orbits ellipse { fill: none; stroke: rgba(227, 196, 90, .12); stroke-dasharray: 4 10; animation: dash 80s linear infinite; }
.footer-grid { position: relative; display: grid; gap: 40px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; max-width: 360px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.1fr; } .footer-brand { grid-column: auto; } }
.footer-tag { font-family: var(--font-display); color: var(--gold-light); letter-spacing: .08em; margin: 22px 0 10px; font-weight: 500; }
.footer-col h2 { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { text-decoration: none; transition: color .25s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-contact { overflow-wrap: anywhere; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.socials li { margin: 0; }
.socials a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: 13px; }
.socials a:hover { border-color: var(--gold-light); }
.socials .is-placeholder { font-size: 13px; }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13.5px; }
.footer-bottom p { margin: 0; }
.footer-bottom p:last-child { display: flex; gap: 22px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- Dialog ---------- */
.detail-dialog {
  width: min(720px, calc(100% - 32px)); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
  padding: 0; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--navy); color: var(--white);
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .7); overflow: auto;
}
.detail-dialog[open] { animation: dialog-in .5s var(--ease); }
.detail-dialog::backdrop { background: rgba(7, 27, 48, .7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.dialog-inner { position: relative; padding: clamp(28px, 5vw, 52px); }
.dialog-close {
  position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .04); font-size: 24px; line-height: 1; cursor: pointer;
}
.dialog-close:hover { border-color: var(--gold-light); }
.dialog-kicker { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 12px; }
.dialog-title { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 600; margin: 0 48px 16px 0; }
.dialog-lead { color: rgba(255, 255, 255, .72); }
.dialog-body h4 { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin: 28px 0 12px; font-family: var(--font-body); font-weight: 600; }
.dialog-body p { color: rgba(255, 255, 255, .78); }
.dialog-body ul:not(.detail-list) li { position: relative; padding-left: 20px; margin-bottom: 8px; color: rgba(255, 255, 255, .82); }
.dialog-body ul:not(.detail-list) li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--gold-light); }
.dialog-body .muted { color: rgba(255, 255, 255, .5); font-style: italic; }
.detail-list { border-top: 1px solid var(--line-dark); }
.detail-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 13px 0; border-bottom: 1px solid var(--line-dark); }
.status { flex: none; font-size: 11px; font-weight: 600; letter-spacing: .04em; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.status--direct { background: rgba(227, 196, 90, .16); color: var(--gold-light); }
.status--partner { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .85); border: 1px solid var(--line-dark); }
.status--approval { background: rgba(175, 192, 211, .1); color: #AFC0D3; border: 1px dashed rgba(175, 192, 211, .55); }
.status-legend { display: grid; gap: 8px; margin: 22px 0 0; font-size: 13px; }
.status-legend div { display: flex; gap: 12px; align-items: center; }
.status-legend dd { margin: 0; color: rgba(255, 255, 255, .62); }
.reg-note { margin-top: 20px; font-size: 13px; line-height: 1.55; padding: 14px 16px; border-left: 2px solid var(--gold); background: rgba(255, 255, 255, .03); color: rgba(255, 255, 255, .7) !important; }
.dialog-cta { margin-top: 32px; }

/* ---------- Consent ---------- */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; max-width: 560px; margin-left: auto;
  padding: 18px 20px; background: var(--white); color: var(--navy); border-radius: var(--radius);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .45); display: grid; gap: 14px; font-size: 14px;
}
.consent[hidden] { display: none; }
.consent p { margin: 0; }
.consent a { color: var(--gold-ink); }
.consent div { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- Legal pages ---------- */
.legal-header { position: sticky; top: 0; background: var(--navy); border-bottom: 1px solid var(--line-dark); z-index: 10; }
.legal-header .header-inner { height: var(--header-h); }
.legal-header .back { margin-left: auto; color: rgba(255, 255, 255, .8); text-decoration: none; font-size: 14.5px; }
.legal-header .back:hover { color: var(--gold-light); }
.legal { background: var(--white); padding: clamp(56px, 8vw, 100px) 0; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 12px; }
.legal h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.legal p, .legal li { color: #2b3d52; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.legal-note { padding: 14px 16px; border-left: 3px solid var(--gold); background: var(--gray); font-size: 14px; margin: 24px 0 8px; }

/* Sections that can be switched off in the admin stay invisible until settings load. */
.js [data-section] { visibility: hidden; }
.js.sections-ready [data-section] { visibility: visible; }

/* ---------- Graphics: icons, photos, motion ---------- */
.ico { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: middle; }

/* Service cards and blocks: photo under the line art */
.svc-visual { background: var(--ink); }
.svc-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .34; filter: saturate(.85) contrast(1.05); transform: scale(1.04); transition: opacity .6s, transform 1.4s var(--ease); }
.svc-visual::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(10, 37, 64, .25), rgba(10, 37, 64, .82)); }
.svc-card:hover .svc-photo { opacity: .55; transform: scale(1.1); }
.svc-card:hover { translate: 0 -6px; box-shadow: 0 34px 60px -34px rgba(0, 0, 0, .7); }
.svc-ico { width: 24px; height: 24px; padding: 7px; box-sizing: content-box; border-radius: 10px; color: var(--navy); background: var(--grad); }
.svc-block .detail-list li { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 12px; }
.svc-block .detail-list li::before { content: ""; width: 18px; height: 18px; background: var(--gold-light); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Ccircle cx=%2712%27 cy=%2712%27 r=%279%27/%3E%3Cpath d=%27m8 12.5 2.8 2.7L16.5 9%27/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Ccircle cx=%2712%27 cy=%2712%27 r=%279%27/%3E%3Cpath d=%27m8 12.5 2.8 2.7L16.5 9%27/%3E%3C/svg%3E") center / contain no-repeat; }

/* Moving services ticker under the hero */
.ticker-wrap { position: relative; z-index: 3; overflow: hidden; margin-top: -46px; padding-block: 24px; }
.ticker { position: relative; overflow: hidden; margin: 0 -3%; rotate: -1.2deg; padding: 15px 0; background: var(--grad); color: var(--navy); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .6); }
.ticker-track { display: flex; width: max-content; animation: ticker 45s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 16px; padding-right: 32px; font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.ticker-star { width: 14px; height: 14px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Home: process step icons */
.step-ico { display: block; width: 26px; height: 26px; padding: 10px; box-sizing: content-box; margin-bottom: 16px; border-radius: 14px; color: var(--gold-ink); background: var(--white); border: 1px solid var(--line-light); transition: background-color .4s, color .4s, rotate .6s var(--ease); }
.steps-grid li:hover .step-ico { background: var(--navy); color: var(--gold-light); rotate: -8deg; }

/* Home: "Your brand. In the sky." photo band */
.sky-band { position: relative; overflow: clip; isolation: isolate; display: flex; align-items: center; min-height: clamp(480px, 74vh, 760px); padding-block: 90px; color: var(--white); background: var(--ink); }
.sky-media { position: absolute; inset: -14% 0; z-index: -2; }
.sky-photo { width: 100%; height: 100%; object-fit: cover; }
.sky-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 27, 48, .95) 0%, rgba(7, 27, 48, .82) 42%, rgba(7, 27, 48, .3) 78%, rgba(7, 27, 48, .1) 100%), linear-gradient(0deg, rgba(7, 27, 48, .7), transparent 40%); }
.sky-band .display { font-size: clamp(2.8rem, 7vw, 6rem); line-height: .95; margin-bottom: 22px; }
.sky-text { max-width: 44ch; color: rgba(255, 255, 255, .82); font-size: clamp(1.02rem, 1.4vw, 1.2rem); margin-bottom: 30px; }

/* Inner page heroes: photo on the right, fading into navy */
.page-hero-media { position: absolute; top: -12%; bottom: -12%; right: 0; width: min(64%, 980px); z-index: -2; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 50%); mask-image: linear-gradient(90deg, transparent 0%, #000 50%); }
.page-hero-photo { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
@media (max-width: 899px) {
  .page-hero-media { width: 100%; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 95%); mask-image: linear-gradient(180deg, #000 0%, transparent 95%); }
  .page-hero-photo { opacity: .28; }
}

/* Closing call-to-action: photo behind */
.cta-media { position: absolute; inset: -18% 0; z-index: 0; pointer-events: none; }
.cta-photo { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.cta-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 37, 64, .95), rgba(10, 37, 64, .55)); }

/* About: team photo, principle / why / industry icons */
.about-photo { margin: 40px 0 0; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -30px rgba(10, 37, 64, .45); }
.about-photo-img { width: 100%; height: 100%; object-fit: cover; }
.js .about-photo.reveal .about-photo-img { transform: scale(1.14); transition: transform 1.8s var(--ease); }
.js .about-photo.reveal.is-in .about-photo-img { transform: none; }
.p-num { display: flex; flex-direction: column; gap: 8px; }
.p-ico { width: 26px; height: 26px; color: var(--gold-ink); }
.why-ico { display: block; width: 30px; height: 30px; margin-bottom: 12px; color: var(--gold-ink); transition: rotate .6s var(--ease); }
.why-list li:hover .why-ico { rotate: -10deg; }
.ind-chips li { display: inline-flex; align-items: center; gap: 9px; transition: background-color .3s, color .3s, border-color .3s; }
.ind-chips .ico { width: 18px; height: 18px; color: var(--gold-ink); transition: color .3s; }
.ind-chips li:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.ind-chips li:hover .ico { color: var(--gold-light); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .hero-copy > *, .js .hero-title .line > span { opacity: 1 !important; transform: none !important; }
  .spark, .svc-visual .draw { stroke-dashoffset: 0 !important; }
  .cursor, .hero-canvas { display: none; }
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
