/* DINASIA — industrial safety editorial. Tokens follow hostingrakyat.co.id (motion 120/280/560 ms, overshoot easing). */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/BricolageGrotesque-latin-ext-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/BricolageGrotesque-latin-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/InstrumentSans-latin-ext-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/InstrumentSans-latin-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/JetBrainsMono-latin-normal.woff2) format('woff2'); }

/* DINASIA: white first, logo blue + deep navy second, logo red for action. Motion tokens follow hostingrakyat.co.id. */
:root {
  --white: #FFFFFF;
  --paper: #F6F9FD;
  --tint: #EAF1FA;
  --tint-2: #DCE7F5;
  --line: #D8E3F0;
  --blue: #185098;          /* logo blue, AA on white */
  --navy: #0E2E5C;          /* deep navy for headings + dark bands */
  --navy-2: #143D75;
  --ink: #0E2E5C;
  --text: #3A4F6B;
  --muted: #5D6F86;
  --red: #E02028;           /* logo red */
  --red-deep: #B8141B;
  --red-tint: #FDECEC;
  --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Instrument Sans', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.175, .885, .32, 1.12);
  --ease-out: cubic-bezier(.2, 0, 0, 1);
  --ease-ambient: cubic-bezier(.37, 0, .63, 1);
  --t-quick: 120ms;
  --t-std: 280ms;
  --t-slow: 560ms;
  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 26px;
  --shadow: 0 1px 2px rgba(14, 46, 92, .06), 0 8px 24px -12px rgba(14, 46, 92, .18);
  --shadow-lift: 0 2px 4px rgba(14, 46, 92, .08), 0 22px 40px -18px rgba(14, 46, 92, .32);
  --wrap: 1180px;
  --space-section: clamp(4rem, 3rem + 4vw, 7.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font-body); font-size: clamp(1rem, .96rem + .2vw, 1.0625rem); line-height: 1.65; color: var(--text); background: var(--white); text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 1.4rem + 4.2vw, 4.4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.85rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.mono { font-family: var(--font-mono); letter-spacing: .02em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { display: none; }
.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--navy); color: #fff; padding: .7rem 1rem; border-radius: var(--radius-s); }
.skip:focus { top: 1rem; }

/* Buttons */
.btn { --b-bg: var(--navy); --b-fg: #fff; display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.3rem; border-radius: 999px; font-weight: 600; font-size: .98rem; line-height: 1; text-decoration: none; color: var(--b-fg); background: var(--b-bg); border: 1.5px solid transparent; cursor: pointer; transition: transform var(--t-std) var(--ease), box-shadow var(--t-std) var(--ease-out), background-color var(--t-quick) linear, border-color var(--t-quick) linear; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn:active { transform: translateY(0) scale(.985); }
.btn .ic { transition: transform var(--t-std) var(--ease); }
.btn:hover .ic { transform: rotate(-8deg) scale(1.08); }
.btn-sm { padding: .62rem 1rem; font-size: .9rem; }
.btn-primary { --b-bg: var(--red); }
.btn-primary:hover { --b-bg: var(--red-deep); }
.btn-ghost { --b-bg: var(--white); --b-fg: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); }
.btn-light { --b-bg: #fff; --b-fg: var(--navy); }
.btn-outline-light { --b-bg: transparent; --b-fg: #fff; border-color: rgba(255, 255, 255, .55); }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; }
.link-arrow .ic { transition: transform var(--t-std) var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--navy); }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--tint); color: var(--blue); }
.brand-mark-img { background: transparent; padding: 0; }
.brand-mark-img img { height: 38px; width: auto; transition: transform var(--t-std) var(--ease); }
.brand:hover .brand-mark-img img { transform: rotate(-8deg) scale(1.05); }
.brand-ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .04em; color: var(--blue); }
.brand-text small { font-size: .7rem; color: var(--muted); letter-spacing: .02em; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav ul { display: flex; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) { display: block; padding: .5rem .8rem; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem; transition: color var(--t-quick) linear, background-color var(--t-quick) linear; }
.site-nav a:not(.btn):hover { color: var(--navy); background: var(--tint); }
.site-nav a[aria-current="page"] { color: var(--blue); background: var(--tint); font-weight: 600; }
.nav-toggle { display: none; background: var(--white); border: 1px solid var(--line); color: var(--navy); width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }
.nav-toggle .ic { width: 22px; height: 22px; }

/* Hero (light, like hostingrakyat.co.id) */
.hero, .page-hero { position: relative; overflow: hidden; color: var(--text); background: radial-gradient(70% 90% at 85% 15%, var(--tint) 0%, var(--white) 62%); }
.hero-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(24, 80, 152, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(24, 80, 152, .07) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(90deg, transparent 5%, #000 70%); -webkit-mask-image: linear-gradient(90deg, transparent 5%, #000 70%); pointer-events: none; }
.hero h1 em, .page-hero h1 em { font-style: normal; color: var(--red); }
.hero-row { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: center; padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(2.5rem, 4vw, 4rem); }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--red); margin-bottom: 1rem; }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); max-width: 38rem; margin-bottom: 2rem; }
.lead-sm { font-size: 1.1rem; }
.stats { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3rem); margin: 2.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.stats div { min-width: 7rem; }
.stats dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.stats dd { margin: .2rem 0 0; font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--blue); line-height: 1; }
/* Hero visual: best Sea Survival photo, an inset photo and a chip; K3 vectors drift behind everything. */
.hero-visual { position: relative; width: 100%; max-width: 580px; justify-self: end; padding: 0 0 2.6rem 2.2rem; }
.hero-photo { margin: 0; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-lift); border: 6px solid var(--white); rotate: 1.2deg; }
.hero-inset { position: absolute; left: 0; bottom: 0; width: 42%; margin: 0; border-radius: var(--radius); overflow: hidden; border: 5px solid var(--white); box-shadow: var(--shadow-lift); rotate: -3deg; }
.hero-inset img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-chip { position: absolute; right: -.6rem; bottom: 1.2rem; display: flex; align-items: center; gap: .65rem; margin: 0; padding: .7rem 1rem .7rem .75rem; background: var(--white); border-radius: 14px; box-shadow: var(--shadow-lift); font-size: .85rem; color: var(--muted); line-height: 1.25; }
.hero-chip .ic { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--red); color: #fff; flex: none; }
.hero-chip strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1rem; }
.js .hero-visual { animation: hero-in var(--t-slow) var(--ease) both; }
@keyframes hero-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.marquee { position: relative; background: var(--navy); overflow: hidden; }
.marquee ul { display: flex; gap: 2.5rem; width: max-content; list-style: none; margin: 0; padding: .9rem 0; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .75); animation: slide 60s linear infinite; }
.marquee li::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 2.5rem; border-radius: 50%; background: var(--red); vertical-align: middle; transform: translateY(-1px); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: var(--space-section) 0; position: relative; }
.section-tint { background: var(--paper); }
.section-dark { background: linear-gradient(180deg, rgba(14, 46, 92, .9), rgba(14, 46, 92, .96) 55%), url("/assets/img/gallery/23-pemanasan-sebelum-praktik.webp") center 30% / cover no-repeat, var(--navy); color: rgba(255, 255, 255, .8); overflow: hidden; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #FF8A8F; }
.stripe { position: absolute; top: 0; left: 0; right: 0; height: 8px; background: repeating-linear-gradient(-45deg, var(--red) 0 14px, #fff 14px 28px); }
.sec-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.sec-head-row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; }
.sec-head h2 { margin-bottom: 0; }
.sec-head p:not(.eyebrow) { margin: .8rem 0 0; max-width: 40rem; }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.svc { position: relative; padding: clamp(1.75rem, 3vw, 2.5rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow); overflow: hidden; transition: transform var(--t-std) var(--ease), box-shadow var(--t-std) var(--ease-out); }
.svc::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--blue)); transform: scaleX(.18); transform-origin: left; transition: transform var(--t-slow) var(--ease-out); }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.svc:hover::after { transform: scaleX(1); }
.svc-photo { position: relative; margin: calc(-1 * clamp(1.75rem, 3vw, 2.5rem)) calc(-1 * clamp(1.75rem, 3vw, 2.5rem)) 2.4rem; }
.svc-photo img { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; transition: transform var(--t-slow) var(--ease-out); }
.svc:hover .svc-photo img { transform: scale(1.04); }
.k3-badge { position: absolute; display: grid; place-items: center; background: var(--white); border-radius: 50%; box-shadow: 0 6px 18px rgba(14, 46, 92, .18); }
.svc-photo .k3-badge { left: clamp(1.4rem, 2.6vw, 2.1rem); bottom: -38px; width: 82px; height: 82px; }
.svc-photo .k3-badge .k3 { width: 64px; height: 64px; }
.svc .eyebrow { margin-bottom: .4rem; }
.svc h3 { font-size: 1.6rem; }
.ticks { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1rem; }
.ticks li { display: flex; gap: .5rem; align-items: center; font-weight: 500; color: var(--ink); font-size: .95rem; }
.ticks .ic { color: var(--red); }

