:root {
  --paper: #f6f0e7;
  --paper-deep: #ebe0d1;
  --ink: #24211d;
  --muted: #6a6258;
  --line: #d7c9b8;
  --cinnabar: #9a3328;
  --cinnabar-dark: #712219;
  --jade: #5d7462;
  --gold: #b38a43;
  --white: #fffaf2;
  --shadow: 0 24px 70px rgba(45, 33, 24, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(246, 240, 231, 0.92);
  border-bottom: 1px solid rgba(215, 201, 184, 0.7);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--cinnabar);
  color: var(--cinnabar);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}

nav {
  display: flex;
  gap: clamp(12px, 2.5vw, 30px);
  font-size: 14px;
  color: var(--muted);
}

nav a:hover {
  color: var(--cinnabar);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: clamp(28px, 5vw, 76px);
  min-height: calc(100vh - 80px);
  align-items: center;
  padding: clamp(34px, 6vw, 76px) clamp(18px, 5vw, 70px);
}

.hero > *,
.intro-band > *,
.product > *,
.contact > * {
  min-width: 0;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow,
.product-type {
  margin: 0 0 16px;
  color: var(--cinnabar);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.92;
}

h2 {
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1;
}

h3 {
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.02;
}

h4 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.15;
}

.hero-text,
.intro-band p,
.product-copy p,
.contact p,
.process-band p,
.shipping-band p,
.site-footer p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.product-copy p + p {
  margin-top: 14px;
}

.hero-text {
  max-width: 610px;
  margin: 24px 0 0;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--cinnabar);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.button.primary {
  background: var(--cinnabar);
  color: var(--white);
}

.button.primary:hover {
  background: var(--cinnabar-dark);
  border-color: var(--cinnabar-dark);
}

.button.secondary {
  color: var(--cinnabar);
}

.button.secondary:hover {
  background: rgba(154, 51, 40, 0.08);
}

.hero-art {
  position: relative;
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 18px;
  align-items: end;
}

.hero-art img {
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
  background: var(--paper-deep);
}

.hero-art img:first-child {
  aspect-ratio: 3 / 4;
}

.hero-art img:last-child {
  aspect-ratio: 4 / 5;
  margin-bottom: 8vh;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(54px, 8vw, 92px) clamp(18px, 5vw, 70px);
  background: var(--ink);
}

.intro-band h2,
.intro-band p {
  color: var(--white);
}

.intro-band p:last-child {
  margin: 28px 0 0;
  color: #d8cbbc;
}

.learn-band {
  padding: clamp(54px, 8vw, 92px) clamp(18px, 5vw, 70px);
  background: #f5efe5;
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  background: var(--line);
}

.learn-grid a {
  display: block;
  min-height: 220px;
  padding: 28px;
  color: var(--ink);
  background: var(--paper);
  text-decoration: none;
}

.learn-grid span {
  color: var(--cinnabar);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.learn-grid h3 {
  margin-top: 24px;
  font-size: 30px;
}

.learn-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.collection {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 70px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.product {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 5vw, 56px) 0;
  border-top: 1px solid var(--line);
}

.product.reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
}

.product.reverse .product-media {
  order: 2;
}

.product.reverse .product-copy {
  order: 1;
}

.product-media > img,
.main-gallery-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--paper-deep);
  box-shadow: var(--shadow);
}

.product-featured .product-media > img {
  aspect-ratio: 3 / 4;
  object-fit: contain;
}

.price {
  margin: 14px 0 18px;
  color: var(--cinnabar) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px !important;
  line-height: 1.1 !important;
}

.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
}

.specs div {
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.42);
}

dt {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

dd {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 700;
}

.source-note {
  padding-left: 16px;
  border-left: 3px solid var(--gold);
  font-size: 14px !important;
}

.reference-panel {
  display: grid;
  gap: 16px;
  margin: 26px 0;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.46);
}

.reference-copy p {
  font-size: 14px;
  line-height: 1.7;
}

.reference-kicker {
  margin: 0 0 8px !important;
  color: var(--cinnabar) !important;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.35 !important;
  text-transform: uppercase;
}

.reference-source {
  margin-top: 10px !important;
  font-size: 13px !important;
}

.reference-source a {
  color: var(--cinnabar);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reference-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.reference-figure {
  margin: 0;
}

.reference-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--paper-deep);
}

