/* ===== Magicstone Creative Dynamics — styles ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --ink: #0B1220;
    --ink-2: #111A2C;
    --ink-3: #18233A;
    --line: rgba(255, 255, 255, 0.09);
    --paper: #F5F2EC;
    --paper-2: #ECE7DE;
    --text: #E7E9EE;
    --text-dim: #9AA3B5;
    --text-dark: #1A2233;
    --text-dark-dim: #5B6474;
    --gold: #E5A93D;
    --gold-soft: #F2C672;
    --blue: #4A9FD8;
    --blue-soft: #8CC4EA;
    --radius: 18px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --display: 'Bricolage Grotesque', 'Manrope', sans-serif;
    --serif: 'Instrument Serif', Georgia, serif;
    --body: 'Manrope', system-ui, sans-serif;
    --max: 1280px;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--body);
    background: var(--ink);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold-soft); letter-spacing: 0; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.grain {
    position: fixed; inset: 0; z-index: 1000; pointer-events: none; opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== NAV ===== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 900;
    padding: 1.1rem 5%;
    transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s;
    border-bottom: 1px solid transparent;
}
.nav.scrolled {
    background: rgba(11, 18, 32, 0.78);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    padding: 0.7rem 5%;
    border-bottom-color: var(--line);
}
.nav-wrap { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: #fff; }
.brand-logo { height: 44px; width: 44px; object-fit: contain; }
.brand-text { font-family: var(--display); font-weight: 600; font-size: 1.25rem; line-height: 1; letter-spacing: -0.01em; }
.brand-text small { display: block; font-family: var(--body); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-dim); margin-top: 0.3rem; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
    text-decoration: none; font-size: 0.92rem; font-weight: 500; color: #C9CFDB;
    position: relative; transition: color 0.25s;
}
.nav-links a:not(.nav-cta)::after {
    content: ''; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%;
    background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease);
}
.nav-links a:not(.nav-cta):hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta {
    padding: 0.6rem 1.2rem; border: 1px solid rgba(229, 169, 61, 0.5); border-radius: 100px; color: var(--gold-soft) !important;
    transition: background 0.3s, color 0.3s !important;
}
.nav-cta:hover { background: var(--gold); color: var(--ink) !important; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.35s var(--ease); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 1rem 1.7rem; border-radius: 100px; font-family: var(--body); font-weight: 600; font-size: 0.98rem;
    text-decoration: none; border: 0; cursor: pointer;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: linear-gradient(120deg, var(--gold) 0%, var(--gold-soft) 100%); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(229, 169, 61, 0.6); }
.btn-primary:hover { box-shadow: 0 18px 40px -12px rgba(229, 169, 61, 0.75); }
.btn-primary:active { transform: scale(0.97); }
.btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--blue-soft); background: rgba(74, 159, 216, 0.12); }
.btn-block { width: 100%; justify-content: center; }

/* ===== HERO ===== */
.hero {
    position: relative; min-height: 100vh; min-height: 100svh;
    display: flex; flex-direction: column; justify-content: center;
    padding: 8rem 5% 9rem; overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 28s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.16) translate(-1.5%, 1%); } }
.hero-shade {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(60% 60% at 80% 40%, rgba(74, 159, 216, 0.18), transparent 70%),
        radial-gradient(50% 50% at 15% 85%, rgba(229, 169, 61, 0.14), transparent 70%),
        linear-gradient(90deg, rgba(11, 18, 32, 0.94) 0%, rgba(11, 18, 32, 0.7) 50%, rgba(11, 18, 32, 0.35) 100%),
        linear-gradient(180deg, transparent 60%, var(--ink) 100%);
}
.hero-inner { max-width: var(--max); width: 100%; margin: 0 auto; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 3rem; align-items: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-soft);
    padding: 0.55rem 1rem; border: 1px solid rgba(229, 169, 61, 0.3); border-radius: 100px; background: rgba(229, 169, 61, 0.07);
    margin-bottom: 2rem;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(229, 169, 61, 0.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(229, 169, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 169, 61, 0); } }
