:root {
  --bg: #0E0E0C;
  --bg-elev: #151411;
  --ink: #F2EDE4;
  --ink-mute: #8E897E;
  --rule: #2A2822;
  --brass: #A88A5C;
  --brass-hi: #C6A877;
  --serif: "Cormorant Garamond", "Fraunces", Georgia, serif;
  --sans: "Inter", "Söhne", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}
a:hover, a:focus-visible { color: var(--brass-hi); }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

:focus-visible {
  outline: 1px solid var(--brass);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0;
}

p { margin: 0 0 1.25rem; }

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) { .container { padding: 0 3rem; } }
@media (min-width: 1200px) { .container { padding: 0 5rem; } }

/* —— Nav —— */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem;
  background: transparent;
  transition: background 300ms ease, border-color 300ms ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(14, 14, 12, 0.92);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--rule);
}
@media (min-width: 768px) {
  .nav { padding: 1.75rem 3rem; }
}
@media (min-width: 1200px) {
  .nav { padding: 2rem 5rem; }
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  font-style: italic;
}
.wordmark span { font-style: normal; letter-spacing: 0.3em; text-transform: uppercase; font-size: 0.7rem; display: block; font-family: var(--sans); margin-top: 2px; color: var(--ink-mute); }

.nav-links {
  display: none;
  gap: 2.25rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
}
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--brass);
}
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span { width: 22px; height: 1px; background: var(--ink); display: block; }
@media (min-width: 768px) { .nav-toggle { display: none; } }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 60;
  padding: 5rem 2rem 2rem;
  transform: translateY(-100%);
  transition: transform 400ms cubic-bezier(.7,0,.3,1);
  display: flex;
  flex-direction: column;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 2rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--rule);
}
.mobile-menu-close { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; }

/* —— Small caps label —— */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 400;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--brass);
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--brass);
  color: var(--bg);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--brass-hi);
  border-color: var(--brass-hi);
  color: var(--bg);
}
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--brass); color: var(--bg); border-color: var(--brass); }

/* —— Hero —— */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  width: 100%;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #1a1916;
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,14,12,0.55) 0%, rgba(14,14,12,0.15) 35%, rgba(14,14,12,0.85) 100%);
}
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 0 1.5rem 5rem;
}
@media (min-width: 768px) { .hero-content { padding: 0 3rem 6rem; } }
@media (min-width: 1200px) { .hero-content { padding: 0 5rem 7rem; } }
.hero-headline {
  font-size: clamp(2.5rem, 7vw, 5.75rem);
  max-width: 14ch;
  font-weight: 300;
  letter-spacing: -0.02em;
}
.hero-headline em { font-style: italic; color: var(--brass-hi); }
.hero-meta {
  position: absolute;
  bottom: 1.75rem;
  right: 1.5rem;
  display: flex;
  gap: 2rem;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
@media (min-width: 768px) { .hero-meta { right: 3rem; } }

/* —— Sections —— */
.section { padding: 6rem 0; }
@media (min-width: 768px) { .section { padding: 9rem 0; } }
.section-lg { padding: 8rem 0; }
@media (min-width: 768px) { .section-lg { padding: 12rem 0; } }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 4rem;
  max-width: 720px;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 300;
}

/* —— Philosophy —— */
.philosophy {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 900px) {
  .philosophy { grid-template-columns: 1fr 1.4fr; gap: 6rem; }
}
.philosophy p {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.5;
  font-weight: 300;
  color: var(--ink);
}
.philosophy p + p { color: var(--ink-mute); }

/* —— Featured (aligned 3-up) —— */
.featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem 2.5rem;
}
@media (min-width: 768px) {
  .featured { grid-template-columns: repeat(3, 1fr); gap: 4rem 2.5rem; }
}
.featured-item { display: block; }
.featured-item .fig {
  overflow: hidden;
  background: var(--bg-elev);
  aspect-ratio: 4 / 5;
}
.featured-item .fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}
.featured-item:hover .fig img { transform: scale(1.03); }
.featured-item .meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 1.5rem;
  gap: 1rem;
}
.featured-item .name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
}
.featured-item .species {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 0.25rem;
}
.featured-item .price {
  font-size: 0.95rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.featured-item:hover .name { color: var(--brass-hi); }

/* —— Process —— */
.process {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .process { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}
.process-step .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--brass);
  margin-bottom: 1rem;
}
.process-step .pic {
  aspect-ratio: 4 / 5;
  background-color: var(--bg);
  background-size: cover;
  background-position: center;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.process-step .pic-empty {
  background-color: transparent;
  border: 1px solid var(--rule);
  position: relative;
}
.process-step .pic-empty::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 1px;
  background: var(--rule);
  transform: translate(-50%, -50%);
}
.process-step h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.process-step p { color: var(--ink-mute); font-size: 0.92rem; line-height: 1.65; margin: 0; }

