@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --ink:       #0e0e0e;
  --ink-soft:  #3a3a3a;
  --ink-muted: #7a7a7a;
  --surface:   #f7f5f1;
  --surface-2: #eeebe5;
  --gold:      #b8955a;
  --gold-light:#d4b483;
  --white:     #ffffff;
  --navy:      #111827;
  --navy-mid:  #1e2d40;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 2px;
  --max-w: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

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

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.display { font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 300; line-height: 1.05; }
.headline { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 400; }
.subhead { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 300; font-style: italic; }
.label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── LAYOUT ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }
.section--lg { padding: 9rem 0; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 2.5rem;
  background: rgba(14,14,14,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184,149,90,0.15);
  transition: background 0.3s var(--ease);
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--white);
}
.nav__logo span { color: var(--gold); }
.nav__links { display: flex; gap: 2.5rem; align-items: center; }
.nav__links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--white); }
.nav__cta {
  display: inline-flex; align-items: center;
  padding: 0.55rem 1.4rem;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.1em !important;
  transition: background 0.2s, color 0.2s !important;
}
.nav__cta:hover { background: var(--gold); color: var(--ink) !important; }

.nav__hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav__hamburger span { display: block; width: 24px; height: 1px; background: white; }

/* ── HERO / CAROUSEL ── */
.hero {
  position: relative;
  height: 100vh; min-height: 600px;
  overflow: hidden;
  background: var(--navy);
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.hero__slide.active { opacity: 1; }
.hero__slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.35);
}
.hero__slide-content {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto; padding: 0 2rem;
  padding-top: 6rem;
}
.hero__slide-content .label { margin-bottom: 1.5rem; }
.hero__slide-content h1 {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 300;
  color: var(--white);
  max-width: 800px;
  line-height: 1.08;
  margin-bottom: 1.5rem;
}
.hero__slide-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero__dots {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.75rem; z-index: 3;
}
.hero__dot {
  width: 28px; height: 2px;
  background: rgba(255,255,255,0.3);
  cursor: pointer; transition: background 0.3s;
}
.hero__dot.active { background: var(--gold); }
.hero__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3; cursor: pointer;
  width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.2rem;
  transition: border-color 0.2s, background 0.2s;
}
.hero__arrow:hover { border-color: var(--gold); background: rgba(184,149,90,0.1); }
.hero__arrow--prev { left: 2rem; }
.hero__arrow--next { right: 2rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 2rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-light); }
.btn--outline { border: 1px solid var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--outline-light { border: 1px solid rgba(255,255,255,0.4); color: var(--white); }
.btn--outline-light:hover { border-color: var(--gold); color: var(--gold); }
.btn--ghost {
  color: var(--gold); padding: 0;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  border-bottom: 1px solid transparent;
}
.btn--ghost:hover { border-bottom-color: var(--gold); }
.btn--ghost::after { content: ' →'; }

/* ── METRICS ── */
.metrics { background: var(--navy); padding: 5rem 0; }
.metrics__grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.metrics__item {
  padding: 2.5rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.07);
  text-align: center;
}
.metrics__item:last-child { border-right: none; }
.metrics__value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.metrics__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.4rem;
}
.metrics__desc { font-size: 0.75rem; color: rgba(255,255,255,0.3); }

/* ── STRATEGY ── */
.strategy { background: var(--surface); }
.strategy__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: start;
}
.strategy__intro p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-top: 1.5rem;
  max-width: 480px;
}
.strategy__pillars { display: flex; flex-direction: column; gap: 0; }
.strategy__pillar {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--surface-2);
  display: grid; grid-template-columns: 3rem 1fr;
  gap: 1rem; align-items: start;
}
.strategy__pillar:first-child { border-top: 1px solid var(--surface-2); }
.strategy__num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--gold);
  padding-top: 0.15rem;
}
.strategy__pillar h3 { font-size: 1rem; font-weight: 500; margin-bottom: 0.4rem; }
.strategy__pillar p { font-size: 0.9rem; color: var(--ink-soft); }

/* ── ABOUT PREVIEW ── */
.about-preview { background: var(--navy); color: var(--white); }
.about-preview__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center;
}
.about-preview__img {
  aspect-ratio: 4/3;
  background: var(--navy-mid);
  overflow: hidden;
  position: relative;
}
.about-preview__img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(184,149,90,0.1) 0%, transparent 60%);
}
.about-preview__img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1rem;
  color: rgba(255,255,255,0.15); letter-spacing: 0.1em;
}
.about-preview__text .label { margin-bottom: 1.25rem; }
.about-preview__text h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--white);
  margin-bottom: 1.5rem;
}
.about-preview__text .richtext {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
}
.about-preview__text .richtext p { margin-bottom: 1rem; }
.about-preview__text .btn--ghost { color: var(--gold); margin-top: 2rem; display: inline-flex; }

