/* =========================================================
   Arthur Industries — Style v3.0
   Editorial luxury. Not a template.
   ========================================================= */

/* --- Reset & Custom Properties --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Dark theme (default) */
  --bg:         #060c1a;
  --bg-subtle:  #0a1428;
  --surface:    #0f1d35;
  --surface-hi: #162544;
  --text:       #eaf0f6;
  --text-mid:   #a3b5c9;       /* WCAG AA on #060c1a: 7.2:1 */
  --text-dim:   #8899ad;       /* WCAG AA on #060c1a: 4.8:1 — was #5a6f8a (2.6:1 FAIL) */
  --gold:       #d4af37;
  --gold-muted: #b89530;
  --gold-soft:  rgba(212, 175, 55, 0.10);
  --gold-glow:  rgba(212, 175, 55, 0.04);
  --emerald:    #34d399;
  --emerald-soft: rgba(52, 211, 153, 0.10);
  --cyan:       #22d3ee;
  --violet:     #a78bfa;
  --amber:      #fbbf24;
  --coral:      #fb923c;
  --border:     rgba(255, 255, 255, 0.07);
  --border-hi:  rgba(255, 255, 255, 0.14);
  --shadow:     rgba(0, 0, 0, 0.5);
  --nav-bg:     rgba(6, 12, 26, 0.92);
  --grain-opacity: 0.03;
  --hero-gold:    rgba(212, 175, 55, 0.06);
  --hero-emerald: rgba(52, 211, 153, 0.03);
  --hero-cyan:    rgba(34, 211, 238, 0.02);
  --dots-opacity: 0.05;

  /* Typography scale */
  --font-display: 'Instrument Serif', 'Georgia', serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'JetBrains Mono', 'SF Mono', 'Consolas', monospace;
}

[data-theme="light"] {
  --bg:         #f5f2ec;
  --bg-subtle:  #ece8df;
  --surface:    #ffffff;
  --surface-hi: #faf8f4;
  --text:       #0c1a2e;
  --text-mid:   #3d4f63;       /* WCAG AA on #f5f2ec: 7.8:1 */
  --text-dim:   #566778;       /* WCAG AA on #f5f2ec: 5.1:1 — was #6b7c90 (3.9:1 FAIL) */
  --gold:       #7a5c00;
  --gold-muted: #8c6a00;
  --gold-soft:  rgba(122, 92, 0, 0.08);
  --gold-glow:  rgba(122, 92, 0, 0.03);
  --emerald:    #047857;
  --emerald-soft: rgba(4, 120, 87, 0.08);
  --cyan:       #0e7490;
  --violet:     #6d28d9;
  --amber:      #b45309;
  --coral:      #c2410c;
  --border:     rgba(0, 0, 0, 0.08);
  --border-hi:  rgba(0, 0, 0, 0.15);
  --shadow:     rgba(0, 0, 0, 0.08);
  --nav-bg:     rgba(245, 242, 236, 0.94);
  --grain-opacity: 0.025;
  --hero-gold:    rgba(160, 120, 20, 0.08);
  --hero-emerald: rgba(4, 120, 87, 0.05);
  --hero-cyan:    rgba(14, 116, 144, 0.03);
  --dots-opacity: 0.06;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

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

::selection { background: var(--gold); color: var(--bg); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-hi); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* --- Utilities --- */
.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* --- Grain Texture --- */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 9999;
  pointer-events: none;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  z-index: 100;
  background: transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}

.nav--scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
}

.nav__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.2s;
}
.nav__logo:hover { opacity: 0.75; }

.nav__logo-mark {
  color: var(--gold);
  flex-shrink: 0;
}

.nav__logo-text {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__links {
  display: flex;
  gap: 28px;
}

.nav__link {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  transition: color 0.2s;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav__link:hover { color: var(--gold); }
.nav__link:hover::after { width: 100%; }

.nav__theme {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.nav__theme:hover { color: var(--gold); border-color: var(--gold); }

[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun  { display: none; }

/* --- Hamburger --- */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s;
}
.nav__burger:hover { border-color: var(--gold); }

.nav__burger-bar {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text-dim);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.2s;
}

.nav__burger:hover .nav__burger-bar { background: var(--gold); }

/* Burger open state */
.nav__burger[aria-expanded="true"] .nav__burger-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__burger[aria-expanded="true"] .nav__burger-bar:nth-child(2) {
  opacity: 0;
}
.nav__burger[aria-expanded="true"] .nav__burger-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 100px;
  overflow: hidden;
}

/* Gradient mesh */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 35%, var(--hero-gold) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 60%, var(--hero-emerald) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 50% 90%, var(--hero-cyan) 0%, transparent 50%);
  pointer-events: none;
  transition: opacity 0.6s ease;
}

