/* ============================================================
   RIHARDS GARANČS — shared design system
   Light bespoke platform · frosted glass · 60/30/10
   ivory / petrol / amber · Century Gothic + Helvetica Neue Light
   ============================================================ */
:root {
  --bg: #f6f3ec;
  --bg-warm: #f0ebe0;
  --petrol: #17363e;
  --petrol-deep: #0f242b;
  --petrol-ink: #0b1c22;
  --amber: #e8a33d;
  --amber-deep: #96610a;
  --ink: #16181d;
  --ink-soft: #3f4854;
  --ink-faint: #5b6572;
  --teal-wash: #dde8e6;
  --amber-wash: #f3e4cb;
  --glass: rgba(255, 255, 255, 0.42);
  --glass-strong: rgba(255, 255, 255, 0.7);
  --line: rgba(23, 54, 62, 0.13);
  --line-strong: rgba(23, 54, 62, 0.22);
  --shadow-lg: 0 30px 80px rgba(23, 54, 62, 0.16);
  --shadow-md: 0 18px 48px rgba(23, 54, 62, 0.11);
  --shadow-sm: 0 8px 26px rgba(23, 54, 62, 0.08);
  --r-xl: 34px; --r-lg: 24px; --r-md: 18px; --r-sm: 13px;
  --max: 1220px;
  --head: "Century Gothic", "Jost", ui-sans-serif, sans-serif;
  --body: "Helvetica Neue", "Inter", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.3, 0.44, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; color: var(--petrol); line-height: 1.14; margin: 0 0 0.5em; }
p { margin-top: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; }
::selection { background: rgba(232, 163, 61, 0.35); }
:focus-visible { outline: 3px solid rgba(232, 163, 61, 0.85); outline-offset: 3px; border-radius: 10px; }

.skip-link { position: absolute; left: 16px; top: -80px; background: var(--petrol); color: #fff; padding: 11px 20px; border-radius: 999px; z-index: 1300; font-weight: 600; text-decoration: none; transition: top 200ms ease; }
.skip-link:focus { top: 14px; }

.container { width: min(var(--max), calc(100% - 44px)); margin: 0 auto; }
section { position: relative; }
.sec-pad { padding: 110px 0; }

.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: linear-gradient(90deg, var(--petrol), var(--amber)); z-index: 1200; }
.grain { position: fixed; inset: -50%; z-index: 999; pointer-events: none; opacity: 0.038; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* custom cursor */
.cur-dot, .cur-ring { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: 1001; will-change: transform; }
.cur-dot { width: 6px; height: 6px; background: var(--petrol); transform: translate(-50%,-50%); }
.cur-ring { width: 34px; height: 34px; border: 1.5px solid rgba(23,54,62,0.4); transform: translate(-50%,-50%);
  transition: width 260ms var(--ease), height 260ms var(--ease), border-color 260ms var(--ease), background 260ms var(--ease); }
body.cur-hover .cur-ring { width: 60px; height: 60px; border-color: rgba(232,163,61,0.8); background: rgba(232,163,61,0.08); }
@media (hover:none),(pointer:coarse){ .cur-dot,.cur-ring{ display:none; } }
body:not(.cur-on) .cur-dot, body:not(.cur-on) .cur-ring { display: none; }

/* reveals */
.rv { opacity: 0; transform: translateY(30px); transition: opacity 1000ms var(--ease), transform 1000ms var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 110ms; } .rv-d2 { transition-delay: 220ms; } .rv-d3 { transition-delay: 330ms; } .rv-d4 { transition-delay: 440ms; }

.kicker { display: inline-flex; align-items: center; gap: 12px; font-family: var(--head); font-weight: 600; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--amber-deep); margin-bottom: 20px; }
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--amber); border-radius: 2px; }
.sec-title { font-size: clamp(30px, 4.4vw, 50px); max-width: 800px; }
.sec-sub { font-size: 18px; color: var(--ink-faint); max-width: 640px; margin-bottom: 56px; }

