:root {
  --ink: #211914;
  --linen: #f8f5ed;
  --paper: rgba(255, 252, 244, 0.68);
  --soft: #67594e;
  --gold: #8f6726;
  --gold-deep: #6f4d1c;
  --line: rgba(33, 25, 20, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  cursor: url("assets/custom-cursor.svg") 6 5, auto;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(248, 245, 237, 0.72), rgba(248, 245, 237, 0.72)),
    url("assets/linen-background.png") center top / 720px auto repeat,
    var(--linen);
  font-family: Inter, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

body.gate-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 16%, rgba(143, 103, 38, 0.16), transparent 32rem),
    linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
  opacity: 1;
}

a {
  color: inherit;
  cursor: url("assets/custom-cursor.svg") 6 5, pointer;
  text-decoration: none;
}

button,
.button {
  cursor: url("assets/custom-cursor.svg") 6 5, pointer;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(20px, 5vw, 64px);
  background:
    linear-gradient(rgba(248, 245, 237, 0.92), rgba(248, 245, 237, 0.92)),
    url("assets/linen-background.png") center top / 720px auto repeat,
    var(--linen);
  border-bottom: 1px solid rgba(33, 25, 20, 0.1);
  box-shadow: 0 10px 30px rgba(33, 25, 20, 0.06);
  backdrop-filter: blur(14px);
}

.wordmark {
  color: var(--ink);
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: clamp(1.15rem, 2.35vw, 1.85rem);
  letter-spacing: 0;
}

nav {
  display: flex;
  gap: clamp(16px, 3vw, 34px);
  color: var(--soft);
  font-size: 0.88rem;
  font-weight: 600;
}

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

section {
  padding: clamp(74px, 10vw, 128px) clamp(20px, 6vw, 88px);
  scroll-margin-top: 96px;
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  padding-top: 112px;
}

.hero-logo {
  width: min(50vw, 470px);
  min-width: 250px;
  margin-bottom: clamp(14px, 3vw, 34px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 1120px;
  margin-bottom: 22px;
  font-size: clamp(3.5rem, 8.4vw, 8rem);
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4.8vw, 4.3rem);
}

.intro {
  max-width: 620px;
  margin: 0 auto 34px;
  color: var(--soft);
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  font-weight: 500;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--gold);
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  background: var(--gold);
  color: var(--linen);
  transform: translateY(-2px);
}

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  background: var(--line);
}

.services article {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 4vw, 46px);
  background:
    linear-gradient(rgba(255, 252, 244, 0.7), rgba(255, 252, 244, 0.7)),
    url("assets/linen-background.png") center / 620px auto repeat,
    var(--linen);
}

.services span {
  margin-bottom: auto;
  color: var(--gold);
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: 1.4rem;
}

.services p,
.about-text p,
.story p,
.journey-copy p,
.network p {
  max-width: 360px;
  margin-bottom: 0;
  color: var(--soft);
  font-weight: 500;
}

.story,
.pricing {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.story p {
  max-width: 620px;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
}

.section-heading {
  max-width: 840px;
  margin-bottom: clamp(30px, 5vw, 56px);
}

.method {
  border-bottom: 1px solid var(--line);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.detail-grid article {
  min-height: 230px;
  padding: clamp(24px, 3vw, 36px);
  background:
    linear-gradient(rgba(255, 252, 244, 0.72), rgba(255, 252, 244, 0.72)),
    url("assets/linen-background.png") center / 620px auto repeat,
    var(--linen);
}

.detail-grid span {
  display: block;
  margin-bottom: 54px;
  color: var(--gold-deep);
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 2.3rem);
}

.detail-grid p {
  margin: 0;
  color: var(--soft);
  font-weight: 500;
}

.journey {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.86fr);
  gap: clamp(34px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}

.journey-copy {
  display: grid;
  gap: 20px;
}

.journey-copy p {
  max-width: 620px;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
}

.pricing {
  border-top: 0;
}

.price-list {
  border-top: 1px solid var(--line);
}

.price-list button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 24px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  text-align: left;
  transition: color 180ms ease, padding 180ms ease, background 180ms ease;
}