/* Equipment grid */
.eq-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.eq-card { display: flex; flex-direction: column; align-items: stretch; overflow: hidden; padding: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: transform var(--t-std) var(--ease), box-shadow var(--t-std) var(--ease-out), border-color var(--t-quick) linear; }
.eq-card:hover, .eq-card:focus-visible { transform: translateY(-3px); box-shadow: 0 5px 0 var(--tint-2), var(--shadow); border-color: #B9CDE6; }
.eq-card:active { transform: translateY(1px) scale(.985); }
.eq-photo { position: relative; display: block; }
.eq-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform var(--t-slow) var(--ease-out); }
.eq-card:hover .eq-photo img { transform: scale(1.05); }
.eq-photo .k3-badge { right: .8rem; bottom: -30px; width: 64px; height: 64px; z-index: 1; }
.eq-photo .k3-badge .k3 { width: 50px; height: 50px; }
.eq-name { padding-right: 3.6rem; }
.eq-body { display: flex; flex-direction: column; gap: .25rem; padding: 1.05rem 1.15rem 1.2rem; }
.eq-name { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.05rem; line-height: 1.2; }
.eq-use { font-size: .86rem; line-height: 1.45; }
.eq-link { margin-top: auto; padding-top: .5rem; font-size: .8rem; font-weight: 600; color: var(--blue); display: inline-flex; gap: .3rem; align-items: center; }
.eq-card:hover .eq-link .ic { transform: translateX(3px); }
.eq-link .ic { transition: transform var(--t-std) var(--ease); }

