@font-face {
  font-family: "Wedding Fraunces";
  src: url("/assets/fonts/fraunces-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Wedding Fraunces";
  src: url("/assets/fonts/fraunces-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Wedding Hanken";
  src: url("/assets/fonts/hanken-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #413128;
  --ink-soft: #766558;
  --brown: #624533;
  --brown-deep: #3e2d24;
  --gold: #b9824f;
  --gold-light: #efcf9a;
  --ivory: #fbf7f0;
  --cream: #fffaf3;
  --sand: #f2e8da;
  --line: #dfceb7;
  --white: #fffdf9;
  --error: #a13b35;
  --success: #476b4e;
  --shadow: 0 22px 65px rgba(67, 45, 31, 0.12);
  --shadow-soft: 0 10px 30px rgba(67, 45, 31, 0.08);
  --display: "Wedding Fraunces", Georgia, serif;
  --sans: "Wedding Hanken", Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.72, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 16%, rgba(226, 180, 118, 0.13), transparent 30rem),
    radial-gradient(circle at 88% 64%, rgba(185, 130, 79, 0.09), transparent 34rem);
}

[hidden] {
  display: none !important;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--brown);
  text-decoration-color: rgba(98, 69, 51, 0.42);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: currentColor;
}

button,
input,
textarea {
  font: inherit;
}

button,
.button {
  min-height: 44px;
}

:focus-visible {
  outline: 3px solid #a96f3f;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: white;
  background: var(--brown-deep);
  border-radius: 999px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.wedding-bar {
  position: relative;
  z-index: 20;
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px clamp(18px, 4vw, 54px);
  color: rgba(255, 250, 243, 0.78);
  background: var(--brown-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.monogram {
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.monogram span {
  font-style: italic;
}

.wedding-hero {
  position: relative;
  display: grid;
  min-height: min(520px, calc(100svh - 58px));
  overflow: hidden;
  align-items: end;
  isolation: isolate;
  color: white;
  background: #765741;
}

.wedding-hero__image,
.wedding-hero__shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wedding-hero__picture {
  display: contents;
}

.wedding-hero__image {
  object-fit: cover;
  object-position: center 48%;
}

.wedding-hero__shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(40, 28, 20, 0.02) 28%, rgba(40, 28, 20, 0.18) 58%, rgba(40, 28, 20, 0.88) 100%),
    linear-gradient(90deg, rgba(40, 28, 20, 0.13), transparent 35%, transparent 65%, rgba(40, 28, 20, 0.13));
}

.wedding-hero__frame {
  position: absolute;
  inset: clamp(15px, 2.4vw, 30px);
  border: 1px solid rgba(239, 207, 154, 0.72);
  border-radius: 46px 8px 46px 8px;
  pointer-events: none;
}

.wedding-hero__frame::before,
.wedding-hero__frame::after {
  position: absolute;
  width: 76px;
  height: 24px;
  content: "";
  border-top: 1px solid rgba(239, 207, 154, 0.72);
}

.wedding-hero__frame::before {
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
}

.wedding-hero__frame::after {
  right: 50%;
  bottom: 18px;
  transform: translateX(50%);
}

.wedding-hero__copy {
  width: min(850px, calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 24px 36px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.wedding-hero .eyebrow {
  color: var(--gold-light);
}

.wedding-hero h1 {
  max-width: 800px;
  margin: 0 auto 16px;
  color: white;
  font-family: var(--display);
  font-size: clamp(2.25rem, 4.2vw, 3.6rem);
  font-weight: 430;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.34);
}

.wedding-hero__date {
  margin: 0;
  font-size: clamp(0.72rem, 1.5vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.quick-facts div {
  padding: clamp(18px, 3vw, 28px) 18px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.quick-facts div:last-child {
  border-right: 0;
}

.quick-facts strong,
.quick-facts span {
  display: block;
}

.quick-facts strong {
  font-family: var(--display);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 550;
}

.quick-facts span {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-hub,
.wedding-rsvp,
.guest-questions,
.topic-content {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

.wedding-rsvp {
  padding: clamp(44px, 5vw, 64px) 0;
}

.rsvp-form {
  width: min(680px, 100%);
  margin-inline: auto;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.guide-hub {
  padding-block: clamp(44px, 5vw, 64px);
}

.section-intro,
.topic-heading {
  max-width: 760px;
}

.section-intro {
  margin: 0 auto clamp(26px, 4vw, 38px);
  text-align: center;
}

.section-intro h2,
.topic-heading h2 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.5vw, 3rem);
  font-weight: 470;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}

.section-intro p:last-child,
.topic-heading p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.guide-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.guide-card {
  position: relative;
  display: flex;
  min-height: 170px;
  flex-direction: column;
  padding: 20px;
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  transition:
    transform 220ms var(--ease),
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.guide-card::after {
  position: absolute;
  right: -32px;
  bottom: -42px;
  width: 130px;
  height: 130px;
  content: "";
  background: radial-gradient(circle, rgba(185, 130, 79, 0.12), transparent 68%);
  border-radius: 50%;
}

.guide-card:hover {
  border-color: #c49b72;
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.guide-card--featured {
  color: #fffaf3;
  background: var(--brown);
  border-color: var(--brown);
}

.guide-card__icon {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  place-items: center;
  color: var(--gold);
  background: var(--sand);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 1.25rem;
}

.guide-card--featured .guide-card__icon {
  color: var(--gold-light);
  background: rgba(255, 250, 243, 0.1);
}

.guide-card h3 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 550;
  line-height: 1.1;
}

.guide-card p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.45;
}

.guide-card--featured p {
  color: rgba(255, 250, 243, 0.72);
}

.guide-card__action {
  margin-top: auto;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guest-questions {
  width: 100%;
  padding: clamp(64px, 9vw, 110px) max(20px, calc((100% - 1140px) / 2));
  border-top: 1px solid var(--line);
  background: var(--sand);
}

.questions-layout,
.travel-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  gap: 20px;
  align-items: start;
}

.answers-panel,
.question-panel,
.shuttle-form,
.travel-lead > div,
.info-card,
.schedule-card,
.destination-grid section,
.plain-section {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.answers-panel,
.question-panel,
.shuttle-form,
.travel-lead > div {
  padding: clamp(24px, 4vw, 38px);
}

.answers-panel h3,
.question-panel h3,
.shuttle-form h3,
.travel-lead h3,
.plain-section h3 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 520;
  line-height: 1.1;
}

.answer-list details {
  padding: 18px 0;
  border-top: 1px solid #e8dbc9;
}

.answer-list details:first-child {
  padding-top: 0;
  border-top: 0;
}

.answer-list summary {
  position: relative;
  padding-right: 32px;
  color: var(--brown);
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 600;
  list-style: none;
}

.answer-list summary::-webkit-details-marker {
  display: none;
}

.answer-list summary::after {
  position: absolute;
  top: 0;
  right: 3px;
  content: "+";
  color: var(--gold);
  font-family: var(--sans);
  font-weight: 500;
}

.answer-list details[open] summary::after {
  content: "−";
}

.answer-list p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

.field > span,
.choice-group legend {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.045em;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  color: var(--ink);
  background: white;
  border: 1px solid #cfb99b;
  border-radius: 9px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(185, 130, 79, 0.12);
  outline: 0;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--error);
}

.field small,
.choice-group small {
  min-height: 1.2em;
  color: var(--error);
  font-size: 0.76rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field--short {
  max-width: 180px;
}

.choice-group {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

.choice-group legend {
  margin-bottom: 9px;
}

.choice-group label {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: #fffaf3;
  border: 1px solid #e2d2bd;
  border-radius: 9px;
  cursor: pointer;
  font-size: 0.88rem;
}

.choice-group input {
  width: 18px;
  height: 18px;
  accent-color: var(--brown);
}

.choice-row {
  display: flex;
  gap: 10px;
}

.choice-row label {
  min-width: 90px;
}

.choice-row--wrap {
  flex-wrap: wrap;
}

.conditional-panel {
  margin: -4px 0 18px;
  padding: 16px;
  background: var(--sand);
  border: 1px solid #dbc7aa;
  border-radius: 12px;
}

.conditional-panel .field {
  margin-bottom: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  color: white;
  background: var(--brown);
  border: 1px solid var(--brown);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 160ms var(--ease),
    background 160ms ease,
    opacity 160ms ease;
}

.button:hover {
  background: var(--brown-deep);
  transform: translateY(-2px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.button--light {
  color: var(--brown);
  background: white;
  border-color: rgba(255, 255, 255, 0.7);
}

.form-note,
.price-note,
.quiet-status {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.form-status {
  min-height: 1.5em;
  margin: 13px 0 0;
  font-size: 0.84rem;
  font-weight: 700;
}

.form-status[data-kind="error"] {
  color: var(--error);
}

.form-status[data-kind="success"] {
  color: var(--success);
}

.honeypot,
.response-frame,
.response-post {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(100%) !important;
  white-space: nowrap !important;
}

.wedding-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 4vw, 54px);
  color: rgba(255, 250, 243, 0.76);
  background: var(--brown-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wedding-footer span:first-child {
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
}

.topic-view {
  min-height: calc(100svh - 58px);
}

.topic-bar {
  position: sticky;
  z-index: 15;
  top: 0;
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px clamp(18px, 4vw, 54px);
  background: rgba(255, 250, 243, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.topic-bar button {
  padding: 8px 0;
  color: var(--brown);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topic-bar span {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 550;
}

.topic-content {
  padding-block: clamp(58px, 8vw, 100px);
}

.topic-content--narrow {
  max-width: 900px;
}

.topic-heading {
  margin-bottom: clamp(34px, 5vw, 56px);
}

.topic-heading h2:focus {
  outline: 0;
}

.schedule {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.schedule-card,
.info-card,
.destination-grid section,
.plain-section {
  padding: clamp(22px, 3vw, 32px);
}

.schedule-card__date,
.schedule-card__time {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-card__date {
  color: var(--gold);
}

.schedule-card__time {
  margin-top: 3px;
  color: var(--ink-soft);
}

.schedule-card h3,
.info-card h3,
.destination-grid h3 {
  margin: 18px 0 8px;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 550;
  line-height: 1.1;
}

.schedule-card p:last-child,
.info-card p:last-child,
.destination-grid p {
  margin-bottom: 0;
}

.schedule-card--wedding {
  color: white;
  background: var(--brown);
  border-color: var(--brown);
}

.schedule-card--wedding .schedule-card__date {
  color: var(--gold-light);
}

.schedule-card--wedding .schedule-card__time,
.schedule-card--wedding a {
  color: rgba(255, 250, 243, 0.76);
}

.feature-callout {
  margin-top: 20px;
  padding: clamp(30px, 5vw, 54px);
  color: white;
  background:
    radial-gradient(circle at 84% 14%, rgba(239, 207, 154, 0.18), transparent 20rem),
    var(--brown-deep);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.feature-callout .eyebrow {
  color: var(--gold-light);
}

.feature-callout h3 {
  margin: 0 0 12px;
  color: white;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 450;
  line-height: 1.05;
}

.feature-callout p {
  max-width: 780px;
  color: rgba(255, 250, 243, 0.78);
}

.plain-section {
  margin-top: 20px;
}

.travel-lead {
  margin-bottom: 20px;
}

.travel-lead > div {
  color: white;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 50%),
    var(--brown);
  border-color: var(--brown);
}

.travel-lead > div .eyebrow {
  color: var(--gold-light);
}

.travel-lead > div h3 {
  color: white;
}

.travel-lead > div p {
  color: rgba(255, 250, 243, 0.77);
}

.route-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 26px 0;
  padding: 16px 18px;
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(239, 207, 154, 0.28);
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-grid,
.destination-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.info-card p,
.destination-grid p,
.plain-section p {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.price-note {
  margin: 20px 0 0;
  text-align: center;
}

@media (max-width: 900px) {
  .guide-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .questions-layout,
  .travel-lead {
    grid-template-columns: 1fr;
  }

  .travel-lead .shuttle-form {
    order: 2;
  }
}

@media (max-width: 640px) {
  .wedding-bar {
    min-height: 52px;
  }

  .wedding-bar > span {
    font-size: 0.61rem;
    letter-spacing: 0.1em;
  }

  .wedding-hero {
    min-height: min(780px, calc(100svh - 52px));
  }

  .wedding-hero__image {
    object-position: center 48%;
  }

  .wedding-hero__frame {
    border-radius: 28px 6px 28px 6px;
  }

  .wedding-hero__copy {
    width: calc(100% - 30px);
    padding-top: 72px;
    padding-inline: 12px;
    padding-bottom: 50px;
  }

  .wedding-hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.75rem);
  }

  .section-intro h2,
  .topic-heading h2 {
    font-size: 2.1rem;
  }

  .quick-facts {
    grid-template-columns: 1fr;
  }

  .quick-facts div {
    padding: 14px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-facts div:last-child {
    border-bottom: 0;
  }

  .quick-facts strong {
    font-size: 1.1rem;
  }

  .guide-hub,
  .wedding-rsvp,
  .topic-content {
    width: min(100% - 28px, 1180px);
  }

  .guide-cards,
  .schedule,
  .info-grid,
  .destination-grid {
    grid-template-columns: 1fr;
  }

  .guide-card {
    min-height: 205px;
    padding: 22px;
  }

  .guide-card__icon {
    width: 42px;
    height: 42px;
    margin-bottom: 20px;
  }

  .guide-card h3 {
    margin: 0 0 8px;
    font-size: 1.55rem;
  }

  .guide-card p {
    margin: 0 0 22px;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .guest-questions {
    padding-inline: 14px;
  }

  .answers-panel,
  .question-panel,
  .shuttle-form,
  .travel-lead > div {
    padding: 22px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .choice-row {
    flex-wrap: wrap;
  }

  .topic-bar {
    min-height: 58px;
  }

  .topic-bar span {
    font-size: 1rem;
  }

  .wedding-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
