@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Libre+Baskerville:wght@400;700&display=swap");

:root {
  --cream: #fbf6ec;
  --paper: #fffdf8;
  --sand: #eadbc4;
  --tan: #c79d68;
  --wood: #7a4d2d;
  --brown: #3a271c;
  --charcoal: #24201c;
  --muted: #6d6258;
  --sage: #59624b;
  --line: rgba(58, 39, 28, 0.16);
  --shadow: 0 18px 45px rgba(45, 31, 20, 0.14);
  --radius: 8px;
  --font-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--charcoal);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
html.cms-content-loading [data-cms-shell]:not([data-cms-server-rendered]) {
  opacity: 0;
  pointer-events: none;
}
[data-cms-shell] {
  transition: opacity 160ms ease;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--wood); }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 20;
  background: var(--brown);
  color: white;
  padding: 10px 14px;
  border-radius: 4px;
}
.skip-link:focus { top: 12px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(45, 31, 20, 0.06);
}
.topbar { background: var(--brown); color: var(--cream); font-size: 0.86rem; }
.topbar__inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar a { font-weight: 700; }
.nav { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: fit-content; }
.brand__mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(58, 39, 28, 0.14);
  border-radius: 8px;
  background: #fffdf8 url("../images/afg-logo.svg") center / contain no-repeat;
  color: transparent;
  font-family: var(--font-serif);
  font-size: 0;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 8px 18px rgba(45, 31, 20, 0.12);
  overflow: hidden;
}
.brand__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand__text { font-family: var(--font-serif); font-size: clamp(1.12rem, 2vw, 1.42rem); font-weight: 800; color: var(--brown); line-height: 1.08; }
.nav__links { display: flex; align-items: center; gap: 18px; font-size: 0.9rem; font-weight: 700; }
.nav__links a:not(.btn) {
  position: relative;
  padding: 9px 0;
}
.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}
.nav__links a:not(.btn):hover::after,
.nav__links a[aria-current="page"]::after {
  transform: scaleX(1);
}
.nav__links a[aria-current="page"] { color: var(--wood); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span:not(.sr-only) { display: block; width: 26px; height: 2px; background: var(--brown); margin: 5px 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--brown);
  border-radius: 4px;
  background: var(--brown);
  color: var(--cream);
  font-weight: 750;
  letter-spacing: 0.01em;
  line-height: 1.1;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}