/* icons */
.ic { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ic-tile { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, var(--petrol), #2c5561); color: #f6f3ec; box-shadow: 0 6px 16px rgba(23,54,62,0.25); }
.ic-tile.amber { background: linear-gradient(135deg, var(--amber-deep), var(--amber)); }

/* buttons */
.btn { position: relative; display: inline-flex; align-items: center; gap: 11px; overflow: hidden; text-decoration: none; cursor: pointer; border: 0;
  font-family: var(--head); font-weight: 600; font-size: 13.5px; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 999px; padding: 17px 32px;
  transition: transform 350ms var(--spring), box-shadow 350ms ease, color 350ms ease, border-color 350ms ease; }
.btn .ic { width: 17px; height: 17px; transition: transform 350ms var(--spring); }
.btn:hover .ic { transform: translateX(5px); }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 450ms var(--ease); border-radius: inherit; }
.btn > * { position: relative; z-index: 1; }
.btn-primary { background: var(--petrol); color: #f8f5ee; box-shadow: 0 14px 34px rgba(23,54,62,0.3); }
.btn-primary:hover { transform: translateY(-3px); color: var(--petrol-ink); box-shadow: 0 20px 44px rgba(232,163,61,0.35); }
.btn-primary:hover::before { transform: scaleX(1); }
.btn-outline { border: 1.5px solid var(--line-strong); color: var(--petrol); background: rgba(255,255,255,0.4); }
.btn-outline::before { background: var(--petrol); }
.btn-outline:hover { transform: translateY(-3px); color: #f8f5ee; border-color: var(--petrol); }
.btn-outline:hover::before { transform: scaleX(1); }

/* frosted glass */
.glass-card { background: var(--glass); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.55); box-shadow: 0 6px 22px rgba(23,54,62,0.06); border-radius: var(--r-lg); }

/* ============ HEADER ============ */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1100; transition: transform 450ms var(--ease); }
.site-header .shell { margin: 14px auto 0; width: min(var(--max), calc(100% - 28px)); display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px 10px 24px; border-radius: 999px; background: rgba(246, 243, 236, 0.72); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid rgba(255,255,255,0.8); box-shadow: 0 10px 34px rgba(23,54,62,0.1); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .mono { width: 38px; height: 38px; border-radius: 12px; background: var(--petrol); color: var(--amber); display: grid; place-items: center; font-family: var(--head); font-weight: 700; font-size: 14px; }
.brand b { font-family: var(--head); font-weight: 700; font-size: 15.5px; letter-spacing: 0.06em; color: var(--petrol); }
.brand span { display: block; font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); font-weight: 400; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 9px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; letter-spacing: 0.04em; text-decoration: none; color: var(--ink-soft); transition: background 300ms ease, color 300ms ease; }
.nav-links a:hover { background: rgba(23,54,62,0.08); color: var(--petrol); }
.nav-links a.active { background: var(--petrol); color: var(--bg); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 600; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: #f8f5ee; background: var(--petrol); padding: 12px 22px; border-radius: 999px; transition: background 300ms ease, transform 300ms var(--spring); }
.nav-cta:hover { background: var(--amber-deep); transform: translateY(-2px); }
.site-header.hide { transform: translateY(-120%); }
@media (max-width: 1020px){ .nav-links { display: none; } .nav-cta { display: none; } }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: rgba(255,255,255,0.6); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--petrol); border-radius: 2px; top: 17px; transition: transform 350ms var(--ease), top 350ms ease; }
.menu-btn span:last-child { top: 25px; }
body.menu-open .menu-btn span:first-child { top: 21px; transform: rotate(45deg); }
body.menu-open .menu-btn span:last-child { top: 21px; transform: rotate(-45deg); }
@media (max-width: 1020px){ .menu-btn { display: block; } }
.m-nav { margin: 10px auto 0; width: min(var(--max), calc(100% - 28px)); border-radius: 22px; background: rgba(246,243,236,0.92); backdrop-filter: blur(20px) saturate(1.6); border: 1px solid rgba(255,255,255,0.85); box-shadow: var(--shadow-md); overflow: hidden; max-height: 0; opacity: 0; pointer-events: none; transition: max-height 500ms var(--ease), opacity 400ms ease; }
body.menu-open .m-nav { max-height: 520px; opacity: 1; pointer-events: auto; }
.m-nav a { display: block; padding: 15px 26px; text-decoration: none; font-family: var(--head); font-weight: 600; font-size: 15px; color: var(--petrol); border-bottom: 1px solid var(--line); }
.m-nav a:last-child { border-bottom: 0; background: var(--petrol); color: var(--bg); }

