:root {
  --ink: #171613;
  --cream: #f6f1e8;
  --paper: #fffcf7;
  --red: #b73628;
  --copper: #dab287;
  --muted: #60564c;
  --line: #d7cbbd;
  --serif: Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth }
body { margin: 0; background: var(--cream); color: var(--ink); font: 1rem/1.65 system-ui, sans-serif }
img { display: block; max-width: 100% }
a { color: inherit }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px }
[id] { scroll-margin-top: 92px }
.wrap { width: min(1340px, calc(100% - 104px)); margin-inline: auto }
.section { padding-block: clamp(60px, 8vw, 120px) }
.skip { position: fixed; top: 8px; left: 8px; z-index: 10; padding: 8px 16px; background: var(--paper); transform: translateY(-150%) }
.skip:focus { transform: none }
h1, h2, h3 { font: 400 1.7rem/1.06 var(--serif); margin: 0 0 18px }
h1, h2 { letter-spacing: -.062em; text-wrap: balance }
h1 { font-size: clamp(3.8rem, 7.7vw, 8rem) }
h2 { font-size: clamp(2.7rem, 5.7vw, 6rem) }
p { margin: 0 0 17px }
.header { position: sticky; top: 0; z-index: 5; background: var(--ink); color: var(--cream); border-bottom: 1px solid #ffffff24 }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 26px }
.logo { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; font: 800 1.85rem/1 system-ui, sans-serif; letter-spacing: -.085em; text-transform: lowercase }
.mark { width: 16px; height: 16px; border-radius: 60% 5% 60% 60%; transform: rotate(-45deg); background: var(--red) }
#navigation { display: flex; align-items: center; gap: clamp(15px, 2.2vw, 33px); font-size: .9rem }
#navigation a { text-decoration: none; white-space: nowrap; padding-block: 7px }
#navigation a:hover, #navigation [aria-current="page"], #navigation [data-parent-current] { color: var(--copper); text-decoration: underline; text-underline-offset: 7px }
#navigation a:last-child, .menu-toggle { border: 1px solid #ffffff58; padding: 7px 12px; color: inherit; background: transparent; font: inherit }
.hero { background: #1b1511 url('/mineral-akis.webp') center/cover no-repeat; color: var(--cream); position: relative; isolation: isolate }
.hero::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #171411 0%, #171411e8 32%, #17141124 76%) }
.hero-layout { min-height: clamp(600px, 53vw, 800px); display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(24px, 5vw, 90px); align-items: center; padding-block: clamp(48px, 6vw, 92px) }
.hero h1 { font-size: clamp(3.4rem, 7.7vw, 7.85rem); line-height: .95; margin-bottom: 25px }
.hero h1 em { color: var(--copper); font-weight: 400 }
.hero-copy > p:not(.eyebrow) { max-width: 38ch; color: #ecdfcf; font-size: clamp(1.05rem, 1.55vw, 1.24rem) }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .875rem; font-weight: 700; letter-spacing: .12em; margin-bottom: 18px }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--red); flex: none }
.hero .eyebrow, .story-feature .eyebrow { color: var(--copper) }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 28px }
.button { display: inline-block; padding: 13px 19px; text-align: center; text-decoration: none; font-weight: 700; font-size: .95rem; border: 1px solid transparent }
.button:hover { filter: brightness(1.12) }
.accent { background: var(--red); color: white }
.dark { background: var(--ink); color: var(--cream) }
.text-link { font-weight: 650; text-underline-offset: 5px }
.text-link:hover { text-decoration-thickness: 2px }
.hero-product { margin: 0; min-width: 0; color: var(--cream) }
.hero-photo { max-width: 380px; margin-inline: auto; filter: drop-shadow(0 16px 24px #090604b3) }
.hero-product img {
  width: 100%;
  height: auto;
  margin-block: -14% -12%;
  clip-path: polygon(
    14.7% 48.9%, 15.2% 46.5%, 16.8% 44.4%, 19.3% 42.8%, 22% 41.9%,
    24.8% 40.6%, 25.5% 39.2%, 25.8% 37.7%, 24.9% 37.4%, 24.9% 29.8%,
    27.6% 29.45%, 28.5% 27.6%, 28.7% 23.2%, 29% 21.5%, 30.2% 20.2%,
    31.9% 19.5%, 32.05% 16.3%, 41% 15.55%, 56% 15.07%, 61% 15.02%,
    75% 15.35%, 85.6% 16.42%, 85.5% 85.9%, 84.8% 86.25%, 63.2% 87.8%,
    58% 88.05%, 50.4% 87.4%, 48.4% 88.03%, 43% 88.43%, 23% 88.5%,
    18.3% 88.18%, 16.1% 87.68%, 15.1% 86.7%, 14.65% 82.9%
  );
}
.hero-product figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid #dab28766; font-size: .875rem; font-weight: 750; letter-spacing: .035em }
.facts { background: var(--cream); border-bottom: 1px solid var(--line) }
.fact-grid { display: grid; grid-template-columns: repeat(3,1fr); padding-block: 26px }
.fact-grid > div { padding: 8px 22px; display: flex; flex-direction: column; gap: 4px }
.fact-grid > div:first-child { padding-left: 0 }
.fact-grid > div + div { border-left: 1px solid var(--line) }
.fact-grid strong { font: 400 clamp(1.25rem, 2.6vw, 2.45rem)/1 var(--serif) }
.fact-grid span { color: var(--muted); font-size: .875rem }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 28px }
.section-head h2 { margin: 0 }
.section-head > p { max-width: 25ch }
.format-grid, .category-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(16px, 3vw, 38px) }
.format-grid a { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; border-top: 1px solid var(--red); border-bottom: 1px solid var(--line); padding: 23px 16px; text-decoration: none }
.format-grid a:hover { background: var(--paper) }
.format-grid span { font: clamp(2.9rem,6vw,6.5rem)/1 var(--serif); letter-spacing: -.055em }
.format-grid small { font-size: .4em; letter-spacing: 0 }
.format-grid strong { text-decoration: underline; text-underline-offset: 5px }
.story-feature { background: #22201c; color: var(--cream) }
.story-timeline { grid-column: 1/-1; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; list-style: none; margin: 0; padding: 0 }
.story-timeline li { border-top: 1px solid var(--line); padding: 20px 7px 0 0 }
.story-feature .story-timeline li { border-color: #8c7664 }
.story-timeline strong { display: block; font: 2.45rem/1 var(--serif); color: var(--red); margin-bottom: 14px }
.story-feature .story-timeline strong { color: var(--copper) }
.story-timeline h3 { margin-bottom: 8px }
.story-timeline p { margin: 0 }
.page-intro { background: #e9dfd1; padding: 34px 0 clamp(40px,6vw,84px); border-bottom: 1px solid var(--line) }
.page-intro.geology { color: var(--cream); background: linear-gradient(90deg,#171613f3,#17161366),url('/strata.webp') center/cover }
.page-intro p { max-width: 54ch; margin: 0; font-size: 1.13rem }
.breadcrumb { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; font-size: .875rem }
.breadcrumb a { text-underline-offset: 4px }
.category-card, .pack-card { background: var(--paper); border: 1px solid var(--line) }
.category-card { display: flex; flex-direction: column; text-decoration: none }
.category-card:hover { border-color: var(--red) }
.category-card > div, .pack-card > div { padding: clamp(20px,3vw,38px) }
.category-card h2 { font-size: clamp(2.4rem,4.2vw,4.8rem) }
.category-card img { width: 100%; height: auto; aspect-ratio: 1.7; object-fit: cover }
.category-card span { text-decoration: underline; text-underline-offset: 5px }
.cosmetic-card { background: #e9dac2 }
.cosmetic-card img { height: 100%; aspect-ratio: 1148 / 1536; object-fit: contain }
.pack-image { display: block; background: #fff }
/* Lift near-white photo backgrounds to match the card's white canvas. */
.pack-image img { display: block; width: 100%; height: clamp(295px,38vw,510px); object-fit: contain; filter: brightness(1.23) }
.pack-card { background: #fff }
.photo-dialog img { background: #fff; filter: brightness(1.23) }
.pack-card h3 { font-size: clamp(2.85rem,4.6vw,5rem); letter-spacing: -.06em }
.pack-card:target { outline: 2px solid var(--red); outline-offset: 4px }
.intro-grid, .story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,6vw,90px) }
.values-grid, .identity-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 30px }
.values-grid article { border-top: 2px solid var(--red); padding: 22px 19px; background: #e9dfd1 }
.values-grid ul, .swatches { list-style: none; margin: 0; padding: 0 }
.guide { grid-column: 1/-1; background: #e9dfd1; padding: clamp(20px,5vw,62px) }
.guide h3 { font-size: clamp(1.8rem,3.5vw,3.5rem) }
details { border-top: 1px solid var(--line) }
summary { padding: 14px 0; cursor: pointer; font-weight: 700 }
.record { display: grid; grid-template-columns: 1fr 1.5fr; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line) }
.record h3,.record p { margin: 0 }
footer { background: var(--ink); color: var(--cream) }
.footer-inner { padding-block: 48px 20px }
.footer-top,.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; padding-block: 20px }
.footer-top p { margin: 8px 0 0 }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: .9rem }
footer nav a { text-decoration: none }
footer nav a:hover, footer [aria-current="page"] { color: var(--copper); text-decoration: underline }
.identity { border-block: 1px solid #766b60 }
.identity-grid { margin: 0 0 20px }
.identity-grid h3 { color: var(--copper) }
.swatches i { display: inline-block; width: 15px; height: 15px; vertical-align: middle; border: 1px solid #a28e79; background: var(--swatch) }
@media (max-width: 820px) {
  .wrap { width: calc(100% - 44px) }
  .nav-wrap { min-height: 64px; flex-wrap: wrap; padding-block: 10px; gap: 8px }
  #navigation { width: 100%; flex-direction: column; align-items: stretch; gap: 0 }
  .menu-toggle:not([hidden])[aria-expanded=false] + #navigation { display: none }
  #navigation a:last-child { padding: 7px 0; border: 0 }
  .hero-layout { min-height: 0; gap: 22px }
  .hero-photo { max-width: 310px }
}
@media (max-width: 620px) {
  .hero-layout, .category-grid, .story-timeline, .intro-grid, .story, .values-grid, .identity-grid, .record { grid-template-columns: 1fr }
  .hero-layout { padding-block: 45px 28px; gap: 32px }
  .hero h1 { font-size: clamp(3.05rem,11.3vw,5.05rem) }
  .hero::before { background: #171411b5 }
  .hero-photo { max-width: 315px }
  .hero-product figcaption { padding: 10px }
  .fact-grid { padding-block: 14px }
  .fact-grid > div { padding: 4px 7px }
  .fact-grid span { line-height: 1.3 }
  .section-head { display: block }
  .section-head > p,.section-head > a { display: inline-block; margin-top: 16px }
  .format-grid a { padding-inline: 0 }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } }

.pack-card > .pack-image { padding: 0 }
.photo-dialog { max-width: min(92vw, 680px); max-height: 91vh; padding: 0; border: 1px solid var(--line); background: var(--paper); color: var(--ink) }
.photo-dialog::backdrop { background: #171613d9 }
.photo-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line) }
.photo-bar button { font: inherit; padding: 5px 10px; background: var(--cream); color: var(--ink); border: 1px solid var(--line); cursor: pointer }
.photo-dialog img { margin: 0 auto; width: auto; height: auto; max-height: 76vh; object-fit: contain }

.whatsapp { display: inline-flex; align-items: center; gap: 10px; color: #fff; background: #12644c }
.whatsapp svg { flex: none }

#language-picker:empty { display: none }
#language-picker select {
  max-width: 140px;
  min-height: 38px;
  padding: 5px 8px;
  border: 1px solid #ffffff58;
  border-radius: 0;
  background: var(--ink);
  color: var(--cream);
  font: inherit;
  font-size: .875rem;
}
@media (min-width: 821px) and (max-width: 1060px) {
  .nav-wrap { gap: 12px; width: calc(100% - 36px) }
  #navigation { gap: 12px }
}
@media (max-width: 820px) {
  #language-picker { order: -1 }
  .nav-wrap .logo { order: -2; margin-right: auto }
}

@media (min-width: 821px) {
  .format-grid, .pack-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) }
}
@media (max-width: 620px) {
  .format-grid { grid-template-columns: 1fr }
}
