/*
 * PRICE FAMILY LEGACY LLC
 * Main Stylesheet — v1.0
 * ─────────────────────────────────────────────
 * 1.  Custom Properties
 * 2.  Reset & Base
 * 3.  Typography
 * 4.  Utilities
 * 5.  Skip Link
 * 6.  Header & Navigation
 * 7.  Hero
 * 8.  Portfolio / Our Companies
 * 9.  About
 * 10. Portfolio Hierarchy
 * 11. Founder
 * 12. Contact
 * 13. Footer
 * 14. Inner Pages (Privacy, 404)
 * 15. Animations
 * 16. Responsive Breakpoints
 */

/* ═══════════════════════════════════════════════════
   1. CUSTOM PROPERTIES
   ═══════════════════════════════════════════════════ */

:root {
  /* Color palette — Price Family Legacy LLC Brand Kit */
  --charcoal:      #1C1C1C;
  --near-black:    #0E0E0E;
  --ivory:         #F8F5EE;
  --ivory-mid:     #EDE8DF;
  --ivory-dark:    #E0D9CE;
  --white:         #FFFFFF;
  --gold:          #C3A15F;
  --gold-light:    #DDC895;
  --gold-muted:    #A6813A;
  --warm-gray:     #6A665F;
  --light-gray:    #9A9690;
  --border:        #E0DBD2;
  --border-dark:   #C8C2B6;

  /* Typography */
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Layout */
  --header-h:   84px;
  --max-w:      1200px;
  --max-w-text: 800px;
  --pad-x:      clamp(1.25rem, 5vw, 2.5rem);

  /* Radii */
  --r-sm: 3px;
  --r-md: 6px;
  --r-lg: 12px;

  /* Shadows */
  --shadow-card:       0 2px 12px rgba(34,34,34,.07), 0 1px 4px rgba(34,34,34,.04);
  --shadow-card-hover: 0 8px 28px rgba(34,34,34,.11), 0 2px 8px rgba(34,34,34,.05);

  /* Transitions */
  --t-fast: 160ms ease;
  --t-base: 260ms ease;
  --t-slow: 400ms ease;
}


/* ═══════════════════════════════════════════════════
   2. RESET & BASE
   ═══════════════════════════════════════════════════ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

input, textarea, select {
  font-family: inherit;
}


/* ═══════════════════════════════════════════════════
   3. TYPOGRAPHY
   ═══════════════════════════════════════════════════ */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--near-black);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.75rem); }
h2 { font-size: clamp(1.875rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.375rem, 2.5vw, 1.875rem); }
h4 { font-size: clamp(1.125rem, 2vw, 1.375rem); }

p {
  color: var(--warm-gray);
  line-height: 1.75;
}


/* ═══════════════════════════════════════════════════
   4. UTILITIES
   ═══════════════════════════════════════════════════ */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section {
  padding-block: clamp(var(--sp-16), 8vw, var(--sp-24));
}

/* Eyebrow labels */
.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-3);
}

.eyebrow--light { color: var(--gold-light); }

/* Gold rule */
.gold-rule {
  display: block;
  width: 44px;
  height: 2px;
  background-color: var(--gold);
  margin-top: var(--sp-5);
}
.gold-rule--center { margin-inline: auto; }