/* ============ PAGE HERO (subpages) ============ */
.page-hero { padding: 175px 0 60px; background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%); }
.page-hero h1 { font-size: clamp(36px, 5.2vw, 60px); max-width: 860px; }
.page-hero .sub { font-size: 18.5px; color: var(--ink-faint); max-width: 660px; margin: 0; }
.crumb { display: flex; align-items: center; gap: 9px; font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 20px; font-weight: 500; }
.crumb a { text-decoration: none; color: var(--amber-deep); }
.crumb a:hover { text-decoration: underline; }

/* photo band */
.photo-band { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.photo-band img { width: 100%; height: clamp(260px, 42vw, 470px); object-fit: cover; }
.photo-band .cap { position: absolute; left: 16px; bottom: 16px; padding: 12px 20px; border-radius: var(--r-sm); background: rgba(15,36,43,0.6); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.2); color: #f2ece0; font-size: 13px; }

/* ============ HERO (landing) ============ */
.hero { min-height: 100vh; display: flex; align-items: center; overflow: clip; }
#net-canvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; padding: 150px 0 110px; }
@media (max-width: 980px){ .hero-grid { grid-template-columns: 1fr; padding-top: 130px; } }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--glass); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,0.8); box-shadow: var(--shadow-sm); border-radius: 999px; padding: 9px 20px; font-size: 12.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--petrol); margin-bottom: 30px; }
.hero-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(232,163,61,0.22); font-style: normal; animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.45; } }
.hero h1 { font-size: clamp(46px, 6.6vw, 84px); letter-spacing: -0.01em; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--amber-deep); }
.hero .lede { font-size: clamp(17px, 1.9vw, 21px); color: var(--ink-faint); margin-bottom: 4px; }
.type-line { font-family: var(--head); font-weight: 700; font-size: clamp(24px, 3.2vw, 38px); color: var(--petrol); min-height: 1.4em; margin-bottom: 30px; }
.type-line .caret { display: inline-block; width: 3px; height: 0.95em; background: var(--amber); margin-left: 4px; vertical-align: -0.12em; animation: caret 1.05s steps(1) infinite; border-radius: 2px; }
@keyframes caret { 50% { opacity: 0; } }
.props { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 34px; max-width: 640px; }
@media (max-width: 640px){ .props { grid-template-columns: 1fr; } }
.prop { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-md); background: var(--glass); backdrop-filter: blur(16px) saturate(1.5); border: 1px solid rgba(255,255,255,0.75); box-shadow: var(--shadow-sm); font-size: 14px; color: var(--ink-soft); line-height: 1.45; transition: transform 400ms var(--spring), box-shadow 400ms ease; }
.prop:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.prop .ic-tile { width: 38px; height: 38px; border-radius: 11px; }
.prop .ic { width: 18px; height: 18px; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.socials { display: flex; gap: 10px; }
.soc { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--glass); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,0.8); box-shadow: var(--shadow-sm); color: var(--petrol); transition: transform 350ms var(--spring), background 350ms ease, color 350ms ease; }
.soc:hover { transform: translateY(-4px); background: var(--petrol); color: var(--amber); }
.portrait { position: relative; justify-self: center; }
.portrait .ring { position: absolute; inset: -22px; border-radius: 50%; border: 1.5px dashed rgba(23,54,62,0.28); animation: spin 60s linear infinite; }
.portrait .ring i { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--amber); top: -6px; left: 50%; box-shadow: 0 0 0 5px rgba(232,163,61,0.2); }
.portrait .ring b { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--petrol); bottom: 8%; right: 2%; }
@keyframes spin { to { transform: rotate(360deg); } }
.portrait .ph { width: min(380px, 72vw); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid rgba(255,255,255,0.9); box-shadow: var(--shadow-lg); }
.portrait .ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.portrait .chip { position: absolute; display: flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 999px; background: var(--glass-strong); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,0.9); box-shadow: var(--shadow-md); font-family: var(--head); font-weight: 600; font-size: 12.5px; color: var(--petrol); white-space: nowrap; }
.portrait .chip .ic { width: 15px; height: 15px; color: var(--amber-deep); }
.chip-1 { top: 8%; left: -12%; animation: floaty 7s ease-in-out infinite; }
.chip-2 { bottom: 14%; right: -14%; animation: floaty 8s ease-in-out 1.2s infinite; }
.chip-3 { bottom: -4%; left: 2%; animation: floaty 9s ease-in-out 0.6s infinite; }
@keyframes floaty { 50% { transform: translateY(-9px); } }
@media (max-width: 980px){ .chip-1 { left: 0; } .chip-2 { right: 0; } }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-faint); display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; }
.scroll-cue::after { content: ""; width: 1.5px; height: 40px; background: linear-gradient(var(--amber), transparent); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0%,100% { transform: scaleY(0.4); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ============ LOGO MARQUEE ============ */
.logos-strip { padding: 54px 0 66px; }
.logos-strip .lead { text-align: center; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 34px; font-weight: 500; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee ul { display: flex; align-items: center; gap: 16px; list-style: none; margin: 0; padding: 0 8px; flex-shrink: 0; animation: scrollx 75s linear infinite; }
.marquee:hover ul { animation-play-state: paused; }
@keyframes scrollx { to { transform: translateX(-100%); } }
.marquee li { display: grid; place-items: center; height: 74px; min-width: 150px; padding: 0 28px; background: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.65); backdrop-filter: blur(10px); border-radius: var(--r-md); }
.marquee img { max-height: 34px; max-width: 120px; object-fit: contain; filter: grayscale(1) opacity(0.62); transition: filter 350ms ease, transform 350ms var(--spring); }
.marquee li:hover img { filter: none; transform: scale(1.08); }

/* ============ STATS ============ */
.stats-band { padding: 20px 0 80px; }
.stats-grid.slim { gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid.slim .stat { padding: 30px 16px 24px; }
.stats-grid.slim .stat + .stat { border-left: 1px solid var(--line); }
@media (max-width: 860px){ .stats-grid.slim .stat:nth-child(3) { border-left: 0; } .stats-grid.slim .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 860px){ .stats-grid { grid-template-columns: 1fr 1fr; } }
.stat { text-align: center; padding: 34px 20px 28px; }
.stat b { display: block; font-family: var(--head); font-weight: 700; font-size: clamp(36px, 4.4vw, 54px); color: var(--petrol); line-height: 1; }
.stat b em { color: var(--amber-deep); font-style: normal; }
.stat span { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); font-weight: 500; }

/* ============ ABOUT ============ */
.about { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 50%, var(--bg) 100%); }
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: start; }
@media (max-width: 980px){ .about-grid { grid-template-columns: 1fr; } }
.about h2 { font-size: clamp(30px, 4.2vw, 48px); }
.about .role-line { font-family: var(--head); font-weight: 600; font-size: 15px; color: var(--amber-deep); margin-bottom: 26px; letter-spacing: 0.04em; }
.about p strong { color: var(--petrol); font-weight: 600; }
.pillars { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 4px; }
.pillar { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: 999px; background: rgba(255,255,255,0.7); border: 1px solid var(--line); font-family: var(--head); font-weight: 600; font-size: 13.5px; color: var(--petrol); transition: transform 300ms var(--spring), background 300ms ease, color 300ms ease; text-decoration: none; }
.pillar:hover { transform: translateY(-3px); background: var(--petrol); color: #f6f3ec; }
.pillar:hover .ic { color: var(--amber); }
.pillar .ic { width: 16px; height: 16px; color: var(--amber-deep); }
.about blockquote { margin: 30px 0 0; padding: 26px 28px; border-radius: var(--r-lg); background: var(--glass); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.8); border-left: 4px solid var(--amber); box-shadow: var(--shadow-sm); font-style: italic; font-size: 17px; color: var(--ink-soft); }
.about-side { display: flex; flex-direction: column; gap: 22px; }
.about-photo { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; margin: 0; }
.about-photo img { width: 100%; height: 380px; object-fit: cover; object-position: 50% 20%; transition: transform 1400ms var(--ease); }
.about-photo:hover img { transform: scale(1.04); }
.about-photo figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 12px 18px; border-radius: var(--r-sm); background: rgba(15,36,43,0.55); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.2); color: #f2ece0; font-size: 13px; }
.creds { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px){ .creds { grid-template-columns: 1fr; } }
.cred { padding: 22px; transition: transform 400ms var(--spring), box-shadow 400ms ease; }
.cred:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.cred b { display: block; font-family: var(--head); font-weight: 700; font-size: 16px; color: var(--petrol); margin: 12px 0 3px; }
.cred span { font-size: 13px; color: var(--ink-faint); line-height: 1.45; display: block; }

