/* ========================================
   LUXONA MULTI-PAGE SITE — STYLES
   ======================================== */

:root {
  --graphite: #1E2124;
  --graphite-deep: #16181A;
  --cream: #F7F4EE;
  --cream-dim: #E8E3D9;
  --gold: #C9A227;
  --gold-pale: #E3C766;
  /* Accessible gold: same hue as --gold, darkened to pass WCAG AA (4.5:1)
     for text on light/cream/white backgrounds. Use --gold for buttons,
     borders, decorative accents, and text on dark backgrounds (it already
     passes there at 7.3:1). Use --gold-text for gold-colored text sitting
     on white or cream. */
  --gold-text: #846B1A;
  --rule: rgba(247, 244, 238, 0.14);
  --text: #3A3D42;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
}

/* ========== TYPOGRAPHY ========== */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--graphite);
}

h1 { font-size: clamp(32px, 6vw, 56px); margin-bottom: 20px; }
h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 18px; margin-top: 32px; }
h3 { font-size: clamp(22px, 3.5vw, 28px); margin-bottom: 14px; }
h4 { font-size: 20px; margin-bottom: 12px; }

p {
  margin-bottom: 16px;
  max-width: 65ch;
}

a {
  color: var(--gold-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold-pale);
}

strong {
  font-weight: 600;
  color: var(--graphite);
}

/* ========== LAYOUT ========== */

.wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 56px 0;
}

.section-alt {
  background: rgba(22, 24, 26, 0.03);
}

/* ========== HEADER ========== */

header.site-header {
  background: var(--graphite-deep);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

header.site-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cream);
  transition: opacity 0.2s ease;
  flex-shrink: 0;
}

.brand img {
  width: 30px;
  height: 30px;
}

.brand:hover {
  opacity: 0.8;
}

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(247, 244, 238, 0.78);
  position: relative;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--cream);
}

.nav a:after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.2s ease;
}

.nav a:hover:after,
.nav a.active:after {
  width: 100%;
}

.nav a.active {
  color: var(--gold);
}

/* ========== HERO ========== */

.page-hero {
  position: relative;
  padding: 64px 0 56px;
  background: var(--graphite-deep);
  background-image: linear-gradient(160deg, #23262A 0%, var(--graphite-deep) 55%, #101214 100%);
  color: var(--cream);
}

.page-hero h1,
.page-hero h2,
.page-hero h3 {
  color: var(--cream);
}

.page-hero .lede {
  color: rgba(247, 244, 238, 0.78);
}

.page-hero p {
  color: rgba(247, 244, 238, 0.78);
}

.page-hero figcaption {
  color: rgba(247, 244, 238, 0.55) !important;
}

.hero__content {
  max-width: 700px;
}

.hero__image {
  margin-top: 0;
}

.hero__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 18px 36px rgba(22, 24, 26, 0.14);
}

.hero__image figcaption {
  font-size: 13px;
  font-style: italic;
  color: #8A8D92;
  padding: 12px 2px 0;
  background: transparent;
}

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-pale);
  margin-bottom: 12px;
  font-weight: 500;
}

.lede {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 24px;
}

.rule-gold {
  width: 60px;
  height: 3px;
  background: var(--gold);
  border: none;
  margin: 24px 0;
}

/* Supporting statistics band */
.stat-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin: 36px 0 8px;
}

.stat {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 20px 22px;
  background: white;
  border-left: 4px solid var(--gold);
  border-radius: 4px;
}

.stat__figure {
  font-family: 'Archivo', sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-text);
  flex-shrink: 0;
}

.stat__label {
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
}

/* Luxona Difference lead statement */
.difference-lead {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--graphite);
  margin-bottom: 28px;
}

.difference-lead strong {
  color: var(--gold-text);
  font-weight: 700;
}

/* Assurance list */
.assurance-list {
  margin-top: 28px;
  max-width: 60ch;
}

.assurance-list li {
  font-size: 17px;
  margin-bottom: 16px;
}

/* ========== BUTTONS ========== */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.03em;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn--gold {
  background: var(--gold);
  color: var(--graphite-deep);
}

.btn--gold:hover {
  background: var(--gold-pale);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(201, 162, 39, 0.2);
}

