/* ============================================================
   Torana Studio — pre-launch one pager
   Palette & type per brand guidelines
   ============================================================ */

:root {
  --crimson: #8b1e23;
  --crimson-deep: #6d1419;
  --terracotta: #c85a32;
  --turmeric: #e09f3e;
  --sage: #5a7052;
  --slate: #4a6b82;
  --cream: #fdf6ee;
  --cream-2: #f7ece0;
  --ink: #2e1d17;
  --ink-soft: #6a5347;
  --line: rgba(139, 30, 35, 0.14);

  --serif: "Cormorant Garamond", Georgia, serif;
  --display: "Cinzel", "Cormorant Garamond", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  --shell: 1240px;
  --r: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.75;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
  margin: 0 0 0.5em;
  color: var(--crimson-deep);
}

h2 {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.7vw, 2.5rem);
  line-height: 1.22;
  letter-spacing: 0;
}
h3 { font-size: 1.45rem; }

p { margin: 0 0 1.1em; }

em { font-style: italic; }

.shell {
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
}

.section { padding: clamp(3rem, 5.5vw, 5rem) 0; position: relative; }
.section--cream { background: var(--cream-2); }
.section--deep { background: var(--crimson); color: var(--cream); }
.section--deep h2, .section--deep h3 { color: var(--cream); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--crimson); color: var(--cream); padding: 0.8rem 1.2rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible {
  outline: 2px solid var(--turmeric);
  outline-offset: 3px;
}

/* ───────── shared bits ───────── */

.eyebrow {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}
.eyebrow--light { color: var(--turmeric); }
.eyebrow__dot {
  width: 22px; height: 1px; background: currentColor; display: inline-block;
}

.lead {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--ink);
}

.section__head {
  max-width: 760px; margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  padding-top: 1.25rem; border-top: 1px solid var(--line);
}
/* F-12: full-width heads for sections with full-width content grids */
.how .section__head,
.why .section__head { max-width: none; }
.section__head--split {
  display: flex; flex-wrap: wrap; gap: 2rem 3rem;
  align-items: flex-end; justify-content: space-between; max-width: none;
}
.section__head--split .section__sub { max-width: 420px; margin: 0; }
.collections__head { display: block; max-width: none; border-top: none; padding-top: 0; }
.collections__head h2 { margin-bottom: 1rem; max-width: 100%; }
.collections__head .section__sub { max-width: 100%; margin: 0; }
.section__sub { color: var(--ink-soft); font-size: 1.02rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 1.05rem 2rem;
  border: 1px solid var(--crimson);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
              color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 0.72rem 1.3rem; font-size: 0.68rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--crimson); color: var(--cream);
  box-shadow: 0 10px 28px -14px rgba(139, 30, 35, 0.8);
}
.btn--primary:hover { background: var(--crimson-deep); box-shadow: 0 16px 34px -14px rgba(139, 30, 35, 0.9); }

.btn--ghost { background: transparent; color: var(--crimson); }
.btn--ghost:hover { background: rgba(139, 30, 35, 0.07); }

.btn--gold {
  background: var(--turmeric); border-color: var(--turmeric); color: #3a2410;
}
.btn--gold:hover { background: #eeb155; border-color: #eeb155; }

.btn--cream {
  background: var(--cream); border-color: var(--cream); color: var(--crimson);
}
.btn--cream:hover { background: #fff; }

/* ───────── reveal ───────── */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

@keyframes slide {
  to { transform: translateX(-50%); }
}

/* ───────── nav ───────── */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 246, 238, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, box-shadow 0.4s, background 0.4s, padding 0.4s;
}
.nav.is-stuck {
  border-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(46, 29, 23, 0.6);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; padding: 0.8rem 0;
}
.nav__progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--crimson), var(--terracotta), var(--turmeric));
  transform: scaleX(0); transform-origin: left;
}