/* ============ EXPERTISE ============ */
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1020px){ .exp-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .exp-grid { grid-template-columns: 1fr; } }
.exp-card { position: relative; padding: 30px 28px 26px; overflow: hidden; transition: transform 450ms var(--spring), box-shadow 450ms ease; }
.exp-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.exp-card .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.exp-card .num { font-family: var(--head); font-weight: 700; font-size: 14px; color: rgba(23,54,62,0.28); }
.exp-card h3 { font-size: 19.5px; margin-bottom: 3px; }
.exp-card .sub { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber-deep); font-weight: 600; margin-bottom: 12px; }
.exp-card p { font-size: 14.5px; color: var(--ink-soft); margin: 0; max-height: 0; opacity: 0; transition: max-height 600ms var(--ease), opacity 600ms ease, margin 500ms ease; }
.exp-card:hover p, .exp-card:focus-within p { max-height: 220px; opacity: 1; margin-top: 6px; }
.exp-card .underline { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--petrol), var(--amber)); transform: scaleX(0); transform-origin: left; transition: transform 550ms var(--ease); }
.exp-card:hover .underline { transform: scaleX(1); }
@media (hover:none){ .exp-card p { max-height: 220px; opacity: 1; margin-top: 6px; } }

/* ============ STATEMENT (landing) ============ */
.statement { text-align: center; padding: 100px 0; }
.statement .big { font-size: clamp(20px, 2.5vw, 27px); line-height: 1.55; color: var(--ink-soft); max-width: 780px; margin: 0 auto 30px; }
.statement .big strong { color: var(--petrol); font-weight: 600; }
.statement .pillars { justify-content: center; margin-bottom: 34px; }
.statement .pillar { background: rgba(255,255,255,0.45); backdrop-filter: blur(10px); }