/* Text alignment */
.text-center { text-align: center; }
.text-center p { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.875rem 1.875rem;
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition:
    background-color var(--t-fast),
    color var(--t-fast),
    border-color var(--t-fast),
    box-shadow var(--t-fast);
  cursor: pointer;
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn--primary {
  background-color: var(--gold);
  color: var(--near-black);
  border: 1.5px solid var(--gold);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: var(--gold-muted);
  border-color: var(--gold-muted);
}

.btn--outline {
  background-color: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
}
.btn--outline:hover,
.btn--outline:focus-visible {
  background-color: var(--charcoal);
  color: var(--ivory);
}

.btn--outline-light {
  background-color: transparent;
  color: var(--ivory);
  border: 1.5px solid rgba(248,245,238,0.4);
}
.btn--outline-light:hover,
.btn--outline-light:focus-visible {
  background-color: var(--ivory);
  color: var(--near-black);
  border-color: var(--ivory);
}

.btn--ghost {
  padding-inline: 0;
  background: transparent;
  color: var(--charcoal);
  border: none;
  border-bottom: 1.5px solid var(--gold);
  border-radius: 0;
  padding-bottom: 2px;
}
.btn--ghost:hover { color: var(--gold-muted); }


/* ═══════════════════════════════════════════════════
   5. SKIP LINK
   ═══════════════════════════════════════════════════ */

.skip-link {
  position: absolute;
  top: -120%;
  left: var(--sp-4);
  z-index: 9999;
  background: var(--near-black);
  color: var(--ivory);
  padding: var(--sp-3) var(--sp-6);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0 0 var(--r-md) var(--r-md);
  transition: top var(--t-fast);
}
.skip-link:focus {
  top: 0;
  outline: none;
}


/* ═══════════════════════════════════════════════════
   6. HEADER & NAVIGATION
   ═══════════════════════════════════════════════════ */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition:
    background-color var(--t-slow),
    box-shadow var(--t-slow);
}

.site-header.scrolled {
  background-color: var(--ivory);
  box-shadow: 0 1px 0 var(--border), 0 4px 20px rgba(34,34,34,.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
}

/* Logo */
.site-logo {
  display: inline-flex;
  flex-shrink: 0;
  line-height: 1;
}

/* ── Header logo — width-driven for horizontal lockup ── */
.site-header .site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.site-header .site-logo-img {
  display: block;
  width: 280px;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  border-radius: 0;
}

/* ── Footer logo — fills the brand column ── */
.site-footer .site-logo {
  display: block;
  width: 100%;
}
.site-footer .site-logo-img {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  mix-blend-mode: screen;
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.logo-mark {
  flex-shrink: 0;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-name {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--near-black);
  text-transform: uppercase;
  line-height: 1;
}

.logo-sub {
  font-family: var(--sans);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  line-height: 1;
}

/* Desktop nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--t-fast);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--t-base);
}
.nav-link:hover { color: var(--near-black); }
.nav-link:hover::after,
.nav-link:focus-visible::after { width: 100%; }
.nav-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}

.nav-cta {
  font-size: 0.75rem;
  padding: 0.625rem 1.25rem;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: var(--sp-2);
  border-radius: var(--r-sm);
  transition: background-color var(--t-fast);
}
.nav-toggle:hover { background-color: var(--ivory-mid); }
.nav-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--charcoal);
  border-radius: 2px;
  transform-origin: center;
  transition: transform var(--t-base), opacity var(--t-fast);
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 190;
  background-color: var(--ivory);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--header-h) var(--pad-x) var(--sp-12);
  gap: var(--sp-10);
  overflow-y: auto;
  pointer-events: none;
  opacity: 0;
  transform: translateX(6%);
  transition: opacity var(--t-base), transform var(--t-base);
}

.mobile-nav.is-open {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.mobile-nav-link {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 400;
  color: var(--near-black);
  padding-block: var(--sp-4);
  border-bottom: 1px solid var(--border);
  line-height: 1.1;
  transition: color var(--t-fast), padding-left var(--t-base);
}
.mobile-nav-link:hover { color: var(--gold); padding-left: var(--sp-3); }

.mobile-nav-cta {
  align-self: flex-start;
}


/* ═══════════════════════════════════════════════════
   7. HERO
   ═══════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background-color: var(--ivory);
  padding-top: var(--header-h);
  overflow: hidden;
}

/* Subtle far-right vertical rule — thin, restrained */
.hero__bg-accent {
  position: absolute;
  right: clamp(2rem, 8vw, 5rem);
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(195,161,95,0.12) 20%,
    rgba(195,161,95,0.12) 80%,
    transparent 100%
  );
  pointer-events: none;
}

.hero__inner {
  padding-block: clamp(var(--sp-16), 8vw, var(--sp-24));
  max-width: 820px;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero__heading {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 5.5vw, 5.5rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--near-black);
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-6);
}

