/* ANI SHANTI — one stylesheet for every page.
   Layout concept: blush editorial bands and deep-cherry bands alternate, joined by soft waves;
   portraits sit in arches and ovals; script is only ever an accent on top of serif type. */
:root {
  --cherry-deep: #3A0A10;
  --wine: #5A0F1E;
  --cherry: #8E1B2E;
  --cream: #FBF4EC;
  --blush: #F4D6D9;
  --blush-soft: #F9E8E8;
  --paper: #FFFDF9;
  --champagne: #C9A37F;
  --ink: #2A0B10;
  --ink-soft: #6B3A41;
  --on-dark: #FBF4EC;
  --on-dark-soft: #E8CFC9;
  --line-dark: rgba(251, 244, 236, .22);
  --line-light: rgba(90, 15, 30, .18);

  --f-display: "Playfair Display", "Didot", "Bodoni 72", Georgia, serif;
  --f-script: "Pinyon Script", "Snell Roundhand", "Apple Chancery", cursive;
  --f-body: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --step--1: clamp(.8rem, .78rem + .1vw, .86rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.1rem + .45vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 3.2rem);
  --step-4: clamp(2.6rem, 1.9rem + 3.6vw, 5rem);
  --step-5: clamp(3.4rem, 2.2rem + 6vw, 7.6rem);

  --wrap: 1180px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --radius: 14px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: var(--step-0); line-height: 1.6; font-weight: 400;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--cherry-deep); color: var(--on-dark); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: calc(10px + env(safe-area-inset-top, 0px)); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 40px); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.script { font-family: var(--f-script); font-weight: 400; letter-spacing: 0; line-height: .9; }
.caps { text-transform: uppercase; letter-spacing: .18em; font-size: var(--step--1); font-weight: 500; }
.lede { font-size: var(--step-1); line-height: 1.5; max-width: 34em; }
.muted { color: var(--ink-soft); }

/* ---------- bands ---------- */
.band { position: relative; }
.band--blush { background: var(--blush-soft); }
.band--cream { background: var(--cream); }
.band--paper { background: var(--paper); }
.band--cherry { background: var(--wine); color: var(--on-dark); }
.band--deep { background: var(--cherry-deep); color: var(--on-dark); }
.band--cherry .muted, .band--deep .muted { color: var(--on-dark-soft); }
.band__inner { padding-block: clamp(64px, 9vw, 128px); }

.wave { display: block; width: 100%; height: clamp(36px, 6vw, 90px); pointer-events: none; }
.wave path { fill: currentColor; }
.wave--into-cherry { color: var(--wine); background: var(--blush-soft); }
.wave--into-deep { color: var(--cherry-deep); }
.wave--cherry-to-blush { color: var(--blush-soft); background: var(--wine); }
.wave--cherry-to-cream { color: var(--cream); background: var(--wine); }
.wave--cream-to-cherry { color: var(--wine); background: var(--cream); }
.wave--paper-to-deep { color: var(--cherry-deep); background: var(--paper); }
.wave--blush-to-paper { color: var(--paper); background: var(--blush-soft); }
.wave--paper-to-cherry { color: var(--wine); background: var(--paper); }

