:root {
  color-scheme: dark;
  --bg: #090807;
  --panel: #141313;
  --panel-soft: #1c1815;
  --text: #f5f0e8;
  --muted: #c8bdb1;
  --dim: #95887d;
  --line: rgba(255, 255, 255, 0.14);
  --gold: #d7ad62;
  --rose: #a95d4d;
  --sage: #78906f;
  --max: 1120px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header,
.hero,
.section,
.site-footer {
  padding-inline: max(22px, calc((100vw - var(--max)) / 2));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px;
  background: rgba(9, 8, 7, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  color: var(--text);
  font-weight: 850;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(215, 173, 98, 0.6);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.78rem;
}

nav {
  gap: 6px;
}

nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
}

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

.hero {
  min-height: min(760px, calc(88svh - 70px));
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: 52px;
  align-items: center;
  padding-block: 74px 48px;
  border-bottom: 1px solid var(--line);
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 6.2vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  font-size: 1.22rem;
  line-height: 1.18;
}

.hero p,
.section-heading p,
.split > p,
.brother-link p {
  color: var(--muted);
  font-size: 1.08rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: var(--gold);
  color: #15110b;
}

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

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

.hero-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(215, 173, 98, 0.28);
  border-radius: var(--radius);
  background: var(--panel);
}

.hero-media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.section {
  padding-block: 86px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.split {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1fr);
  gap: 44px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.feature-grid article {
  min-height: 240px;
  padding: 24px;
}

.feature-grid p {
  color: var(--muted);
}

.section-muted {
  background: var(--panel-soft);
  border-block: 1px solid var(--line);
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-grid span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #eee4d9;
  background: rgba(255, 255, 255, 0.04);
}

.brother-link {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.brother-link > div {
  max-width: 760px;
}

.intake {
  background: #0d0b0a;
  border-top: 1px solid var(--line);
}

.contact-form {
  max-width: 920px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 26px;
}

label {
  display: grid;
  gap: 8px;
  color: #f4ede5;
  font-weight: 750;
}

label span {
  color: var(--dim);
  font-weight: 600;
}

.full,
.contact-form button,
.form-note,
.form-status {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  padding: 12px 13px;
  background: #090807;
  color: var(--text);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  outline: 3px solid rgba(215, 173, 98, 0.2);
}

.form-note {
  margin: -4px 0 0;
  color: var(--dim);
  font-size: 0.92rem;
  line-height: 1.45;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  color: var(--text);
}

.site-footer a {
  color: var(--gold);
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header,
  .hero,
  .split,
  .brother-link,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header,
  .brother-link,
  .site-footer {
    display: flex;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero,
  .split,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .hero-media img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .button {
    width: 100%;
  }
}