.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn--outline:hover {
  background: var(--gold);
  color: var(--graphite-deep);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ========== CARDS ========== */

.card {
  background: white;
  border: 1px solid var(--cream-dim);
  border-left: 4px solid var(--gold);
  padding: 28px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.card:hover {
  box-shadow: 0 12px 28px rgba(22, 24, 26, 0.1);
  transform: translateY(-4px);
}

.card h3 {
  color: var(--gold-text);
  margin-bottom: 10px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.card-price {
  color: var(--gold-text);
  font-weight: 600;
  font-size: 16px;
  margin-top: 16px;
}

/* ========== TABLES ========== */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 15px;
}

th, td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--cream-dim);
  vertical-align: top;
}

th {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(22, 24, 26, 0.03);
  border-bottom: 2px solid var(--graphite);
  color: var(--graphite);
}

tr:hover {
  background: rgba(201, 162, 39, 0.04);
}

/* ========== LISTS ========== */

.list-check {
  list-style: none;
  padding-left: 0;
}

.list-check li {
  padding-left: 28px;
  margin-bottom: 14px;
  position: relative;
}

.list-check li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold-text);
  font-weight: 700;
  font-size: 18px;
}

/* ========== FOUNDER SECTION ========== */

/* Compact founder lockup — photo inline beside the heading */
.founder-compact {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.founder-compact__photo {
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  box-shadow: 0 6px 18px rgba(22, 24, 26, 0.18);
}

.founder-compact__heading {
  margin: 0;
}

@media (max-width: 480px) {
  .founder-compact {
    gap: 16px;
    margin-bottom: 18px;
  }

  .founder-compact__photo {
    width: 84px;
    height: 84px;
  }
}

.founder {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
  margin: 40px 0;
}

.founder__photo {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(22, 24, 26, 0.15);
}

.founder__photo img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 30%;
}

.founder__bio p {
  margin-bottom: 16px;
}

.founder__bio strong {
  color: var(--gold-text);
}

@media (max-width: 768px) {
  .founder {
    grid-template-columns: 1fr;
  }
}

/* ========== FOOTER ========== */

footer.site-footer {
  background: var(--graphite-deep);
  color: rgba(247, 244, 238, 0.8);
  padding: 48px 0 28px;
  border-top: 1px solid var(--rule);
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer__section h4 {
  color: var(--cream);
  font-size: 16px;
  margin-bottom: 14px;
}

.footer__section a {
  color: rgba(247, 244, 238, 0.7);
  font-size: 14px;
  display: block;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.footer__section a:hover {
  color: var(--gold);
}

.footer__disclaimer {
  background: rgba(22, 24, 26, 0.5);
  padding: 20px 24px;
  border-radius: 4px;
  font-size: 13px;
  color: rgba(247, 244, 238, 0.6);
  margin-bottom: 28px;
}

.footer__base {
  border-top: 1px solid var(--rule);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(247, 244, 238, 0.5);
}

/* ========== FORMS ========== */

form {
  max-width: 600px;
  margin: 32px 0;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--graphite);
  font-size: 14px;
}

input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--cream-dim);
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.2s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold-text);
  box-shadow: 0 0 0 3px rgba(132, 107, 26, 0.25);
}

/* ========== ACCESSIBILITY: FOCUS STATES ========== */

/* Make the skip-to-content link visible when it receives keyboard focus */
.skip:focus {
  top: 0 !important;
}

/* Visible focus outline for keyboard navigation across all interactive elements.
   Uses :focus-visible so mouse clicks don't trigger the outline, only keyboard/assistive nav. */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Fallback for browsers that don't support :focus-visible */
