:root {
  --bg: #050505;
  --fg: #f5f5f5;
  --muted: #8c8c8c;
  --muted2: #5c5c5c;
  --gold: #c9a962;
  --gold-hover: #d4b56e;
  --line: rgba(255, 255, 255, 0.06);
  --nav: #9a9a9a;
  --card: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.07);
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  background-image: radial-gradient(
      ellipse 100% 80% at 50% -35%,
      rgba(201, 169, 98, 0.09) 0%,
      transparent 58%
    ),
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(60, 60, 70, 0.35) 0%, transparent 50%);
  background-attachment: fixed;
}

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

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

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem clamp(1.25rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  text-decoration: none;
  color: var(--fg);
}

.brand-name {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  align-self: center;
  opacity: 0.95;
}

nav.nav {
  display: none;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 1.6rem);
}

@media (min-width: 860px) {
  nav.nav {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

nav.nav a {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--nav);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

nav.nav a[aria-current="page"] {
  color: var(--gold);
}

.header-cta {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
}

.header-cta:hover {
  color: var(--gold-hover);
}

/* Page container */
main.page,
main.home {
  flex: 1;
  width: 100%;
}

main.page {
  width: min(56rem, 100%);
  margin: 0 auto;
  padding: clamp(2rem, 6vh, 3.25rem) clamp(1.25rem, 4vw, 2rem) 3rem;
}

main.page--narrow {
  width: min(42rem, 100%);
}

/* Repeating content sections on the home (and similar) layouts. */
.section {
  width: min(56rem, 100%);
  margin: 0 auto;
  padding: clamp(2rem, 5vh, 2.75rem) clamp(1.25rem, 4vw, 2rem);
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-head {
  margin: 0 0 1.25rem;
}

.section-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.55rem, 3.6vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 0.5rem;
  color: var(--fg);
}

.section-title em {
  font-style: italic;
  color: #e4e4e8;
}

.section-lead {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Headings & prose */
.kicker {
  margin: 0 0 0.6rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

h1.page-h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 5.5vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  color: var(--fg);
}

h1.page-h1 em {
  font-style: italic;
  color: #e4e4e8;
}

h2.section-h2 {
  margin: 2.25rem 0 0.85rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted2);
}

h3.subhead {
  margin: 0 0 0.6rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--gold);
}

.prose p {
  margin: 0 0 1.05rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #b8b8bc;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose strong {
  color: #e2e2e6;
  font-weight: 600;
}

.prose ul,
.prose ol {
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #b8b8bc;
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose li:last-child {
  margin-bottom: 0;
}

/* Buttons */
.btn-gold {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #111;
  text-decoration: none;
  padding: 0.95rem 2rem;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold-hover) 0%, var(--gold) 100%);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-gold:hover {
  background: linear-gradient(180deg, #dcc07a 0%, #d4b56e 100%);
  transform: translateY(-1px);
  color: #111;
}

.btn-ghost {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  padding: 0.9rem 1.6rem;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Cards */
.card {
  margin: 0;
  padding: 1.25rem 1.3rem 1.35rem;
  border-radius: 10px;
  border: 1px solid var(--card-border);
  background: var(--card);
}

.card--gold {
  border-color: rgba(201, 169, 98, 0.28);
  background: linear-gradient(165deg, rgba(28, 24, 18, 0.45) 0%, rgba(10, 10, 12, 0.92) 55%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.card--gold p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #c0c0c6;
}

.about-note {
  margin-top: 2rem;
}

.about-back-row,
.back-row {
  margin-top: 2rem;
}

/* "Reasons to write to us" grid */
.reason-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
  margin: 1.25rem 0 0;
}

@media (min-width: 720px) {
  .reason-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.reason {
  padding: 1.05rem 1.2rem 1.15rem;
  border-radius: 10px;
  border: 1px solid var(--card-border);
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.reason-tag {
  margin: 0;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.reason-copy {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #c4c4c8;
}

.reason-copy strong {
  color: #e4e4e8;
  font-weight: 600;
}

.reason-link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px dotted rgba(201, 169, 98, 0.5);
  padding-bottom: 1px;
}

.reason-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Join us / hiring callout */
.join {
  margin: 2.5rem 0 0;
  padding: 1.5rem 1.5rem 1.6rem;
  border-radius: 12px;
  border: 1px solid rgba(201, 169, 98, 0.32);
  background: linear-gradient(165deg, rgba(28, 24, 18, 0.55) 0%, rgba(10, 10, 12, 0.92) 60%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.join-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.join-h {
  margin: 0 0 0.8rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.45rem, 3.4vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--fg);
}

.join-h em {
  font-style: italic;
  background: linear-gradient(118deg, #fff9ef 0%, #e8d9b8 18%, #c9a962 42%, #a8863a 55%, #d4bc7a 72%, #f5ecd8 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.join p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #c4c4c8;
}

.join-stack {
  margin: 0 0 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
}

.join-stack span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #e4e4e8;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

.join-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.85rem;
  align-items: center;
}

.join-note {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Pull quote */
.pull {
  margin: 1.75rem 0;
  padding: 1.1rem 1.15rem 1.15rem;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 8px 8px 0;
}

.pull p {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.15rem, 2.8vw, 1.4rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
  color: #d8d8dc;
}

/* Feature grid */
.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin: 1.5rem 0 0;
}

@media (min-width: 720px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature {
  padding: 1.2rem 1.25rem 1.3rem;
  border-radius: 10px;
  border: 1px solid var(--card-border);
  background: var(--card);
}

.feature h3 {
  margin: 0 0 0.4rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--gold);
}

.feature p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #b4b4ba;
}

/* Hero (home) */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: min(56rem, 100%);
  margin: 0 auto;
  padding: clamp(2.5rem, 8vh, 4.5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2rem, 5vh, 2.75rem);
}

.hero-brandmark img {
  width: clamp(72px, 18vw, 112px);
  height: auto;
  display: block;
  margin: 0 auto 1rem;
  filter: invert(1) brightness(0.96);
  opacity: 0.92;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.7rem 0.3rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  margin-bottom: 1.1rem;
}

.badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.badge .label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

h1.hero-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  margin: 0 auto 1.1rem;
  max-width: 22ch;
  text-align: center;
  line-height: 1.05;
  font-size: clamp(2.1rem, 5.5vw, 3rem);
}

h1.hero-title em {
  font-style: italic;
  background: linear-gradient(118deg, #fff9ef 0%, #e8d9b8 18%, #c9a962 42%, #a8863a 55%, #d4bc7a 72%, #f5ecd8 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

p.hero-lead {
  margin: 0 auto 1.5rem;
  max-width: 36rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 0 2rem;
}

/* Contact / info blocks */
.info-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin: 1rem 0 0;
}

@media (min-width: 720px) {
  .info-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.info {
  padding: 1.1rem 1.15rem;
  border-radius: 10px;
  border: 1px solid var(--card-border);
  background: var(--card);
}

.info-label {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted2);
  margin: 0 0 0.45rem;
}

.info-value {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #e4e4e8;
  word-break: break-word;
}

.info-value a {
  color: #e4e4e8;
  text-decoration: none;
  border-bottom: 1px dotted rgba(201, 169, 98, 0.5);
}

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

/* Notice block (for opt-in disclosure) */
.notice {
  margin: 1.75rem 0 0;
  padding: 1.1rem 1.2rem;
  border-radius: 10px;
  border: 1px solid rgba(201, 169, 98, 0.28);
  background: rgba(201, 169, 98, 0.05);
}

.notice p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #e4e4e8;
}

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

/* Waitlist form */
.waitlist-block {
  width: min(28rem, 100%);
  margin: 0 auto;
  scroll-margin-top: 1rem;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
}

.waitlist-fields {
  display: grid;
  gap: 0.65rem;
  width: 100%;
}

@media (min-width: 480px) {
  .waitlist-fields {
    grid-template-columns: 1fr 1fr;
  }
}

.waitlist-field label {
  display: block;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 0.35rem;
  text-align: left;
}

.waitlist-field input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
  font-size: 0.875rem;
  font-family: inherit;
}

.waitlist-field input::placeholder {
  color: var(--muted2);
}

.waitlist-field input:focus {
  outline: 2px solid rgba(201, 169, 98, 0.35);
  outline-offset: 2px;
}

.waitlist-consent {
  margin: 0.4rem 0 0;
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  text-align: left;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}

.waitlist-consent input {
  margin-top: 0.25rem;
}

.waitlist-note {
  min-height: 1.35em;
  margin: 0.65rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
}

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding: 1.75rem clamp(1.25rem, 4vw, 2.5rem) 1.5rem;
  color: var(--muted);
  font-size: 0.8125rem;
}

.footer-grid {
  width: min(56rem, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-block h4 {
  margin: 0 0 0.55rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted2);
}

.footer-block p,
.footer-block a {
  margin: 0 0 0.35rem;
  display: block;
  font-size: 0.8125rem;
  color: var(--muted);
  text-decoration: none;
}

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

.footer-bottom {
  width: min(56rem, 100%);
  margin: 1.25rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  font-size: 0.75rem;
  color: var(--muted2);
}

.footer-bottom a {
  color: var(--muted2);
  text-decoration: none;
}

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

@media (prefers-reduced-motion: reduce) {
  .btn-gold:hover {
    transform: none;
  }
}
