/* ─────────────────────────────────────────────
   TOKENS
───────────────────────────────────────────── */
:root {
  --lavender:    #bec0d1;
  --cream:       #ede9e3;
  --gold:        #b8aa6c;
  --navy:        #1c1f3a;
  --salmon:      #e6b0a0;
  --nav-bg:      #f5f1ec;
  --ink:         #1e1f2a;
  --muted:       #4d4e5e;
  --quiet:       #808092;
  --line:        rgba(30, 31, 42, 0.11);
  --serif:       'Cormorant Garamond', ui-serif, Georgia, serif;
  --sans:        'Inter', ui-sans-serif, system-ui, sans-serif;
  --r-card:      24px;
  --r-pill:      999px;
  --r-img:       28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

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

/* ─────────────────────────────────────────────
   FADE-UP ANIMATION
───────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}
.fade-delay { transition-delay: 0.18s; }

/* hero elements animate on load, not scroll */
.hero .fade-up {
  animation: fadeInUp 0.75s ease forwards;
}
.hero .fade-delay { animation-delay: 0.22s; }

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

/* ─────────────────────────────────────────────
   NAV
───────────────────────────────────────────── */
.site-header {
  align-items: center;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  padding: 16px clamp(24px, 5vw, 64px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 100;
}

.brand {
  font-family: var(--sans);
  font-size: 0.97rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav-links {
  align-items: center;
  display: flex;
  font-size: 0.9rem;
  gap: clamp(14px, 3vw, 32px);
}

.nav-links a {
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }

.nav-cta {
  background: var(--ink) !important;
  border-radius: var(--r-pill) !important;
  color: #fff !important;
  padding: 9px 22px !important;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.82 !important; }

/* ─────────────────────────────────────────────
   SHARED TYPOGRAPHY
───────────────────────────────────────────── */
.eyebrow {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.serif-xl {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0;
}

.section-centered { text-align: center; }

/* ─────────────────────────────────────────────
   SHARED BUTTONS
───────────────────────────────────────────── */
.btn-pill {
  border-radius: var(--r-pill);
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 400;
  padding: 13px 36px;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-pill:hover { opacity: 0.82; transform: translateY(-1px); }

.btn-salmon {
  background: var(--salmon);
  border: 1.5px solid var(--salmon);
  color: #3a2520;
}

.btn-outline-dark {
  background: transparent;
  border: 1.5px solid rgba(30, 31, 42, 0.38);
  color: var(--ink);
}

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
  align-items: stretch;
  background: var(--lavender);
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  grid-template-columns: 1fr 1fr;
  min-height: 92vh;
  padding: clamp(88px, 10vw, 100px) clamp(24px, 6vw, 80px) clamp(48px, 6vw, 72px);
}

.hero-copy {
  align-self: center;
  max-width: 560px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3.6rem, 7.5vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.97;
  margin: 0 0 24px;
}

.hero-desc {
  color: var(--muted);
  font-size: clamp(0.97rem, 1.4vw, 1.08rem);
  line-height: 1.7;
  margin: 0 0 36px;
  max-width: 450px;
}

/* Hero photo bleeds to top/left/bottom edges — no rounded corners */
.hero-photo {
  margin-left: calc(-1 * clamp(24px, 6vw, 80px));
  margin-top: calc(-1 * clamp(88px, 10vw, 100px));
  margin-bottom: calc(-1 * clamp(48px, 6vw, 72px));
  position: relative;
}

/* Gradient veil fades photo into lavender bg on right edge */
.hero-photo-veil {
  background: linear-gradient(to left, var(--lavender) 0%, rgba(190, 192, 209, 0) 45%);
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.hero-photo img {
  border-radius: 0;
  height: 100%;
  min-height: min(580px, 72vh);
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

/* ─────────────────────────────────────────────
   APPROACH  (cream bg, split image + text)
───────────────────────────────────────────── */
.approach-section {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

/* Navy company panel replaces photo */
.approach-panel {
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;  /* push list to bottom */
  padding: clamp(48px, 7vw, 96px) 0; /* side padding lives on li so borders bleed full-width */
}

.approach-companies {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.approach-companies li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.25;
  padding: 8px clamp(32px, 5vw, 64px);
  text-align: right;
  transition: color 0.2s;
}
.approach-companies li:first-child { border-top: 1px solid rgba(255, 255, 255, 0.1); }

.approach-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 96px) clamp(32px, 6vw, 80px);
}

.approach-text .serif-xl {
  margin-bottom: 44px;
}

.approach-item { margin-bottom: 32px; }
.approach-item:last-child { margin-bottom: 0; }

.approach-item h3 {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 400;
  margin: 0 0 8px;
}

.approach-item p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.75;
  margin: 0;
}

/* ─────────────────────────────────────────────
   STATS  (dark navy, 3-col badge icons)
───────────────────────────────────────────── */
.stats-section {
  background: var(--navy);
  color: #fff;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: clamp(56px, 7vw, 88px) clamp(24px, 6vw, 80px);
  text-align: center;
}

.stat {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 40px;
}
.stat:last-child { border-right: 0; }

.badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.badge-svg {
  height: 90px;
  width: 90px;
}

.stat h4 {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  margin: 0 0 8px;
}

.stat p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
}

/* ─────────────────────────────────────────────
   WORK  (cream bg, 3 gold cards)
───────────────────────────────────────────── */
.work-section {
  background: var(--cream);
  padding: clamp(56px, 8vw, 104px) clamp(24px, 6vw, 80px);
}

.work-section .serif-xl {
  margin-bottom: clamp(40px, 5vw, 64px);
}

.work-cards {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}

.work-card {
  background: var(--gold);
  border-radius: var(--r-card);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  min-height: 380px;
  padding: clamp(28px, 4vw, 44px);
}

.work-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.18;
  margin: 0;
}

.work-card p {
  color: rgba(30, 31, 42, 0.68);
  flex: 1;
  font-size: 0.93rem;
  line-height: 1.7;
  margin: 24px 0 28px;
}

.work-card a {
  align-self: flex-start;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-size: 0.88rem;
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.work-card a:hover { opacity: 0.6; }

/* ─────────────────────────────────────────────
   WRITING  (lavender bg, 2×2 quote grid)
───────────────────────────────────────────── */
.writing-section {
  background: var(--lavender);
  padding: clamp(56px, 8vw, 104px) clamp(24px, 6vw, 80px);
}

.writing-section .serif-xl {
  margin-bottom: clamp(36px, 5vw, 64px);
}

.writing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.writing-quote {
  border-top: 1px solid rgba(30, 31, 42, 0.15);
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 52px) clamp(24px, 4vw, 52px) clamp(28px, 4vw, 52px) 0;
}

.writing-quote:nth-child(even) {
  border-left: 1px solid rgba(30, 31, 42, 0.15);
  padding-left: clamp(24px, 4vw, 52px);
  padding-right: 0;
}

.writing-quote:nth-child(3),
.writing-quote:nth-child(4) {
  border-bottom: 1px solid rgba(30, 31, 42, 0.15);
}

.writing-quote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.9vw, 1.6rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.42;
  margin: 0 0 auto;
}

.writing-cite {
  align-items: flex-end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-top: 24px;
}

.writing-cite cite {
  color: var(--quiet);
  font-size: 0.84rem;
  font-style: normal;
}
.writing-cite cite em { font-style: italic; }

.writing-cite a {
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-size: 0.84rem;
  flex-shrink: 0;
  padding-bottom: 1px;
  transition: opacity 0.2s;
}
.writing-cite a:hover { opacity: 0.6; }

/* ─────────────────────────────────────────────
   CONTACT CTA  (salmon left + photo right)
───────────────────────────────────────────── */
.contact-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 60vh;
}