.hero__body {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--warm-gray);
  max-width: 56ch;
  line-height: 1.8;
  margin-bottom: var(--sp-10);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: var(--sp-8);
  left: var(--pad-x);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--light-gray);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; width: 40px; }
  50% { opacity: 1; width: 56px; }
}


/* ═══════════════════════════════════════════════════
   8. PORTFOLIO / OUR COMPANIES
   ═══════════════════════════════════════════════════ */

.portfolio {
  background-color: var(--white);
}

.portfolio__header {
  margin-bottom: clamp(var(--sp-10), 5vw, var(--sp-16));
}

.portfolio__subline {
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--light-gray);
  margin-top: var(--sp-3);
}

/* Uniform 6-company grid: 3 columns × 2 rows */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

/* Card */
.company-card {
  background-color: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform var(--t-base),
    box-shadow var(--t-base),
    border-color var(--t-base);
}
.company-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}
.company-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--gold-light);
}
.company-card:hover::before { transform: scaleX(1); }

.card-tag {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-5);
}

.card-logo {
  margin-bottom: var(--sp-5);
  height: 88px;
  display: flex;
  align-items: center;
}
.card-logo img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

/* Logo with dark/opaque background — displayed as a contained icon */
.card-logo--dark-bg img {
  max-height: 48px;
  width: auto;
  border-radius: var(--r-sm);
  object-fit: contain;
}

/* Character/mascot logos — slightly taller image within the shared 88px zone */
.card-logo--character img {
  max-height: 80px;
  width: auto;
  object-fit: contain;
}

/* Text fallback shown when no logo image is supplied */
.card-logo-text {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--near-black);
  letter-spacing: 0.03em;
}

.card-name {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 400;
  color: var(--near-black);
  margin-bottom: var(--sp-3);
  line-height: 1.2;
}

.card-desc {
  font-size: 0.9375rem;
  color: var(--warm-gray);
  line-height: 1.7;
  flex: 1;
  margin-bottom: var(--sp-6);
}

.company-keyword {
  color: #C3A15F;
  font-weight: 600;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--charcoal);
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: color var(--t-fast), border-color var(--t-fast), gap var(--t-fast);
}
/* Stretched-link: ::after covers the entire card (positioned relative to .company-card) */
.card-link::after {
  content: '';
  position: absolute;
  inset: 0;
}
.card-link:hover {
  color: var(--gold-muted);
  border-color: var(--gold-muted);
  gap: var(--sp-3);
}
.card-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}
.card-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform var(--t-fast);
}
.card-link:hover svg { transform: translateX(2px); }


/* ═══════════════════════════════════════════════════
   9. ABOUT
   ═══════════════════════════════════════════════════ */

.about {
  background-color: var(--charcoal);
  color: var(--ivory);
}
.about h2 { color: var(--ivory); }
.about .eyebrow { color: var(--gold-light); }
.about .gold-rule { background-color: rgba(198,161,91,0.5); }

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-10), 7vw, var(--sp-20));
  align-items: start;
}

.about__text p {
  color: rgba(248,245,238,0.72);
  font-size: 1.0625rem;
  line-height: 1.85;
}
.about__text p + p { margin-top: var(--sp-5); }

/* Values */
.about__values {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding-top: var(--sp-3);
}

.value-row {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
  border: 1px solid rgba(198,161,91,0.15);
  border-radius: var(--r-md);
  transition: border-color var(--t-base), background-color var(--t-base);
}
.value-row:hover {
  border-color: rgba(198,161,91,0.4);
  background-color: rgba(198,161,91,0.04);
}

.value-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: rgba(198,161,91,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
}
.value-icon svg { width: 18px; height: 18px; }

.value-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 2px;
}

.value-desc {
  font-size: 0.875rem;
  color: rgba(248,245,238,0.58);
  line-height: 1.5;
}


/* ═══════════════════════════════════════════════════
   10. PORTFOLIO HIERARCHY
   ═══════════════════════════════════════════════════ */

.hierarchy {
  background-color: var(--ivory);
}
.hierarchy .gold-rule--center { display: none; }

