/* Cinnamon 101 | cinnamon101.com */
:root {
  --cream: #F7F0E3;
  --cream-2: #EFE4D0;
  --paper: #FFFBF4;
  --brown: #3E2215;
  --brown-2: #5C3520;
  --cinnamon: #8A4521;
  --gold: #B08D45;
  --gold-soft: #D9C08A;
  --green: #2F5D46;
  --green-dark: #1F3F30;
  --line: rgba(62, 34, 21, 0.14);
  --shadow: 0 18px 40px -18px rgba(62, 34, 21, 0.35);
  --radius: 18px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Segoe UI", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, video, svg { display: block; max-width: 100%; }
a { color: var(--cinnamon); }
a:hover { color: var(--brown); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--serif); color: var(--brown); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.8rem, 11vw, 5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 6.5vw, 3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; margin-top: 2.5rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--brown); color: var(--cream); padding: .6rem 1rem; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--cream); }

.eyebrow {
  font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--green); margin-bottom: .75rem;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 28px; height: 2px; background: var(--gold);
  vertical-align: middle; margin-right: 10px; transform: translateY(-2px);
}
.eyebrow-light { color: var(--gold-soft); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 240, 227, 0.92);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--brown); font-family: var(--serif); font-weight: 700; font-size: 1.15rem; }
.brand:hover { color: var(--brown); }
.nav-list { display: none; list-style: none; margin: 0; padding: 0; gap: 1.6rem; }
.nav-list a { text-decoration: none; color: var(--brown-2); font-size: .85rem; font-weight: 600; letter-spacing: .02em; }
.nav-list a:hover { color: var(--cinnamon); }
@media (min-width: 760px) { .nav-list { display: flex; } }

/* Buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: .8rem 1.5rem; border-radius: 999px; font-family: var(--sans); font-weight: 600; font-size: .95rem;
  text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brown); color: var(--cream); }
.btn-primary:hover { background: var(--cinnamon); color: #fff; }
.btn-secondary { background: transparent; color: var(--brown); border-color: var(--gold); }
.btn-secondary:hover { background: var(--gold); color: var(--brown); }
@media (max-width: 479px) { .btn-row .btn { width: 100%; } }

/* Hero */
.hero {
  padding: 2.5rem 0 3.5rem;
  background:
    radial-gradient(ellipse at 85% 10%, rgba(176, 141, 69, 0.18), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(47, 93, 70, 0.10), transparent 50%),
    var(--cream);
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 4.6vw, 1.9rem); color: var(--cinnamon); margin-bottom: 1rem; }
.lede { font-size: 1.05rem; max-width: 34rem; color: var(--brown-2); }