.brand { display: block; }
.brand__lockup {
  height: 56px; width: auto;
  transition: height 0.4s var(--ease), opacity 0.4s;
}
.nav.is-stuck .brand__lockup { height: 44px; }
.brand:hover .brand__lockup { opacity: 0.78; }

.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links > a:not(.btn) {
  font-size: 0.8rem; letter-spacing: 0.08em; color: var(--ink);
  position: relative; padding: 0.2rem 0;
}
.nav__links > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--crimson);
  transition: width 0.4s var(--ease);
}
.nav__links > a:not(.btn):hover::after { width: 100%; }

.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 42px; height: 34px; padding: 6px; gap: 5px;
  flex-direction: column; justify-content: center;
}
.nav__toggle span {
  height: 1.5px; background: var(--crimson); border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ───────── hero ───────── */

.hero { position: relative; padding: clamp(2rem, 4vw, 4rem) 0 clamp(2.5rem, 5vw, 4.5rem); overflow: hidden; }

.hero__wash {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 78% 18%, rgba(224, 159, 62, 0.22), transparent 70%),
    radial-gradient(50% 50% at 10% 85%, rgba(90, 112, 82, 0.14), transparent 72%),
    radial-gradient(70% 60% at 50% -10%, rgba(200, 90, 50, 0.14), transparent 70%);
  pointer-events: none;
}

.hero__kolam {
  position: absolute; right: 6%; top: 50%;
  width: min(760px, 62vw); aspect-ratio: 1;
  transform: translateY(-50%);
  color: var(--terracotta); opacity: 0.17;
  pointer-events: none;
}
.hero__kolam svg { width: 100%; height: 100%; }
.kolam-spin { transform-origin: 300px 300px; animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.draw {
  stroke-dasharray: 1400; stroke-dashoffset: 1400;
  animation: drawIn 3.4s var(--ease) forwards;
}
.draw:nth-child(2) { animation-delay: 0.3s; }
.draw:nth-child(3) { animation-delay: 0.5s; }
.draw:nth-child(4) { animation-delay: 0.7s; }
@keyframes drawIn { to { stroke-dashoffset: 0; } }

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

/* F-01: explicit row placement */
.hero__copy { grid-column: 1; grid-row: 1; }
.hero__art  { grid-column: 2; grid-row: 1; }

.hero__logo { margin: 0 0 1.1rem; max-width: 448px; }
.hero__logo img { width: 100%; height: auto; }
.hero__logo.is-in img { animation: logoIn 1.5s var(--ease) both; }
@keyframes logoIn {
  0% { opacity: 0; transform: scale(0.94) translateY(14px); filter: blur(6px); }
  100% { opacity: 1; transform: none; filter: blur(0); }
}

.hero__kicker {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  color: var(--terracotta);
  margin: 0 0 1.3rem;
  padding-left: 0.1rem;
}

.hero__lede {
  font-size: 1.08rem; color: var(--ink-soft);
  max-width: 62ch; margin-bottom: 2.2rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 3rem; }


/* arch */
.hero__art { position: relative; }

.arch { position: relative; padding: 0 clamp(0.5rem, 3vw, 2.5rem); }
.arch__frame {
  position: relative;
  aspect-ratio: 3 / 3.7;
  border-radius: 50% 50% 10px 10px / 38% 38% 3% 3%;
  overflow: hidden;
  background: var(--cream-2);
  border: 1px solid rgba(139, 30, 35, 0.25);
  box-shadow:
    0 40px 80px -46px rgba(46, 29, 23, 0.62),
    inset 0 0 0 9px rgba(253, 246, 238, 0.92),
    inset 0 0 0 10px rgba(224, 159, 62, 0.55);
}
.arch__slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 1.4s var(--ease), transform 6s linear;
}
.arch__slide.is-on { opacity: 1; transform: scale(1.02); }

