@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --whitewash: #F4F0E8;
  --wash: #F4F0E8;
  --paper: #FBF8F3;
  --sand: #E4D5BE;
  --ink: #1C1916;
  --muted: #5C564E;
  --shutter: #1A5FA8;
  --shutter-dark: #134A85;
  --mist: #E8EFF6;
  --line: #D9CFC0;
  --danger: #8B2E2E;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Book Antiqua", serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 68rem;
  --narrow: 36rem;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

html[lang="en"] .t-fr,
html[lang="fr"] .t-en,
html[lang="en"] .lang-to-en,
html[lang="fr"] .lang-to-fr {
  display: none;
}

body {
  margin: 0;
  background: var(--wash);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--shutter);
  text-underline-offset: 0.18em;
}

a:hover { color: var(--shutter-dark); }

h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 3rem - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
  margin-inline: auto;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 0.9rem;
  z-index: 20;
  text-decoration: none;
}

.skip:focus {
  transform: translateY(0.75rem);
  color: var(--paper);
}

.site-head {
  background: var(--wash);
  padding: 0.85rem 0;
  padding-top: max(0.85rem, env(safe-area-inset-top, 0px));
  border-bottom: 1px solid transparent;
}

.head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  display: flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  line-height: 0;
}

.wordmark img {
  display: block;
  height: 2rem;
  width: auto;
}

.wordmark:hover { color: var(--ink); }

.lang a {
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.2rem 0.1rem;
}

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

.hero,
.courtyard {
  margin: 0;
  position: relative;
}

.hero picture {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--sand);
}

.hero img,
.courtyard img {
  width: 100%;
  background: var(--sand);
}

.hero img {
  aspect-ratio: 4 / 5;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.hero figcaption,
.courtyard figcaption {
  font-size: 0.8125rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.hero figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  margin: 0;
  padding: 2.25rem 1.5rem 0.85rem;
  color: #f7f3ec;
  background: linear-gradient(to top, rgba(28, 25, 22, 0.55), rgba(28, 25, 22, 0));
  width: 100%;
}

.courtyard {
  background: var(--wash);
}

.courtyard img {
  width: min(var(--wrap), 100%);
  margin-inline: auto;
}

.courtyard figcaption {
  width: min(var(--wrap), calc(100% - 3rem));
  margin: 0.7rem auto 0;
}

.intro {
  padding: 3.25rem 0 3rem;
}

.intro-copy { max-width: 38rem; }

.intro h1 {
  font-size: clamp(2.6rem, 11vw, 3.5rem);
  line-height: 1.08;
  margin-bottom: 1.15rem;
}

.lead {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 32rem;
}


.zones {
  padding: 0.5rem 0 3.25rem;
}

.zone-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}

.zones h2 {
  font-size: 1.85rem;
  margin-bottom: 0.55rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.zone-icon {
  width: 1.45rem;
  height: 1.45rem;
  flex: 0 0 1.45rem;
  display: block;
  margin-top: 0.32em;
}

.zones p {
  margin: 0;
  color: var(--ink);
  max-width: 36rem;
  line-height: 1.55;
}

.courtyard-section {
  padding: 0 0 1rem;
}

.waitlist {
  padding: 2.75rem 0 3.75rem;
}

.waitlist-card {
  max-width: var(--narrow);
  margin-inline: auto;
}

.waitlist h2 {
  font-size: clamp(2.05rem, 8vw, 2.5rem);
  margin-bottom: 1.6rem;
}

form {
  display: grid;
  gap: 0.9rem;
}

.field {
  margin: 0;
  display: grid;
  gap: 0.15rem;
}

.field label {
  font-size: 0.95rem;
  font-weight: 500;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--sand);
  border-radius: 0;
  padding: 0.3rem 0.1rem 0.45rem;
  min-height: 2.5rem;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
}

select {
  background-color: transparent;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%231C1916' stroke-width='1.5' d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.1rem center;
  background-size: 1rem;
  padding-right: 1.8rem;
}

textarea {
  resize: vertical;
  min-height: 6.25rem;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-bottom-color: var(--shutter);
  box-shadow: 0 1px 0 var(--shutter);
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--shutter);
  outline-offset: 2px;
}

