:root {
  --bg: #080808;
  --bg-soft: #111111;
  --panel: #171717;
  --text: #f5f2ea;
  --muted: #c9c0ae;
  --subtle: #918a7b;
  --gold: #d9ad54;
  --gold-light: #f4d889;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: #111;
  background: var(--gold-light);
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid transparent;
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(18px);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(8, 8, 8, 0.92);
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  flex-wrap: wrap;
}

nav a {
  padding: 0.55rem 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.nav-cta {
  color: #111;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  padding: 0;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 0 10px rgba(217, 173, 84, 0.18);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.94), rgba(8, 8, 8, 0.52) 48%, rgba(8, 8, 8, 0.72)),
    linear-gradient(0deg, #080808 0%, rgba(8, 8, 8, 0.22) 46%, rgba(8, 8, 8, 0.35) 100%);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  padding: 110px 0 78px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 1.25rem;
  font-size: clamp(3.4rem, 8vw, 7.3rem);
  line-height: 0.94;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
}

h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  line-height: 1.2;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.05rem;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  color: #111;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 18px 44px rgba(217, 173, 84, 0.22);
}

.button-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(244, 216, 137, 0.55);
}

.full {
  width: 100%;
}

.hero-panel {
  display: grid;
  gap: 1rem;
  padding: 1.1rem;
  border: 1px solid rgba(244, 216, 137, 0.22);
  background: rgba(8, 8, 8, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-panel div + div {
  margin-top: 0;
}

.hero-panel div {
  padding: 0.9rem;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.025);
  transform: translateY(0) scale(1);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.panel-label {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-bottom: 0.15rem;
}

.hero-panel p,
.muted {
  color: var(--muted);
}

.hero-panel p {
  margin-bottom: 0;
  font-size: 0.96rem;
}

.section {
  padding: 92px 0;
}

.section-muted {
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}

.section-heading {
  max-width: 840px;
  margin-bottom: 2.4rem;
}

.section-heading p:not(.eyebrow),
.text-stack p,
.split > div:first-child p:not(.eyebrow),
.contact-grid > div:first-child p {
  color: var(--muted);
  font-size: 1.08rem;
}

.narrow {
  max-width: 720px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.text-stack {
  display: block;
  align-self: start;
}

.text-stack p {
  margin-bottom: 0;
}

.text-stack p + p {
  margin-top: 0.95rem;
}

.text-stack .collab-note {
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--gold);
  color: var(--text);
  background: rgba(217, 173, 84, 0.09);
}

.logo-card {
  margin: 2rem 0 0;
  padding: 0;
  border: 1px solid rgba(244, 216, 137, 0.22);
  background:
    radial-gradient(ellipse at 50% 46%, rgba(244, 216, 137, 0.18) 0, rgba(217, 173, 84, 0.1) 32%, transparent 68%),
    rgba(255, 255, 255, 0.025);
}

.logo-card img {
  width: min(100%, 420px);
  margin: 0 auto;
}

.personal-photo {
  margin: 2rem 0 0;
}

.personal-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(244, 216, 137, 0.22);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.personal-photo figcaption {
  margin-top: 0.65rem;
  color: var(--subtle);
  font-size: 0.9rem;
}

.about-me-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.about-me-photo {
  margin-top: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.card,
.gear-panel,
.contact-card,
.quote-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.card,
.gear-panel,
.contact-card,
.quote-card {
  transform: translateY(0) scale(1);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.card:focus-within,
.gear-panel:focus-within,
.contact-card:focus-within,
.quote-card:focus-within {
  border-color: rgba(244, 216, 137, 0.42);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.3), 0 0 28px rgba(217, 173, 84, 0.08);
  transform: translateY(-4px) scale(1.018);
}

.card {
  padding: 1.25rem;
}

.card p,
.step p,
.gear-panel li,
.contact-card li,
.contact-card p,
.quote-card p {
  color: var(--muted);
}

.card-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(244, 216, 137, 0.24);
  color: var(--gold-light);
  background: rgba(217, 173, 84, 0.12);
  font-size: 0.78rem;
  font-weight: 900;
}

.steps {
  display: grid;
  gap: 1rem;
}

.step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 1rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(0) scale(1);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.step:focus-within {
  border-color: rgba(244, 216, 137, 0.36);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.26);
  transform: translateY(-3px) scale(1.012);
}

.step > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #111;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  font-size: 0.82rem;
  font-weight: 900;
}

