/* =========================================================
   PREMIUM ADVISOR — Refined Consulting Edition
   Strict palette · Pro-grade · Subtle motion
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/fraunces-400.woff2') format('woff2-variations'),
       url('../fonts/fraunces-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/fraunces-italic-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-latin.woff2') format('woff2-variations'),
       url('../fonts/manrope-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF;
}

/* ---------- Tokens (strict palette only) ---------- */
:root {
  --c-black: #000000;
  --c-brand: #1B5F7A;
  --c-brand-d: #134456;
  --c-brand-l: #2a7896;
  --c-gray: #666766;
  --c-gray-l: #8a8b8a;

  --c-white: #FFFFFF;
  --c-bg-soft: #F7F7F5;
  --c-bg-tint: #EFEFEC;
  --c-line: #E4E2DC;
  --c-line-soft: #EDEBE5;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 48px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-snap: cubic-bezier(0.7, 0, 0.3, 1);

  --radius: 2px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-black);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
html { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--c-brand); color: #fff; }

/* ---------- Custom cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--c-brand);
  border-radius: 999px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .3s var(--ease), height .3s var(--ease), background .3s var(--ease);
  display: none;
}
.cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 28px; height: 28px;
  border: 1px solid rgba(27,95,122,0.4);
  border-radius: 999px;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .35s var(--ease), height .35s var(--ease), border-color .35s var(--ease), opacity .35s;
  display: none;
}
.cursor.large { width: 48px; height: 48px; opacity: 0.6; }
.cursor-ring.large { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .cursor, .cursor-ring { display: block; }
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0;
  background: var(--c-white);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}
.loader-logo {
  height: 56px;
  width: auto;
  opacity: 0.95;
}
.loader-bar {
  width: 160px; height: 1px;
  background: rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}
.loader-bar::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--c-brand);
  transform-origin: left;
  animation: loader 1.6s var(--ease-snap) forwards;
}
.loader-text {
  font-size: 10.5px;
  color: var(--c-gray);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
}
@keyframes loader { 0% { transform: scaleX(0); } 100% { transform: scaleX(1); } }
.loader.done {
  transform: translateY(-100%);
  transition: transform .8s var(--ease-snap);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Brand accent — single bar in brand color (no orange/teal) */
