/* ===========================================================
   Dato' Sri Dr Patrick Tan — Luxury Red & Gold Theme  v2
   =========================================================== */

:root {
  --lacquer: #2a0708;
  --red-900: #420a0c;
  --red-800: #5e0f12;
  --red-700: #7c1318;
  --red-600: #99181f;
  --red-500: #b21d25;

  --gold-700: #a17a28;
  --gold-600: #b8902e;
  --gold-500: #c9a24b;
  --gold-400: #ddbd6a;
  --gold-300: #ebd494;
  --gold-200: #f4e6bf;
  --gold-100: #faf1d8;

  --cream: #f7efe1;
  --cream-2: #f1e6d2;
  --ivory: #fffdf7;
  --ink: #281d18;
  --muted: #75665c;
  --line: rgba(168, 130, 60, 0.32);

  --gold-grad: linear-gradient(120deg, #b8902e 0%, #e7cf8a 40%, #f6ecc6 52%, #d4af52 70%, #b8902e 100%);
  --shadow: 0 30px 70px -28px rgba(42, 7, 8, 0.45);
  --shadow-sm: 0 12px 30px -16px rgba(42, 7, 8, 0.4);

  --display: "Cormorant Garamond", Georgia, serif;
  --engrave: "Cinzel", "Cormorant Garamond", serif;
  --sans: "Jost", "Inter", "Helvetica Neue", Arial, sans-serif;

  --nav-h: 116px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% -5%, rgba(201,162,75,0.10), transparent 40%),
    radial-gradient(circle at 95% 8%, rgba(178,29,37,0.05), transparent 38%),
    var(--cream);
  line-height: 1.75;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1200px, 90%); margin: 0 auto; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.14; color: var(--red-800); letter-spacing: 0.005em; }

::selection { background: var(--gold-400); color: var(--red-900); }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section--tight { padding: 78px 0; }
.section--cream { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.section--ivory { background: var(--ivory); }
.section--paper {
  background:
    linear-gradient(180deg, rgba(255,253,247,0.6), rgba(247,239,225,0.6)),
    var(--ivory);
}
.section--dark {
  background:
    radial-gradient(ellipse at 50% -20%, rgba(201,162,75,0.16), transparent 55%),
    linear-gradient(165deg, var(--lacquer) 0%, var(--red-900) 45%, var(--red-800) 100%);
  color: var(--gold-100);
}
.section--dark h2, .section--dark h3 { color: var(--gold-300); }
.section--dark::before, .section--dark::after { color: var(--gold-500); }

/* hairline gold top accents on dark bands */
.section--dark { border-top: 1px solid rgba(201,162,75,0.25); border-bottom: 1px solid rgba(201,162,75,0.25); }

/* ---------- Decorative ---------- */
.eyebrow {
  font-family: var(--engrave);
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold-600);
  display: inline-block;
  margin-bottom: 20px;
}
.section--dark .eyebrow { color: var(--gold-400); }

.ornament {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 22px 0 0; color: var(--gold-500);
}
.ornament::before, .ornament::after {
  content: ""; height: 1px; width: 64px;
  background: linear-gradient(90deg, transparent, var(--gold-500));
}
.ornament::after { background: linear-gradient(90deg, var(--gold-500), transparent); }
.ornament i { font-size: 0.7rem; transform: rotate(45deg); }
.ornament.left { justify-content: flex-start; }
.ornament.left::before { display: none; }
.ornament.left::after { width: 90px; }

.divider { width: 70px; height: 2px; background: var(--gold-grad); border: none; margin: 22px 0 0; border-radius: 2px; }
.center { text-align: center; }
.center .divider, .center .ornament { margin-left: auto; margin-right: auto; }