.contact-cta-left {
  background: var(--salmon);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 96px) clamp(32px, 6vw, 80px);
}

.contact-cta-left .serif-xl { margin-bottom: 18px; }

.contact-cta-left p {
  color: rgba(30, 31, 42, 0.68);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 32px;
  max-width: 400px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  font-size: 0.88rem;
  gap: 6px;
  margin-top: 18px;
}

.contact-links a {
  border-bottom: 1px solid rgba(30, 31, 42, 0.35);
  align-self: flex-start;
  color: rgba(30, 31, 42, 0.7);
  padding-bottom: 1px;
  transition: opacity 0.2s;
}
.contact-links a:hover { opacity: 0.6; }

/* Highlights panel */
.contact-cta-right {
  background: var(--cream);
  overflow-y: auto;
}

.highlights-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(48px, 7vw, 80px) clamp(32px, 5vw, 60px);
}

.highlights-label {
  color: var(--quiet);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  margin: 0 0 28px;
  text-transform: uppercase;
}

.highlight-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Individual card — same structure for apps and articles */
.highlight-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.highlight-card:hover {
  box-shadow: 0 6px 24px rgba(30, 31, 42, 0.08);
  transform: translateY(-2px);
}

/* Type tag: "App", "Essay", "Interview" etc. */
.hc-tag {
  align-self: flex-start;
  background: var(--lavender);
  border-radius: var(--r-pill);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  text-transform: uppercase;
}