/* Subtle horizontal lines */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--text-dim) 0.5px, transparent 0.5px);
  background-size: 100% 80px;
  opacity: calc(var(--dots-opacity) * 0.4);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero__est {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 36px;
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hero__est-line {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold);
  opacity: 0.35;
}

.hero__est-text {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(56px, 11vw, 120px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0;
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.hero__title-accent {
  font-style: italic;
  color: var(--gold);
}

.hero__rule {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 32px auto;
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

.hero__tagline {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(14px, 2vw, 17px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 12px;
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both;
}

.hero__location {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(10px, 1.3vw, 12px);
  letter-spacing: 0.14em;
  color: var(--gold);
  opacity: 0.75;
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
}

/* Hero metrics bar */
.hero__metrics {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.9s both;
}

.hero__metric { text-align: center; }

.hero__metric-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 38px);
  letter-spacing: 0.02em;
  color: var(--text);
}

.hero__metric-label {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 6px;
}

.hero__metric-sep {
  width: 1px;
  height: 36px;
  background: var(--border-hi);
}

/* =========================================================
   Section Commons
   ========================================================= */
.section {
  padding: 110px 0;
}
.section.will-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.section.visible { opacity: 1; transform: translateY(0); }

.section-label {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  padding-left: 16px;
  border-left: 2px solid var(--gold);
  margin-bottom: 52px;
}

/* --- Divider --- */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
}

.divider span {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 8px;
  color: var(--gold);
  opacity: 0.5;
}

.divider span::before,
.divider span::after {
  content: '';
  width: 56px;
  height: 1px;
  background: var(--gold);
  opacity: 0.3;
}

/* =========================================================
   Thesis
   ========================================================= */
.thesis__statement {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.55;
  color: var(--text-mid);
  max-width: 780px;
  font-weight: 400;
}

.thesis__statement em {
  font-style: italic;
  color: var(--gold);
}

.thesis__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 72px;
}

.thesis__pillar {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  position: relative;
}

.thesis__pillar-num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  color: var(--gold);
  opacity: 0.45;
  display: block;
  margin-bottom: 18px;
}

.thesis__pillar-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 14px;
}

.thesis__pillar-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-dim);
}

/* =========================================================
   Portfolio Cards
   ========================================================= */
.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px 34px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

/* Top accent bar */
.pcard::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent, var(--gold));
  opacity: 0.4;
  transition: opacity 0.3s;
}

a.pcard:hover,
.pcard:not(.pcard--launching):hover {
  border-color: color-mix(in srgb, var(--accent, var(--gold)) 50%, transparent);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px var(--shadow);
}

a.pcard:hover::before,
.pcard:not(.pcard--launching):hover::before {
  opacity: 1;
}

a.pcard { cursor: pointer; }

/* Flagship variant */
.pcard--flagship {
  margin-bottom: 24px;
  padding: 40px 44px;
  background:
    linear-gradient(135deg, var(--gold-glow), transparent 50%),
    var(--surface);
}

.pcard--flagship .pcard__name {
  font-size: 28px;
}

.pcard--flagship .pcard__desc {
  max-width: 600px;
  font-size: 15px;
}

/* Launching variant */
.pcard--launching {
  border-style: dashed;
  border-color: var(--border-hi);
}
.pcard--launching::before { opacity: 0.25; }

/* Card internals */
.pcard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.pcard__tag {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.pcard__badge {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}

.pcard__badge--flagship {
  color: var(--emerald);
  background: var(--emerald-soft);
}

.pcard__badge--active {
  color: var(--gold);
  background: var(--gold-soft);
}

.pcard__badge--launching {
  color: var(--coral);
  background: rgba(251, 146, 60, 0.10);
}

.pcard__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 10px;
}

.pcard__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mid);
  flex: 1;
}