.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.section-head p { color: var(--muted); margin-top: 18px; font-size: 1.12rem; font-weight: 300; }
.section--dark .section-head p { color: var(--gold-100); opacity: 0.85; }

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--engrave); font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.72rem;
  padding: 17px 38px; border-radius: 2px;
  transition: transform 0.3s, box-shadow 0.3s, color 0.3s, background 0.3s;
  cursor: pointer; border: 1px solid transparent;
}
.btn::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg); transition: left 0.6s ease;
}
.btn:hover::after { left: 140%; }
.btn--gold { background: var(--gold-grad); color: var(--red-900); box-shadow: 0 10px 26px -10px rgba(184,144,46,0.7); }
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -12px rgba(184,144,46,0.85); }
.btn--ghost { border-color: var(--gold-400); color: var(--gold-200); background: rgba(201,162,75,0.06); }
.btn--ghost:hover { background: var(--gold-grad); color: var(--red-900); border-color: transparent; transform: translateY(-3px); }
.btn--outline { border-color: var(--gold-600); color: var(--red-700); background: transparent; }
.btn--outline:hover { background: var(--red-800); color: var(--gold-200); border-color: var(--red-800); transform: translateY(-3px); }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--lacquer); color: var(--gold-200);
  font-size: 0.74rem; letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(201,162,75,0.18);
  position: relative; z-index: 60;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.topbar a { color: var(--gold-200); transition: color 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--gold-300); }
.topbar__tag { font-family: var(--engrave); text-transform: uppercase; letter-spacing: 0.22em; color: var(--gold-500); font-size: 0.66rem; }
.topbar__social { display: flex; align-items: center; gap: 18px; }
.topbar__social .sep { opacity: 0.4; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: var(--lacquer);
  border-bottom: 1px solid rgba(201,162,75,0.22);
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; transition: padding 0.4s; }

/* transparent over hero on homepage */
body.has-hero .topbar { position: absolute; left: 0; right: 0; top: 0; background: transparent; border-bottom: none; }
body.has-hero .site-header {
  position: fixed; left: 0; right: 0; top: 40px;
  background: transparent; border-bottom: 1px solid rgba(201,162,75,0.12);
}
body.has-hero .site-header.scrolled {
  top: 0; background: rgba(42,7,8,0.96); backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px -20px rgba(0,0,0,0.7); border-bottom-color: rgba(201,162,75,0.3);
}
body.has-hero .site-header.scrolled .nav { padding: 14px 0; }
body.has-hero .topbar.scrolled { opacity: 0; pointer-events: none; }

.brand { display: flex; align-items: center; gap: 16px; }
.brand__mark {
  width: 52px; height: 52px; flex: none; position: relative;
  display: grid; place-items: center;
  font-family: var(--engrave); font-size: 1.15rem; font-weight: 700;
  color: var(--gold-300); letter-spacing: 0.02em;
}
.brand__mark::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid var(--gold-500);
}
.brand__mark::after {
  content: ""; position: absolute; inset: 5px; border-radius: 50%;
  border: 1px solid rgba(201,162,75,0.45);
}
.brand__name { font-family: var(--display); line-height: 1.05; }
.brand__name strong { display: block; font-size: 1.2rem; color: var(--gold-200); font-weight: 600; letter-spacing: 0.01em; }
.brand__name span { font-family: var(--engrave); font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-500); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  display: block; padding: 10px 17px;
  font-family: var(--engrave); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.13em;
  color: var(--gold-100); text-transform: uppercase; position: relative; transition: color 0.25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: 4px; height: 1.5px;
  background: var(--gold-grad); transition: left 0.28s, right 0.28s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-300); }