/* ============ EXPLORE (landing hub cards) ============ */
.explore-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1020px){ .explore-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .explore-grid { grid-template-columns: 1fr; } }
.explore { display: flex; flex-direction: column; gap: 10px; padding: 30px 26px; text-decoration: none; transition: transform 420ms var(--spring), box-shadow 420ms ease; position: relative; overflow: hidden; }
.explore:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.explore h3 { font-size: 19px; margin: 10px 0 0; }
.explore p { font-size: 13.5px; margin: 0; color: var(--ink-soft); }
.explore .go { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 600; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--petrol); }
.explore .go .ic { width: 15px; height: 15px; transition: transform 320ms var(--spring); }
.explore:hover .go { color: var(--amber-deep); }
.explore:hover .go .ic { transform: translateX(5px); }
.explore .underline { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--petrol), var(--amber)); transform: scaleX(0); transform-origin: left; transition: transform 550ms var(--ease); }
.explore:hover .underline { transform: scaleX(1); }

/* ============ CASES ============ */
.cases-wrap { border-radius: var(--r-xl); padding: 20px; }
.case { border-bottom: 1px solid var(--line); }
.case:last-child { border-bottom: 0; }
.case-btn { width: 100%; background: none; border: 0; cursor: pointer; display: grid; grid-template-columns: 56px 1fr auto 44px; align-items: center; gap: 20px; padding: 24px 12px; text-align: left; border-radius: var(--r-md); transition: background 350ms ease; }
.case-btn:hover { background: rgba(255,255,255,0.55); }
.case-btn .idx { font-family: var(--head); font-weight: 700; font-size: 14px; color: rgba(23,54,62,0.3); }
.case-btn .t { font-family: var(--head); font-weight: 600; font-size: clamp(16px, 1.9vw, 20px); color: var(--petrol); }
.case-btn .cat { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--petrol); background: var(--amber-wash); padding: 7px 14px; border-radius: 999px; white-space: nowrap; }
.case-btn .chev { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; color: var(--petrol); transition: transform 500ms var(--spring), background 350ms ease, color 350ms ease; }
.case.open .case-btn .chev { transform: rotate(180deg); background: var(--petrol); color: var(--amber); border-color: var(--petrol); }
.case-body { max-height: 0; overflow: hidden; transition: max-height 700ms var(--ease); }
.case-detail { display: grid; grid-template-columns: 200px 1fr 1fr 1fr; gap: 24px; padding: 6px 12px 34px; }
@media (max-width: 980px){ .case-detail { grid-template-columns: 1fr; gap: 16px; } .case-btn { grid-template-columns: 36px 1fr 40px; } .case-btn .cat { display: none; } }
.case-stat { background: var(--petrol); color: #f6f3ec; border-radius: var(--r-md); padding: 22px; display: flex; flex-direction: column; justify-content: center; }
.case-stat b { font-family: var(--head); font-weight: 700; font-size: 32px; line-height: 1.05; color: var(--amber); }
.case-stat span { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.75; margin-top: 6px; }
.case-col h4 { display: flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber-deep); margin-bottom: 8px; }
.case-col h4 .ic { width: 15px; height: 15px; }
.case-col p { font-size: 14.5px; margin: 0; }