.bar {
  display: inline-block;
  width: 56px;
  height: 3px;
  background: var(--c-brand);
}
.bar.short { width: 32px; }
.bar.line { height: 1px; background: var(--c-black); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-brand);
}
.eyebrow::before {
  content: '';
  width: 32px; height: 1px;
  background: currentColor;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.05;
  margin: 0;
  color: var(--c-black);
  font-variation-settings: "opsz" 144, "SOFT" 0;
}
h1 { font-size: clamp(34px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -0.025em; font-weight: 500; }
h2 { font-size: clamp(28px, 4vw, 52px); letter-spacing: -0.02em; font-weight: 500; }
h3 { font-size: clamp(20px, 2vw, 28px); line-height: 1.15; }
h4 { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.25; font-weight: 600; }
h5 { font-size: 13px; font-weight: 600; }

.ital { font-style: italic; font-weight: 400; color: var(--c-brand); }

p { margin: 0 0 1em 0; color: #2a2a2a; }
.lead {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.55;
  color: #2a2a2a;
}
.muted { color: var(--c-gray); }

/* Reveal helpers */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }

.img-mask { position: relative; overflow: hidden; }
.img-mask img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.1);
  transition: transform 1.4s var(--ease-snap);
}
.img-mask::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--c-black);
  transform-origin: bottom;
  transition: transform 1s var(--ease-snap);
}
.img-mask.in img { transform: scale(1); }
.img-mask.in::after { transform: scaleY(0); }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 89;
  background: var(--c-black);
  color: rgba(255,255,255,0.7);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  height: 34px;
  display: flex;
  align-items: center;
}
body { padding-top: calc(34px + 72px); }
@media (max-width: 800px) {
  .topbar { display: none; }
  body { padding-top: 72px; }
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar a { color: rgba(255,255,255,0.7); transition: color .25s; }
.topbar a:hover { color: #fff; }
.topbar i { color: rgba(255,255,255,0.5); margin-right: 6px; font-size: 11px; }
.topbar-right { display: flex; gap: 22px; align-items: center; }
.topbar-right a { display: inline-flex; align-items: center; }
@media (max-width: 800px) { .topbar-left { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 34px;
  left: 0; right: 0;
  z-index: 90;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--c-line-soft);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
@media (max-width: 800px) {
  .site-header { top: 0; }
}
.site-header.scrolled { background: rgba(255,255,255,0.96); }
.site-header.dark { background: rgba(0,0,0,0.7); border-color: rgba(255,255,255,0.08); }
.site-header.dark .nav-links a { color: #fff; }
.site-header.dark .nav-links a:hover, .site-header.dark .nav-links a.active { background: #fff; color: var(--c-black) !important; }
.site-header.dark .menu-toggle { background: #fff; color: var(--c-black); }
.site-header.dark .brand img { filter: brightness(0) invert(1); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  transition: opacity .3s var(--ease);
}
.brand img {
  height: 40px;
  width: auto;
  transition: transform .4s var(--ease);
}
.brand:hover { opacity: 0.8; }

.nav-links {
  display: flex;
  gap: 2px;
  align-items: center;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 10px 16px;
  border-radius: 999px;
  transition: background .3s var(--ease), color .3s var(--ease);
  color: var(--c-black);
}
.nav-links a:hover, .nav-links a.active {
  background: var(--c-black);
  color: #fff !important;
}
.nav-cta {
  background: var(--c-brand) !important;
  color: #fff !important;
  padding: 11px 22px !important;
  font-weight: 600 !important;
  margin-left: 6px;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}
.nav-cta:hover { background: var(--c-black) !important; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: var(--c-black);
  color: #fff;
  border-radius: 999px;
  font-size: 16px;
}
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
}

.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(380px, 88vw);
  background: #FFFFFF;
  z-index: 9999;
  transform: translate3d(110%, 0, 0);
  transition: transform .5s var(--ease-snap);
  padding: 80px 32px 40px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-left: 1px solid var(--c-line);
  visibility: hidden;
  box-shadow: -10px 0 40px -20px rgba(0,0,0,0.3);
}
.mobile-drawer.open {
  transform: translate3d(0, 0, 0) !important;
  visibility: visible;
}
.mobile-drawer a {
  display: block;
  padding: 16px 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  border-bottom: 1px solid var(--c-line-soft);
  color: var(--c-black);
  transition: padding .3s var(--ease), color .3s var(--ease);
}
.mobile-drawer a:hover { padding-left: 8px; color: var(--c-brand); }
.mobile-drawer .nav-cta { display: inline-flex !important; margin-top: 24px; padding: 14px 24px !important; font-size: 12px !important; }
.drawer-close {
  position: absolute;
  top: 20px; right: 24px;
  width: 44px; height: 44px;
  background: var(--c-bg-soft);
  border-radius: 999px;
  font-size: 18px;
  color: var(--c-black);
}
.scrim {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease);
  backdrop-filter: blur(2px);
}
.scrim.open { opacity: 1; pointer-events: auto; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  will-change: transform;
}
.btn-primary { background: var(--c-black); color: #fff; }
.btn-primary:hover { background: var(--c-brand); }
.btn-ghost { border: 1px solid var(--c-black); color: var(--c-black); }
.btn-ghost:hover { background: var(--c-black); color: #fff; }
.btn-light { background: #fff; color: var(--c-black); border: 1px solid var(--c-line); }
.btn-light:hover { background: var(--c-black); color: #fff; border-color: var(--c-black); }
.btn i { font-size: 10px; transition: transform .35s var(--ease); }
.btn:hover i { transform: translateX(4px); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 90px);
  background: var(--c-white);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 85% 10%, rgba(27,95,122,0.05), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
  position: relative;
}
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-gray);
  font-weight: 600;
}
.hero-tagline .dot {
  width: 6px; height: 6px;
  background: var(--c-brand);
  border-radius: 999px;
}
.hero h1 {
  font-size: clamp(38px, 6.8vw, 86px);
  line-height: 1;
  letter-spacing: -0.025em;
  font-weight: 500;
}
.hero h1 .word { display: inline-block; }
.hero h1 .row { display: block; overflow: hidden; }
.hero-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(16px, 1.4vw, 19px);
  color: #3a3a3a;
  line-height: 1.5;
  margin-top: 28px;
  max-width: 460px;
}
.hero-ctas {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-side {
  display: grid;
  gap: 0;
}
.hero-img {
  position: relative;
  aspect-ratio: 4/4.2;
  overflow: hidden;
  border-radius: var(--radius);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-meta {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(255,255,255,0.95);
  padding: 14px 18px;
  border-radius: 2px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gray);
  font-weight: 600;
}
.hero-img-meta strong { color: var(--c-black); display: block; font-size: 14px; letter-spacing: -0.01em; text-transform: none; font-family: var(--font-display); font-weight: 500; margin-top: 2px; }

/* Hero stats inline */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(40px, 5vw, 60px);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  padding: 24px 0;
}
.hero-stats .stat {
  padding: 0 20px;
  border-right: 1px solid var(--c-line);
}
.hero-stats .stat:last-child { border-right: none; }
.hero-stats .stat .n {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 500;
  color: var(--c-brand);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-stats .stat .l {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gray);
  margin-top: 10px;
  font-weight: 600;
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-img { aspect-ratio: 16/10; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .hero-stats .stat:nth-child(2) { border-right: none; }
}

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative;
  padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 5vw, 64px);
  background: var(--c-white);
  border-bottom: 1px solid var(--c-line-soft);
}
.crumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gray);
  margin-bottom: 24px;
  font-weight: 600;
}
.crumb a { transition: color .25s; }
.crumb a:hover { color: var(--c-brand); }
.crumb i { font-size: 9px; }
.page-hero h1 { font-size: clamp(38px, 6vw, 76px); letter-spacing: -0.025em; }
.page-hero .desc {
  max-width: 620px;
  margin-top: 24px;
  font-size: clamp(15px, 1.2vw, 17px);
  color: #2a2a2a;
  line-height: 1.55;
}
.page-hero .meta-row {
  display: flex;
  gap: 48px;
  margin-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--c-line);
  padding-top: 24px;
  flex-wrap: wrap;
}
.page-hero .meta-row .item .lbl {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gray);
  margin-bottom: 6px;
  font-weight: 600;
}
.page-hero .meta-row .item .val {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--c-black);
}