.hierarchy__diagram {
  margin-top: clamp(var(--sp-12), 6vw, var(--sp-16));
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Parent box */
.hierarchy__parent-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-5) clamp(var(--sp-8), 5vw, var(--sp-16));
  background-color: var(--near-black);
  border-radius: var(--r-md);
}
.hierarchy__parent-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.hierarchy__parent-name {
  font-family: var(--serif);
  font-size: clamp(1.125rem, 2.5vw, 1.625rem);
  font-weight: 400;
  color: var(--ivory);
  letter-spacing: 0.06em;
  text-align: center;
}

/* Connector stem */
.hierarchy__stem {
  width: 1.5px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(198,161,91,0.8), rgba(198,161,91,0.2));
}

/* Children wrapper with top crossbar */
.hierarchy__children-wrap {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
}

.hierarchy__crossbar {
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1.5px;
  background: linear-gradient(to right, transparent, rgba(198,161,91,0.4) 10%, rgba(198,161,91,0.4) 90%, transparent);
}

.hierarchy__children {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-3);
  padding-top: 44px;
}

.hierarchy__child {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
/* Vertical drop from crossbar to each card */
.hierarchy__child::before {
  content: '';
  width: 1.5px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(198,161,91,0.4), rgba(198,161,91,0.15));
  position: absolute;
  top: calc(-44px);
  left: 50%;
  transform: translateX(-50%);
}

.hierarchy__child-card {
  width: 100%;
  text-align: center;
  padding: var(--sp-4) var(--sp-3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background-color: var(--white);
  text-decoration: none;
  display: block;
  transition:
    border-color var(--t-base),
    box-shadow var(--t-base),
    transform var(--t-base);
}
.hierarchy__child-card:hover {
  border-color: var(--gold-light);
  box-shadow: 0 4px 16px rgba(198,161,91,0.12);
  transform: translateY(-3px);
}
.hierarchy__child-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.hierarchy__child-name {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--near-black);
  line-height: 1.3;
}
.hierarchy__child-sector {
  font-size: 0.6875rem;
  color: var(--light-gray);
  margin-top: var(--sp-1);
  letter-spacing: 0.04em;
}


/* ═══════════════════════════════════════════════════
   11. FOUNDER
   ═══════════════════════════════════════════════════ */

.founder {
  background-color: var(--white);
}

.founder__grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(var(--sp-10), 6vw, var(--sp-16));
  align-items: start;
}

/* Photo column */
.founder__photo-col {
  position: relative;
}
.founder__photo-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background-color: var(--ivory-mid);
  aspect-ratio: 3 / 4;
  z-index: 1;
}
.founder__photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
/* Decorative offset border */
.founder__photo-col::after {
  content: '';
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1.5px solid var(--gold);
  border-radius: var(--r-lg);
  pointer-events: none;
  z-index: 0;
}

/* Photo placeholder */
.founder__placeholder {
  width: 100%;
  height: 100%;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  background-color: var(--ivory-mid);
}
.founder__placeholder-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--ivory-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-gray);
}
.founder__placeholder-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light-gray);
}

/* Content column */
.founder__content {
  padding-top: var(--sp-3);
}
.founder__name {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--near-black);
  margin-top: var(--sp-3);
  margin-bottom: var(--sp-2);
}
.founder__title-line {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-6);
}
.founder__bio p {
  font-size: 1.0625rem;
  color: var(--warm-gray);
  line-height: 1.85;
}
.founder__bio p + p { margin-top: var(--sp-5); }

.founder__social {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--charcoal);
  padding: var(--sp-3) var(--sp-5);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition:
    border-color var(--t-fast),
    color var(--t-fast),
    background-color var(--t-fast);
}
.social-btn:hover {
  border-color: var(--gold);
  color: var(--gold-muted);
  background-color: rgba(198,161,91,0.04);
}
.social-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.social-btn svg { width: 16px; height: 16px; flex-shrink: 0; }


/* ═══════════════════════════════════════════════════
   12. CONTACT
   ═══════════════════════════════════════════════════ */

