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

:root {
  --ink: #2f2a28;
  --espresso: #5f4741;
  --copper: #a8674d;
  --copper-dark: #7b4638;
  --mauve: #9f7070;
  --rose: #d6a7a1;
  --rose-soft: #fbefec;
  --pearl: #ffffff;
  --porcelain: #f8f6f3;
  --champagne: #ecd8b8;
  --gold: #bd8e38;
  --gold-soft: #e0bb70;
  --muted: #716966;
  --line: rgba(47, 42, 40, 0.12);
  --accent-line: rgba(168, 103, 77, 0.22);
  --shadow: 0 14px 34px rgba(47, 42, 40, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 24px rgba(47, 42, 40, 0.05);
}

.nav-shell,
.section-inner,
.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(199, 154, 69, 0.55);
  border-radius: 50%;
  object-fit: cover;
}

.brand-mark {
  display: block;
  color: var(--copper-dark);
  font-family: inherit;
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1;
}

.brand-sub {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.3;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links a {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--muted);
  font-size: 0.94rem;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: var(--accent-line);
  background: var(--rose-soft);
  color: var(--copper-dark);
}

.hero {
  background: #fff;
  color: var(--ink);
  overflow: hidden;
}

.intro-banner {
  position: relative;
  margin-bottom: clamp(64px, 8vw, 120px);
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 9% 44%, rgba(195, 139, 122, 0.42), transparent 31%),
    radial-gradient(circle at 91% 55%, rgba(196, 152, 83, 0.28), transparent 33%),
    linear-gradient(90deg, #efe1da 0%, #f8f3ef 18%, #f7f0eb 50%, #f2e3d8 82%, #e9d2c6 100%);
}

.intro-banner img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2066 / 761;
  object-fit: contain;
  object-position: center;
}

.intro-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(132, 82, 68, 0.2), transparent 21%, transparent 79%, rgba(181, 128, 92, 0.24)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 38%, rgba(255, 255, 255, 0.18));
  pointer-events: none;
}

.intro-banner::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(90deg, rgba(55, 42, 37, .3), rgba(55, 42, 37, .035) 56%, transparent);
  pointer-events: none;
}

.intro-banner-copy {
  position: absolute;
  z-index: 1;
  left: max(24px, calc((100% - 1180px) / 2));
  bottom: clamp(24px, 5vw, 58px);
  max-width: 360px;
  color: #fff;
}

.intro-banner-copy .eyebrow {
  margin-bottom: 8px;
  color: #f5d2aa;
}

.intro-banner-copy p:last-child {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.8vw, 2.35rem);
  line-height: 1.1;
  text-wrap: balance;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 56px;
  align-items: center;
  min-height: 0;
  padding: 0 0 54px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1,
h2,
.serif {
  font-family: inherit;
  font-weight: 700;
}

h1 {
  margin-bottom: 20px;
  max-width: 720px;
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 700;
  overflow-wrap: break-word;
}

.hero-copy {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.13rem;
  font-weight: 500;
}

.hero-actions,
.section-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(189, 142, 56, 0.92);
  border-radius: 999px;
  padding: 10px 18px;
  background: linear-gradient(135deg, #bd8e38, #e0bb70);
  color: #3f2926;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #d8aa55, #f0cf8a);
  border-color: var(--gold-soft);
}

.button.secondary {
  background: transparent;
  color: var(--copper-dark);
  border-color: var(--accent-line);
}

.button.secondary:hover {
  background: var(--rose-soft);
}

.info-panel .button.secondary {
  color: var(--copper-dark);
  border-color: var(--accent-line);
}

.info-panel .button.secondary:hover {
  background: var(--rose-soft);
}

.button.dark {
  background: linear-gradient(135deg, var(--copper-dark), var(--copper));
  border-color: transparent;
  color: var(--pearl);
}

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