.nav-links a:hover::after, .nav-links a.active::after { left: 17px; right: 17px; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 90; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--gold-300); margin: 6px 0; transition: 0.3s; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: var(--gold-100); overflow: hidden;
  background:
    radial-gradient(ellipse at 74% 26%, rgba(150,22,27,0.55), transparent 58%),
    radial-gradient(circle at 16% 84%, rgba(201,162,75,0.16), transparent 55%),
    linear-gradient(150deg, #190304 0%, #320809 46%, #4a0c0e 100%);
}
/* concentric gold "seal" accent */
.hero::before {
  content: ""; position: absolute; right: -190px; top: 50%; transform: translateY(-50%);
  width: 640px; height: 640px; border-radius: 50%; z-index: 1; pointer-events: none;
  border: 1px solid rgba(201,162,75,0.16);
  box-shadow: 0 0 0 34px rgba(201,162,75,0.035), inset 0 0 110px rgba(201,162,75,0.06);
}
.hero::after {
  content: ""; position: absolute; right: -90px; top: 50%; transform: translateY(-50%);
  width: 420px; height: 420px; border-radius: 50%; z-index: 1; pointer-events: none;
  border: 1px dashed rgba(201,162,75,0.18);
}
.hero__bg {
  position: absolute; inset: -8% 0 0 0; z-index: 0;
  background: url("https://datopatricktan.com/wp-content/uploads/2019/05/dp_bg2.jpg") center/cover no-repeat;
  opacity: 0.20; mix-blend-mode: luminosity;
  transform: scale(1.08); will-change: transform;
}
.hero__veil {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(100deg, rgba(12,2,3,0.96) 0%, rgba(20,4,5,0.80) 40%, rgba(26,5,6,0.30) 70%, rgba(26,5,6,0.10) 100%);
}
.hero__photo {
  position: absolute; top: 0; right: 0; bottom: 0; width: 52%; z-index: 1;
  object-fit: cover; object-position: center 22%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
}
.hero__frame {
  position: absolute; inset: 34px; z-index: 2; pointer-events: none;
  border: 1px solid rgba(201,162,75,0.35);
}
.hero__frame span { position: absolute; width: 26px; height: 26px; border: 2px solid var(--gold-400); }
.hero__frame span:nth-child(1){ top:-1px; left:-1px; border-right:none; border-bottom:none; }
.hero__frame span:nth-child(2){ top:-1px; right:-1px; border-left:none; border-bottom:none; }
.hero__frame span:nth-child(3){ bottom:-1px; left:-1px; border-right:none; border-top:none; }
.hero__frame span:nth-child(4){ bottom:-1px; right:-1px; border-left:none; border-top:none; }

.hero__inner { position: relative; z-index: 3; max-width: 820px; padding: 160px 0 120px; }
.hero .kicker {
  font-family: var(--engrave); text-transform: uppercase; letter-spacing: 0.4em;
  font-size: 0.74rem; color: var(--gold-400); margin-bottom: 26px;
  display: inline-flex; align-items: center; gap: 16px;
}
.hero .kicker::before { content: ""; width: 46px; height: 1px; background: var(--gold-500); }
.hero h1 {
  color: var(--ivory); font-size: clamp(3rem, 8vw, 6rem); line-height: 0.98; font-weight: 500;
  letter-spacing: 0.01em;
}
.hero h1 .gold { display: block; font-style: italic; font-weight: 600; margin-top: 4px;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__formal {
  font-family: var(--display); font-style: italic; color: var(--gold-200);
  font-size: 1.45rem; margin-top: 14px; letter-spacing: 0.05em; opacity: 0.95;
}
.hero__roles {
  display: flex; flex-wrap: wrap; gap: 6px 30px; margin: 26px 0 28px;
  list-style: none; font-family: var(--display); font-style: italic; font-size: 1.5rem; color: var(--gold-300);
}
.hero__roles li { position: relative; padding-left: 26px; }
.hero__roles li::before { content: "\2756"; position: absolute; left: 0; color: var(--gold-500); font-size: 0.7rem; top: 8px; font-style: normal; }
.hero p.lead { font-size: 1.16rem; color: var(--gold-100); max-width: 600px; opacity: 0.92; font-weight: 300; }
.hero__cta { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 18px; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 3;
  color: var(--gold-300); font-family: var(--engrave); font-size: 0.62rem; letter-spacing: 0.3em;
  text-transform: uppercase; text-align: center;
}
.hero__scroll i { display: block; margin-top: 10px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(7px);} }

