:root {
  --paper: #1a1411;
  --warm-white: #eee4d2;
  --ink: #efe6d6;
  --muted: rgba(239, 230, 214, 0.62);
  --line: rgba(239, 230, 214, 0.095);
  --leaf: #cdbb99;
  --clay: #ad8a62;
  --burgundy: #261316;
  --mahogany: #33201d;
  --tobacco: #826346;
  --champagne: #c8ad7a;
  --display-serif: "Snell Roundhand", "Apple Chancery", "Zapfino", "Brush Script MT", cursive;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --support-serif: "Hoefler Text", "Iowan Old Style", Georgia, serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: #120d0b;
  font-family: var(--sans);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.landing {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(38, 19, 22, 0.08), rgba(14, 10, 9, 0.96) 78%),
    radial-gradient(circle at 18% 22%, rgba(239, 230, 214, 0.035) 0 0.7px, transparent 1px),
    radial-gradient(circle at 74% 38%, rgba(239, 230, 214, 0.028) 0 0.8px, transparent 1.2px),
    radial-gradient(circle at 42% 78%, rgba(239, 230, 214, 0.026) 0 0.7px, transparent 1px),
    repeating-linear-gradient(92deg, rgba(239, 230, 214, 0.026) 0 1px, transparent 1px 9px, rgba(239, 230, 214, 0.012) 9px 10px, transparent 10px 22px),
    repeating-linear-gradient(178deg, rgba(239, 230, 214, 0.018) 0 1px, transparent 1px 8px, rgba(239, 230, 214, 0.01) 8px 9px, transparent 9px 24px),
    repeating-linear-gradient(36deg, transparent 0 18px, rgba(239, 230, 214, 0.008) 18px 19px, transparent 19px 38px),
    linear-gradient(118deg, #14100e 0%, #211514 48%, #130e0c 100%);
  background-size: auto, 180px 220px, 240px 260px, 210px 190px, auto, auto, auto, auto;
}

.landing::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, transparent 0 calc(18% - 0.5px), rgba(239, 230, 214, 0.085) calc(18% - 0.5px) calc(18% + 0.5px), transparent calc(18% + 0.5px) calc(50% - 0.5px), rgba(239, 230, 214, 0.055) calc(50% - 0.5px) calc(50% + 0.5px), transparent calc(50% + 0.5px) calc(82% - 0.5px), rgba(239, 230, 214, 0.085) calc(82% - 0.5px) calc(82% + 0.5px), transparent calc(82% + 0.5px)),
    linear-gradient(180deg, transparent 0 18%, rgba(239, 230, 214, 0.075) 18% calc(18% + 1px), transparent calc(18% + 1px) 84%, rgba(239, 230, 214, 0.045) 84% calc(84% + 1px), transparent calc(84% + 1px)),
    repeating-linear-gradient(90deg, transparent 0 72px, rgba(239, 230, 214, 0.035) 72px 73px, transparent 73px 144px),
    repeating-linear-gradient(180deg, transparent 0 88px, rgba(239, 230, 214, 0.026) 88px 89px, transparent 89px 176px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.016) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.018) 0 1px, transparent 1px 4px);
  opacity: 0.62;
}

.landing::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(18, 13, 11, 0.58), rgba(18, 13, 11, 0.98)),
    url("assets/maple-elm-logo.jpeg") 50% 47% / 116px 116px repeat;
  opacity: 0.075;
  filter: blur(0.12px) contrast(92%);
  mix-blend-mode: screen;
  mask-image:
    radial-gradient(ellipse at center, black 0 52%, transparent 82%),
    linear-gradient(180deg, transparent 0, black 18%, black 86%, transparent 100%);
  mask-composite: intersect;
  pointer-events: none;
}

.brand-bar {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: clamp(22px, 3vw, 34px) clamp(20px, 4vw, 54px);
}

.brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-family: var(--serif);
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  font-weight: 500;
  white-space: nowrap;
}

.brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: invert(94%) sepia(17%) saturate(404%) hue-rotate(345deg) brightness(101%) contrast(93%);
  mix-blend-mode: screen;
}

.nav-link {
  color: rgba(239, 230, 214, 0.6);
  font-family: var(--support-serif);
  font-size: 0.82rem;
  font-weight: 400;
  font-variant: small-caps;
  letter-spacing: 0.08em;
  text-transform: none;
}

