/* InPHRED — shared stylesheet
   Font scale: tags 10→14px (= old default), body 13-14→16-17px, leads 15→18px
   Hero h1 / section h2 / stat numbers unchanged. */

:root {
  --text-default: #111111;
  --text-title:   #1f262a;
  --bg:           #f0f4f8;
  --white:        #ffffff;
  --navy:         #1F3864;
  --navy-mid:     #243f72;
  --teal-dark:    #3C6B82;
  --teal-muted:   #BCC8CC;
  --blue-muted:   #8ca0b8;
  --gold:         #e8a020;
  --gold-light:   #f2c05a;
  --brick:        #be4236;
  --coral:        #e1583f;
  --border:       rgba(31,56,100,0.10);
  --border-md:    rgba(31,56,100,0.16);
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text-default);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; font-weight: 700; color: var(--text-title); line-height: 1.2; }
p  { color: rgba(17,17,17,0.65); font-size: 17px; }
a  { text-decoration: none; color: var(--teal-dark); }
a:hover { color: var(--navy); }
img { display: block; max-width: 100%; }

/* ─── Navigation ──────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: 64px; padding: 0 48px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-dot {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Mono', monospace; font-size: 9px; font-weight: 500;
  color: var(--gold-light); flex-shrink: 0;
}
.nav-wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 700; color: var(--text-title);
}
.nav-wordmark .ph { color: var(--navy); }
.nav-wordmark .e  { color: var(--brick); }

.nav-logo-img  { height: 32px; width: auto; display: block; }
.nav-nameplate { height: 22px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 15px; font-weight: 500;
  color: rgba(17,17,17,0.60); transition: color 0.15s; letter-spacing: 0.2px;
}
.nav-links a:hover  { color: var(--navy); }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-cta {
  background: var(--navy); color: var(--white) !important;
  padding: 8px 18px; border-radius: 6px;
  font-size: 14px; font-weight: 500; transition: background 0.15s !important;
}
.nav-cta:hover { background: var(--teal-dark) !important; }

/* ─── Buttons ─────────────────────────── */
.btn {
  display: inline-block; padding: 12px 24px; border-radius: 7px;
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 500;
  cursor: pointer; border: none; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-gold   { background: var(--gold); color: var(--navy); font-weight: 600; }
.btn-gold:hover { background: var(--gold-light); color: var(--navy); }
.btn-navy   { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--teal-dark); color: var(--white); }
.btn-outline { background: transparent; color: rgba(255,255,255,0.80); border: 1px solid rgba(255,255,255,0.28); }
.btn-outline:hover { color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-outline-navy { background: transparent; color: var(--navy); border: 1px solid var(--border-md); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-link {
  background: none; border: none; padding: 0; color: var(--teal-dark);
  font-size: 15px; font-weight: 500; display: inline-flex; align-items: center;
  gap: 5px; cursor: pointer; font-family: 'DM Sans', sans-serif;
}
.btn-link:hover { color: var(--navy); }

/* ─── Hero ────────────────────────────── */
.hero {
  background: var(--navy); padding: 88px 48px; position: relative; overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 85% 40%, rgba(60,107,130,0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 5%  85%, rgba(232,160,32,0.07) 0%, transparent 45%);
}
.hero-sm { padding: 56px 48px; }
.hero-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.hero-label {
  font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase;
  font-weight: 600; color: var(--teal-muted); margin-bottom: 16px;
}
.hero h1 { font-size: 50px; color: var(--white); max-width: 680px; margin-bottom: 20px; }
.hero-sm h1 { font-size: 36px; }
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero p { font-size: 18px; color: rgba(255,255,255,0.62); max-width: 67%; line-height: 1.75; margin-bottom: 36px; }
.hero-sm p { margin-bottom: 0; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── Sections ────────────────────────── */
.section { padding: 80px 48px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-alt { background: var(--white); }
.section-navy { background: var(--navy); }
.section-label {
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 600; color: var(--teal-dark); margin-bottom: 8px;
}
.section-label-light { color: var(--teal-muted); }
.section h2 { font-size: 32px; margin-bottom: 12px; }
.section-navy h2 { color: var(--white); }
.section-lead { font-size: 18px; color: rgba(17,17,17,0.58); max-width: 67%; line-height: 1.75; margin-bottom: 48px; }
.section-navy .section-lead { color: rgba(255,255,255,0.55); }
.section-header-row { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; flex-wrap: wrap; gap: 16px; }

/* ─── Cards ───────────────────────────── */
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  padding: 24px 26px; position: relative; overflow: hidden;
}
.card-top-gold   { border-top: 3px solid var(--gold); }
.card-top-teal   { border-top: 3px solid var(--teal-dark); }
.card-top-navy   { border-top: 3px solid var(--navy); }
.card-top-brick  { border-top: 3px solid var(--brick); }

.card-eyebrow {
  font-family: 'DM Mono', monospace; font-size: 12px;
  color: var(--teal-dark); opacity: 0.70; margin-bottom: 6px;
}
.card h3 { font-family: 'Playfair Display', serif; font-size: 19px; margin-bottom: 10px; }
.card p  { font-size: 15px; line-height: 1.65; margin-bottom: 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }

/* ─── Tags ────────────────────────────── */
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 14px; }
.tag {
  font-size: 12px; font-weight: 500; padding: 2px 8px; border-radius: 12px; letter-spacing: 0.2px;
}

a.tag {
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
  display: inline-block;
}
a.tag:hover {
  opacity: 0.80;
  transform: translateY(-1px);
}

.tag-gold  { background: rgba(232,160,32,0.10); color: #7a5000; border: 1px solid rgba(232,160,32,0.24); }
.tag-teal  { background: rgba(60,107,130,0.08); color: var(--teal-dark); border: 1px solid rgba(60,107,130,0.18); }
.tag-navy  { background: rgba(31,56,100,0.07); color: var(--navy); border: 1px solid rgba(31,56,100,0.15); }
.tag-brick { background: rgba(190,66,54,0.07); color: var(--brick); border: 1px solid rgba(190,66,54,0.18); }

/* ─── Stat bar ────────────────────────── */
.stat-bar {
  background: var(--navy); border-radius: 12px;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 30px 24px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 34px; font-weight: 700; color: var(--gold); margin-bottom: 6px; line-height: 1;
}
.stat-label { font-size: 14px; color: rgba(255,255,255,0.52); line-height: 1.45; }

/* ─── Process strip ───────────────────── */
.process-strip {
  background: rgba(31,56,100,0.04);
  border: 1px solid var(--border); border-radius: 12px; padding: 28px 32px;
}
.process-label {
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 600; color: var(--teal-dark); margin-bottom: 20px;
}
.process-steps { display: flex; align-items: flex-start; }
.process-step  { flex: 1; text-align: center; padding: 0 6px; }
/* .process-icon  {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(31,56,100,0.06); border: 1px solid var(--border);
  margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
} */
.process-step-name { font-size: 14px; font-weight: 600; color: var(--text-title); margin-bottom: 4px; line-height: 1.3; }
.process-step-desc { font-size: 13px; color: rgba(60,107,130,0.85); line-height: 1.4; }
.process-arrow { font-size: 14px; flex-shrink: 0; color: var(--teal-dark); padding: 45px 4px 0; }

/* ─── Team card ───────────────────────── */
.team-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 24px; text-align: center; }
.team-avatar {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(31,56,100,0.07); border: 2px solid var(--border);
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Mono', monospace; font-size: 13px; font-weight: 500; color: var(--teal-dark);
}
.team-name { font-size: 16px; font-weight: 600; color: var(--text-title); margin-bottom: 3px; }
.team-role { font-size: 12px; color: var(--teal-dark); font-weight: 500; margin-bottom: 10px; letter-spacing: 0.3px; }
.team-bio  { font-size: 13px; color: rgba(17,17,17,0.52); line-height: 1.55; }

/* ─── News card ───────────────────────── */
.news-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 22px 24px; display: flex; flex-direction: column; }
.news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.news-badge {
  font-size: 11px; font-weight: 600; letter-spacing: 1.4px;
  text-transform: uppercase; padding: 3px 10px; border-radius: 20px;
}
.badge-announce { background: rgba(232,160,32,0.10); color: #7a5000; border: 1px solid rgba(232,160,32,0.22); }
.badge-press    { background: rgba(60,107,130,0.08); color: var(--teal-dark); border: 1px solid rgba(60,107,130,0.18); }
.badge-media    { background: rgba(31,56,100,0.07); color: var(--navy); border: 1px solid rgba(31,56,100,0.15); }
.badge-milestone{ background: rgba(190,66,54,0.07); color: var(--brick); border: 1px solid rgba(190,66,54,0.18); }
.news-date { font-size: 13px; color: rgba(17,17,17,0.38); font-family: 'DM Mono', monospace; }
.news-card h3 { font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 600; color: var(--text-title); margin-bottom: 8px; line-height: 1.4; }
.news-card p  { font-size: 14px; color: rgba(17,17,17,0.56); line-height: 1.65; flex: 1; margin-bottom: 16px; }
.news-link { font-size: 14px; font-weight: 500; color: var(--teal-dark); display: inline-flex; align-items: center; gap: 4px; }
.news-link:hover { color: var(--navy); }

/* ─── Resource card ───────────────────── */
.resource-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.resource-card-header { padding: 28px 26px 20px; flex: 1; }
.resource-type { font-size: 12px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 10px; }
.resource-card h3 { font-family: 'Playfair Display', serif; font-size: 18px; margin-bottom: 10px; line-height: 1.35; }
.resource-card p  { font-size: 14px; color: rgba(17,17,17,0.56); line-height: 1.65; }
.resource-card-footer {
  padding: 14px 26px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.resource-meta { font-size: 13px; color: rgba(17,17,17,0.38); font-family: 'DM Mono', monospace; }

/* ─── Comparison table ────────────────── */
.comp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.comp-table th {
  padding: 12px 16px; text-align: left; font-size: 12px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; color: rgba(17,17,17,0.45);
  border-bottom: 1px solid var(--border); background: var(--bg);
}
.comp-table th.highlight { color: var(--navy); background: rgba(31,56,100,0.05); }
.comp-table td { padding: 13px 16px; border-bottom: 1px solid var(--border); color: rgba(17,17,17,0.65); vertical-align: middle; }
.comp-table td.highlight { background: rgba(31,56,100,0.03); font-weight: 500; color: var(--navy); }
.comp-table tr:last-child td { border-bottom: none; }
.comp-table .row-label { font-weight: 600; color: var(--text-title); }
.check { color: var(--teal-dark); font-weight: 700; }
.cross { color: rgba(17,17,17,0.28); }
.badge-best { background: rgba(31,56,100,0.08); color: var(--navy); border: 1px solid rgba(31,56,100,0.15); font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 20px; letter-spacing: 0.5px; display: inline-block; margin-left: 6px; }

/* ─── Timeline ────────────────────────── */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 1px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 28px; }
.timeline-item::before { content: ''; position: absolute; left: -24px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--teal-dark); border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--teal-dark); }
.timeline-date { font-size: 12px; font-family: 'DM Mono', monospace; color: var(--teal-dark); margin-bottom: 4px; }
.timeline-title { font-size: 16px; font-weight: 600; color: var(--text-title); margin-bottom: 4px; }
.timeline-desc { font-size: 14px; color: rgba(17,17,17,0.56); line-height: 1.55; }