.section-dark {
  border-block: 1px solid rgba(217, 173, 84, 0.16);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6)),
    var(--bg-soft);
}

.gear-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gear-panel {
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
}

.gear-panel.featured {
  border-color: rgba(244, 216, 137, 0.32);
}

.gear-panel ul,
.contact-card ul {
  padding-left: 1.1rem;
  margin: 0;
}

.gear-panel li + li,
.contact-card li + li {
  margin-top: 0.5rem;
}

.quote-section {
  padding-block: 56px;
}

.quote-card {
  padding: clamp(1.4rem, 4vw, 3rem);
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(217, 173, 84, 0.18), transparent 22rem),
    rgba(255, 255, 255, 0.05);
}

.quote-card p {
  max-width: 920px;
  margin: 0 auto;
  color: var(--text);
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.16;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  padding: 1.2rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(0) scale(1);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.faq-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.contact-card {
  padding: 1.25rem;
  background: rgba(8, 8, 8, 0.62);
}

.check-list {
  list-style: none;
  padding-left: 0 !important;
  margin-bottom: 1.2rem !important;
}

.check-list li {
  position: relative;
  padding-left: 1.55rem;
}

.check-list li::before {
  content: ">";
  position: absolute;
  left: 0;
  color: var(--gold-light);
  font-weight: 900;
}

.small-note {
  margin: 0.9rem 0 0;
  font-size: 0.86rem;
}

@media (hover: hover) and (pointer: fine) {
  .hero-panel div:hover {
    border-color: rgba(244, 216, 137, 0.32);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 16px 46px rgba(0, 0, 0, 0.22), 0 0 20px rgba(217, 173, 84, 0.07);
    transform: translateY(-3px) scale(1.012);
  }

  .card:hover,
  .gear-panel:hover,
  .contact-card:hover,
  .quote-card:hover {
    border-color: rgba(244, 216, 137, 0.42);
    background: rgba(255, 255, 255, 0.075);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.3), 0 0 28px rgba(217, 173, 84, 0.08);
    transform: translateY(-4px) scale(1.018);
  }

  .step:hover {
    border-color: rgba(244, 216, 137, 0.36);
    background: rgba(255, 255, 255, 0.065);
    box-shadow: 0 20px 58px rgba(0, 0, 0, 0.26);
    transform: translateY(-3px) scale(1.012);
  }

  .faq-item:hover {
    border-color: rgba(244, 216, 137, 0.36);
    background: rgba(255, 255, 255, 0.065);
    box-shadow: 0 20px 58px rgba(0, 0, 0, 0.26);
    transform: translateY(-3px) scale(1.012);
  }
}

@media (max-width: 1020px) {
  .hero-content,
  .split,
  .about-me-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    align-items: start;
  }

  .hero-panel {
    max-width: 620px;
  }

  .cards,
  .gear-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .header-inner {
    position: relative;
    min-height: 62px;
    padding: 0.55rem 0;
    align-items: center;
    flex-direction: row;
  }

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

  .menu-toggle {
    display: inline-grid;
    align-content: center;
    gap: 4px;
  }

  nav {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 0;
    display: grid;
    width: min(220px, calc(100vw - 28px));
    gap: 0.2rem;
    justify-content: stretch;
    justify-items: stretch;
    padding: 0.55rem;
    border: 1px solid var(--line);
    background: rgba(8, 8, 8, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.35rem);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .site-header.menu-open nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  nav a {
    width: 100%;
    padding: 0.8rem 0.85rem;
    text-align: left;
    white-space: normal;
  }

  .nav-cta {
    color: var(--muted);
    background: transparent;
    text-align: left;
  }

  .nav-cta:hover,
  .nav-cta:focus-visible {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 72px 0 56px;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 5.2rem);
  }

  .section {
    padding: 68px 0;
  }

  .cards,
  .gear-grid {
    grid-template-columns: 1fr;
  }

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

}

@media (prefers-reduced-motion: reduce) {
  .card,
  .gear-panel,
  .contact-card,
  .quote-card,
  .hero-panel div,
  .faq-item,
  .step,
  .button {
    transition: none;
  }

  .hero-panel div:hover,
  .card:hover,
  .card:focus-within,
  .gear-panel:hover,
  .gear-panel:focus-within,
  .contact-card:hover,
  .contact-card:focus-within,
  .quote-card:hover,
  .quote-card:focus-within,
  .faq-item:hover,
  .step:hover,
  .step:focus-within,
  .button:hover,
  .button:focus-visible {
    transform: none;
  }
}