/* Training cards */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.t-card { position: relative; display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-start; padding: 1.35rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: transform var(--t-std) var(--ease), box-shadow var(--t-std) var(--ease-out), border-color var(--t-quick) linear; }
.t-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: #B9CDE6; }
.t-photo { flex: 1 0 100%; display: block; margin: -1.35rem -1.35rem 0; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.t-photo img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform var(--t-slow) var(--ease-out); }
.t-card:hover .t-photo img { transform: scale(1.05); }
.t-has-photo { overflow: hidden; }
.t-has-photo .t-body { flex: 1; min-width: 0; }
.t-has-photo .t-go { top: auto; bottom: 1.35rem; }
.t-ic, .svc-ic, .ap-ic { display: grid; place-items: center; flex: none; }
.t-ic { width: 46px; height: 46px; border-radius: 13px; background: var(--tint); color: var(--blue); transition: background-color var(--t-quick) linear, color var(--t-quick) linear, transform var(--t-std) var(--ease); }
.t-card:hover .t-ic { background: var(--red); color: #fff; transform: rotate(-6deg) scale(1.06); }
.t-ic .ic { width: 22px; height: 22px; }
.t-body { display: flex; flex-direction: column; gap: .2rem; min-width: 0; padding-right: 1.4rem; }
.t-title { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.08rem; line-height: 1.25; }
.t-code { font-size: .72rem; color: var(--red); font-weight: 600; }
.t-sum { font-size: .92rem; line-height: 1.5; }
.t-go { position: absolute; top: 1.1rem; right: 1.1rem; color: var(--muted); transition: transform var(--t-std) var(--ease), color var(--t-quick) linear; }
.t-card:hover .t-go { transform: translate(3px, -3px); color: var(--red); }

/* Approach (navy band) */
.ap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.ap { padding: 1.75rem 1.5rem; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); transition: transform var(--t-std) var(--ease), background-color var(--t-quick) linear; }
.ap:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .08); }
.ap-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--red); color: #fff; margin-bottom: 1.25rem; transition: transform var(--t-std) var(--ease); }
.ap:hover .ap-ic { transform: rotate(-6deg) scale(1.06); }
.ap-ic .ic { width: 24px; height: 24px; }
.ap h3 { font-size: 1.2rem; }
.ap p { font-size: .95rem; margin: 0; }

