@font-face {
  font-family: Spinnaker;
  src: url("assets/spinnaker.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Rethink Sans";
  src: url("assets/rethink-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --counter: #fdf9e6;
  --cream: #fbefbd;
  --olive: #534316;
  --roast: #2a1a10;
  --evergreen: #737a22;
  --blush: #f4b9b5;
  --peach: #f89983;
  --mint: #73bf9b;
  --washed-mint: #f9ffdf;
  --rule: rgb(83 67 22 / 24%);
  background: var(--counter);
  color: var(--olive);
  font-family: "Rethink Sans", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

p, h1, h2, dl, dd {
  margin: 0;
}

main {
  flex: 1;
}

.frame {
  width: min(100% - 2 * clamp(1.5rem, 7vw, 7.5rem), 75rem);
  margin-inline: auto;
}

.site-header, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.site-header {
  min-height: 7rem;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  width: clamp(9.25rem, 21vw, 15.5rem);
}

.location, .status {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

.status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
}

.status::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--evergreen);
}

h1 {
  font: 400 clamp(2.625rem, 4.1vw, 4.25rem)/1.075 Spinnaker, Arial, sans-serif;
  letter-spacing: -0.052em;
  text-wrap: balance;
}

h2 {
  font: 400 clamp(2rem, 4vw, 3.25rem)/1.12 Spinnaker, Arial, sans-serif;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.intro, .about-copy p {
  color: var(--roast);
  font-size: clamp(1.05rem, 1.45vw, 1.2rem);
  line-height: 1.55;
}

.intro {
  max-width: 27rem;
  margin-top: 1.5rem;
}

.exterior {
  width: 100%;
  margin: 0;
  padding: clamp(0.55rem, 1.15vw, 1rem);
  border: 1px solid var(--rule);
  border-radius: 1.55rem 1.55rem 1rem 1rem;
  background: var(--cream);
}

.exterior img {
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: 0.8rem 0.8rem 0.35rem 0.35rem;
}

.exterior figcaption {
  padding: 0.65rem 0.35rem 0.15rem;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: left;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.4rem;
  margin-top: 0.85rem;
}

.about, .experiences {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  padding-block: clamp(3rem, 7vw, 6rem);
  border-top: 1px solid var(--rule);
}

.about {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  grid-template-areas: "art copy";
}

.about-copy {
  grid-area: copy;
  max-width: 32rem;
}

.about-copy p {
  margin-top: 1rem;
}

.about-art {
  grid-area: art;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 29rem;
  justify-self: center;
  aspect-ratio: 1.4;
  border: 1px solid var(--rule);
  border-radius: 1.5rem 4rem;
  background: var(--washed-mint);
}

.about-art img {
  width: 66%;
}

.experiences {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.45fr);
}

.experience-list {
  margin-top: 1.5rem;
}

.experience-list > div {
  display: grid;
  grid-template-columns: minmax(0, 11.75rem) minmax(0, 1fr);
  align-items: baseline;
  gap: 0.35rem 1rem;
  padding-block: 0.95rem;
  border-top: 1px solid var(--rule);
}

.experiences-art {
  width: min(100%, 17rem);
  justify-self: center;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border-radius: 50% 50% 1.25rem 1.25rem;
  background: color-mix(in srgb, var(--blush) 38%, var(--counter));
}

.experiences-art img {
  width: 100%;
}

.values {
  padding-block: clamp(3rem, 6vw, 5.5rem);
  background: var(--cream);
}

.value-list {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.value-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.1rem, 2vw, 1.65rem);
  border: 1px solid var(--rule);
  border-radius: 1.1rem;
  background: var(--counter);
  box-shadow: 0 3px rgb(83 67 22 / 10%);
}

.experience-list dt {
  font: 400 1.175rem/1.3 Spinnaker, Arial, sans-serif;
}

.value-card dt {
  font: 400 clamp(1.3rem, 2.3vw, 1.65rem)/1.2 Spinnaker, Arial, sans-serif;
  letter-spacing: -0.025em;
}