/* hero entrance */
.hero .anim { opacity: 0; transform: translateY(26px); animation: heroIn 1s cubic-bezier(.2,.7,.2,1) forwards; }
.hero .anim.d1{ animation-delay:.15s; } .hero .anim.d2{ animation-delay:.32s; }
.hero .anim.d3{ animation-delay:.5s; } .hero .anim.d4{ animation-delay:.66s; } .hero .anim.d5{ animation-delay:.82s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ---------- Page banner (interior) ---------- */
.banner {
  position: relative; color: var(--gold-100); text-align: left;
  min-height: 560px; display: flex; align-items: center;
  padding: 170px 0 110px;
  background:
    radial-gradient(ellipse at 74% 30%, rgba(150,22,27,0.50), transparent 58%),
    radial-gradient(circle at 12% 85%, rgba(201,162,75,0.14), transparent 55%),
    linear-gradient(150deg, #190304 0%, #320809 46%, #4a0c0e 100%);
  border-bottom: 2px solid transparent;
  border-image: var(--gold-grad) 1;
  overflow: hidden;
}
/* photo sits on the right and fades into the maroon — same treatment as the home hero */
.banner__media {
  position: absolute; top: 0; right: 0; bottom: 0; width: 54%; height: 100%;
  object-fit: cover; object-position: center 22%; z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 44%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 44%);
}
.banner__scrim {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(100deg, rgba(12,2,3,0.96) 0%, rgba(20,4,5,0.82) 40%, rgba(26,5,6,0.32) 70%, rgba(26,5,6,0.10) 100%);
}
.banner > .container { position: relative; z-index: 3; max-width: 1200px; }
.banner .container > * { max-width: 620px; }
.banner::before {
  content: ""; position: absolute; inset: 34px; z-index: 3; pointer-events: none;
  border: 1px solid rgba(201,162,75,0.22);
}
.banner h1 { color: var(--ivory); font-size: clamp(2.6rem, 5.5vw, 4.2rem); font-weight: 500; }
.banner p { color: var(--gold-200); margin-top: 14px; opacity: 0.92; font-size: 1.12rem; font-style: italic; font-family: var(--display); }
.banner .ornament { margin-top: 22px; justify-content: flex-start; }
.banner .ornament::before { display: none; }
.banner .ornament::after { width: 90px; }
.banner .divider { margin-left: 0; margin-top: 22px; }
.banner .crumbs { margin-top: 22px; font-family: var(--engrave); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-400); }
.banner .crumbs a:hover { color: var(--gold-300); }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.pillar {
  position: relative; background: var(--ivory); border: 1px solid var(--line);
  padding: 46px 28px 40px; text-align: center; border-radius: 3px;
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s; overflow: hidden;
}
.pillar::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform 0.4s;
}
.pillar:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--gold-400); }
.pillar:hover::before { transform: scaleX(1); }
.pillar__num { font-family: var(--display); font-style: italic; color: var(--gold-400); font-size: 0.95rem; }
.pillar__icon {
  width: 64px; height: 64px; margin: 12px auto 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.5rem; color: var(--gold-600);
  border: 1px solid var(--line); background: linear-gradient(160deg, #fff, var(--cream));
  transition: 0.35s;
}
.pillar:hover .pillar__icon { color: var(--red-700); border-color: var(--gold-400); transform: rotate(8deg); }
.pillar h3 { font-size: 1.42rem; }
.pillar p { color: var(--muted); font-size: 0.96rem; margin-top: 12px; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 76px; align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: 4px; box-shadow: var(--shadow); position: relative; z-index: 1; }
.split__media::before {
  content: ""; position: absolute; inset: -20px -20px 28px 28px; z-index: 0;
  border: 1.5px solid var(--gold-400); border-radius: 4px;
}
.split__media .tag {
  position: absolute; z-index: 2; bottom: 24px; left: -22px;
  background: var(--gold-grad); color: var(--red-900); padding: 14px 26px;
  font-family: var(--engrave); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem; font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.split__body p { color: var(--muted); margin-top: 20px; font-size: 1.05rem; }
.split__body p:first-of-type { margin-top: 26px; }
.signature { margin-top: 28px; font-family: var(--display); font-style: italic; font-size: 1.7rem; color: var(--red-700); }

/* ---------- Timeline ---------- */
.timeline { position: relative; margin-top: 60px; padding-left: 4px; }
.timeline::before {
  content: ""; position: absolute; left: 152px; top: 24px; bottom: 24px; width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--gold-400) 8%, var(--gold-500) 50%, var(--gold-400) 92%, transparent 100%);
}
.tl-item { position: relative; display: grid; grid-template-columns: 130px 1fr; gap: 62px; padding: 13px 0; }

