/* ============================================================
   TruMed Holding Limited — v2 "Chic corporate editorial"
   Schibsted Grotesk (display) · Instrument Serif (accent italic)
   Public Sans (body) · Navy #081F40 · Red #C8102E · Blue #1556B0
   ============================================================ */

:root {
    --navy: #081F40;
    --navy-2: #0C2C57;
    --blue: #1556B0;
    --blue-bright: #2F77E0;
    --blue-pale: #A9C6EE;
    --red: #C8102E;
    --red-dark: #A30D24;
    --ink: #0E1B2C;
    --body: #4D596B;
    --muted: #8A94A6;
    --line: #E2E7EF;
    --line-dark: rgba(255, 255, 255, 0.14);
    --bg: #FBFCFE;
    --bg-alt: #F2F5F9;
    --white: #FFFFFF;
    --display: 'Schibsted Grotesk', 'Helvetica Neue', sans-serif;
    --serif: 'Instrument Serif', Georgia, serif;
    --sans: 'Public Sans', 'Helvetica Neue', sans-serif;
    --nav-h: 88px;
    --radius: 12px;
    --radius-lg: 20px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Anchor fix: every target gets generous scroll margin */
[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }

body {
    font-family: var(--sans);
    font-size: 16.5px;
    line-height: 1.7;
    color: var(--body);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.25s ease; }

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
}

h1, h2, h3 {
    font-family: var(--display);
    color: var(--ink);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.04;
    text-wrap: balance;
}

.serif-accent {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
}

p { text-wrap: pretty; }

/* ---------- Section meta (index + label) ---------- */
.meta-row {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 28px;
}
.meta-row .idx {
    font-family: var(--display);
    font-size: 14px;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 0.04em;
}
.meta-row .rule {
    width: 56px;
    height: 1px;
    background: currentColor;
    opacity: 0.25;
    align-self: center;
}
.meta-row .lbl {
    font-family: var(--display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
}

.h-display {
    font-size: clamp(38px, 4.6vw, 64px);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--display);
    font-size: 15.5px;
    font-weight: 700;
    padding: 17px 34px;
    border-radius: 100px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.28s ease;
    white-space: nowrap;
}
.btn .arr { transition: transform 0.28s ease; }
.btn:hover .arr { transform: translateX(4px); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost-light { color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,0.07); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--blue); }

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(251, 252, 254, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--line);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
    gap: 24px;
}
.nav-logo {
    background: var(--white);
    border-radius: 10px;
    padding: 8px 14px;
    box-shadow: 0 2px 12px rgba(8, 31, 64, 0.10);
    display: flex;
    align-items: center;
}
.nav-logo img { height: 38px; width: auto; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}
.nav-links a {
    font-family: var(--display);
    font-size: 14.5px;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 100px;
    color: var(--white);
    transition: background 0.25s ease, color 0.25s ease;
}
.navbar.scrolled .nav-links a { color: var(--ink); }
.nav-links a:hover { background: rgba(127, 150, 190, 0.18); }
.nav-links .nav-cta {
    background: var(--red);
    color: var(--white) !important;
    margin-left: 12px;
    padding: 11px 24px;
}
.nav-links .nav-cta:hover { background: var(--red-dark); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); transition: all 0.3s; }
.navbar.scrolled .nav-toggle span { background: var(--ink); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
        radial-gradient(1300px 700px at 88% -12%, rgba(47, 119, 224, 0.38), transparent 62%),
        radial-gradient(800px 480px at -8% 100%, rgba(200, 16, 46, 0.20), transparent 58%),
        linear-gradient(168deg, #0A2750 0%, var(--navy) 55%, #051630 100%);
    color: var(--white);
    overflow: hidden;
}
.hero-arcs { position: absolute; inset: 0; pointer-events: none; }
.hero-arcs span {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.09);
}
.hero-arcs .a1 { width: 1400px; height: 1400px; right: -560px; top: -700px; }
.hero-arcs .a2 { width: 1080px; height: 1080px; right: -400px; top: -540px; border-color: rgba(255,255,255,0.06); }
.hero-arcs .a3 { width: 760px; height: 760px; right: -240px; top: -380px; border-color: rgba(169, 198, 238, 0.12); }