.field.error input,
.field.error select,
.field.error textarea {
  border-bottom-color: var(--danger);
  box-shadow: none;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.actions { margin: 0.65rem 0 0; }

button[type="submit"] {
  width: 100%;
  background: var(--shutter);
  color: var(--whitewash);
  border: 0;
  border-radius: 2px;
  padding: 1rem 1.25rem;
  min-height: 3.15rem;
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
}

button[type="submit"]:hover {
  background: var(--shutter-dark);
}

button[type="submit"]:disabled {
  opacity: 0.65;
  cursor: wait;
}

.form-status {
  margin: 0;
  color: var(--danger);
  font-size: 0.95rem;
}

.form-success {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.3;
}

.site-foot {
  padding: 2.75rem 0 max(3.5rem, calc(2.75rem + env(safe-area-inset-bottom, 0px)));
  border-top: 1px solid var(--line);
}

.site-foot p {
  margin: 0 0 0.9rem;
  font-size: 1.0625rem;
}

.site-foot .privacy {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 32rem;
  line-height: 1.6;
}

.site-foot a {
  color: var(--ink);
  text-decoration: none;
}

.site-foot a:hover {
  color: var(--shutter);
  text-decoration: underline;
}

.page-404 {
  min-height: 70vh;
  display: grid;
  align-content: center;
  padding: 3rem 0;
}

.page-404 h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.75rem;
}


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


.locations {
  padding: 3.25rem 0 3rem;
}

.locations-copy {
  max-width: 38rem;
  margin-bottom: 1.5rem;
}

.locations h2 {
  font-size: clamp(1.9rem, 4.5vw, 2.7rem);
  margin-bottom: 0.7rem;
}

.locations .lead {
  max-width: 32rem;
}

.locations-map {
  margin: 0;
}

.location-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.location-list li {
  display: grid;
  gap: 0.25rem 1.25rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.location-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.location-list .place {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 4.2vw, 1.65rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  text-wrap: balance;
  margin: 0;
}

.location-list .note {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.location-join {
  color: var(--shutter);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.location-join:hover,
.location-join:focus-visible {
  color: var(--shutter-dark);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.waitlist-heading-place:not([hidden]) {
  display: block;
  text-wrap: balance;
}

.region-figure {
  margin: 0;
}

.region-svg .ws {
  stroke-dasharray: 8 6;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.region-svg .land {
  stroke-linejoin: round;
  stroke-linecap: round;
}

.region-svg .badge-num {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  text-anchor: middle;
}

.region-svg .map-label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
}

.region-svg {
  display: block;
  width: 100%;
  height: auto;
  background: var(--wash);
}

.region-caption {
  font-size: 0.8125rem;
  color: var(--muted);
  letter-spacing: 0.01em;
  margin: 0.7rem 0 0;
  max-width: 42rem;
}

.region-svg-tall .badge-num {
  font-size: 24px;
}

.region-svg-tall .map-label {
  font-size: 28px;
}

.region-map-wide { display: block; }
.region-map-tall { display: none; }

@media (max-width: 699px) {
  .region-svg-wide .map-label { display: none; }

  .region-svg-wide .badge-scale {
    transform: scale(1.85);
  }

  .locations-map .region-caption {
    margin-top: 0.55rem;
  }
}

@media (min-width: 700px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 4rem - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
  }

  .intro { padding: 3.75rem 0 3.25rem; }

  .intro h1 {
    font-size: clamp(2.9rem, 5.4vw, 3.5rem);
  }

  .hero picture,
  .hero img {
    aspect-ratio: 1200 / 475;
  }

  .hero figcaption,
  .courtyard figcaption {
    padding-left: 0;
  }

  .hero figcaption {
    padding: 3rem max(2rem, calc((100% - var(--wrap)) / 2)) 1rem;
  }

  .zone-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem 2.5rem;
  }

  .courtyard img {
    width: min(var(--wrap), calc(100% - 4rem));
  }

  .courtyard figcaption {
    width: min(var(--wrap), calc(100% - 4rem));
  }

  .locations {
    padding: 4rem 0 3.25rem;
  }

  .locations-map {
    max-width: 46rem;
  }

  .location-list li {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 1.25rem 0;
  }

  .location-join {
    justify-self: end;
  }
}

@media (min-width: 900px) {
  .locations { padding: 4.5rem 0 3.5rem; }

  .locations-copy { margin-bottom: 2rem; }

  .region-caption {
    margin-top: 0.85rem;
  }
}

@media (min-width: 1024px) {
  .intro { padding: 4.25rem 0 3.25rem; }

  .zones { padding: 3rem 0 3.75rem; }

  .waitlist { padding: 3rem 0 4.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
