:root {
  --olive: #d4ce6a;
  --olive-deep: #a9a352;
  --gold: #c4af61;
  --beige: #e4dec6;
  --beige-light: #ebe7d7;
  --tan: #e0d5ab;
  --offwhite: #f5f5f5;
  --grey: #ebebeb;
  --salmon: #ff8a6c;
  --ink: #1f1f1f;
  --serif: "Noto Serif", Georgia, "Times New Roman", serif;
  --sans: "Blinker", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--offwhite);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

/* ---------- header ---------- */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 36px);
  padding: clamp(14px, 2vw, 28px) var(--gutter);
}
.site-header .mark img { width: clamp(52px, 7vw, 112px); height: auto; }
.site-header .rule { flex: 1; height: 1px; background: var(--ink); }
.site-header .rule.short { flex: 0 0 clamp(0px, 10vw, 180px); }
.site-header nav { display: flex; gap: clamp(16px, 3.6vw, 64px); }
.site-header nav a {
  font-stretch: 85%;
  font-size: clamp(14px, 1.75vw, 30px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}
.site-header nav a:hover, .site-header nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  min-width: 190px;
  padding: 10px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.16), 0 2px 3px rgba(0, 0, 0, 0.18);
  color: #fff;
  font-family: var(--sans);
  font-size: 17px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn.olive { background: var(--olive); }
.btn.tan { background: var(--tan); }
.btn.big { font-size: clamp(20px, 1.6vw, 26px); padding: 14px 40px; min-width: 300px; }

/* ---------- home: hero ---------- */
.hero {
  position: relative;
  aspect-ratio: 1728 / 1200;
  min-height: 560px;
  width: 100%;
  background: #f3f3c0 url("/img/hero.jpg") center bottom / cover no-repeat;
}
.hero-copy { position: absolute; left: var(--gutter); right: var(--gutter); top: 30%; padding-left: 1vw; }
.hero h1 { font-weight: 400; font-stretch: 88%; font-size: clamp(52px, 8.6vw, 150px); line-height: 1.05; letter-spacing: 0.01em; }
.hero .tagline { font-size: clamp(17px, 1.75vw, 30px); margin-top: 0.6em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 20px 36px; margin-top: clamp(20px, 2.4vw, 40px); }
.hero .corner {
  position: absolute; bottom: -1px; width: 18.4%; height: 8.6%;
  background: var(--offwhite);
}
.hero .corner.l { left: 0; border-top-right-radius: 28px; }
.hero .corner.r { right: 0; border-top-left-radius: 28px; }
.hero .corner::after {
  content: ""; position: absolute; bottom: 0; width: 28px; height: 28px;
}
.hero .corner.l::after { left: 100%; background: radial-gradient(circle at 100% 0, transparent 27.5px, var(--offwhite) 28px); }
.hero .corner.r::after { right: 100%; background: radial-gradient(circle at 0 0, transparent 27.5px, var(--offwhite) 28px); }

/* ---------- home: about ---------- */
.about { background: var(--offwhite); text-align: center; padding: clamp(36px, 4vw, 64px) var(--gutter) clamp(28px, 3vw, 48px); }
.about h2 { font-weight: 400; font-stretch: 90%; font-size: clamp(36px, 5.2vw, 88px); line-height: 1.15; }
.about .body { max-width: 62ch; margin: clamp(20px, 2.6vw, 44px) auto 0; font-size: clamp(14px, 1.15vw, 19px); line-height: 2; }
.about .callout { max-width: 30ch; margin: clamp(28px, 3vw, 52px) auto 0; color: var(--olive); font-size: clamp(20px, 1.9vw, 32px); line-height: 1.35; letter-spacing: 0.02em; }

.partners-wrap { background: var(--offwhite); }
.partners {
  position: relative; z-index: 2;
  background: var(--olive);
  border-radius: 28px;
  padding: clamp(110px, 9vw, 150px) var(--gutter) clamp(48px, 6vw, 100px);
  display: grid;
  grid-template-columns: 1fr minmax(260px, 36%) 1fr;
  align-items: center; justify-items: center;
  gap: 28px;
}
.partners::before {
  content: ""; position: absolute; top: 0; left: 18.4%; right: 18.4%; height: clamp(60px, 6vw, 104px);
  background: var(--offwhite); border-radius: 0 0 24px 24px; box-shadow: 0 6px 8px rgba(0, 0, 0, 0.28);
}
.partners .dancers { grid-column: 2; grid-row: 1; margin-top: -60px; position: relative; }
.partners .pill {
  width: min(100%, 420px); padding: 16px 20px; border-radius: 999px; text-align: center;
  background: var(--gold); color: #fff; font-weight: 600; font-size: clamp(15px, 1.2vw, 20px);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.14), 0 2px 3px rgba(0, 0, 0, 0.15);
}
.partners .p1 { grid-column: 1; grid-row: 1; }
.partners .p3 { grid-column: 3; grid-row: 1; }
.partners .p2 { grid-column: 2; grid-row: 2; }

