/* =========================================================
   Samuel Enterprises — quiet, institutional, generational
   Inspired by: Berkshire Partners, BDT & MSD, Pritzker
   ========================================================= */

:root {
  --bg:        #0a1626;
  --bg-2:      #0f1d31;
  --bg-soft:   #f6f2ea;     /* warm cream for inverted sections */
  --bg-soft-2: #efe9dd;
  --line:      rgba(232,213,168,0.16);
  --line-d:    rgba(15,29,49,0.12);
  --gold:      #c7a763;
  --gold-2:    #d9bf85;
  --ink:       #ebe6da;     /* warm cream text on dark */
  --ink-2:     #c7c2b6;
  --ink-3:     #8e8a82;
  --ink-d:     #1c2a3e;     /* deep ink on cream */
  --ink-d-2:   #3c4a5e;
  --ink-d-3:   #6a7384;

  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --container: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
  letter-spacing: 0.005em;
}
img { max-width: 100%; height: auto; display: block; }
a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(199,167,99,0.25);
  padding-bottom: 1px;
  transition: border-color .25s ease, color .25s ease;
}
a:hover { border-bottom-color: var(--gold-2); color: var(--gold-2); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}
.narrow {
  max-width: 760px;
}
.center { text-align: center; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--bg); padding: 10px 14px;
  font-weight: 500; z-index: 1000;
}
.skip:focus { left: 12px; top: 12px; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  padding: 32px 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  border-bottom: 0;
  color: var(--ink);
}
.wordmark {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.nav-links {
  display: flex; gap: 44px; align-items: center;
}
.nav-links a {
  border-bottom: 0;
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 400;
  padding: 4px 0;
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: transparent; border: 0; cursor: pointer; padding: 6px;
  flex-direction: column; gap: 6px;
}
.nav-toggle span { width: 24px; height: 1px; background: var(--ink); display: block; }
.mobile-menu {
  position: fixed; top: 0; left: 0; right: 0;
  background: var(--bg);
  padding: 100px 40px 40px;
  display: flex; flex-direction: column; gap: 24px;
  z-index: 40;
}
.mobile-menu a {
  border-bottom: 0;
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--ink-2);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 120px 0 80px;
  background:
    radial-gradient(1400px 700px at 50% 30%, rgba(199,167,99,0.06), transparent 70%),
    linear-gradient(180deg, #0a1626 0%, #0f1d31 100%);
}
.hero-inner {
  text-align: center;
  flex: 1;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
}
.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(56px, 11vw, 152px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 40px;
  display: flex; flex-direction: column;
  align-items: center;
  gap: 0;
}
.display .line { display: block; }
.display .rule {
  display: block;
  width: clamp(180px, 22vw, 320px);
  height: 1px;
  background: var(--gold);
  margin: clamp(8px, 1.2vw, 18px) 0;
  opacity: 0.7;
}
.tagline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--ink-2);
  letter-spacing: 0.01em;
  margin: 0;
  max-width: 36ch;
}
.hero-meta {
  position: absolute;
  left: 0; right: 0; bottom: 48px;
}
.hero-meta-row {
  display: flex; align-items: center; justify-content: center;
  gap: 14px;
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--ink-3);
}
.hero-meta .dot { color: var(--gold); }

/* =========================================================
   SECTIONS
   ========================================================= */
.section {
  padding: clamp(100px, 14vw, 180px) 0;
  position: relative;
}
.section-soft {
  background: var(--bg-soft);
  color: var(--ink-d);
}
.section-soft .prose { color: var(--ink-d-2); }
.section-soft .eyebrow { color: var(--ink-d-3); }

.section-feature {
  background:
    radial-gradient(900px 500px at 20% 30%, rgba(199,167,99,0.06), transparent 60%),
    var(--bg-2);
}

.section-contact {
  background: var(--bg);
  padding-bottom: clamp(120px, 16vw, 220px);
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 400;
  margin: 0 0 36px;
  display: inline-block;
  position: relative;
  padding-bottom: 16px;
}
.eyebrow::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 32px; height: 1px;
  background: var(--gold);
}
.center .eyebrow {
  display: block;
}
.center .eyebrow::after {
  left: 50%;
  transform: translateX(-50%);
}

.serif {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 28px;
}
.section-soft .serif { color: var(--ink-d); }
#thesis .serif {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.18;
  font-weight: 400;
  letter-spacing: -0.005em;
  max-width: 24ch;
  margin-bottom: 36px;
}
#thesis .prose { max-width: 60ch; }
/* THESIS PILLARS — institutional, no cards */
.pillars {
  list-style: none;
  padding: 0;
  margin: 100px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px 80px;
}
.pillars li {
  position: relative;
  padding-top: 28px;
  border-top: 1px solid var(--line-d);
}
.section-soft .pillars li { border-top-color: rgba(15,29,49,0.14); }
.pillar-no {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin: 0 0 18px;
  text-transform: lowercase;
}
.pillar-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--ink-d);
  margin: 0 0 14px;
}
.pillar-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-d-2);
  font-weight: 300;
  margin: 0;
  max-width: 44ch;
}

.serif.quiet {
  font-style: italic;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 300;
  max-width: 24ch;
  margin-left: auto; margin-right: auto;
}

.prose {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.7;
  color: var(--ink-2);
  font-weight: 300;
  margin: 0 0 24px;
  max-width: 60ch;
}
.center .prose { margin-left: auto; margin-right: auto; }
.prose.lead {
  font-size: clamp(20px, 1.6vw, 24px);
  color: var(--ink);
  font-weight: 300;
  line-height: 1.55;
  margin-bottom: 28px;
}
.section-soft .prose.lead { color: var(--ink-d); }
.prose:last-child { margin-bottom: 0; }

/* =========================================================
   PRINCIPAL
   ========================================================= */
.principal-grid {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 100px;
  align-items: center;
}
.principal-portrait {
  margin: 0;
}
.principal-portrait img {
  width: 100%;
  height: auto;
  filter: grayscale(0.05) contrast(1.02);
}
.principal-copy .serif { margin-bottom: 12px; }
.principal-copy .role {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin: 0 0 36px;
}
.principal-copy .prose { max-width: 56ch; }
.links {
  margin-top: 32px !important;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
}
.links a {
  color: var(--gold-2);
  border-bottom: 1px solid rgba(199,167,99,0.25);
  padding-bottom: 2px;
}
.links a:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-email {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 30px);
  margin: 36px 0 0;
  font-weight: 400;
}
.contact-email a {
  color: var(--gold-2);
  border-bottom: 1px solid rgba(199,167,99,0.3);
  padding-bottom: 4px;
}
.contact-email a:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  background: var(--bg);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.foot-wordmark {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ink-2);
}
.foot-city { color: var(--ink-3); }
.foot-copy { color: var(--ink-3); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .container { padding: 0 28px; }
  .nav { padding: 24px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .pillars {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 72px;
  }
  .principal-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    justify-items: center;
    text-align: left;
  }
  .principal-portrait {
    max-width: 360px;
    width: 78%;
  }
  .principal-copy {
    width: 100%;
  }
  .principal-copy .eyebrow::after { left: 0; transform: none; }
  .footer-inner {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}
@media (max-width: 560px) {
  .container { padding: 0 22px; }
  .display { margin-bottom: 32px; }
  .hero-meta { bottom: 32px; }
  .mobile-menu { padding-top: 84px; }
  .wordmark { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