/* ── FEATURED PORTCOS ── */
.featured-portcos { background: var(--surface-2); }
.featured-portcos__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--surface-2);
  margin-top: 3rem;
  border: 1px solid rgba(0,0,0,0.07);
}
.portco-card {
  background: var(--surface);
  padding: 2.5rem;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
}
.portco-card:hover { background: var(--white); }
.portco-card__logo {
  width: 48px; height: 48px;
  background: var(--surface-2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 600;
  color: var(--gold);
}
.portco-card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.portco-card__sector { font-size: 0.72rem; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; margin-bottom: 0.75rem; }
.portco-card p { font-size: 0.875rem; color: var(--ink-soft); line-height: 1.5; }
.portco-card__status {
  display: inline-block; margin-top: 1.25rem;
  font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.25rem 0.6rem;
}
.portco-card__status--active { background: rgba(184,149,90,0.12); color: var(--gold); }
.portco-card__status--exited { background: rgba(0,0,0,0.06); color: var(--ink-muted); }

/* ── SECTION HEADERS ── */
.section-header { margin-bottom: 4rem; }
.section-header h2 { margin-top: 0.75rem; }
.section-header p { font-size: 1rem; color: var(--ink-soft); max-width: 560px; margin-top: 1rem; }

/* ── PAGE HERO ── */
.page-hero {
  background: var(--navy);
  padding: 10rem 0 5rem;
  border-bottom: 1px solid rgba(184,149,90,0.15);
}
.page-hero .label { margin-bottom: 1.25rem; }
.page-hero h1 { color: var(--white); max-width: 700px; margin-bottom: 1.25rem; }
.page-hero p { color: rgba(255,255,255,0.55); max-width: 580px; font-size: 1.05rem; }

/* ── TEAM PAGE ── */
.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; margin-top: 3rem;
}
.team-card {
  background: var(--white);
  overflow: hidden;
  transition: transform 0.2s var(--ease);
}
.team-card:hover { transform: translateY(-4px); }
.team-card__photo {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy));
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 1.5rem; font-family: var(--font-display);
  font-size: 3rem; color: rgba(184,149,90,0.3);
}
.team-card__info { padding: 1.5rem; }
.team-card__info h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.team-card__title { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 1rem; }
.team-card__bio { font-size: 0.875rem; color: var(--ink-soft); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.team-card__links { display: flex; gap: 1rem; margin-top: 1.25rem; }
.team-card__links a { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); transition: color 0.2s; }
.team-card__links a:hover { color: var(--gold); }

/* ── PORTFOLIO PAGE ── */
.portfolio-filters {
  display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 3rem;
}
.filter-btn {
  padding: 0.4rem 1rem;
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500;
  border: 1px solid var(--surface-2);
  cursor: pointer; transition: all 0.2s;
  background: var(--white); color: var(--ink-soft);
  font-family: var(--font-body);
}
.filter-btn.active, .filter-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

.portco-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.portco-full-card {
  background: var(--white);
  padding: 2rem;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  border: 1px solid transparent;
}
.portco-full-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.portco-full-card__header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.portco-full-card__logo {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--surface-2); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1rem; color: var(--gold);
}
.portco-full-card h3 { font-size: 1.05rem; }
.portco-full-card__sector { font-size: 0.68rem; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }
.portco-full-card__tagline { font-size: 0.875rem; color: var(--ink-soft); margin-bottom: 1.25rem; line-height: 1.5; }
.portco-full-card__meta { display: flex; gap: 1.25rem; font-size: 0.72rem; color: var(--ink-muted); }
.portco-full-card__meta span::before { content: ''; }

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center;
  padding: 2rem;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--surface); max-width: 720px; width: 100%;
  max-height: 85vh; overflow-y: auto;
  padding: 3rem;
  position: relative;
}
.modal__close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  cursor: pointer; font-size: 1.2rem; color: var(--ink-muted);
  transition: color 0.2s; background: none; border: none;
}
.modal__close:hover { color: var(--ink); }
.modal__sector { font-size: 0.7rem; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; margin-bottom: 0.75rem; }
.modal h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.modal__tagline { color: var(--ink-soft); margin-bottom: 2rem; font-style: italic; }
.modal__richtext h2 { font-size: 1.25rem; margin: 1.5rem 0 0.5rem; }
.modal__richtext p { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 1rem; line-height: 1.7; }
.modal__meta { display: flex; gap: 2rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--surface-2); }
.modal__meta-item { }
.modal__meta-label { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); font-weight: 500; margin-bottom: 0.25rem; }
.modal__meta-value { font-family: var(--font-display); font-size: 1rem; }