.arch__caption {
  position: absolute; left: 50%; bottom: -14px;
  transform: translateX(-50%);
  margin: 0; padding: 0.5rem 1.2rem;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600; color: var(--crimson); white-space: nowrap;
  box-shadow: 0 14px 26px -18px rgba(46, 29, 23, 0.7);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.arch__caption.is-swapping { opacity: 0; transform: translateX(-50%) translateY(6px); }

.arch__finial {
  position: absolute; top: -17px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 24px; height: 24px;
  background: var(--turmeric);
  border-radius: 4px 50% 4px 50%;
  box-shadow: 0 6px 14px -6px rgba(139, 30, 35, 0.7);
}

.hero__chip {
  position: absolute; margin: 0;
  border-radius: 3px; overflow: hidden;
  border: 7px solid var(--cream);
  box-shadow: 0 26px 46px -30px rgba(46, 29, 23, 0.75);
  background: var(--cream);
}
.hero__chip img { width: 100%; height: 100%; object-fit: cover; }

.hero__chip--a {
  width: clamp(110px, 16vw, 170px); aspect-ratio: 1;
  left: -2%; top: 10%;
  transform: rotate(-5deg);
  animation: floaty 9s ease-in-out infinite;
}
.hero__chip--b {
  width: clamp(150px, 21vw, 220px);
  right: -4%; bottom: 4%;
  transform: rotate(4deg);
  animation: floaty 11s ease-in-out infinite reverse;
}
.hero__chip--b img { aspect-ratio: 4 / 3; }
.hero__chip--b figcaption {
  font-family: var(--serif); font-style: italic;
  font-size: 0.82rem; color: var(--ink-soft);
  text-align: center; padding: 0.4rem 0 0.1rem;
}

@keyframes floaty {
  50% { transform: translateY(-14px) rotate(0deg); }
}

.hero__garland {
  position: absolute; top: -6px; left: 6%; right: 6%;
  display: flex; justify-content: space-between; pointer-events: none;
  transform-origin: top center;
  animation: sway 7s ease-in-out infinite;
}
@keyframes sway {
  0%, 100% { transform: rotate(-0.8deg); }
  50% { transform: rotate(0.8deg); }
}
.hero__garland span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--turmeric);
  box-shadow: 0 16px 0 -2px rgba(200, 90, 50, 0.55), 0 30px 0 -4px rgba(224, 159, 62, 0.4);
  opacity: 0.85;
  animation: bead 3.6s ease-in-out infinite;
}
.hero__garland span:nth-child(even) { transform: translateY(10px); }
.hero__garland span:nth-child(2) { animation-delay: 0.2s; }
.hero__garland span:nth-child(3) { animation-delay: 0.4s; }
.hero__garland span:nth-child(4) { animation-delay: 0.6s; }
.hero__garland span:nth-child(5) { animation-delay: 0.8s; }
.hero__garland span:nth-child(6) { animation-delay: 1s; }
.hero__garland span:nth-child(7) { animation-delay: 1.2s; }
.hero__garland span:nth-child(8) { animation-delay: 1.4s; }
.hero__garland span:nth-child(9) { animation-delay: 1.6s; }
.hero__garland span:nth-child(10) { animation-delay: 1.8s; }
@keyframes bead { 50% { opacity: 0.45; } }

/* ───────── occasions marquee ───────── */

.occasions {
  background: var(--crimson);
  color: var(--cream);
  padding: 1.15rem 0;
  overflow: hidden;
  border-block: 1px solid rgba(253, 246, 238, 0.14);
}
.occasions__track {
  display: flex; align-items: center; gap: 2.2rem; width: max-content;
  animation: slide 46s linear infinite;
  font-family: var(--serif);
  font-size: 1.32rem; letter-spacing: 0.03em;
}
.occasions i { color: var(--turmeric); font-style: normal; font-size: 0.7rem; }

/* ───────── story ───────── */

