/*
  ============================================================
  BLUESTONE EQUITIES GROUP — Main Stylesheet
  styles.css

  Design system:
  - Cormorant Garamond (serif) for display headings
  - DM Sans for body + UI text
  - Warm off-white backgrounds, near-black text
  - Bronze/champagne accent (#C9A86C) — used sparingly
  - Dark navy (#0D1117) for dark sections

  Table of Contents:
  1. CSS Custom Properties
  2. Reset & Base
  3. Typography Utilities
  4. Layout Utilities (container, section)
  5. Navigation
  6. Hero
  7. Overview Section
  8. Stats Band
  9. Capabilities
  10. Editorial Triptych
  11. Featured Projects
  12. Portfolio
  13. Investment Philosophy
  14. Leadership
  15. King's Island / Current Project
  16. Contact
  17. Footer
  18. Scroll Reveal Animation
  19. Responsive — Tablet (max 1024px)
  20. Responsive — Mobile (max 768px)
  ============================================================
*/


/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Colors */
  --bg:           #FAFAF7;   /* warm off-white — primary background */
  --bg-white:     #FFFFFF;
  --bg-tinted:    #F2F0EA;   /* slightly darker warm tint */
  --bg-dark:      #1B2A46;   /* dark navy — matches brand identity */
  --bg-navy:      #1B2A46;   /* dark navy for King's Island bg */
  --blue-accent:  #7BAED6;   /* steel blue — footer logo accent */

  --text:         #1A1A18;   /* primary text — warm near-black */
  --text-muted:   #6B7178;   /* secondary text */
  --text-light:   #9CA3AA;   /* tertiary / captions */
  --text-white:   #FFFFFF;
  --text-white-70: rgba(255,255,255,0.70);
  --text-white-50: rgba(255,255,255,0.50);

  --bronze:       #C9A86C;   /* primary accent — champagne/bronze */
  --bronze-light: #D4B97D;
  --bronze-dark:  #A8893E;

  --border:       #E0DED7;   /* light border */
  --border-dark:  rgba(255,255,255,0.10);

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body:    'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --space-xs:   8px;
  --space-sm:   16px;
  --space-md:   24px;
  --space-lg:   40px;
  --space-xl:   64px;
  --space-2xl:  96px;
  --space-3xl:  128px;

  /* Layout */
  --container:  1280px;
  --container-narrow: 960px;
  --gutter:     40px;

  /* Animation */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration:   0.6s;
}


/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}


/* ============================================================
   3. TYPOGRAPHY UTILITIES
   ============================================================ */

/* Eyebrow / Tag — small uppercase label */
.eyebrow,
.tag {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 16px;
  display: block;
}

.tag--gold { color: var(--bronze); }

/* Section headings — Cormorant Garamond */
.h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.h2 em {
  font-style: italic;
  font-weight: 300;
}

.h2--white {
  color: var(--text-white);
}

/* Body text sizes */
.body-lg {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.72;
  color: var(--text);
  margin-bottom: 20px;
}

.body-md {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.78;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.body-md--white {
  color: var(--text-white-70);
}

.body-md--muted {
  color: var(--text-white-70);
}

/* Section intro paragraph */
.section-intro {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 16px 36px;
  transition: all 0.3s var(--ease-out);
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
}

.btn--primary {
  background: var(--text);
  color: var(--bg-white);
  border-color: var(--text);
}

.btn--primary:hover {
  background: var(--text-white);
  color: var(--text);
  border-color: var(--text);
}

.btn--ghost {
  background: transparent;
  color: var(--text-white);
  border-color: rgba(255,255,255,0.55);
}

.btn--ghost:hover {
  background: var(--text-white);
  color: var(--text);
  border-color: var(--text-white);
}

.btn--bronze {
  background: transparent;
  color: var(--bronze);
  border-color: var(--bronze);
}

.btn--bronze:hover {
  background: var(--bronze);
  color: var(--bg-dark);
  border-color: var(--bronze);
}

.btn--full { width: 100%; }


/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */

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

/* Section base */
.section {
  padding: var(--space-3xl) 0;
}

.section--white   { background: var(--bg-white); }
.section--warm    { background: var(--bg); }
.section--tinted  { background: var(--bg-tinted); }
.section--dark    { background: var(--bg-dark); }

/* Section header (centered label + title above grid) */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header .h2 {
  margin-bottom: 16px;
}


/* ============================================================
   5. NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  /* Start transparent over hero */
}

