:root {
  --bg: #faf7f2;
  --surface: #f2ece1;
  --surface-card: #ffffff;
  --ink: #1f2421;
  --ink-muted: #555c57;
  --brand: #2f4236;
  --brand-hover: #233329;
  --brand-ink: #faf7f2;
  --accent: #b87d4b;
  --border: rgba(31, 36, 33, 0.12);
  --border-strong: rgba(31, 36, 33, 0.22);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --wrap-max: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-py: clamp(4rem, 8vw, 6.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--brand);
  color: var(--brand-ink);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Focus ring */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Container */
.wrap {
  width: 100%;
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Typography helpers */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.15rem);
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
}

p {
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--brand);
  color: var(--brand-ink);
}

.btn-primary:hover {
  background-color: var(--brand-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-strong);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink);
  background-color: rgba(31, 36, 33, 0.04);
  transform: translateY(-1px);
}

.btn-light {
  background-color: var(--bg);
  color: var(--brand);
}

.btn-light:hover {
  background-color: #ffffff;
  transform: translateY(-1px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 44px;
}

.brand-logo img {
  height: 30px;
  width: auto;
}

.brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-left: 1px solid var(--border-strong);
  padding-left: 0.625rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-muted);
  padding-block: 0.5rem;
  transition: color 0.2s var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.25rem;
  width: 100%;
  height: 1.5px;
  background-color: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem var(--gutter) 1.5rem;
  border-top: 1px solid var(--border);
  background-color: var(--bg);
}

.mobile-drawer.is-open {
  display: flex;
}

.mobile-drawer a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.mobile-drawer .btn {
  margin-top: 0.75rem;
  width: 100%;
}

/* Hero Section */
.hero {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) var(--section-py);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-lead {
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 1.5vw, 1.1875rem);
  color: var(--ink-muted);
  max-width: 52ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  width: 100%;
  margin-top: 2rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  width: 100%;
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.fact-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}

.fact-label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.hero-media {
  position: relative;
}

.hero-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--surface);
  aspect-ratio: 4 / 5;
  box-shadow: 0 24px 60px rgba(31, 36, 33, 0.1);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.7s var(--ease);
}

.hero-frame:hover img {
  transform: scale(1.025);
}

/* Section Headers */
.section {
  padding-block: var(--section-py);
}

.section-surface {
  background-color: var(--surface);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head-copy {
  max-width: 56ch;
}

.section-desc {
  margin-top: 0.75rem;
  color: var(--ink-muted);
}

/* Filter Tabs */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  min-height: 44px;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--ink-muted);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.filter-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-btn[aria-pressed='true'] {
  background-color: var(--brand);
  border-color: var(--brand);
  color: var(--brand-ink);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

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

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

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(31, 36, 33, 0.08);
}

.product-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--surface);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.product-card:hover .product-thumb img {
  transform: scale(1.03);
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.35rem 1.5rem 1.5rem;
}

.product-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.product-title {
  margin-top: 0.35rem;
}

.product-text {
  margin-top: 0.6rem;
  font-size: 0.9375rem;
  color: var(--ink-muted);
  flex: 1;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  min-height: 44px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
}

.product-link span {
  transition: transform 0.2s var(--ease);
}

.product-link:hover span {
  transform: translateX(3px);
}

/* Story & Values */
.story-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.story-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background-color: var(--bg);
}

.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-quote {
  margin-top: 1.5rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--accent);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-style: italic;
  color: var(--ink);
  line-height: 1.35;
}

.story-paragraphs {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--ink-muted);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.value-item {
  padding: 1.35rem 1.25rem;
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.value-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand);
}

.value-desc {
  margin-top: 0.45rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* Lookbook Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
}

.gallery-tile {
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--surface);
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery-tile:hover img {
  transform: scale(1.03);
}

.gallery-tile.span-7 {
  grid-column: span 7;
  aspect-ratio: 16 / 10;
}

.gallery-tile.span-5 {
  grid-column: span 5;
  aspect-ratio: 4 / 3;
}

.gallery-tile.span-4 {
  grid-column: span 4;
  aspect-ratio: 4 / 3;
}

/* Collaboration Band */
.band-brand {
  background-color: var(--brand);
  color: var(--brand-ink);
}

.band-brand .eyebrow {
  color: #e3b78b;
}

.band-brand .section-desc {
  color: rgba(250, 247, 242, 0.8);
}

.collab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.partner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.partner-tag {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(250, 247, 242, 0.25);
  font-size: 0.8125rem;
  color: var(--brand-ink);
}

.contact-list {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(250, 247, 242, 0.18);
  display: grid;
  gap: 0.85rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(250, 247, 242, 0.65);
}

.contact-value {
  font-size: 1rem;
  font-weight: 500;
}

.contact-value:hover {
  text-decoration: underline;
}

/* Form */
.collab-form {
  background-color: var(--bg);
  color: var(--ink);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius-lg);
  display: grid;
  gap: 1.1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.875rem;
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: var(--ink);
  transition: border-color 0.2s var(--ease);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--brand);
  outline: none;
}

.form-status {
  font-size: 0.875rem;
  color: var(--brand);
  font-weight: 600;
  min-height: 1.25rem;
}

/* Footer */
.site-footer {
  padding-block: 3rem 2rem;
  border-top: 1px solid var(--border);
  background-color: var(--bg);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand img {
  height: 24px;
  width: auto;
}

.footer-meta {
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.footer-links a:hover {
  color: var(--ink);
}

/* Responsive */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .nav-links,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-grid,
  .story-grid,
  .collab-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
  }

  .hero-frame {
    aspect-ratio: 1 / 1;
  }

  .story-photo {
    aspect-ratio: 4 / 3;
  }

  .gallery-tile.span-7,
  .gallery-tile.span-5,
  .gallery-tile.span-4 {
    grid-column: span 12;
    aspect-ratio: 4 / 3;
  }

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

@media (max-width: 540px) {
  .product-grid,
  .values-grid,
  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .brand-sub {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