.story__grid {
  display: grid; grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2.5rem, 6vw, 6rem); align-items: stretch;
}
.story__media { position: relative; min-height: 0; }
.story__frame {
  position: absolute; inset: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 46px 80px -50px rgba(46, 29, 23, 0.7);
}
.story__frame img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center;
}

.pullquote {
  margin: 2.4rem 0 0; padding-left: 1.6rem;
  border-left: 2px solid var(--turmeric);
}
.pullquote blockquote {
  margin: 0; font-family: var(--serif); font-style: italic;
  font-size: 1.7rem; color: var(--crimson); line-height: 1.3;
}
.pullquote figcaption {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 0.6rem;
}

/* ───────── why cards ───────── */

.cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem;
}
.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 2.2rem 1.7rem 2rem;
  position: relative; overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--crimson), var(--terracotta), var(--turmeric));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -36px rgba(46, 29, 23, 0.6); }
.card:hover::before { transform: scaleX(1); }
.card__num {
  font-family: var(--serif); font-size: 0.9rem; letter-spacing: 0.2em;
  color: var(--turmeric); display: block; margin-bottom: 1.1rem;
}
.card h3 { font-size: 1.3rem; }
.card p { font-size: 0.93rem; color: var(--ink-soft); margin: 0; }

/* ───────── collections ───────── */

.series-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem;
}
.series-card {
  display: flex; flex-direction: column; min-width: 0;
  background: var(--cream);
  border: 1px solid rgba(139, 30, 35, 0.16);
  border-radius: 3px; overflow: hidden;
  box-shadow: 0 15px 35px -32px rgba(46, 29, 23, 0.75);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.series-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 30, 35, 0.32);
  box-shadow: 0 26px 42px -32px rgba(46, 29, 23, 0.65);
}
.series-card__visual {
  position: relative; aspect-ratio: 1.38; overflow: hidden;
  background: var(--cream-2);
}
.series-card__visual--custom {
  background: var(--crimson-deep);
  display: flex; align-items: center; justify-content: center;
}
.series-card__custom-icon {
  font-size: 3.5rem; color: rgba(255,255,255,0.18);
  letter-spacing: 0.5rem;
  user-select: none;
}
.series-card--custom { border-color: rgba(139, 30, 35, 0.16); }
.series-card--custom:hover { border-color: rgba(139, 30, 35, 0.32); }
.series-card__image-link { position: absolute; inset: 0; display: block; }
.series-card__photo { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.series-card:hover .series-card__photo { transform: scale(1.035); }
.series-card__body { display: flex; flex: 1; flex-direction: column; padding: 1rem 0.1rem 0.4rem; text-decoration: none; }
.series-card__name { font-family: var(--serif); color: var(--crimson-deep); font-size: 1.55rem; line-height: 1.2; }
.series-card__tagline { color: var(--terracotta); font-family: var(--serif); font-style: italic; font-size: 1.08rem; margin-top: 0.35rem; }
.series-card__one-liner { color: var(--ink-soft); font-size: 0.82rem; line-height: 1.55; margin-top: 0.65rem; }
.series-card__link {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line); color: var(--crimson); font-size: 0.64rem;
  font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  margin-top: auto; padding-top: 0.9rem;
}
.series-card__link span { font-size: 1rem; transition: transform 0.3s var(--ease); }
.series-card:hover .series-card__link span { transform: translate(2px, -2px); }
.series-card__pages {
  position: absolute; z-index: 3; left: 50%; bottom: 0.45rem;
  transform: translateX(-50%); display: flex; justify-content: center;
  gap: 0.08rem; max-width: calc(100% - 0.8rem);
  padding: 0.15rem 0.35rem; border-radius: 999px;
  background: rgba(46, 29, 23, 0.45);
  backdrop-filter: blur(5px);
}
.series-card__page {
  display: grid; place-items: center; flex: 0 0 22px; width: 22px; height: 26px;
  padding: 0; border: 0; background: transparent; cursor: pointer;
}
.series-card__page::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  border: 1px solid var(--cream); background: transparent;
  transition: width 0.25s var(--ease), border-radius 0.25s, background 0.25s;
}
.series-card__page[aria-current="true"]::before {
  width: 15px; border-radius: 999px; background: var(--turmeric); border-color: var(--turmeric);
}
.series-card__page:hover::before { border-color: var(--turmeric); }
.series-card__page:focus-visible { outline-color: var(--cream); outline-offset: 0; border-radius: 50%; }
.series-card__body { padding: 1.15rem 1.25rem 1.2rem; }