/* ============ CLIENTS ============ */
.clients-bg { background: linear-gradient(180deg, var(--bg) 0%, var(--teal-wash) 55%, var(--bg) 100%); }
.client-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 980px){ .client-groups { grid-template-columns: 1fr; } }
.cgroup { padding: 34px 30px; }
.cgroup header { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.cgroup h3 { font-size: 20px; margin: 0; }
.cgroup .logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.cgroup .logo-grid a { display: grid; place-items: center; height: 62px; padding: 10px; background: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.95); border-radius: var(--r-sm); transition: transform 320ms var(--spring), box-shadow 320ms ease; }
.cgroup .logo-grid a:hover { transform: translateY(-4px) scale(1.04); box-shadow: var(--shadow-md); }
.cgroup .logo-grid img { max-height: 30px; max-width: 82px; object-fit: contain; filter: grayscale(1) opacity(0.65); transition: filter 300ms ease; }
.cgroup .logo-grid a:hover img { filter: none; }
.cgroup .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-family: var(--head); font-weight: 600; font-size: 13px; letter-spacing: 0.06em; color: var(--petrol); text-decoration: none; }
.cgroup .more .ic { width: 15px; height: 15px; transition: transform 300ms var(--spring); }
.cgroup .more:hover { color: var(--amber-deep); }
.cgroup .more:hover .ic { transform: translateX(4px); }

/* ============ TEACHING ============ */
.inst-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 56px; }
@media (max-width: 1020px){ .inst-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .inst-grid { grid-template-columns: 1fr; } }
.inst { padding: 26px 24px; transition: transform 420ms var(--spring), box-shadow 420ms ease; }
.inst:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.inst .logo-box { height: 52px; display: flex; align-items: center; margin-bottom: 16px; }
.inst .logo-box img { max-height: 44px; max-width: 150px; object-fit: contain; }
.inst b { font-family: var(--head); font-weight: 700; font-size: 15px; color: var(--petrol); display: block; line-height: 1.3; }
.inst .role { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-deep); font-weight: 600; margin: 6px 0 12px; display: block; }
.inst .tags { display: flex; flex-wrap: wrap; gap: 7px; }
.inst .tags span { font-size: 11.5px; padding: 5px 11px; border-radius: 999px; background: rgba(23,54,62,0.07); color: var(--ink-soft); }
.courses-title { font-family: var(--head); font-weight: 700; font-size: clamp(21px, 2.6vw, 28px); color: var(--petrol); margin: 0 0 26px; display: flex; align-items: center; gap: 14px; }
.courses-title .ic { color: var(--amber-deep); }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
@media (max-width: 1020px){ .course-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .course-grid { grid-template-columns: 1fr; } }
.course { position: relative; padding: 19px 20px; cursor: pointer; border-radius: var(--r-md); transition: transform 380ms var(--spring), box-shadow 380ms ease, background 380ms ease; }
.course:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); background: var(--glass-strong); }
.course .row { display: flex; align-items: center; gap: 13px; }
.course .row > .ic { color: var(--amber-deep); width: 19px; height: 19px; }
.course b { font-family: var(--head); font-weight: 600; font-size: 14.5px; color: var(--petrol); line-height: 1.3; flex: 1; }
.course .chev-i { width: 17px; height: 17px; color: var(--ink-faint); transition: transform 420ms var(--spring), color 300ms ease; }
.course.open .chev-i { transform: rotate(180deg); color: var(--amber-deep); }
.course p { font-size: 13.5px; color: var(--ink-soft); margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 520ms var(--ease), opacity 520ms ease, margin 420ms ease; }
.course.open p { max-height: 170px; opacity: 1; margin-top: 11px; }
.art-strip { border-radius: var(--r-xl); overflow: hidden; margin-top: 56px; box-shadow: var(--shadow-md); position: relative; }
.art-strip img { width: 100%; height: 200px; object-fit: cover; }
.art-strip .cap { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 44px; background: linear-gradient(90deg, rgba(246,243,236,0.92) 20%, transparent 70%); }
.art-strip .cap p { font-family: var(--head); font-weight: 700; font-size: clamp(17px, 2.4vw, 24px); color: var(--petrol); max-width: 430px; margin: 0; }