.hero-media { margin: 0; justify-self: center; text-align: center; }
.hero-media figcaption { margin-top: .9rem; font-size: .85rem; color: var(--brown-2); }
.phone-frame {
  position: relative; width: min(78vw, 340px); aspect-ratio: 9 / 16;
  border-radius: 28px; overflow: hidden; background: var(--brown);
  box-shadow: var(--shadow), 0 0 0 6px var(--paper), 0 0 0 7px var(--gold-soft);
}
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-btn {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.1rem .6rem .8rem; min-height: 44px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(30, 16, 10, 0.72); color: #fff;
  font: 600 .85rem/1 var(--sans);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-btn:hover { background: rgba(30, 16, 10, 0.88); }
.hero-btn .icon { width: 22px; height: 22px; fill: currentColor; display: none; }
.hero-btn[data-state="muted"] .icon-muted,
.hero-btn[data-state="sound"] .icon-sound,
.hero-btn[data-state="paused"] .icon-play { display: block; }
.hero-btn[data-state="paused"] {
  bottom: auto; top: 50%; transform: translate(-50%, -50%);
  padding: 1rem 1.4rem 1rem 1.1rem; background: rgba(62, 34, 21, 0.85);
}
.hero-btn[data-state="paused"] .icon { width: 30px; height: 30px; }

@media (min-width: 860px) {
  .hero { padding: 4.5rem 0 5rem; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 4rem; }
  .phone-frame { width: 340px; }
}

/* Sections */
.section { padding: 4rem 0; }
.section-head { max-width: 44rem; margin-bottom: 2.5rem; }
.section-intro { font-size: 1.05rem; color: var(--brown-2); }
@media (min-width: 860px) { .section { padding: 5.5rem 0; } }

/* Ceylon vs cassia */
.section-cassia { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; gap: 2.5rem; align-items: center; }
.big { font-size: 1.15rem; color: var(--brown); }
.big strong { color: var(--cinnamon); }
@media (min-width: 860px) { .split { grid-template-columns: 1.2fr .8fr; gap: 4rem; } }

.compare { margin: 1.6rem 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.compare-row { display: grid; grid-template-columns: 5.2rem 1fr 1fr; gap: .75rem; padding: .85rem 1rem; font-size: .9rem; border-top: 1px solid var(--line); }
.compare-row:first-child { border-top: 0; }
.compare-head { background: var(--brown); color: var(--cream); font-weight: 700; letter-spacing: .04em; font-size: .8rem; text-transform: uppercase; }
.compare-head span:nth-child(2) { color: var(--gold-soft); }
.compare-row [role="rowheader"] { font-weight: 700; color: var(--green); }
@media (min-width: 480px) { .compare-row { grid-template-columns: 6.5rem 1fr 1fr; font-size: .95rem; } }

.callout {
  display: flex; align-items: flex-start; gap: .7rem; padding: 1rem 1.2rem; margin: 0;
  background: rgba(47, 93, 70, 0.08); border-left: 4px solid var(--green); border-radius: 0 12px 12px 0;
}
.callout-mark { color: var(--green); font-weight: 700; }

/* Video cards */
.vcard { list-style: none; }
.vcard-media {
  position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden;
  background: var(--brown); box-shadow: var(--shadow);
}
.vcard-media video { width: 100%; height: 100%; object-fit: cover; background: var(--brown); }
.vcard-feature { max-width: 340px; margin: 0 auto; }
.vcard-feature .vcard-title { text-align: center; font-family: var(--serif); font-weight: 600; margin-top: .9rem; }
.vcard-part { margin: 1rem 0 .15rem; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.vcard-title { margin: 0 0 .35rem; font-size: 1.2rem; }
.vcard-text { font-size: .92rem; color: var(--brown-2); margin: 0; }

/* Series: horizontal scroll on phones, grid on larger screens */
.series-grid {
  list-style: none; margin: 0; padding: 0 0 1rem;
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 1.1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: var(--gold) transparent;
}
.series-grid > li { scroll-snap-align: start; }
@media (min-width: 600px) { .series-grid { grid-auto-columns: 42%; } }
@media (min-width: 900px) {
  .series-grid { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; gap: 2.5rem 2rem; }
}

/* Products */
.section-cup { background: var(--cream-2); }
.product-groups { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .product-groups { grid-template-columns: 1.3fr 1fr; gap: 2rem; } }
.product-group { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem; }
.product-group h3 { padding-bottom: .7rem; margin-bottom: .4rem; border-bottom: 2px solid var(--gold); display: inline-block; }
.product-list { list-style: none; margin: 0; padding: 0; }
.product-list li { padding: .85rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .15rem; }
.product-list li:last-child { border-bottom: 0; }
.p-name { font-weight: 700; color: var(--brown); }
.p-desc { font-size: .9rem; color: var(--brown-2); }

/* Follow */
.section-follow { background: var(--green-dark); color: var(--cream); text-align: center; }
.section-follow h2 { color: var(--cream); }
.follow-inner .eyebrow::before { display: none; }
.social-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 1.8rem; }
.social {
  display: inline-flex; align-items: center; gap: .75rem; min-height: 52px;
  padding: .8rem 1.4rem; border-radius: 999px; text-decoration: none;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(217, 192, 138, 0.55); color: var(--cream);
  font-weight: 500; transition: background-color .15s ease;
}
.social:hover { background: rgba(217, 192, 138, 0.18); color: #fff; }
.social svg { width: 24px; height: 24px; fill: var(--gold-soft); flex: none; }
.social-label { font-weight: 700; margin-right: .25rem; }
@media (max-width: 479px) { .social { width: 100%; justify-content: center; } }

/* Footer */
.site-footer { background: var(--brown); color: var(--cream-2); padding: 2.5rem 0; text-align: center; font-size: .9rem; }
.site-footer a { color: var(--gold-soft); }
.site-footer a:hover { color: #fff; }
.footer-brand { font-family: var(--serif); font-size: 1.25rem; color: var(--cream); margin-bottom: .4rem; }
.footer-copy { margin: .8rem 0 0; opacity: .8; font-size: .8rem; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.notfound .num { font-family: var(--serif); font-size: clamp(4rem, 18vw, 7rem); color: var(--gold); line-height: 1; margin-bottom: .5rem; }