.pcard__url {
  display: block;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s, transform 0.3s, color 0.3s;
}

a.pcard:hover .pcard__url,
.pcard:not(.pcard--launching):hover .pcard__url {
  opacity: 1;
  transform: translateX(0);
}

a.pcard:hover .pcard__url { color: var(--accent, var(--gold)); }

.pcard__url--internal {
  opacity: 0.4;
  transform: none;
  font-style: italic;
}

.pgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* =========================================================
   Founder
   ========================================================= */
.founder__layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: start;
}

/* Founder photo easter egg */
.founder__photo-wrap {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold-muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.founder__photo-wrap:hover {
  border-color: var(--emerald);
  box-shadow: 0 0 32px rgba(52, 211, 153, 0.15);
}

.founder__photo {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.founder__photo--normal { opacity: 1; z-index: 1; }
.founder__photo--pirate { opacity: 0; z-index: 2; }
.founder__photo--cutlass { opacity: 0; z-index: 3; }

/* Hover: show pirate */
.founder__photo-wrap:hover .founder__photo--normal { opacity: 0; }
.founder__photo-wrap:hover .founder__photo--pirate { opacity: 1; }

/* Click state: show cutlass (toggled via JS class) */
.founder__photo-wrap.revealed .founder__photo--normal { opacity: 0; }
.founder__photo-wrap.revealed .founder__photo--pirate { opacity: 0; }
.founder__photo-wrap.revealed .founder__photo--cutlass { opacity: 1; }
.founder__photo-wrap.revealed { border-color: var(--coral); box-shadow: 0 0 32px rgba(251, 146, 60, 0.2); }

.founder__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 36px;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 6px;
}

.founder__title {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.founder__bio {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-mid);
  max-width: 600px;
}

.founder__bio--continued {
  margin-top: 16px;
}

/* =========================================================
   Contact
   ========================================================= */
.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact__headline {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.3;
}

.contact__body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-mid);
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.3s, transform 0.2s;
  text-decoration: none;
  color: inherit;
}

a.contact__item:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.contact__item-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.contact__item-value {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  font-weight: 500;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
}

.footer__top {
  margin-bottom: 32px;
}

.footer__wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}

.footer__rule {
  height: 1px;
  background: var(--gold);
  opacity: 0.15;
}

.footer__grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 44px;
}

.footer__tagline {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 340px;
}

.footer__col--links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__col--links a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer__col--links a:hover { color: var(--gold); }

.footer__legal {
  font-size: 12px;
  color: var(--text-dim);
  opacity: 0.5;
}

/* =========================================================
   Animations
   ========================================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .section { opacity: 1; transform: none; }
}

/* --- Focus states --- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================
   Responsive — Tablet
   ========================================================= */
@media (max-width: 900px) {
  .thesis__pillars {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 56px;
  }

  .pgrid { grid-template-columns: 1fr; }

  .founder__layout {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .founder__photo-wrap { margin: 0 auto; }
  .founder__bio { max-width: 100%; }

  .contact__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* =========================================================
   Responsive — Mobile
   ========================================================= */
@media (max-width: 768px) {
  /* Show hamburger, hide nav links by default */
  .nav__burger { display: flex; }

  .nav__links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 48px;
    gap: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid var(--border);
    z-index: 99;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__link {
    font-size: 14px;
    letter-spacing: 0.1em;
    padding: 18px 0;
    width: 80%;
    text-align: center;
    border-bottom: 1px solid var(--border);
  }

  .nav__link::after { display: none; }

  /* Hero */
  .hero { padding: 72px 20px 80px; }
  .hero__metrics { gap: 28px; margin-top: 60px; }
  .hero__metric-sep { height: 28px; }

  .section { padding: 80px 0; }

  .pcard--flagship { padding: 28px 24px; }
  .pcard--flagship .pcard__name { font-size: 22px; }

  .pcard__url { opacity: 0.5; transform: none; }

  .contact__headline { font-size: 24px; }
}

@media (max-width: 480px) {
  .hero__est-line { width: 28px; }
  .hero__metrics { flex-direction: column; gap: 24px; }
  .hero__metric-sep { width: 40px; height: 1px; }

  .nav__logo-text { font-size: 10px; letter-spacing: 0.14em; }
}