/* ---------- Section common ---------- */
.section { padding: clamp(60px, 7vw, 100px) 0; position: relative; }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  margin-bottom: clamp(40px, 5vw, 64px);
  align-items: end;
}
.section-head .num {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--c-gray);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.section-head .num::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.section-head h2 { font-size: clamp(28px, 4vw, 52px); }
.section-head .lead { max-width: 560px; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- About teaser (Home) ---------- */
.about-teaser { background: var(--c-white); }
.about-teaser-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.about-img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 8s var(--ease); }
.about-img:hover img { transform: scale(1.05); }
.about-img .floating {
  position: absolute;
  bottom: 18px; left: 18px;
  background: var(--c-white);
  padding: 16px 20px;
  border-radius: 2px;
  max-width: 200px;
}
.about-img .floating .n {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  color: var(--c-brand);
  line-height: 1;
}
.about-img .floating .l {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-gray);
  margin-top: 6px;
  font-weight: 600;
}
.about-text p { font-size: 16px; line-height: 1.65; color: #2a2a2a; max-width: 540px; }
.about-text .quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--c-brand);
  margin-top: 28px;
  border-left: 2px solid var(--c-brand);
  padding-left: 18px;
}
.about-text .btn { margin-top: 32px; }
@media (max-width: 900px) {
  .about-teaser-grid { grid-template-columns: 1fr; }
  .about-img { aspect-ratio: 16/10; }
}

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--c-black);
  color: #fff;
  padding: clamp(48px, 6vw, 72px) 0;
}
.stats-strip .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stats-strip .stat {
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stats-strip .stat:last-child { border-right: none; }
.stats-strip .stat .n {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stats-strip .stat .l {
  font-size: 10.5px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 12px;
  font-weight: 600;
}
@media (max-width: 720px) {
  .stats-strip .grid { grid-template-columns: repeat(2,1fr); gap: 32px 0; }
  .stats-strip .stat:nth-child(2) { border-right: none; }
}

/* ---------- Service cards ---------- */
.services-section { background: var(--c-bg-soft); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--c-line);
  border-left: 1px solid var(--c-line);
  background: var(--c-white);
}
.service-card {
  position: relative;
  padding: clamp(28px, 3.4vw, 40px) clamp(24px, 3vw, 36px);
  border-right: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--c-white);
  cursor: pointer;
  overflow: hidden;
  transition: background .4s var(--ease);
  min-height: 320px;
  justify-content: space-between;
}
.service-card:hover { background: var(--c-black); color: #fff; }
.service-card .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.service-card .ic {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--c-brand);
  flex-shrink: 0;
  transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease), border-color .4s var(--ease);
}
.service-card:hover .ic { background: var(--c-brand); color: #fff; border-color: var(--c-brand); transform: rotate(45deg); }
.service-card .num {
  font-family: var(--font-display);
  font-size: 11.5px;
  color: var(--c-brand);
  letter-spacing: 0.04em;
  font-weight: 500;
  margin-bottom: 8px;
  transition: color .3s var(--ease);
}
.service-card:hover .num { color: rgba(255,255,255,0.7); }
.service-card h3 {
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.1;
  transition: color .3s var(--ease);
  font-weight: 500;
}
.service-card:hover h3 { color: #fff; }
.service-card .desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-gray);
  margin: 0;
  transition: color .3s var(--ease);
}
.service-card:hover .desc { color: rgba(255,255,255,0.6); }
.service-card .foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--c-line);
  transition: border-color .3s var(--ease);
  margin-top: auto;
}
.service-card:hover .foot { border-color: rgba(255,255,255,0.15); }
.service-card .foot .tag {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gray);
  font-weight: 600;
  transition: color .3s var(--ease);
}
.service-card:hover .foot .tag { color: rgba(255,255,255,0.5); }
.service-card .foot .arrow {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--c-bg-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--c-black);
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.service-card:hover .foot .arrow {
  background: #fff;
  color: var(--c-black);
  transform: rotate(-45deg);
}
@media (max-width: 820px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Service detail (LIGHT, redesigned) ---------- */
.svc-hero {
  background: var(--c-white);
  color: var(--c-black);
  padding: clamp(60px, 7vw, 90px) 0 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--c-line-soft);
}
.svc-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 100% 0, rgba(27,95,122,0.05), transparent 70%);
  pointer-events: none;
}
.svc-hero .container { position: relative; }
.svc-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-top: 28px;
}
.svc-hero-text { display: flex; flex-direction: column; gap: 0; }
.svc-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--c-brand);
  margin-bottom: 24px;
  font-weight: 500;
}
.svc-hero-tag .dot {
  width: 6px; height: 6px;
  background: var(--c-brand);
  border-radius: 999px;
}
.svc-hero-tag .total { color: var(--c-gray); }
.svc-hero-tag .sep {
  width: 24px; height: 1px;
  background: var(--c-line);
  display: inline-block;
}
.svc-hero h1 {
  font-size: clamp(34px, 5vw, 60px);
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.svc-hero .subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(17px, 1.6vw, 22px);
  color: var(--c-brand);
  margin-top: 14px;
  letter-spacing: -0.01em;
}
.svc-hero .desc {
  color: #2a2a2a;
  max-width: 560px;
  margin-top: 20px;
  font-size: 15.5px;
  line-height: 1.6;
}
.svc-hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.svc-hero-side {
  position: relative;
}
.svc-hero-card {
  position: relative;
  aspect-ratio: 4/4.5;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--c-line);
}
.svc-hero-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.svc-hero-side:hover .svc-hero-card img { transform: scale(1.04); }
.svc-hero-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.35) 100%);
}
.svc-icon-badge {
  position: absolute;
  top: 20px; left: 20px;
  width: 56px; height: 56px;
  background: var(--c-white);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--c-brand);
  box-shadow: 0 8px 20px -10px rgba(0,0,0,0.25);
  z-index: 2;
}
.svc-card-corner {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  color: #fff;
}
.svc-card-corner .num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.85;
}
.svc-card-corner .lbl {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: right;
}