.contact {
  background-color: var(--ivory);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(var(--sp-10), 6vw, var(--sp-16));
  align-items: start;
}

.contact__info {
  padding-top: var(--sp-2);
}
.contact__info-lead {
  font-size: 1.0625rem;
  color: var(--warm-gray);
  line-height: 1.75;
  margin-top: var(--sp-4);
  margin-bottom: var(--sp-10);
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  margin-bottom: var(--sp-8);
}
.contact__detail-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-1);
  display: block;
}
.contact__detail-value {
  font-size: 0.9375rem;
  color: var(--charcoal);
}
.contact__detail-value a {
  transition: color var(--t-fast);
}
.contact__detail-value a:hover { color: var(--gold-muted); }

.contact__socials {
  display: flex;
  gap: var(--sp-3);
}
.contact-social-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--charcoal);
  transition:
    border-color var(--t-fast),
    color var(--t-fast),
    background-color var(--t-fast);
}
.contact-social-btn:hover {
  border-color: var(--gold);
  color: var(--gold-muted);
  background-color: rgba(198,161,91,0.05);
}
.contact-social-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.contact-social-btn svg { width: 18px; height: 18px; }

/* Form card */
.contact-form-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(var(--sp-8), 4vw, var(--sp-12));
  box-shadow: var(--shadow-card);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}
.form-label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--charcoal);
}
.form-label .req {
  color: var(--gold);
  margin-left: 2px;
}
.form-control {
  font-size: 0.9375rem;
  color: var(--charcoal);
  background-color: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.75rem 1rem;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(198,161,91,0.12);
}
.form-control::placeholder { color: var(--light-gray); }
textarea.form-control {
  min-height: 130px;
  resize: vertical;
  line-height: 1.65;
}

.form-footer {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
  flex-wrap: wrap;
}
.form-msg {
  font-size: 0.875rem;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-sm);
  display: none;
}
.form-msg.success {
  display: block;
  background-color: rgba(198,161,91,0.08);
  border: 1px solid rgba(198,161,91,0.25);
  color: var(--gold-muted);
}
.form-msg.error {
  display: block;
  background-color: rgba(180,50,50,0.06);
  border: 1px solid rgba(180,50,50,0.2);
  color: #9e2a2a;
}


/* ═══════════════════════════════════════════════════
   13. FOOTER
   ═══════════════════════════════════════════════════ */

.site-footer {
  background-color: var(--near-black);
  padding-block: clamp(var(--sp-12), 6vw, var(--sp-20));
}

.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(var(--sp-8), 5vw, var(--sp-16));
  padding-bottom: clamp(var(--sp-10), 5vw, var(--sp-16));
  border-bottom: 1px solid rgba(248,245,238,0.08);
  margin-bottom: clamp(var(--sp-8), 4vw, var(--sp-10));
}

.footer__brand .logo-name { color: var(--ivory); }
.footer__brand .logo-sub { color: var(--gold); }

.footer__tagline {
  font-size: 0.9375rem;
  font-style: italic;
  color: rgba(248,245,238,0.38);
  line-height: 1.65;
  margin-top: var(--sp-5);
}

.footer-nav-heading {
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.footer-link {
  font-size: 0.9rem;
  color: rgba(248,245,238,0.52);
  line-height: 1.4;
  transition: color var(--t-fast);
}
.footer-link:hover { color: var(--ivory); }
.footer-link:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.footer__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-6);
  flex-wrap: wrap;
}
.footer__copy {
  font-size: 0.8125rem;
  color: rgba(248,245,238,0.3);
  line-height: 1.5;
}
.footer__legal {
  font-size: 0.8125rem;
  color: rgba(248,245,238,0.25);
  max-width: 46ch;
  text-align: right;
  line-height: 1.5;
}


/* ═══════════════════════════════════════════════════
   14. INNER PAGES
   ═══════════════════════════════════════════════════ */

