:root {
  color-scheme: light;
  --ink: #201e1b;
  --muted: #625c55;
  --paper: #fff;
  --stone: #f5f2ee;
  --line: #ded7cd;
  --accent: #78502f;
  --gutter: clamp(20px, 5vw, 86px);
  --header-height: 76px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body { margin: 0; min-width: 280px; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, summary { font: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.045em; line-height: .99; }
h1 { font-size: clamp(2.65rem, 6.1vw, 6rem); }
h2 { font-size: clamp(2.45rem, 5.1vw, 4.75rem); }
p { color: var(--muted); font-size: 1rem; line-height: 1.65; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.wrap { width: min(100%, 1500px); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: fixed; z-index: 5; top: 12px; left: 12px; padding: 12px 16px; transform: translateY(-160%); background: var(--paper); }
.skip-link:focus { transform: translateY(0); }

.masthead { position: sticky; top: 0; z-index: 3; background: var(--paper); border-bottom: 1px solid var(--line); }
.masthead__inner { min-height: var(--header-height); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 22px; }
.brand { display: inline-flex; align-items: center; justify-self: start; text-decoration: none; }
.brand img { width: clamp(125px, 15vw, 182px); height: 44px; object-fit: contain; object-position: left center; }
.primary-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 45px); }
.primary-nav a, .footer-links a { padding-block: 10px; font-size: .9rem; font-weight: 700; text-decoration: none; text-underline-offset: 5px; white-space: nowrap; }
.primary-nav a:hover, .footer-links a:hover { text-decoration: underline; }
.masthead__shop { justify-self: end; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 24px; border: 1px solid var(--ink); background: var(--ink); color: white; font-size: .9rem; font-weight: 700; text-align: center; text-decoration: none; transition: background-color 180ms, border-color 180ms; }
.button:hover { background: var(--accent); border-color: var(--accent); }
.button--quiet { background: transparent; color: var(--ink); }
.button--quiet:hover { border-color: var(--ink); background: var(--ink); color: white; }
.text-link { display: inline-block; width: fit-content; color: var(--accent); font-size: .95rem; font-weight: 700; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--ink); }

.hero { background: #eee8e0; }
.hero__poster, .hero__poster picture { display: block; }
.hero__poster img { width: 100%; height: auto; aspect-ratio: auto 2.7 / 1; animation: poster-in 450ms ease-out both; }
.hero__poster img.is-fallback { aspect-ratio: 2.7 / 1; object-fit: cover; object-position: 70% 66%; }
@keyframes poster-in { from { opacity: .55; } to { opacity: 1; } }

.intro { padding-block: clamp(52px, 7.2vw, 105px); text-align: center; }
.intro h1 { max-width: 870px; margin-inline: auto; }
.intro p { max-width: 600px; margin: 20px auto 25px; }
.intro .button { min-width: 155px; }

.section { padding-block: clamp(52px, 7vw, 105px); }
.section--stone { background: var(--stone); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(24px, 4vw, 44px); }
.section-heading p { margin-top: 12px; }
.section-heading > a { flex-shrink: 0; margin-bottom: 3px; }

.height-options { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); list-style: none; }
.height-options li { min-width: 0; }
.height-options a { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; min-height: clamp(81px, 9vw, 118px); padding: 10px 5px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); text-decoration: none; transition: color 170ms, background-color 170ms; }
.height-options a:hover { background: var(--ink); color: var(--paper); }
.height-options a:focus-visible { position: relative; z-index: 1; outline-offset: -3px; }
.height-options strong { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.22rem, 2.6vw, 2.28rem); font-weight: 400; line-height: 1; white-space: nowrap; letter-spacing: -.045em; }
.height-options span { color: var(--muted); font-size: .88rem; }
.height-options a:hover span { color: #e9e3da; }

.style-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 28px); }
.style-option { display: block; min-width: 0; text-decoration: none; }
.style-option figure { margin: 0; overflow: hidden; background: var(--stone); }
.style-option img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; mix-blend-mode: multiply; transition: transform 350ms ease-out; }
.style-option:hover img { transform: scale(1.045); }
.style-option h3 { padding-top: 14px; padding-bottom: 13px; border-bottom: 1px solid var(--line); font-size: clamp(1rem, 1.6vw, 1.3rem); font-weight: 700; text-underline-offset: 5px; }
.style-option:hover h3 { text-decoration: underline; }

.guide { display: grid; grid-template-columns: 1.1fr .9fr; background: var(--stone); }
.guide__image { width: 100%; height: 100%; min-height: 400px; object-fit: cover; object-position: 69% center; }
.guide__body { display: flex; align-items: start; flex-direction: column; justify-content: center; gap: 19px; padding: clamp(39px, 6.5vw, 100px) var(--gutter); }
.guide__body p { max-width: 42ch; }

.faq { max-width: 1120px; }
.faq h2 { margin-bottom: 28px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-block: 18px; list-style: none; cursor: pointer; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.42rem; font-weight: 400; color: var(--accent); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { padding-bottom: 20px; max-width: 66ch; }

.site-footer { border-top: 1px solid var(--line); background: var(--stone); }
.site-footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px 40px; padding-block: 29px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }

@media (max-width: 900px) {
  .style-options { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 25px; }
  .guide__body { padding-inline: clamp(25px, 4.2vw, 55px); }
}

@media (max-width: 700px) {
  :root { --header-height: 101px; }
  .masthead__inner { grid-template-columns: 1fr auto; grid-template-rows: minmax(56px, auto) auto; column-gap: 10px; }
  .primary-nav { grid-area: 2 / 1 / 3 / -1; align-self: stretch; justify-content: space-between; gap: 8px 12px; border-top: 1px solid var(--line); }
  .primary-nav a { display: grid; place-items: center; min-height: 44px; padding: 5px 1px; text-align: center; }
  .masthead__shop { min-height: 40px; padding-inline: 14px; }
  .brand img { height: 39px; }
  .hero__poster img { aspect-ratio: auto 4 / 5; }
  .hero__poster img.is-fallback { aspect-ratio: 4 / 5; object-position: 76% center; }
  .section-heading { flex-direction: column; align-items: start; gap: 11px; }
  .height-options { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .guide { grid-template-columns: 1fr; }
  .guide__image { min-height: 0; height: auto; aspect-ratio: 5 / 3; object-position: 70% 67%; }
  .guide__body { padding: 38px var(--gutter) 45px; }
}

@media (max-width: 345px) {
  :root { --gutter: 15px; }
  .primary-nav a { font-size: .83rem; }
  .height-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

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