/* Meta strip */
.svc-meta-strip {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.svc-meta-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: center;
  padding: 22px 20px;
  border-right: 1px solid var(--c-line);
  transition: background .35s var(--ease);
}
.svc-meta-item:last-child { border-right: none; }
.svc-meta-item:hover { background: var(--c-bg-soft); }
.svc-meta-item .ic {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--c-brand);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.svc-meta-item:hover .ic { background: var(--c-brand); color: #fff; }
.svc-meta-item .lbl {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gray);
  font-weight: 700;
  margin-bottom: 4px;
}
.svc-meta-item .val {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--c-black);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

@media (max-width: 980px) {
  .svc-hero-grid { grid-template-columns: 1fr; }
  .svc-hero-card { aspect-ratio: 16/10; }
}
@media (max-width: 720px) {
  .svc-meta-strip { grid-template-columns: 1fr 1fr; }
  .svc-meta-item:nth-child(2) { border-right: none; }
  .svc-meta-item:nth-child(1), .svc-meta-item:nth-child(2) { border-bottom: 1px solid var(--c-line); }
}

.svc-image-wrap {
  position: relative;
  margin-top: clamp(32px, 4vw, 56px);
  aspect-ratio: 21/9;
  overflow: hidden;
  border-radius: 2px;
}
.svc-image-wrap img { width: 100%; height: 100%; object-fit: cover; }