.hero-title {
    font-family: var(--display); font-weight: 600; letter-spacing: -0.035em; line-height: 0.98;
    font-size: clamp(2.9rem, 7.4vw, 6.4rem); color: #fff; margin-bottom: 1.8rem;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { color: var(--gold-soft); font-size: 1.06em; }
.hero-sub { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: #C5CCD8; max-width: 560px; margin-bottom: 2.6rem; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-emblem { position: relative; aspect-ratio: 1; display: grid; place-items: center; max-width: 420px; justify-self: end; width: 100%; }
.hero-emblem img { width: 78%; height: auto; position: relative; z-index: 1; filter: drop-shadow(0 30px 60px rgba(229, 169, 61, 0.25)); transition: transform 0.6s var(--ease); will-change: transform; }
.emblem-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.12); background: radial-gradient(circle, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01) 65%); backdrop-filter: blur(4px); }
.emblem-ring::before { content: ''; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 18px var(--gold); }
.emblem-ring { animation: spin 26s linear infinite; }
.emblem-ring.r2 { inset: -9%; border-style: dashed; border-color: rgba(74, 159, 216, 0.25); background: none; backdrop-filter: none; animation-duration: 48s; animation-direction: reverse; }
.emblem-ring.r2::before { background: var(--blue); box-shadow: 0 0 18px var(--blue); top: auto; bottom: -4px; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-pillars {
    position: absolute; left: 5%; right: 5%; bottom: 2.2rem; max-width: var(--max); margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line);
}
.hero-pillars a {
    padding: 1.1rem 0.5rem 0 0; text-decoration: none; font-family: var(--display); font-weight: 500; font-size: 1.02rem; color: #D4D9E3;
    display: flex; gap: 0.7rem; align-items: baseline; position: relative; transition: color 0.3s;
}
.hero-pillars a::before { content: ''; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--gold); transition: width 0.5s var(--ease); }
.hero-pillars a:hover { color: #fff; }
.hero-pillars a:hover::before { width: 85%; }
.hero-pillars span { font-family: var(--body); font-size: 0.72rem; color: var(--gold); letter-spacing: 0.1em; }
.scroll-cue { position: absolute; right: 5%; bottom: 7rem; width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, 0.35); border-radius: 20px; display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 1.8s infinite var(--ease); }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* load reveal */
.reveal-load { opacity: 0; transform: translateY(28px); animation: rise 1.1s var(--ease) forwards; animation-delay: var(--d, 0s); }
.hero-title .reveal-load { transform: translateY(105%); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ===== MARQUEE ===== */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 1.3rem 0; background: var(--ink); }
.marquee-track { display: flex; gap: 2.5rem; width: max-content; animation: marquee 32s linear infinite; align-items: center; }
.marquee span { font-family: var(--display); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.6rem); letter-spacing: -0.02em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35); white-space: nowrap; }
.marquee span:nth-of-type(odd) { color: #fff; -webkit-text-stroke: 0; }
.marquee b { color: var(--gold); font-size: 1.2rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== SECTIONS ===== */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(5rem, 10vw, 8.5rem) 5%; }
.kicker { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.kicker::before { content: ''; width: 28px; height: 1px; background: currentColor; }
h2 { font-family: var(--display); font-weight: 600; font-size: clamp(2.2rem, 4.6vw, 3.9rem); line-height: 1.04; letter-spacing: -0.03em; color: #fff; }
.section-head { margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.section-head.split { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 3rem; align-items: end; }
.section-head.split > p { color: var(--text-dim); font-size: 1.05rem; max-width: 420px; justify-self: end; }

/* scroll reveal */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ===== PILLARS ===== */
.pillars { display: flex; gap: 0.9rem; height: 560px; }
.pillar {
    position: relative; flex: 1; border-radius: var(--radius); overflow: hidden; cursor: pointer; outline-offset: 4px;
    transition: flex 0.8s var(--ease);
    min-width: 0;
}
.pillar.is-active { flex: 3.2; }
.pillar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease), filter 0.8s; filter: saturate(0.6) brightness(0.75); }
.pillar.is-active img { transform: scale(1); filter: saturate(1) brightness(0.9); }
.pillar::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 18, 32, 0.1) 30%, rgba(11, 18, 32, 0.92) 100%); }
.pillar-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem; z-index: 1; }
.pillar-num { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.15em; color: var(--gold); }
.pillar h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 2vw, 2rem); letter-spacing: -0.02em; color: #fff; margin: 0.4rem 0 0; white-space: nowrap; }
.pillar p { color: #D1D6E0; max-width: 420px; max-height: 0; opacity: 0; overflow: hidden; transform: translateY(12px); transition: max-height 0.7s var(--ease), opacity 0.5s, transform 0.7s var(--ease), margin 0.7s; }
.pillar.is-active p { max-height: 120px; opacity: 1; transform: none; margin-top: 0.7rem; transition-delay: 0.2s; }
.pillar:not(.is-active) h3 { writing-mode: vertical-rl; transform: rotate(180deg); }
.pillar:not(.is-active) .pillar-body { padding: 1.6rem 1.2rem; }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
.about-visual { position: sticky; top: 110px; }
.about-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.about-photo img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.about-tag {
    position: absolute; right: -1.5rem; bottom: 2rem; max-width: 300px;
    display: flex; gap: 0.9rem; align-items: center;
    background: rgba(17, 26, 44, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem;
    font-size: 0.92rem; color: #D6DBE4; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}
.about-tag img { width: 46px; height: 46px; flex-shrink: 0; }
.about-copy h2 { margin-bottom: 2.2rem; }
.tabs { display: inline-flex; gap: 0.3rem; padding: 0.3rem; border: 1px solid var(--line); border-radius: 100px; margin-bottom: 1.5rem; flex-wrap: wrap; }
.tabs button {
    background: none; border: 0; color: var(--text-dim); font-family: var(--body); font-weight: 600; font-size: 0.9rem;
    padding: 0.6rem 1.15rem; border-radius: 100px; cursor: pointer; transition: background 0.3s, color 0.3s;
}
.tabs button:hover { color: #fff; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); }
.tab-panels { min-height: 140px; margin-bottom: 2.8rem; }
.tab-panels p { font-size: 1.15rem; color: #CDD3DE; line-height: 1.75; animation: fadeIn 0.6s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.sub { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: #fff; margin-bottom: 1rem; letter-spacing: -0.01em; }
.advantages { list-style: none; margin-bottom: 2.8rem; border-top: 1px solid var(--line); }
.advantages li {
    display: grid; grid-template-columns: 48px 1fr; align-items: baseline; padding: 1.05rem 0; border-bottom: 1px solid var(--line);
    transition: padding 0.4s var(--ease), background 0.4s;
}
.advantages li:hover { padding-left: 0.8rem; background: linear-gradient(90deg, rgba(229, 169, 61, 0.07), transparent); }
.advantages span { font-size: 0.78rem; font-weight: 700; color: var(--gold); letter-spacing: 0.1em; }
.advantages strong { color: #fff; font-weight: 600; margin-right: 0.5rem; }
.advantages div { color: var(--text-dim); }
.values { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.values li { padding: 0.55rem 1.1rem; border-radius: 100px; border: 1px solid rgba(74, 159, 216, 0.35); color: var(--blue-soft); font-weight: 600; font-size: 0.9rem; transition: background 0.3s, color 0.3s, transform 0.3s var(--ease); }
.values li:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }

/* ===== SERVICES (light) ===== */
.services { background: var(--paper); color: var(--text-dark); border-radius: 36px 36px 0 0; position: relative; }
.services h2 { color: var(--text-dark); }
.services em { color: #B97A14; }
.services .kicker { color: #B97A14; }
.services .section-head.split > p { color: var(--text-dark-dim); }
.svc-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(26, 34, 51, 0.15); margin-bottom: 2.5rem; }
.svc-tabs button {
    background: none; border: 0; text-align: left; cursor: pointer; padding: 1.2rem 1rem 0 0; position: relative;
    font-family: var(--display); font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.35rem); color: rgba(26, 34, 51, 0.45); letter-spacing: -0.01em;
    transition: color 0.3s;
}
.svc-tabs button span { display: block; font-family: var(--body); font-size: 0.72rem; letter-spacing: 0.15em; color: #B97A14; margin-bottom: 0.3rem; }
.svc-tabs button::before { content: ''; position: absolute; top: -1px; left: 0; right: 1rem; height: 2px; background: var(--text-dark); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.svc-tabs button:hover { color: var(--text-dark); }
.svc-tabs button[aria-selected="true"] { color: var(--text-dark); }
.svc-tabs button[aria-selected="true"]::before { transform: scaleX(1); }
.svc-panel { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.svc-panel[hidden] { display: none; }
.svc-panel.is-active .svc-img img { animation: svcImg 1.1s var(--ease); }
.svc-panel.is-active .svc-list li { animation: fadeIn 0.7s var(--ease) both; }
.svc-panel.is-active .svc-list li:nth-child(2) { animation-delay: 0.05s; }
.svc-panel.is-active .svc-list li:nth-child(3) { animation-delay: 0.1s; }
.svc-panel.is-active .svc-list li:nth-child(4) { animation-delay: 0.15s; }
.svc-panel.is-active .svc-list li:nth-child(5) { animation-delay: 0.2s; }
.svc-panel.is-active .svc-list li:nth-child(6) { animation-delay: 0.25s; }
@keyframes svcImg { from { clip-path: inset(0 100% 0 0); transform: scale(1.1); } to { clip-path: inset(0 0 0 0); transform: none; } }
.svc-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 40px 80px -40px rgba(11, 18, 32, 0.5); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-list h3 { font-family: var(--display); font-weight: 600; font-size: 1.6rem; letter-spacing: -0.02em; margin-bottom: 1.2rem; }
.svc-list ul { list-style: none; }
.svc-list li {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 1rem 0; border-bottom: 1px solid rgba(26, 34, 51, 0.12); font-weight: 500; font-size: 1.02rem; color: #2A3345;
    transition: padding 0.4s var(--ease), color 0.3s;
}
.svc-list li::after { content: '→'; color: #B97A14; opacity: 0; transform: translateX(-8px); transition: opacity 0.3s, transform 0.4s var(--ease); }
.svc-list li:hover { padding-left: 0.6rem; color: var(--text-dark); }
.svc-list li:hover::after { opacity: 1; transform: none; }

/* ===== BAND ===== */
.band { position: relative; min-height: 78vh; display: grid; place-items: center; overflow: hidden; isolation: isolate; text-align: center; padding: 6rem 5%; }
.band-media { position: absolute; inset: -12% 0; z-index: -2; }
.band-media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--paper) 0%, rgba(11, 18, 32, 0.55) 18%, rgba(11, 18, 32, 0.55) 82%, var(--ink) 100%); }
.band-quote { font-family: var(--display); font-weight: 600; font-size: clamp(2.2rem, 6vw, 5.2rem); line-height: 1.02; letter-spacing: -0.035em; color: #fff; max-width: 1000px; text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35); }
.band-sig { display: block; margin-top: 1.5rem; color: #E8D9BC; font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; }

/* ===== WHO WE SERVE ===== */
.serve-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.serve-card {
    position: relative; padding: 2.4rem 2rem 2.6rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden;
    --mx: 50%; --my: 50%;
}
.serve-card::before {
    content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s;
    background: radial-gradient(380px circle at var(--mx) var(--my), rgba(229, 169, 61, 0.13), transparent 60%);
}
.serve-card:hover::before { opacity: 1; }
.serve-card:nth-child(3n + 2) { transition-delay: 0.08s; }
.serve-card:nth-child(3n) { transition-delay: 0.16s; }
.serve-card svg { width: 40px; height: 40px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.6rem; transition: transform 0.5s var(--ease), stroke 0.3s; }
.serve-card:hover svg { transform: translateY(-4px) rotate(-4deg); stroke: var(--blue-soft); }
.serve-card h3 { font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.015em; color: #fff; margin-bottom: 0.6rem; position: relative; }
.serve-card p { color: var(--text-dim); font-size: 0.97rem; position: relative; }

/* ===== INSIGHTS ===== */
.insight { display: grid; grid-template-columns: 1.15fr 0.85fr; border-radius: 24px; overflow: hidden; background: var(--ink-2); border: 1px solid var(--line); }
.insight-img { overflow: hidden; min-height: 420px; }
.insight-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.insight:hover .insight-img img { transform: scale(1.05); }
.insight-body { padding: clamp(2rem, 4vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; }
.insight-meta { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue-soft); margin-bottom: 1rem; }
.insight h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.12; letter-spacing: -0.025em; color: #fff; margin-bottom: 1.2rem; }
.insight p { color: var(--text-dim); margin-bottom: 2rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--gold-soft); text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ===== CONTACT ===== */
.contact { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); position: relative; overflow: hidden; }
.contact::before { content: ''; position: absolute; width: 700px; height: 700px; right: -200px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(74, 159, 216, 0.12), transparent 65%); pointer-events: none; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; position: relative; }
.contact-copy h2 { margin-bottom: 1.4rem; }
.contact-copy > p { color: var(--text-dim); font-size: 1.08rem; max-width: 460px; margin-bottom: 2.5rem; }
.contact-points { list-style: none; }
.contact-points li { display: flex; gap: 1rem; align-items: baseline; padding: 0.9rem 0; border-bottom: 1px solid var(--line); color: #D6DBE4; }
.contact-points span { font-size: 0.75rem; font-weight: 700; color: var(--gold); letter-spacing: 0.1em; }

.contact-form { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.6rem, 3.5vw, 2.6rem); backdrop-filter: blur(10px); }
.hp { position: absolute; left: -9999px; }
.field { position: relative; margin-bottom: 1.3rem; }
.field input, .field textarea {
    width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.2); color: #fff;
    font-family: var(--body); font-size: 1rem; padding: 1.5rem 0 0.6rem; resize: vertical; transition: border-color 0.3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field label { position: absolute; left: 0; top: 1.5rem; color: var(--text-dim); pointer-events: none; transition: transform 0.3s var(--ease), color 0.3s, font-size 0.3s; transform-origin: left; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-1.25rem) scale(0.8); color: var(--gold-soft); }
.field .err { display: block; height: 0; overflow: hidden; color: #F08A7A; font-size: 0.82rem; transition: height 0.3s; }
.field.invalid input, .field.invalid textarea { border-color: #F08A7A; }
.field.invalid .err { height: 1.4rem; padding-top: 0.3rem; }
.chips { border: 0; margin: 0.4rem 0 1.4rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips legend { color: var(--text-dim); font-size: 0.88rem; margin-bottom: 0.7rem; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 0.5rem 1rem; border-radius: 100px; border: 1px solid rgba(255, 255, 255, 0.2); font-size: 0.88rem; font-weight: 600; color: #C9CFDB; transition: all 0.25s var(--ease); }
.chips label:hover span { border-color: var(--blue-soft); }
.chips input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.contact-form .btn { margin-top: 0.6rem; }
.contact-form .btn[disabled] { opacity: 0.7; cursor: progress; }
.form-status { margin-top: 1rem; font-size: 0.95rem; min-height: 1.5rem; }
.form-status.ok { color: #8FD9A8; }
.form-status.bad { color: #F08A7A; }

/* ===== FOOTER ===== */
.footer { background: var(--ink-2); border-top: 1px solid var(--line); padding: 4rem 5% 2rem; }
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.footer-tag { font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 500; letter-spacing: -0.02em; color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; padding: 2rem 0; }
.footer-links a { text-decoration: none; color: #C9CFDB; font-weight: 500; transition: color 0.25s; }
.footer-links a:hover { color: var(--gold-soft); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--text-dim); font-size: 0.86rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* ===== RESPONSIVE ===== */
@media (min-width: 1100px) { .scroll-cue { display: block; } }
@media (max-width: 1024px) {
    .serve-grid { grid-template-columns: repeat(2, 1fr); }
    .about-tag { right: 1rem; }
}
@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 1.8rem;
        background: rgba(11, 18, 32, 0.97); backdrop-filter: blur(20px);
        opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s;
    }
    .nav-links a { font-family: var(--display); font-size: 1.8rem; }
    .nav-links.open { opacity: 1; visibility: visible; }
    .hero { padding-bottom: 11rem; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-emblem { order: -1; max-width: 170px; justify-self: start; }
    .hero-pillars { grid-template-columns: repeat(2, 1fr); row-gap: 0.2rem; }
    .hero-pillars a { font-size: 0.92rem; padding-top: 0.8rem; }
    .section-head.split { grid-template-columns: 1fr; gap: 1.2rem; }
    .section-head.split > p { justify-self: start; }
    .pillars { flex-direction: column; height: auto; }
    .pillar { flex: none !important; height: 120px; transition: height 0.8s var(--ease); }
    .pillar.is-active { height: 380px; }
    .pillar:not(.is-active) h3 { writing-mode: horizontal-tb; transform: none; }
    .about-grid, .contact-grid, .svc-panel, .insight { grid-template-columns: 1fr; }
    .about-visual { position: relative; top: 0; }
    .about-photo { aspect-ratio: 4 / 3; }
    .svc-tabs { grid-template-columns: repeat(2, 1fr); row-gap: 0.4rem; }
    .insight-img { min-height: 260px; }
}
@media (max-width: 600px) {
    .serve-grid { grid-template-columns: 1fr; }
    .about-tag { position: relative; right: auto; bottom: auto; margin: -2.5rem 1rem 0; }
    .brand-text small { display: none; }
    .services { border-radius: 24px 24px 0 0; }
}

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

/* mobile menu: drop backdrop-filter so the fixed overlay spans the viewport */
.nav.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-bottom-color: transparent; }
body.no-scroll { overflow: hidden; }