.btn:hover { transform: translateY(-1px); background: var(--wood); color: white; }
.btn--secondary { background: rgba(255,255,255,0.72); color: var(--brown); }
.btn--small { min-height: 40px; padding: 0 15px; font-size: 0.9rem; }
.text-link { display: inline-flex; margin-top: 10px; font-weight: 800; color: var(--wood); border-bottom: 1px solid currentColor; }

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--brown);
}
.hero__media {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(36,25,17,0.82), rgba(36,25,17,0.44), rgba(36,25,17,0.14)),
    url("https://images.unsplash.com/photo-1618220179428-22790b461013?auto=format&fit=crop&w=1800&q=80") center/cover;
}
.hero__content { position: relative; color: white; padding: 132px 0 72px; max-width: 1120px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--wood);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--sand); }
h1, h2, h3 { margin: 0; font-family: var(--font-serif); line-height: 1.14; color: var(--brown); font-weight: 700; letter-spacing: 0; }
.hero h1, .page-hero h1, .cta-band h2 { color: white; }
h1 { font-size: clamp(2.25rem, 5.3vw, 4.85rem); max-width: 900px; }
h2 { font-size: clamp(1.65rem, 2.7vw, 2.65rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.hero__copy, .page-hero p { max-width: 650px; font-size: clamp(1rem, 1.5vw, 1.16rem); color: rgba(255,255,255,0.9); line-height: 1.72; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hero__trust span {
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
}

.quick-contact { background: var(--cream); border-bottom: 1px solid var(--line); }
.quick-contact__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.quick-contact__grid > div { padding: 22px 28px; border-left: 1px solid var(--line); }
.quick-contact__grid > div:last-child { border-right: 1px solid var(--line); }
.label { display: block; color: var(--muted); font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.quick-contact a, .quick-contact span:last-child { font-weight: 800; color: var(--brown); }

.section { padding: 88px 0; }
.section--compact { padding: 48px 0; }
.section--warm { background: var(--cream); }
.section__intro { max-width: 740px; text-align: center; margin-bottom: 38px; }
.section__intro p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.section__intro--left { text-align: left; margin: 0; }
.start-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.start-card {
  display: grid;
  gap: 8px;
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.start-card:hover {
  transform: translateY(-2px);
  border-color: rgba(122, 77, 45, 0.38);
  box-shadow: 0 16px 34px rgba(45, 31, 20, 0.1);
  color: inherit;
}
.start-card strong {
  color: var(--brown);
  font-family: var(--font-serif);
  font-size: 1.26rem;
  line-height: 1.22;
}
.start-card p {
  color: var(--muted);
  margin: 0;
}
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-card {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--brown);
}
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.category-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,14,9,0.72), transparent 62%); }
.category-card span { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; color: white; font-family: var(--font-serif); font-size: 1.28rem; font-weight: 700; line-height: 1.2; }
.category-card:hover img { transform: scale(1.04); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split__image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.split__content p { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 15px; height: 8px; border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg); }

.proof-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 18px; align-items: stretch; }
.proof-card, .testimonial, .value, .contact-panel, .contact-form, .hours-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.proof-card strong, .value strong { display: block; margin-bottom: 10px; color: var(--brown); font-family: var(--font-serif); font-size: 1.22rem; line-height: 1.25; }
.proof-card p, .value p { color: var(--muted); margin: 0; }
.proof-card--large { align-self: start; }