/* Shared inner page header */
.inner-header {
  padding-top: calc(var(--header-h) + clamp(var(--sp-12), 6vw, var(--sp-20)));
  padding-bottom: clamp(var(--sp-10), 5vw, var(--sp-16));
  background-color: var(--ivory);
  border-bottom: 1px solid var(--border);
}
.inner-header h1 { color: var(--near-black); }
.inner-header .eyebrow { margin-bottom: var(--sp-3); }
.inner-updated {
  font-size: 0.875rem;
  color: var(--light-gray);
  margin-top: var(--sp-3);
}

/* Privacy page */
.privacy-body {
  padding-block: clamp(var(--sp-12), 6vw, var(--sp-20));
  max-width: var(--max-w-text);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.privacy-body h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  color: var(--near-black);
  margin-top: var(--sp-12);
  margin-bottom: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
}
.privacy-body h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.privacy-body p { margin-bottom: var(--sp-4); }
.privacy-body ul {
  list-style: disc;
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-4);
}
.privacy-body ul li {
  color: var(--warm-gray);
  line-height: 1.7;
  margin-bottom: var(--sp-2);
}
.privacy-body a {
  color: var(--gold-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.privacy-body a:hover { color: var(--charcoal); }

/* 404 page */
.not-found-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--ivory);
  padding-top: var(--header-h);
  text-align: center;
}
.not-found-code {
  font-family: var(--serif);
  font-size: clamp(6rem, 16vw, 11rem);
  font-weight: 300;
  color: rgba(198,161,91,0.18);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-4);
}
.not-found-heading {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  color: var(--near-black);
  margin-bottom: var(--sp-4);
  max-width: 18ch;
  margin-inline: auto;
}
.not-found-body {
  font-size: 1.0625rem;
  color: var(--warm-gray);
  max-width: 42ch;
  margin-inline: auto;
  margin-bottom: var(--sp-10);
}
.not-found-actions {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
}


/* ═══════════════════════════════════════════════════
   15. ANIMATIONS
   ═══════════════════════════════════════════════════ */

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }

/* Hero entrance */
.hero__eyebrow,
.hero__heading,
.hero__body,
.hero__actions {
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero__eyebrow  { animation-delay: 0.05s; }
.hero__heading  { animation-delay: 0.18s; }
.hero__body     { animation-delay: 0.32s; }
.hero__actions  { animation-delay: 0.46s; }

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

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}


/* ═══════════════════════════════════════════════════
   16. RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════ */

/* ── Large tablet / small desktop (≤ 1100px) ── */
@media (max-width: 1100px) {
  .hierarchy__children {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-4);
    margin-top: var(--sp-8);
  }
  .hierarchy__crossbar { display: none; }
  .hierarchy__child::before { display: none; }
  .hierarchy__child { padding-top: 0; }
  .hierarchy__children-wrap { padding-top: 0; }
  .hierarchy__stem { display: none; }

  /* Re-add a simple top margin gap */
  .hierarchy__children {
    margin-top: var(--sp-8);
  }
}

/* ── Tablet (≤ 1023px) ── */
@media (max-width: 1023px) {
  .primary-nav,
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header .site-logo-img { width: 220px; }

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

  .about__grid { grid-template-columns: 1fr; gap: var(--sp-12); }

  .founder__grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }
  .founder__photo-col::after { display: none; }

  .contact__grid { grid-template-columns: 1fr; gap: var(--sp-10); }

  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ── Mobile (≤ 767px) ── */
@media (max-width: 767px) {
  :root { --header-h: 72px; }
  .site-header .site-logo-img { width: 175px; }

  .portfolio-grid { grid-template-columns: 1fr; }

  .hierarchy__children { grid-template-columns: 1fr 1fr; }

  .form-row-2 { grid-template-columns: 1fr; }

  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .footer__legal { text-align: left; }

  .not-found-actions { flex-direction: column; align-items: center; }
  .not-found-actions .btn { width: 100%; max-width: 280px; }
}

/* ── Small mobile (≤ 479px) ── */
@media (max-width: 479px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }

  .hierarchy__children { grid-template-columns: 1fr; }

  .founder__social { flex-direction: column; align-items: flex-start; }
}