/* Year medallion */
.tl-year {
  position: relative; text-align: right; padding-top: 22px;
  font-family: var(--engrave); font-weight: 600; letter-spacing: 0.08em;
  color: var(--red-800); font-size: 0.98rem; white-space: nowrap;
  transition: color 0.35s;
}
.tl-item:hover .tl-year { color: var(--gold-600); }

/* Diamond node on the spine */
.tl-item::after {
  content: ""; position: absolute; left: 146px; top: 30px;
  width: 13px; height: 13px; transform: rotate(45deg);
  background: var(--cream);
  border: 2px solid var(--gold-500);
  box-shadow: 0 0 0 6px var(--cream), 0 0 0 7px rgba(201,162,75,0.22);
  transition: 0.4s;
}
.tl-item:hover::after {
  background: var(--gold-500);
  transform: rotate(45deg) scale(1.15);
  box-shadow: 0 0 0 6px var(--cream), 0 0 0 8px rgba(201,162,75,0.45);
}

/* Card */
.tl-body {
  position: relative; display: flex; gap: 22px; align-items: center;
  background: var(--ivory); border: 1px solid var(--line); border-radius: 3px;
  padding: 22px 28px; overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.tl-body::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--gold-grad);
  transform: scaleY(0); transform-origin: top; transition: transform 0.45s ease;
}
.tl-body:hover { box-shadow: var(--shadow); border-color: var(--gold-400); transform: translateX(8px); }
.tl-body:hover::before { transform: scaleY(1); }

.tl-ic {
  position: relative; flex: none; width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201,162,75,0.10);
  border: 1px solid var(--gold-400);
  color: var(--gold-600); font-size: 1.02rem;
  overflow: hidden;
  transition: 0.35s;
}
.tl-body:hover .tl-ic { background: var(--red-700); border-color: var(--red-700); color: var(--gold-300); }
/* Company logo badge */
.tl-ic .tl-logo {
  width: 100%; height: 100%; object-fit: contain;
  padding: 10px; background: #fff; border-radius: 50%;
  transition: transform 0.35s;
}
.tl-ic:has(.tl-logo) { background: #fff; }
.tl-body:hover .tl-ic:has(.tl-logo) { background: #fff; border-color: var(--gold-500); }
.tl-ic:has(.tl-logo) i { display: none; }
.tl-body:hover .tl-logo { transform: scale(1.06); }

.tl-body h3 { font-size: 1.3rem; line-height: 1.3; margin: 0; }
.tl-role {
  display: inline-block; margin-top: 7px;
  color: var(--muted); font-size: 0.72rem; font-family: var(--engrave);
  text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600;
}
.tl-body img { width: 78px; height: 78px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); flex: none; background: #fff; }

@media (max-width: 820px) {
  .timeline::before { left: 8px; }
  .tl-item { grid-template-columns: 1fr; gap: 10px; padding-left: 40px; }
  .tl-item::after { left: 2px; top: 22px; }
  .tl-year { text-align: left; padding-top: 0; }
  .tl-body:hover { transform: none; }
}

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--ivory); border: 1px solid var(--line); border-radius: 4px;
  overflow: hidden; transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
  display: flex; flex-direction: column; position: relative;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--gold-400); }
.card__img { aspect-ratio: 16/10; overflow: hidden; background: var(--red-900); position: relative; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(42,7,8,0.45)); opacity: 0; transition: 0.4s; }
.card:hover .card__img img { transform: scale(1.08); }
.card:hover .card__img::after { opacity: 1; }
.card__body { padding: 28px 26px 32px; flex: 1; }
.card__body h3 { font-size: 1.38rem; }
.card__body .year { font-family: var(--engrave); color: var(--gold-600); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; }
.card__body p { color: var(--muted); font-size: 0.96rem; margin-top: 12px; }
.card__tag {
  position: absolute; top: 16px; left: 16px; z-index: 2; background: rgba(42,7,8,0.82);
  color: var(--gold-300); font-family: var(--engrave); font-size: 0.62rem; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 6px 13px; border: 1px solid rgba(201,162,75,0.4);
}

