/* Solaria Group: black & gold recruitment one-pager.
   Design tokens first, then layout. WCAG 2.2 AA: 44px touch targets,
   visible focus, prefers-reduced-motion honoured. */

:root {
  --ink: #0b0b0d;
  --ink-2: #101014;
  --ink-3: #16161b;
  --gold: #c6a664;
  --gold-bright: #e2c98b;
  --ivory: #f4f1ea;
  --muted: #b6afa2;
  --line: rgba(198, 166, 100, 0.28);
  --line-soft: rgba(244, 241, 234, 0.12);
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --wrap: 68rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

.container {
  width: min(var(--wrap), 100% - (2 * var(--pad)));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100%;
  background: var(--gold); color: var(--ink);
  padding: 0.75rem 1.25rem; border-radius: 2px;
  font-weight: 500; text-decoration: none; z-index: 100;
}
.skip-link:focus { top: 1rem; }

a { color: var(--gold-bright); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ivory); }

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 13, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-block: 1rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex; align-items: center; gap: 0.85rem;
  text-decoration: none;
}
.brand__mark {
  width: 2.9rem; height: 2.9rem; flex: 0 0 auto;
  mix-blend-mode: lighten;
}
.brand__word {
  font-family: var(--serif); line-height: 1; white-space: nowrap;
  font-size: 1.35rem; letter-spacing: 0.16em; text-transform: uppercase;
}
.brand__name { color: var(--ivory); transition: color 0.2s ease; }
.brand__group { color: var(--gold); font-size: 0.72em; letter-spacing: 0.34em; }
.brand:hover .brand__name { color: var(--gold-bright); }

.site-nav { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.5rem); }

.site-nav__list {
  display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.25rem);
  list-style: none; margin: 0; padding: 0;
}

.site-nav__list a {
  color: var(--ivory); text-decoration: none;
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.75rem 0.25rem; display: inline-block;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.site-nav__list a:hover { color: var(--gold-bright); border-bottom-color: var(--gold); }

.nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px;
  background: none; border: 1px solid var(--line); border-radius: 2px;
  cursor: pointer; padding: 0;
}

.nav-toggle__box { position: relative; width: 20px; height: 12px; display: block; }
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 1.5px;
  background: var(--gold-bright); transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle__bar { top: 5px; }
.nav-toggle__bar::before { top: -6px; }
.nav-toggle__bar::after { top: 6px; }

.nav-open .nav-toggle__bar { background: transparent; }
.nav-open .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0.85rem 1.9rem;
  font-family: var(--sans); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--gold); border-radius: 2px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--ink); }

.btn--ghost { background: transparent; color: var(--ivory); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-bright); }

.btn--small { padding: 0.65rem 1.35rem; }
.btn--large { padding: 1.05rem 2.25rem; font-size: 0.9rem; }

/* ---------- Typography ---------- */

.eyebrow {
  margin: 0 0 1.15rem;
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold);
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; }

h1 { font-size: clamp(2.65rem, 6.4vw, 4.75rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(2rem, 4vw, 2.95rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--muted); max-width: 42ch;
}

/* ---------- Hero ---------- */

.hero { position: relative; padding: clamp(4.5rem, 11vw, 8.5rem) 0 clamp(3.5rem, 8vw, 6.5rem); }

.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60rem 32rem at 78% -10%, rgba(198, 166, 100, 0.13), transparent 65%),
    radial-gradient(46rem 26rem at 8% 110%, rgba(198, 166, 100, 0.07), transparent 60%);
}

.hero-inner { position: relative; z-index: 1; }

.hero h1 { max-width: 22ch; }
.strapline {
  margin: 1.15rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.6vw, 1.95rem);
  letter-spacing: 0.14em;
  color: var(--gold-bright);
}
.hero-lead { margin: 1.85rem 0 0; max-width: 46ch; }

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.65rem;
}

.hero-rule {
  position: relative; z-index: 1;
  width: min(var(--wrap), 100% - (2 * var(--pad)));
  margin: clamp(3.25rem, 7vw, 5.25rem) auto 0;
  height: 1px; background: linear-gradient(90deg, var(--gold), transparent 85%);
  opacity: 0.55;
}

/* ---------- Sections ---------- */

.section { padding: clamp(3.75rem, 8vw, 6.25rem) 0; }
.section h2 { max-width: 22ch; }
.section--tinted {
  background: var(--ink-2);
  border-block: 1px solid var(--line-soft);
}

/* Expertise cards */
.cards {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 3vw, 2.25rem); margin-top: 2.75rem;
}

.card {
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line-soft);
  border-top: 1px solid var(--gold);
  padding: clamp(1.75rem, 3.5vw, 2.65rem);
}

.card h3 { color: var(--gold-bright); }
.card > p { color: var(--muted); margin: 1.05rem 0 1.5rem; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.ticks li {
  position: relative; padding-left: 1.85rem; color: var(--ivory);
  font-size: 0.96rem;
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 0.85rem; height: 1px; background: var(--gold);
}

/* Approach pillars */
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3.5vw, 3rem); margin-top: 3rem;
}

.pillar__index {
  margin: 0 0 0.85rem; font-family: var(--serif);
  font-size: 1.05rem; letter-spacing: 0.3em; color: var(--gold);
}
.pillar h3 { margin-bottom: 0.7rem; }
.pillar p:last-child { color: var(--muted); margin: 0; }

/* ---------- Contact ---------- */

.contact { text-align: center; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact .lead { margin: 1.35rem 0 2.5rem; max-width: 46ch; }
.contact .btn { word-break: break-word; }
.contact-note { margin: 1.85rem 0 0; color: var(--muted); font-size: 0.95rem; }
.contact-phones { margin: 1.15rem 0 0; color: var(--ivory); font-size: 1.02rem; letter-spacing: 0.05em; }
.contact-phones a { display: inline-block; padding: 0.45rem 0.35rem; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 2.75rem 0 1.5rem;
  background: var(--ink-2);
}

.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.15rem; text-align: center; }
.footer-mark { width: 9.5rem; mix-blend-mode: lighten; opacity: 0.95; }
.footer-line { margin: 0; color: var(--muted); font-size: 0.88rem; letter-spacing: 0.03em; }
.footer-sep { margin: 0 0.55rem; color: var(--gold); }

/* ---------- Responsive ---------- */

@media (max-width: 52rem) {
  .cards, .pillars { grid-template-columns: 1fr; }
  .hero { padding-top: clamp(3.25rem, 12vw, 5rem); }
  .brand__word { font-size: 1.15rem; letter-spacing: 0.12em; }
  .brand__mark { width: 2.5rem; height: 2.5rem; }
  .header-inner { gap: 1rem; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 1.25rem;
    background: var(--ink-2);
    border-bottom: 1px solid var(--line-soft);
    padding: 1.5rem var(--pad) 2rem;
    display: none;
  }
  .nav-open .site-nav { display: flex; }

  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0.25rem; }
  .site-nav__list a { padding: 0.95rem 0.25rem; font-size: 0.95rem; }
  .site-nav .btn { width: 100%; }
}

@media (max-width: 30rem) {
  .hero-actions .btn { width: 100%; }
  .contact .btn { width: 100%; padding-inline: 1.25rem; font-size: 0.82rem; }
}

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

@media print {
  .site-header, .hero-actions, .nav-toggle { display: none; }
  body { background: #fff; color: #000; }
}