/* ---------- header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--blush-soft); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 25;
  background: color-mix(in srgb, var(--blush-soft) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line-light); }
.site-header .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.brand { display: flex; align-items: baseline; gap: 2px; text-decoration: none; color: var(--cherry-deep); white-space: nowrap; }
.brand b { font-family: var(--f-display); font-weight: 500; font-size: 1.05rem; letter-spacing: .26em; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a, .nav button.linkish {
  text-decoration: none; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  padding: 10px 12px; border-radius: 999px; color: var(--cherry-deep); background: none; border: 0; cursor: pointer;
}
.nav a:hover, .nav button.linkish:hover, .nav a[aria-current="page"] { background: rgba(142, 27, 46, .08); }
.header-tools { display: flex; align-items: center; gap: 6px; margin-left: 6px; }
.chip-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-light); background: var(--paper); color: var(--cherry-deep); cursor: pointer;
  font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; text-decoration: none;
}
.chip-btn:hover { border-color: var(--cherry); }
.icon-btn { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; border: 1px solid var(--line-light); background: var(--paper); color: var(--cherry-deep); cursor: pointer; position: relative; }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count { position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; border-radius: 999px; background: var(--cherry); color: var(--on-dark); font-size: .7rem; display: grid; place-items: center; padding: 0 5px; font-variant-numeric: tabular-nums; }
.menu-btn { display: none; }

@media (max-width: 920px) {
  .nav { position: fixed; inset: 0; background: var(--blush-soft); flex-direction: column; align-items: stretch; justify-content: center; gap: 6px; padding: 80px max(28px, env(safe-area-inset-right, 0px)) 40px max(28px, env(safe-area-inset-left, 0px)); transform: translateY(-102%); transition: transform .35s ease; z-index: 40; visibility: hidden; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a, .nav button.linkish { font-family: var(--f-display); text-transform: none; letter-spacing: 0; font-size: 2rem; font-weight: 400; text-align: left; padding: 10px 6px; border-radius: 8px; }
  .nav .nav-close { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); }
  .menu-btn { display: grid; }
  .header-tools { margin-left: auto; }
  .chip-btn.mycourses-top { display: none; }
}
@media (min-width: 921px) { .nav .nav-close, .nav .mycourses-in-menu { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px;
  border-radius: 999px; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--cherry { background: var(--cherry); color: var(--on-dark); }
.btn--cherry:hover { background: var(--wine); }
.btn--cream { background: var(--cream); color: var(--cherry-deep); }
.btn--cream:hover { background: var(--paper); }
.btn--ghost-light { border-color: var(--line-dark); color: var(--on-dark); background: transparent; }
.btn--ghost-light:hover { border-color: var(--on-dark); }
.btn--ghost { border-color: var(--line-light); color: var(--cherry-deep); background: transparent; }
.btn--ghost:hover { border-color: var(--cherry); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.arrow { display: inline-block; transition: transform .2s; }
a:hover .arrow, button:hover .arrow { transform: translateX(3px); }

/* ---------- frames ---------- */
.arch { border-radius: 999px 999px 18px 18px; overflow: hidden; background: var(--blush); }
.oval { border-radius: 50%; overflow: hidden; background: var(--blush); }
.arch img, .oval img { width: 100%; height: 100%; object-fit: cover; }
.ring { position: relative; }
.ring::after { content: ""; position: absolute; inset: -10px; border: 1px solid var(--champagne); border-radius: inherit; pointer-events: none; opacity: .7; }