/* ── BLOG ── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.post-card { background: var(--white); overflow: hidden; display: flex; flex-direction: column; }
.post-card__cover {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); color: rgba(184,149,90,0.2); font-size: 2rem;
}
.post-card__body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.post-card__tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.post-card__tag { font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.post-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; line-height: 1.3; }
.post-card p { font-size: 0.875rem; color: var(--ink-soft); line-height: 1.6; flex: 1; }
.post-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--surface-2); }
.post-card__author { font-size: 0.75rem; color: var(--ink-muted); }
.post-card__date { font-size: 0.72rem; color: var(--ink-muted); }

/* ── POST SINGLE ── */
.post-header { background: var(--navy); padding: 10rem 0 5rem; }
.post-header .label { margin-bottom: 1.25rem; }
.post-header h1 { color: var(--white); max-width: 760px; font-size: clamp(2rem, 4vw, 3.5rem); }
.post-header__meta { margin-top: 1.5rem; display: flex; gap: 2rem; font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.post-body { max-width: 720px; margin: 0 auto; padding: 5rem 2rem; }
.post-body h2 { font-size: 1.75rem; margin: 2.5rem 0 1rem; }
.post-body h3 { font-size: 1.25rem; margin: 2rem 0 0.75rem; }
.post-body p { margin-bottom: 1.25rem; color: var(--ink-soft); font-size: 1rem; }
.post-body ul, .post-body ol { padding-left: 1.5rem; margin-bottom: 1.25rem; color: var(--ink-soft); }
.post-body li { margin-bottom: 0.4rem; }
.post-body strong { color: var(--ink); font-weight: 500; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; }
.contact-details { }
.contact-details .label { margin-bottom: 1.5rem; }
.contact-detail { margin-bottom: 2rem; }
.contact-detail__label { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); font-weight: 500; margin-bottom: 0.4rem; }
.contact-detail__value { font-family: var(--font-display); font-size: 1.1rem; }
.contact-form { }
.contact-form h3 { font-size: 1.5rem; margin-bottom: 2rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; color: var(--ink-soft); margin-bottom: 0.5rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.85rem 1rem;
  border: 1px solid var(--surface-2); background: var(--white);
  font-family: var(--font-body); font-size: 0.9rem; color: var(--ink);
  transition: border-color 0.2s; outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { height: 140px; resize: vertical; }

/* ── FOOTER ── */
.footer { background: var(--ink); color: rgba(255,255,255,0.5); padding: 4rem 0 2rem; }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer__brand { }
.footer__brand-name { font-family: var(--font-display); font-size: 1.1rem; color: var(--white); margin-bottom: 1rem; }
.footer__brand-name span { color: var(--gold); }
.footer__brand p { font-size: 0.82rem; line-height: 1.6; max-width: 280px; }
.footer__col h4 { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; color: rgba(255,255,255,0.3); margin-bottom: 1.25rem; font-family: var(--font-body); }
.footer__col ul { list-style: none; }
.footer__col ul li { margin-bottom: 0.6rem; }
.footer__col ul li a { font-size: 0.85rem; transition: color 0.2s; }
.footer__col ul li a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 1.5rem; display: flex; justify-content: space-between; font-size: 0.75rem; }

/* ── ABOUT PAGE ── */
.story-section { }
.story-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.story-img {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); color: rgba(184,149,90,0.15); font-size: 3rem;
}
.story-text .richtext h2 { font-size: 1.5rem; margin: 2rem 0 0.75rem; }
.story-text .richtext p { color: var(--ink-soft); margin-bottom: 1rem; line-height: 1.75; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 3rem; }
.value-card { padding: 2rem; background: var(--white); border-left: 3px solid var(--gold); }
.value-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.value-card p { font-size: 0.875rem; color: var(--ink-soft); line-height: 1.65; }

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--surface-2); margin: 0 2rem; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .metrics__grid { grid-template-columns: repeat(3, 1fr); }
  .metrics__item:nth-child(3) { border-right: none; }
  .strategy__inner, .about-preview__inner, .story-inner, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .team-grid, .portco-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-portcos__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .metrics__grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid, .portco-grid, .blog-grid { grid-template-columns: 1fr; }
  .featured-portcos__grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}