a:focus,
button:focus,
.btn:focus {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* Field helper text + pre-submit trust line */
.field-help {
  font-size: 13px;
  line-height: 1.5;
  color: #7A7D82;
  margin: 0 0 8px;
  max-width: none;
}

.form-trust {
  font-size: 13px;
  line-height: 1.5;
  color: #7A7D82;
  text-align: center;
  margin: 0 0 14px;
  max-width: none;
}

/* Form status + validation messaging */
.form-status:empty {
  display: none;
}

.form-status {
  padding: 14px 16px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.55;
}

.form-status--ok {
  background: rgba(201, 162, 39, 0.12);
  border-left: 4px solid var(--gold);
  color: var(--graphite);
}

.form-status--err {
  background: rgba(176, 58, 46, 0.08);
  border-left: 4px solid #B03A2E;
  color: #8C2F26;
}

.field-error:empty {
  display: none;
}

.field-error {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #B03A2E;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: #B03A2E;
}

/* ========== PRICING TABLE ========== */

.pricing-tier {
  background: white;
  border: 1px solid var(--cream-dim);
  border-top: 4px solid var(--gold);
  padding: 24px;
  margin-bottom: 24px;
  border-radius: 4px;
}

.pricing-tier h3 {
  margin-top: 0;
  color: var(--gold-text);
  font-size: 20px;
}

.pricing-tier p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.pricing-tier ul {
  list-style: none;
  padding-left: 0;
  font-size: 14px;
}

.pricing-tier li {
  padding-left: 18px;
  margin-bottom: 8px;
  position: relative;
}

.pricing-tier li:before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold-text);
}

/* ========== JOURNEY TIMELINE ========== */

.journey {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.journey li {
  counter-increment: step-counter;
  padding: 20px 0 20px 60px;
  position: relative;
  margin-bottom: 24px;
  border-left: 2px solid var(--gold);
}

.journey li:before {
  content: counter(step-counter);
  position: absolute;
  left: -16px;
  top: 20px;
  width: 28px;
  height: 28px;
  background: var(--gold);
  color: var(--graphite-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.journey li strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-text);
  font-size: 16px;
}

/* ========== METHOD TABLE ========== */

/* Six-step method cards */
.method-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 0;
  margin: 36px 0 0;
  counter-reset: method;
}

.method-steps li {
  counter-increment: method;
  position: relative;
  background: white;
  border: 1px solid var(--cream-dim);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  padding: 26px 24px 24px;
}

.method-steps li::before {
  content: counter(method);
  display: block;
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-text);
  margin-bottom: 8px;
}

.method-steps h3 {
  font-size: 20px;
  margin: 0 0 10px;
  color: var(--graphite);
}

.method-steps p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}

@media (max-width: 480px) {
  .method-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .method-steps li {
    padding: 20px 20px 18px;
  }
}

.method-table {
  background: white;
  border: 1px solid var(--cream-dim);
  border-radius: 4px;
  overflow: hidden;
  margin: 32px 0;
}

.method-table table {
  margin: 0;
}

.method-table th {
  background: var(--graphite-deep);
  color: var(--cream);
  font-weight: 600;
}

/* Keep "1. Discover" on one line — never break number from word */
.method-table td:first-child {
  white-space: nowrap;
  width: 1%;
  padding-right: 20px;
}

/* ========== UTILITIES ========== */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.text-center {
  text-align: center;
}

.text-gold {
  color: var(--gold-text);
}

.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.mt-48 { margin-top: 48px; }
.mb-48 { margin-bottom: 48px; }

.img-responsive {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 768px) {
  section {
    padding: 40px 0;
  }

  .nav {
    gap: 18px;
    font-size: 14px;
  }

  .nav a {
    font-size: 14px;
  }

  .page-hero {
    padding: 44px 0 44px;
  }

  .founder__photo {
    max-width: 300px;
  }

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

  .btn-group {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  table {
    font-size: 14px;
  }

  th, td {
    padding: 10px 12px;
  }

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

  .footer__content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer__base {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 0 16px;
  }

  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  h3 { font-size: 18px; }

  /* Header stays a single horizontal row on phones.
     Brand on the left, nav on the right — never stacked. */
  header.site-header .wrap {
    flex-direction: row;
    align-items: center;
    padding: 10px 16px;
    gap: 10px;
  }

  .brand {
    font-size: 15px;
    gap: 8px;
  }

  .brand img {
    width: 24px;
    height: 24px;
  }

  .nav {
    flex-direction: row;
    gap: 14px;
    width: auto;
  }

  .nav a {
    font-size: 13px;
    padding: 0;
  }

  .page-hero {
    padding: 36px 0 40px;
  }

  .hero__image {
    margin-top: 24px;
  }

  .lede {
    font-size: 16px;
  }
}