.browser { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 24px 60px -24px rgba(42, 11, 16, .55); border: 1px solid rgba(42, 11, 16, .12); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; background: #f3ece8; }
.browser__bar i { width: 7px; height: 7px; border-radius: 50%; background: #d9c7c2; }
.browser__bar span { margin-left: 8px; font-size: .64rem; color: #8a6f6f; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser__shot { aspect-ratio: 16 / 10; background: var(--blush) center / cover no-repeat; }
.browser__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.cherries { width: 46px; height: auto; flex: none; }

/* image fallback when a remote image can't load */
.img-fallback { display: grid; place-items: center; background: linear-gradient(160deg, var(--blush), var(--cream)); color: var(--cherry); font-family: var(--f-display); font-style: italic; text-align: center; padding: 16px; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(18px, 3vw, 32px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero__name { position: relative; color: var(--cherry-deep); margin-bottom: clamp(18px, 2.5vw, 30px); }
.hero__name .script { display: block; font-size: clamp(3.6rem, 2.2rem + 6vw, 7.4rem); color: var(--cherry); margin-bottom: -.32em; margin-left: -.04em; }
.hero__name .serif { display: block; font-family: var(--f-display); font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5.6rem); letter-spacing: .14em; font-weight: 400; line-height: 1; padding-left: .45em; }
.hero h1 { font-size: var(--step-3); font-style: italic; color: var(--cherry-deep); max-width: 15em; margin-bottom: 18px; }
.hero h1 em { font-style: normal; }
.hero .lede { color: var(--ink-soft); margin-bottom: 26px; }
.course-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 640px; }
.course-pick {
  display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 18px; text-decoration: none;
  background: var(--paper); border: 1px solid var(--line-light); transition: border-color .2s, transform .2s, background .2s;
}
.course-pick:hover { border-color: var(--cherry); transform: translateY(-2px); }
.course-pick small { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.course-pick strong { font-family: var(--f-display); font-weight: 400; font-size: 1.55rem; line-height: 1.1; color: var(--cherry-deep); }
.course-pick span { font-size: .92rem; color: var(--ink-soft); }
.course-pick--dark { background: var(--wine); border-color: var(--wine); }
.course-pick--dark small, .course-pick--dark span { color: var(--on-dark-soft); }
.course-pick--dark strong { color: var(--on-dark); }
.course-pick--dark:hover { background: var(--cherry-deep); border-color: var(--cherry-deep); }
.hero__portrait { position: relative; justify-self: center; width: min(100%, 420px); }
.hero__portrait .arch { aspect-ratio: 4 / 5.4; }
.hero__portrait .cherries { position: absolute; right: -6px; bottom: 34px; width: 74px; filter: drop-shadow(0 8px 10px rgba(58,10,16,.25)); }
.hero__sig { position: absolute; left: -18px; bottom: 18px; background: var(--paper); border-radius: 999px; padding: 10px 18px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cherry-deep); box-shadow: 0 10px 30px -14px rgba(58,10,16,.4); }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__portrait { order: -1; width: min(62%, 260px); justify-self: end; margin-top: -8px; margin-bottom: -96px; }
  .hero__portrait .cherries { width: 50px; right: -4px; bottom: 16px; }
  .hero__sig { display: none; }
  .hero__name { max-width: 70%; }
}
@media (max-width: 860px) {
  .hero__text { display: flex; flex-direction: column; }
  .hero__text .course-picks { order: 2; margin-bottom: 22px; }
  .hero__text .lede { order: 3; margin-bottom: 0; font-size: var(--step-0); }
}
@media (max-width: 520px) {
  .course-picks { grid-template-columns: 1fr; gap: 10px; }
  .course-pick { padding: 14px 18px; gap: 2px; }
  .course-pick > span { display: none; }
  .course-pick strong { font-size: 1.3rem; }
  .hero h1 { font-size: 1.75rem; }
  .hero__portrait { width: 44%; margin-bottom: -70px; }
  .hero__name { max-width: 64%; }
}

/* ---------- section heads ---------- */
.head { display: grid; gap: 4px; margin-bottom: clamp(32px, 5vw, 64px); }
.head .script { font-size: clamp(2.6rem, 1.8rem + 3vw, 4.6rem); color: var(--champagne); }
.band--blush .head .script, .band--cream .head .script, .band--paper .head .script { color: var(--cherry); }
.head h2 { font-size: var(--step-4); text-transform: uppercase; letter-spacing: .04em; margin-top: -.2em; padding-left: .6em; }
.head p { margin-top: 14px; max-width: 38em; }
.head--center { text-align: center; justify-items: center; }
.head--center h2 { padding-left: 0; }

/* ---------- courses ---------- */
.courses { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.course { display: grid; gap: 22px; align-content: start; }
.course__visual { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 14px; align-items: end; }
.course__visual .arch { aspect-ratio: 3 / 4; }
.course__visual .browser { margin-bottom: 18px; }
.course__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; color: var(--champagne); }
.course__kicker::after { min-width: 40px; }
.course__kicker::after { content: ""; flex: 1; height: 1px; background: var(--line-dark); }
.course h3 { font-size: var(--step-3); }
.course h3 em { font-family: var(--f-script); font-style: normal; color: var(--blush); font-size: 1.15em; font-weight: 400; }
.course__for { font-size: var(--step-1); line-height: 1.45; font-family: var(--f-display); font-style: italic; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.facts li { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-size: .96rem; }
.facts b { font-weight: 500; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--champagne); padding-top: 3px; }
.journeys { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.journey { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 16px; display: grid; gap: 6px; align-content: start; }
.journey h4 { font-size: 1.25rem; }
.journey p { font-size: .9rem; color: var(--on-dark-soft); }
.journey .cert { font-size: .78rem; letter-spacing: .06em; color: var(--champagne); }
.course__cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.price-note { font-size: .9rem; color: var(--on-dark-soft); font-variant-numeric: tabular-nums; }
.course__note { font-size: .82rem; color: var(--on-dark-soft); }
@media (max-width: 980px) {
  .courses { grid-template-columns: 1fr; gap: 72px; }
  .course + .course { padding-top: 56px; border-top: 1px solid var(--line-dark); }
}
@media (max-width: 520px) {
  .facts li { grid-template-columns: 1fr; gap: 2px; }
  .journeys { grid-template-columns: 1fr; }
  .course__visual { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
}

/* ---------- choose ---------- */
.choose { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line-light); }
.choose__col { padding: clamp(24px, 4vw, 48px) clamp(0px, 3vw, 40px) clamp(24px, 4vw, 40px) 0; display: grid; gap: 18px; align-content: start; }
.choose__col + .choose__col { border-left: 1px solid var(--line-light); padding-left: clamp(20px, 4vw, 48px); padding-right: 0; }
.choose__when { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.choose ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.choose li { font-family: var(--f-display); font-size: var(--step-2); line-height: 1.2; color: var(--cherry-deep); }
.choose li::before { content: "“"; color: var(--champagne); margin-right: .05em; }
.choose__go { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; padding-top: 8px; font-size: .84rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--cherry); border-bottom: 1px solid currentColor; justify-self: start; padding-bottom: 4px; min-height: 44px; }
@media (max-width: 760px) {
  .choose { grid-template-columns: 1fr; }
  .choose__col, .choose__col + .choose__col { padding: 28px 0; border-left: 0; }
  .choose__col + .choose__col { border-top: 1px solid var(--line-light); }
}

/* ---------- intro ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.intro__head .script { font-size: clamp(2.4rem, 1.8rem + 2.4vw, 4rem); color: var(--cherry); display: block; }
.intro__head .serif { font-family: var(--f-display); font-size: var(--step-3); text-transform: uppercase; letter-spacing: .1em; display: block; margin-top: -.25em; padding-left: 1.6em; color: var(--cherry-deep); }
.intro h2 { font-size: var(--step-3); margin: 22px 0 18px; color: var(--cherry-deep); }
.intro .body { display: grid; gap: 14px; max-width: 34em; color: var(--ink-soft); }
.intro blockquote { margin: 24px 0 0; padding: 0 0 0 18px; border-left: 2px solid var(--champagne); font-family: var(--f-display); font-style: italic; font-size: var(--step-1); color: var(--cherry-deep); max-width: 26em; }
.intro__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tag { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-light); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cherry-deep); background: var(--paper); }
.intro__portrait { position: relative; justify-self: center; width: min(100%, 400px); }
.intro__portrait .oval { aspect-ratio: 3 / 4; }
.intro__portrait .cherries { position: absolute; left: -10px; top: 26px; width: 56px; }
@media (max-width: 820px) { .intro { grid-template-columns: 1fr; } .intro__portrait { width: min(80%, 320px); } }

/* ---------- shop teaser + shop grid ---------- */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.product-card { display: grid; gap: 12px; text-decoration: none; align-content: start; }
.product-card__img { aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--blush); position: relative; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card__img img { transform: scale(1.03); }
.product-card__type { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne); }
.band--paper .product-card__type, .band--cream .product-card__type, .band--blush .product-card__type { color: var(--cherry); }
.product-card h3 { font-size: 1.45rem; line-height: 1.15; }
.product-card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-variant-numeric: tabular-nums; }
.product-card__desc { font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.badge { position: absolute; left: 12px; top: 12px; background: var(--paper); color: var(--cherry-deep); border-radius: 999px; padding: 5px 11px; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.skeleton { background: linear-gradient(100deg, rgba(255,255,255,.06) 30%, rgba(255,255,255,.16) 50%, rgba(255,255,255,.06) 70%) 0 0 / 300% 100%; animation: shimmer 1.6s linear infinite; border-radius: 16px; }
.band--paper .skeleton, .band--cream .skeleton { background-color: var(--blush-soft); background-image: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.7) 50%, transparent 70%); }
@keyframes shimmer { to { background-position: -300% 0; } }
.notice { border: 1px dashed var(--line-dark); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; max-width: 44em; }
.band--paper .notice, .band--cream .notice { border-color: var(--line-light); }
.notice h3 { font-size: 1.4rem; }
.shop-teaser__foot { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; margin-top: clamp(32px, 4vw, 48px); padding-top: 24px; border-top: 1px solid var(--line-dark); }

/* ---------- selected work collage ---------- */
.collage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); align-items: start; }
.work-tile { text-decoration: none; display: grid; gap: 10px; }
.work-tile figcaption { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.work-tile strong { font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; color: var(--cherry-deep); }
.work-tile small { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.work-tile .browser { transition: transform .35s ease; }
.work-tile:hover .browser { transform: translateY(-4px) rotate(-.3deg); }
.c1 { grid-column: 1 / 8; }
.c2 { grid-column: 8 / 13; margin-top: 64px; }
.c3 { grid-column: 1 / 5; margin-top: -10px; }
.c4 { grid-column: 5 / 9; margin-top: 40px; }
.c5 { grid-column: 9 / 13; margin-top: -24px; }
@media (max-width: 760px) {
  .collage { grid-template-columns: 1fr 1fr; }
  .c1 { grid-column: 1 / -1; }
  .c2, .c3, .c4, .c5 { grid-column: auto; margin-top: 0; }
  .c2 { margin-top: 0; }
  .work-tile strong { font-size: 1.05rem; }
  .work-tile figcaption { flex-direction: column; gap: 0; }
}

/* ---------- closing + footer ---------- */
.closing { text-align: center; display: grid; justify-items: center; gap: 18px; }
.closing .script { font-size: clamp(3rem, 2rem + 4vw, 6rem); color: var(--blush); }
.closing h2 { font-size: var(--step-4); margin-top: -.3em; }
.closing p { max-width: 32em; color: var(--on-dark-soft); }
.closing__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.footer { border-top: 1px solid var(--line-dark); padding-block: 48px 36px; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer h4 { font-family: var(--f-body); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--champagne); margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer a { text-decoration: none; color: var(--on-dark-soft); display: inline-block; padding: 4px 0; }
.footer a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }
.footer button.linkish { background: none; border: 0; padding: 4px 0; color: var(--on-dark-soft); cursor: pointer; text-align: left; }
.footer button.linkish:hover { color: var(--on-dark); text-decoration: underline; }
.footer__brand .script { font-size: 3rem; color: var(--blush); }
.footer__brand p { color: var(--on-dark-soft); font-size: .92rem; max-width: 22em; margin-top: 6px; }
.email-line { font-variant-numeric: tabular-nums; user-select: all; word-break: break-all; }
.legal { border-top: 1px solid var(--line-dark); padding-block: 18px 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .8rem; color: var(--on-dark-soft); }
.legal a { color: inherit; }
@media (max-width: 900px) { .footer { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- dialogs (my courses, cart) ---------- */
dialog { border: 0; padding: 0; color: var(--ink); background: var(--paper); max-width: calc(100vw - 24px); }
dialog::backdrop { background: rgba(42, 11, 16, .55); backdrop-filter: blur(3px); }
.modal { width: 560px; border-radius: 22px; }
.modal__inner { padding: 28px; display: grid; gap: 18px; }
.modal__top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.modal h2 { font-size: 2rem; color: var(--cherry-deep); }
.modal .script { color: var(--cherry); font-size: 2.2rem; display: block; }
.login-choice { display: grid; gap: 10px; }
.login-choice a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line-light); text-decoration: none; min-height: 64px; }
.login-choice a:hover { border-color: var(--cherry); background: var(--blush-soft); }
.login-choice strong { font-family: var(--f-display); font-weight: 400; font-size: 1.4rem; color: var(--cherry-deep); }
.login-choice small { display: block; color: var(--ink-soft); font-size: .84rem; }
.drawer { margin: 0 0 0 auto; height: 100%; max-height: 100%; width: min(440px, 100vw); border-radius: 0; }
.drawer[open] { display: flex; flex-direction: column; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: calc(18px + env(safe-area-inset-top, 0px)) max(22px, env(safe-area-inset-right, 0px)) 18px 22px; border-bottom: 1px solid var(--line-light); }
.drawer__head h2 { font-size: 1.8rem; color: var(--cherry-deep); }
.drawer__body { flex: 1; overflow: auto; padding: 8px max(22px, env(safe-area-inset-right, 0px)) 8px 22px; }
.drawer__foot { padding: 18px max(22px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) 22px; border-top: 1px solid var(--line-light); display: grid; gap: 12px; }
.line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-light); align-items: center; }
.line img { width: 64px; height: 80px; object-fit: cover; border-radius: 10px; background: var(--blush); }
.line h3 { font-size: 1.05rem; line-height: 1.25; }
.line small { color: var(--ink-soft); font-size: .8rem; }
.line .remove { background: none; border: 0; color: var(--cherry); font-size: .78rem; text-decoration: underline; cursor: pointer; padding: 8px 0; min-height: 36px; }
.sum { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.fine { font-size: .8rem; color: var(--ink-soft); }
.status { font-size: .9rem; padding: 12px 14px; border-radius: 12px; background: var(--blush-soft); color: var(--cherry-deep); }
.status--error { background: #fbe3e3; color: #7a1020; }
.status--ok { background: #eef3ea; color: #2f4a2a; }

/* ---------- shop page ---------- */
.page-hero { padding-block: clamp(36px, 6vw, 80px) clamp(20px, 3vw, 36px); }
.page-hero .script { font-size: clamp(3rem, 2rem + 4vw, 6rem); color: var(--cherry); display: block; }
.page-hero h1 { font-size: var(--step-4); text-transform: uppercase; letter-spacing: .05em; color: var(--cherry-deep); margin-top: -.28em; padding-left: .7em; }
.page-hero .lede { margin-top: 18px; color: var(--ink-soft); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-light); background: var(--paper); cursor: pointer; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cherry-deep); font-weight: 500; }
.filter[aria-pressed="true"] { background: var(--cherry-deep); color: var(--on-dark); border-color: var(--cherry-deep); }
.filter span { opacity: .65; margin-left: 4px; font-variant-numeric: tabular-nums; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.pdp__gallery { display: grid; gap: 12px; position: sticky; top: 90px; }
.pdp__main { aspect-ratio: 4 / 5; border-radius: 999px 999px 20px 20px; overflow: hidden; background: var(--blush); }
.pdp__main img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.pdp__thumbs button { width: 68px; height: 84px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: var(--blush); cursor: pointer; }
.pdp__thumbs button[aria-current="true"] { border-color: var(--cherry); }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp__info { display: grid; gap: 20px; }
.pdp__info h1 { font-size: var(--step-3); color: var(--cherry-deep); }
.pdp__price { font-family: var(--f-display); font-size: 1.8rem; color: var(--cherry); font-variant-numeric: tabular-nums; }
.spec { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line-light); }
.spec dt, .spec dd { padding: 11px 0; border-bottom: 1px solid var(--line-light); margin: 0; }
.spec dt { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); padding-right: 20px; padding-top: 14px; }
.variants { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.variants legend { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.variants label { position: relative; }
.variants input { position: absolute; opacity: 0; }
.variants span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-light); cursor: pointer; }
.variants input:checked + span { border-color: var(--cherry); background: var(--blush-soft); }
.variants input:focus-visible + span { outline: 2px solid var(--champagne); outline-offset: 2px; }
.prose { color: var(--ink-soft); max-width: 40em; }
.prose h2, .prose h3, .prose h4 { font-size: 1.4rem; color: var(--cherry-deep); margin: 1.4em 0 .5em; }
.prose p { margin: 0 0 .9em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; margin-bottom: 1em; }
.prose td, .prose th { border-bottom: 1px solid var(--line-light); padding: 8px 6px; text-align: left; }
.prose-wrap { overflow-x: auto; }
.access-box { border-radius: 16px; padding: 18px 20px; background: var(--blush-soft); display: grid; gap: 6px; }
.access-box b { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cherry); font-weight: 500; }
.crumbs { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.crumbs a { color: inherit; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; } .pdp__gallery { position: static; } .pdp__main { max-width: 440px; } }

