@font-face {
  font-family: Manrope;
  src: url("assets/manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --paper: #f8f8f2;
  --ink: #171910;
  --muted: #4f5343;
  --line: #d4d7c9;
  --accent: #dcf46a;
  --accent-hover: #cde858;
  --curve: cubic-bezier(.22, 1, .36, 1);
  --gutter: 3rem;
  color-scheme: light;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.5; }
body:has(dialog[open]) { overflow: hidden; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
h1, h2, h3, p, figure, ul { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .25em; }
button, input, select, textarea { font: inherit; color: inherit; }
button, summary, select { cursor: pointer; }
:focus-visible { outline: 2px solid #4943b4; outline-offset: 4px; }
[hidden] { display: none !important; }

.heading-1 { font-size: 3.75rem; line-height: 1; font-weight: 650; letter-spacing: -.072em; }
.heading-2 { font-size: 3rem; line-height: 1; font-weight: 650; letter-spacing: -.06em; }
.heading-3 { font-size: 2.25rem; line-height: 2.5rem; font-weight: 650; letter-spacing: -.055em; }
.title-1 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; letter-spacing: -.025em; }
.body-3 { font-size: 1rem; line-height: 1.5rem; font-weight: 400; }
.caption { font-size: .875rem; line-height: 1.25rem; font-weight: 550; }
.eyebrow { letter-spacing: .11em; text-transform: uppercase; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 91rem); margin-inline: auto; }
.section { padding-block: 5rem; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  min-height: 2.75rem;
  padding: .5rem .75rem;
  border: 1px solid transparent;
  border-radius: .375rem;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  text-align: center;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 650;
  transition: background-color 300ms var(--curve), transform 500ms var(--curve);
}
.button:active { transform: scale(.98); }
.button-sm { font-size: .875rem; line-height: 1.25rem; }
.button-primary { background: var(--accent); }
.button-primary:hover { background: var(--accent-hover); }
.button-outline { border-color: var(--line); }
.button-outline:hover { background: #ecefe0; }
.skip { position: fixed; top: .75rem; left: .75rem; z-index: 15; background: var(--paper); transform: translateY(-200%); }
.skip:focus { transform: none; }

.site-header { margin: .75rem auto 1rem; position: sticky; top: .75rem; z-index: 5; width: min(calc(100% - 2 * var(--gutter)), 91rem); }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: .75rem 1.5rem;
  gap: 1.5rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: rgba(248, 248, 242, .92);
  backdrop-filter: blur(16px);
}
.wordmark {
  display: inline-grid;
  gap: .25rem;
  justify-self: start;
  width: fit-content;
  font-size: 1.5rem;
  line-height: 1rem;
  font-weight: 750;
  letter-spacing: -.085em;
  text-decoration: none;
}
.wordmark span { font-size: .75rem; line-height: 1rem; letter-spacing: .19em; font-weight: 600; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a, .site-footer a { text-decoration: none; font-weight: 600; }
.site-nav a:hover, .site-footer a:hover { text-decoration: underline; }
.site-nav [aria-current], .menu-panel nav [aria-current] {
  text-decoration: underline;
  text-decoration-thickness: .125rem;
}
.header-inquiry { justify-self: end; }
.menu-button { display: none; }
.menu-panel form { display: flex; justify-content: end; }
.menu-panel nav { display: grid; gap: 1.5rem; margin-block: 3rem; }
.menu-panel nav a { display: flex; align-items: center; width: fit-content; min-height: 2.75rem; font-size: 2.25rem; line-height: 2.5rem; font-weight: 650; text-decoration: none; letter-spacing: -.055em; }
.menu-panel nav a:hover { text-decoration: underline; }
.menu-panel[open] nav a { animation: menu-in 500ms var(--curve) both; }
.menu-panel nav a:nth-child(2) { animation-delay: 60ms; }
.menu-panel nav a:nth-child(3) { animation-delay: 120ms; }
.menu-panel nav a:nth-child(4) { animation-delay: 180ms; }
.menu-panel nav a:nth-child(5) { animation-delay: 240ms; }
@keyframes menu-in { from { opacity: 0; transform: translateY(1.5rem); } to { opacity: 1; transform: none; } }

.hero { display: grid; grid-template-columns: .89fr 1.11fr; }
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem 2rem 3rem 0;
  gap: 1.5rem;
}
.hero-copy .eyebrow { color: var(--muted); }
.hero-copy h1 {
  max-width: 42.5rem;
  padding-bottom: .125rem;
  background: linear-gradient(90deg, #15160e, #4f5343);
  background-clip: text;
  color: transparent;
}
.hero-description { max-width: min(30ch, 42.5rem); color: var(--muted); }
.hero-visual {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  grid-auto-flow: column;
  gap: .25rem;
  min-height: 30rem;
  overflow: hidden;
  border-radius: .75rem;
}
.hero-swatch {
  position: relative;
  min-width: 0;
  border: 0;
  padding: 0;
  overflow: hidden;
  text-align: left;
}
.hero-swatch[aria-pressed="true"] { grid-area: 1 / 2 / 3 / 3; }
.hero-pink { background: #d5b3b7; }
.hero-blue { background: #313761; }
.hero-green { background: #899525; }
.hero-swatch img, .material-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--curve);
}
.hero-swatch:hover img, .material-image:hover img { transform: scale(1.055); }
.hero-swatch:active img, .material-image:active img { transform: scale(1.015); }
.hero-swatch:focus-visible, .material-image:focus-visible { outline-offset: -.375rem; outline-color: white; }
.visual-label {
  position: absolute;
  inset: auto auto 1rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  width: fit-content;
  padding: .25rem .5rem;
  border-radius: .25rem;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
}
.visual-label span { display: none; font-weight: 550; }
.hero-swatch[aria-pressed="true"] .visual-label span { display: inline; }
.family-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  padding: 1rem 0;
  margin-top: 1rem;
  border-block: 1px solid var(--line);
  font-weight: 600;
}
.family-strip li { text-align: center; }
.family-strip li + li { border-left: 1px solid var(--line); }

.section-head { display: grid; grid-template-columns: 1fr minmax(14rem, .5fr); align-items: end; gap: 1.5rem; margin-bottom: 2rem; }
.section-head p, .about p:not(.eyebrow), .home-contact p { color: var(--muted); }
.material-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.material-image {
  display: block;
  width: 100%;
  aspect-ratio: 1.24;
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: .5rem;
  background: #e2e4d8;
}
.material-info, .application-grid figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  padding-top: .75rem;
  gap: .25rem .75rem;
}
.material-info .caption, .application-grid .caption { color: var(--muted); }

.statement { background: var(--accent); }
.statement-inner { display: grid; grid-template-columns: 1fr minmax(14rem, .5fr); align-items: end; gap: 1.5rem; padding-block: 4rem; }
.statement .heading-2 { max-width: 42.5rem; }
.statement .statement-word { opacity: .60; transition: opacity 700ms var(--curve); }
.statement .is-read { opacity: 1; }
.application-grid { display: grid; grid-template-columns: 1.17fr .83fr; gap: 1rem; }
.application-grid img { width: 100%; height: 27rem; object-fit: cover; border-radius: .5rem; }
.application-grid a:first-child img { object-position: center 68%; }
.application-grid a { color: inherit; text-decoration: none; }
.application-grid a:hover .title-1 { text-decoration: underline; }
.about { background: #edf0e2; }
.about-inner { display: grid; grid-template-columns: 1.02fr .98fr; gap: 3rem; align-items: center; padding-block: 4rem; }
.about-inner img { width: 100%; height: auto; border-radius: .5rem; }
.about-inner > div, .home-contact > div { display: grid; gap: 1rem; }
.about-inner .body-3, .home-contact p { max-width: 43ch; }

.home-contact { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.phone { width: fit-content; font-weight: 650; }
label { display: block; font-weight: 650; }
label span { color: var(--muted); }
input, select, textarea {
  display: block;
  width: 100%;
  margin-top: .5rem;
  padding: .75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: .375rem;
  font-weight: 450;
}
textarea { resize: vertical; }

.faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3rem; margin-bottom: 5rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding-block: 1rem; font-weight: 650; }
.faq details p { padding-bottom: 1rem; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 7rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; padding-block: 1.5rem; }
.footer-identity { display: grid; gap: .25rem; }
.footer-identity span { color: var(--muted); }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
.error-page { display: grid; justify-items: start; gap: 1.5rem; }
.error-page > p, .error-contact { max-width: 55ch; color: var(--muted); }
.error-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.error-contact { display: grid; gap: .5rem; }
.error-contact address { font-style: normal; }

dialog { color: var(--ink); background: var(--paper); border: 1px solid var(--line); padding: 1.5rem; }
dialog::backdrop { background: rgba(23, 25, 16, .62); }
.card-dialog { width: min(calc(100% - 2rem), 50rem); max-height: calc(100dvh - 2rem); border-radius: .75rem; }
.card-dialog header, .card-dialog footer { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1rem; }
.card-dialog footer { flex-wrap: wrap; margin-top: 1rem; }
.card-dialog img { width: 100%; height: auto; max-height: 57dvh; object-fit: contain; margin-top: 1rem; background: #ecefe0; }

@media (min-width: 75rem) {
  .hero-copy h1 { font-size: 4.5rem; }
}

@media (min-width: 83rem) {
  .hero-copy h1 { font-size: 6rem; }
  .hero-visual { min-height: 34rem; }
}

@media (max-width: 59rem) {
  :root { --gutter: 1.5rem; }
  .hero-visual { min-height: 26rem; }
  .hero-copy h1 { font-size: 3rem; }
  .section { padding-block: 4rem; }
  .about-inner, .faq { gap: 1.5rem; }
  .header-inner { gap: 1rem; padding-inline: .75rem; }
  .site-nav { gap: 1rem; }
  .application-grid img { height: 21rem; }
}

@media (max-width: 43rem) {
  :root { --gutter: 1rem; }
  .header-inner { grid-template-columns: 1fr auto; padding: .5rem .75rem; gap: .75rem; }
  .site-nav, .header-inquiry { display: none; }
  .menu-button { display: inline-flex; }
  .menu-panel { position: fixed; inset: 0; margin: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; border: 0; background: rgba(248, 248, 242, .97); }
  .menu-panel::backdrop { backdrop-filter: blur(12px); }
  .hero, .section-head, .statement-inner, .about-inner, .faq { grid-template-columns: 1fr; }
  .hero-copy { padding: 1.5rem 0; gap: 1rem; }
  .hero-visual { min-height: 19rem; }
  .section-head { gap: .75rem; margin-bottom: 1.5rem; }
  .heading-2 { font-size: 2.25rem; line-height: 2.5rem; }
  .heading-3 { font-size: 1.875rem; line-height: 2.25rem; }
  .family-strip { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
  .family-strip li:nth-child(3) { border-left: 0; }
  .hero-visual .visual-label { inset: auto auto .5rem .5rem; font-size: .75rem; line-height: 1rem; }
  .section { padding-block: 3rem; }
  .material-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .application-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .application-grid img { height: auto; aspect-ratio: 1.22; }
  .about-inner, .statement-inner { padding-block: 3rem; }
  .faq { margin-bottom: 3rem; }
}

@media (max-width: 24rem) {
  .visual-label span { display: none !important; }
}

@media (max-width: 43rem) and (max-height: 30rem) {
  .menu-panel { padding: 1rem; }
  .menu-panel nav { gap: .5rem; margin-block: 1rem; }
  .menu-panel nav a { font-size: 1.5rem; line-height: 2rem; }
}

@media (max-height: 30rem) {
  .card-dialog img { max-height: min(57dvh, max(4rem, calc(100dvh - 15rem))); }
}

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