/* ============ ARTICLES ============ */
.articles-bg { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 60%, var(--bg) 100%); }
.art-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 60px; }
@media (max-width: 1100px){ .art-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .art-grid { grid-template-columns: 1fr; } }
.art { display: flex; flex-direction: column; gap: 9px; padding: 24px 22px; text-decoration: none; transition: transform 400ms var(--spring), box-shadow 400ms ease; }
.art:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.art .meta { display: flex; justify-content: space-between; align-items: center; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.art .meta .src { color: var(--amber-deep); }
.art .meta .yr { color: var(--ink-faint); }
.art b { font-family: var(--head); font-weight: 600; font-size: 15.5px; color: var(--petrol); line-height: 1.32; }
.art p { font-size: 13px; margin: 0; color: var(--ink-soft); }
.art .go { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: var(--petrol); opacity: 0.55; transition: opacity 300ms ease, color 300ms ease; }
.art .go .ic { width: 14px; height: 14px; }
.art:hover .go { opacity: 1; color: var(--amber-deep); }
.speak-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
@media (max-width: 1020px){ .speak-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .speak-list { grid-template-columns: 1fr; } }
.speak { display: flex; gap: 15px; align-items: flex-start; padding: 20px; transition: transform 380ms var(--spring), box-shadow 380ms ease; text-decoration: none; }
.speak:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.speak .ic-tile { width: 40px; height: 40px; border-radius: 12px; }
.speak b { font-family: var(--head); font-weight: 600; font-size: 14.5px; color: var(--petrol); display: block; line-height: 1.3; }
.speak span { font-size: 12px; color: var(--ink-faint); display: block; margin-top: 3px; }
.speak .date { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: var(--amber-deep); }
.speak .date .ic { width: 13px; height: 13px; }

/* ============ VIDEO ============ */
.video-sec .frame { position: relative; max-width: 880px; margin: 0 auto; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid rgba(255,255,255,0.9); }
.video-sec .frame::before { content: ""; display: block; padding-top: 56.25%; }
.video-sec iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ============ TESTIMONIALS ============ */
.testi-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.testi-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 30px; scrollbar-width: none; }
.testi-track::-webkit-scrollbar { display: none; }
.testi { flex: 0 0 min(420px, 85vw); scroll-snap-align: start; padding: 30px 28px; display: flex; flex-direction: column; margin: 0; }
.testi .qmark { color: var(--amber); margin-bottom: 12px; }
.testi .qmark .ic { width: 28px; height: 28px; }
.testi p { font-size: 15px; line-height: 1.62; font-style: italic; color: var(--ink-soft); }
.testi footer { margin-top: auto; padding-top: 18px; display: flex; align-items: center; gap: 13px; }
.testi footer .avat { width: 42px; height: 42px; border-radius: 50%; background: var(--petrol); color: var(--amber); display: grid; place-items: center; font-family: var(--head); font-weight: 700; font-size: 13px; }
.testi footer b { font-family: var(--head); font-weight: 600; font-size: 13.5px; color: var(--petrol); display: block; }
.testi footer span { font-size: 11.5px; color: var(--ink-faint); letter-spacing: 0.04em; }
.testi-nav { display: flex; gap: 10px; }
.testi-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: rgba(255,255,255,0.7); cursor: pointer; color: var(--petrol); display: grid; place-items: center; transition: background 300ms ease, color 300ms ease, transform 300ms var(--spring); }
.testi-nav button:hover { background: var(--petrol); color: var(--amber); transform: translateY(-3px); }