/* ---------- work page ---------- */
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 5vw, 64px) clamp(24px, 4vw, 48px); }
.project { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-content: start; }
.project--wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 56px); }
.project__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.project h3 { font-size: var(--step-2); color: var(--cherry-deep); }
.project p { color: var(--ink-soft); }
.project__did { font-size: .9rem; }
.project__did b { font-weight: 500; color: var(--cherry-deep); }
.label { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.label--own { background: var(--wine); color: var(--on-dark); }
.label--concept { background: var(--blush); color: var(--cherry-deep); }
.label--demo { background: transparent; border: 1px solid var(--cherry); color: var(--cherry); }
.label--cat { color: var(--ink-soft); padding-left: 0; }
.visit { overflow-wrap: anywhere; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cherry); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 4px; min-height: 40px; justify-self: start; }
.visit--pending { color: var(--ink-soft); border-bottom-style: dashed; }
.brand-plate { aspect-ratio: 16 / 10; border-radius: 12px; display: grid; place-items: center; text-align: center; padding: 20px; background: var(--cream); border: 1px solid var(--line-light); }
.brand-plate strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); letter-spacing: .14em; color: var(--cherry-deep); }
.brand-plate small { display: block; margin-top: 6px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 760px) { .projects { grid-template-columns: minmax(0, 1fr); } .project--wide { grid-template-columns: minmax(0, 1fr); } }

