/* ═══════════════════════════════════════════
   HERMÈS THEME — Global Styles
   johnfdoherty.com
═══════════════════════════════════════════ */

/* ─── Reset & Variables ─────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #1a1a1a; line-height: 1.6;
  -webkit-font-smoothing: antialiased; background: #fff;
}
:root {
  --black: #1a1a1a; --charcoal: #2d2d2d; --dark: #0f172a;
  --slate: #6b7280; --muted: #9ca3af;
  --border: #e5e5e5; --border-light: #f0f0f0;
  --cream: #faf9f7; --white: #ffffff;
  --orange: #ee5a24; --orange-dark: #d44a18; --orange-light: #fef0ea;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
  --max-w: 1100px;
}
img { max-width: 100%; display: block; border-radius: 12px; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }

/* ─── Typography ────────────────────────── */
h1, h2, h3, h4 { font-family: var(--serif); color: var(--black); }
h1 { font-size: clamp(2.8rem, 6vw, 4.2rem); font-weight: 500; line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 500; line-height: 1.12; }
h3 { font-size: 1.35rem; font-weight: 600; line-height: 1.25; }
p { color: var(--slate); line-height: 1.8; font-size: 0.95rem; }
.eyebrow {
  font-family: var(--sans); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange);
}

/* ─── Buttons ───────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.04em; padding: 16px 36px;
  border-radius: 6px; transition: all 0.3s ease;
  cursor: pointer; border: none; white-space: nowrap;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline { background: transparent; color: var(--black); border: 1.5px solid var(--black); }
.btn-outline:hover { background: var(--black); color: #fff; }
.btn-text {
  background: none; border: none; padding: 0;
  color: var(--orange); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.04em; display: inline-flex; align-items: center; gap: 8px;
  transition: gap 0.3s; cursor: pointer;
}
.btn-text:hover { gap: 14px; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ─── Section Helpers ───────────────────── */
.section { padding: 96px 0; }
.section--cream { background: var(--cream); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 640px; margin: 0 auto; }

/* ─── Breadcrumbs ──────────────────────── */
.breadcrumbs {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 32px 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--muted);
}
.breadcrumbs a { color: var(--slate); transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--orange); }
.breadcrumbs .breadcrumb_last { color: var(--charcoal); font-weight: 500; }

/* ─── Navigation ────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; height: 76px;
}
.nav-monogram { height: 42px; display: flex; align-items: center; }
.nav-monogram img { height: 100%; width: auto; border-radius: 0; }
.nav-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--black); margin-left: 14px; margin-right: auto; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a { font-size: 0.82rem; font-weight: 500; color: var(--slate); letter-spacing: 0.02em; transition: color 0.2s; }
.nav-links a:hover { color: var(--black); }
.nav-cta { color: var(--orange) !important; font-weight: 600 !important; border-bottom: 1.5px solid var(--orange); padding-bottom: 2px; }
.nav-cta:hover { color: var(--orange-dark) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--black); margin: 6px 0; }

/* Mobile nav open state */
.nav-links.nav-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 76px; left: 0; right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-light);
  gap: 20px;
}

/* ─── Footer ────────────────────────────── */
.footer { background: var(--dark); padding: 72px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 56px; margin-bottom: 56px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-monogram { height: 36px; }
.footer-monogram img { height: 100%; width: auto; border-radius: 0; filter: brightness(0) invert(1); }
.footer-brand-name { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: #fff; }
.footer-desc { font-size: 0.85rem; color: rgba(255,255,255,0.4); line-height: 1.75; margin-bottom: 24px; }
.footer-social { display: flex; gap: 16px; }
.footer-social a { font-size: 0.78rem; color: rgba(255,255,255,0.35); letter-spacing: 0.06em; font-weight: 500; transition: color 0.2s; }
.footer-social a:hover { color: rgba(255,255,255,0.7); }
.footer h4 {
  font-family: var(--sans); color: rgba(255,255,255,0.9); font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 22px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.75); }
.footer-bottom {
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.2); }

/* ─── Capacity Meter ────────────────────── */
.capacity-meter {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
  margin-top: 20px;
}
.capacity-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.capacity-label span {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--charcoal);
}
.capacity-label .capacity-count {
  font-size: 0.75rem;
  color: var(--slate);
  font-weight: 500;
}
.capacity-track {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.capacity-fill {
  height: 100%;
  background: var(--orange);
  border-radius: 4px;
  transition: width 0.6s ease;
}
.capacity-note {
  font-family: var(--sans);
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 8px;
  text-align: center;
}

/* ─── Two Types Section (shared) ────────── */
.two-types { padding: 96px 0; }
.two-types .section-header { text-align: center; margin-bottom: 56px; }
.two-types .section-header h2 { margin-bottom: 16px; }
.two-types .section-header p { max-width: 640px; margin: 0 auto; }
.two-types-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.type-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 36px;
}
.type-card__label {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-light);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.type-card h3 { margin-bottom: 8px; }
.type-card__revenue {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.type-card > p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 20px;
}
.type-card__traits {
  list-style: none;
  padding: 0;
}
.type-card__traits li {
  font-size: 0.85rem;
  color: var(--charcoal);
  padding: 10px 0;
  padding-left: 24px;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}
.type-card__traits li:last-child { border-bottom: none; }
.type-card__traits li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 600;
}
.two-types-footer {
  text-align: center;
  max-width: 700px;
  margin: 40px auto 0;
}
.two-types-footer p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.8;
}

/* ─── Page Header ───────────────────────── */
.page-header {
  padding: 120px 0 80px;
  background: linear-gradient(165deg, #faf9f7 0%, #f5f0eb 40%, #faf9f7 70%, #f7f3ee 100%);
  position: relative;
  overflow: hidden;
  margin-top: 76px;
}
.page-header-content {
  position: relative;
  z-index: 2;
}
.page-header h1 {
  color: var(--black);
  margin-bottom: 12px;
  text-align: center;
}
.page-header-eyebrow {
  display: block;
  text-align: center;
  margin-bottom: 20px;
}

/* ─── Responsive: Global ────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-types-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-inner {
    display: grid;
    grid-template-columns: 42px 1fr 40px;
    align-items: center;
    height: 64px;
  }
  .nav-monogram { gap: 0; }
  .nav-name {
    text-align: center;
    font-size: 1.15rem;
    margin-left: 0;
    margin-right: 0;
  }
  .nav-toggle {
    justify-self: end;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .container { padding: 0 24px; }
}
