:root {
  --paper: #fbf8ef;
  --ink: #17130f;
  --soft-ink: #645d55;
  --line: rgba(23, 19, 15, 0.14);
  --blue: #3d7fba;
  --sage: #78906f;
  --plum: #51364b;
  --cream: #f2eadc;
  --shadow: 0 26px 70px rgba(23, 19, 15, 0.18);
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--paper);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(120deg, rgba(61, 127, 186, 0.08), transparent 38%),
    linear-gradient(220deg, rgba(120, 144, 111, 0.12), transparent 42%),
    var(--paper);
}

a {
  color: inherit;
}

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

.site-nav {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  left: 50%;
  z-index: 20;
  display: flex;
  width: min(92vw, 760px);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(17, 15, 13, 0.58);
  color: #fffaf0;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
  transition: transform 260ms ease, opacity 260ms ease;
}

.site-nav.is-hidden {
  opacity: 0;
  transform: translate(-50%, -120%);
  pointer-events: none;
}

.mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: #fffaf0;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.site-nav nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 3vw, 26px);
  font-size: 0.9rem;
  font-weight: 800;
}

.site-nav nav a {
  text-decoration: none;
  opacity: 0.88;
}

.site-nav nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero picture,
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
  object-position: 50% 42%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12, 11, 10, 0.78), rgba(12, 11, 10, 0.3) 46%, rgba(12, 11, 10, 0.1)),
    linear-gradient(0deg, rgba(12, 11, 10, 0.58), transparent 45%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: end;
  width: min(760px, 92vw);
  padding: 30vh 0 11vh;
  margin: 0 auto;
  color: #fffaf0;
}

.eyebrow,
.section-number {
  display: block;
  margin: 0 0 18px;
  color: #9be0dd;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.9rem, 12vw, 10.5rem);
  font-weight: 500;
  line-height: 0.86;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5vw, 5.8rem);
  font-weight: 500;
  line-height: 0.95;
}

.lede {
  max-width: 720px;
  margin-bottom: 34px;
  color: rgba(255, 250, 240, 0.92);
  font-size: clamp(1.25rem, 2.5vw, 2.2rem);
  line-height: 1.32;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  border-color: transparent;
  background: #e8f4ed;
  color: #10100e;
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
}

.quiet-card {
  position: absolute;
  right: max(24px, 5vw);
  bottom: 8vh;
  z-index: 3;
  width: min(330px, 88vw);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 28px;
  background: rgba(20, 18, 16, 0.5);
  color: #fffaf0;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.quiet-card span,
.quiet-card small {
  display: block;
  color: rgba(255, 250, 240, 0.72);
  font-weight: 700;
}

.quiet-card strong {
  display: block;
  margin: 8px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
}

.panel,
.feature-band,
.story-grid,
.gallery-row,
.proof-strip,
footer {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(28px, 5vw, 88px);
  padding: clamp(76px, 10vw, 132px) 0;
  border-bottom: 1px solid var(--line);
}

.intro p,
.journal p,
.feature-copy p {
  color: var(--soft-ink);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.62;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: minmax(220px, 360px) minmax(220px, 360px);
  gap: 16px;
  padding: 20px 0 clamp(64px, 8vw, 108px);
}

.photo-tile {
  position: relative;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  border-radius: 34px;
  background: #181612;
}

.photo-tile.tall {
  grid-row: span 2;
}

.photo-tile.wide {
  grid-column: 2;
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.photo-tile:hover img {
  transform: scale(1.035);
}

.photo-tile figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 18px;
  background: rgba(11, 10, 9, 0.54);
  color: #fffaf0;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.section-heading {
  max-width: 430px;
}

.approach-list {
  display: grid;
  gap: 14px;
}

.approach-list article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.46);
}

.approach-list span {
  color: var(--plum);
  font-size: 1.05rem;
  font-weight: 900;
}

.approach-list p {
  margin: 12px 0 0;
  color: var(--soft-ink);
  line-height: 1.55;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(300px, 1.18fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
  padding: clamp(42px, 7vw, 74px);
  border: 1px solid var(--line);
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(61, 127, 186, 0.13), rgba(120, 144, 111, 0.12)),
    rgba(255, 255, 255, 0.56);
  box-shadow: 0 28px 80px rgba(23, 19, 15, 0.08);
}

