:root {
  --color-bg:      #F2EDE4;
  --color-surface: #EDE6DB;
  --color-border:  #C8BEB3;
  --color-muted:   #8A7E72;
  --color-text:    #1C1814;

  --font-serif: 'Cormorant Garamond', 'Georgia', serif;
  --font-sans:  'DM Sans', system-ui, -apple-system, sans-serif;

  --gutter:  24px;
  --column:  640px;
  --wide:    1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.875rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}

p {
  max-width: var(--column);
}

p + p {
  margin-top: 18px;
}

p a {
  border-bottom: 1px solid var(--color-border);
  transition: border-color 0.25s ease;
}

p a:hover {
  border-bottom-color: var(--color-text);
}


/* Text link used in place of buttons, matches the homepage section links */

.link {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text);
  background: none;
  border: none;
  border-bottom: 1px solid var(--color-text);
  padding: 0 0 3px;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}

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

.link-row {
  margin-top: 30px;
}

.eyebrow {
  font-size: 0.8125rem;
  color: var(--color-muted);
  letter-spacing: 0.01em;
  margin-bottom: 28px;
}


/* Masthead: static, quiet, no menu */

.masthead {
  padding: 26px var(--gutter);
}

.wordmark {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--color-text);
}


/* Lead image */

.lead-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.lead-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


/* Section rhythm */

.opening,
.offer,
.faq,
.apply {
  padding: 64px var(--gutter);
  max-width: calc(var(--wide) + var(--gutter) * 2);
  margin: 0 auto;
}

.offer,
.faq,
.apply {
  border-top: 0.5px solid var(--color-border);
}


/* Opening */

.lede {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.55;
  max-width: 30em;
  margin-bottom: 48px;
}

.intro-image {
  width: 96px;
  margin-bottom: 22px;
}

.intro-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.intro-copy p {
  color: var(--color-text);
}


/* Offer */

.terms {
  max-width: var(--column);
  margin-top: 36px;
  border-top: 0.5px solid var(--color-border);
}

.term {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 0.5px solid var(--color-border);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.term dt {
  color: var(--color-muted);
}

.remaining {
  margin-top: 28px;
  font-size: 0.9375rem;
  color: var(--color-muted);
}

.remaining .link {
  margin-left: 6px;
}


/* Gallery: uncropped, columns, same approach as the homepage grids */

.gallery {
  padding: 0 var(--gutter) 64px;
  max-width: calc(var(--wide) + var(--gutter) * 2);
  margin: 0 auto;
}

.gallery-grid {
  column-count: 2;
  column-gap: 10px;
}

.gallery-grid img {
  width: 100%;
  margin-bottom: 10px;
  break-inside: avoid;
}


/* FAQ */

.faq-list {
  max-width: var(--column);
  border-top: 0.5px solid var(--color-border);
}

.faq-list details {
  border-bottom: 0.5px solid var(--color-border);
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  transition: color 0.25s ease;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:hover {
  color: var(--color-muted);
}

.faq-list summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--color-muted);
}

.faq-list details[open] summary::after {
  content: "\2013";
}

.faq-body {
  padding: 0 0 22px;
}

.faq-body p {
  font-size: 0.9375rem;
  color: var(--color-text);
}


/* Apply */

.apply-form {
  display: grid;
  gap: 26px;
  max-width: var(--column);
  margin-top: 40px;
}

.field label,
.field legend {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-bottom: 6px;
}

.optional {
  color: var(--color-border);
}

.field input[type="text"],
.field input[type="email"],
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--color-text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  padding: 8px 0 10px;
  outline: none;
  transition: border-color 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}

.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--color-text);
}

.field input.invalid,
.field textarea.invalid {
  border-bottom-color: #A0523C;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--color-border);
}

fieldset.field {
  border: none;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding-top: 4px;
}

.choices label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--color-text);
  margin: 0;
  cursor: pointer;
}

.choices input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border: 1px solid var(--color-muted);
  border-radius: 50%;
  display: grid;
  place-content: center;
  margin: 0;
  cursor: pointer;
}

.choices input[type="radio"]::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-text);
  transform: scale(0);
  transition: transform 0.15s ease;
}

.choices input[type="radio"]:checked::before {
  transform: scale(1);
}

.apply-form .link-row {
  margin-top: 6px;
}

.form-note,
.form-error {
  font-size: 0.8125rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.form-error {
  color: #A0523C;
}


/* Footer */

.foot {
  border-top: 0.5px solid var(--color-border);
  padding: 30px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 0.8125rem;
  color: var(--color-muted);
  max-width: calc(var(--wide) + var(--gutter) * 2);
  margin: 0 auto;
}

.foot-links {
  display: flex;
  gap: 22px;
}

.foot a:hover {
  color: var(--color-text);
}


/* Tablet and up */

@media (min-width: 720px) {
  :root {
    --gutter: 48px;
  }

  .masthead {
    padding: 32px var(--gutter);
  }

  .lead-image {
    aspect-ratio: auto;
    height: 72vh;
    min-height: 480px;
    max-height: 820px;
  }

  .opening,
  .offer,
  .faq,
  .apply {
    padding: 96px var(--gutter);
  }

  .lede {
    font-size: 1.375rem;
  }

  .intro {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 40px;
    align-items: start;
    max-width: 820px;
  }

  .intro-image {
    width: 140px;
    margin-bottom: 0;
  }

  .gallery {
    padding-bottom: 96px;
  }

  .gallery-grid {
    column-count: 4;
  }

  .faq,
  .apply,
  .offer {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 48px;
    align-items: start;
  }

  .faq h2,
  .apply h2,
  .offer h2 {
    grid-column: 1;
    margin-bottom: 0;
  }

  .offer > p,
  .offer > .terms,
  .offer > .remaining,
  .faq > .faq-list,
  .apply > p,
  .apply > .apply-form {
    grid-column: 2;
  }

  .apply-form {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
