/* CSS RESET & CUSTOM PROPERTIES */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-surface: #fbf9f5;
  --bg-surface-low: #f5f2eb;
  --bg-surface-high: #eae6dc;
  --bg-card: #ffffff;
  --text-main: #1c1b18;
  --text-muted: #6b665c;
  --text-subtle: #8c867a;
  --accent-ochre: #805600;
  --accent-ochre-light: #f5ede0;
  --accent-sage: #4c6455;
  --accent-sage-light: #eaf0ec;
  --border-color: #ebe7de;
  --border-subtle: rgba(28, 27, 24, 0.08);
  --font-serif: 'Vollkorn', 'Playfair Display', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 4px 16px rgba(110, 95, 70, 0.05);
  --shadow-md: 0 10px 30px rgba(110, 95, 70, 0.08);
}

html, body {
  font-family: var(--font-sans);
  background-color: var(--bg-surface);
  color: var(--text-main);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button, input {
  font-family: inherit;
}

.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
}

/* HEADER & NAVIGATION */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(251, 249, 245, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.header-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-main);
  transition: color 0.2s;
}

.brand-logo:hover {
  color: var(--accent-ochre);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  transition: all 0.2s;
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(0, 0, 0, 0.03);
}

.nav-link.active {
  color: var(--accent-ochre);
  background-color: var(--accent-ochre-light);
  font-weight: 600;
}

/* ACCESSIBLE ATELIER HAMBURGER BUTTON */
.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  padding: 10px;
  border-radius: var(--radius-sm);
  position: relative;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: background-color 0.2s ease;
}

.hamburger-btn:hover,
.hamburger-btn:focus-visible {
  background: rgba(28, 27, 24, 0.06);
  outline: none;
}

.hamburger-btn .ham-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #1c1b18;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  transform-origin: center;
}

/* Morphing into X */
.hamburger-btn[aria-expanded="true"] .ham-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn[aria-expanded="true"] .ham-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-btn[aria-expanded="true"] .ham-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* MOBILE & TABLET DRAWER */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28, 27, 24, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 150;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.open {
  display: block;
  opacity: 1;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 86%;
  background: var(--bg-surface);
  z-index: 160;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -8px 0 28px rgba(28, 27, 24, 0.12);
  border-left: 1px solid var(--border-color);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.drawer-close-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  padding: 6px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.drawer-close-btn:hover {
  background: rgba(28, 27, 24, 0.06);
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-link {
  font-size: 15px;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: var(--radius-full);
  color: var(--text-main);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-link:hover {
  background: var(--bg-surface-low);
  color: var(--accent-ochre);
}

.drawer-link.active {
  background: var(--accent-ochre-light);
  color: var(--accent-ochre);
  font-weight: 600;
}

.drawer-footer-note {
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  font-size: 12px;
  color: var(--text-subtle);
  line-height: 1.6;
}

.drawer-contact-quick {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  font-size: 12px;
}

.drawer-contact-quick a {
  color: var(--accent-ochre);
  font-weight: 600;
}

/* MEDIA QUERY FOR VIEWPORTS <= 1024px */
@media (max-width: 1024px) {
  .desktop-nav {
    display: none !important;
  }
  .hamburger-btn {
    display: flex !important;
  }
}

/* MAIN WRAPPER */
.main-content {
  width: 100%;
}

/* HERO SECTION */
.hero-section {
  padding: 60px 0 70px;
  background: var(--bg-surface);
}

.hero-tag-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-pill-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5c3d00;
}

.tag-separator-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--accent-ochre);
  opacity: 0.5;
}

.hero-subtag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: flex-end;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 8fr 4fr;
  }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 20px;
}

.hero-title .italic-span {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-ochre);
}

.hero-description {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 680px;
}

.atelier-ethos-card {
  background: var(--bg-surface-low);
  padding: 22px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.atelier-ethos-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-sage);
  margin-bottom: 6px;
  display: block;
}

.atelier-ethos-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* HERO MOSAIC */
.hero-mosaic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 48px;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-mosaic {
    grid-template-columns: 7fr 5fr;
  }
}

.mosaic-primary {
  position: relative;
}

.primary-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 10;
  background: var(--bg-surface-low);
  box-shadow: var(--shadow-sm);
}

.primary-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.primary-img-wrapper:hover img {
  transform: scale(1.03);
}

.twirl-badge {
  position: absolute;
  bottom: -18px;
  right: 24px;
  background: var(--bg-card);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

@media (max-width: 640px) {
  .twirl-badge {
    position: static;
    margin-top: 14px;
    width: fit-content;
  }
}

.twirl-badge .material-symbols-outlined {
  color: var(--accent-ochre);
  font-size: 20px;
}

.mosaic-secondary {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 768px) {
  .mosaic-secondary {
    margin-top: -30px;
  }
}

.detail-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 5;
  background: var(--bg-surface-low);
  box-shadow: var(--shadow-sm);
}