.hero-media {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.logo-medallion {
  position: relative;
  overflow: hidden;
  width: min(78%, 320px);
  margin: 0 auto;
  border: 1px solid rgba(189, 142, 56, 0.42);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
}

.logo-medallion::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 248, 241, 0.45);
  border-radius: 50%;
}

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

.hero-note {
  width: min(360px, 100%);
  margin: 0 auto;
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-note strong {
  display: block;
  color: var(--copper-dark);
  font-size: 1rem;
}

.hero-note span {
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: 82px 0;
}

.featured-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: 0;
  padding-bottom: 0;
}

.section.tint {
  background: #faf9f7;
}

.section.dark {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.featured-section .section-inner {
  padding: 38px 0 46px;
}

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

.section-heading h2 {
  margin-bottom: 0;
  max-width: 620px;
  font-size: 2.75rem;
  line-height: 1.12;
}

.section-heading p {
  max-width: 480px;
  margin-bottom: 0;
  color: var(--muted);
}

.dark .section-heading p {
  color: var(--muted);
}

.feature-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.product-card.is-clickable {
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card.is-clickable:hover {
  transform: translateY(-2px);
  border-color: var(--accent-line);
  box-shadow: 0 18px 42px rgba(47, 42, 40, 0.12);
}

.product-card.is-clickable:focus {
  outline: 3px solid rgba(200, 150, 79, 0.35);
  outline-offset: 3px;
}

.product-media {
  position: relative;
}

.product-card [data-card-image] {
  flex-shrink: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--porcelain);
}

.product-thumbs {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  gap: 6px;
  justify-content: center;
  pointer-events: none;
}

.product-thumb {
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 14px rgba(47, 42, 40, 0.16);
  cursor: pointer;
  pointer-events: auto;
}

.product-thumb.is-active {
  border-color: var(--gold);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.product-type {
  display: block;
  margin-bottom: 8px;
  color: var(--copper-dark);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.product-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.product-card .button {
  width: 100%;
  margin-top: 16px;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: 46px;
  align-items: center;
}

.product-grid { grid-auto-rows: 1fr; }
.product-footer { margin-top: auto; padding-top: 20px; }
.product-price { display: block; font-size: 1.18rem; color: var(--ink); font-weight: 700; }
.product-price.is-pending { font-size: 0.95rem; color: var(--muted); font-weight: 500; }
.product-price-note { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 3px; }
.product-material { margin-top: 10px; font-size: 0.82rem; color: var(--muted); }
.catalog-message { grid-column: 1 / -1; padding: 28px 0; }
.contact-list a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
[id] { scroll-margin-top: 96px; }

.has-product-dialog {
  overflow: hidden;
}

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

.product-dialog {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 22px;
}

.product-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(47, 42, 40, 0.46);
  backdrop-filter: blur(5px);
}

.product-dialog-panel {
  position: relative;
  width: min(1040px, 100%);
  max-height: min(86vh, 820px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(47, 42, 40, 0.28);
}

.product-dialog-close {
  position: sticky;
  top: 14px;
  z-index: 3;
  float: right;
  width: 42px;
  height: 42px;
  margin: 14px 14px 0 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--copper-dark);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(47, 42, 40, 0.1);
}

.product-dialog-content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 30px;
  padding: 28px;
}

.product-dialog-gallery {
  min-width: 0;
}

.product-dialog-image {
  width: 100%;
  max-height: 640px;
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--porcelain);
}

.product-dialog-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.product-dialog-info {
  min-width: 0;
  padding: 10px 0;
}

.product-dialog-info h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.15;
}

.product-dialog-info p {
  color: var(--muted);
}

.product-dialog-detail {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 13px 0;
}

.product-dialog-detail strong {
  color: var(--copper-dark);
}

.product-dialog-detail span {
  color: var(--muted);
}