.svc-content { background: var(--c-white); }
.svc-content .grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 72px);
}
.svc-long {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: #1f1f1f;
  font-family: var(--font-display);
}
.svc-side {
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  padding: 28px;
  border-radius: 2px;
  position: sticky;
  top: 100px;
  align-self: start;
}
.svc-side::before {
  content: '';
  position: absolute; top: -1px; left: 20px;
  width: 56px; height: 3px;
  background: var(--c-brand);
}
.svc-side h4 {
  margin-bottom: 18px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-brand);
  font-family: var(--font-body);
  font-weight: 700;
}
.svc-side ul li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-line-soft);
  font-size: 13.5px;
}
.svc-side ul li:last-child { border-bottom: 0; }
.svc-side ul li i { color: var(--c-brand); font-size: 11px; margin-top: 5px; }

.svc-phases {
  margin-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--c-line);
  padding-top: clamp(36px, 4vw, 56px);
}
.svc-phases h3 { font-size: clamp(22px, 2.6vw, 32px); margin-bottom: 32px; }
.svc-phase {
  display: grid;
  grid-template-columns: 60px 260px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--c-line-soft);
  align-items: start;
  transition: padding .3s var(--ease);
}
.svc-phase:hover { padding-left: 12px; }
.svc-phase .ph-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--c-brand);
  line-height: 1;
}
.svc-phase h4 { font-size: 16px; font-weight: 600; }
.svc-phase p { margin: 0; font-size: 14px; color: var(--c-gray); line-height: 1.5; }
@media (max-width: 820px) {
  .svc-content .grid { grid-template-columns: 1fr; }
  .svc-side { position: static; }
  .svc-phase { grid-template-columns: 56px 1fr; }
  .svc-phase p { grid-column: 2; margin-top: 8px; }
}

/* ---------- Projects carousel (Home) ---------- */
.projects-section { background: var(--c-white); }
.projects-carousel { padding-top: 8px; }
.swiper { width: 100%; overflow: visible; }
.swiper-slide { height: auto; width: clamp(280px, 30vw, 420px); }
.project-card {
  position: relative;
  display: block;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 2px;
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .35s var(--ease), box-shadow .5s var(--ease);
  height: 100%;
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--c-brand);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.15);
}
.project-card .img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.project-card .img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.project-card:hover .img img { transform: scale(1.06); }
.project-card .img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.4) 100%);
}
.project-card .body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.project-card .cat {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-brand);
  font-weight: 700;
  margin-bottom: 4px;
}
.project-card h3 {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 500;
}
.project-card .sector {
  font-size: 13px;
  color: var(--c-gray);
}
.project-card .foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1px solid var(--c-line-soft);
}
.project-card .foot .year {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gray);
  font-weight: 600;
}
.project-card .foot .arrow {
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--c-black);
  background: var(--c-bg-soft);
  border-radius: 999px;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.project-card:hover .foot .arrow {
  background: var(--c-brand);
  color: #fff;
  transform: rotate(-45deg);
}

.carousel-nav {
  display: flex;
  gap: 8px;
  margin-top: 36px;
  justify-content: flex-end;
}
.carousel-nav button {
  width: 48px; height: 48px;
  border: 1px solid var(--c-line);
  background: var(--c-white);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--c-black);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.carousel-nav button:hover {
  background: var(--c-black); color: #fff; border-color: var(--c-black);
}
.carousel-nav button:disabled { opacity: 0.35; cursor: not-allowed; }
.carousel-nav button:disabled:hover { background: var(--c-white); color: var(--c-black); border-color: var(--c-line); }