.hero-main {
    position: relative;
    padding-top: calc(var(--nav-h) + 7vh);
    padding-bottom: 6vh;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--display);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--blue-pale);
    margin-bottom: 40px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.hero-eyebrow .sep { width: 40px; height: 1px; background: rgba(255,255,255,0.25); }

.hero h1 {
    color: var(--white);
    font-size: clamp(52px, 7.4vw, 110px);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.035em;
    margin-bottom: 0;
}
.hero h1 .serif-accent {
    color: var(--blue-pale);
    font-weight: 400;
}

.hero-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    margin-top: 56px;
}
.hero-sub {
    font-size: clamp(16.5px, 1.3vw, 19px);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.72);
    max-width: 540px;
}
.hero-actions { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

/* hero stats */
.hero-stats {
    position: relative;
    border-top: 1px solid var(--line-dark);
}
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.hero-stat {
    padding: 30px 40px 34px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.hero-stat + .hero-stat { border-left: 1px solid var(--line-dark); }
.hero-stat .num {
    font-family: var(--display);
    font-size: clamp(26px, 2.4vw, 36px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--white);
}
.hero-stat .num em {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    color: var(--blue-pale);
}
.hero-stat .lbl {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.52);
}

/* ---------- Marquee ---------- */
.marquee {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    padding: 22px 0;
}
.marquee-track {
    display: flex;
    gap: 0;
    width: max-content;
}
@media (prefers-reduced-motion: no-preference) {
    .marquee-track { animation: marquee 36s linear infinite; }
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.marquee-set {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.marquee-set span {
    font-family: var(--display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--navy);
    padding: 0 28px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 56px;
}
.marquee-set span::after {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
    flex-shrink: 0;
}

/* ---------- Sections ---------- */
.section { padding: 130px 0; }
.section-alt { background: var(--bg-alt); }

/* ---------- About ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 80px;
    align-items: start;
}
.about-side { position: sticky; top: calc(var(--nav-h) + 40px); }
.about-side .meta-row { margin-bottom: 20px; }
.about-side h2 { font-size: clamp(30px, 2.8vw, 40px); margin-bottom: 28px; }
.about-side .side-note {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.7;
    border-left: 2px solid var(--red);
    padding-left: 18px;
}
.about-body .lead {
    font-family: var(--display);
    font-size: clamp(24px, 2.3vw, 33px);
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin-bottom: 32px;
}
.about-body .lead strong { color: var(--blue); font-weight: 700; }
.about-body .lead .serif-accent { color: var(--red); }
.about-body > p { max-width: 620px; }
.about-body > p + p { margin-top: 18px; }

.vision-banner {
    margin-top: 96px;
    background:
        radial-gradient(900px 400px at 100% 0%, rgba(47, 119, 224, 0.30), transparent 60%),
        linear-gradient(160deg, var(--navy-2), var(--navy));
    border-radius: var(--radius-lg);
    padding: 72px 72px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 48px;
    align-items: start;
}
.vision-banner::before {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.10);
    right: -200px;
    bottom: -300px;
}
.vision-banner .v-label {
    font-family: var(--display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--blue-pale);
    display: flex;
    align-items: center;
    gap: 12px;
}
.vision-banner .v-label::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.vision-banner p {
    font-family: var(--display);
    font-size: clamp(20px, 1.9vw, 27px);
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.92);
    position: relative;
}
.vision-banner p .serif-accent { color: var(--blue-pale); }

/* ---------- Pillars (editorial rows) ---------- */
.pillar-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 72px;
}
.pillar-head .section-sub { max-width: 380px; font-size: 16.5px; color: var(--body); padding-bottom: 8px; }
.pillar-rows { border-top: 1px solid var(--line); }
.pillar-row {
    display: grid;
    grid-template-columns: 140px 1fr 1.1fr 60px;
    gap: 40px;
    align-items: center;
    padding: 44px 0;
    border-bottom: 1px solid var(--line);
    position: relative;
    transition: padding-left 0.35s ease;
}
.pillar-row::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    border-left: 3px solid var(--red);
    opacity: 0;
    transition: opacity 0.35s ease;
}
.pillar-row:hover { padding-left: 28px; }
.pillar-row:hover::before { opacity: 1; }
.pillar-row .p-num {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(44px, 4vw, 64px);
    color: var(--line);
    line-height: 1;
    transition: color 0.35s ease;
}
.pillar-row:hover .p-num { color: var(--red); }
.pillar-row h3 {
    font-size: clamp(20px, 1.9vw, 26px);
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.pillar-row p { font-size: 15.5px; max-width: 480px; }
.pillar-row .p-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: all 0.35s ease;
    justify-self: end;
}
.pillar-row:hover .p-arrow {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
    transform: rotate(-45deg);
}

/* ---------- How we work ---------- */
.work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}
.work-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 52px 48px;
    position: relative;
    overflow: hidden;
}
.work-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 48px;
    right: 48px;
    height: 3px;
}
.work-card.wc-blue::before { background: var(--blue); }
.work-card.wc-red::before { background: var(--red); }
.work-card .work-for {
    font-family: var(--display);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.work-card.wc-blue .work-for { color: var(--blue); }
.work-card.wc-red .work-for { color: var(--red); }
.work-card h3 {
    font-size: clamp(22px, 2vw, 28px);
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}
.work-card ul { list-style: none; display: flex; flex-direction: column; }
.work-card li {
    display: flex;
    gap: 16px;
    align-items: baseline;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    font-size: 16px;
    color: var(--body);
}
.work-card li .li-idx {
    font-family: var(--display);
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    flex-shrink: 0;
}

.philosophy {
    background:
        radial-gradient(800px 400px at 0% 100%, rgba(200, 16, 46, 0.16), transparent 55%),
        linear-gradient(160deg, var(--navy-2), var(--navy));
    border-radius: var(--radius-lg);
    padding: 72px 64px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.philosophy::after {
    content: "";
    position: absolute;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    right: -240px;
    top: -340px;
}
.philosophy .ph-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 56px;
}
.philosophy h3 {
    color: var(--white);
    font-size: clamp(26px, 2.4vw, 36px);
    letter-spacing: -0.02em;
}
.philosophy h3 .serif-accent { color: var(--blue-pale); }
.philosophy .ph-meta {
    font-family: var(--display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
}
.philosophy-item { border-top: 1px solid var(--line-dark); padding-top: 24px; }
.philosophy-item .ph-num {
    font-family: var(--serif);
    font-style: italic;
    font-size: 30px;
    color: var(--blue-pale);
    display: block;
    margin-bottom: 14px;
    line-height: 1;
}
.philosophy-item p { color: rgba(255, 255, 255, 0.82); font-size: 15.5px; line-height: 1.6; }

/* ---------- Why TruMed ---------- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-block: 1px solid var(--line);
}
.why-col { padding: 56px 48px; position: relative; }
.why-col + .why-col { border-left: 1px solid var(--line); }
.why-col .stat {
    font-family: var(--display);
    font-size: clamp(56px, 5.4vw, 84px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--navy);
    margin-bottom: 20px;
}
.why-col .stat .serif-accent { color: var(--red); font-size: 0.92em; }
.why-col .stat-label {
    font-family: var(--display);
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
}
.why-col p { font-size: 15px; }

/* ---------- Locations ---------- */
.loc-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 64px;
}
.loc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}
.loc-card { position: relative; }
.loc-card:nth-child(2) { margin-top: 56px; }
.loc-card:nth-child(3) { margin-top: 112px; }
.loc-card .loc-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 4.7;
    box-shadow: 0 24px 56px rgba(8, 31, 64, 0.14);
}
.loc-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.loc-card:hover img { transform: scale(1.045); }
.loc-card .loc-cap {
    display: flex;
    gap: 14px;
    align-items: baseline;
    padding: 18px 6px 0;
}
.loc-card .loc-cap .c-idx {
    font-family: var(--serif);
    font-style: italic;
    font-size: 18px;
    color: var(--red);
}
.loc-card .loc-cap .c-lbl {
    font-family: var(--display);
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
}