.price-list button::after {
  content: "View";
  min-width: 52px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.price-list button:hover,
.price-list button:focus-visible {
  padding-right: 14px;
  padding-left: 14px;
  background: rgba(255, 252, 244, 0.62);
  color: var(--gold-deep);
  outline: none;
}

.price-list strong {
  color: var(--gold-deep);
  font-weight: 800;
  white-space: nowrap;
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(33, 25, 20, 0.5);
  opacity: 1;
  visibility: visible;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.site-gate {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(33, 25, 20, 0.58);
  opacity: 1;
  visibility: visible;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.site-gate[aria-hidden="true"] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gate-panel {
  width: min(100%, 650px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(143, 103, 38, 0.28);
  border-radius: 12px;
  background:
    linear-gradient(rgba(248, 245, 237, 0.92), rgba(248, 245, 237, 0.92)),
    url("assets/linen-background.png") center / 620px auto repeat,
    var(--linen);
  box-shadow: 0 34px 100px rgba(33, 25, 20, 0.34);
  text-align: center;
}

.gate-panel img {
  width: min(34vw, 190px);
  min-width: 128px;
  margin: 0 auto 16px;
}

.gate-panel h2 {
  margin-bottom: 16px;
  font-size: clamp(2.25rem, 6vw, 4.7rem);
}

.gate-panel > p {
  max-width: 500px;
  margin: 0 auto 28px;
  color: var(--soft);
  font-weight: 600;
}

.waitlist-form {
  max-width: 480px;
  margin: 0 auto 18px;
  text-align: left;
}

.waitlist-form .form-title {
  margin: 0 0 14px;
  color: var(--ink);
  font-weight: 900;
}

.waitlist-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 800;
}

.waitlist-form input {
  min-height: 50px;
  width: 100%;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 244, 0.78);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  padding: 0 16px;
}

.waitlist-form input:focus {
  outline: 2px solid rgba(143, 103, 38, 0.36);
  outline-offset: -2px;
}

.waitlist-form button,
.gate-continue {
  min-height: 52px;
  border: 0;
  background: var(--ink);
  color: var(--linen);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 0 18px;
  text-transform: uppercase;
}

.waitlist-form button {
  width: 100%;
}

.waitlist-form small {
  display: block;
  margin-top: 8px;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 600;
}

.waitlist-frame {
  position: absolute;
  width: 1px;
  height: 1px;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.gate-continue {
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--ink);
}

.waitlist-form button:hover,
.waitlist-form button:focus-visible,
.gate-continue:hover,
.gate-continue:focus-visible {
  background: var(--gold-deep);
  color: var(--linen);
  outline: none;
}

.service-modal[aria-hidden="true"] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal-panel {
  width: min(100%, 560px);
  padding: clamp(30px, 5vw, 52px);
  border: 1px solid rgba(143, 103, 38, 0.24);
  border-radius: 10px;
  background:
    linear-gradient(rgba(248, 245, 237, 0.9), rgba(248, 245, 237, 0.9)),
    url("assets/linen-background.png") center / 620px auto repeat,
    var(--linen);
  box-shadow: 0 30px 90px rgba(33, 25, 20, 0.28);
}

.modal-panel h2 {
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 6vw, 4.2rem);
}

.modal-panel p:last-child {
  max-width: 470px;
  margin-bottom: 0;
  color: var(--soft);
  font-size: 1.06rem;
  font-weight: 600;
}

.modal-close {
  float: right;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 252, 244, 0.72);
  color: var(--ink);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.modal-close:hover,
.modal-close:focus-visible {
  background: var(--ink);
  color: var(--linen);
  outline: none;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.92fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.about-text {
  max-width: 720px;
}

.about-text h2 {
  max-width: 700px;
}

.about-text p {
  max-width: 430px;
  font-size: clamp(1rem, 1.28vw, 1.18rem);
}

.about-text p + p {
  margin-top: 18px;
}

.about-image {
  justify-self: stretch;
}

.about-image img {
  width: min(100%, 610px);
  margin-left: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(33, 25, 20, 0.14);
}

.network {
  max-width: 980px;
  padding-top: 0;
}

.network p {
  max-width: 700px;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
}

.contact {
  min-height: 58vh;
  display: grid;
  place-items: center;
  align-content: center;
  padding-top: clamp(42px, 6vw, 74px);
  padding-bottom: clamp(54px, 7vw, 86px);
  text-align: center;
  background:
    linear-gradient(rgba(33, 25, 20, 0.86), rgba(33, 25, 20, 0.86)),
    url("assets/linen-background.png") center / 680px auto repeat,
    var(--ink);
  color: var(--linen);
}

.contact-mark {
  width: min(32vw, 250px);
  min-width: 160px;
  margin: 0 auto 10px;
}

.contact-mark img {
  width: 100%;
}

.contact .eyebrow {
  color: #c59a4e;
}

.contact h2 {
  max-width: 820px;
}

@media (max-width: 780px) {
  .site-header {
    position: absolute;
  }

  nav {
    display: none;
  }

  .hero-logo {
    width: min(72vw, 360px);
  }

  .services,
  .pricing,
  .story,
  .journey,
  .about,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .services article {
    min-height: 230px;
  }

  .detail-grid article {
    min-height: 0;
  }

  .price-list button {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .price-list button::after {
    margin-top: 8px;
  }

  .waitlist-form button {
    width: 100%;
  }
}