.nav-button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: calc(100vh - 82px);
  padding: clamp(34px, 6vh, 74px) clamp(22px, 6vw, 92px) clamp(64px, 11vh, 118px);
  text-align: center;
}

.hero-copy {
  position: relative;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(200, 173, 122, 0.82);
  font-family: var(--support-serif);
  font-size: 0.9rem;
  font-weight: 400;
  font-variant: small-caps;
  letter-spacing: 0.08em;
  text-transform: none;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  display: grid;
  justify-items: center;
  font-family: var(--display-serif);
  font-weight: 400;
  letter-spacing: 0;
  margin-bottom: 28px;
  font-size: clamp(4.3rem, 8.4vw, 8.8rem);
  line-height: 0.88;
}

h1 .ventures {
  margin-top: -0.16em;
  font-size: 0.68em;
}

.lede {
  max-width: 610px;
  margin: 0 auto;
  color: var(--muted);
  font-family: var(--support-serif);
  font-size: clamp(1.04rem, 1.25vw, 1.18rem);
  line-height: 1.72;
}

.inquiry-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  padding: 0 2px 3px;
  border: 0;
  border-bottom: 1px solid rgba(205, 187, 153, 0.42);
  background: transparent;
  color: var(--leaf);
  font-family: var(--support-serif);
  font-size: 0.96rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.intake-panel {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 22px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.intake-panel.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.intake-scrim {
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 5, 0.7);
  backdrop-filter: blur(12px);
}

.intake-card {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(239, 230, 214, 0.16);
  background:
    linear-gradient(180deg, rgba(38, 27, 23, 0.96), rgba(18, 13, 11, 0.98)),
    #17110f;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
}

.close-button {
  position: absolute;
  top: 18px;
  right: 20px;
  border: 0;
  background: transparent;
  color: rgba(239, 230, 214, 0.62);
  cursor: pointer;
  font-family: var(--support-serif);
  font-size: 0.82rem;
  font-variant: small-caps;
  letter-spacing: 0.08em;
}

.intake-card h2 {
  max-width: 520px;
  margin-bottom: 28px;
  font-size: clamp(1.8rem, 3.8vw, 3.35rem);
  line-height: 1;
}

form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: rgba(239, 230, 214, 0.72);
  font-family: var(--support-serif);
  font-size: 0.78rem;
  font-weight: 400;
  font-variant: small-caps;
  letter-spacing: 0.05em;
}

input,
select,
textarea {
  appearance: none;
  width: 100%;
  border: 1px solid rgba(239, 230, 214, 0.16);
  border-radius: 0;
  padding: 13px 12px;
  background: rgba(239, 230, 214, 0.055);
  color: var(--ink);
  font-family: var(--support-serif);
  font-size: 1rem;
  font-variant: normal;
  letter-spacing: 0;
  outline: 0;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(205, 187, 153, 0.5);
}

textarea {
  resize: vertical;
}

.full-field,
.submit-button,
.form-note {
  grid-column: 1 / -1;
}

.submit-button {
  min-height: 48px;
  border: 1px solid rgba(205, 187, 153, 0.52);
  background: rgba(205, 187, 153, 0.12);
  color: var(--leaf);
  cursor: pointer;
  font-family: var(--support-serif);
  font-size: 0.86rem;
  font-weight: 400;
  font-variant: small-caps;
  letter-spacing: 0.06em;
}

.form-note {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
  font-family: var(--support-serif);
  line-height: 1.5;
}

@media (max-width: 820px) {
  .brand-bar {
    display: flex;
    justify-content: space-between;
    min-height: 72px;
  }
}

@media (max-width: 560px) {
  .brand {
    position: static;
    transform: none;
    gap: 10px;
    font-size: 1rem;
  }

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

  .nav-link[aria-hidden="true"] {
    display: none;
  }

  .hero {
    min-height: calc(100vh - 108px);
    padding-top: 28px;
    padding-bottom: 76px;
  }

  h1 {
    font-size: clamp(3.45rem, 14.8vw, 5.1rem);
    line-height: 0.9;
  }

  .lede {
    font-size: 1rem;
    line-height: 1.72;
  }

  form {
    grid-template-columns: 1fr;
  }
}
