/* Glóandi Parfums */
@font-face { font-family: "IM Fell English"; src: url("fonts/im-fell-english-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IM Fell English"; src: url("fonts/im-fell-english-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("fonts/cinzel-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("fonts/cinzel-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
:root {
  --peat: #171a14;     /* ground */
  --peat-2: #1f231b;   /* raised ground */
  --bone: #e6dfcf;     /* primary text */
  --lichen: #9aa088;   /* secondary text */
  --ash: #3a3e33;      /* rules */
  --ember: #e3a247;    /* the glow, used only on the accent */
  --display: "IM Fell English", "Iowan Old Style", Georgia, serif;
  --brand: "Cinzel", "Trajan Pro", Georgia, serif;
  --body: "Jost", "Helvetica Neue", Arial, sans-serif;
  --measure: 34rem;
  --gutter: clamp(1rem, 5vw, 4rem);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--peat);
  color: var(--bone);
  font-family: var(--body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--bone); text-decoration-color: var(--ash); text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--ember); }
a:focus-visible { outline: 2px solid var(--ember); outline-offset: 4px; border-radius: 2px; }

.skip {
  position: absolute; left: var(--gutter); top: -3rem;
  background: var(--bone); color: var(--peat); padding: 0.5rem 0.75rem; z-index: 10;
}
.skip:focus { top: 1rem; }

/* Header */
.top {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem var(--gutter);
}
.top-mark { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; font-family: var(--brand); font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.24em; }
.top-mark svg { width: 1.3rem; height: 1.56rem; overflow: visible; }
.top-mark circle { fill: none; stroke: var(--bone); stroke-width: 4; }
.top-mark .spark { fill: var(--ember); }
.top nav { display: flex; gap: clamp(1rem, 3vw, 2.25rem); flex-wrap: wrap; }
.top nav a { text-decoration: none; color: var(--lichen); font-size: 0.95rem; padding: 0.4rem 0; }
.top nav a:hover { color: var(--bone); }

/* Hero */
.hero {
  min-height: calc(100svh - 5rem);
  display: flex; align-items: center;
  padding: 2rem var(--gutter) 5rem;
}
.hero-inner { max-width: 60rem; }
.wordmark {
  margin: 0;
  font-family: var(--brand);
  font-weight: 400;
  font-size: clamp(2.6rem, 10.5vw, 8.5rem);
  line-height: 1.1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone);
}
.wordmark .r { display: inline-block; filter: url(#rough); }
.wordmark .o { position: relative; display: inline-block; letter-spacing: 0; margin-right: 0.2em; }
.wordmark .accent {
  position: absolute;
  left: 50%;
  top: -0.13em;
  width: 0.17em;
  height: 0.24em;
  transform: translateX(-35%);
  overflow: visible;
}
.wordmark .accent path {
  fill: var(--ember);
  filter: drop-shadow(0 0 0.06em rgba(227, 162, 71, 0.75));
  animation: smoulder 5s ease-in-out infinite;
}
@keyframes smoulder {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 0.06em rgba(227, 162, 71, 0.75)); }
  50% { opacity: 0.82; filter: drop-shadow(0 0 0.14em rgba(227, 162, 71, 0.95)); }
}
.hero-sub {
  margin: 2.25rem 0 0;
  max-width: 40rem;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.45;
}
.nowrap { white-space: nowrap; }
.hero-note { margin: 0.75rem 0 0; color: var(--lichen); }
.hero-note em { font-family: var(--display); font-size: 1.15em; color: var(--bone); }

/* Shared section rhythm */
.collection, .about, .contact {
  padding: clamp(4rem, 9vw, 7rem) var(--gutter);
  border-top: 1px solid var(--ash);
}
h2 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.05;
}

/* Collection */
.section-head { max-width: var(--measure); margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section-head p { margin: 0; color: var(--lichen); }

.scents { list-style: none; margin: 0; padding: 0; max-width: 64rem; }
.scents li {
  display: grid;
  grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
  column-gap: clamp(1.5rem, 5vw, 4rem);
  padding: 1.6rem 0;
  border-top: 1px solid var(--ash);
}
.scents li:last-child { border-bottom: 1px solid var(--ash); }
.scents h3 {
  grid-row: span 2;
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  line-height: 1.1;
}
.scents .mood { margin: 0.2rem 0 0; font-size: 1.1rem; max-width: var(--measure); }
.scents .notes { margin: 0.35rem 0 0; color: var(--lichen); font-size: 0.95rem; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); column-gap: clamp(1.5rem, 5vw, 4rem); max-width: calc(64rem + 2 * var(--gutter)); }
.about-text { max-width: var(--measure); }
.about-text p { margin: 0 0 1.1rem; }
.about-text p:last-child { color: var(--lichen); margin-bottom: 0; }

/* Contact */
.contact { background: var(--peat-2); }
.contact p { margin: 0 0 0.75rem; max-width: var(--measure); }
.contact .email {
  font-family: var(--display);
  font-size: clamp(1.6rem, 4.5vw, 2.75rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.contact .markets { margin-top: 2rem; color: var(--lichen); }

/* Footer */
.foot { padding: 2rem var(--gutter); color: var(--lichen); font-size: 0.9rem; background: var(--peat-2); border-top: 1px solid var(--ash); }
.foot p { margin: 0; }

/* Small screens */
@media (max-width: 40rem) {
  .scents li, .about { grid-template-columns: minmax(0, 1fr); }
  .scents h3 { grid-row: auto; margin-bottom: 0.4rem; }
  .hero { min-height: auto; padding-top: 4rem; }
  .wordmark .r { filter: url(#rough-sm); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wordmark .accent path { animation: none; }
}