/* ---------- Projects grid (listing page) ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .projects-grid { grid-template-columns: 1fr; } }

/* ---------- Project detail (LIGHT) ---------- */
.proj-hero {
  position: relative;
  background: var(--c-white);
  padding: clamp(60px, 8vw, 100px) 0 0;
  overflow: hidden;
  border-bottom: 1px solid var(--c-line-soft);
}
.proj-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 90% 0, rgba(27,95,122,0.05), transparent 70%);
  pointer-events: none;
}
.proj-hero .container { position: relative; }
.proj-hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  letter-spacing: -0.025em;
  font-weight: 500;
}
.proj-hero .meta-tag {
  display: inline-block;
  background: var(--c-brand);
  color: #fff;
  padding: 6px 14px;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 24px;
  border-radius: 2px;
}
.proj-hero .sector {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--c-brand);
  margin-top: 16px;
}
.proj-hero-img {
  margin-top: clamp(40px, 5vw, 64px);
  aspect-ratio: 21/9;
  overflow: hidden;
  border-radius: 2px;
}
.proj-hero-img img { width: 100%; height: 100%; object-fit: cover; }

.proj-overview { background: var(--c-white); }
.proj-overview .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
}
.proj-overview h3 {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-brand);
  font-family: var(--font-body);
  margin-bottom: 18px;
  font-weight: 700;
}
.proj-overview .block p {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: #1f1f1f;
  font-family: var(--font-display);
}
.proj-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--c-line);
}
.proj-meta-grid .row .lbl {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gray);
  font-weight: 600;
  margin-bottom: 6px;
}
.proj-meta-grid .row .val {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--c-black);
}
@media (max-width: 820px) {
  .proj-overview .grid { grid-template-columns: 1fr; }
  .proj-meta-grid { grid-template-columns: repeat(2, 1fr); }
}

.proj-results {
  background: var(--c-black);
  color: #fff;
}
.proj-results h2 { color: #fff; }
.proj-results h2 .ital { color: var(--c-brand-l); }
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.result {
  padding: 36px 28px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.result:last-child { border-right: none; }
.result .kpi {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
  font-weight: 600;
}
.result .val {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}
.result .val .accent { color: var(--c-brand-l); }
.result .detail {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}
@media (max-width: 820px) {
  .results-grid { grid-template-columns: 1fr; }
  .result { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
}

.proj-testimonial {
  background: var(--c-bg-soft);
  padding: clamp(60px, 8vw, 100px) 0;
}
.proj-testimonial .quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.3;
  color: var(--c-black);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  letter-spacing: -0.015em;
}
.proj-testimonial .quote::before {
  content: '\201C';
  display: block;
  font-size: clamp(50px, 6vw, 80px);
  color: var(--c-brand);
  line-height: 0.6;
  margin-bottom: 16px;
}
.proj-testimonial .author {
  text-align: center;
  margin-top: 28px;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gray);
  font-weight: 600;
}
.proj-testimonial .author strong { color: var(--c-black); }

/* ---------- Process PDCA ---------- */
.process-section {
  background: var(--c-black);
  color: #fff;
}
.process-section h2 { color: #fff; }
.process-section h2 .ital { color: var(--c-brand-l); }
.process-section .section-head .num { color: rgba(255,255,255,0.4); }
.process-section .section-head .num::before { background: rgba(255,255,255,0.2); }
.process-section .lead { color: rgba(255,255,255,0.7); }

.pdca-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.pdca-card {
  position: relative;
  padding: 36px 24px 40px;
  border-right: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background .4s var(--ease);
}
.pdca-card:last-child { border-right: none; }
.pdca-card:hover { background: rgba(255,255,255,0.025); }
.pdca-card .step {
  font-family: var(--font-display);
  font-size: 11.5px;
  color: var(--c-brand-l);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.pdca-card .dot {
  width: 52px; height: 52px;
  border-radius: 999px;
  background: var(--c-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  margin-bottom: 24px;
}
.pdca-card:nth-child(2) .dot { background: var(--c-brand-l); }
.pdca-card:nth-child(3) .dot { background: var(--c-brand-d); }
.pdca-card:nth-child(4) .dot { background: var(--c-gray); }
.pdca-card h3 {
  color: #fff;
  font-size: clamp(22px, 2.4vw, 30px);
  margin-bottom: 12px;
}
.pdca-card p { color: rgba(255,255,255,0.55); font-size: 14px; margin: 0; line-height: 1.5; }
@media (max-width: 820px) {
  .pdca-grid { grid-template-columns: 1fr; }
  .pdca-card { border-right: none; }
}

/* ---------- Certifications page ---------- */
.cert-section { background: var(--c-bg-soft); }
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0;
  border-top: 1px solid var(--c-line);
  border-left: 1px solid var(--c-line);
  background: var(--c-white);
}
.cert-card {
  position: relative;
  padding: 28px 24px 32px;
  border-right: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: var(--c-white);
  transition: background .4s var(--ease);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
}
.cert-card::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--c-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease-snap);
}
.cert-card:hover { background: var(--c-bg-soft); }
.cert-card:hover::before { transform: scaleX(1); }
.cert-card .head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.cert-card .code {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--c-black);
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.cert-card .code .y { color: var(--c-brand); font-weight: 400; font-size: 0.8em; }
.cert-card .ic {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--c-brand);
  transition: transform .4s var(--ease), background .4s var(--ease), color .4s var(--ease);
  flex-shrink: 0;
}
.cert-card:hover .ic {
  background: var(--c-brand);
  color: #fff;
  transform: rotate(45deg);
}
.cert-card .name {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--c-brand);
  letter-spacing: -0.01em;
  font-style: italic;
}
.cert-card .desc {
  font-size: 14px;
  color: var(--c-gray);
  line-height: 1.5;
  margin: 0;
}
.cert-card .benefits {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--c-line);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cert-card .benefits .b {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-black);
  padding: 4px 10px;
  background: var(--c-bg-soft);
  border-radius: 999px;
  font-weight: 600;
}