.nav.scrolled {
  background: var(--bg-white);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}

/* Logo */
.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  transition: opacity 0.2s;
}

.nav-logo:hover { opacity: 0.75; }

.nav-logo-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-white);
  line-height: 1;
  transition: color 0.4s;
}

.nav.scrolled .nav-logo-name {
  color: var(--text);
}

.nav-logo-sub {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  line-height: 1;
  transition: color 0.4s;
}

.nav.scrolled .nav-logo-sub {
  color: var(--text-muted);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links li a {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.80);
  transition: color 0.2s;
}

.nav.scrolled .nav-links li a {
  color: var(--text-muted);
}

.nav-links li a:hover,
.nav.scrolled .nav-links li a:hover {
  color: var(--bronze);
}

/* Nav CTA pill */
.nav-links .nav-cta {
  padding: 10px 22px;
  border: 1px solid rgba(255,255,255,0.35);
  transition: all 0.25s;
}

.nav.scrolled .nav-links .nav-cta {
  border-color: var(--text);
  color: var(--text);
}

.nav-links .nav-cta:hover {
  background: var(--text-white);
  color: var(--text);
  border-color: var(--text-white);
}

.nav.scrolled .nav-links .nav-cta:hover {
  background: var(--text);
  color: var(--bg-white);
}

/* Hamburger (mobile) */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--text-white);
  transition: background 0.4s;
}

.nav.scrolled .nav-burger span {
  background: var(--text);
}

/* Mobile overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.nav-overlay-close {
  position: absolute;
  top: 28px;
  right: var(--gutter);
  font-size: 22px;
  color: var(--text-white-70);
  transition: color 0.2s;
}

.nav-overlay-close:hover { color: var(--bronze); }

.nav-overlay-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.nav-overlay-link {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 300;
  color: var(--text-white-70);
  letter-spacing: 0.02em;
  padding: 8px 0;
  transition: color 0.2s, transform 0.2s;
  display: block;
}

.nav-overlay-link:hover {
  color: var(--bronze);
  transform: translateX(6px);
}


/* ============================================================
   6. HERO
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--space-3xl);
  overflow: hidden;
}

/* Background image */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

/* Dark gradient overlay for legibility */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 10, 14, 0.88) 0%,
    rgba(8, 10, 14, 0.45) 45%,
    rgba(8, 10, 14, 0.18) 100%
  );
}

/* Text content */
.hero-body {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero-eyebrow {
  color: var(--bronze);
  margin-bottom: 20px;
  animation: fadeUp 0.9s var(--ease-out) 0.2s both;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 7.5vw, 96px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--text-white);
  margin-bottom: 24px;
  animation: fadeUp 0.9s var(--ease-out) 0.4s both;
}

.hero-headline em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.80);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.70);
  max-width: 560px;
  margin-bottom: 36px;
  animation: fadeUp 0.9s var(--ease-out) 0.55s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.9s var(--ease-out) 0.7s both;
}

/* Scroll indicator */
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  right: var(--gutter);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeIn 1s var(--ease-out) 1.2s both;
}

.hero-scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5));
  animation: scrollPulse 2s ease-in-out infinite;
}

.hero-scroll-label {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  writing-mode: vertical-lr;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 0.9; transform: scaleY(1.1); }
}


/* ============================================================
   7. OVERVIEW SECTION
   ============================================================ */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.overview-text .h2 {
  margin-bottom: 28px;
}

/* Three credential blocks */
.overview-credentials {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

.cred {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cred-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 400;
  color: var(--bronze);
  line-height: 1;
}

.cred-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Image + quote block */
.overview-visual {
  position: relative;
}

.overview-img-frame {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.overview-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.overview-img-frame:hover img {
  transform: scale(1.03);
}

.overview-quote {
  background: var(--text);
  padding: 32px 36px;
  margin-top: -1px;
}

.overview-quote blockquote {
  font-family: var(--font-display);
  font-size: 17px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px;
  border-left: 2px solid var(--bronze);
  padding-left: 18px;
}

.overview-quote cite {
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
  font-style: normal;
}


/* ============================================================
   8. STATS BAND
   ============================================================ */
.stats-band {
  background: var(--bg-dark);
  padding: var(--space-xl) 0;
}

.stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  color: var(--text-white);
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-white-50);
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.10);
  flex-shrink: 0;
  margin: 0 20px;
}