.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-dark); }
.service { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line-dark); display: grid; gap: 10px; align-content: start; }
.service:nth-child(2n) { padding-left: 28px; padding-right: 0; border-left: 1px solid var(--line-dark); }
.service h3 { font-size: var(--step-2); }
.service .for { font-family: var(--f-display); font-style: italic; color: var(--blush); }
.service ul { margin: 4px 0 0; padding-left: 1.1em; color: var(--on-dark-soft); font-size: .95rem; }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } .service, .service:nth-child(2n) { padding: 24px 0; border-left: 0; } }

.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line-light); border-radius: 12px; padding: 13px 14px; min-height: 48px; width: 100%; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--champagne); outline-offset: 1px; border-color: var(--cherry); }
.field [aria-invalid="true"] { border-color: #a3162c; }
.err { color: #a3162c; font-size: .82rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 760px) { .contact, .two { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -5000px; }

/* ---------- motion ---------- */
.reveal { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.reveal-2 { animation-delay: .12s; } .reveal-3 { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.work-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(24px, 5vw, 64px); align-items: end; }
.work-hero__img { aspect-ratio: 3 / 4; max-width: 300px; width: 100%; justify-self: end; }
@media (max-width: 760px) { .work-hero { grid-template-columns: 1fr; } .work-hero__img { order: -1; max-width: 150px; justify-self: start; } }
#home-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) {
  #home-products { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  #home-products .product-card { grid-template-columns: 110px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; }
  #home-products .product-card__img { grid-row: 1 / span 4; aspect-ratio: 4 / 5; border-radius: 12px; }
  #home-products .product-card h3 { font-size: 1.15rem; }
  #home-products .product-card__desc { display: none; }
}

/* phone mockup */
.phone { width: 100%; max-width: 220px; aspect-ratio: 9 / 19; border-radius: 30px; padding: 7px; background: #1d0a0d; box-shadow: 0 26px 50px -22px rgba(42, 11, 16, .7), inset 0 0 0 1px rgba(255,255,255,.08); }
.phone__screen { width: 100%; height: 100%; border-radius: 24px; overflow: hidden; background: var(--blush); }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.devices { position: relative; padding-right: 13%; padding-bottom: 10%; }
.devices .phone { position: absolute; right: 0; bottom: 0; width: 26%; min-width: 72px; border-radius: 18px; padding: 4px; }
.devices .phone__screen { border-radius: 14px; }
.brand-shot { aspect-ratio: 1200 / 848; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 60px -24px rgba(42, 11, 16, .45); border: 1px solid rgba(42, 11, 16, .1); background: var(--blush); }
.brand-shot img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 521px) { .course-pick strong .arrow { display: none; } }

.intro__second { position: absolute; width: 38%; aspect-ratio: 3 / 4; right: -8%; bottom: -6%; border: 6px solid var(--paper); box-shadow: 0 20px 40px -20px rgba(42,11,16,.45); }
@media (max-width: 820px) { .intro__second { right: -4%; } }
.closing__photo { position: relative; width: min(180px, 46vw); margin-bottom: 6px; }
.closing__photo .arch { aspect-ratio: 3 / 4; border: 1px solid var(--champagne); padding: 0; }
.closing__photo .cherries { position: absolute; right: -18px; bottom: -6px; width: 48px; }
.contact__photo { position: relative; width: min(240px, 60%); margin-top: 10px; }
.contact__photo .oval { aspect-ratio: 3 / 4; }
.contact__photo .oval img { object-position: 60% 30%; }
.contact__photo .cherries { position: absolute; left: -12px; bottom: 18px; width: 48px; }
.work-hero__img img { object-position: 50% 20%; }

.legal { max-width: 44em; }
.legal h2 { font-size: 1.5rem; }
.legal a { color: var(--cherry); }

/* journal */
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 40px); }
.post-card { display: grid; gap: 16px; text-decoration: none; align-content: start; }
.post-card__img { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--blush); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform .5s ease; }
.post-card:hover .post-card__img img { transform: scale(1.03); }
.post-card__text { display: grid; gap: 8px; }
.post-card h2 { font-size: var(--step-2); color: var(--cherry-deep); }
.post-card--lead { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(24px, 4vw, 56px); }
.post-card--lead .post-card__img { aspect-ratio: auto; height: 100%; min-height: 320px; border-radius: 999px 999px 20px 20px; }
.post-card--lead h2 { font-size: var(--step-3); }
@media (max-width: 760px) { .posts { grid-template-columns: minmax(0, 1fr); } .post-card--lead { grid-template-columns: minmax(0, 1fr); } .post-card--lead .post-card__img { min-height: 0; aspect-ratio: 4 / 3; border-radius: 16px; } }
.post-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(24px, 5vw, 64px); align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.post-head h1 { font-size: var(--step-4); color: var(--cherry-deep); margin-bottom: 16px; }
.post-head__img { aspect-ratio: 3 / 4; max-width: 300px; width: 100%; justify-self: end; }
.post-head__img img { object-position: 50% 25%; }
.post-by .script { font-size: 2.4rem; color: var(--cherry); }
.post-body { font-size: 1.08rem; line-height: 1.75; max-width: 38em; margin-inline: auto; }
.post-body a { color: var(--cherry); }
.post-body h2 { font-size: var(--step-2); }
.post-body ol { padding-left: 1.3em; margin: 0 0 1em; }
.post-cta { margin: clamp(48px, 6vw, 80px) auto 0; max-width: 38em; background: var(--wine); color: var(--on-dark); border-radius: 22px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; }
@media (max-width: 760px) { .post-head { grid-template-columns: minmax(0, 1fr); } .post-head__img { order: -1; max-width: 180px; justify-self: start; } }