.detail-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  font-size: 12px;
}

.detail-meta-row .series {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
  font-weight: 600;
}

.detail-meta-row .origin {
  color: var(--accent-ochre);
  font-weight: 600;
}

/* ARCHETYPES COMPENDIUM */
.archetypes-section {
  padding: 70px 0 80px;
  background: var(--bg-surface-low);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header-row {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .section-header-row {
    flex-direction: row;
    align-items: flex-end;
  }
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-sage);
  display: block;
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-main);
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 440px;
  line-height: 1.6;
}

/* FILTER TABS */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 44px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: #5c3d00;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: var(--bg-surface-high);
  color: var(--text-main);
}

.filter-btn.active {
  background: #5c3d00;
  border-color: #5c3d00;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(92, 61, 0, 0.3);
}

.categories-stack {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.category-panel {
  width: 100%;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.cat-number-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-sage-light);
  color: var(--accent-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.cat-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--text-main);
}

.cat-divider {
  height: 1px;
  flex: 1;
  background: var(--border-color);
}

.cat-meta-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-sage);
}

/* PRODUCT CARDS */
.frocks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .frocks-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-img-box {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-surface-low);
}

.card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .card-img-box img {
  transform: scale(1.05);
}

.card-floating-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

.badge-ochre {
  background: rgba(245, 237, 224, 0.95);
  color: var(--accent-ochre);
  border: 1px solid rgba(128, 86, 0, 0.15);
}

.badge-rose {
  background: rgba(250, 236, 235, 0.95);
  color: #865046;
  border: 1px solid rgba(134, 80, 70, 0.15);
}

.badge-sage {
  background: rgba(234, 240, 236, 0.95);
  color: var(--accent-sage);
  border: 1px solid rgba(76, 100, 85, 0.15);
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 16px;
}

.product-card-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.product-card-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}

.card-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5c3d00;
}

.card-footer-meta .material-symbols-outlined {
  font-size: 20px;
  color: var(--accent-ochre);
}

/* 2-COLUMN CARDS */
.paired-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .paired-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.horizontal-product-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 20px;
  transition: transform 0.3s ease;
}

@media (min-width: 640px) {
  .horizontal-product-card {
    flex-direction: row;
    align-items: center;
  }
}

.horizontal-product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.h-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-surface-low);
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .h-card-img {
    width: 170px;
  }
}

.h-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.h-card-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.info-pill {
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg-surface-low);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

/* SPLIT 2/5 - 3/5 CARDS */
.split-product-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

@media (min-width: 768px) {
  .split-product-card {
    flex-direction: row;
  }
}

.split-product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.split-card-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-surface-low);
}

@media (min-width: 768px) {
  .split-card-img {
    width: 40%;
  }
}

.split-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  flex: 1;
}

@media (min-width: 768px) {
  .split-card-content {
    width: 60%;
  }
}

.feature-check-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 10px;
}

.feature-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-main);
}

.feature-check-item .material-symbols-outlined {
  font-size: 18px;
  color: var(--accent-ochre);
}

/* CURATION STANDARDS (BENCHMARKS) */
.standards-section {
  padding: 80px 0;
  background: var(--bg-surface);
}

.standards-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.standards-intro .section-title {
  margin: 8px 0 14px;
}

.standards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .standards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .standards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benchmark-card {
  background: var(--bg-surface-low);
  padding: 28px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.benchmark-card:hover {
  transform: translateY(-4px);
}

.benchmark-icon-roundel {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.roundel-ochre {
  background: rgba(128, 86, 0, 0.12);
  color: var(--accent-ochre);
}

.roundel-sage {
  background: rgba(76, 100, 85, 0.14);
  color: var(--accent-sage);
}

.roundel-rose {
  background: rgba(134, 80, 70, 0.14);
  color: #865046;
}

.benchmark-stat {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 8px;
}

.benchmark-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.benchmark-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* FOOTER */
.footer {
  background: var(--bg-surface-low);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  color: var(--text-main);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 5fr 3fr 4fr;
  }
}

.footer-brand-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-main);
}

.footer-brand-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 420px;
}

.footer-heading {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 16px;
  display: block;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--text-main);
}

.footer-link.active {
  color: var(--accent-ochre);
  font-weight: 600;
}

.footer-address {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-phone {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-phone:hover {
  color: var(--text-main);
}

.copyright-bar {
  background: rgba(234, 230, 220, 0.4);
  padding: 16px;
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 13px;
  color: var(--text-subtle);
}
.site-logo {
width: 180px;
height: 60px;
object-fit: contain;
object-position: left center;
display: block;
}

@media (max-width: 600px) {
    .site-logo {
        width: 145px;
        height: 50px;
    }
}
