/* ============================================================
   HIRO MIYOSHI HOLDINGS — Master Stylesheet
   ============================================================ */

/* -----------------------------------------------------------
   Design Tokens — Light Theme
   ----------------------------------------------------------- */
:root {
  /* Colour */
  --bg:             #F7F3EE;
  --surface:        #FFFFFF;
  --surface-raised: #FAF7F3;
  --surface-hover:  #F3EEE8;

  --gold:           #8C6A2E;
  --gold-deep:      #6B5020;
  --gold-light:     #B8975A;
  --gold-faint:     rgba(140, 106, 46, 0.07);
  --gold-border:    rgba(140, 106, 46, 0.22);
  --gold-rule:      rgba(140, 106, 46, 0.28);

  --text-primary:   #1A1714;
  --text-secondary: #5A5450;
  --text-muted:     #9A948E;

  --border:         #E4DDD5;
  --border-subtle:  #EDE8E2;

  /* Typography */
  --font-heading: 'Forum', 'Georgia', serif;
  --font-body:    'DM Sans', 'Inter', system-ui, sans-serif;

  /* Spacing scale */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;
  --space-2xl: 10rem;

  /* Layout */
  --max-width:      1280px;
  --nav-height:     72px;
  --radius:         2px;

  /* Elevation */
  --shadow-sm: 0 1px 3px rgba(26,23,20,0.06), 0 1px 2px rgba(26,23,20,0.04);
  --shadow-md: 0 4px 12px rgba(26,23,20,0.08), 0 2px 4px rgba(26,23,20,0.04);

  /* Transitions */
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 0.35s var(--ease);
}

/* -----------------------------------------------------------
   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;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  overflow-x: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

ul, ol { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* -----------------------------------------------------------
   Typography Helpers
   ----------------------------------------------------------- */
.font-heading { font-family: var(--font-heading); }

.label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.label--muted {
  color: var(--text-muted);
}

.display {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.display--xl { font-size: clamp(3rem, 7vw, 6.5rem); }
.display--lg { font-size: clamp(2.25rem, 4.5vw, 4rem); }
.display--md { font-size: clamp(1.75rem, 3vw, 2.75rem); }
.display--sm { font-size: clamp(1.375rem, 2.5vw, 2rem); }

.body-copy {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  font-weight: 300;
}

.body-copy--large {
  font-size: 1.125rem;
  line-height: 1.75;
}

/* -----------------------------------------------------------
   Layout Utilities
   ----------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
}

.section {
  padding-block: var(--space-xl);
}

.section--large {
  padding-block: var(--space-2xl);
}

.section--small {
  padding-block: var(--space-lg);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.rule {
  border: none;
  border-top: 1px solid var(--border);
  margin-block: var(--space-lg);
}

.rule--gold {
  border-top-color: var(--gold-rule);
}

/* -----------------------------------------------------------
   Scroll Animation Utility
   ----------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* -----------------------------------------------------------
   Buttons
   ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: var(--transition);
  border-radius: var(--radius);
}

.btn--outline {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
}

.btn--outline:hover {
  background: var(--gold);
  color: #FFFFFF;
}

.btn--ghost {
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--gold-border);
  color: var(--gold);
}

.btn--solid {
  background: var(--gold);
  color: #FFFFFF;
  border: 1px solid var(--gold);
}

.btn--solid:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
}

/* Hero variant — sits on dark overlay */
.btn--outline-hero {
  border-color: rgba(184, 151, 90, 0.7);
  color: #F5F0E8;
}

.btn--outline-hero:hover {
  background: rgba(184, 151, 90, 0.18);
  border-color: rgba(184, 151, 90, 0.9);
  color: #F5F0E8;
}

.btn svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.btn:hover svg {
  transform: translateX(3px);
}

/* -----------------------------------------------------------
   Navigation
   ----------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(247, 243, 238, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(247, 243, 238, 0.96);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
}

.nav__logo {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-shrink: 0;
  line-height: 1;
  text-decoration: none;
}

.nav__logo-top {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-primary);
  transition: color var(--transition);
}

.nav__logo-rule {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transition: background var(--transition);
}

.nav__logo-btm {
  font-family: var(--font-body);
  font-size: 0.5625rem;
  font-weight: 400;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color var(--transition);
}

.nav__logo:hover .nav__logo-top {
  color: var(--gold);
}

.nav__logo:hover .nav__logo-btm {
  color: var(--text-primary);
}

.nav__logo:hover .nav__logo-rule {
  background: var(--text-primary);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__link {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--text-primary);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__link.active {
  color: var(--gold);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
}

.nav__hamburger span {
  display: block;
  height: 1px;
  background: var(--text-primary);
  transition: var(--transition);
}

.nav__hamburger span:nth-child(1) { width: 24px; }
.nav__hamburger span:nth-child(2) { width: 16px; }
.nav__hamburger span:nth-child(3) { width: 24px; }

.nav__hamburger.open span:nth-child(1) {
  width: 24px;
  transform: translateY(6px) rotate(45deg);
}
.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__hamburger.open span:nth-child(3) {
  width: 24px;
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile overlay */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--surface);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

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

