/* Just Pure Spice — placeholder landing
   Apothecary style: black ink on warm ivory, accents used sparingly.
   Self-contained tokens so index.html only needs this stylesheet. */

:root {
  --ivory:        #f4efe2;
  --ivory-light:  #fbf8f1;
  --paper:        #ece2cf;
  --ink:          #1b1712;
  --ink-soft:     #4a4035;
  --line:         #d8cbb2;

  --accent-olive: #5b5e3f;
  --accent-terra: #9c5b3b;

  --serif-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --serif-body:    'EB Garamond', Georgia, 'Times New Roman', serif;

  --eyebrow-tracking: 0.3em;
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
img, svg { max-width: 100%; }

body {
  margin: 0;
  background-color: var(--ivory);
  background-image: url(../img/ornaments/pattern-sprig.svg);
  background-size: 240px;
  color: var(--ink);
  font-family: var(--serif-body);
  font-size: 19px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: var(--eyebrow-tracking);
  font-size: 12px;
  color: var(--ink-soft);
}
.eyebrow .dot { color: var(--accent-terra); }

h1, h2, h3 { font-family: var(--serif-display); font-weight: 600; letter-spacing: 0.01em; margin: 0; }

a { color: inherit; }

/* ---------- Masthead ---------- */
.masthead { text-align: center; padding: 26px 0 0; }
.masthead .seal { width: 64px; height: 64px; opacity: 0.9; }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 26px 28px 60px; }
.hero .wordmark { width: min(560px, 90%); height: auto; display: block; margin: 0 auto; }
.hero .eyebrow { display: block; margin: 22px 0 0; }
.hero .tagline {
  font-family: var(--serif-display);
  font-size: clamp(26px, 4.4vw, 40px);
  line-height: 1.18;
  margin: 16px auto 0;
  max-width: 18ch;
  font-weight: 600;
}
.hero .lede { max-width: 50ch; margin: 18px auto 0; color: var(--ink-soft); }

.divider { display: block; width: 360px; max-width: 72%; height: auto; margin: 30px auto; }

/* ---------- Section scaffolding ---------- */
.section { padding: 60px 0; border-top: 1px solid var(--line); }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head .eyebrow { display: block; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(28px, 4vw, 38px); }
.section-head p { color: var(--ink-soft); max-width: 52ch; margin: 12px auto 0; }

/* ---------- Maker ---------- */
.maker-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 52px;
  align-items: center;
}
.jp-photo { margin: 0; min-width: 0; }
.maker-grid .jp-photo { max-width: 380px; width: 100%; justify-self: center; }
.photo-mat { padding: 8px; background: var(--ivory-light); border: 1px solid var(--line); }
.jp-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 48%; }
.maker-body .eyebrow { display: block; margin-bottom: 10px; }
.maker-body h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; margin-bottom: 14px; }
.maker-body p { margin: 0; color: var(--ink-soft); }
.maker-body p + p { margin-top: 16px; }
.cuisines {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px 0; align-items: center;
  font-family: var(--serif-display); font-size: 19px; letter-spacing: 0.04em;
}
.cuisines span { white-space: nowrap; }
.cuisines .sep { color: var(--accent-olive); margin: 0 14px; }

/* ---------- Collection ---------- */
.blend-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.blend {
  flex: 1 1 280px;
  max-width: 320px;
  background: var(--ivory-light);
  border: 1px solid var(--line);
  padding: 30px 22px 26px;
  text-align: center;
  transition: border-color 160ms ease, transform 160ms ease;
}
.blend:hover { border-color: var(--ink); transform: translateY(-3px); }
.blend img { width: 46px; height: 46px; display: block; margin: 0 auto 16px; }
.blend .origin { display: block; margin-bottom: 6px; font-size: 11px; letter-spacing: 0.14em; }
.blend h3 {
  font-size: 25px; letter-spacing: 0.04em; display: inline-block;
  padding-bottom: 4px; border-bottom: 1.5px solid transparent;
}
.blend:hover h3 { border-bottom-color: var(--accent-olive); }
.blend p { margin: 12px 0 0; font-size: 16px; line-height: 1.5; color: var(--ink-soft); }
.blend .blend-use { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.blend-use .eyebrow { display: block; margin-bottom: 6px; font-size: 11px; letter-spacing: 0.14em; }
.collection-note { text-align: center; margin-top: 34px; font-style: italic; color: var(--ink-soft); font-size: 16px; }

/* ---------- Closing ---------- */
.closing { text-align: center; padding: 40px 24px; border-top: 1px solid var(--line); }
.closing .wreath { width: 188px; height: auto; display: block; margin: 0 auto 24px; }
.closing h2 { font-size: clamp(32px, 5vw, 46px); line-height: 1.15; letter-spacing: 0.01em; }
.closing .stamps { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.contact-layout { max-width: 740px; margin: 0 auto; }
.contact-layout a {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; color: var(--ink); text-underline-offset: 0.2em;
}
.contact-layout a svg { width: 26px; height: 26px; flex-shrink: 0; }
.contact-layout a:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.contact-layout a:hover { background: var(--paper); }
.icon-contact { max-width: 430px; }
.icon-contact a {
  width: 100%; justify-content: flex-start; padding: 26px 32px; gap: 22px;
  text-align: left; text-decoration: none; border: 1px solid var(--line); background: var(--ivory-light);
}
.icon-contact a svg { width: 40px; height: 40px; }
.icon-contact h2 { font-size: clamp(30px, 5vw, 42px); }
.icon-contact .profile-handle {
  display: block; color: var(--ink-soft); margin-top: 6px;
  text-decoration: underline; text-underline-offset: 0.2em;
}
.stamps { display: flex; gap: 30px; justify-content: center; align-items: center; margin-top: 30px; }
.stamps img { width: 116px; height: 116px; opacity: 0.92; }

/* ---------- Footer ---------- */
footer { text-align: center; padding: 36px 0 60px; color: var(--ink-soft); font-size: 13px; border-top: 1px solid var(--line); }
footer .eyebrow { display: block; margin-bottom: 8px; }
footer .ship-note { margin: 8px 0; font-size: 16px; }
footer .fine { font-style: italic; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  body { font-size: 18px; }
  .hero .eyebrow { letter-spacing: 0.16em; font-size: 11px; }
  .maker-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .maker-body { text-align: center; }
  .cuisines { justify-content: center; }
  .cuisines .sep { margin: 0 9px; }
  .section { padding: 48px 0; }
}

@media (max-width: 600px) {
  .closing { padding: 32px 20px; }
  .icon-contact a { padding: 24px 16px; gap: 14px; }
  .icon-contact a svg { width: 32px; height: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blend { transition: none; }
  .blend:hover { transform: none; }
}
