/* ==========================================================================
   ScentScholar — desktop build (1280px design width)
   ========================================================================== */

:root {
  --blue: #0b5aa6;
  --blue-dark: #094a89;
  --blue-soft: #3d7fd1;
  --blue-tint: #eaf2fd;
  --orange: #f26a1b;
  --orange-dark: #d95a10;
  --ink: #141414;
  --text: #2b2b2b;
  --muted: #6b6f76;
  --faint: #9a9ea6;
  --line: #e4e6ea;
  --page: #f6f7f8;
  --paper: #fbf7ee;
  --green-deep: #142619;
  --green-card: #0f1d13;
  --cream: #f6f1e4;
  --gold: #c9a24a;
  --maroon: #7a1f2e;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --hand: "Kalam", "Bradley Hand", cursive;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 1280px;
  background: #fff;
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }

.wrap { position: relative; width: 1280px; margin: 0 auto; }

.serif { font-family: var(--serif); font-weight: 400; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow svg { width: 10px; height: 10px; }
.eyebrow--orange { color: var(--orange); }
.caps { text-transform: uppercase; letter-spacing: 0.16em; }
.icon { display: inline-block; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: 81px; background: #fff; border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 80px; }
.brand { position: absolute; left: 24px; top: 26px; display: flex; align-items: center; gap: 8px; height: 28px; }
.brand img { width: 24px; height: 24px; object-fit: contain; }
.brand span {
  font-family: var(--serif); font-size: 19px; font-weight: 600; letter-spacing: 0.2em;
  color: var(--ink); line-height: 28px;
}
.main-nav { position: absolute; left: 511px; top: 32px; display: flex; gap: 40px; }
.main-nav a {
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink); line-height: 17px; transition: color .2s;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--blue); }
.main-nav a.is-disabled { color: var(--faint); cursor: default; }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue); color: #fff; border-radius: 4px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  transition: background .2s;
}
.btn-primary:hover { background: var(--blue-dark); }
.site-header .btn-primary { position: absolute; left: 1105px; top: 22px; width: 151px; height: 36px; }

/* ---------- Subheader ---------- */
.subheader { height: 38px; background: #fff; border-bottom: 1px solid var(--line); }
.subheader .wrap { height: 37px; }
.subheader .coords {
  position: absolute; left: 24px; top: 10px;
  font-size: 10.5px; letter-spacing: 0.2em; color: var(--muted); line-height: 17px;
}
.audiences { position: absolute; right: 24px; top: 10px; display: flex; gap: 24px; }
.audiences span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); line-height: 17px;
}
.audiences svg { width: 16px; height: 16px; color: var(--blue); }