.reference-figure.wide {
  grid-column: 1 / -1;
}

.reference-figure.wide img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: var(--white);
}

.reference-figure figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.thumb {
  padding: 0;
  border: 2px solid transparent;
  background: transparent;
  cursor: pointer;
}

.thumb.active {
  border-color: var(--cinnabar);
}

.thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.process-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  margin: 0 clamp(18px, 5vw, 70px) clamp(54px, 8vw, 90px);
}

.process-band div {
  min-height: 220px;
  padding: 28px;
  background: var(--paper-deep);
}

.process-band span {
  color: var(--cinnabar);
  font-weight: 700;
}

.process-band h3 {
  margin-top: 34px;
  font-size: 30px;
}

.shipping-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  padding: clamp(54px, 8vw, 92px) clamp(18px, 5vw, 70px);
  border-top: 1px solid var(--line);
  background: var(--white);
}

.shipping-copy p {
  max-width: 640px;
}

.shipping-copy p + p {
  margin-top: 14px;
}

.shipping-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.shipping-options div {
  min-height: 220px;
  padding: 24px;
  background: var(--paper);
}

.shipping-options span {
  color: var(--cinnabar);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.shipping-options h3 {
  margin-top: 24px;
  font-size: 27px;
}

.shipping-options p {
  margin-bottom: 0;
  font-size: 15px;
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 28px clamp(18px, 5vw, 70px);
  background: #efe8dc;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.policy-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  font-weight: 700;
  text-decoration: none;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(54px, 8vw, 92px) clamp(18px, 5vw, 70px);
  background: #d9dfd3;
}

.inquiry-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 36px);
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: 15px/1.4 Arial, Helvetica, sans-serif;
  padding: 13px 12px;
}

textarea {
  resize: vertical;
}

.form-note,
.inquiry-output {
  margin: 0;
  font-size: 13px !important;
  color: var(--muted);
}

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

.inquiry-output {
  white-space: pre-wrap;
  padding: 0;
}

.inquiry-output:not(:empty) {
  padding: 14px;
  border: 1px solid var(--line);
  background: #f7f3ec;
}

.dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(36, 33, 29, 0.42);
}

.dialog-backdrop[hidden] {
  display: none;
}

.dialog-box {
  position: relative;
  width: min(420px, 100%);
  padding: 38px 28px 32px;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  text-align: center;
}

.dialog-box h2 {
  font-size: 25px;
  line-height: 1.35;
}

.dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 16px;
}

.dialog-close:hover {
  color: var(--cinnabar);
  border-color: var(--cinnabar);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 70px);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer a {
  color: var(--ink);
  font-size: 14px;
}

.policy-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 120px clamp(18px, 5vw, 70px) 72px;
}

.policy-page h1 {
  max-width: 760px;
}

.policy-page section {
  margin-top: 32px;
}

.policy-page li {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--cinnabar);
}

.seo-section {
  margin-top: 32px;
}

.seo-section h2 {
  margin-bottom: 12px;
  font-size: 28px;
}

.faq-list details {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

@media (max-width: 880px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .intro-band,
  .product,
  .product.reverse,
  .shipping-band,
  .contact {
    grid-template-columns: 1fr;
  }

  .product.reverse .product-media,
  .product.reverse .product-copy {
    order: initial;
  }

  .process-band {
    grid-template-columns: 1fr;
  }

  .shipping-options {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 16px;
    padding: 16px;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
    gap: 22px;
    font-size: 13px;
    flex-wrap: wrap;
  }

  .hero,
  .collection,
  .intro-band,
  .shipping-band,
  .contact {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    max-width: 320px;
    font-size: 29px;
    line-height: 1.08;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 28px;
  }

  h4 {
    font-size: 21px;
  }

  .hero-text,
  .intro-band p,
  .product-copy p,
  .contact p,
  .process-band p,
  .shipping-band p {
    font-size: 15px;
  }

  .hero-text {
    max-width: 320px;
  }

  .hero-art {
    grid-template-columns: 1fr;
  }

  .hero-art img:last-child {
    margin-bottom: 0;
  }

  .specs {
    grid-template-columns: 1fr;
  }

  .reference-panel {
    padding: 14px;
  }

  .reference-gallery {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