/* About */
.about-row { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.legal-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.legal-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.3rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.legal-list .ic { width: 24px; height: 24px; color: var(--red); margin-top: .15rem; }
.legal-list strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.05rem; }
.about-stack { display: grid; gap: 1rem; }
.prose p { font-size: 1.08rem; }
.prose p:first-child { font-size: 1.2rem; color: var(--ink); }
.about-side { display: grid; gap: 1rem; }
.about-side .about-photo img { aspect-ratio: 16 / 9; }
.about-photo { margin: 0; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-lift); }
.hero-photo img, .about-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.title-cloud { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.title-cloud a, .title-cloud .more { display: inline-block; padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; font-weight: 500; font-size: .93rem; transition: border-color var(--t-quick) linear, background-color var(--t-quick) linear, transform var(--t-std) var(--ease); }
.title-cloud a:hover { border-color: var(--blue); background: var(--tint); transform: translateY(-2px); }
.title-cloud .more { border-style: dashed; color: var(--muted); }

/* CTA band (navy, red action) */
.cta-band { padding: 0 0 var(--space-section); }
.section + .cta-band, .section-tint + .cta-band { padding-top: var(--space-section); }
.cta-inner { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; padding: clamp(2rem, 4vw, 3rem) clamp(2rem, 4vw, 3.25rem); border-radius: var(--radius-l); background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%); color: rgba(255, 255, 255, .85); box-shadow: var(--shadow-lift); overflow: hidden; }
.cta-inner h2 { color: #fff; margin-bottom: .3em; }
.cta-inner p { margin: 0 0 1.5rem; max-width: 36rem; }
.cta-inner .btn-light { --b-bg: var(--red); --b-fg: #fff; }
.cta-inner .btn-light:hover { --b-bg: var(--red-deep); }
.cta-art { width: 300px; }
.cta-art .scene-svg { width: 100%; height: auto; }

/* Page hero */
.page-hero .wrap { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 4vw, 4rem); }
.hero h1.hero-name { font-size: clamp(2.3rem, 1.3rem + 3.6vw, 4rem); max-width: 14ch; }
.gallery-wrap { background: radial-gradient(60% 900px at 85% 0, var(--tint) 0%, var(--white) 70%); }
.gallery-wrap .page-hero { background: transparent; }
.page-hero h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.8rem); max-width: 22ch; }
.page-hero .lead { margin-bottom: 0; }
.page-photo { width: 420px; margin: 0; border-radius: var(--radius-l); overflow: hidden; border: 6px solid var(--white); box-shadow: var(--shadow-lift); rotate: 1.5deg; }
.page-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.page-404 .cta-row { margin-top: 2rem; }

/* Training catalog */
.filters { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.search { display: flex; align-items: center; gap: .6rem; flex: 1 1 18rem; max-width: 26rem; padding: 0 1rem; background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; color: var(--muted); transition: border-color var(--t-quick) linear; }
.search:focus-within { border-color: var(--blue); }
.search input { flex: 1; border: 0; outline: 0; background: none; font: inherit; color: var(--ink); padding: .8rem 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .95rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); font: inherit; font-size: .9rem; font-weight: 500; cursor: pointer; transition: background-color var(--t-quick) linear, border-color var(--t-quick) linear, color var(--t-quick) linear, transform var(--t-std) var(--ease); }
.chip:hover { border-color: #B9CDE6; transform: translateY(-1px); }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.result-count { font-size: .8rem; color: var(--muted); margin: .5rem 0 1rem; }
.t-list { display: grid; gap: .75rem; }
.t-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow var(--t-std) var(--ease-out), border-color var(--t-quick) linear; }
.t-item[open] { box-shadow: var(--shadow); border-color: #B9CDE6; }
.t-item:target { border-color: var(--red); box-shadow: 0 0 0 3px rgba(224, 32, 40, .15); }
.t-item summary { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; cursor: pointer; list-style: none; }
.t-item summary::-webkit-details-marker { display: none; }
.t-item summary:hover .t-ic { background: var(--red); color: #fff; }
.t-head { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.t-cat { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.t-chev { color: var(--muted); transition: transform var(--t-std) var(--ease); }
.t-item[open] .t-chev { transform: rotate(180deg); color: var(--red); }
.t-detail { padding: 0 1.3rem 1.5rem calc(1.3rem + 46px + 1rem); max-width: 60rem; }
.t-detail p { font-size: .98rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.tag { font-size: .72rem; padding: .3rem .6rem; border-radius: 6px; background: var(--tint); color: var(--blue); font-weight: 600; }
.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }

/* Gallery + photo strip */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.g-item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--tint); }
.g-item img, .strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease-out); }
.g-item:hover img, .strip-item:hover img { transform: scale(1.04); }
.g-item figcaption, .strip-item figcaption { position: absolute; inset: auto 0 0 0; padding: 1.6rem .85rem .7rem; font-size: .82rem; font-weight: 600; color: #fff; background: linear-gradient(to top, rgba(14, 46, 92, .9), rgba(14, 46, 92, 0)); line-height: 1.3; }
.g-tile { aspect-ratio: 4 / 3; border-radius: var(--radius); display: grid; place-items: center; background: var(--tint); color: var(--blue); }
.g-tile .ic { width: 56px; height: 56px; stroke-width: 1.4; }
.empty-note { text-align: center; margin-top: 2rem; color: var(--muted); }
.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.strip-item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--tint); }