/* ---------- home: oak savanna ---------- */
.savanna {
  position: relative; margin-top: -28px;
  min-height: clamp(520px, 62vw, 1060px);
  display: grid; place-items: center;
  padding: 80px var(--gutter) 110px;
  background: #2c3a12 url("/img/oak-savanna.jpg") center / cover no-repeat;
  color: #f3ec4d; text-align: center;
}
.savanna .text { max-width: 1160px; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.75); }
.savanna h2 { font-weight: 400; font-size: clamp(26px, 2.2vw, 38px); }
.savanna p { margin-top: 12px; font-size: clamp(15px, 1.5vw, 26px); line-height: 1.5; }
.savanna::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 14px; height: 64px;
  background: radial-gradient(circle at center, #fff 0 27px, rgba(0, 0, 0, 0.25) 28px, transparent 31px) center / 81px 64px repeat-x;
}

/* ---------- home: quote ---------- */
.quote { background: #fff; padding: clamp(48px, 7vw, 120px) var(--gutter); }
.quote .inner { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 580px) minmax(0, 620px); gap: clamp(28px, 5vw, 80px); justify-content: center; }
.quote blockquote { margin: 0; padding-top: 2%; display: flex; flex-direction: column; text-align: center; font-weight: 600; font-size: clamp(15px, 1.4vw, 24px); line-height: 1.75; }
.quote cite { margin-top: auto; padding-top: 32px; text-align: right; font-style: normal; font-size: clamp(26px, 2.3vw, 40px); }