.value-list dd, .experience-list dd {
  color: var(--roast);
  line-height: 1.5;
}

.value-card dd {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.45rem;
}

.value-playfulness {
  grid-row: span 2;
  border-radius: 1.1rem 4.5rem 1.1rem 1.1rem;
  background: color-mix(in srgb, var(--blush) 70%, var(--counter));
}

.value-playfulness dt {
  font-size: clamp(1.6rem, 2.9vw, 2.25rem);
}

.playfulness-art {
  display: grid;
  place-items: center;
  width: min(85%, 15.5rem);
  aspect-ratio: 1;
  align-self: center;
  margin-block: auto 0.25rem;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--counter);
}

.playfulness-art img {
  width: 83%;
}

.value-connection {
  border-radius: 2.5rem 1.1rem 1.1rem;
}

.value-creativity {
  border-radius: 1.1rem 2.5rem 1.1rem 1.1rem;
  background: var(--washed-mint);
}

.value-hospitality {
  background: color-mix(in srgb, var(--peach) 24%, var(--counter));
}

.value-empowerment {
  background: color-mix(in srgb, var(--mint) 22%, var(--counter));
}

.value-decoration {
  align-self: end;
  margin-top: auto;
}

.value-gate {
  width: 6.5rem;
}

.value-sheep {
  width: 3.65rem;
}

.value-rings, .value-stars {
  position: relative;
  width: 4rem;
  height: 3.25rem;
}

.value-rings::before, .value-rings::after,
.value-stars::before, .value-stars::after {
  position: absolute;
  content: "";
}

.value-rings::before, .value-rings::after {
  right: 0.9rem;
  bottom: 0.3rem;
  width: 2.35rem;
  height: 1.7rem;
  border: 2px solid var(--evergreen);
  border-radius: 50%;
  transform: rotate(-28deg);
}

.value-rings::after {
  right: 0.1rem;
  bottom: 1rem;
  border-color: var(--peach);
  transform: rotate(-38deg);
}

.value-stars::before, .value-stars::after {
  right: 1.25rem;
  bottom: 0.2rem;
  width: 2.7rem;
  aspect-ratio: 1;
  background: var(--peach);
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
  transform: rotate(-13deg);
}

.value-stars::after {
  right: 0;
  bottom: 1.65rem;
  width: 1.2rem;
  background: var(--evergreen);
  transform: rotate(13deg);
}

.survey {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.3fr);
  align-items: start;
  gap: clamp(1.5rem, 5vw, 5rem);
  padding-block: clamp(3rem, 7vw, 6rem);
}

.survey-intro h2 {
  max-width: 12ch;
  text-wrap: initial;
}

.survey-intro p, .newsletter > div > p {
  max-width: 22rem;
  margin-top: 1rem;
  color: var(--roast);
  font-size: 1.1rem;
  line-height: 1.55;
}

.survey-form {
  display: grid;
  gap: 1.25rem;
  min-width: 0;
  padding: clamp(1.1rem, 3vw, 2rem);
  border: 1px solid var(--rule);
  border-radius: 1.25rem 3.5rem 1.25rem 1.25rem;
  background: color-mix(in srgb, var(--cream) 52%, var(--counter));
}

.survey-note, .survey-status {
  color: var(--olive);
  font-size: 0.9rem;
  line-height: 1.45;
}

.survey-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.survey-form legend, .survey-field > span {
  margin: 0 0 0.5rem;
  padding: 0;
  font-weight: 700;
}

.survey-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.3rem 0.85rem;
}

.survey-ages {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.survey-options label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2rem;
  color: var(--roast);
  cursor: pointer;
}

.survey-options input {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--evergreen);
}

.survey-field {
  display: grid;
}

.survey-field small {
  font-weight: 400;
}

.survey-field :is(select, textarea, input) {
  width: 100%;
  min-width: 0;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--rule);
  border-radius: 0.5rem;
  background: #fffdf4;
  color: var(--roast);
  font: inherit;
  line-height: 1.45;
}

.survey-field textarea {
  resize: vertical;
}