/* —— Footer —— */
.footer {
  border-top: 1px solid var(--rule);
  padding: 3rem 0 2.5rem;
  margin-top: 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}
@media (min-width: 768px) { .footer-inner { flex-direction: row; align-items: center; } }
.footer-links { display: flex; gap: 2rem; font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-mute); }
.footer-copy { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); }

/* —— Shop —— */
.shop-header {
  padding-top: 10rem;
  padding-bottom: 3rem;
}
.shop-header h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  margin-bottom: 1.5rem;
}
.shop-header p { color: var(--ink-mute); max-width: 560px; font-size: 1.05rem; }

.filters {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 4rem;
}
@media (min-width: 900px) {
  .filters { flex-direction: row; justify-content: space-between; align-items: center; gap: 3rem; }
}
.filter-group { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.filter-label {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-right: 0.5rem;
}
.pill {
  display: inline-flex;
  padding: 0.5rem 1rem;
  border: 1px solid var(--rule);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  cursor: pointer;
  transition: all 180ms ease;
  background: transparent;
}
.pill:hover { color: var(--ink); border-color: var(--ink-mute); }
.pill.is-active { color: var(--bg); background: var(--brass); border-color: var(--brass); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 1.5rem;
  padding-bottom: 6rem;
}
@media (min-width: 900px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 5rem 2.5rem; }
}
.product-card { display: block; }
.product-card .fig {
  aspect-ratio: 4 / 5;
  background: var(--bg-elev);
  overflow: hidden;
  position: relative;
}
.product-card .fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 400ms ease, transform 600ms ease;
}
.product-card .fig img.alt {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.product-card:hover .fig img.alt { opacity: 1; }
.product-card .meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 1rem;
  margin-top: 1.25rem;
}
.product-card .name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  grid-column: 1;
  line-height: 1.2;
}
.product-card:hover .name { color: var(--brass-hi); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 4px; }
.product-card .tags {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-mute);
  grid-column: 1;
}
.product-card .price {
  grid-column: 2;
  grid-row: 1;
  font-size: 0.95rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.empty-state { padding: 4rem 0; color: var(--ink-mute); text-align: center; font-family: var(--serif); font-size: 1.35rem; }

/* —— Product page —— */
.product-page { padding-top: 8rem; padding-bottom: 6rem; }
.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 900px) {
  .product-layout { grid-template-columns: 1.15fr 1fr; gap: 5rem; align-items: start; }
}

.gallery { position: sticky; top: 7rem; }
@media (max-width: 899px) { .gallery { position: static; } }
.gallery-main {
  aspect-ratio: 4 / 5;
  background: var(--bg-elev);
  overflow: hidden;
  margin-bottom: 1rem;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.thumb {
  aspect-ratio: 1 / 1;
  background: var(--bg-elev);
  overflow: hidden;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 200ms ease;
  border: 1px solid transparent;
}
.thumb.is-active { opacity: 1; border-color: var(--brass); }
.thumb:hover { opacity: 1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info h1 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  margin-bottom: 0.75rem;
  font-weight: 300;
}
.product-info .tags {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1.75rem;
}
.product-info .price {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--brass-hi);
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--rule);
  font-variant-numeric: tabular-nums;
}
.product-desc {
  margin-bottom: 2.5rem;
  color: var(--ink);
}
.product-desc p { font-family: var(--serif); font-size: 1.15rem; line-height: 1.65; font-weight: 300; }
.spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
  border-top: 1px solid var(--rule);
}
.spec-list li {
  display: grid;
  grid-template-columns: 1fr 2fr;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9rem;
  gap: 1rem;
}
.spec-list .k {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
  align-self: center;
}