.feature-copy h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4.5vw, 4.6rem);
}

.invite-card {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(23, 19, 15, 0.16);
  border-radius: 28px;
  background: rgba(255, 252, 245, 0.74);
}

label {
  display: grid;
  gap: 8px;
  color: var(--soft-ink);
  font-size: 0.86rem;
  font-weight: 900;
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid rgba(23, 19, 15, 0.16);
  border-radius: 18px;
  background: #fffdf7;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  padding: 14px 15px;
  outline: none;
}

textarea {
  resize: vertical;
}

select:focus,
input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(61, 127, 186, 0.14);
}

.generated-note {
  min-height: 96px;
  padding: 16px;
  border: 1px dashed rgba(23, 19, 15, 0.2);
  border-radius: 20px;
  color: var(--soft-ink);
  line-height: 1.5;
}

.invite-card .button.ghost {
  border-color: rgba(23, 19, 15, 0.16);
  color: var(--ink);
}

.invite-card .button {
  width: 100%;
  min-height: 48px;
}

.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--sage);
  font-weight: 900;
}

.gallery-row {
  display: grid;
  grid-template-columns: 0.8fr 1fr 0.8fr;
  gap: 16px;
  padding: clamp(64px, 8vw, 112px) 0 20px;
}

.gallery-row img {
  width: 100%;
  height: clamp(300px, 42vw, 520px);
  object-fit: cover;
  border-radius: 30px;
}

.gallery-row img:nth-child(2) {
  margin-top: 64px;
}

.journal {
  grid-template-columns: 1fr 0.92fr;
}

.link-stack {
  display: grid;
  gap: 12px;
}

.link-stack a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.48);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}

.link-stack a:hover {
  border-color: rgba(61, 127, 186, 0.46);
  transform: translateY(-2px);
}

.link-stack span {
  color: var(--soft-ink);
  font-weight: 800;
}

.link-stack strong {
  text-align: right;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 0 clamp(60px, 8vw, 110px);
}

.proof-strip p {
  min-height: 120px;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(23, 19, 15, 0.04);
  color: var(--soft-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
  line-height: 1.25;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--soft-ink);
  font-weight: 800;
}

footer a {
  text-decoration: none;
}

@media (max-width: 860px) {
  .site-nav {
    top: max(10px, env(safe-area-inset-top));
    width: calc(100vw - 24px);
  }

  .site-nav nav {
    gap: 13px;
    font-size: 0.82rem;
  }

  .mark {
    width: 40px;
    height: 40px;
  }

  .hero img {
    object-position: 48% 48%;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(12, 11, 10, 0.78), rgba(12, 11, 10, 0.4) 58%, rgba(12, 11, 10, 0.15)),
      linear-gradient(90deg, rgba(12, 11, 10, 0.55), transparent);
  }

  .hero-copy {
    padding: 27vh 0 27vh;
  }

  h1 {
    font-size: clamp(4.3rem, 21vw, 6.6rem);
  }

  .lede {
    font-size: 1.24rem;
  }

  .quiet-card {
    right: 16px;
    bottom: 24px;
    left: 16px;
    width: auto;
    border-radius: 24px;
  }

  .panel,
  .feature-band,
  .journal,
  .intro {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 62px 0;
  }

  .story-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .photo-tile,
  .photo-tile.tall,
  .photo-tile.wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 350px;
  }

  .feature-band {
    width: min(100% - 24px, 1180px);
    padding: 26px 18px;
    border-radius: 28px;
  }

  .form-actions,
  .gallery-row,
  .proof-strip {
    grid-template-columns: 1fr;
  }

  .gallery-row img,
  .gallery-row img:nth-child(2) {
    height: 420px;
    margin-top: 0;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .site-nav nav a:first-child {
    display: none;
  }

  .site-nav nav {
    gap: 11px;
  }

  .hero-actions .button {
    flex: 1;
    padding-inline: 16px;
  }

  .quiet-card strong {
    font-size: 1.35rem;
  }

  .link-stack a {
    align-items: flex-start;
    flex-direction: column;
  }

  .link-stack strong {
    text-align: left;
  }
}