/* ============================================================
   9. CAPABILITIES
   ============================================================ */
.caps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  margin-top: 0;
}

.cap-card {
  padding: 48px 36px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background 0.3s;
}

.cap-card:last-child {
  border-right: none;
}

.cap-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.cap-card:hover::after {
  transform: scaleX(1);
}

.cap-card:hover {
  background: var(--bg);
}

.cap-num {
  display: block;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 300;
  color: var(--bronze);
  opacity: 0.50;
  line-height: 1;
  margin-bottom: 20px;
  font-style: italic;
}

.cap-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cap-body {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.78;
  color: var(--text-muted);
}


/* ============================================================
   10. EDITORIAL TRIPTYCH
   ============================================================ */
.triptych {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--text);
  overflow: hidden;
}

.triptych-col {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
}

.triptych-item {
  overflow: hidden;
}

.triptych-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.triptych-item:hover img {
  transform: scale(1.04);
}

.triptych-item--tall {
  height: 600px;
}

.triptych-item--short {
  height: 295px;
}

.triptych-item--medium {
  height: 295px;
}


/* ============================================================
   11. FEATURED PROJECTS
   ============================================================ */
.fp-section {
  padding: var(--space-3xl) 0;
}

/* Grid: two column layout */
.fp {
  display: grid;
  gap: var(--space-3xl);
  align-items: start;
}

/* Layout variant: images left, text right */
.fp--left {
  grid-template-columns: 1.1fr 0.9fr;
}

/* Layout variant: text left, images right */
.fp--right {
  grid-template-columns: 0.9fr 1.1fr;
}

/* On fp--right, text comes first in DOM but second visually */
.fp--right .fp-body { order: 1; }
.fp--right .fp-images { order: 2; }

/* Image block: main + accent stacked */
.fp-images {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fp-img-main {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.fp-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.fp-img-main:hover img {
  transform: scale(1.03);
}

.fp-img-accent {
  width: 55%;
  aspect-ratio: 4/3;
  overflow: hidden;
  align-self: flex-end;
}

.fp-img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.fp-img-accent:hover img {
  transform: scale(1.03);
}

/* Single image variant */
.fp-images--single .fp-img-main {
  aspect-ratio: 3/4;
}

/* Text block */
.fp-body {
  padding-top: 12px;
}

.fp-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 12px;
}

.fp-loc {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

/* Metrics 2×2 grid */
.fp-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 36px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.fp-metric-val {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--bronze);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.fp-metric-lbl {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-muted);
}


/* ============================================================
   12. PORTFOLIO
   ============================================================ */

/* 4-image tile grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-bottom: var(--space-xl);
}

.ptile {
  display: flex;
  flex-direction: column;
}

.ptile-img {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
  cursor: pointer;
}

.ptile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.ptile-img:hover img {
  transform: scale(1.05);
}

/* Hover overlay with brand label */
.ptile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,17,23,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.ptile-img:hover .ptile-overlay {
  opacity: 1;
}

.ptile-brand {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
}

.ptile-info {
  padding: 16px 0 0;
}

.ptile-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}

.ptile-loc {
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* Portfolio table */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ptable {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
}

.ptable thead tr {
  border-bottom: 1px solid var(--text);
}

.ptable th {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: left;
  padding: 0 0 14px;
}

.ptable th:not(:first-child) { padding-left: 24px; }

.ptable tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.ptable tbody tr:hover {
  background: rgba(201,168,108,0.05);
}

.ptable td {
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  padding: 18px 0;
}

.ptable td:not(:first-child) { padding-left: 24px; }

/* Brand badge */
.badge {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 4px 10px;
  white-space: nowrap;
}


/* ============================================================
   13. INVESTMENT PHILOSOPHY (DARK)
   ============================================================ */
.phil-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-3xl);
  align-items: start;
}

.phil-left .tag { color: var(--bronze); }

.phil-left .body-md { color: var(--text-white-50); }

.phil-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.phil-item {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.phil-item:first-child { padding-top: 0; }
.phil-item:last-child { border-bottom: none; padding-bottom: 0; }

.phil-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--bronze);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
  color: var(--bronze);
  flex-shrink: 0;
}

.phil-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 10px;
}

.phil-body {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.78;
  color: var(--text-white-50);
}


/* ============================================================
   14. LEADERSHIP
   ============================================================ */
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 0;
}