.survey-actions {
  display: grid;
  justify-items: start;
  gap: 0.65rem;
}

.survey-actions button {
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--olive);
  border-radius: 0.65rem;
  background: var(--olive);
  color: var(--counter);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.survey-actions button:disabled {
  opacity: 0.65;
  cursor: default;
}

.survey-form :is(button, input, select, textarea, a):focus-visible {
  outline: 2px solid var(--evergreen);
  outline-offset: 3px;
}

.newsletter-form :is(button, input):focus-visible {
  outline: 2px solid var(--evergreen);
  outline-offset: 3px;
}

.survey-status a {
  color: inherit;
}

.form-verification:empty, .survey-status:empty {
  display: none;
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 6vw, 5rem);
  align-items: center;
  margin-top: clamp(2.5rem, 6vw, 5rem);
  padding: clamp(1.25rem, 4vw, 3rem);
  border: 1px solid var(--rule);
  border-radius: 1.25rem 3.5rem 1.25rem 1.25rem;
  background: color-mix(in srgb, var(--mint) 22%, var(--counter));
}

.newsletter-form {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
}

.site-footer {
  min-height: 6.5rem;
  padding-block: 1rem;
  border-top: 1px solid var(--rule);
}

.footer-tagline {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font: 400 clamp(1.1rem, 1.7vw, 1.45rem)/1.35 Spinnaker, Arial, sans-serif;
}

.footer-tagline img {
  width: 2.35rem;
  flex-shrink: 0;
}

.text-link {
  color: inherit;
  padding-block: 0.65rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--evergreen);
  text-underline-offset: 0.26em;
}

.text-link span {
  display: inline-block;
  margin-left: 0.25rem;
  text-decoration: none;
}

.text-link:hover {
  color: var(--roast);
  text-decoration-thickness: 2px;
}

.text-link:focus-visible {
  outline: 2px solid var(--evergreen);
  outline-offset: 4px;
  border-radius: 2px;
}

@media (max-width: 63rem) {
  .value-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  .value-playfulness {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .value-playfulness dd {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 9rem);
    align-items: center;
  }

  .playfulness-art {
    width: 100%;
    margin: 0;
  }
}

@media (max-width: 50rem) {
  .site-header {
    min-height: 5rem;
    gap: 0.75rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 2rem;
    padding-block: 2.5rem;
    text-align: center;
  }

  .status {
    justify-content: center;
    margin-bottom: 1rem;
  }

  h1 {
    max-width: 35rem;
    font-size: clamp(2.375rem, 7vw, 3.5rem);
  }

  .intro {
    margin: 1rem auto 0;
  }

  .hero-links {
    justify-content: center;
  }

  .exterior {
    max-width: 34rem;
  }

  .about, .experiences {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 1.5rem;
  }

  .about {
    grid-template-areas: "copy" "art";
  }

  .experiences-copy {
    max-width: 32rem;
  }

  .experiences-art {
    width: 11rem;
  }

  .about-art {
    max-width: 24rem;
  }

  .survey {
    grid-template-columns: minmax(0, 1fr);
    max-width: 36rem;
  }

  .newsletter {
    grid-template-columns: minmax(0, 1fr);
    max-width: 36rem;
  }

  .survey-intro h2 {
    max-width: none;
    text-wrap: balance;
  }

}

@media (max-width: 33rem) {
  .location {
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    text-align: right;
  }

  .hero {
    gap: 1.65rem;
    padding-block: 2rem;
  }

  h1 {
    font-size: clamp(2.125rem, 9vw, 2.875rem);
  }

  .experience-list > div {
    grid-template-columns: minmax(0, 1fr);
  }

  .value-list {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 1.5rem;
  }

  .value-card dd {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .value-playfulness dd {
    grid-template-columns: minmax(0, 1fr) 36%;
  }

  .value-gate {
    width: 4.85rem;
  }

  .survey-options {
    grid-template-columns: minmax(0, 1fr);
  }

  .survey-ages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding-block: 0.75rem;
  }

  .footer-tagline img {
    width: 1.85rem;
  }
}