.accordion { border-top: 1px solid var(--rule); margin-top: 3rem; }
.accordion-item { border-bottom: 1px solid var(--rule); }
.accordion-toggle {
  width: 100%;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
}
.accordion-toggle .ico {
  width: 16px; height: 16px;
  position: relative;
}
.accordion-toggle .ico::before, .accordion-toggle .ico::after {
  content: "";
  position: absolute;
  background: var(--ink);
  left: 0; top: 50%;
  width: 100%; height: 1px;
}
.accordion-toggle .ico::after {
  transform: rotate(90deg);
  transition: transform 240ms ease;
}
.accordion-item.is-open .accordion-toggle .ico::after { transform: rotate(0); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
  color: var(--ink-mute);
  font-size: 0.95rem;
}
.accordion-panel-inner { padding: 0 0 1.75rem; max-width: 58ch; }
.accordion-item.is-open .accordion-panel { max-height: 400px; }

.related { border-top: 1px solid var(--rule); padding-top: 6rem; margin-top: 6rem; }
.related h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 3rem;
  font-weight: 300;
}

/* —— About —— */
.about-hero {
  padding-top: 10rem;
  padding-bottom: 5rem;
}
.about-hero h1 {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  max-width: 14ch;
  font-weight: 300;
  letter-spacing: -0.015em;
}
.about-hero h1 em { color: var(--brass-hi); }
.about-portrait {
  aspect-ratio: 16 / 9;
  background: var(--bg-elev);
  margin: 4rem 0 6rem;
  overflow: hidden;
}
.editorial {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 1.5rem 8rem;
}
.editorial p {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 1.75rem;
  color: var(--ink);
}
.editorial p.lede { font-size: 1.4rem; color: var(--ink-mute); margin-bottom: 3rem; }
.pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.25;
  padding: 3rem 0;
  color: var(--brass-hi);
  max-width: 18ch;
  margin: 2rem auto;
  text-align: center;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

/* —— Contact —— */
.contact-page { padding: 10rem 0 6rem; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}
@media (min-width: 900px) {
  .contact-layout { grid-template-columns: 1fr 1.2fr; gap: 6rem; }
}
.contact-intro h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  margin-bottom: 2rem;
  font-weight: 300;
}
.contact-intro p { color: var(--ink-mute); font-size: 1.05rem; max-width: 36ch; margin-bottom: 3rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-details .row { display: flex; flex-direction: column; gap: 0.4rem; }
.contact-details .k { font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-mute); }
.contact-details .v { font-family: var(--serif); font-size: 1.25rem; }

/* —— Forms —— */
.form { display: flex; flex-direction: column; gap: 1.75rem; }
.field { display: flex; flex-direction: column; gap: 0.6rem; }
.field label {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.field input, .field textarea, .field select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 0;
  font-weight: 300;
  transition: border-color 200ms ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-bottom-color: var(--brass);
}
.field textarea { resize: vertical; min-height: 140px; }

/* —— Modal —— */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(14, 14, 12, 0.85);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal.is-open { display: flex; }
.modal-panel {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  padding: 3rem 2rem;
  max-width: 520px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
@media (min-width: 640px) { .modal-panel { padding: 3.5rem; } }
.modal-panel h2 {
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
  font-weight: 300;
}
.modal-panel .sub {
  color: var(--ink-mute);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  color: var(--ink-mute);
}
.modal-close:hover { color: var(--ink); }

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 900ms ease, transform 900ms cubic-bezier(.2,.8,.2,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* —— Ridge divider (mountain silhouette motif) —— */
.ridge-divider {
  width: 100%;
  height: 60px;
  color: var(--brass);
  opacity: 0.4;
  margin-top: -60px;
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.ridge-divider svg { width: 100%; height: 100%; display: block; }

/* —— Series grid —— */
.series-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}
@media (min-width: 768px) { .series-grid { grid-template-columns: repeat(4, 1fr); } }
.series-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.5rem 1.5rem;
  border-bottom: 1px solid var(--rule);
  min-height: 180px;
  transition: background 240ms ease;
}
@media (min-width: 768px) {
  .series-card { border-right: 1px solid var(--rule); border-bottom: none; }
  .series-card:last-child { border-right: none; }
}
.series-card:hover { background: var(--bg-elev); }
.series-card .k {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 400;
}
.series-card:hover .k { color: var(--brass-hi); }
.series-card .v {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* —— Product card collection tag —— */
.product-card .collection {
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
  grid-column: 1;
  margin-bottom: 0.15rem;
}
.product-info .collection {
  font-size: 0.65rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
}

/* Featured collection eyebrow */
.featured-item .collection {
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.3rem;
}

/* Browsers honor EXIF orientation by default, but be explicit */
img { image-orientation: from-image; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition: none !important; }
}