/* ---------- Clients marquee ---------- */
.clients-section {
  background: var(--c-bg-soft);
  padding: clamp(60px, 7vw, 90px) 0;
  overflow: hidden;
}
.marq {
  --gap: 40px;
  display: flex;
  overflow: hidden;
  gap: var(--gap);
  user-select: none;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  margin-top: 32px;
}
.marq-track {
  display: flex;
  gap: var(--gap);
  animation: scrollLeft 36s linear infinite;
  flex-shrink: 0;
  align-items: center;
}
.marq-track.r { animation: scrollRight 44s linear infinite; }
.marq:hover .marq-track { animation-play-state: paused; }
@keyframes scrollLeft { to { transform: translateX(calc(-100% - var(--gap))); } }
@keyframes scrollRight { from { transform: translateX(calc(-100% - var(--gap))); } to { transform: translateX(0); } }
.client-chip {
  flex-shrink: 0;
  min-width: 200px;
  height: 88px;
  border: 1px solid var(--c-line);
  background: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--c-black);
  letter-spacing: -0.01em;
  text-align: center;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  border-radius: 2px;
}
.client-chip:hover { background: var(--c-black); color: #fff; border-color: var(--c-black); }

/* ---------- About bio (About page) ---------- */
.bio-section { background: var(--c-bg-soft); }
.bio-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.bio-img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 2px;
  position: sticky;
  top: 100px;
}
.bio-img img { width: 100%; height: 100%; object-fit: cover; }
.bio-content h3 { margin-bottom: 18px; font-size: clamp(22px, 2.6vw, 32px); }
.bio-content p { font-size: 15.5px; line-height: 1.65; margin-bottom: 18px; color: #2a2a2a; }
.diploma-list { margin-top: 36px; border-top: 1px solid var(--c-line); padding-top: 28px; }
.diploma-list h4 {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-brand);
  margin-bottom: 18px;
  font-weight: 700;
}
.dipl {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-line-soft);
  transition: padding .3s var(--ease);
}
.dipl:hover { padding-left: 10px; }
.dipl .yr {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--c-brand);
}
.dipl .tt { font-size: 14px; color: var(--c-black); font-weight: 500; margin: 0; }
.dipl .sc { font-size: 12.5px; color: var(--c-gray); margin-top: 3px; }

.iso-chips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
  margin-top: 24px;
}
.iso-chip {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
  border-radius: 2px;
}
.iso-chip:hover { transform: translateY(-2px); border-color: var(--c-brand); }
.iso-chip .c {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  color: var(--c-brand);
}
.iso-chip .l { color: var(--c-gray); font-size: 11.5px; line-height: 1.3; }

@media (max-width: 980px) {
  .bio-grid { grid-template-columns: 1fr; }
  .bio-img { position: static; aspect-ratio: 4/3; }
}