/* ---------- Award rows ---------- */
.award-row {
  display: grid; grid-template-columns: 120px 1fr; gap: 36px; align-items: baseline;
  padding: 30px 0; border-bottom: 1px solid var(--line); transition: 0.3s;
}
.award-row { padding-left: 16px; padding-right: 16px; }
.award-row:hover { background: linear-gradient(90deg, rgba(201,162,75,0.06), transparent); }
.award-row:last-child { border-bottom: none; }
.award-row img { width: 96px; height: 96px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.award-row .year { font-family: var(--display); font-style: italic; font-size: 2rem; color: var(--gold-600); text-align: right; }
.award-row h3 { font-size: 1.34rem; margin-bottom: 6px; }
.award-row p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Quote band ---------- */
.quote-band { text-align: center; }
.quote-band .mark { font-family: var(--display); font-size: 5rem; line-height: 0.5; color: var(--gold-500); display: block; height: 40px; }
.quote-band blockquote {
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: clamp(1.7rem, 3.6vw, 2.8rem); color: var(--gold-200); line-height: 1.4;
  max-width: 920px; margin: 18px auto 0;
}
.quote-band cite { display: block; margin-top: 28px; font-family: var(--engrave); font-style: normal; text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.74rem; color: var(--gold-400); }

/* ---------- Logos / clients strip ---------- */
.clients { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 14px; }
.clients span {
  font-family: var(--display); font-style: italic; color: var(--gold-300); font-size: 1.25rem;
  padding: 6px 22px; border: 1px solid rgba(201,162,75,0.25); border-radius: 40px; opacity: 0.92;
}

/* ---------- Gallery ---------- */
.gallery { columns: 3; column-gap: 20px; }
.gallery figure {
  break-inside: avoid; margin: 0 0 20px; border-radius: 4px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); cursor: pointer; position: relative;
}
.gallery img { width: 100%; transition: transform 0.7s; }
.gallery figure:hover img { transform: scale(1.07); }
.gallery figure::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 50%, rgba(42,7,8,0.55)); opacity: 0; transition: 0.4s;
}
.gallery figure::after {
  content: "\f00e"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; z-index: 2;
  inset: 0; display: grid; place-items: center; color: var(--gold-300); font-size: 1.5rem; opacity: 0;
  transition: opacity 0.35s; text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.gallery figure:hover::before, .gallery figure:hover::after { opacity: 1; }

.lightbox { position: fixed; inset: 0; z-index: 200; display: none; background: rgba(20,3,3,0.95); place-items: center; padding: 4vw; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 90vw; max-height: 86vh; border: 1px solid var(--gold-500); border-radius: 3px; box-shadow: 0 0 60px rgba(0,0,0,0.6); }
.lightbox__close { position: absolute; top: 22px; right: 32px; color: var(--gold-300); font-size: 2.6rem; cursor: pointer; line-height: 1; transition: 0.2s; }
.lightbox__close:hover { color: var(--gold-100); transform: rotate(90deg); }

/* ---------- Videos ---------- */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
.video-card { display: block; text-decoration: none; color: inherit; background: var(--ivory); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; box-shadow: var(--shadow-sm); transition: 0.35s; }
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold-400); }
.video-card .frame { position: relative; aspect-ratio: 16/9; background: var(--red-900); overflow: hidden; }
.video-card iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-card .frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease, filter 0.4s ease; }
.video-card .frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,2,3,0.05) 0%, rgba(12,2,3,0.42) 100%);
  transition: 0.4s;
}
.video-card:hover .frame img { transform: scale(1.06); }
.video-card:hover .frame::after { background: linear-gradient(180deg, rgba(12,2,3,0.10) 0%, rgba(12,2,3,0.30) 100%); }
.video-card .play {
  position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20,4,5,0.62);
  border: 2px solid var(--gold-500);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  transition: 0.35s;
}
.video-card .play i { color: var(--gold-400); font-size: 1.3rem; margin-left: 4px; }
.video-card:hover .play { background: var(--red-700); border-color: var(--gold-300); transform: translate(-50%, -50%) scale(1.08); }
.video-card:hover .play i { color: #fff; }
.video-card .meta h3 { transition: color 0.3s; }
.video-card:hover .meta h3 { color: var(--red-700); }
.video-card .meta { padding: 22px 24px 26px; }
.video-card .meta .year { font-family: var(--engrave); color: var(--gold-600); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; }
.video-card .meta h3 { font-size: 1.24rem; margin-top: 8px; }
.video-feature { max-width: 960px; margin: 0 auto; }
.video-feature .meta { text-align: center; padding: 26px 28px 30px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat { position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: -15px; top: 14%; height: 72%; width: 1px; background: rgba(201,162,75,0.25); }
.stat .num { font-family: var(--display); font-style: italic; font-size: 3.4rem; line-height: 1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .label { display: block; margin-top: 12px; font-family: var(--engrave); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-100); opacity: 0.86; }

/* ---------- CTA ---------- */
.cta-band { text-align: center; }
.cta-band h2 { color: var(--gold-200); font-size: clamp(2rem, 4vw, 3rem); }
.cta-band p { color: var(--gold-100); max-width: 580px; margin: 18px auto 34px; opacity: 0.9; font-weight: 300; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-info .info-item { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-info .info-item:last-child { border-bottom: none; }
.contact-info .ic { color: var(--gold-600); font-size: 1.1rem; width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: 0.3s; }
.contact-info .info-item:hover .ic { background: var(--gold-grad); color: var(--red-900); border-color: transparent; }
.contact-info h4 { color: var(--red-800); font-family: var(--display); font-size: 1.12rem; margin-bottom: 2px; }
.contact-info a, .contact-info p { color: var(--muted); }
.contact-card { background: var(--ivory); border: 1px solid var(--line); border-radius: 6px; padding: 40px; box-shadow: var(--shadow-sm); }
.contact-form label { display: block; font-family: var(--engrave); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--red-700); margin: 18px 0 7px; font-weight: 600; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 3px;
  font-family: var(--sans); font-size: 0.96rem; background: var(--cream); color: var(--ink); transition: 0.25s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold-500); background: #fff; box-shadow: 0 0 0 3px rgba(201,162,75,0.12); }
.contact-form .btn { margin-top: 26px; width: 100%; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(180deg, var(--red-900), var(--lacquer)); color: var(--gold-100); padding: 80px 0 30px; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gold-grad); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer-grid h4 { color: var(--gold-300); font-family: var(--display); font-size: 1.3rem; margin-bottom: 20px; }
.footer-grid p { opacity: 0.82; font-size: 0.94rem; font-weight: 300; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a, .footer-links li { opacity: 0.82; font-size: 0.94rem; transition: 0.2s; }
.footer-links a:hover { opacity: 1; color: var(--gold-300); padding-left: 5px; }
.social { display: flex; gap: 12px; margin-top: 20px; }
.social a {
  width: 42px; height: 42px; border: 1px solid rgba(201,162,75,0.4); border-radius: 50%;
  display: grid; place-items: center; color: var(--gold-300); transition: 0.3s; font-size: 0.9rem;
}
.social a:hover { background: var(--gold-grad); color: var(--red-900); border-color: transparent; transform: translateY(-3px); }
.footer-bottom { text-align: center; margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(201,162,75,0.2); font-size: 0.8rem; letter-spacing: 0.06em; opacity: 0.7; }

/* ---------- Featured In / Press ---------- */
.press { text-align: center; }
.press .label { font-family: var(--engrave); text-transform: uppercase; letter-spacing: 0.3em; font-size: 0.7rem; color: var(--gold-600); margin-bottom: 30px; }
.press__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 44px; }
.press__row span { font-family: var(--display); font-style: italic; font-size: 1.55rem; color: var(--muted); opacity: 0.72; transition: 0.3s; }
.press__row span:hover { color: var(--red-700); opacity: 1; }
.section--dark .press .label { color: var(--gold-400); }
.section--dark .press__row span { color: var(--gold-200); opacity: 0.7; }
.section--dark .press__row span:hover { color: var(--gold-300); opacity: 1; }

/* ---------- Service question cards ---------- */
.svc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.svc__card {
  position: relative; background: var(--ivory); border: 1px solid var(--line); border-radius: 6px;
  padding: 42px 40px; transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s; overflow: hidden;
}
.svc__card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold-grad); transform: scaleY(0); transform-origin: top; transition: transform 0.45s; }
.svc__card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: var(--gold-400); }
.svc__card:hover::before { transform: scaleY(1); }
.svc__icon { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; color: var(--gold-600); border: 1px solid var(--line); margin-bottom: 22px; background: linear-gradient(160deg,#fff,var(--cream)); transition: 0.35s; }
.svc__card:hover .svc__icon { color: var(--red-700); border-color: var(--gold-400); }
.svc__q { font-family: var(--display); font-style: italic; font-size: 1.4rem; color: var(--red-700); line-height: 1.32; }
.svc__method { font-family: var(--engrave); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.7rem; color: var(--gold-600); margin: 18px 0 8px; }
.svc__card p { color: var(--muted); font-size: 0.98rem; }
.svc__card .more { display: inline-flex; align-items: center; gap: 9px; margin-top: 20px; font-family: var(--engrave); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.7rem; color: var(--red-700); transition: 0.25s; }
.svc__card .more:hover { gap: 14px; color: var(--gold-600); }

/* ---------- Icon service grid (consultations) ---------- */
.icongrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.icongrid .ig {
  position: relative; background: var(--ivory); border: 1px solid var(--line); border-radius: 6px;
  padding: 40px 26px 36px; text-align: center; transition: 0.35s; overflow: hidden;
}
.icongrid .ig::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: 0.4s; }
.icongrid .ig:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: var(--gold-400); }
.icongrid .ig:hover::after { transform: scaleX(1); }
.icongrid .ig__ic { width: 70px; height: 70px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; color: var(--gold-600); border: 1px solid var(--line); background: linear-gradient(160deg,#fff,var(--cream)); transition: 0.35s; }
.icongrid .ig:hover .ig__ic { color: var(--red-700); border-color: var(--gold-400); transform: rotate(8deg); }
.icongrid .ig h3 { font-size: 1.28rem; }
.icongrid .ig p { color: var(--muted); font-size: 0.93rem; margin-top: 10px; }

/* ---------- Broken-image graceful fallback ---------- */
img.imgph { object-fit: cover; background: linear-gradient(150deg, var(--red-800), var(--red-600)); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; } .reveal.d2 { transition-delay: 0.2s; } .reveal.d3 { transition-delay: 0.3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .icongrid { grid-template-columns: repeat(2, 1fr); }
  .svc { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .videos { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .stat + .stat::before { display: none; }
  .gallery { columns: 2; }
  .section { padding: 88px 0; }
}
@media (max-width: 760px) {
  .topbar__tag { display: none; }
  .nav-links {
    position: fixed; inset: 0 0 0 28%; flex-direction: column; gap: 0; justify-content: center;
    background: rgba(42,7,8,0.98); padding: 20px; align-items: stretch;
    transform: translateX(100%); transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: 16px 22px; font-size: 0.9rem; }
  .nav-links a::after { display: none; }
  .nav-toggle { display: block; }
  body.has-hero .site-header { position: fixed; }
  .timeline::before { left: 7px; }
  .tl-item { grid-template-columns: 1fr; gap: 10px; padding-left: 36px; }
  .tl-year { text-align: left; padding-top: 0; }
  .tl-item::after { left: 1px; top: 6px; }
  .award-row { grid-template-columns: 66px 1fr; gap: 18px; }
  .award-row img { display: none; }
  .award-row .year { font-size: 1.4rem; text-align: left; }
  .hero__inner { padding: 150px 0 120px; }
  .split__media .tag { left: 0; }
}
@media (max-width: 520px) {
  .pillars, .cards, .icongrid { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero__frame { inset: 18px; }
}

@media (max-width: 860px) {
  .banner { min-height: 360px; padding: 130px 0 70px; }
  .banner__media {
    width: 100%; opacity: 0.42;
    -webkit-mask-image: none; mask-image: none;
  }
  .banner__scrim {
    background: linear-gradient(180deg, rgba(14,3,4,0.90) 0%, rgba(30,6,7,0.88) 100%);
  }
  .banner .container > * { max-width: none; }
  .banner::before { inset: 18px; }
}