/* Contact */
.contact-row { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.contact-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact-cards a { display: flex; gap: 1.1rem; align-items: center; padding: 1.4rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: transform var(--t-std) var(--ease), box-shadow var(--t-std) var(--ease-out); }
.contact-cards a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.contact-cards .ic { width: 46px; height: 46px; padding: 11px; border-radius: 13px; background: var(--tint); color: var(--blue); transition: background-color var(--t-quick) linear, color var(--t-quick) linear, transform var(--t-std) var(--ease); }
.contact-cards a:hover .ic { background: var(--red); color: #fff; transform: rotate(-6deg); }
.contact-cards strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 1.05rem; }
.req-form { padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow); display: grid; gap: 1rem; }
.req-form h2 { font-size: 1.6rem; margin: 0; }
.muted { color: var(--muted); font-size: .92rem; margin: 0; }
.req-form label { display: grid; gap: .35rem; font-weight: 600; color: var(--ink); font-size: .92rem; }
.req-form input, .req-form select, .req-form textarea { font: inherit; font-weight: 400; color: var(--ink); padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: var(--paper); transition: border-color var(--t-quick) linear, box-shadow var(--t-quick) linear; width: 100%; }
.req-form input:focus, .req-form select:focus, .req-form textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24, 80, 152, .15); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.req-form .btn { justify-self: start; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .72); padding-top: 4rem; }
.site-footer .brand { color: #fff; }
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text small { color: rgba(255, 255, 255, .6); }
.site-footer .brand-mark-img { background: #fff; padding: 5px; border-radius: 12px; width: 46px; height: 46px; }
.site-footer .brand-mark-img img { height: 34px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand p { margin-top: 1rem; max-width: 26rem; font-size: .95rem; }
.footer-h { font-family: var(--font-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: #FF8A8F; margin-bottom: 1rem; font-weight: 600; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-list a { color: rgba(255, 255, 255, .85); text-decoration: none; display: inline-flex; align-items: center; gap: .55rem; }
.footer-list a:hover { color: #fff; text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.4rem 0 2rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; color: rgba(255, 255, 255, .55); }

/* Reveal (progressive: content is visible without JS) */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity var(--t-slow) ease-out, transform var(--t-slow) var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
  .t-grid { grid-template-columns: repeat(2, 1fr); }
  .ap-grid { grid-template-columns: repeat(2, 1fr); }
  .eq-grid { grid-template-columns: repeat(3, 1fr); }
  .page-photo { width: 320px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: grid; place-items: center; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem 1.25rem 1.5rem; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav a:not(.btn) { padding: .8rem 1rem; font-size: 1.05rem; }
  .hero-row, .about-row, .two-col, .contact-row { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; justify-self: center; }
  .svc-grid { grid-template-columns: 1fr; }
  .eq-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .gallery, .photo-strip { grid-template-columns: repeat(2, 1fr); }
  .t-item summary { grid-template-columns: auto 1fr auto; }
  .t-cat { display: none; }
  .t-detail { padding-left: 1.3rem; }
  .page-hero .wrap { grid-template-columns: 1fr; }
  .page-photo { width: min(100%, 460px); }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-art { width: 240px; }
}
@media (max-width: 560px) {
  .t-grid, .ap-grid { grid-template-columns: 1fr; }
  .ticks { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { gap: 1rem; flex-wrap: nowrap; justify-content: space-between; }
  .stats div { min-width: 0; }
  .stats dt { font-size: .62rem; letter-spacing: .06em; }
  .stats dd { font-size: 2rem; }
  .brand-text small { display: none; }
  .eq-card { padding: .9rem; }
  .eq-card .k3 { width: 68px; height: 68px; }
  .eq-use { display: none; }
  .hero-chip { right: 0; font-size: .78rem; }
}

/* Reduced motion: final pose, no ambient loops */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
