/* ══════════════════════════════════════
   ORIGINS PERFORMANCE — GLOBAL STYLES
   style.css
══════════════════════════════════════ */

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

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── Variables ── */
:root {
  --navy:   #07101c;
  --deep:   #0a1525;
  --mid:    #0f1f33;
  --panel:  #111e2e;
  --border: #1e3048;
  --muted:  #2a4060;
  --smoke:  #6a82a0;
  --ash:    #9fb3c8;
  --bone:   #d8dfe8;
  --white:  #f0f4f8;
  --teal:   #3db8c4;
  --gold:   #c4a44a;
}

/* ── Base ── */
body {
  font-family: 'Barlow', sans-serif;
  background: var(--navy);
  color: var(--bone);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Grain texture overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
}

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 70px;
  background: rgba(7,16,28,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
}

.nav-logo {
  display: flex; align-items: center; gap: 12px;
  cursor: pointer; text-decoration: none; z-index: 1100;
}
.nav-emblem svg { width: 28px; height: 32px; }
.nav-wordmark { display: flex; flex-direction: column; gap: 1px; }
.nav-wordmark .nw-top {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight: 700;
  letter-spacing: 0.2em; color: var(--white); line-height: 1;
}
.nav-wordmark .nw-bot {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 7px; font-weight: 500;
  letter-spacing: 0.55em; color: var(--teal);
  line-height: 1; text-transform: uppercase;
}

/* Hamburger */
.hamburger {
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-end;
  gap: 6px; width: 44px; height: 44px;
  cursor: pointer; z-index: 1100;
  background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; height: 2px;
  background: var(--ash); border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.hamburger span:nth-child(1) { width: 28px; }
.hamburger span:nth-child(2) { width: 20px; }
.hamburger span:nth-child(3) { width: 24px; }
.hamburger.open span:nth-child(1) { width: 28px; transform: translateY(8px) rotate(45deg); background: var(--teal); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(8px); }
.hamburger.open span:nth-child(3) { width: 28px; transform: translateY(-8px) rotate(-45deg); background: var(--teal); }

/* Menu Overlay */
.menu-overlay {
  position: fixed; inset: 0;
  z-index: 1050;
  background: var(--navy);
  display: flex; flex-direction: column; justify-content: center;
  padding: 70px 60px 40px;
  opacity: 0; pointer-events: none;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  overflow-y: auto;
}
.menu-overlay.open { opacity: 1; pointer-events: all; transform: translateX(0); }
.menu-overlay::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--teal), transparent);
}
.menu-overlay::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(61,184,196,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,184,196,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.menu-items { list-style: none; display: flex; flex-direction: column; position: relative; z-index: 1; }
.menu-item { border-bottom: 1px solid var(--border); overflow: hidden; }
.menu-item:first-child { border-top: 1px solid var(--border); }
.menu-item > a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; text-decoration: none; transition: padding 0.2s;
}
.menu-item > a:hover { padding-left: 10px; }
.menu-item-left { display: flex; align-items: baseline; gap: 20px; }
.menu-item-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.3em; color: var(--muted);
  min-width: 28px; transition: color 0.2s;
}
.menu-item-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 4vw, 48px); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--bone); line-height: 1; transition: color 0.2s;
}
.menu-item > a:hover .menu-item-name { color: var(--white); }
.menu-item > a:hover .menu-item-num { color: var(--teal); }
.menu-item-arrow { font-size: 18px; color: var(--muted); transition: color 0.2s, transform 0.2s; }
.menu-item > a:hover .menu-item-arrow { color: var(--teal); transform: translateX(6px); }
.menu-sub { list-style: none; padding: 0 0 16px 48px; display: flex; flex-wrap: wrap; gap: 8px; }
.menu-sub li a {
  padding: 6px 14px; border: 1px solid var(--border);
  display: inline-flex;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--smoke); text-decoration: none; transition: all 0.2s;
}
.menu-sub li a:hover { background: var(--teal); color: var(--navy); border-color: var(--teal); }
.menu-footer {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 36px; padding-top: 28px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap; gap: 16px;
}
.menu-footer-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.45em; text-transform: uppercase; color: var(--muted);
}
.menu-apply-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--navy); background: var(--teal);
  padding: 14px 32px; text-decoration: none;
  cursor: pointer; border: none; transition: background 0.2s;
}
.menu-apply-btn:hover { background: var(--white); }

/* ══════════════════════════════════════
   PAGE WRAPPER
══════════════════════════════════════ */
.page-wrap { padding-top: 70px; min-height: 100vh; }

/* ══════════════════════════════════════
   SHARED COMPONENTS
══════════════════════════════════════ */
.section { padding: 100px 48px; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.label-row { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.label-line { width: 32px; height: 1px; background: var(--teal); flex-shrink: 0; }
.label-line.gold { background: var(--gold); }
.label-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.45em; text-transform: uppercase; color: var(--teal);
}
.label-text.gold { color: var(--gold); }

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.02em; line-height: 0.95;
  color: var(--white); margin-bottom: 16px;
}
.section-title em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--teal); }
.section-title em.gold { -webkit-text-stroke: 1.5px var(--gold); }