.product-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.story-photo {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.story-photo img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.text-stack {
  display: grid;
  gap: 18px;
}

.text-block {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.text-block h3 {
  margin-bottom: 6px;
  color: var(--copper-dark);
  font-size: 1.08rem;
}

.text-block p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 36px;
  align-items: stretch;
}

.contact-panel,
.info-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-panel h2,
.info-panel h2 {
  margin-bottom: 12px;
  font-size: 2.3rem;
  line-height: 1.15;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.contact-list span {
  color: var(--muted);
  font-size: 0.94rem;
}

.contact-list strong {
  font-weight: 700;
}

.info-panel {
  border-color: var(--accent-line);
  background: #fbf1ee;
  color: var(--ink);
}

.info-panel p {
  color: var(--muted);
}

.page-intro {
  background: #fff;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.page-intro .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.54fr);
  gap: 46px;
  align-items: end;
  padding: 78px 0 54px;
}

.page-intro h1 {
  margin-bottom: 18px;
  font-size: 3.55rem;
}

.page-intro p {
  max-width: 680px;
  color: var(--muted);
}

.intro-mini {
  border-left: 2px solid var(--champagne);
  padding-left: 22px;
}

.intro-mini strong {
  display: block;
  color: var(--copper-dark);
  font-size: 1.04rem;
}

.intro-mini span {
  color: var(--muted);
}

.catalog-shell {
  padding: 44px 0 86px;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--copper);
  background: var(--copper-dark);
  color: var(--pearl);
}

.catalog-count {
  color: var(--muted);
  font-weight: 700;
}

.catalog-contact {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  padding-top: 42px;
}

.inquiry-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin-top: 18px;
}

.inquiry-box label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 700;
}

textarea {
  width: 100%;
  min-height: 112px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
  color: var(--ink);
}

textarea:focus,
.filter-button:focus,
.button:focus,
.nav-links a:focus {
  outline: 3px solid rgba(200, 150, 79, 0.35);
  outline-offset: 3px;
}

.empty-state {
  border: 1px dashed rgba(43, 24, 22, 0.24);
  border-radius: 8px;
  padding: 30px;
  background: #fff;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0;
}

.footer-inner p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.footer-links a {
  color: var(--copper-dark);
}

@media (max-width: 940px) {
  .hero-grid,
  .story-grid,
  .contact-band,
  .page-intro .section-inner {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
    padding-top: 54px;
  }

  .logo-medallion {
    margin: 0 auto;
  }

  .feature-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 14px 0 12px;
  }

  .nav-links {
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 4px;
    width: 100%;
  }

  .nav-links a {
    padding: 6px 8px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .hero-grid {
    padding: 42px 0 50px;
  }

  .intro-banner {
    min-height: 35vh;
    margin-bottom: 50px;
  }

  .intro-banner img {
    height: 35vh;
    min-height: 35vh;
    object-fit: cover;
    object-position: center;
  }

  .intro-banner::after {
    background: linear-gradient(0deg, rgba(55, 42, 37, .38), rgba(55, 42, 37, .06) 58%, transparent);
  }

  .intro-banner-copy {
    left: 18px;
    right: 18px;
    bottom: 18px;
    max-width: 300px;
  }

  h1 {
    font-size: 2.75rem;
  }

  .section {
    padding: 58px 0;
  }

  .page-intro h1 { font-size: 2.75rem; }
  .section-heading h2 { font-size: 2.15rem; }
  .contact-panel h2, .info-panel h2 { font-size: 1.9rem; }
  .hero-grid { gap: 32px; }
  .logo-medallion { width: min(70%, 260px); }
  .hero-note { text-align: center; }

  .feature-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .contact-list li,
  .inquiry-box {
    grid-template-columns: 1fr;
  }

  .product-dialog {
    padding: 10px;
  }

  .product-dialog-panel {
    max-height: 90vh;
    border-radius: 10px;
  }

  .product-dialog-content {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }

  .product-dialog-image {
    max-height: 52vh;
  }

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

  .product-dialog-actions .button {
    width: 100%;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
