* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --ink: #30231f;
  --muted: #786b64;
  --paper: #f7f2ea;
  --surface: #fffdf9;
  --line: #e6ddd1;
  --accent: #8c3e35;
  --accent-dark: #682d27;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px dashed var(--accent);
  outline-offset: 4px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(22px, 6.5vw, 100px);
}

.site-header {
  border-bottom: 1px solid rgba(48, 35, 31, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 22px;
}

.brand-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand-name span {
  color: var(--accent);
  font-weight: 500;
}

.header-link,
.text-link {
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.header-link span {
  margin-left: 9px;
  color: var(--accent);
}

.intro {
  position: relative;
  min-height: 440px;
  padding: 82px clamp(22px, 12vw, 180px) 92px;
  overflow: hidden;
  background: var(--paper);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow-line {
  display: inline-block;
  width: 26px;
  height: 1px;
  margin: 0 8px 3px 0;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-bottom: 17px;
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

h1 em {
  color: var(--accent);
  font-weight: 500;
}

.intro-copy {
  position: relative;
  z-index: 1;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.text-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--accent);
  color: var(--accent-dark);
}

.text-link span {
  font-size: 16px;
}

.intro-art {
  position: absolute;
  top: 38px;
  right: clamp(14px, 11vw, 170px);
  width: 210px;
  height: 300px;
  border: 1px solid rgba(140, 62, 53, 0.18);
  border-radius: 110px 110px 0 0;
  transform: rotate(7deg);
}

.art-sun {
  position: absolute;
  top: 38px;
  left: 50%;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(140, 62, 53, 0.35);
  border-radius: 50%;
  transform: translateX(-50%);
}

.art-line {
  position: absolute;
  left: 50%;
  width: 1px;
  height: 210px;
  background: rgba(140, 62, 53, 0.25);
  transform-origin: top;
}

.art-line-one {
  top: 83px;
  transform: rotate(31deg);
}

.art-line-two {
  top: 82px;
  transform: rotate(-31deg);
}

.art-line-three {
  top: 126px;
  height: 170px;
}

.art-caption {
  position: absolute;
  bottom: 13px;
  left: 0;
  width: 100%;
  color: rgba(140, 62, 53, 0.65);
  font-size: 7px;
  letter-spacing: 0.2em;
  text-align: center;
}

.collection {
  padding: 70px clamp(22px, 8vw, 120px) 100px;
  background: var(--surface);
}

.collection-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.collection-heading .eyebrow {
  margin-bottom: 8px;
}

h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.collection-count {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 30px;
}

.category-filter {
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.category-filter:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.category-filter[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--surface);
}

.category-filter:focus-visible {
  outline: 2px dashed var(--accent);
  outline-offset: 3px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px 22px;
}

.product-card {
  min-width: 0;
}

.product-image-wrap {
  position: relative;
  overflow: hidden;
  background: #eee5db;
  aspect-ratio: 0.79;
}

.product-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(0.2, 0.7, 0.25, 1);
}

.product-card:hover .product-image {
  transform: scale(1.035);
}

.product-image-link {
  display: block;
  height: 100%;
}

.product-image-link:focus-visible {
  outline: 2px dashed var(--accent);
  outline-offset: -5px;
}

.product-title a {
  text-decoration: none;
}

.product-title a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.product-title a:focus-visible {
  outline-offset: 3px;
}

.product-category {
  position: absolute;
  top: 13px;
  left: 13px;
  padding: 7px 10px;
  background: rgba(255, 253, 249, 0.91);
  color: var(--accent-dark);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.product-details {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 1px 0;
}

.product-title {
  display: -webkit-box;
  height: 2.6em;
  overflow: hidden;
  margin: 0 0 5px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-description {
  display: -webkit-box;
  max-width: 36ch;
  height: 4.8em;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-price {
  flex: 0 0 auto;
  margin: 3px 0 0;
  font-size: 13px;
  font-weight: 700;
}

.product-enquiry {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  gap: 11px;
  margin-top: 12px;
  padding: 0 16px;
  border: 1px solid #2f8f59;
  background: #fffdf9;
  color: #246b42;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.product-enquiry svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: currentColor;
}

.product-enquiry:hover {
  border-color: #246b42;
  background: #edf7f0;
  color: #1d5b38;
}

.product-enquiry:focus-visible {
  outline-offset: 4px;
}

.enquiry-unavailable {
  color: var(--muted);
  font-size: 11px;
}

.product-page {
  min-height: calc(100vh - 160px);
  padding: 32px clamp(22px, 8vw, 120px) 88px;
  background: var(--surface);
}

.detail-back-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-bottom: 24px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.detail-back-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.product-detail {
  display: grid;
  max-width: 1180px;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: clamp(40px, 8vw, 110px);
  margin: 0 auto;
}

.detail-image-frame {
  overflow: hidden;
  background: #eee5db;
  aspect-ratio: 0.88;
}

.detail-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.detail-thumbnail {
  width: 68px;
  height: 78px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.detail-thumbnail[aria-pressed="true"] {
  border: 2px solid var(--accent);
}

.detail-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-thumbnail:focus-visible {
  outline: 2px dashed var(--accent);
  outline-offset: 3px;
}

.detail-copy {
  padding: 20px 0;
}

.detail-copy .eyebrow {
  margin-bottom: 14px;
}

.detail-copy h1 {
  margin-bottom: 12px;
  font-size: clamp(36px, 4.2vw, 56px);
}

.detail-type {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.03em;
}

.detail-price {
  margin: 0 0 20px;
  font-size: 19px;
  font-weight: 700;
}

.detail-description {
  max-width: 54ch;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.detail-facts {
  display: grid;
  grid-template-columns: minmax(100px, 0.35fr) 1fr;
  gap: 10px 18px;
  margin: 0 0 28px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.detail-facts dt {
  color: var(--muted);
}

.detail-facts dd {
  margin: 0;
  font-weight: 600;
}

.detail-enquiry-link {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  gap: 11px;
  padding: 0 20px;
  border: 1px solid #2f8f59;
  background: #fffdf9;
  color: #246b42;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.detail-enquiry-link svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: currentColor;
}

.detail-enquiry-link:hover {
  border-color: #246b42;
  background: #edf7f0;
  color: #1d5b38;
}

.detail-enquiry-link:focus-visible {
  outline-offset: 4px;
}

.detail-error {
  max-width: 540px;
  margin: 90px auto;
  text-align: center;
}

.detail-error h1 {
  margin: 0 auto 12px;
  font-size: clamp(34px, 5vw, 52px);
}

.detail-error p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.empty-state,
.error-state {
  padding: 68px 22px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.empty-ornament {
  display: block;
  margin-bottom: 15px;
  color: var(--accent);
  font-size: 30px;
}

.empty-state h3,
.error-state h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
}

.empty-state p,
.error-state p {
  max-width: 430px;
  margin: 0 auto 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.empty-state code,
.error-state code {
  color: var(--accent-dark);
}

.empty-hint {
  font-size: 11px !important;
}

.site-footer {
  gap: 22px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
}

[hidden] {
  display: none !important;
}

@media (max-width: 760px) {
  .intro {
    min-height: 390px;
    padding-top: 68px;
  }

  .intro-art {
    top: 84px;
    right: -76px;
    opacity: 0.55;
    transform: scale(0.78) rotate(7deg);
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .detail-image-frame {
    max-height: 680px;
  }

  .detail-copy {
    padding: 0;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 16px;
  }

  .product-details {
    display: block;
  }

  .product-details > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .product-title {
    width: 100%;
  }

  .product-description {
    width: 100%;
  }

  .product-enquiry {
    margin-top: 12px;
  }

  .product-price {
    margin-top: 8px;
  }
}

@media (max-width: 480px) {
  .site-header,
  .site-footer {
    padding: 16px 20px;
  }

  .header-link {
    max-width: 115px;
    font-size: 10px;
    line-height: 1.5;
    text-align: right;
  }

  .intro {
    min-height: 370px;
    padding: 60px 22px 66px;
  }

  h1 {
    font-size: clamp(42px, 12vw, 56px);
  }

  .intro-copy {
    max-width: 250px;
  }

  .intro-art {
    top: 94px;
    right: -125px;
    opacity: 0.32;
  }

  .collection {
    padding: 54px 20px 70px;
  }

  .product-page {
    padding: 24px 20px 64px;
  }

  .detail-back-link {
    margin-bottom: 16px;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .detail-image-frame {
    aspect-ratio: 0.9;
  }

  .detail-copy {
    padding: 0;
  }

  .detail-copy h1 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .detail-error {
    margin: 64px auto;
  }

  .collection-heading {
    align-items: start;
  }

  .collection-count {
    margin-top: 25px;
    font-size: 9px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .product-image-wrap {
    aspect-ratio: 0.9;
  }

  .product-details {
    display: flex;
  }

  .site-footer {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
