/* De ELLA: the plain, readable pages (mezcal, process, casa, gifts).
   Same ink, bone and bronze as the land; set for reading, not wandering.
   Layout: one reading column with a wide two-column product head. */
@font-face { font-family: 'Hatton'; src: url(../assets/fonts/Hatton-Ultralight.otf) format('opentype'); font-weight: 200; font-display: swap; }
@font-face { font-family: 'Hatton'; src: url(../assets/fonts/Hatton-Medium.otf) format('opentype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Cera'; src: url(../assets/fonts/Cera-Pro-Light.otf) format('opentype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Cera'; src: url(../assets/fonts/Cera-Pro-Regular.otf) format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Coconat'; src: url(../assets/fonts/Coconat-Regular.otf) format('opentype'); font-display: swap; }
@font-face { font-family: 'Garamond'; src: url(../assets/fonts/EBGaramond08-Italic.ttf) format('truetype'); font-style: italic; font-display: swap; }

:root {
  color-scheme: dark;
  --ink: #080707;
  --char: #141312;
  --bone: #ece3d6;
  --sand: #cdbfae;
  --dust: #8d8174;
  --bronze: #a7825b;
  --line: rgba(167, 130, 91, 0.26);
  --display: 'Hatton', 'Times New Roman', serif;
  --body: 'Cera', 'Helvetica Neue', Arial, sans-serif;
  --label: 'Coconat', 'Times New Roman', serif;
  --ital: 'Garamond', Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--ink); }
body { background: var(--ink); color: var(--bone); font-family: var(--body); font-weight: 300; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-color: var(--bronze); }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 1px solid var(--bronze); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.read { max-width: 680px; }

/* chrome */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 18px; flex-wrap: wrap; }
.top__mark img { height: 22px; width: auto; }
.top nav { display: flex; gap: 22px; flex-wrap: wrap; }
.lbl, .top nav a, .crumbs, .eyebrow, dt, .btn, .foot h2 { font-family: var(--label); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; }
.top nav a { text-decoration: none; color: var(--sand); }
.top nav a[aria-current] , .top nav a:hover { color: var(--bone); }
.top__enter { color: var(--bronze) !important; }

.crumbs { color: var(--dust); padding-top: 28px; }
.crumbs a { text-decoration: none; }
.eyebrow { color: var(--bronze); }

h1, h2, h3 { font-family: var(--display); font-weight: 500; text-transform: uppercase; line-height: 1; text-wrap: balance; letter-spacing: 0.01em; }
h1 { font-size: clamp(40px, 6vw, 76px); margin: 14px 0 12px; }
h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 18px; }
h3 { font-size: 22px; margin-bottom: 8px; }
.tag { font-family: var(--ital); font-style: italic; font-size: 21px; color: var(--sand); }
p + p { margin-top: 1em; }
.lede { font-size: 18px; color: var(--bone); max-width: 640px; }
.muted { color: var(--dust); }

section { padding-block: 56px; border-top: 1px solid var(--line); }
.head { padding-block: 24px 56px; border-top: 0; }

/* product head */
.prod { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.prod__img { background: var(--char); }
.buy { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; max-width: 420px; }
.price { font-family: var(--display); font-weight: 200; font-size: 34px; letter-spacing: 0.02em; }
.buy__row { display: flex; gap: 10px; }
.buy select { background: transparent; color: var(--bone); border: 1px solid var(--line); font: inherit; padding: 0 12px; min-height: 48px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; background: var(--bone); color: var(--ink); text-decoration: none; flex: 1; }
.btn:hover { background: #fff; }
.btn--line { background: transparent; color: var(--bone); border: 1px solid var(--bronze); }
.btn--line:hover { background: rgba(167, 130, 91, 0.14); }
.ship { font-size: 13.5px; color: var(--sand); }
.award { display: flex; align-items: center; gap: 14px; margin-top: 22px; color: var(--sand); font-size: 14px; }
.award img { width: 56px; height: auto; }

dl.spec { display: grid; grid-template-columns: minmax(110px, 160px) minmax(0, 1fr); border-top: 1px solid var(--line); }
dl.spec dt, dl.spec dd { padding: 13px 0; border-bottom: 1px solid var(--line); }
dl.spec dt { color: var(--dust); padding-top: 16px; }
dl.spec dd { color: var(--bone); }

.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 64px); }
ul.plain { list-style: none; display: grid; gap: 8px; }
ul.plain li { padding-left: 18px; position: relative; }
ul.plain li::before { content: ''; position: absolute; left: 0; top: 0.8em; width: 8px; height: 1px; background: var(--bronze); }

/* cards */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.card img { aspect-ratio: 1 / 1; object-fit: cover; background: var(--char); margin-bottom: 10px; }
.card h3 { font-size: 20px; margin: 0; }
.card .muted { font-size: 13.5px; line-height: 1.5; }
.card .lbl { color: var(--sand); margin-top: auto; padding-top: 6px; }

/* steps and facts */
ol.steps { list-style: none; display: grid; gap: 0; counter-reset: s; }
ol.steps li { display: grid; grid-template-columns: minmax(120px, 200px) minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
ol.steps li:first-child { border-top: 1px solid var(--line); }
ol.steps .lbl { color: var(--bronze); display: block; margin-top: 4px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.facts div { background: var(--ink); padding: 22px; }
.facts b { display: block; font-family: var(--display); font-weight: 200; font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; }
.facts span { display: block; margin-top: 10px; font-size: 13.5px; color: var(--sand); line-height: 1.5; }
.facts .lbl { display: block; color: var(--bone); margin-top: 10px; }

.pics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pics figure { margin: 0; }
.pics img { aspect-ratio: 4 / 5; object-fit: cover; background: var(--char); }
.pics figcaption { font-family: var(--ital); font-style: italic; color: var(--sand); font-size: 15px; margin-top: 6px; }

.gift { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(20px, 4vw, 48px); align-items: center; padding-block: 28px; border-bottom: 1px solid var(--line); }
.gift:first-of-type { border-top: 1px solid var(--line); }
.gift img { aspect-ratio: 1 / 1; object-fit: cover; background: var(--char); }
.gift .buy { margin-top: 16px; }

details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-size: 17px; color: var(--bone); list-style-position: outside; }
details p { margin-top: 10px; color: var(--sand); }

.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.cta .btn { flex: 0 0 auto; }

/* footer */
.foot { border-top: 1px solid var(--line); padding-block: 48px 64px; color: var(--sand); font-size: 14px; }
.foot .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot h2 { font-size: 10.5px; margin-bottom: 12px; color: var(--dust); line-height: 1.4; }
.foot img { height: 20px; width: auto; margin-bottom: 14px; }
.foot ul { list-style: none; display: grid; gap: 6px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--bone); }
.legal { grid-column: 1 / -1; color: var(--dust); font-size: 12.5px; }

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prod, .two, .gift { grid-template-columns: minmax(0, 1fr); }
  .prod__img, .gift > a { max-width: 360px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
  .foot .wrap > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .pics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  ol.steps li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .top nav { gap: 16px; }
  .facts b { font-size: 32px; }
}