.feature-row { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: start; }
.hours-card { box-shadow: var(--shadow); }
.hours-card h2, .hours-card h3 { margin-bottom: 16px; }
.hours-list { margin: 0; }
.hours-list div { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours-list div:last-child { border-bottom: 0; }
.hours-list dt { font-weight: 800; }
.hours-list dd { margin: 0; color: var(--muted); text-align: right; }
.fine-print { color: var(--muted); font-size: 0.9rem; margin: 14px 0 0; }

.cta-band { background: var(--brown); color: white; padding: 52px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { max-width: 720px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

.page-hero {
  position: relative;
  min-height: 440px;
  display: grid;
  align-items: end;
  background: var(--brown);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(36,25,17,0.82), rgba(36,25,17,0.5)),
    var(--hero-image) center/cover;
}
.page-hero__content { position: relative; color: white; padding: 90px 0 64px; }
.page-hero--products { --hero-image: url("https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?auto=format&fit=crop&w=1600&q=80"); }
.page-hero--products {
  min-height: 610px;
  align-items: center;
}
.page-hero--products::before {
  background: linear-gradient(90deg, rgba(251, 246, 236, 0.94), rgba(251, 246, 236, 0.72) 38%, rgba(251, 246, 236, 0.08) 68%),
    var(--hero-image) center/cover;
}
.page-hero--products .page-hero__content {
  padding: 92px 0;
}
.page-hero--products .eyebrow { color: var(--sage); }
.page-hero--products h1 {
  color: var(--brown);
  max-width: 650px;
  font-size: clamp(2.7rem, 6vw, 5.25rem);
}
.page-hero--products p:not(.eyebrow) {
  color: var(--charcoal);
  max-width: 540px;
}
.page-hero--about { --hero-image: url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1600&q=80"); }
.page-hero--gallery { --hero-image: url("https://images.unsplash.com/photo-1600210491892-03d54c0aaf87?auto=format&fit=crop&w=1600&q=80"); }
.page-hero--reviews { --hero-image: url("https://images.unsplash.com/photo-1567016376408-0226e4d0c1ea?auto=format&fit=crop&w=1600&q=80"); }
.page-hero--faq { --hero-image: url("https://images.unsplash.com/photo-1555041469-a586c61ea9bc?auto=format&fit=crop&w=1600&q=80"); }
.page-hero--contact { --hero-image: url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=1600&q=80"); }

.product-list { display: grid; gap: 22px; }
.product-item {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 28px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}
.product-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.product-item p { color: var(--muted); }
.category-shop-section {
  padding: 54px 0 70px;
  background: var(--paper);
}
.catalog-kicker {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
  text-align: center;
}
.catalog-kicker {
  display: block;
}
.catalog-kicker h2 {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.catalog-kicker .eyebrow { margin-bottom: 6px; }
.shop-category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.shop-category {
  display: grid;
  gap: 8px;
  text-align: center;
}
.shop-category img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  border-radius: 2px;
  background: var(--sand);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.shop-category:hover img {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(45, 31, 20, 0.12);
}
.shop-category span {
  color: var(--brown);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.shop-category small {
  color: var(--muted);
  font-size: 0.82rem;
}
.catalog-section { background: linear-gradient(180deg, #f7f1e7, var(--paper)); padding-top: 72px; }
.catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}
.catalog-heading > div { max-width: 760px; }
.catalog-heading p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.catalog-heading .btn { flex: 0 0 auto; }
.catalog-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding: 10px;
  border: 1px solid rgba(58, 39, 28, 0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.62);
}
.catalog-view-tabs {
  display: flex;
  flex: 0 0 auto;
  gap: 4px;
  padding: 4px;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}
.catalog-view-tab {
  border: 0;
  border-radius: 6px;
  padding: 10px 18px;
  background: transparent;
  color: var(--brown);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}
.catalog-view-tab:hover,
.catalog-view-tab.is-active {
  background: var(--brown);
  color: var(--cream);
}
.catalog-filters {
  display: flex;
  flex: 1 1 auto;
  gap: 10px;
  overflow-x: auto;
  min-width: 0;
  margin: 0;
  padding: 2px 2px 2px 14px;
  border-left: 1px solid var(--line);
  scrollbar-width: thin;
}
.catalog-filter {
  flex: 0 0 auto;
  border: 1px solid rgba(58, 39, 28, 0.14);
  background: var(--paper);
  color: var(--brown);
  border-radius: 8px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 1px 0 rgba(58, 39, 28, 0.05);
  text-decoration: none;
}
.catalog-filter:hover, .catalog-filter.is-active {
  border-color: var(--brown);
  background: var(--brown);
  color: var(--cream);
}
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.catalog-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid rgba(58, 39, 28, 0.12);
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.catalog-card[hidden] { display: none; }
.catalog-grid[hidden] { display: none; }
.catalog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(45, 31, 20, 0.12);
}
.catalog-card > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--sand);
}
.catalog-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}
.catalog-card__category {
  color: var(--sage);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.catalog-card h2 {
  margin-top: 8px;
  font-size: clamp(1.2rem, 1.6vw, 1.44rem);
  line-height: 1.22;
}
.catalog-card h2 a {
  color: inherit;
  text-decoration: none;
}
.collection-card {
  border-color: rgba(122, 77, 45, 0.24);
}
.collection-card__pieces {
  display: grid;
  gap: 7px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.collection-card__pieces a,
.collection-card__pieces span {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.35;
}
.collection-card__pieces a {
  color: var(--wood);
  font-weight: 800;
}
.catalog-card h2 a:hover {
  color: var(--wood);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.catalog-card__meta {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}
.catalog-card p {
  color: var(--muted);
  margin-top: 10px;
  font-size: 0.96rem;
  line-height: 1.62;
}
.catalog-card dl {
  margin: 8px 0 0;
  border-top: 1px solid var(--line);
}
.catalog-card dl div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.catalog-card dt {
  color: var(--brown);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.catalog-card dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}
.catalog-card .text-link { margin-top: auto; padding-top: 16px; align-self: flex-start; }
.empty-catalog {
  grid-column: 1 / -1;
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid var(--line);
  background: var(--paper);
  text-align: center;
}
.empty-catalog h2 {
  max-width: 640px;
  margin: 0 auto;
}
.empty-catalog p:not(.eyebrow) {
  max-width: 620px;
  margin: 14px auto 24px;
  color: var(--muted);
}
.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}
.catalog-pagination p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
}
.catalog-pagination__links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.catalog-pagination__links a,
.catalog-pagination__links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid rgba(58, 39, 28, 0.14);
  border-radius: 8px;
  background: var(--paper);
  color: var(--brown);
  font-weight: 900;
  text-decoration: none;
}
.catalog-pagination__links a:hover,
.catalog-pagination__links a[aria-current="page"] {
  border-color: var(--brown);
  background: var(--brown);
  color: var(--cream);
}
.catalog-pagination__links span {
  color: var(--muted);
  opacity: 0.62;
}
.catalog-promos {
  background: var(--paper);
  padding-top: 24px;
}
.promo-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
  align-items: stretch;
}
.promo-panel {
  min-height: 330px;
  border: 1px solid var(--line);
  background: var(--cream);
  overflow: hidden;
}
.promo-panel--text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 52px);
}
.promo-panel--text h2 {
  max-width: 420px;
}
.promo-panel--text p:not(.eyebrow) {
  max-width: 500px;
  color: var(--muted);
}
.promo-panel--image img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-strip div {
  padding: 22px 20px;
  border-right: 1px solid var(--line);
}
.trust-strip div:last-child { border-right: 0; }
.trust-strip strong {
  display: block;
  color: var(--brown);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.trust-strip span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}