@media (max-width: 620px) {
  .series-card__body { padding: 1rem; }
  .series-card__pages { gap: 0; }
  .series-card__page { flex-basis: 20px; width: 20px; }
}

.breadcrumbs {
  display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap;
  padding: 1.35rem 0 1.4rem; font-size: 0.72rem; color: var(--ink-soft);
}
.breadcrumbs a { color: var(--crimson); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; }
.breadcrumbs a:hover { text-decoration-color: currentColor; }
.series-detail { padding-bottom: clamp(4rem, 8vw, 6rem); }
.series-detail__heading {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end; margin-bottom: 1.6rem;
}
.series-detail__title .eyebrow { margin-bottom: 0.55rem; }
.series-detail h1 { font-size: clamp(2.4rem, 4.5vw, 3.8rem); margin: 0 0 0.25rem; }
.series-detail__tagline { font-family: var(--serif); font-style: italic; color: var(--terracotta); font-size: 1.3rem; margin: 0; }
.series-detail__short { max-width: 62ch; color: var(--ink-soft); margin: 0; }
.series-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 1.3rem 0 3rem; }
.series-tags li { border: 1px solid var(--line); border-radius: 999px; color: var(--sage); padding: 0.36rem 0.7rem; font-size: 0.65rem; }
.series-gallery { min-width: 0; }
.series-gallery__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.85rem; }
.series-gallery__item {
  position: relative; display: block; width: 100%; aspect-ratio: 1.28;
  overflow: hidden; padding: 0; border: 0; border-radius: 2px;
  background: var(--cream-2); cursor: zoom-in;
}
.series-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.75s var(--ease); }
.series-gallery__item:hover img { transform: scale(1.035); }
.series-image-dialog { position: fixed; inset: 0; max-width: min(94vw, 1200px); max-height: 92vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.series-image-dialog::backdrop { background: rgba(39, 19, 15, 0.9); }
.series-image-dialog form { position: absolute; z-index: 1; top: -1.1rem; right: -1.1rem; }
.series-image-dialog__close { width: 44px; height: 44px; border: 1px solid rgba(253, 246, 238, 0.7); border-radius: 50%; background: var(--cream); color: var(--crimson); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.series-image-dialog img { display: block; max-width: 94vw; max-height: 92vh; object-fit: contain; border: 6px solid var(--cream); border-radius: 2px; }
.series-gallery__placeholder {
  position: relative; display: grid; place-items: center; aspect-ratio: 0.95;
  overflow: hidden; border: 1px solid var(--line); border-radius: 4px;
  color: var(--series-accent, var(--crimson)); background-color: var(--cream-2);
  background-image:
    radial-gradient(ellipse at center, transparent 0 26%, color-mix(in srgb, var(--series-accent, var(--crimson)) 12%, transparent) 26.3% 26.8%, transparent 27%),
    repeating-linear-gradient(45deg, transparent 0 20px, color-mix(in srgb, var(--series-accent, var(--crimson)) 7%, transparent) 20px 21px),
    repeating-linear-gradient(-45deg, transparent 0 20px, color-mix(in srgb, var(--series-secondary, var(--turmeric)) 10%, transparent) 20px 21px);
}
.series-gallery__index, .series-gallery__caption { position: absolute; z-index: 1; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.17em; text-transform: uppercase; }
.series-gallery__index { left: 1.2rem; top: 1.2rem; }
.series-gallery__caption { bottom: 1.2rem; right: 1.2rem; color: var(--ink-soft); }
.series-gallery__monogram {
  display: grid; place-items: center; width: min(42%, 240px); aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--series-accent, var(--crimson)) 48%, transparent);
  border-radius: 50%; background: color-mix(in srgb, var(--cream) 74%, transparent);
  font: 500 clamp(5rem, 12vw, 9rem)/1 var(--serif); opacity: 0.82;
  text-shadow: 0 8px 0 color-mix(in srgb, var(--series-secondary, var(--turmeric)) 38%, transparent);
}
.series-not-found { min-height: 65vh; display: grid; align-content: center; padding: 4rem 0; }
.series-not-found[hidden] { display: none; }
.series-not-found h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
.series-not-found p { color: var(--ink-soft); }
body[data-series="ithihasa"], body[data-series="kolam"] { --series-accent: var(--crimson); --series-secondary: var(--turmeric); }
body[data-series="kattam"], body[data-series="sampradaya"] { --series-accent: var(--sage); --series-secondary: var(--terracotta); }
body[data-series="kalamkari"], body[data-series="hindhusthani"] { --series-accent: var(--terracotta); --series-secondary: var(--sage); }
body[data-series="kalpana"] { --series-accent: var(--slate); --series-secondary: var(--turmeric); }