.nav__overlay-link {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 8vw, 3.5rem);
  color: var(--text-primary);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.nav__overlay-link:hover {
  color: var(--gold);
}

.nav__overlay-sub {
  position: absolute;
  bottom: 2.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* -----------------------------------------------------------
   Footer
   ----------------------------------------------------------- */
.footer {
  position: relative;
  padding-block: var(--space-lg);
  background: var(--surface);
  border-top: 1px solid var(--gold-rule);
  overflow: hidden;
}

.footer__watermark {
  position: absolute;
  bottom: -1rem;
  right: 2rem;
  font-family: var(--font-heading);
  font-size: 12rem;
  color: rgba(140, 106, 46, 0.05);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.05em;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: var(--space-lg);
  align-items: start;
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.footer__brand-sub {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer__links-heading {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__link {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--gold);
}

.footer__copy {
  text-align: right;
}

.footer__copy-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* -----------------------------------------------------------
   HERO — Photo Slideshow
   ----------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0E0C0A;
}

/* Slides container */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.45, 0, 0.55, 1);
  will-change: opacity, transform;
}

.hero-slide.active {
  opacity: 1;
  animation: kenBurns 9s ease-in-out forwards;
}

@keyframes kenBurns {
  from { transform: scale(1);    }
  to   { transform: scale(1.07); }
}

/* Layered overlay: warm vignette + bottom gradient for text */
.hero-slides__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(10, 8, 6, 0.30) 0%,
      rgba(10, 8, 6, 0.42) 45%,
      rgba(10, 8, 6, 0.70) 100%
    );
  z-index: 1;
}

/* Content */
.hero__content {
  position: relative;
  z-index: 2;
  padding-top: var(--nav-height);
}

.hero__label {
  margin-bottom: 2rem;
}

/* Override text colours — sits on dark photo overlay */
.hero__headline {
  max-width: 18ch;
  margin-bottom: 1.75rem;
  color: #F5F0E8;
}

.hero__sub {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.55);
  margin-bottom: 3rem;
}

/* Slide indicator dots */
.hero-dots {
  position: absolute;
  bottom: 2.5rem;
  left: clamp(1.25rem, 5vw, 4rem);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-dot {
  height: 2px;
  width: 28px;
  background: rgba(245, 240, 232, 0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--transition), width var(--transition);
  border-radius: 1px;
}

.hero-dot.active {
  background: var(--gold);
  width: 44px;
}

.hero-dot:hover:not(.active) {
  background: rgba(245, 240, 232, 0.6);
}

/* Slide caption (location label) */
.hero-caption {
  position: absolute;
  bottom: 2.25rem;
  right: clamp(1.25rem, 5vw, 4rem);
  z-index: 3;
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.4);
  transition: opacity 0.6s ease;
}