.rule { width: 56px; height: 2px; background: var(--teal); margin-bottom: 48px; }
.rule.gold { background: var(--gold); }

.body-text { font-size: 16px; font-weight: 300; color: var(--smoke); line-height: 1.9; margin-bottom: 20px; }
.body-text strong { color: var(--bone); font-weight: 500; }

/* Buttons */
.btn-primary {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--navy); background: var(--teal);
  padding: 16px 36px; text-decoration: none;
  border: none; cursor: pointer; transition: background 0.2s;
}
.btn-primary:hover { background: var(--white); }

.btn-outline {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--teal); background: transparent;
  padding: 15px 36px; text-decoration: none;
  border: 1px solid var(--teal); cursor: pointer; transition: all 0.2s;
}
.btn-outline:hover { background: var(--teal); color: var(--navy); }

.btn-gold {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--navy); background: var(--gold);
  padding: 16px 36px; text-decoration: none;
  border: none; cursor: pointer; transition: background 0.2s;
}
.btn-gold:hover { background: var(--white); }

/* Panels */
.dark-panel { background: var(--deep); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Statement bands */
.statement-band { background: var(--teal); padding: 56px 48px; text-align: center; }
.statement-band p {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(20px, 3vw, 34px); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--navy); line-height: 1.4;
}
.gold-band { background: var(--gold); padding: 56px 48px; text-align: center; }
.gold-band p {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(20px, 3vw, 34px); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--navy); line-height: 1.4;
}

/* Lists */
.clean-list { list-style: none; display: flex; flex-direction: column; }
.clean-list li {
  padding: 16px 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 15px; font-weight: 300; color: var(--ash); line-height: 1.5;
}
.clean-list li:first-child { border-top: 1px solid var(--border); }
.clean-list li::before { content: '—'; color: var(--teal); font-weight: 600; flex-shrink: 0; margin-top: 1px; }
.clean-list.gold li::before { color: var(--gold); }

/* Phase / pillar blocks */
.phase-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2px; margin: 48px 0; }
.phase-block { background: var(--panel); padding: 40px 32px; border-top: 3px solid var(--teal); }
.phase-block.gold { border-top-color: var(--gold); }
.phase-block.silver { border-top-color: var(--smoke); }
.phase-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 64px; font-weight: 900;
  color: transparent; -webkit-text-stroke: 1px var(--border);
  line-height: 1; margin-bottom: 14px;
}
.phase-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 8px;
}
.phase-label.gold { color: var(--gold); }
.phase-label.silver { color: var(--smoke); }
.phase-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--white); margin-bottom: 24px;
}
.phase-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.phase-list li {
  font-size: 13px; font-weight: 300; color: var(--smoke);
  display: flex; align-items: flex-start; gap: 10px; line-height: 1.5;
}
.phase-list li::before { content: '—'; color: var(--teal); flex-shrink: 0; }
.phase-block.gold .phase-list li::before { color: var(--gold); }

/* Cards */
.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.card {
  background: var(--panel); border: 1px solid var(--border);
  padding: 36px 32px; transition: background 0.2s;
}
.card:hover { background: var(--mid); }
.card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--white); margin-bottom: 10px;
}
.card-body { font-size: 14px; font-weight: 300; color: var(--smoke); line-height: 1.7; }

/* Image placeholders */
.img-placeholder {
  width: 100%; background: var(--panel); border: 1px solid var(--border);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  position: relative; overflow: hidden;
}
.img-placeholder.tall { aspect-ratio: 3/4; }
.img-placeholder.wide { aspect-ratio: 4/3; }
.img-placeholder.square { aspect-ratio: 1/1; }
.img-placeholder span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--muted); text-align: center; padding: 0 16px;
}
.img-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(61,184,196,0.04));
}

/* Form */
.form-block { background: var(--panel); border: 1px solid var(--border); padding: 48px; }
.form-header {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.4em; text-transform: uppercase; color: var(--smoke);
  margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--smoke); margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%; background: var(--mid); border: 1px solid var(--border);
  color: var(--bone); padding: 14px 16px;
  font-family: 'Barlow', sans-serif; font-size: 14px; font-weight: 300;
  outline: none; transition: border-color 0.2s; -webkit-appearance: none;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--teal); }
.field textarea { resize: vertical; min-height: 120px; }
.field select option { background: var(--deep); }
.submit-btn {
  width: 100%; padding: 18px;
  background: var(--teal); color: var(--navy);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  border: none; cursor: pointer; margin-top: 8px; transition: background 0.2s;
}
.submit-btn:hover { background: var(--white); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background: var(--deep);
  border-top: 1px solid var(--border);
  padding: 48px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--smoke);
}
.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--teal); }
.footer-copy {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; letter-spacing: 0.3em;
  color: var(--muted); text-transform: uppercase;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 960px) {
  nav { padding: 0 24px; }
  .section { padding: 70px 24px; }
  .phase-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .statement-band, .gold-band { padding: 40px 24px; }
  footer { padding: 40px 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .menu-overlay { padding: 70px 28px 40px; }
}