/* ---------- home: restoration ---------- */
.restoration { background: #fff; overflow: hidden; }
.restoration h2 { color: var(--salmon); font-weight: 400; font-stretch: 87%; text-transform: uppercase; white-space: nowrap; font-size: 6.15vw; line-height: 0.82; letter-spacing: 0.01em; margin-left: -0.03em; position: relative; z-index: 1; }
.restoration .panel { background: var(--grey); margin-top: -0.9vw; padding: clamp(28px, 3vw, 56px) var(--gutter) clamp(60px, 8vw, 150px); }
.restoration .lede { position: relative; z-index: 3; text-align: right; padding-right: 2%; font-size: clamp(20px, 2.1vw, 36px); }
.restoration .stage { position: relative; margin-top: clamp(40px, 6vw, 110px); padding: 6% 0 0 17%; }
.restoration .card { background: #fff; min-height: clamp(280px, 34vw, 600px); padding: clamp(24px, 3vw, 48px) clamp(20px, 3vw, 48px) clamp(32px, 4vw, 64px) 43%; display: flex; flex-direction: column; }
.restoration .corn { width: clamp(64px, 6.6vw, 114px); align-self: flex-end; box-shadow: 3px 4px 5px rgba(0, 0, 0, 0.35); }
.restoration .card p { margin-top: auto; border-left: 1px solid var(--ink); padding: 14% 0 6% clamp(18px, 2.6vw, 44px); font-weight: 600; font-size: clamp(13px, 1.05vw, 18px); line-height: 2.3; }
.restoration .photos { position: absolute; left: calc(-1 * var(--gutter) - 2%); top: -2%; width: 44%; }
.restoration .photos img { width: 100%; transform: rotate(-7deg); box-shadow: 0 10px 18px rgba(0, 0, 0, 0.3); position: relative; z-index: 2; }
.restoration .photos::before, .restoration .photos::after {
  content: ""; position: absolute; inset: 0; background: url("/img/field.jpg") top left / cover; filter: saturate(0.9) brightness(1.08);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
.restoration .photos::before { transform: translate(-28%, -30%) rotate(-11deg); }
.restoration .photos::after { transform: translate(-38%, -14%) rotate(-3deg); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--olive); box-shadow: inset 0 8px 8px -6px rgba(0, 0, 0, 0.25);
  padding: clamp(36px, 4.5vw, 80px) var(--gutter);
  display: flex; align-items: center; gap: clamp(20px, 3vw, 48px);
  font-family: var(--sans); font-size: clamp(15px, 1.15vw, 20px); line-height: 1.75;
}
.site-footer .logo img { width: clamp(190px, 18vw, 310px); }
.site-footer .col { border-left: 1px solid var(--ink); padding-left: clamp(20px, 3vw, 48px); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .top { margin-left: auto; font-size: 0; }
.site-footer .top svg { width: 34px; height: 76px; stroke: #666; fill: none; stroke-width: 2.5; }

/* ---------- products page ---------- */
body.shop { background: var(--beige); }
.p-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(var(--olive) 0 78%, var(--olive-deep));
  padding: clamp(110px, 10vw, 170px) var(--gutter) clamp(90px, 8.5vw, 150px);
}
.p-hero .ghost {
  position: absolute; left: 0; right: 0; top: 12%;
  text-align: center; font-weight: 600; font-stretch: 92%; font-size: 17.6vw; line-height: 1; letter-spacing: 0.02em;
  color: #fff; filter: blur(0.32vw); opacity: 0.92; user-select: none; pointer-events: none;
}
.p-hero .feature { position: relative; display: grid; grid-template-columns: 22% 34% 1fr; align-items: center; column-gap: 4%; }
.p-hero .feature .cap { grid-column: 2; width: 100%; filter: drop-shadow(-18px 22px 22px rgba(60, 60, 0, 0.35)); }
.p-hero .info { grid-column: 3; padding-top: 12%; }
.p-hero .info h1 { font-weight: 700; font-size: clamp(17px, 1.4vw, 24px); }
.p-hero .info ul { list-style: none; padding: 0; margin: 10px 0 0; font-size: clamp(14px, 1.15vw, 20px); line-height: 2; }
.p-hero .bottom { position: relative; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 5% 0 5.5%; margin-top: -3%; }
.p-hero .price { color: #fff; font-stretch: 88%; font-size: clamp(56px, 6.6vw, 116px); line-height: 1; }

.collections { padding: clamp(28px, 3vw, 56px) var(--gutter) clamp(48px, 5vw, 90px); }
.collections .head { display: flex; align-items: center; gap: 2%; }
.collections .head::before { content: ""; flex: 1; height: 1px; background: var(--ink); }
.collections h2 { font-weight: 700; font-stretch: 85%; text-transform: uppercase; font-size: clamp(26px, 3.5vw, 62px); letter-spacing: 0.02em; }
.grid { margin-top: clamp(24px, 3vw, 50px); display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: clamp(20px, 2.6vw, 48px) clamp(16px, 2vw, 34px); }
.grid.single { grid-template-columns: minmax(0, 510px); }

.card-p { position: relative; background: #fff; border-radius: 22px; box-shadow: 0 4px 5px rgba(0, 0, 0, 0.3); display: flex; flex-direction: column; text-decoration: none; }
.card-p::before { /* the notch between title tab and body */
  content: ""; position: absolute; left: -1px; top: 76px; width: 56px; height: 12px; background: var(--beige); border-radius: 0 999px 999px 0;
  box-shadow: inset 0 3px 3px -2px rgba(0, 0, 0, 0.25);
}
.card-p .title { display: flex; justify-content: space-between; gap: 16px; padding: 22px 24px 0; height: 82px; font-stretch: 90%; font-size: clamp(18px, 1.35vw, 23px); letter-spacing: 0.02em; }
.card-p .pic { height: 250px; display: grid; place-items: center; padding: 8px 24px; }
.card-p .pic img { height: 230px; width: auto; object-fit: contain; filter: drop-shadow(-8px 10px 10px rgba(0, 0, 0, 0.3)); transition: transform 0.25s ease; }
.card-p:hover .pic img { transform: scale(1.04) rotate(-2deg); }
.card-p .meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 24px 20px; font-size: clamp(16px, 1.25vw, 21px); }
.card-p .meta .btn { min-width: 0; flex: 1; max-width: 230px; padding: 5px 12px; font-size: 14px; }

/* ---------- product detail ---------- */
.detail { padding: clamp(120px, 11vw, 190px) var(--gutter) clamp(48px, 5vw, 80px); display: flex; justify-content: center; }
.detail .gallery {
  flex: 0 1 700px; background: var(--beige-light); border-radius: 22px 0 0 22px; display: grid; place-items: center; padding: 40px;
  margin-right: -22px; padding-right: 62px; min-height: 420px; overflow: hidden;
  animation: reveal 0.9s 0.35s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.detail .gallery img { width: min(340px, 100%); filter: drop-shadow(-14px 16px 16px rgba(0, 0, 0, 0.3)); }
@keyframes reveal { from { flex-basis: 0; padding-left: 0; padding-right: 22px; opacity: 0; } }
.detail .card-p { flex: 0 1 784px; min-height: clamp(420px, 33vw, 572px); z-index: 1; }
.detail .card-p::before { top: 112px; width: 86px; height: 14px; }
.detail .card-p .title { height: 118px; padding: 34px 46px 0; font-size: clamp(22px, 2vw, 34px); }
.detail .card-p .title h1 { font: inherit; }
.detail .specs { list-style: none; margin: 0; padding: 56px 46px 0; font-size: clamp(14px, 0.95vw, 16px); line-height: 1.6; }
.detail .note { padding: 14px 46px 0; font-size: 14px; max-width: 52ch; opacity: 0.75; }
.detail .price { margin-top: auto; text-align: right; padding: 24px 62px 0; font-stretch: 88%; font-size: clamp(32px, 2.5vw, 42px); }
.detail .buy { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding: 30px 30px 30px 46px; }
.qty { display: flex; align-items: center; gap: 22px; font-size: 22px; }
.qty button { width: 64px; height: 58px; border-radius: 22px; border: 1px solid #999; background: #fff; font-size: 20px; cursor: pointer; }
.qty button:hover { background: var(--beige-light); }
.qty output { min-width: 2ch; text-align: center; }
.detail .buy .btn { background: var(--tan); min-width: 300px; padding: 14px 28px; font-size: 20px; }
.missing { padding: 200px var(--gutter) 120px; text-align: center; font-size: 20px; }

/* ---------- small screens ---------- */
@media (max-width: 760px) {
  .site-header .rule { display: none; }
  .site-header nav { margin-left: auto; }

  .hero { aspect-ratio: auto; min-height: min(100svh, 880px); background-position: 46% bottom; }
  .hero-copy { top: 19%; padding-left: 0; }
  .hero .actions { flex-direction: column; align-items: flex-end; gap: 14px; }
  .hero .corner { display: none; }
  .about { position: relative; margin-top: -32px; border-radius: 32px 32px 0 0; }
  .about .body { line-height: 1.75; }

  .partners { grid-template-columns: 1fr; padding-top: 48px; }
  .partners::before { display: none; }
  .partners .dancers, .partners .p1, .partners .p2, .partners .p3 { grid-column: 1; grid-row: auto; margin-top: 0; }
  .partners .dancers { width: 78%; margin-bottom: 12px; }

  .savanna .text { background: rgba(40, 45, 25, 0.5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-radius: 22px; padding: 28px 22px; color: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35); }
  .savanna::after { background-size: 62px 48px; height: 48px; background-image: radial-gradient(circle at center, #fff 0 20px, rgba(0, 0, 0, 0.25) 21px, transparent 24px); }

  .quote .inner { grid-template-columns: 1fr; }
  .quote .inner img { order: 0; }
  .quote cite { text-align: left; }

  .restoration h2 { white-space: normal; text-align: center; font-size: 11.5vw; line-height: 1.05; margin: 0; padding: 0 8px 12px; }
  .restoration .panel { margin-top: 0; }
  .restoration .lede { text-align: center; padding: 0; }
  .restoration .stage { padding: 0; margin-top: 28px; }
  .restoration .photos { position: relative; left: -8%; top: 0; width: 86%; margin: 26% 0 -8%; z-index: 1; }
  .restoration .card { padding: 22% 22px 32px; }
  .restoration .card p { padding: 8px 0 8px 18px; margin-top: 20px; line-height: 2; }

  .site-footer { flex-direction: column; text-align: center; }
  .site-footer .col { border: 0; padding: 0; }
  .site-footer .top { margin: 0; }

  .p-hero { padding-top: 96px; padding-bottom: 64px; }
  .p-hero .ghost { writing-mode: vertical-rl; transform: rotate(180deg); top: 70px; bottom: auto; left: 2%; right: auto; font-size: 27vw; letter-spacing: 0.04em; filter: blur(1.1vw); }
  .p-hero .feature { display: flex; flex-direction: column; align-items: flex-end; }
  .p-hero .info { padding: 0; width: 62%; }
  .p-hero .feature .cap { width: 78%; align-self: center; margin-top: 24px; }
  .p-hero .bottom { flex-direction: column-reverse; align-items: stretch; gap: 36px; margin-top: 12px; padding: 0; }
  .p-hero .price { text-align: right; padding-right: 6%; }

  .collections .head::before { display: none; }
  .collections .head { justify-content: center; }
  .grid.single { grid-template-columns: 1fr; }

  .detail { flex-direction: column; align-items: stretch; padding-top: 96px; }
  .detail .gallery { flex: none; margin: 0 0 -22px; border-radius: 22px 22px 0 0; padding: 32px 32px 54px; min-height: 0; animation-name: reveal-m; }
  @keyframes reveal-m { from { opacity: 0; transform: translateY(40px); } }
  .detail .card-p { flex: none; }
  .detail .card-p .title { padding: 28px 24px 0; }
  .detail .specs, .detail .note { padding-left: 24px; padding-right: 24px; }
  .detail .price { padding-right: 24px; }
  .detail .buy { padding: 24px; }
  .detail .buy .btn { min-width: 0; flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .detail .gallery { animation: none; }
  .btn, .card-p .pic img { transition: none; }
}