/* ───────── buy or rent ───────── */

/* F-05: tighter vertical padding — cards are short, the full section height was wasteful */
.models.section { padding: clamp(3rem, 5vw, 4.5rem) 0; }

.models__grid {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem;
  align-items: stretch;
}
.model {
  border: 1px solid rgba(253, 246, 238, 0.3);
  border-radius: 2px;
  padding: 2.6rem 2.2rem;
  background: rgba(253, 246, 238, 0.05);
}
.model--alt { background: rgba(253, 246, 238, 0.11); }
.model h3 { font-size: 1.9rem; margin-bottom: 0.8rem; }
.model p { color: rgba(253, 246, 238, 0.8); font-size: 0.96rem; }
.model ul { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.model li {
  padding: 0.65rem 0 0.65rem 1.7rem; position: relative;
  border-top: 1px solid rgba(253, 246, 238, 0.16);
  font-size: 0.9rem; color: rgba(253, 246, 238, 0.92);
}
.model li::before {
  content: "✦"; position: absolute; left: 0; color: var(--turmeric); font-size: 0.72rem;
}
.models__or {
  align-self: center;
  font-family: var(--serif); font-style: italic; font-size: 1.5rem;
  color: var(--turmeric);
}

/* ───────── steps ───────── */

/* F-04: tighter vertical padding for the How It Works section */
.how.section { padding: clamp(3rem, 5vw, 4.5rem) 0; }

.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem;
  counter-reset: step;
  position: relative;
}
.steps::before {
  content: ""; position: absolute; top: 26px; left: 6%; right: 6%;
  height: 1px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
}
.step { position: relative; text-align: center; padding: 0 0.6rem; }
.step__no {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-content: center; margin: 0 auto 1.3rem;
  background: var(--cream); border: 1px solid var(--crimson);
  color: var(--crimson); font-family: var(--serif); font-size: 1.3rem;
  position: relative; z-index: 1;
}
.section--cream .step__no { background: var(--cream-2); }
.step h3 { font-size: 1.2rem; }
.step p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

/* ───────── waitlist ───────── */

.waitlist {
  background:
    linear-gradient(rgba(109, 20, 25, 0.93), rgba(109, 20, 25, 0.96)),
    url("assets/img/14-sm.webp") center / cover fixed;
  color: var(--cream);
  text-align: center;
}
.waitlist h2 { color: var(--cream); }
.waitlist .eyebrow { justify-content: center; }
.waitlist__lede {
  color: rgba(253, 246, 238, 0.84); max-width: 54ch; margin-inline: auto;
}
.waitlist .btn { margin-top: 2rem; }

