:root {
  --page-bg: #f3ede3;
  --text-main: #241d18;
  --text-soft: rgba(36, 29, 24, 0.72);
  --line: rgba(74, 54, 32, 0.14);
  --surface: rgba(255, 249, 242, 0.82);
  --surface-strong: rgba(255, 249, 242, 0.92);
  --shadow: 0 24px 70px rgba(52, 40, 27, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page-bg);
  color: var(--text-main);
  font-family: "Roboto", sans-serif;
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 28px auto 44px;
  overflow: hidden;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  isolation: isolate;
  background: rgba(255, 248, 238, 0.22);
}

.home-shell {
  width: 100%;
  margin: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  min-height: 100vh;
}

.content-shell {
  padding: 28px 28px 36px;
}

.page-backdrop,
.page-wash {
  position: absolute;
  inset: 0;
}

.page-backdrop {
  background-image:
    url("https://images.pexels.com/photos/34154153/pexels-photo-34154153.jpeg?auto=compress&cs=tinysrgb&w=1800");
  background-position: center 58%;
  background-size: cover;
  filter: saturate(1.18) brightness(1.0);
  transform: scale(1.02);
}

.page-wash {
  background:
    linear-gradient(180deg, rgba(249, 243, 235, 0.12) 0%, rgba(249, 243, 235, 0.03) 24%, rgba(249, 243, 235, 0.03) 68%, rgba(249, 243, 235, 0.08) 100%),
    linear-gradient(90deg, rgba(248, 240, 230, 0.04) 0%, rgba(248, 240, 230, 0.0) 55%, rgba(248, 240, 230, 0.04) 100%);
}

.site-header,
.content-body {
  position: relative;
  z-index: 10;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 30px 0;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Roboto", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
  color: rgba(32, 25, 20, 0.92);
}

.brand-mark {
  width: 16px;
  height: 16px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  display: inline-block;
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.brand-mark::before {
  width: 7px;
  height: 1.5px;
  left: 3px;
  top: 7px;
}

.brand-mark::after {
  width: 1.5px;
  height: 7px;
  left: 7px;
  top: 3px;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  font-weight: 500;
  margin-left: auto;
}

.site-nav > a,
.nav-dropdown > a {
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease, opacity 160ms ease;
}

.site-nav > a:hover,
.site-nav > a:focus-visible,
.nav-dropdown > a:hover,
.nav-dropdown > a:focus-visible {
  border-color: rgba(36, 29, 24, 0.42);
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 110px;
  display: grid;
  gap: 6px;
  padding-top: 10px;
  text-align: right;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.dropdown-menu a {
  text-decoration: none;
  color: var(--text-soft);
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  color: var(--text-main);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
}

.visual-fill {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 80px);
}

.content-body {
  display: grid;
  gap: 28px;
  padding-top: 52px;
}

.content-hero {
  display: grid;
  gap: 10px;
  max-width: 680px;
}

.content-hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 5vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.content-hero p {
  margin: 0;
  max-width: 42rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.product-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-chip {
  appearance: none;
  border: 1px solid rgba(74, 54, 32, 0.16);
  background: rgba(255, 250, 244, 0.72);
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--text-main);
  cursor: pointer;
  font: inherit;
}

.filter-chip.is-active {
  background: rgba(36, 29, 24, 0.92);
  border-color: rgba(36, 29, 24, 0.92);
  color: #fff9f2;
}

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

.product-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid rgba(74, 54, 32, 0.08);
  background: var(--surface);
  box-shadow: 0 18px 36px rgba(48, 35, 21, 0.07);
  backdrop-filter: blur(10px);
}

.product-image {
  aspect-ratio: 4 / 4.8;
  border-radius: 22px;
  background-size: cover;
  background-position: center;
}