/* Full-time roles — salmon tag */
.highlight-card[data-type="fulltime"] .hc-tag {
  background: var(--salmon);
  color: #3a2520;
}

/* Advisory — gold tag */
.highlight-card[data-type="advisory"] .hc-tag {
  background: var(--gold);
  color: #2a2510;
}

.hc-title {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 400;
  line-height: 1.3;
  margin: 4px 0 0;
}

.hc-desc {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.6;
  margin: 0;
}

.hc-source {
  color: var(--quiet);
  font-size: 0.8rem;
  margin: 0;
}

.hc-link {
  align-self: flex-start;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 6px;
  transition: opacity 0.2s;
}
.hc-link:hover { opacity: 0.6; }

/* ─────────────────────────────────────────────
   FAQ  (cream bg, accordion left + photo right)
───────────────────────────────────────────── */
.faq-section {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 60vh;
}

/* Full-width FAQ (no photo panel) */
.faq-full {
  grid-template-columns: 1fr;
}

.faq-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 7vw, 100px) clamp(32px, 6vw, 80px);
}

.faq-full .faq-left {
  margin: 0 auto;
  max-width: 760px;
  width: 100%;
}

.faq-display {
  margin-bottom: clamp(28px, 4vw, 52px);
  text-align: center;
}

.faq-list { border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-q {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 400;
  gap: 16px;
  justify-content: space-between;
  padding: 20px 0;
  text-align: left;
  width: 100%;
}

.faq-icon {
  color: var(--quiet);
  flex-shrink: 0;
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.32s ease;
}
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease, padding 0.38s ease;
}

.faq-a.open {
  max-height: 300px;
  padding-bottom: 22px;
}

.faq-a p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0;
}

.faq-a a { border-bottom: 1px solid currentColor; }

.faq-right img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* ─────────────────────────────────────────────
   FOOTER  (lavender, 3-col)
───────────────────────────────────────────── */
.site-footer {
  align-items: center;
  background: var(--lavender);
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr 1fr;
  padding: clamp(32px, 5vw, 56px) clamp(24px, 6vw, 80px);
}

.footer-brand {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.8vw, 2.8rem);
  font-weight: 400;
}

.footer-contact {
  color: var(--muted);
  display: flex;
  flex-direction: column;
  font-size: 0.86rem;
  gap: 5px;
  text-align: center;
}

.footer-contact a {
  align-self: center;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.2s;
}
.footer-contact a:hover { opacity: 0.6; }

.footer-tagline {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
  text-align: right;
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 900px) {
  /* Nav pill — smaller on mobile */
  .nav-cta {
    font-size: 0.8rem !important;
    padding: 8px 16px !important;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: clamp(48px, 10vw, 72px);
  }
  .hero-copy { max-width: none; }

  /* Bleed image left + right; pull up by (hero padding-top − nav height) so image
     sits flush with the nav bottom without going behind it */
  .hero-photo {
    margin-left: calc(-1 * clamp(24px, 5vw, 48px));
    margin-right: calc(-1 * clamp(24px, 5vw, 48px));
    margin-top: calc(56px - clamp(88px, 10vw, 100px)); /* 56px ≈ mobile nav height */
    margin-bottom: 0;
  }

  .hero-photo img {
    border-radius: 0;
    height: 72vw;
    min-height: 320px;
    object-position: center top;
  }

  /* On mobile, fade bottom of image into lavender (text is below, not beside) */
  .hero-photo-veil {
    background: linear-gradient(to top, var(--lavender) 0%, rgba(190, 192, 209, 0) 45%);
  }

  .approach-section { grid-template-columns: 1fr; }
  .approach-panel { min-height: 260px; }

  .stats-section { grid-template-columns: 1fr; }
  .stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .stat:last-child { border-bottom: 0; }

  .work-cards { grid-template-columns: 1fr; }
  .work-card { min-height: auto; }

  .writing-grid { grid-template-columns: 1fr; }
  .writing-quote:nth-child(even) {
    border-left: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .writing-quote:nth-child(odd) { padding-right: 0; }

  .contact-cta { grid-template-columns: 1fr; }
  .contact-cta-right { min-height: 300px; order: -1; }

  .faq-section { grid-template-columns: 1fr; }
  .faq-right { display: none; }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-tagline { text-align: center; }
}

@media (max-width: 620px) {
  .site-header { padding: 14px 20px; }
  .nav-links { font-size: 0.85rem; gap: 10px; }
  .hero { padding-left: 20px; padding-right: 20px; }
}