.waitlist__gform {
  display: block; width: 100%; height: 680px;
  border: none; background: transparent;
}

/* ───────── pre-order dialog ───────── */

.preorder-dialog {
  border: none; padding: 0; border-radius: 4px;
  width: min(640px, 96vw);
  max-height: 90vh; overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.5);
  background: var(--cream);
}
.preorder-dialog::backdrop { background: rgba(46, 29, 23, 0.72); backdrop-filter: blur(3px); }
.preorder-dialog__close {
  position: absolute; top: 0.6rem; right: 0.6rem;
  width: 2.2rem; height: 2.2rem; border: none; background: rgba(46,29,23,0.08);
  border-radius: 50%; cursor: pointer; font-size: 0.85rem; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
.preorder-dialog__close:hover { background: rgba(46,29,23,0.16); }

/* ───────── info dialogs (Why Torana / Shipping) ───────── */

.info-dialog {
  border: none; padding: 0; border-radius: 4px;
  width: min(700px, 96vw); max-height: 90vh; overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.5);
  background: var(--cream);
}
.info-dialog::backdrop { background: rgba(46, 29, 23, 0.72); backdrop-filter: blur(3px); }
.info-dialog__close {
  position: absolute; top: 0.8rem; right: 0.8rem;
  width: 2.2rem; height: 2.2rem; border: none; background: rgba(46,29,23,0.08);
  border-radius: 50%; cursor: pointer; font-size: 0.85rem; color: var(--ink);
  display: flex; align-items: center; justify-content: center; z-index: 1;
}
.info-dialog__close:hover { background: rgba(46,29,23,0.16); }
.info-dialog__body {
  padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 5vw, 3rem);
  overflow-y: auto; max-height: 90vh;
}
.info-dialog__body h2 { margin: 0.4rem 0 1.8rem; }
.info-dialog__cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem; margin-bottom: 1.8rem;
}
.info-dialog__card {
  border: 1px solid var(--line); border-radius: 3px;
  padding: 1.4rem 1.2rem;
}
.info-dialog__num {
  display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--crimson); margin-bottom: 0.5rem;
}
.info-dialog__card h3 { font-size: 1.05rem; margin: 0 0 0.5rem; }
.info-dialog__card p { font-size: 0.88rem; color: var(--ink-soft); margin: 0; line-height: 1.6; }
.info-dialog__note {
  border-top: 1px solid var(--line); padding-top: 1.4rem;
}
.info-dialog__note h3 { font-size: 1rem; margin: 0 0 0.4rem; }
.info-dialog__note p { font-size: 0.88rem; color: var(--ink-soft); margin: 0 0 1.2rem; line-height: 1.6; }
.info-dialog__note a { color: var(--crimson); }

/* footer link-style buttons */
.footer__link-btn {
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: var(--sans); font-size: inherit;
  color: rgba(253, 246, 238, 0.7); text-align: left;
  transition: color 0.25s;
}
.footer__link-btn:hover { color: var(--cream); }

/* ───────── note + faq ───────── */

.faq--full {
  max-width: 680px; margin-inline: auto;
}