/* ---------- Contact ---------- */
.contact-section {
    background:
        radial-gradient(1100px 600px at 92% 0%, rgba(47, 119, 224, 0.30), transparent 60%),
        radial-gradient(700px 420px at 0% 100%, rgba(200, 16, 46, 0.14), transparent 55%),
        linear-gradient(165deg, #0A2750, var(--navy) 60%, #051630);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 88px;
    align-items: start;
}
.contact-left .meta-row .lbl { color: rgba(255,255,255,0.5); }
.contact-left h2 {
    color: var(--white);
    font-size: clamp(38px, 4vw, 58px);
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}
.contact-left h2 .serif-accent { color: var(--blue-pale); }
.contact-left .contact-sub {
    color: rgba(255, 255, 255, 0.68);
    max-width: 440px;
    margin-bottom: 48px;
}
.contact-rows { display: flex; flex-direction: column; }
.contact-row {
    display: flex;
    gap: 20px;
    align-items: baseline;
    padding: 22px 0;
    border-top: 1px solid var(--line-dark);
}
.contact-row .c-lbl {
    font-family: var(--display);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    width: 110px;
    flex-shrink: 0;
}
.contact-row .c-val { font-size: 17px; color: rgba(255, 255, 255, 0.92); }
.contact-row .c-val a { color: var(--blue-pale); }
.contact-row .c-val a:hover { color: var(--white); }

.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 52px 48px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.contact-form .form-title {
    font-family: var(--display);
    font-size: 21px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-group { display: flex; flex-direction: column; gap: 9px; }
.form-group label {
    font-family: var(--display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--ink);
}
.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--sans);
    font-size: 15.5px;
    color: var(--ink);
    border: 1.5px solid var(--line);
    border-radius: 10px;
    padding: 14px 16px;
    background: var(--bg-alt);
    transition: border-color 0.25s ease, background 0.25s ease;
    width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.btn-full { width: 100%; justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding: 72px 0 0; overflow: hidden; }
.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
    flex-wrap: wrap;
    padding-bottom: 56px;
}
.footer-brand img { height: 50px; width: auto; margin-bottom: 18px; }
.footer-brand p {
    font-family: var(--serif);
    font-style: italic;
    color: var(--body);
    font-size: 18px;
}
.footer-links { display: flex; gap: 36px; flex-wrap: wrap; }
.footer-links a {
    font-family: var(--display);
    font-size: 15px;
    font-weight: 600;
    color: var(--body);
}
.footer-links a:hover { color: var(--red); }
.footer-bottom {
    border-top: 1px solid var(--line);
    padding: 26px 0 32px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: var(--muted);
}
.footer-word {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(90px, 13vw, 200px);
    letter-spacing: -0.045em;
    line-height: 0.8;
    text-align: center;
    color: var(--ink);
    opacity: 0.045;
    user-select: none;
    transform: translateY(18%);
    pointer-events: none;
}

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(28px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .reveal.visible { opacity: 1; transform: none; }
    .reveal-d1 { transition-delay: 0.12s; }
    .reveal-d2 { transition-delay: 0.24s; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
    .section { padding: 88px 0; }
    .container { padding: 0 24px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-side { position: static; }
    .vision-banner { grid-template-columns: 1fr; padding: 48px 36px; gap: 24px; }
    .pillar-head, .loc-head { flex-direction: column; align-items: flex-start; gap: 20px; }
    .pillar-row { grid-template-columns: 72px 1fr; gap: 16px 24px; }
    .pillar-row p { grid-column: 2; }
    .pillar-row .p-arrow { display: none; }
    .pillar-row:hover { padding-left: 0; }
    .work-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .philosophy { padding: 44px 32px; }
    .philosophy-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .why-grid { grid-template-columns: 1fr; }
    .why-col + .why-col { border-left: none; border-top: 1px solid var(--line); }
    .why-col { padding: 40px 8px; }
    .loc-grid { grid-template-columns: 1fr; }
    .loc-card:nth-child(2), .loc-card:nth-child(3) { margin-top: 0; }
    .hero-row { flex-direction: column; align-items: flex-start; gap: 32px; margin-top: 40px; }
    .hero-stats-grid { grid-template-columns: 1fr; }
    .hero-stat { padding: 20px 0; }
    .hero-stat + .hero-stat { border-left: none; border-top: 1px solid var(--line-dark); }
    .contact-form { padding: 36px 28px; }
    .form-row { grid-template-columns: 1fr; }
    .nav-links {
        position: fixed;
        top: var(--nav-h);
        left: 16px;
        right: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 16px;
        padding: 16px;
        display: none;
        box-shadow: 0 24px 48px rgba(8, 31, 64, 0.18);
    }
    .nav-links.open { display: flex; }
    .nav-links a { color: var(--ink) !important; padding: 12px 16px; }
    .nav-links .nav-cta { margin-left: 0; text-align: center; margin-top: 8px; }
    .nav-toggle { display: flex; }
}