/* ---------- Footer ---------- */
.site-footer { background: #0b0b0b; color: #fff; height: 109px; }
.site-footer .wrap { height: 109px; }
.f-brand { position: absolute; left: 88px; top: 33px; }
.f-brand strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 17px; letter-spacing: 0.24em; line-height: 24px; }
.f-brand small { display: block; margin-top: 4px; font-size: 10px; color: #7d7d7d; line-height: 16px; }
.f-links { position: absolute; left: 315px; top: 47px; display: flex; gap: 12px; font-size: 10px; color: #8a8a8a; line-height: 16px; }
.f-links a:hover { color: #fff; }
.f-ateliers { position: absolute; left: 538px; top: 37px; font-size: 10px; line-height: 16px; color: #8a8a8a; }
.f-ateliers .t { color: #fff; font-weight: 700; letter-spacing: 0.2em; }
.f-ateliers em { margin-left: 8px; color: #6d6d6d; }
.f-ateliers .cities { display: flex; gap: 12px; margin-top: 4px; }
.f-ateliers .sep { color: #444; }
.f-social { position: absolute; left: 1007px; top: 39px; display: flex; align-items: center; gap: 10px; }
.f-social .t { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; margin-right: 2px; }
.f-social a {
  width: 32px; height: 32px; border-radius: 6px; background: #222; display: grid; place-items: center;
  transition: background .2s;
}
.f-social a:hover { background: #3a3a3a; }
.f-social svg { width: 16px; height: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 720px; overflow: hidden; background: #1d2418; }
.hero .bg { position: absolute; left: 50%; top: -95px; width: 1280px; height: 911px; transform: translateX(-50%); object-fit: cover; }
@media (min-width: 1281px) { .hero .bg { width: 100%; left: 0; transform: none; } }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.7) 35%, rgba(0,0,0,.42) 62%, rgba(0,0,0,.32) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 45%), linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,0) 22%);
}
.hero .wrap { position: relative; z-index: 1; height: 720px; }
.hero .label { position: absolute; left: 72px; top: 220px; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; color: #6aa5ee; }
.hero h1 {
  position: absolute; left: 72px; top: 258px; width: 720px;
  font-family: var(--serif); font-weight: 400; font-size: 69px; line-height: 72px; color: #fff; letter-spacing: -0.01em;
}
.hero .intro {
  position: absolute; left: 72px; top: 356px; width: 576px; padding-left: 18px;
  border-left: 2px solid var(--blue-soft);
  font-size: 17px; line-height: 28px; font-weight: 300; color: rgba(255,255,255,.88);
}
.btn-ghost {
  position: absolute; left: 72px; top: 460px; width: 203px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.55); background: rgba(0,0,0,.25); border-radius: 3px;
  color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  transition: background .2s, border-color .2s;
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ---------- Manifesto ---------- */
.manifesto { position: relative; height: 504px; background: #fff; overflow: hidden; border: 6px solid var(--orange); }
.manifesto .wrap { height: 492px; }
.manifesto .eyebrow { position: absolute; left: 53px; top: 63px; }
.manifesto h2 {
  position: absolute; left: 53px; top: 99px; width: 485px;
  font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 44px; line-height: 48px; color: var(--ink);
}
.manifesto .date { position: absolute; left: 53px; top: 219px; font-size: 10px; letter-spacing: 0.2em; color: var(--muted); }
.btn-orange {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--orange); color: #fff; border-radius: 3px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  transition: background .2s;
}
.btn-orange:hover { background: var(--orange-dark); }
.btn-orange svg { width: 7px; height: 7px; }
.manifesto .btn-orange { position: absolute; left: 53px; top: 253px; width: 162px; height: 33px; }
.ss-row { position: absolute; left: 53px; top: 306px; width: 411px; height: 57px; display: flex; gap: 16px; border-bottom: 1px solid var(--line); }
.ss-row .ico { width: 32px; height: 32px; margin-top: 2px; color: var(--orange); }
.ss-row strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 17px; line-height: 23px; color: var(--ink); }
.ss-row small { display: block; margin-top: 5px; font-size: 9px; letter-spacing: 0.16em; color: var(--muted); }
.latest { position: absolute; left: 36px; top: 369px; width: 428px; height: 97px; padding: 10px 20px; }
.latest .t { font-size: 9px; letter-spacing: 0.18em; color: var(--muted); line-height: 15px; }
.latest a { display: flex; align-items: center; gap: 12px; margin-top: 6px; padding: 9px; border-radius: 6px; transition: background .2s; }
.latest a:hover { background: #f5f6f8; }
.latest img { width: 48px; height: 48px; object-fit: cover; border-radius: 4px; }
.latest .meta { flex: 1; }
.latest .meta .row { display: flex; justify-content: space-between; font-size: 8.5px; letter-spacing: 0.14em; color: var(--muted); }
.latest .meta .row b { color: var(--orange); font-weight: 600; }
.latest .meta .title { font-family: var(--serif); font-size: 13px; color: var(--ink); line-height: 16px; margin-top: 2px; }
.latest .chev { width: 6px; height: 9px; color: var(--muted); }

.mf-art { position: absolute; top: 0; right: 0; width: 798px; height: 492px; }
/* On windows wider than 1280px the whole group (and so the hand) follows the right edge.
   The papers hold still for the first 60px of extra room, then follow at half speed,
   so on a wide screen they stay closer to the headline while the hand moves further out. */
.mf-art { --extra: max(0px, (100vw - 1280px) / 2); }
.mf-papers { position: absolute; inset: 0; transform: translateX(calc(max(0px, (var(--extra) - 60px) * 0.5) - var(--extra))); }
.envelope { position: absolute; left: -3px; top: -22px; width: 832px; transform: rotate(3deg); transform-origin: center; }
.note {
  position: absolute; left: 39px; top: 88px; width: 687px; height: 366px; overflow: hidden;
  background: var(--paper); border-radius: 3px;
  box-shadow: 0 18px 40px rgba(60,40,10,.22), 0 2px 6px rgba(60,40,10,.12);
  transform: rotate(-4deg); transform-origin: 40% 50%;
}
.note .quote {
  position: absolute; left: 49px; top: 38px; width: 560px; white-space: nowrap;
  font-family: var(--hand); font-size: 20px; line-height: 35px; color: #2a2a2a;
}
.note .interest { position: absolute; left: 49px; top: 192px; }
.note .interest .t { font-family: var(--hand); font-size: 12px; font-weight: 700; color: var(--blue); letter-spacing: .04em; }
.note .interest li { display: flex; gap: 7px; font-size: 9.5px; letter-spacing: 0.1em; color: #333; line-height: 18px; }
.note .interest li i { font-style: normal; color: #8a6d2a; font-size: 9px; }
.note .sign-name { position: absolute; left: 60px; top: 294px; font-family: var(--hand); font-weight: 700; font-size: 31px; color: #111; transform: rotate(-5deg) skew(-6deg); transform-origin: left bottom; }
.note .signature { position: absolute; left: 40px; top: 250px; width: 330px; }
.note .rule { position: absolute; left: 50px; right: 56px; bottom: 0; height: 90px; }
.handpen { position: absolute; left: 362px; top: 127px; width: 485px; pointer-events: none; }

/* ---------- Learn / Open Bottle ---------- */
.learn {
  position: relative; padding: 66px 0 96px;
  background-color: #f1f2f4;
  background-image: repeating-linear-gradient(135deg, transparent 0 34px, #dfe5ee 34px 56px);
}
.learn .head { text-align: center; }
.learn .head h2 { margin-top: 18px; font-family: var(--serif); font-weight: 400; font-size: 52px; line-height: 48px; color: var(--ink); }
.ob-card {
  position: relative; width: 1104px; margin: 64px auto 0;
  background: #fff; border-radius: 24px; padding: 49px 49px 49px;
  box-shadow: 0 20px 50px rgba(20,40,80,.08), 0 2px 8px rgba(20,40,80,.05);
}
.ob-brand { display: flex; align-items: flex-start; gap: 14px; height: 84px; border-bottom: 1px solid var(--line); }
.ob-brand img { width: 64px; height: 64px; object-fit: cover; margin-top: -2px; }
.ob-brand h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 30px; color: var(--ink); margin-top: -2px; }
.ob-grid { display: flex; gap: 31px; margin-top: 32px; }
.ob-left { width: 574px; }
.ob-left h3 { font-family: var(--serif); font-weight: 400; font-size: 29px; line-height: 36px; color: var(--ink); }
.ob-left .lead { margin-top: 8px; font-size: 13.5px; line-height: 20px; color: var(--muted); }
.video { position: relative; margin-top: 20px; width: 574px; height: 351px; border-radius: 12px; overflow: hidden; border: 1px solid #ddd; box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.video img { width: 100%; height: 100%; object-fit: cover; }
.video .chip {
  position: absolute; right: 16px; bottom: 16px; height: 27px; padding: 0 12px;
  display: flex; align-items: center; gap: 8px; border-radius: 4px;
  background: rgba(15,15,15,.82); backdrop-filter: blur(6px);
  color: #fff; font-size: 9.5px; font-weight: 600; letter-spacing: 0.16em;
}
.video .chip svg { width: 14px; height: 10px; color: #9cc3f5; }
.video .play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(15,15,15,.72); backdrop-filter: blur(6px); color: #fff; cursor: pointer; box-shadow: 0 8px 20px rgba(0,0,0,.25); transition: transform .2s, background .2s; }
.video .play svg { width: 28px; height: 28px; margin-left: 3px; }
.video .play:hover, .video .play:focus-visible { transform: scale(1.08); background: var(--blue); }
.video img { cursor: pointer; }
.video.is-playing { background: #000; }
.video.is-playing img, .video.is-playing .play, .video.is-playing .chip { display: none; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.community { margin-top: 20px; }
.community h4 { display: flex; align-items: center; gap: 8px; font-family: var(--sans); font-weight: 500; font-size: 17px; color: var(--ink); line-height: 28px; }
.community h4 svg { width: 18px; height: 18px; color: var(--blue); }
.community p { margin-top: 8px; font-size: 12.5px; line-height: 20px; color: var(--muted); }
.community ul { display: flex; gap: 16px; margin-top: 16px; }
.community li { display: flex; gap: 6px; font-size: 13px; color: #4a4e55; line-height: 20px; }
.community li i { font-style: normal; color: var(--blue); }

.ob-right { width: 400px; }
.levels { height: 140px; border-radius: 12px; background: #f1f2f4; border: 1px solid #e3e5e9; padding: 16px 16px 0; }
.levels .top { display: flex; gap: 8px; align-items: center; font-size: 9.5px; letter-spacing: 0.14em; line-height: 15px; padding-left: 16px; }
.levels .top b { color: var(--blue); display: inline-flex; gap: 6px; align-items: center; }
.levels .top b svg { width: 12px; height: 10px; }
.levels .top span { color: var(--muted); }
.tablist { display: flex; gap: 9px; margin-top: 9px; padding: 6px 5px; background: #fafafa; border-radius: 10px; }
.tab {
  position: relative; width: 112px; height: 68px; text-align: left; padding: 12px 13px;
  background: #f4f5f7; border: 1px solid #ebedf0; border-radius: 6px; transition: all .2s;
}
.tab:hover { background: #fff; }
.tab .n { display: block; font-size: 9px; color: var(--faint); line-height: 14px; }
.tab .dot { position: absolute; right: 14px; top: 18px; width: 8px; height: 8px; border-radius: 50%; background: #d7dbe1; }
.tab .l { display: block; margin-top: 12px; font-family: var(--serif); font-size: 12px; color: var(--muted); line-height: 15px; }
.tab.is-active { background: #fff; border: 2px solid var(--blue); box-shadow: 0 4px 10px rgba(11,90,166,.12); padding: 11px 12px; }
.tab.is-active .n { color: var(--blue); }
.tab.is-active .dot { background: var(--blue); }
.tab.is-active .l { color: var(--ink); }

.featured {
  position: relative; overflow: hidden; margin-top: 16px; height: 399px; border-radius: 12px;
  background: linear-gradient(160deg, #f3f8ff 0%, #e6f0fc 100%); border: 1px solid #d3e2f5; padding: 33px 33px 0;
}
.featured .sil { position: absolute; left: 175px; top: 81px; width: 256px; height: 324px; object-fit: contain; opacity: .55; pointer-events: none; }
.featured > * { position: relative; }
.featured .sil { position: absolute; }
.featured .k { margin-top: 21px; font-size: 9px; font-weight: 700; letter-spacing: 0.2em; color: var(--blue); }
.featured h4 { margin-top: 4px; font-family: var(--serif); font-weight: 400; font-size: 25px; line-height: 32px; color: var(--ink); }
.featured .host { margin-top: 4px; font-size: 11px; color: var(--muted); }
.featured .price { position: absolute; right: 18px; top: 32px; text-align: right; }
.featured .price b { display: block; font-family: var(--serif); font-weight: 700; font-size: 36px; line-height: 40px; color: var(--ink); }
.featured .price span { font-size: 10.5px; color: var(--muted); letter-spacing: .05em; }
.featured ul { margin-top: 27px; }
.featured li { display: flex; gap: 8px; align-items: center; font-size: 12px; color: #3c4047; line-height: 16px; height: 28px; }
.featured li svg { width: 14px; height: 14px; color: var(--blue); }
.featured .btn-primary { margin-top: 28px; width: 334px; height: 44px; border-radius: 6px; box-shadow: 0 6px 14px rgba(11,90,166,.25); }
.featured .btn-primary.is-disabled { background: #9db3cc; box-shadow: none; cursor: default; }
.featured .fine { margin-top: 10px; text-align: center; font-size: 10px; line-height: 15px; color: var(--muted); padding: 0 6px; }
.featured .soon { margin-top: 20px; font-size: 12.5px; line-height: 19px; color: #3c4047; font-style: italic; }

.minis { display: flex; gap: 15px; margin-top: 16px; }
.mini {
  position: relative; overflow: hidden; width: 193px; height: 128px; padding: 16px; text-align: left;
  background: #f4f5f7; border: 1px solid #e3e5e9; border-radius: 10px; transition: background .2s, transform .2s;
}
.mini:hover { background: #fff; transform: translateY(-2px); }
.mini .num { position: absolute; right: -4px; top: -10px; font-family: var(--serif); font-weight: 700; font-size: 38px; color: rgba(0,0,0,.06); line-height: 40px; }
.mini .row { display: flex; justify-content: space-between; align-items: center; }
.mini .row span { font-size: 8.5px; letter-spacing: 0.12em; color: var(--muted); }
.mini .row em { font-style: normal; font-size: 8px; letter-spacing: .08em; background: #e4e6ea; color: #555; padding: 2px 6px; border-radius: 3px; }
.mini h5 { margin-top: 8px; font-family: var(--serif); font-weight: 400; font-size: 14px; line-height: 19px; color: var(--ink); }
.mini p { margin-top: 5px; font-size: 10.5px; line-height: 15px; color: var(--muted); font-style: italic; }

/* ---------- Connect ---------- */
.connect { position: relative; height: 418px; background: #e7eff9; overflow: hidden; }
.connect .wrap { height: 418px; }
.connect .molecule { position: absolute; left: 0; top: 0; width: 1280px; height: 418px; pointer-events: none; }
.connect .eyebrow { position: absolute; left: 88px; top: 64px; }
.connect h2 { position: absolute; left: 88px; top: 109px; width: 330px; font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 48px; color: var(--ink); }
.connect .divider { position: absolute; left: 88px; top: 221px; width: 48px; height: 2px; background: var(--blue-soft); }
.connect .welcome { position: absolute; left: 88px; top: 259px; display: flex; gap: 14px; width: 420px; }
.connect .welcome .badge { width: 44px; height: 44px; margin-top: 2px; border-radius: 7px; background: #d9e5f5; border: 1px solid #a9c2e4; display: grid; place-items: center; box-shadow: 0 1px 3px rgba(11,90,166,.12); flex: none; }
.connect .welcome .badge svg { width: 22px; height: 22px; color: #2a64b2; }
.connect .welcome b { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em; color: var(--blue); line-height: 17px; }
.connect .welcome p { margin-top: 6px; font-size: 13px; line-height: 20px; color: #4a4e55; }
.inquiry {
  position: absolute; left: 568px; top: 49px; width: 624px; height: 267px; padding: 25px;
  background: #fff; border: 1px solid #d9e3ef; border-radius: 14px; box-shadow: 0 10px 30px rgba(20,50,90,.08);
}
.inquiry > p { font-size: 12.5px; line-height: 19.5px; color: #4a4e55; }
.mail {
  display: flex; align-items: center; gap: 12px; margin-top: 14px; height: 67px; padding: 0 13px;
  border: 1px solid #e1e5ea; border-radius: 10px; transition: border-color .2s, box-shadow .2s;
}
/* the address is plain text (not a mail link): no hover effect, but it can still be selected and copied */
.mail { cursor: default; }
.mail strong { user-select: text; cursor: text; }
.mail .tile { width: 36px; height: 36px; border-radius: 6px; background: #f7c948; display: grid; place-items: center; box-shadow: 0 2px 4px rgba(0,0,0,.1); }
.mail .tile svg { width: 17px; height: 17px; color: #fff; margin: 1px 1px 0 0; }
.mail small { display: block; font-size: 8.5px; letter-spacing: 0.16em; color: var(--muted); line-height: 14px; }
.mail strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 18px; line-height: 24px; color: var(--ink); }
.bespoke { margin-top: 14px; height: 46px; padding: 0 13px; display: flex; align-items: center; background: #fdf9ef; border: 1px solid #efe4c8; border-radius: 6px; font-size: 12.5px; color: #4a4e55; }
.bespoke u { color: var(--blue); text-underline-offset: 2px; }
.inquiry .note-line { margin-top: 13px; padding-top: 9px; border-top: 1px solid var(--line); display: flex; gap: 8px; align-items: center; font-size: 9.5px; color: var(--faint); }
.inquiry .note-line svg { width: 10px; height: 10px; color: var(--blue); }

/* ---------- Substack (Learn page) ---------- */
.substack {
  position: relative; height: 760px; color: #fff;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(60,90,55,.35), transparent 60%),
    radial-gradient(ellipse at 90% 100%, rgba(40,70,40,.3), transparent 55%),
    var(--green-deep);
}
.substack .wrap { height: 760px; }
.ss-head { position: absolute; left: 88px; top: 66px; width: 1104px; height: 105px; border-bottom: 1px solid rgba(255,255,255,.12); }
.ss-head h2 { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 48px; }
.ss-head p { margin-top: 8px; font-size: 10.5px; letter-spacing: 0.24em; color: rgba(255,255,255,.6); }
.ss-head .bm { position: absolute; right: 0; top: 4px; width: 64px; height: 64px; border-radius: 12px; background: var(--orange); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(242,106,27,.35); }
.ss-head .bm svg { width: 36px; height: 36px; color: #fff; }
.ss-emblem {
  position: absolute; left: 88px; top: 255px; width: 341px; height: 406px; text-align: center;
  background: var(--green-card); border: 1px solid rgba(255,255,255,.08); border-radius: 12px;
}
.ss-emblem .em { width: 192px; height: 192px; margin: 33px auto 0; border-radius: 10px; overflow: hidden; border: 1px solid rgba(201,162,74,.3); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.ss-emblem .em img { width: 100%; height: 100%; object-fit: cover; }
.ss-emblem .pub { display: inline-block; margin-top: 11px; padding: 3px 12px; font-size: 9px; font-weight: 700; letter-spacing: 0.24em; color: var(--gold); background: rgba(201,162,74,.12); border: 1px solid rgba(201,162,74,.35); border-radius: 2px; }
.ss-emblem p { margin: 10px auto 0; width: 273px; font-size: 12px; line-height: 19.5px; color: rgba(255,255,255,.78); }
.ss-emblem .btn-orange { margin-top: 24px; width: 275px; height: 40px; font-size: 10.5px; }
.ss-cards { position: absolute; left: 469px; top: 255px; display: flex; gap: 20px; }
.ss-card {
  display: block; position: relative; width: 228px; height: 406px; padding: 24px 25px;
  background: var(--cream); color: var(--ink); border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: transform .2s;
}
.ss-card:hover { transform: translateY(-4px); }
.ss-card .row { display: flex; justify-content: space-between; font-size: 8.5px; letter-spacing: 0.12em; color: #777; line-height: 14px; }
.ss-card h4 { margin-top: 26px; font-family: var(--serif); font-weight: 400; font-size: 19px; line-height: 27px; height: 55px; }
.ss-card p { margin-top: 10px; font-size: 11px; line-height: 19.5px; color: #666; height: 59px; }
.ss-card .ph { position: absolute; left: 25px; top: 171px; width: 178px; height: 145px; border-radius: 5px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,.18); border: 1px solid rgba(0,0,0,.08); }
.ss-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.ss-card .foot { position: absolute; left: 25px; right: 25px; bottom: 24px; height: 34px; padding-top: 16px; border-top: 1px solid rgba(0,0,0,.1); display: flex; justify-content: space-between; font-size: 9px; letter-spacing: 0.12em; color: #777; }
.ss-card .foot b { color: var(--blue); font-weight: 700; letter-spacing: 0; font-size: 11px; }
.back-home { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em; }
.back-home svg { width: 14px; height: 14px; }
.substack .back-home { position: absolute; left: 586px; top: 701px; color: rgba(255,255,255,.75); }
.substack .back-home:hover { color: #fff; }

/* ---------- About ---------- */
.about-page { background: #f7f7f7; padding: 52px 0 55px; }
.about-box { position: relative; width: 1064px; margin: 0 auto; border: 1px solid #e2e2e2; background: #f8f8f8; }
.about-box .abs { position: absolute; }
.about-head { left: 0; right: 0; top: 64px; text-align: center; }
.about-head h1 { margin-top: 12px; font-family: var(--serif); font-weight: 400; font-size: 72px; line-height: 72px; color: var(--ink); letter-spacing: -0.02em; }
.about-head p { margin-top: 8px; font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 36px; color: #5d6168; }
.chap-label { display: flex; align-items: center; gap: 8px; font-size: 9.5px; letter-spacing: 0.16em; color: var(--muted); line-height: 15px; }
.chap-label svg { width: 14px; height: 14px; color: var(--blue); }
.story-card { background: #fff; border: 1px solid #e3e3e3; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.05); padding: 33px; }
.story-card .p { font-size: 12.5px; line-height: 28px; color: #3d4046; }
.story-card blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 15.5px; line-height: 27px; color: #2b2e33; }
.story-card .bq-left { margin-top: 16px; padding-left: 18px; border-left: 2px solid var(--blue); }
.story-card .photo { margin-top: 24px; width: 464px; height: 169px; border-radius: 6px; overflow: hidden; border: 1px solid #ddd; }
.story-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.story-card .cap { margin-top: 8px; font-size: 8.5px; letter-spacing: 0.14em; color: var(--faint); }
.story-card hr { border: 0; height: 2px; background: #d0d0d0; margin: 10px -11px 12px; }
.map { pointer-events: none; }
.pin { position: absolute; width: 24px; height: 24px; color: var(--maroon); }
.pin-label { position: absolute; padding: 4px 8px; background: #fff; border-radius: 3px; box-shadow: 0 2px 6px rgba(0,0,0,.15); font-size: 8.5px; font-weight: 700; letter-spacing: 0.12em; color: #111; white-space: nowrap; }
.route { pointer-events: none; }

.specimen { position: absolute; pointer-events: none; transition: transform .25s ease; }
.specimen.is-hover { transform: scale(1.04); }
/* all shadow / highlight / dimming effects live on the image itself, never on its frame:
   some browsers (Safari) clip an image's shadow to a filtered parent's box */
.specimen.is-hover img { filter: drop-shadow(0 14px 16px rgba(0,0,0,.14)) drop-shadow(0 6px 12px rgba(0,0,0,.18)) brightness(1.04); }
.about-box.dim-plants .specimen.plant:not(.is-hover) img,
.about-box.dim-bottles .specimen:not(.plant):not(.is-hover) img { filter: drop-shadow(0 14px 16px rgba(0,0,0,.14)) brightness(.72); }
.specimen img { width: 100%; height: 100%; object-fit: contain; }
.specimen img { filter: drop-shadow(0 14px 16px rgba(0,0,0,.14)); transition: filter .25s ease; }
.tip {
  position: absolute; z-index: 20; width: 220px; padding: 10px 12px; border-radius: 0;
  background: rgba(20,20,20,.92); color: #fff; font-size: 11px; line-height: 16px;
  pointer-events: none; opacity: 0; transform: translateY(10px) scale(.97); transform-origin: 50% 0; transition: opacity .3s ease, transform .45s cubic-bezier(.2,.8,.2,1);
}
.tip.is-on { opacity: 1; transform: none; pointer-events: auto; }
.tip b { display: block; font-family: var(--sans); font-size: 13.5px; font-weight: 600; letter-spacing: 0.01em; margin-bottom: 2px; } /* names share the descriptor text's font */

/* Aromachemical pop-up */
.tip--aroma { width: 460px; padding: 0 14px 11px; border-radius: 0; overflow: hidden; }
.aroma {
  position: relative; display: flex; align-items: flex-end; min-height: 64px; margin: 0 -14px; padding: 8px 14px 7px;
}
.aroma-media { position: absolute; inset: 0; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 100%); }
.aroma-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: aromaDrift 7s ease-in-out infinite alternate both; }
.aroma::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.38) 55%, rgba(0,0,0,0) 100%); }
.aroma-text { position: relative; z-index: 2; animation: aromaRise .5s .08s cubic-bezier(.2,.8,.2,1) both; min-width: 0; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.aroma-note { display: inline-block; margin-bottom: 3px; padding: 1px 6px; border-radius: 0; background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.28); color: rgba(255,255,255,.82); font-size: 8.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; text-shadow: none; backdrop-filter: blur(4px); }
.tip--aroma b { margin: 0; font-size: 16px; line-height: 20px; color: #fff; }
.aroma-alt { display: block; margin-top: 1px; font-family: var(--serif); font-style: italic; font-size: 11px; line-height: 14px; color: rgba(255,255,255,.62); }
.aroma-body { animation: aromaRise .5s .16s cubic-bezier(.2,.8,.2,1) both; display: grid; grid-template-columns: 1fr auto 1.25fr; gap: 8px; align-items: start; margin-top: 8px; }
.aroma-scent { margin: 0; padding-right: 4px; font-family: var(--sans); font-style: normal; font-weight: 400; font-size: 12.5px; line-height: 17px; color: #fff; }
.aroma-arrow { padding-top: 12px; font-size: 17px; line-height: 1; color: rgba(255,255,255,.4); }
.aroma-scent span { display: block; margin-bottom: 2px; font-family: var(--sans); font-style: normal; font-size: 8.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.aroma-use { margin: 0; padding: 6px 10px 7px; background: none; border: 1px solid rgba(255,255,255,.22); border-radius: 0; font-size: 11.5px; line-height: 15px; color: rgba(255,255,255,.9); }
.aroma-use span { display: block; margin-bottom: 2px; font-size: 8.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.tip em { font-style: italic; }
.botany-hint b { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-weight: 600; font-size: 13px; color: var(--ink); line-height: 20px; }
.botany-hint b svg { width: 18px; height: 18px; color: var(--blue); }
.botany-hint p { margin-top: 4px; width: 188px; font-size: 10.5px; line-height: 17px; color: var(--muted); }

.about-flow { position: relative; z-index: 2; margin-top: 1825px; padding-bottom: 54px; }
.drawer-wrap { width: 572px; margin-left: 248px; text-align: center; }
.drawer-btn { display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 16px; font-family: var(--serif); font-weight: 500; font-size: 15.5px; color: var(--ink); }
.drawer-btn .i { width: 18px; height: 18px; border-radius: 50%; background: #6f9be0; color: #fff; font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 12px; display: grid; place-items: center; }
.drawer-btn .car { width: 8px; height: 8px; color: var(--muted); transition: transform .25s; }
.drawer-btn[aria-expanded="true"] .car { transform: rotate(180deg); }
.drawer { overflow: hidden; max-height: 0; opacity: 0; transition: max-height .4s ease, opacity .3s ease; }
.drawer.is-open { max-height: 260px; opacity: 1; }
.drawer-inner { padding: 30px 0 4px; }
.drawer-inner h4 { font-family: var(--serif); font-weight: 500; font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.drawer-inner p { margin: 14px auto 0; width: 560px; font-size: 13.5px; line-height: 24px; color: #5d6168; }
.drawer-inner .hint { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 16px; font-size: 12.5px; font-weight: 500; color: var(--blue); }
.drawer-inner .hint svg { width: 16px; height: 16px; }

.discovery { margin: 43px 0 0 245px; width: 600px; height: 124px; background: #fff; border: 1px solid #cfdcee; border-radius: 12px; display: grid; place-items: center; text-align: center; box-shadow: 0 6px 20px rgba(11,90,166,.06); }
.discovery h3 { width: 447px; font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 40px; color: var(--blue); }
.mission { margin: 46px 0 0 213px; width: 638px; background: #efefef; border: 1px solid #e0e0e0; border-radius: 10px; text-align: center; padding: 45px 34px 40px; box-shadow: 0 2px 6px rgba(0,0,0,.04); }
.mission .k { font-size: 9.5px; font-weight: 700; letter-spacing: 0.2em; color: var(--blue); }
.mission .big { margin: 12px auto 0; width: 570px; font-size: 17px; line-height: 33px; color: #44474d; font-weight: 300; }
.mission .small { margin: 24px auto 0; width: 466px; font-size: 9.5px; line-height: 20px; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; }
.mission .welcome { margin: 40px auto 0; width: fit-content; white-space: nowrap; padding-top: 20px; border-top: 1px solid #c3d0e8; font-family: var(--serif); font-size: 30px; line-height: 36px; color: var(--ink); }
.mission .back-home { display: flex; width: fit-content; margin: 40px auto 0; color: var(--muted); }
.mission .back-home:hover { color: var(--ink); }

/* ---------- Privacy ---------- */
.legal { width: 1104px; margin: 0 auto; padding: 72px 0 112px; color: #33363c; }
.legal-head { padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.legal-head h1 { margin-top: 14px; font-family: var(--serif); font-weight: 400; font-size: 60px; line-height: 68px; color: var(--ink); }
.legal-head .updated { margin-top: 10px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.legal-grid { display: grid; grid-template-columns: 240px 1fr; gap: 80px; margin-top: 48px; }

.toc { position: sticky; top: 113px; align-self: start; }
.toc-title { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); }
.toc ol { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: toc; border-left: 1px solid var(--line); }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: 13px; line-height: 18px; color: var(--muted); transition: color .2s, border-color .2s; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-size: 10px; color: var(--faint); padding-top: 2px; }
.toc a:hover, .toc a.is-current { color: var(--ink); border-left-color: var(--blue); }

.legal-body { max-width: 720px; }
.legal-body p, .legal-body li, .legal-body dd { font-size: 15px; line-height: 26px; }
.legal-body p { margin-top: 14px; }
.legal-body .lede { margin-top: 0; font-family: var(--serif); font-size: 21px; line-height: 33px; color: var(--ink); }
.legal-body h2 { margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line); font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 40px; color: var(--ink); scroll-margin-top: 110px; }
.legal-body h2:first-of-type { margin-top: 56px; }
.legal-body h3 { margin-top: 44px; font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 28px; color: var(--ink); }
.legal-body h4 { margin-top: 30px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); }
.legal-body h4 + p { margin-top: 10px; }
.legal-body ul { margin-top: 14px; padding: 0; }
.legal-body ul > li { position: relative; padding-left: 22px; margin-top: 10px; }
.legal-body ul > li::before { content: "✦"; position: absolute; left: 0; top: 0; font-size: 10px; color: var(--blue); }
.legal-body strong { font-weight: 600; color: var(--ink); }
.legal-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.defs { margin: 20px 0 0; border-top: 1px solid var(--line); }
.defs dt { float: left; clear: left; width: 150px; padding: 14px 0; font-family: var(--serif); font-weight: 600; font-size: 15px; line-height: 26px; color: var(--ink); }
.defs dd { margin: 0; padding: 14px 0 14px 170px; border-bottom: 1px solid var(--line); }
.defs .sub { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); }

.cookie-cards, .retention { display: grid; gap: 14px; margin-top: 20px; }
.retention { grid-template-columns: 1fr 1fr; }
.cookie, .retention section { padding: 22px 24px; background: var(--page); border: 1px solid var(--line); border-radius: 10px; }
.cookie h5, .retention h5 { font-family: var(--serif); font-weight: 600; font-size: 17px; line-height: 24px; color: var(--ink); }
.cookie dl { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 10px 0 0; }
.cookie dt, .cookie dd { margin: 0; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; line-height: 16px; }
.cookie dt { color: var(--faint); }
.cookie dd { color: var(--blue); font-weight: 700; margin-right: 14px; }
.cookie p { margin-top: 10px; font-size: 14px; line-height: 23px; }
.retention li { font-size: 14px; line-height: 23px; }

.contact-card { display: inline-block; margin-top: 18px; padding: 20px 28px 20px 24px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 6px; }
.contact-card .k { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); }
.contact-card address { margin-top: 6px; font-style: normal; font-family: var(--serif); font-size: 17px; line-height: 26px; color: var(--ink); }

/* pop-up motion: the photo drifts slowly, the text settles in after the box */
@keyframes aromaDrift { from { transform: scale(1.12) translateX(-2%); } to { transform: scale(1.02) translateX(0); } }
@keyframes aromaRise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .tip, .aroma-bg, .aroma-text, .aroma-body { animation: none !important; transition: opacity .2s !important; transform: none !important; }
}

/* pointing-hand hints on the About page: gentle, continuous pulse */
.hand { transform-origin: 50% 60%; animation: handPulse 1.8s ease-in-out infinite; }
@keyframes handPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.14); opacity: .7; }
}
@media (prefers-reduced-motion: reduce) { .hand { animation: none; } }

/* ---------- Italy map: interactive places ---------- */
button.pin { padding: 0; border: 0; background: none; cursor: pointer; z-index: 4; }
button.pin svg { position: relative; display: block; width: 24px; height: 24px; transition: transform .25s ease; }
button.pin:hover svg { transform: translateY(-2px); }
button.pin svg { z-index: 1; }
/* selected place: the pin grows from its point, and a soft "ping" ripples on the ground beneath it */
button.pin svg { transform-origin: 50% 92%; filter: drop-shadow(0 0 0 rgba(122,31,46,0)); transition: transform .35s cubic-bezier(.2,.8,.2,1), filter .35s ease; }
.pin--city.is-selected svg { transform: scale(1.3); filter: drop-shadow(0 3px 4px rgba(122,31,46,.35)); }
.pin--city.is-selected:hover svg { transform: scale(1.3) translateY(-1px); }
.pin-ring {
  position: absolute; left: 12px; top: 22px; width: 18px; height: 7px; margin: -3.5px 0 0 -9px;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(122,31,46,.45), rgba(122,31,46,0));
  opacity: 0; transform: scale(.4); pointer-events: none;
}
.pin--city.is-selected .pin-ring { animation: pinPing 2.2s ease-out infinite; }
@keyframes pinPing {
  0% { opacity: .9; transform: scale(.4); }
  70% { opacity: 0; transform: scale(2.4); }
  100% { opacity: 0; transform: scale(2.4); }
}
@media (prefers-reduced-motion: reduce) { .pin--city.is-selected .pin-ring { animation: none; opacity: .6; transform: scale(1.2); } }

.pin-label--city { cursor: pointer; z-index: 5; overflow: hidden; transition: width .4s cubic-bezier(.2,.8,.2,1), top .4s cubic-bezier(.2,.8,.2,1), left .4s cubic-bezier(.2,.8,.2,1), padding .3s ease, box-shadow .3s ease; }
.pin-label--city:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.pl-name { display: block; white-space: nowrap; }
.pl-name::after { content: ""; display: block; height: 1px; margin: 0; background: #e6e7ea; transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2,.8,.2,1), margin .3s ease; }
.pin-label--city.is-open .pl-name::after { margin-top: 7px; transform: scaleX(1); transition-delay: .1s; }
.pl-body p { margin: 0; }
.pl-body strong { font-weight: 600; color: #1f2125; }
.pl-body u { text-decoration-color: rgba(122,31,46,.55); text-decoration-thickness: 1px; text-underline-offset: 2.5px; }
.pl-body p + p { margin-top: 8px; }
/* while collapsed, the hidden text is taken out of the flow so it can't widen the name tag */
.pin-label--city:not(.is-open) .pl-body { position: absolute; left: 0; top: 0; width: 1px; }
.pl-body {
  display: block; max-height: 0; opacity: 0; overflow: hidden;
  white-space: normal; letter-spacing: 0; text-transform: none;
  font-weight: 400; font-size: 11px; line-height: 17px; color: #3d4046;
  transition: max-height .4s cubic-bezier(.2,.8,.2,1), opacity .3s ease, margin .3s ease;
}
.pin-label--city.is-open { z-index: 6; padding: 9px 10px 9px 12px; cursor: default; box-shadow: 0 6px 18px rgba(0,0,0,.14); }
.pin-label--city.is-open .pl-body {
  max-height: 60px; opacity: 1; margin-top: 6px; padding-right: 6px; overflow-y: auto;
  transition-delay: .1s; scrollbar-width: none;
}
.pl-body::-webkit-scrollbar { display: none; }
/* custom slim scroll bar (drawn by site.js) */
.pl-track { display: none; position: absolute; right: 4px; width: 3px; border-radius: 3px; background: #eef0f2; }
.pl-thumb { position: absolute; left: 0; top: 0; width: 3px; border-radius: 3px; background: #c4c8ce; cursor: grab; }
.pl-thumb:hover { background: #a9adb4; }
.pl-thumb::before { content: ""; position: absolute; inset: -2px -5px; } /* easier to grab */

/* photo slideshow beside the story */
.photo-wrap { position: relative; }
.photo-wrap .photo img { transition: opacity .3s ease; }
.photo-next {
  position: absolute; top: 50%; right: -27px; width: 22px; height: 30px; margin-top: -15px;
  display: grid; place-items: center; color: #b7bbc2; border-radius: 4px; transition: color .2s, transform .2s;
}
.photo-next:hover { color: #6b6f76; transform: translateX(2px); }
.photo-next svg { width: 9px; height: 14px; }
#italy-cap { transition: opacity .3s ease; }

/* paper-star easter egg */
.star-egg { cursor: pointer; }
.paper-star { position: absolute; width: 88px; height: auto; z-index: 8; pointer-events: none; transform: rotate(12deg); filter: drop-shadow(0 1px 2px rgba(0,0,0,.06)); }

/* Illinois bubbles: same width as Italy's, photo first, then the text (all scrollable) */
.pin-label--photo { --pl-body-max: 118px; }
.pin-label--photo.is-open .pl-body { max-height: var(--pl-body-max); }
.pl-photo { margin: 2px 0 10px; }
.pl-photo img { display: block; width: 100%; height: auto; border-radius: 4px; border: 1px solid #e3e3e3; }
.pl-photo figcaption { margin-top: 5px; font-size: 8px; font-weight: 400; letter-spacing: 0.14em; color: var(--faint); }

/* ---------- Illinois: place stories open inside the "I moved to the USA" card ---------- */
.pin-label--place { cursor: pointer; z-index: 5; transition: box-shadow .25s ease, color .25s ease; }
.pin-label--place:hover { box-shadow: 0 3px 10px rgba(0,0,0,.18); }
.pin-label--place.is-active { color: var(--maroon); box-shadow: 0 3px 10px rgba(122,31,46,.2); }
.pin-label--place:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.story-card--usa .story-view,
.story-card--usa .place-view {
  position: absolute; inset: 23px 33px;
  transition: opacity .35s ease, transform .4s cubic-bezier(.2,.8,.2,1), visibility 0s linear 0s;
}
.story-card--usa .is-hidden { opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .25s ease, transform .3s ease, visibility 0s linear .3s; }

.place-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid #e6e7ea; }
.place-name { font-size: 9.5px; font-weight: 700; letter-spacing: 0.16em; color: #111; }
.place-close { width: 22px; height: 22px; margin: -4px -6px -4px 0; border-radius: 50%; font-size: 17px; line-height: 20px; color: #9a9ea6; transition: background .2s, color .2s; }
.place-close:hover { background: #f1f2f4; color: #3d4046; }
.place-grid { position: relative; display: grid; grid-template-columns: 186px 1fr; gap: 18px; margin-top: 12px; }
.place-photo { margin: 0; }
.place-photo img { display: block; width: 100%; height: auto; border-radius: 5px; border: 1px solid #e3e3e3; }
.place-photo figcaption { margin-top: 6px; font-size: 8px; letter-spacing: 0.14em; color: var(--faint); }
.place-text { max-height: 146px; overflow-y: auto; padding-right: 10px; scrollbar-width: none; font-size: 12px; line-height: 20px; color: #3d4046; }
.place-text::-webkit-scrollbar { display: none; }
.place-text p { margin: 0; }
.place-text p + p { margin-top: 8px; }
.place-text strong { font-weight: 600; color: #1f2125; }
.place-text u { text-decoration-color: rgba(122,31,46,.55); text-decoration-thickness: 1px; text-underline-offset: 2.5px; }
.place-grid .pl-track { right: -4px; }

/* the path sits close to its drawing area's right edge; let the marker and its halo spill over instead of being clipped */
svg.journey { overflow: visible; }
/* journey path marker: a soft pulse around the travelling dot */
.journey-dot-halo { transform-box: fill-box; transform-origin: center; animation: journeyPulse 2s ease-out infinite; }
@keyframes journeyPulse { 0% { transform: scale(.6); opacity: .28; } 100% { transform: scale(1.9); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .journey-dot-halo { animation: none; } }

/* the quote deepens once the journey marker passes it */
[data-journey-lit] { transition: color .9s ease, font-weight .9s ease, font-variation-settings .9s ease; }
[data-journey-lit].is-lit { color: #111; font-weight: 600; }

/* "ScentScholar was born from that discovery." springs up when it scrolls into view */
[data-bump] { transform: scale(.9); opacity: .55; transition: transform .9s cubic-bezier(.34,1.56,.64,1), opacity .6s ease; }
[data-bump].is-in { transform: scale(1); opacity: 1; }
@media (prefers-reduced-motion: reduce) { [data-bump] { transform: none; opacity: 1; transition: none; } }

/* plant pop-ups: where the specimen was gathered */
.tip-origin { display: flex; align-items: center; gap: 6px; margin-top: 7px; padding-top: 0; border-top: 0; font-family: var(--serif); font-style: italic; font-size: 11px; line-height: 14px; color: rgba(255,255,255,.62); }
.tip-origin::before { content: "⌖"; font-style: normal; font-size: 11px; color: #a9c6f2; }

/* plant pop-ups: common name, scientific name, notes, where it was gathered */
.tip--plant { width: 300px; padding: 9px 12px 9px; }
.tip--plant b { margin-bottom: 0; font-size: 14px; line-height: 18px; }
.tip-sci { display: block; margin-top: 0; font-family: var(--serif); font-style: italic; font-size: 11.5px; line-height: 14px; color: rgba(255,255,255,.6); }
.tip-notes { margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.14); font-size: 12px; line-height: 16px; color: rgba(255,255,255,.92); }
.tip-notes p { margin: 0; }
.tip-notes p + p { margin-top: 3px; }
.tip-part { font-size: 8.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #a9c6f2; margin-right: 3px; }

/* knife pop-up: its name links up to Vernante on the Italy map */
.tip-link { color: #fff; text-decoration: underline; text-decoration-color: rgba(169,198,242,.7); text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer; transition: text-decoration-color .2s, color .2s; }
.tip-link:hover { color: #c9dbf7; text-decoration-color: #c9dbf7; }

/* knife pop-up: a little more breathing room */
.tip--knife { padding: 13px 15px 13px; }
.tip--knife b { margin-bottom: 5px; line-height: 20px; }
.tip--knife .tip-sci { line-height: 17px; }

/* hero layering: photo at the bottom, both gradient washes above it, text on top */
.hero .bg { z-index: 0; }
.hero::before, .hero::after { z-index: 1; }
.hero .wrap { z-index: 2; }

/* manifesto: as the section scrolls into view the papers slide in from the right, starting
   almost straight and fanning out to their resting angles; the hand drifts in a little less.
   .mf-pre holds the starting pose until the section is reached (classes set by site.js). */
.manifesto.mf-pre .envelope { transform: translateX(8px) rotate(2.5deg); }
.manifesto.mf-pre .note     { transform: translateX(11px) rotate(-3.3deg); }
.manifesto.mf-pre .handpen  { transform: translateX(3px); }
.manifesto.is-sliding .envelope { animation: slideEnvelope 1.15s cubic-bezier(.2,.75,.25,1) both; }
.manifesto.is-sliding .note     { animation: slideNote 1.3s .05s cubic-bezier(.2,.75,.25,1) both; }
.manifesto.is-sliding .handpen  { animation: slideHand 1.05s cubic-bezier(.2,.75,.25,1) both; }
@keyframes slideEnvelope { from { transform: translateX(8px) rotate(2.5deg); } to { transform: rotate(3deg); } }
@keyframes slideNote     { from { transform: translateX(11px) rotate(-3.3deg); } to { transform: rotate(-4deg); } }
@keyframes slideHand     { from { transform: translateX(3px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .manifesto.mf-pre .envelope { transform: rotate(3deg); } .manifesto.mf-pre .note { transform: rotate(-4deg); } .manifesto.mf-pre .handpen { transform: none; }
  .manifesto.is-sliding .envelope, .manifesto.is-sliding .note, .manifesto.is-sliding .handpen { animation: none; }
}

/* Substack cards: long titles / descriptions are trimmed with an ellipsis instead of spilling */
.ss-card h4 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ss-card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.latest .meta .title { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

/* Open Bottle: Tier 2 (yellow) and Tier 3 (red) versions of the large card.
   The graphic (set on the element by site.js) is used as a stencil and filled with a soft tint, so the colour is set here. */
.featured .sil--tint {
  position: absolute; left: 175px; top: 81px; width: 256px; height: 324px; opacity: .6; /* same softness as Tier 1's silhouette */
  background: var(--tint);
  -webkit-mask-position: left top; mask-position: left top;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.featured .soon--note { margin-top: 12px; }
.featured.tier-2 { --tint: #f6d690; background: linear-gradient(160deg, #fffaf0 0%, #fdf0d3 100%); border-color: #f1d9a6; }
.featured.tier-2 .k { color: #a46c0c; }
.featured.tier-2 .sil--tint { left: 170px; top: 46px; width: 300px; height: 451px; }
.featured.tier-2 .btn-primary.is-disabled { background: #d6b071; }
.featured.tier-3 { --tint: #f1bcb6; background: linear-gradient(160deg, #fff8f7 0%, #fbe9e6 100%); border-color: #efcbc6; }
.featured.tier-3 .k { color: #a0352d; }
.featured.tier-3 .sil--tint { left: 104px; top: -45px; width: 352px; height: 529px; }
.featured.tier-3 .btn-primary.is-disabled { background: #cfa29d; }

/* Open Bottle community bullets: a slow, seamless scrolling ticker in the same space as the old row */
.community .ticker {
  margin-top: 16px; width: 574px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%);
}
.community .ticker-track { display: flex; width: max-content; margin: 0; gap: 0; animation: tickerScroll 30s linear infinite; }
.community .ticker-track li { flex: none; margin-right: 34px; white-space: nowrap; }
.community .ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .community .ticker { -webkit-mask-image: none; mask-image: none; }
  .community .ticker-track { animation: none; flex-wrap: wrap; width: auto; row-gap: 6px; }
  .community .ticker-track li[aria-hidden="true"] { display: none; }
}

/* Home hero: once the photo has loaded it eases up from its normal size to slightly larger,
   then stays there until the page is reloaded (class added by site.js). Uses the separate
   `scale` property so it doesn't disturb the photo's centring transform. */
.hero .bg { scale: 1; transition: scale 3.6s cubic-bezier(.33,.1,.25,1); }
.hero.is-loaded .bg { scale: 1.02; }
@media (prefers-reduced-motion: reduce) { .hero .bg { transition: none; } }
.usa-row { display: contents; }
.usa-quote { display: none; } /* phones/tablets: map beside the USA card (responsive.css) */