.product-image[data-category="bags"] {
  background-image: linear-gradient(180deg, rgba(255, 247, 236, 0.08), rgba(255, 247, 236, 0.12)), url("https://images.unsplash.com/photo-1548036328-c9fa89d128fa?auto=format&fit=crop&w=900&q=80");
}

.product-image[data-category="collars"] {
  background-image: linear-gradient(180deg, rgba(255, 247, 236, 0.06), rgba(255, 247, 236, 0.16)), url("https://images.unsplash.com/photo-1583337130417-3346a1be7dee?auto=format&fit=crop&w=900&q=80");
}

.product-image[data-category="totes"] {
  background-image: linear-gradient(180deg, rgba(255, 247, 236, 0.08), rgba(255, 247, 236, 0.12)), url("https://images.unsplash.com/photo-1523381210434-271e8be1f52b?auto=format&fit=crop&w=900&q=80");
}

.product-meta {
  display: grid;
  gap: 8px;
}

.product-category {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(36, 29, 24, 0.5);
}

.product-meta h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 0.95;
}

.product-meta p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-price {
  font-size: 0.95rem;
  font-weight: 700;
}

.product-tag {
  font-size: 0.84rem;
  color: rgba(36, 29, 24, 0.58);
}

.simple-panel {
  display: grid;
  gap: 16px;
  max-width: 720px;
  padding: 28px;
  border-radius: 28px;
  background: var(--surface-strong);
  border: 1px solid rgba(74, 54, 32, 0.1);
  box-shadow: 0 18px 36px rgba(48, 35, 21, 0.07);
}

.simple-panel h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 5vw, 4.4rem);
  line-height: 0.92;
}

.simple-panel p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

/* ── Home page layout ── */

.home-page {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 10px 20px;
  width: 100%;
}

.hero-welcome {
  align-self: flex-start;
  padding-left: 20px;
  max-width: 657px;
}

.hero-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: rgba(32, 25, 20, 0.88);
}

.hero-tagline {
  margin: 16px 0 0;
  font-size: 1.1rem;
  color: var(--text-soft);
  letter-spacing: 0.06em;
  text-align: center;
}

/* ── About sections ── */

.about-section {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 100px 40px 100px 0;
}

.about-left .stagger-gallery {
  justify-self: start;
  margin-left: -10px;
}

.about-text {
  max-width: 480px;
}

.about-left .about-text {
  justify-self: end;
  text-align: right;
}

.section-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(36, 29, 24, 0.5);
  margin-bottom: 12px;
}

.about-section h2 {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.about-section p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

/* ── Staggered gallery ── */

.stagger-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 10px;
}

.hero-section .stagger-gallery {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 45%;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 130px 30px 0 0;
  gap: 10px;
  z-index: 1;
  pointer-events: none;
}

.hero-section .stagger-gallery .stagger-img {
  pointer-events: auto;
}

.hero-section .stagger-img {
  opacity: 1;
}

.hero-section .stagger-img img {
  width: 250px;
  height: 250px;
  aspect-ratio: 1 / 1;
}

.stagger-img {
  opacity: 1;
}

.stagger-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  aspect-ratio: 4 / 5;
  box-shadow: 0 12px 28px rgba(48, 35, 21, 0.08);
}

.stagger-right .stagger-img--1 {
  grid-column: 8 / 13;
  grid-row: 1;
  align-self: flex-end;
  margin-right: 30px;
}

.stagger-right .stagger-img--2 {
  grid-column: 5 / 10;
  grid-row: 2;
  align-self: flex-end;
  margin-right: 180px;
}

.stagger-right .stagger-img--3 {
  grid-column: 8 / 13;
  grid-row: 3;
  align-self: flex-end;
  margin-right: 30px;
  margin-bottom: -60px;
}

.stagger-left .stagger-img--4 {
  grid-column: 1 / 5;
  grid-row: 1;
}

.stagger-left .stagger-img--5 {
  grid-column: 3 / 7;
  grid-row: 2;
}