/* ─── Forms ───────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 600; color: var(--text-title); margin-bottom: 7px; letter-spacing: 0.3px; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 12px 15px;
  background: var(--white); border: 1px solid var(--border-md);
  border-radius: 7px; font-family: 'DM Sans', sans-serif; font-size: 16px;
  color: var(--text-default); outline: none; transition: border-color 0.15s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--teal-dark); }
.form-textarea { resize: vertical; min-height: 130px; line-height: 1.65; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ─── Divider / misc ──────────────────── */
.hr { border: none; border-top: 1px solid var(--border); margin: 0; }
.text-center { text-align: center; }
.text-muted  { color: rgba(17,17,17,0.45); font-size: 15px; }
.mono { font-family: 'DM Mono', monospace; }
.mt-8  { margin-top: 8px; }  .mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; } .mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

/* ─── CTA banner ──────────────────────── */
.cta-banner {
  background: var(--navy); border-radius: 14px; padding: 48px 52px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-banner h2 { font-size: 28px; color: var(--white); max-width: 480px; margin-bottom: 8px; }
.cta-banner p  { color: rgba(255,255,255,0.50); font-size: 16px; }
.cta-banner-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }

/* ─── Featured news (big) ─────────────── */
.news-featured {
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  padding: 36px 40px; display: flex; gap: 40px; align-items: flex-start; margin-bottom: 32px;
}
.news-featured-content { flex: 1; }
.news-featured h2 { font-family: 'Playfair Display', serif; font-size: 24px; margin-bottom: 12px; line-height: 1.3; }
.news-featured p { font-size: 16px; color: rgba(17,17,17,0.60); line-height: 1.75; margin-bottom: 20px; }
.news-featured-date { font-size: 13px; color: rgba(17,17,17,0.38); font-family: 'DM Mono', monospace; }
.news-featured-visual {
  width: 200px; flex-shrink: 0; height: 140px; border-radius: 10px;
  background: rgba(31,56,100,0.06); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
}