/* Label colour override on dark hero */
.hero .label {
  color: var(--gold);
}

/* Decorative rule */
.hero__rule {
  position: absolute;
  bottom: 3rem;
  left: clamp(1.25rem, 5vw, 4rem);
  right: clamp(1.25rem, 5vw, 4rem);
  height: 1px;
  background: rgba(245, 240, 232, 0.1);
  z-index: 2;
}

/* -----------------------------------------------------------
   Intro Strip
   ----------------------------------------------------------- */
.intro {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.intro__text {
  padding-right: var(--space-lg);
}

.intro__text p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.85;
}

.intro__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
}

.stat {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.stat:nth-child(even) { border-right: none; }
.stat:nth-child(3),
.stat:nth-child(4) { border-bottom: none; }

.stat:hover {
  background: var(--surface-hover);
}

.stat__number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat__label {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* -----------------------------------------------------------
   Portfolio Strip (was Subsidiaries)
   ----------------------------------------------------------- */
.subs-strip {
  background: var(--bg);
}

.subs-strip__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.subs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.sub-card {
  background: var(--surface);
  padding: 2rem 1.75rem;
  position: relative;
  transition: background var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.sub-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background var(--transition);
}

.sub-card:hover {
  background: var(--surface-raised);
  box-shadow: var(--shadow-sm);
}

.sub-card:hover::before {
  background: var(--gold);
}

.sub-card__sector {
  margin-bottom: 1rem;
}

.sub-card__name {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.sub-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.sub-card__link {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.sub-card__link:hover {
  color: var(--gold-deep);
}

.sub-card__link svg {
  width: 12px;
  height: 12px;
  transition: transform var(--transition);
}

.sub-card:hover .sub-card__link svg {
  transform: translateX(3px);
}

/* -----------------------------------------------------------
   Ethos
   ----------------------------------------------------------- */
.ethos {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.ethos__quote {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.ethos__quote span {
  display: block;
  color: var(--gold);
}

.ethos__divider {
  width: 60px;
  height: 1px;
  background: var(--gold-rule);
  margin-inline: auto;
  margin-bottom: var(--space-lg);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  text-align: left;
}

.value-item {
  padding: 2rem;
  border: 1px solid var(--border);
  position: relative;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  background: var(--surface-raised);
}

.value-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: transparent;
  transition: background var(--transition);
}

.value-item:hover {
  border-color: var(--gold-border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.value-item:hover::before {
  background: var(--gold);
}

.value-item__num {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.value-item__title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.value-item__copy {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* -----------------------------------------------------------
   Footer CTA
   ----------------------------------------------------------- */
.footer-cta {
  background: var(--bg);
  text-align: center;
  padding-block: var(--space-xl);
}

.footer-cta__label {
  margin-bottom: 1.25rem;
}

.footer-cta__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  color: var(--text-primary);
  max-width: 22ch;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  line-height: 1.2;
}

/* -----------------------------------------------------------
   Page Hero (internal pages)
   ----------------------------------------------------------- */
.page-hero {
  padding-top: calc(var(--nav-height) + var(--space-xl));
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.page-hero__label {
  margin-bottom: 1.25rem;
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--text-primary);
  line-height: 1.08;
  max-width: 20ch;
  margin-bottom: 1.5rem;
}

.page-hero__sub {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 52ch;
  line-height: 1.75;
}

/* -----------------------------------------------------------
   About Page — Brand Story
   ----------------------------------------------------------- */
.brand-story {
  background: var(--bg);
}

.brand-story__grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: var(--space-xl);
  align-items: start;
}

.brand-story__sticky {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}

.brand-story__label {
  margin-bottom: 1.25rem;
}

.brand-story__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 3vw, 2.75rem);
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.brand-story__body p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

/* Mission */
.mission {
  background: var(--surface);
  text-align: center;
  padding-block: var(--space-xl);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.mission__quote {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
  color: var(--text-primary);
  max-width: 32ch;
  margin-inline: auto;
  line-height: 1.35;
  margin-bottom: 2rem;
}

.mission__divider {
  width: 48px;
  height: 1px;
  background: var(--gold-rule);
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.mission__attr {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Timeline */
.timeline {
  background: var(--bg);
  padding-block: var(--space-xl);
}

.timeline__inner {
  position: relative;
}

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

.timeline__item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0;
  padding-bottom: var(--space-md);
  position: relative;
}

.timeline__year {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--gold);
  padding-top: 0.125rem;
  flex-shrink: 0;
}

.timeline__content {
  padding-left: 2rem;
  padding-bottom: var(--space-md);
  border-left: 1px solid var(--border);
  position: relative;
}

.timeline__content::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 0.625rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--bg);
}

.timeline__title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  color: var(--text-primary);
  margin-bottom: 0.375rem;
}

.timeline__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Brand Values Grid */
.brand-values {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

/* -----------------------------------------------------------
   Portfolio Page (was Subsidiaries)
   ----------------------------------------------------------- */
.subsidiaries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.subsidiary-card {
  background: var(--surface);
  padding: 2.5rem 2.25rem;
  position: relative;
  transition: background var(--transition), box-shadow var(--transition);
  border-top: 2px solid transparent;
}

.subsidiary-card:hover {
  background: var(--surface-raised);
  border-top-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.subsidiary-card__sector {
  margin-bottom: 1.25rem;
}

.subsidiary-card__name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.subsidiary-card__desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.subsidiary-card__link {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition);
}

.subsidiary-card__link:hover {
  color: var(--gold-deep);
}

.subsidiary-card__link svg {
  transition: transform var(--transition);
  width: 12px;
  height: 12px;
}

.subsidiary-card:hover .subsidiary-card__link svg {
  transform: translateX(3px);
}

.subsidiary-card__img {
  margin: -2.5rem -2.25rem 1.75rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.subsidiary-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.subsidiary-card:hover .subsidiary-card__img img {
  transform: scale(1.04);
}

/* -----------------------------------------------------------
   Leadership Page
   ----------------------------------------------------------- */
.leadership-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.leader-photo {
  background: var(--surface-raised);
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.leader-photo__monogram {
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.3;
  letter-spacing: 0.04em;
}

.leader-photo__corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--gold-rule);
  border-style: solid;
}

.leader-photo__corner--tl {
  top: 1rem;
  left: 1rem;
  border-width: 1px 0 0 1px;
}

.leader-photo__corner--br {
  bottom: 1rem;
  right: 1rem;
  border-width: 0 1px 1px 0;
}

.leader-bio__role {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.leader-bio__name {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 2rem;
}

.leader-bio__text p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.leader-rule {
  width: 48px;
  height: 1px;
  background: var(--gold-rule);
  margin-bottom: 1.5rem;
}

/* -----------------------------------------------------------
   Ventures Page
   ----------------------------------------------------------- */
.ventures-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.venture-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2.25rem 2rem;
  position: relative;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.venture-card:hover {
  border-color: var(--gold-border);
  background: var(--surface-raised);
  box-shadow: var(--shadow-sm);
}

.venture-card__tag {
  display: inline-block;
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-border);
  padding: 0.3rem 0.625rem;
  margin-bottom: 1.25rem;
}

.venture-card__tag--pending {
  color: var(--text-muted);
  border-color: var(--border);
}

.venture-card__title {
  font-family: var(--font-heading);
  font-size: 1.3125rem;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 0.875rem;
}

.venture-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.venture-card__status {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* -----------------------------------------------------------
   Contact Page
   ----------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.contact-info__body {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.contact-detail {
  margin-bottom: 1.75rem;
}

.contact-detail__label {
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.375rem;
}

.contact-detail__value {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-detail__value a {
  color: var(--gold);
  transition: color var(--transition);
}

.contact-detail__value a:hover {
  color: var(--gold-deep);
}

/* Form */
.form {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.form__group {
  margin-bottom: 1.5rem;
}

.form__label {
  display: block;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.625rem;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 300;
  padding: 0.875rem 1rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  border-radius: var(--radius);
  appearance: none;
  -webkit-appearance: none;
}

.form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239A948E' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-color: var(--bg);
  padding-right: 2.5rem;
  cursor: pointer;
}

.form__select option {
  background: var(--surface);
}

.form__textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.7;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--gold-rule);
  box-shadow: 0 0 0 3px var(--gold-faint);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--text-muted);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form__note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.6;
}

.form__success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form__success-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 1.25rem;
  color: var(--gold);
}

.form__success-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.form__success-body {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

/* -----------------------------------------------------------
   Responsive
   ----------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .subs-grid { grid-template-columns: repeat(2, 1fr); }
  .subs-strip__header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .subsidiaries-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__copy { text-align: left; }
  .brand-story__grid { grid-template-columns: 1fr; }
  .brand-story__sticky { position: static; }
  .leadership-grid { grid-template-columns: 260px 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-lg: 2.5rem;
  }

  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__overlay { display: flex; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .subs-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .ventures-grid { grid-template-columns: 1fr; }
  .subsidiaries-grid { grid-template-columns: 1fr; }

  .intro__text { padding-right: 0; }
  .footer__inner { grid-template-columns: 1fr; gap: var(--space-md); }
  .timeline__item { grid-template-columns: 100px 1fr; }
  .leadership-grid { grid-template-columns: 1fr; }
  .leader-photo { aspect-ratio: 1/1; max-width: 280px; }
  .form { padding: 1.5rem; }
  .form__row { grid-template-columns: 1fr; }
  .subs-strip__header { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .intro__stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(even) { border-right: none; }
  .stat:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }
  .stat:nth-last-child(2) { border-bottom: none; }
}

/* -----------------------------------------------------------
   Mobile-specific overrides
   ----------------------------------------------------------- */

/* Hero headline — prevent overflow on small screens */
@media (max-width: 640px) {
  .hero__headline {
    font-size: clamp(2rem, 9vw, 3rem);
  }
}

/* Portfolio — consulting card two-column detail layout */
.consulting-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

@media (max-width: 768px) {
  .consulting-detail-grid {
    grid-template-columns: 1fr;
  }

  .consulting-detail-grid .consulting-services {
    border-left: none;
    border-top: 1px solid var(--border);
    padding-left: 0;
    padding-top: var(--space-md);
  }
}

/* Ventures — featured card header */
.ventures-featured-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
  .ventures-featured-header {
    grid-template-columns: 1fr;
  }

  .ventures-featured-header .ventures-featured-tag {
    justify-self: start;
  }
}

/* Touch targets — expand buttons need minimum 44px tap area */
.principal__expand-btn,
.team-card__expand-btn {
  min-height: 44px;
  padding-block: 0.75rem;
}

/* Page hero — tighten top padding on small screens */
@media (max-width: 640px) {
  .page-hero {
    padding-top: calc(var(--nav-height) + 2.5rem);
    padding-bottom: 2rem;
  }
}

/* Timeline — prevent year column squeezing too much */
@media (max-width: 480px) {
  .timeline__item {
    grid-template-columns: 70px 1fr;
  }

  .timeline__year {
    font-size: 1rem;
  }
}

/* Mission quote — readable on small screens */
@media (max-width: 480px) {
  .mission__quote {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
  }
}

/* Footer CTA heading — don't overflow on mobile */
@media (max-width: 480px) {
  .footer-cta__heading {
    font-size: clamp(1.375rem, 5vw, 2rem);
  }
}

/* Sub-cards on homepage — ensure text doesn't feel cramped */
@media (max-width: 480px) {
  .sub-card {
    padding: 1.5rem 1.25rem;
  }
}

/* Subsidiary card — compact on mobile */
@media (max-width: 480px) {
  .subsidiary-card {
    padding: 2rem 1.5rem;
  }
}