/* ============ CONTACT ============ */
.contact { background: linear-gradient(160deg, var(--petrol-deep) 0%, var(--petrol) 55%, #1d4550 100%); color: #cfdce2; overflow: clip; }
.contact::before { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(232,163,61,0.16), transparent 65%); top: -180px; right: -140px; }
.contact .kicker { color: var(--amber); } .contact .kicker::before { background: var(--amber); }
.contact h2 { color: #fff; font-size: clamp(32px, 4.6vw, 54px); }
.contact h2 em { color: var(--amber); font-style: normal; }
.contact .lead { color: rgba(207,220,226,0.85); max-width: 500px; }
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
@media (max-width: 980px){ .contact-grid { grid-template-columns: 1fr; } }
.c-rows { display: flex; flex-direction: column; gap: 12px; margin-top: 34px; }
.c-row { display: flex; align-items: center; gap: 17px; padding: 17px 22px; border-radius: var(--r-md); background: rgba(255,255,255,0.07); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,0.14); text-decoration: none; transition: background 350ms ease, transform 350ms var(--spring), border-color 350ms ease; }
.c-row:hover { background: rgba(255,255,255,0.13); border-color: rgba(232,163,61,0.5); transform: translateX(7px); }
.c-row .ic-tile { background: rgba(232,163,61,0.16); color: var(--amber); box-shadow: none; }
.c-row b { font-family: var(--head); font-weight: 600; font-size: 15px; color: #fff; display: block; }
.c-row span { font-size: 12px; color: rgba(207,220,226,0.65); letter-spacing: 0.1em; text-transform: uppercase; }
.avail { display: inline-flex; align-items: center; gap: 11px; margin-top: 30px; font-size: 13.5px; color: rgba(207,220,226,0.9); border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.06); border-radius: 999px; padding: 12px 22px; }
.avail i { width: 8px; height: 8px; border-radius: 50%; background: #74e39a; box-shadow: 0 0 12px #74e39a; font-style: normal; animation: pulse 2.4s ease-in-out infinite; }
.orb-wrap { position: relative; }
.orb-wrap img { border-radius: var(--r-xl); box-shadow: 0 40px 90px rgba(0,0,0,0.45); }
.orb-cap { position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 13px 18px; border-radius: var(--r-sm); background: rgba(11,28,34,0.55); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.15); font-size: 13px; color: rgba(246,242,233,0.92); }

footer.site-foot { background: var(--petrol-ink); color: rgba(207,220,226,0.7); padding: 44px 0; }
.foot-grid { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.foot-grid .fb { font-family: var(--head); font-weight: 700; color: #fff; font-size: 16px; }
.foot-grid .fb em { color: var(--amber); font-style: normal; }
.foot-grid p { margin: 4px 0 0; font-size: 13px; max-width: 420px; }
.foot-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-nav a { font-size: 13px; text-decoration: none; color: rgba(207,220,226,0.75); }
.foot-nav a:hover { color: var(--amber); }
.foot-soc { display: flex; gap: 10px; }
.foot-soc a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.16); color: rgba(207,220,226,0.8); transition: background 300ms ease, color 300ms ease, transform 300ms var(--spring); }
.foot-soc a:hover { background: var(--amber); color: var(--petrol-ink); transform: translateY(-3px); }
.foot-base { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.09); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12px; color: rgba(207,220,226,0.5); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .marquee ul, .portrait .ring, .scroll-cue::after, .avail i, .hero-badge i, .chip-1, .chip-2, .chip-3 { animation: none !important; }
  * { transition-duration: 1ms !important; }
}