/* ─── Contact split ───────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.contact-info h3 { font-size: 20px; margin-bottom: 16px; }
.contact-info p { font-size: 16px; color: rgba(17,17,17,0.60); line-height: 1.75; margin-bottom: 24px; }
.contact-detail { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.contact-detail-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(31,56,100,0.06); border: 1px solid var(--border);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.contact-detail-text label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 3px; }
.contact-detail-text span  { font-size: 16px; color: var(--text-default); }

/* ─── Footer ──────────────────────────── */
.footer { background: var(--navy); padding: 40px 48px 32px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 12px;
}
.footer-brand h3 {
  font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700;
  color: var(--white); margin-bottom: 10px;
}
.footer-brand h3 .ph { color: var(--gold); }
.footer-brand h3 .e  { color: var(--coral); }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.42); line-height: 1.65; max-width: 240px; margin-bottom: 18px; }
.footer-email { font-size: 14px; color: var(--teal-muted); }
.footer-col-title {
  font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 16px;
}
.footer-col a { display: block; font-size: 15px; color: rgba(255,255,255,0.58); margin-bottom: 10px; transition: color 0.15s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2); padding-top: 12px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.28); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,0.28); transition: color 0.15s; }
.footer-legal a:hover { color: rgba(255,255,255,0.60); }

/* ─── Hamburger button ────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* Animate to X when open */
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Mobile nav ──────────────────────── */
@media (max-width: 768px) {
  img { max-width: 100%; height: auto; }
  .news-featured-visual { width: 100%; height: 160px; }
  .product-detail-strip { grid-template-columns: 1fr; }
  .series-grid { grid-template-columns: 1fr; }
  .family-overview { grid-template-columns: 1fr; }
  .tech-split { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; padding: 28px 24px; }
  .stat-bar { grid-template-columns: 1fr 1fr; }
  .nav { padding: 0 24px; }

  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 28px;
    gap: 4px;
    z-index: 99;
    box-shadow: 0 8px 32px rgba(31,56,100,0.10);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    font-size: 17px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-default);
  }
  .nav-links a:last-child { border-bottom: none; }

  .nav-links .nav-cta {
    margin-top: 12px;
    text-align: center;
    padding: 13px 24px;
    border-radius: 7px;
    border-bottom: none;
    color: var(--white) !important;
  }
}