.product-detail {
  padding: 30px 0 76px;
  background: var(--paper);
}
.product-page--loading .product-detail {
  min-height: calc(100vh - 150px);
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.86rem;
}
.breadcrumbs a { color: var(--brown); font-weight: 700; }
.product-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  gap: 44px;
  align-items: start;
}
.product-gallery__main {
  position: relative;
  min-height: 420px;
  background: var(--cream);
  border: 1px solid var(--line);
  overflow: hidden;
}
.product-gallery__main img {
  display: block;
  width: 100%;
  aspect-ratio: 1.08 / 1;
  object-fit: cover;
}
.product-gallery__main img:not([src]) {
  visibility: hidden;
}
.product-gallery__main:has(img:not([src]))::before,
.product-page--loading .product-gallery__main::before,
.option-swatches--pending .option-swatch--placeholder > span,
.option-swatches--pending .option-swatch--placeholder em,
.related-products--pending .related-card--placeholder::before,
.related-products--pending .related-card--placeholder span,
.related-products--pending .related-card--placeholder small {
  background: linear-gradient(100deg, rgba(246,239,228,0.72), rgba(255,255,255,0.92), rgba(226,211,190,0.62));
  background-size: 220% 100%;
  animation: loading-sheen 1.25s ease-in-out infinite;
}
.product-gallery__main:has(img:not([src]))::before,
.product-page--loading .product-gallery__main::before {
  content: "";
  position: absolute;
  inset: 0;
}
.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.product-gallery__thumbs button {
  padding: 0;
  border: 2px solid transparent;
  background: var(--cream);
  cursor: pointer;
}
.product-gallery__thumbs button.is-active {
  border-color: var(--wood);
}
.product-gallery__thumbs img {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
}
.product-summary {
  position: sticky;
  top: 122px;
  padding-top: 4px;
}
.product-badge {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 10px;
  background: var(--sand);
  color: var(--brown);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.product-summary .eyebrow { color: var(--sage); }
.product-summary h1 {
  max-width: 520px;
  color: var(--brown);
  font-size: clamp(2.15rem, 4vw, 3.55rem);
}
.product-summary__meta {
  margin: 14px 0 18px;
  color: var(--wood);
  font-size: 1.05rem;
  font-weight: 800;
}
.product-options {
  display: grid;
  gap: 18px;
  margin: 24px 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.product-options--wide {
  width: 100vw;
  max-width: none;
  margin-top: 42px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 30px max(20px, calc((100vw - 1120px) / 2));
}
.option-row {
  display: grid;
  gap: 12px;
}
.option-row__heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.option-row__heading strong {
  color: var(--brown);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.option-row__heading span {
  color: var(--muted);
  font-size: 0.82rem;
}
.option-swatches {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 14px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.option-swatch {
  position: relative;
  display: inline-grid;
  grid-template-rows: 64px auto;
  align-items: center;
  justify-items: center;
  gap: 8px;
  width: 92px;
  flex: 0 0 92px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--charcoal);
  font: inherit;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  scroll-snap-align: start;
}
button.option-swatch { cursor: pointer; }
.option-swatch > span {
  width: 64px;
  height: 64px;
  border: 2px solid rgba(58, 39, 28, 0.2);
  border-radius: 50%;
  background: var(--swatch-color);
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 0 4px rgba(255,255,255,0.42);
  transition: border-color 160ms ease, transform 160ms ease;
}
.option-swatch:hover > span {
  border-color: var(--wood);
  transform: translateY(-1px);
}
.option-swatch.is-active > span {
  border-color: var(--brown);
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 7px var(--wood), inset 0 0 0 4px rgba(255,255,255,0.36);
  transform: translateY(-1px);
}
.option-swatch.is-active::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 12px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--brown);
  box-shadow: 0 0 0 2px var(--paper);
}
.option-swatch.is-active::before {
  content: "";
  position: absolute;
  top: 8px;
  right: 18px;
  z-index: 1;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--cream);
  border-bottom: 2px solid var(--cream);
  transform: rotate(-45deg);
}
.option-swatch em {
  font-style: normal;
  max-width: 90px;
}
.option-swatch--placeholder {
  pointer-events: none;
}
.option-swatch--placeholder > span,
.option-swatch--placeholder em {
  border-color: transparent;
}
.option-swatch--placeholder em {
  width: 76px;
  height: 12px;
  border-radius: 999px;
}
.option-swatch.is-active em {
  color: var(--brown);
  font-weight: 900;
}
.product-summary p:not(.eyebrow):not(.product-summary__meta) {
  color: var(--muted);
  line-height: 1.72;
}
.product-specs {
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
}
.product-specs div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.product-specs dt {
  color: var(--brown);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.product-specs dd {
  margin: 0;
  color: var(--muted);
}
.product-actions {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}
.product-service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.product-service-grid strong {
  display: block;
  color: var(--brown);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.product-service-grid span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.9rem;
}
.product-info-section {
  padding-top: 62px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.product-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0.82fr;
  gap: 64px;
}
.product-info-grid p:not(.eyebrow) { color: var(--muted); }
.dimension-panel {
  padding: 34px;
  border-left: 1px solid var(--line);
  background: var(--cream);
}
.dimension-panel h3 { margin-bottom: 12px; }
.related-section { padding-top: 42px; background: var(--paper); }
.related-products {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
.related-card {
  display: grid;
  gap: 8px;
}
.related-card--placeholder {
  pointer-events: none;
}
.related-card--placeholder::before {
  content: "";
  display: block;
  aspect-ratio: 1 / 0.82;
}
.related-card--placeholder span,
.related-card--placeholder small {
  display: block;
  height: 13px;
  border-radius: 999px;
}
.related-card--placeholder span {
  width: 82%;
}
.related-card--placeholder small {
  width: 54%;
}
.related-card img {
  width: 100%;
  aspect-ratio: 1 / 0.82;
  object-fit: cover;
  background: var(--cream);
}
.related-card span {
  color: var(--brown);
  font-weight: 800;
  line-height: 1.3;
}
.related-card small {
  color: var(--muted);
}
@keyframes loading-sheen {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .product-gallery__main:has(img:not([src]))::before,
  .product-page--loading .product-gallery__main::before,
  .option-swatches--pending .option-swatch--placeholder > span,
  .option-swatches--pending .option-swatch--placeholder em,
  .related-products--pending .related-card--placeholder::before,
  .related-products--pending .related-card--placeholder span,
  .related-products--pending .related-card--placeholder small {
    animation: none;
  }
}
.process { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 44px; align-items: start; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.steps li { counter-increment: step; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 18px; border-radius: 50%; background: var(--sage); color: white; font-weight: 800; }
.steps strong { display: block; margin-bottom: 8px; font-family: var(--font-serif); font-size: 1.16rem; line-height: 1.25; color: var(--brown); }
.steps span { color: var(--muted); }

.about-team {
  background: linear-gradient(180deg, var(--paper), var(--cream));
}
.about-team__heading {
  max-width: 760px;
  margin-bottom: 34px;
}
.about-team__heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.06rem;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.team-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 14px 32px rgba(45, 31, 20, 0.08);
}
.team-card img {
  width: 100%;
  aspect-ratio: 4 / 4.35;
  object-fit: cover;
  background: var(--sand);
}
.team-card__info {
  margin: 12px;
  padding: 16px;
  border: 1px solid rgba(58, 39, 28, 0.12);
  border-radius: 6px;
  background: rgba(251, 246, 236, 0.72);
}
.team-card__info strong {
  display: block;
  color: var(--brown);
  font-family: var(--font-serif);
  font-size: 1.16rem;
  line-height: 1.2;
}
.team-card__info span {
  display: block;
  margin-top: 3px;
  color: var(--sage);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.team-card__info p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.about-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
}
.about-story__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-story__content p:not(.eyebrow) {
  color: var(--muted);
}
.about-story__content .check-list {
  margin-top: 22px;
}

.values-grid { display: grid; grid-template-columns: 1fr repeat(3, 1fr); gap: 18px; }
.masonry { columns: 3 280px; column-gap: 18px; }
.masonry figure { break-inside: avoid; margin: 0 0 18px; border-radius: var(--radius); overflow: hidden; background: var(--cream); border: 1px solid var(--line); }
.masonry img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.masonry figure:nth-child(2n) img { aspect-ratio: 3 / 4; }
.masonry figcaption { padding: 14px 16px; font-weight: 750; color: var(--brown); line-height: 1.35; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testimonial { box-shadow: var(--shadow); }
.testimonial p { font-family: var(--font-serif); font-size: 1.18rem; line-height: 1.48; color: var(--brown); }
.testimonial span { color: var(--muted); font-weight: 750; }
.testimonial__source { color: var(--muted); font-weight: 750; text-decoration: none; }
.testimonial__source:hover { color: var(--brown); text-decoration: underline; }
.stars { color: #9f6a2d; letter-spacing: 0.08em; margin-bottom: 14px; }
.faq-list { max-width: 860px; display: grid; gap: 12px; }
details { border: 1px solid var(--line); border-radius: var(--radius); background: white; padding: 18px 22px; }
summary { cursor: pointer; font-weight: 850; color: var(--brown); font-size: 1.08rem; }
details p { color: var(--muted); margin: 14px 0 0; }

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 22px; align-items: start; }
.contact-panel p { color: var(--muted); }
.contact-panel strong { color: var(--brown); }
.contact-form { display: grid; gap: 10px; grid-row: span 2; }
.contact-form label { font-weight: 800; color: var(--brown); }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 13px;
  font: inherit;
  background: white;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid rgba(199, 157, 104, 0.35); border-color: var(--wood); }
.map-band iframe { display: block; width: 100%; height: 420px; border: 0; filter: sepia(0.14) saturate(0.82); }

.footer { background: #201711; color: rgba(255,255,255,0.78); padding: 54px 0 22px; }
.footer:empty { display: none; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 0.8fr; gap: 46px; }
.brand--footer .brand__text { color: white; }
.brand--footer .brand__mark {
  border-color: rgba(255,255,255,0.2);
  background-color: #fffdf8;
  color: transparent;
}
.footer h2 { color: white; font-size: 1.15rem; margin-bottom: 14px; }
.footer a { display: block; margin: 8px 0; color: rgba(255,255,255,0.86); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 36px; padding-top: 18px; display: flex; justify-content: space-between; gap: 16px; font-size: 0.88rem; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav__links {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 20px 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 0; }
  .nav__links .btn { margin-top: 8px; }
  .hero { min-height: 620px; }
  .quick-contact__grid, .category-grid, .proof-grid, .values-grid, .testimonials-grid, .catalog-grid, .shop-category-grid, .trust-strip, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .start-grid { grid-template-columns: 1fr; }
  .split, .feature-row, .process, .contact-grid, .promo-grid, .product-detail__grid, .product-info-grid, .about-story__grid { grid-template-columns: 1fr; }
  .product-item { grid-template-columns: 1fr; }
  .product-summary { position: static; }
  .related-products { grid-template-columns: repeat(3, 1fr); }
  .catalog-heading { align-items: stretch; flex-direction: column; }
  .catalog-heading .btn { width: fit-content; }
  .catalog-controls { align-items: stretch; flex-direction: column; }
  .catalog-view-tabs { width: fit-content; }
  .catalog-filters {
    width: 100%;
    padding: 2px 2px 4px;
    border-left: 0;
  }
  .page-hero--products::before {
    background: linear-gradient(90deg, rgba(251, 246, 236, 0.94), rgba(251, 246, 236, 0.74)),
      var(--hero-image) center/cover;
  }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1120px); }
  .topbar__inner { flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 0; }
  .brand { gap: 10px; }
  .brand__mark { width: 52px; height: 52px; }
  .brand__text { max-width: 174px; font-size: 1.02rem; }
  .hero { min-height: 650px; }
  .hero__content, .page-hero__content { padding-bottom: 44px; }
  .hero__actions, .cta-band__actions { width: 100%; }
  .btn { width: 100%; }
  .quick-contact__grid, .category-grid, .proof-grid, .values-grid, .testimonials-grid, .steps, .catalog-grid, .shop-category-grid, .trust-strip, .related-products, .team-grid { grid-template-columns: 1fr; }
  .quick-contact__grid > div { border-right: 1px solid var(--line); }
  .section { padding: 62px 0; }
  .section--compact { padding: 34px 0; }
  .start-card { padding: 22px; }
  .category-card { min-height: 240px; }
  .page-hero--products { min-height: 570px; }
  .page-hero--products .page-hero__content { padding: 70px 0; }
  .shop-category-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .shop-category small { display: none; }
  .catalog-heading .btn { width: 100%; }
  .catalog-controls { padding: 8px; }
  .catalog-view-tabs { width: 100%; }
  .catalog-view-tab { flex: 1 1 0; padding-inline: 10px; }
  .catalog-pagination { align-items: stretch; flex-direction: column; }
  .catalog-pagination__links { justify-content: flex-start; }
  .catalog-card__body { padding: 18px; }
  .catalog-card dl div { grid-template-columns: 1fr; gap: 2px; }
  .promo-panel { min-height: auto; }
  .product-detail { padding-top: 20px; }
  .product-gallery__thumbs { grid-template-columns: repeat(3, 1fr); }
  .product-options--wide { padding-left: 14px; padding-right: 14px; }
  .option-row__heading { flex-direction: column; gap: 2px; }
  .product-specs div { grid-template-columns: 1fr; gap: 4px; }
  .dimension-panel { border-left: 0; padding: 24px; }
  .trust-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-strip div:last-child { border-bottom: 0; }
  .cta-band__inner { flex-direction: column; align-items: stretch; }
  .footer__grid, .footer__bottom { grid-template-columns: 1fr; flex-direction: column; }
}