/* ---------- Values cards ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--c-line);
  border-left: 1px solid var(--c-line);
  background: var(--c-white);
}
.value-card {
  padding: 32px 28px;
  border-right: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: var(--c-white);
  transition: background .4s var(--ease);
  position: relative;
}
.value-card:hover { background: var(--c-bg-soft); }
.value-card .n {
  font-family: var(--font-display);
  font-size: 11.5px;
  color: var(--c-brand);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  font-weight: 500;
}
.value-card .ic {
  width: 52px; height: 52px;
  background: var(--c-black);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 18px;
  margin-bottom: 24px;
  transition: transform .5s var(--ease), background .4s var(--ease);
}
.value-card:hover .ic { transform: rotate(360deg); background: var(--c-brand); }
.value-card h3 { font-size: 20px; margin-bottom: 10px; font-weight: 500; }
.value-card p { margin: 0; font-size: 14px; color: var(--c-gray); line-height: 1.5; }
@media (max-width: 820px) { .values-grid { grid-template-columns: 1fr; } }

/* ---------- Contact (LIGHT) ---------- */
.contact-section {
  background: var(--c-white);
  color: var(--c-black);
  padding: clamp(60px, 8vw, 100px) 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--c-line-soft);
}
.contact-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 10% 0, rgba(27,95,122,0.05), transparent 70%);
  pointer-events: none;
}
.contact-section .container { position: relative; }
.contact-section h2 {
  color: var(--c-black);
  font-size: clamp(36px, 5.6vw, 64px);
  letter-spacing: -0.025em;
}
.contact-section h2 .ital { color: var(--c-brand); }
.contact-section .lead { color: #2a2a2a; max-width: 580px; margin-top: 20px; }
.contact-grid {
  margin-top: clamp(40px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
}
.contact-info { display: grid; gap: 0; }
.contact-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--c-line);
  align-items: center;
}
.contact-row:first-of-type { border-top: 1px solid var(--c-line); }
.contact-row .lbl {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gray);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.contact-row .lbl i { color: var(--c-brand); font-size: 12px; }
.contact-row .val {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--c-black);
  font-weight: 500;
}
.contact-row .val a { transition: color .25s; }
.contact-row .val a:hover { color: var(--c-brand); }

.contact-form {
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  padding: 32px;
  border-radius: 2px;
  position: relative;
}
.contact-form::before {
  content: '';
  position: absolute; top: -1px; left: 24px;
  width: 56px; height: 3px;
  background: var(--c-brand);
}
.contact-form h4 {
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-brand);
  margin-bottom: 24px;
  font-weight: 700;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-gray);
  margin-bottom: 8px;
  font-weight: 600;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-black);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 10px 0;
  outline: none;
  transition: border-color .3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--c-brand); }
.field textarea { resize: vertical; min-height: 80px; }
.field input::placeholder, .field textarea::placeholder { color: var(--c-gray-l); }
.field select option { background: var(--c-white); color: var(--c-black); }
.contact-form button {
  background: var(--c-black);
  color: #fff;
  padding: 14px 28px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: background .3s var(--ease), transform .3s var(--ease);
  margin-top: 8px;
}
.contact-form button:hover { background: var(--c-brand); transform: translateY(-2px); }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-row { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- CTA strip ---------- */
.cta-strip {
  background: var(--c-bg-soft);
  padding: clamp(48px, 6vw, 80px) 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.cta-strip .grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.cta-strip h2 {
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.cta-strip h2 .ital { color: var(--c-brand); }
.cta-strip .lead { color: var(--c-gray); margin-top: 8px; max-width: 480px; }
@media (max-width: 820px) {
  .cta-strip .grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--c-black);
  color: rgba(255,255,255,0.55);
  padding: clamp(48px, 6vw, 80px) 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img {
  height: 44px;
  width: auto;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}
.footer-brand p { font-size: 13.5px; color: rgba(255,255,255,0.55); max-width: 360px; line-height: 1.6; }
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  padding: 5px 0;
  transition: color .25s, padding .25s;
}
.footer-col a:hover { color: #fff; padding-left: 5px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
  font-size: 11.5px;
  color: rgba(255,255,255,0.35);
}
.footer-bottom .socials { display: inline-flex; gap: 8px; }
.footer-bottom .socials a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55);
  transition: color .25s, border-color .25s, background .25s, transform .3s;
}
.footer-bottom .socials a:hover {
  color: #fff; border-color: var(--c-brand); background: var(--c-brand);
}
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Scroll-to-top ---------- */
.to-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  background: var(--c-brand);
  color: #fff;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s, background .3s;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--c-black); transform: translateY(-3px); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .marq-track { animation: none !important; }
}