.leader {
  background: var(--bg);
  padding: 44px 36px;
  border: 1px solid var(--border);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.leader:hover {
  border-color: var(--bronze);
  box-shadow: 0 4px 32px rgba(201,168,108,0.08);
}

.leader-avatar {
  width: 56px;
  height: 56px;
  border: 1px solid var(--bronze);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  font-style: italic;
  color: var(--bronze);
  margin-bottom: 24px;
}

.leader-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.1;
}

.leader-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 20px;
}

.leader-rule {
  height: 1px;
  background: var(--border);
  margin-bottom: 20px;
}

.leader-bio {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.leader-bio li {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
}

.leader-bio li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 4px;
  height: 1px;
  background: var(--bronze);
}


/* ============================================================
   15. KING'S ISLAND / CURRENT PROJECT
   ============================================================ */
.ki-section {
  position: relative;
  padding: var(--space-3xl) 0;
  overflow: hidden;
}

.ki-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ki-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(20%);
}

.ki-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20, 34, 64, 0.97) 0%,
    rgba(20, 34, 64, 0.91) 60%,
    rgba(20, 34, 64, 0.80) 100%
  );
}

.ki-inner {
  position: relative;
  z-index: 2;
}

.ki-header {
  margin-bottom: var(--space-xl);
}

.ki-header .h2 {
  margin-bottom: 12px;
}

.ki-korean {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 300;
  font-style: italic;
  color: var(--text-white-50);
  margin-top: 8px;
}

.ki-subtitle {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-white-50);
}

.ki-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-3xl);
  align-items: start;
}

.ki-location {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 20px;
}

.ki-points {
  margin: 24px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ki-points li {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-white-70);
  padding-left: 18px;
  position: relative;
}

.ki-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 1px;
  background: var(--bronze);
}

/* KPI grid: 3 × 2 */
.ki-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.08);
}

.ki-kpi {
  padding: 28px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s;
}

.ki-kpi:hover {
  background: rgba(201,168,108,0.06);
}

/* Remove right border on even items (right column) */
.ki-kpi:nth-child(2n) { border-right: none; }
/* Remove bottom border on last 2 */
.ki-kpi:nth-last-child(-n+2) { border-bottom: none; }

.ki-kpi-val {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--bronze);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.ki-kpi-lbl {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-white-50);
  line-height: 1.4;
}

.ki-disclaimer {
  margin-top: var(--space-xl);
  font-size: 11px;
  font-weight: 300;
  font-style: italic;
  color: var(--text-white-50);
}

/* Right column wrapper: KPI grid stacked above rendering image */
.ki-right-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* King's Island architectural rendering */
.ki-rendering {
  position: relative;
  overflow: hidden;
}

.ki-rendering img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.ki-rendering:hover img {
  transform: scale(1.02);
}

/* Subtle caption overlay on the rendering */
.ki-rendering::after {
  content: 'Architectural Rendering — AW² Architecture, Paris';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  background: linear-gradient(to top, rgba(20,34,64,0.75), transparent);
}


/* ============================================================
   16. CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-left .h2 {
  margin-bottom: 20px;
}

.contact-details {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-role {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-link {
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  transition: color 0.2s;
  text-decoration: none;
}

.contact-link:hover { color: var(--bronze); }

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group:last-of-type { margin-bottom: 24px; }

.form-group label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  outline: none;
  transition: border-color 0.25s;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--bronze);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-note {
  margin-top: 14px;
  font-size: 11px;
  font-weight: 300;
  font-style: italic;
  color: var(--text-muted);
}


/* ============================================================
   17. FOOTER
   ============================================================ */
.footer {
  background: #141F38;
  color: var(--text-white);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.footer-logo span {
  color: var(--blue-accent);
}

.footer-tagline {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-white-50);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.footer-nav a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-white-50);
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--bronze); }

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
  text-align: right;
}

.footer-contact-info a {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-white-70);
  transition: color 0.2s;
}

.footer-contact-info a:hover { color: var(--bronze); }