.acc {
  border-bottom: 1px solid var(--line);
  padding: 0.3rem 0;
}
.acc summary {
  cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: 1.28rem; color: var(--crimson-deep);
  padding: 1.1rem 2.4rem 1.1rem 0; position: relative;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "+"; position: absolute; right: 0.2rem; top: 50%;
  transform: translateY(-50%); font-size: 1.3rem; color: var(--terracotta);
  transition: transform 0.35s var(--ease);
}
.acc[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.acc p {
  margin: 0 0 1.3rem; font-size: 0.95rem; color: var(--ink-soft); max-width: 62ch;
}

/* ───────── band ───────── */


/* ───────── footer ───────── */

.footer { background: var(--crimson-deep); color: rgba(253, 246, 238, 0.82); padding-top: 4.5rem; }
.footer__inner {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 2.5rem; padding-bottom: 3.5rem;
}
.footer__lockup {
  width: min(260px, 100%); height: auto; margin-bottom: 1rem;
  filter: brightness(0) invert(1); opacity: 0.94;
}
.footer__tag { font-family: var(--serif); font-style: italic; font-size: 1rem; margin: 0; }
.footer__col h4 {
  color: var(--turmeric); font-family: var(--sans); font-size: 0.66rem;
  letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1.1rem;
}
.footer__col { display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.9rem; }
.footer__col a { transition: color 0.3s; width: fit-content; }
.footer__col a:hover { color: var(--turmeric); }
.footer__micro { font-size: 0.78rem; opacity: 0.65; margin: 0.7rem 0 0; font-style: italic; }

.footer__base {
  border-top: 1px solid rgba(253, 246, 238, 0.16);
  padding: 1.5rem 0 2rem;
  display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; justify-content: space-between;
  font-size: 0.76rem; letter-spacing: 0.06em;
}
.footer__base p { margin: 0; opacity: 0.75; }

/* ───────── responsive ───────── */

@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.8rem; }
  .steps::before { display: none; }
  .footer__inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav__toggle { display: flex; }
  .brand__lockup, .nav.is-stuck .brand__lockup { height: 42px; }
  .nav__links {
    position: fixed; inset: 0 0 auto 0; top: 0;
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 1.4rem; height: 100dvh;
    background: var(--cream); padding: 2rem 2.2rem;
    visibility: hidden; clip-path: inset(0 0 0 100%);
    transition: clip-path 0.5s var(--ease), visibility 0s linear 0.5s;
    z-index: 70;
  }
  .nav__links.is-open { visibility: visible; clip-path: inset(0); transition-delay: 0s; }
  .nav__links > a:not(.btn) { font-family: var(--serif); font-size: 2rem; color: var(--crimson); }
  .nav__toggle { position: relative; z-index: 80; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__copy { grid-column: 1; grid-row: 2; text-align: center; }
  .hero__art  { grid-column: 1; grid-row: 1; order: -1; max-width: 340px; margin-inline: auto; width: 100%; overflow: hidden; padding-bottom: 1rem; }
  .hero__logo { max-width: 224px; margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__kolam { right: 50%; transform: translate(50%, -50%); opacity: 0.1; width: 115vw; }
  .story__grid { grid-template-columns: 1fr; }
  .story__media { aspect-ratio: 4 / 5; max-height: 560px; }
  .models__grid { grid-template-columns: 1fr; }
  .models__or { justify-self: center; }
  .section__head--split { align-items: flex-start; }
  .series-detail__heading { grid-template-columns: 1fr; gap: 0.6rem; }
  .series-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story__copy .lead { font-size: 1rem; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .cards, .steps, .footer__inner { grid-template-columns: 1fr; }
  .series-grid { gap: 0.8rem; }
  .series-card__visual { aspect-ratio: 1.1; }
  .series-card__body { padding: 0.75rem; }
  .series-card__name { font-size: 1.1rem; }
  .series-card__tagline { font-size: 0.88rem; margin-top: 0.2rem; }
  .series-card__one-liner { font-size: 0.75rem; margin-top: 0.4rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .series-card__link { font-size: 0.6rem; padding-top: 0.6rem; }
  .series-gallery__grid { gap: 0.5rem; }
  .series-image-dialog { max-width: 96vw; }
  .series-image-dialog form { right: 0; top: -3rem; }
  /* hero chips: hide chip-b entirely, keep chip-a small and inside bounds */
  .hero__chip--a { width: 72px; left: 0; top: 8%; }
  .hero__chip--b { display: none; }
  .waitlist { background-attachment: scroll; }
}

@media (max-width: 420px) {
  /* F-08: keep 2-col grid at all phone sizes — 1-col made cards too tall to scan */
}

@media (max-width: 360px) {
  .series-gallery__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
      transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