.stagger-left .stagger-img--6 {
  grid-column: 1 / 5;
  grid-row: 3;
}

.bio-signature {
  margin-top: 28px;
  font-style: italic;
  color: rgba(36, 29, 24, 0.4);
  font-size: 0.95rem;
}

/* ── Footer ── */

.site-footer {
  position: relative;
  z-index: 1;
  text-align: right;
  padding: 60px 40px 40px;
}

.footer-thanks {
  margin: 0;
  font-family: "Birthstone", cursive;
  font-size: 32px;
  color: rgba(62, 48, 34, 0.35);
  letter-spacing: 0.02em;
}

/* ── Contact Modal ── */

#contact-modal {
  position: fixed;
  max-width: 440px;
  width: calc(100% - 40px);
  padding: 36px 32px;
  border: none;
  border-radius: 20px;
  background: rgba(255, 249, 242, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(48, 35, 21, 0.18);
  color: var(--text-main);
}

#contact-modal::backdrop {
  background: rgba(20, 16, 12, 0.5);
  backdrop-filter: blur(4px);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-soft);
  cursor: pointer;
  line-height: 1;
}

#contact-modal h2 {
  margin: 0 0 24px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1;
}

#contact-form {
  display: grid;
  gap: 12px;
}

#contact-form label {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(74, 54, 32, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  resize: vertical;
}

#contact-form input:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: rgba(74, 54, 32, 0.4);
}

.modal-submit {
  margin-top: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  background: rgba(36, 29, 24, 0.9);
  color: #fff9f2;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 160ms ease;
}

.modal-submit:hover {
  background: rgba(36, 29, 24, 1);
}

.modal-thanks {
  margin: 40px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  text-align: center;
  color: var(--text-main);
}

/* ── Responsive ── */

@media (max-width: 960px) {
  .page-shell {
    width: min(100% - 24px, 1180px);
  }

  .site-header,
  .content-shell {
    padding-left: 24px;
    padding-right: 24px;
  }

  .content-shell {
    padding-bottom: 30px;
  }

  .visual-fill {
    min-height: calc(100vh - 80px);
  }

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

  .hero-overlay {
    padding: 0 30px 40px;
  }

  .hero-section .stagger-gallery {
    position: relative;
    width: 100%;
    padding: 20px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .hero-section .stagger-img--1,
  .hero-section .stagger-img--2,
  .hero-section .stagger-img--3 {
    align-self: auto;
    margin: 0;
  }

  .hero-section .stagger-img img {
    width: 200px;
    height: 200px;
  }

  .hero-welcome {
    text-align: center;
    align-self: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 80px 30px;
  }

  .about-left .about-text {
    justify-self: start;
    text-align: left;
    max-width: 100%;
  }

  .about-left .stagger-gallery { order: 1; }
  .about-left .about-text { order: 2; }

  .stagger-gallery {
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 16px, 1180px);
    margin: 16px auto 24px;
    border-radius: 28px;
  }

  .home-shell {
    width: 100%;
    margin: 0;
    border-radius: 0;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 20px 0;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 18px;
  }

  .visual-fill {
    min-height: calc(100vh - 132px);
  }

  .content-shell {
    padding: 20px 20px 26px;
  }

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

  .simple-panel {
    padding: 22px;
  }

  .hero-overlay {
    padding: 0 20px 40px;
  }

  .hero-section .stagger-gallery {
    flex-direction: column;
    padding: 20px;
  }

  .hero-section .stagger-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .about-section {
    padding: 60px 20px;
    gap: 32px;
  }

  .stagger-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 100%;
  }

  .stagger-right .stagger-img--1,
  .stagger-right .stagger-img--2,
  .stagger-right .stagger-img--3,
  .stagger-left .stagger-img--4,
  .stagger-left .stagger-img--5,
  .stagger-left .stagger-img--6 {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .stagger-img img {
    aspect-ratio: 16 / 10;
  }
}
