:root {
  --ink: #171412;
  --muted: #706961;
  --line: #e7e0d8;
  --paper: #fffdfa;
  --warm: #f6f0e8;
  --clay: #9c6146;
  --sage: #dce2cf;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  min-height: 72px;
  padding: 16px clamp(18px, 3vw, 44px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 250, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  letter-spacing: 0.18em;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  color: var(--muted);
  font-size: 0.86rem;
}

.nav-right {
  justify-content: flex-end;
}

.gallery-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.92fr 1.22fr 0.92fr 1.1fr;
  gap: 8px;
  padding: 8px;
  min-height: calc(100vh - 72px);
  background: #fff;
}

.hero-frame {
  position: relative;
  margin: 0;
  min-height: 520px;
  overflow: hidden;
  background: var(--warm);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-tall {
  min-height: calc(100vh - 88px);
}

.hero-feature {
  display: flex;
  align-items: flex-end;
}

.hero-feature::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(23, 20, 18, 0.02), rgba(23, 20, 18, 0.58));
}

.hero-feature img {
  position: absolute;
  inset: 0;
}

.hero-feature figcaption {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 4vw, 48px);
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-feature .eyebrow {
  color: #f3d8c7;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

h1 {
  max-width: 520px;
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 4.7vw, 5.6rem);
  line-height: 0.95;
}

.text-link {
  display: inline-flex;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bestsellers {
  padding: clamp(54px, 7vw, 92px) 0 clamp(48px, 6vw, 78px);
}

.center-heading {
  max-width: 720px;
  margin: 0 auto 38px;
  padding: 0 22px;
  text-align: center;
}

.center-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.2vw, 3.6rem);
  line-height: 1.04;
}

.product-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 20vw);
  gap: clamp(18px, 2.1vw, 34px);
  overflow-x: auto;
  padding: 0 clamp(18px, 4vw, 58px) 18px;
  scroll-snap-type: x mandatory;
}

.product-card {
  scroll-snap-align: start;
  min-width: 0;
  text-align: center;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1.18;
  object-fit: contain;
  background: var(--warm);
}

.product-card h3 {
  margin: 18px 0 5px;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

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

.collection-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  background: #fff;
}

.collection-panel {
  position: relative;
  min-height: min(78vh, 760px);
  overflow: hidden;
  background: var(--warm);
}

.collection-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.collection-panel:hover img {
  transform: scale(1.03);
}

.collection-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(23, 20, 18, 0.34));
}

.collection-panel span {
  position: absolute;
  left: 50%;
  bottom: clamp(24px, 4vw, 48px);
  z-index: 1;
  transform: translateX(-50%);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.6vw, 4.4rem);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.footer-about {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 98px) 22px;
  text-align: center;
}

.footer-about h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  line-height: 1.05;
}

.footer-about p:last-child {
  max-width: 660px;
  margin: 0 auto;
  color: var(--muted);
}

.footer-service {
  padding: clamp(44px, 7vw, 82px) clamp(22px, 5vw, 72px);
  border-block: 1px solid var(--line);
}

.newsletter-block {
  max-width: 520px;
  margin-bottom: 42px;
}

.newsletter-block h2 {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 400;
}

.newsletter-block p,
.footer-columns p {
  color: var(--muted);
}

.newsletter-block form {
  margin-top: 18px;
}

.newsletter-block label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.newsletter-block form div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  max-width: 460px;
  border-bottom: 1px solid var(--line);
}

.newsletter-block input,
.newsletter-block button {
  min-height: 34px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.newsletter-block input {
  min-width: 0;
  outline: 0;
}

.newsletter-block input::placeholder {
  color: #b3aaa1;
}

.newsletter-block button {
  cursor: pointer;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 18vw, 360px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.footer-columns h3 {
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 400;
}

.footer-columns p {
  margin-bottom: 14px;
  font-size: 0.86rem;
}

.footer-columns strong {
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-columns address {
  color: var(--muted);
  font-style: normal;
}

.footer-columns a {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(22px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  letter-spacing: 0.16em;
}

.site-footer p {
  margin-bottom: 0;
}

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

@media (max-width: 1100px) {
  .gallery-hero {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-frame {
    min-height: 420px;
  }

  .hero-tall {
    min-height: 520px;
  }

  .hero-frame:nth-child(4),
  .hero-frame:nth-child(5) {
    display: none;
  }

}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .brand {
    order: -1;
  }

  .nav-group,
  .nav-right {
    justify-content: center;
    flex-wrap: wrap;
  }

  .gallery-hero {
    display: flex;
    min-height: auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .hero-frame {
    flex: 0 0 82vw;
    min-height: 520px;
    scroll-snap-align: center;
  }

  .hero-feature {
    flex-basis: 88vw;
    order: -1;
  }

  .hero-frame:nth-child(4),
  .hero-frame:nth-child(5) {
    display: block;
  }

  h1 {
    font-size: clamp(2.25rem, 11vw, 4rem);
  }

  .center-heading h2 {
    max-width: 8.2ch;
    margin-inline: auto;
    font-size: clamp(1.9rem, 9vw, 2.65rem);
  }

  .product-row {
    grid-auto-columns: minmax(210px, 68vw);
  }

  .collection-duo,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .collection-panel {
    min-height: 520px;
  }

  .collection-panel span {
    white-space: normal;
  }

  .footer-about {
    text-align: left;
  }

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