.footer-contact-info span {
  font-size: 12px;
  color: var(--text-white-50);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-bottom-inner span {
  font-size: 11px;
  font-weight: 300;
  color: var(--text-white-50);
}


/* ============================================================
   18. SCROLL REVEAL ANIMATION
   Elements with .reveal class start hidden,
   IntersectionObserver in main.js adds .visible when in view.
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s var(--ease-out),
    transform 0.75s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   19. RESPONSIVE — TABLET (max-width: 1024px)
   ============================================================ */
@media (max-width: 1024px) {

  :root {
    --gutter: 32px;
    --space-3xl: 96px;
  }

  /* Nav */
  .nav-links { gap: 24px; }

  /* Overview: tighter */
  .overview-grid { gap: var(--space-xl); }
  .overview-credentials { gap: var(--space-lg); }
  .cred-num { font-size: 34px; }

  /* Capabilities: 2×2 on tablet */
  .caps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cap-card:nth-child(2) { border-right: none; }
  .cap-card:nth-child(3) { border-right: 1px solid var(--border); }
  .cap-card:nth-child(3),
  .cap-card:nth-child(4) { border-bottom: none; }

  /* Featured projects */
  .fp--left,
  .fp--right {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .fp--right .fp-body { order: 1; }
  .fp--right .fp-images { order: 2; }

  .fp-images--single .fp-img-main { aspect-ratio: 16/9; }

  /* Portfolio: 2-column grid */
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }

  /* Phil */
  .phil-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  /* Leaders: stacked */
  .leaders-grid { grid-template-columns: 1fr; gap: 2px; }

  /* KI */
  .ki-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-contact-info { text-align: left; }
}


/* ============================================================
   20. RESPONSIVE — MOBILE (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {

  :root {
    --gutter: 20px;
    --space-3xl: 72px;
    --space-2xl: 56px;
    --space-xl: 40px;
  }

  /* Nav: hide desktop links, show burger */
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .nav-inner { padding: 18px var(--gutter); }

  .nav-logo-name { font-size: 18px; }

  /* Hero */
  .hero {
    min-height: 100svh;
    padding-bottom: 80px;
  }

  .hero-headline { font-size: clamp(40px, 11vw, 60px); }
  .hero-sub { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-scroll-hint { display: none; }

  /* Overview: single column */
  .overview-grid { grid-template-columns: 1fr; }
  .overview-credentials { flex-direction: row; gap: var(--space-lg); }
  .cred-num { font-size: 30px; }

  /* Stats */
  .stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
    text-align: left;
  }

  .stat-divider { display: none; }
  .stat-item { text-align: left; }
  .stat-num { font-size: 32px; }

  /* Capabilities: single column */
  .caps-grid {
    grid-template-columns: 1fr;
  }

  .cap-card {
    border-right: none;
    padding: 36px 24px;
  }

  .cap-card:last-child { border-bottom: none; }
  .cap-card::after { display: none; }

  /* Triptych: vertical stack */
  .triptych {
    grid-template-columns: 1fr;
  }

  .triptych-col {
    grid-template-rows: auto auto;
    gap: 4px;
  }

  .triptych-item--tall  { height: 280px; }
  .triptych-item--short { height: 200px; }
  .triptych-item--medium{ height: 200px; }

  /* Featured projects */
  .fp--left,
  .fp--right {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .fp-img-accent { width: 70%; }

  .fp-title { font-size: clamp(30px, 8vw, 44px); }

  .fp-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
  }

  .fp-metric-val { font-size: 20px; }

  /* Portfolio: 2-column tiles on mobile */
  .portfolio-grid { grid-template-columns: 1fr 1fr; }

  /* Phil */
  .phil-grid { grid-template-columns: 1fr; }
  .phil-item { flex-direction: column; gap: 16px; }

  /* Leaders: single column, compact */
  .leaders-grid { grid-template-columns: 1fr; }
  .leader { padding: 32px 24px; }

  /* KI */
  .ki-grid { grid-template-columns: 1fr; }
  .ki-right-col { gap: 12px; }
  .ki-kpis { grid-template-columns: 1fr 1fr; }
  .ki-kpi-val { font-size: 26px; }
  .ki-header .h2 { font-size: clamp(34px, 8vw, 48px); }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
  }

  .footer-contact-info { text-align: left; }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  /* Section header on mobile */
  .section-header { text-align: left; }
  .section-intro { margin: 0; }

  /* h2 sizing */
  .h2 { font-size: clamp(30px, 7.5vw, 44px); }

  /* Stats band */
  .stats-band { padding: var(--space-lg) 0; }
}


/* ============================================================
   UTILITY: No-JS fallback — if .reveal never gets .visible
   add this class to body to show everything
   ============================================================ */
.no-js .reveal {
  opacity: 1;
  transform: none;
}
