/* ==========================================================================
   Tryna Beauty — prototype styles, version 2 (photo-led, 14 Nov 2026)
   Page:   white. Colour lives inside the photographs.
   Colour: ink for text; the photographs' deep pink for buttons and small accents.
   Type:   Jost only.
   Motion: fades only. Nothing pins, slides over another section or disappears.
   Prefix: every class starts with ty-
   ========================================================================== */

:root {
  --white: #fff;
  --ink: #211C1E;
  --ink-70: rgba(33, 28, 30, .74);
  --ink-55: rgba(33, 28, 30, .66);
  --line: rgba(33, 28, 30, .13);
  --line-strong: rgba(33, 28, 30, .3);
  --pink: #A11049;        /* the photographs' backdrop, at its centre */
  --pink-deep: #86023B;   /* the same backdrop towards its edges */
  --pink-dark: #7A0136;
  --magenta: #E3097F;     /* the logo's magenta: small marks only */
  --blush: #FBEEF3;       /* seen only while a photograph loads */

  --font: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --r: 14px;
  --header-h: 64px;
  --announce-h: 36px;

  --z-buybar: 40;
  --z-header: 50;
  --z-sheet: 70;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--pink); color: #fff; }

.ty-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ty-skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; transition: top .2s; }
.ty-skip:focus { top: 12px; }

/* ---------- layout ---------- */
.ty-wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.ty-sec { padding-block: clamp(36px, 5.5vw, 76px); }
.ty-center { text-align: center; }
/* grid and flex children may shrink below their content, so a long word or a slow image never widens the page */
.ty-pair > *, .ty-four > *, .ty-three > *, .ty-reels > *, .ty-split > *, .ty-milk > *, .ty-pdp__grid > *, .ty-revs > * { min-width: 0; }
figure { min-width: 0; }

/* ---------- type ---------- */
.ty-h1 { font-weight: 400; font-size: clamp(2.15rem, 4.3vw, 3.75rem); line-height: 1.06; letter-spacing: -.02em; text-wrap: balance; }
.ty-h2 { font-weight: 400; font-size: clamp(1.8rem, 3.5vw, 3.1rem); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.ty-h3 { font-weight: 500; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.25; }
.ty-lead { font-size: clamp(1.06rem, 1.4vw, 1.25rem); line-height: 1.5; color: var(--ink-70); text-wrap: pretty; }
.ty-body { color: var(--ink-70); text-wrap: pretty; max-width: 52ch; }
.ty-eyebrow { font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); }
.ty-note { font-size: .86rem; line-height: 1.45; color: var(--ink-55); }

.ty-head { display: grid; gap: 10px; justify-items: start; margin: 0 0 clamp(22px, 3.2vw, 44px); }
.ty-head .ty-h2 { max-width: 17ch; }
.ty-head--center { justify-items: center; text-align: center; max-width: 760px; margin-inline: auto; }
.ty-head--center .ty-h2 { max-width: none; }

/* ---------- buttons and links ---------- */
.ty-btn {
  --bg: var(--pink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 500; font-size: 1rem; letter-spacing: .01em; line-height: 1; white-space: nowrap;
  transition: background-color .2s, box-shadow .2s;
}
.ty-btn:hover { --bg: var(--pink-deep); }
.ty-btn__price { padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .5); }
.ty-btn--white { --bg: #fff; --fg: var(--ink); }
.ty-btn--white:hover { --bg: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .3); }
.ty-btn--white .ty-btn__price { border-left-color: var(--line-strong); }
.ty-btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.ty-btn--ghost:hover { --bg: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.ty-btn--sm { min-height: 44px; padding: 0 20px; font-size: .95rem; }
.ty-btn--block { width: 100%; }
.ty-textlink { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.ty-textlink:hover { text-decoration-color: var(--pink); }

/* ---------- photographs ---------- */
.ty-ph { position: relative; overflow: hidden; border-radius: var(--r); background: var(--blush); }
.ty-ph img { width: 100%; height: 100%; object-fit: cover; }
.ty-ph--45 { aspect-ratio: 4 / 5; }
.ty-ph--34 { aspect-ratio: 3 / 4; }
.ty-ph--23 { aspect-ratio: 2 / 3; }
.ty-ph--32 { aspect-ratio: 3 / 2; }
.ty-ph--916 { aspect-ratio: 9 / 16; }
.ty-ph--wide { aspect-ratio: 3 / 2; }
@media (min-width: 900px) { .ty-ph--wide { aspect-ratio: 2 / 1; } .ty-ph--wide img { object-position: 50% 30%; } }

/* a photograph with its line of text under it */
.ty-shot { display: grid; gap: 12px; align-content: start; }
.ty-shot__cap { display: grid; gap: 2px; }
.ty-shot__cap strong { font-weight: 500; font-size: clamp(1.06rem, 1.5vw, 1.3rem); line-height: 1.25; }
.ty-shot__cap span { color: var(--ink-70); font-size: .98rem; line-height: 1.4; }
.ty-shot__cap small { color: var(--ink-55); font-size: .92rem; line-height: 1.35; }

.ty-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 2vw, 24px); max-width: 920px; margin-inline: auto; }
.ty-pair--narrow { max-width: 800px; }
.ty-four { display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(10px, 2vw, 24px); }
@media (min-width: 900px) { .ty-four { grid-template-columns: repeat(4, 1fr); } }

/* two photographs of different sizes, the second set lower: a little asymmetry, no motion */
.ty-stagger { display: grid; gap: clamp(22px, 2.4vw, 28px); }
@media (min-width: 700px) {
  .ty-stagger { grid-template-columns: 7fr 5fr; align-items: start; }
  .ty-stagger > :nth-child(2) { margin-top: clamp(56px, 10vw, 150px); }
}

/* four photographs of four sizes; each carries its own line of text */
.ty-bento { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 2vw, 24px); }
.ty-bento > * { min-width: 0; }
.ty-bento__tile { position: relative; overflow: hidden; border-radius: var(--r); background: var(--blush); }
.ty-bento__tile img { width: 100%; height: 100%; object-fit: cover; }
.ty-bento__a { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
.ty-bento__b, .ty-bento__c { aspect-ratio: 4 / 5; }
.ty-bento__d { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.ty-bento__cap { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 1px; padding: 64px clamp(12px, 1.6vw, 20px) clamp(12px, 1.4vw, 18px); color: #fff; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .6)); }
.ty-bento__cap small { font-size: clamp(.84rem, 1vw, .95rem); line-height: 1.3; color: rgba(255, 255, 255, .92); }
.ty-bento__cap strong { font-weight: 500; font-size: clamp(1.05rem, 1.7vw, 1.45rem); line-height: 1.2; }
@media (min-width: 900px) {
  .ty-bento { grid-template-columns: 5fr 3.5fr 3.5fr; }
  .ty-bento__a { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: auto; }
  .ty-bento__a img { position: absolute; inset: 0; }       /* its height comes from the two rows beside it */
  .ty-bento__d { grid-column: 2 / span 2; grid-row: 1; aspect-ratio: 2 / 1; }
  .ty-bento__b { grid-column: 2; grid-row: 2; }
  .ty-bento__c { grid-column: 3; grid-row: 2; }
}

/* one photograph from edge to edge */
.ty-band { margin-top: clamp(36px, 5.5vw, 76px); background: var(--blush); }
.ty-band img { width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 760px; object-fit: cover; object-position: 50% 45%; }

/* three in a row; on a phone they sit in one row you can swipe */
.ty-three { display: grid; grid-auto-flow: column; grid-auto-columns: min(72vw, 300px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.ty-three::-webkit-scrollbar { display: none; }
.ty-three > * { scroll-snap-align: start; }
@media (min-width: 900px) {
  .ty-three { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); gap: 24px; overflow: visible; margin-inline: 0; padding-inline: 0; }
}

/* photograph on one side, a few words on the other */
.ty-split { display: grid; gap: clamp(22px, 4vw, 64px); align-items: center; }
@media (min-width: 900px) {
  .ty-split { grid-template-columns: 1.1fr .9fr; }
  .ty-split--flip { grid-template-columns: .9fr 1.1fr; }
  .ty-split--shop { grid-template-columns: minmax(0, 480px) minmax(0, 460px); justify-content: center; }
}
.ty-copy { display: grid; gap: 14px; justify-items: start; align-content: center; }
.ty-copy__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 4px; }
.ty-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.ty-price strong { font-size: 1.9rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.1; }
.ty-price span { color: var(--ink-55); font-size: .95rem; }
.ty-ticks { display: grid; gap: 8px; margin-top: 6px; }
.ty-ticks li { display: flex; align-items: center; gap: 10px; color: var(--ink-70); font-size: .98rem; }
.ty-ticks svg { width: 18px; height: 18px; color: var(--pink); flex: none; }

/* small label that sits on a photograph */
.ty-tagpill { position: absolute; left: 12px; bottom: 12px; padding: 7px 13px; border-radius: 999px; background: #fff; color: var(--ink); font-size: .82rem; font-weight: 500; line-height: 1.2; }
.ty-tagpill--on { background: var(--pink); color: #fff; }

/* fade in on scroll: opacity only */
.js [data-reveal] { opacity: 0; transition: opacity .8s ease; transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; }

/* ==========================================================================
   Announcement + header
   ========================================================================== */
.ty-announce { background: var(--pink-deep); color: #fff; text-align: center; font-size: .84rem; letter-spacing: .03em; line-height: var(--announce-h); height: var(--announce-h); padding: 0 var(--gutter); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ty-announce span { margin-inline: .5em; opacity: .7; }

.ty-header { position: sticky; top: 0; z-index: var(--z-header); background: #fff; transition: box-shadow .3s; }
.ty-header.is-stuck { box-shadow: 0 1px 0 var(--line); }
.ty-header__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); }
.ty-header__left { display: flex; align-items: center; }
.ty-header__right { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.ty-nav { display: none; gap: 30px; font-size: .98rem; font-weight: 500; }
.ty-nav a, a.ty-nav { padding-block: 10px; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1.5px; text-underline-offset: 6px; transition: text-decoration-color .2s; }
.ty-nav a:hover, a.ty-nav:hover, .ty-nav a[aria-current="page"] { text-decoration-color: var(--pink); }
.ty-logo { display: flex; align-items: center; min-height: 44px; }
.ty-logo img { height: 30px; width: auto; }
.ty-iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; position: relative; transition: background-color .2s; }
.ty-iconbtn:hover { background: rgba(33, 28, 30, .07); }
.ty-iconbtn svg { width: 23px; height: 23px; }
.ty-menubtn { margin-left: -10px; }
.ty-header__right .ty-iconbtn { margin-right: -10px; }
.ty-cartcount { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--pink); color: #fff; font-size: .68rem; font-weight: 600; display: grid; place-items: center; line-height: 1; }
.ty-cartcount[data-count="0"] { display: none; }
@media (min-width: 900px) {
  .ty-nav { display: flex; }
  .ty-menubtn { display: none; }
  .ty-logo img { height: 36px; }
}

/* ---------- sheets: mobile menu + cart ---------- */
.ty-sheet { position: fixed; inset: 0; z-index: var(--z-sheet); }
.ty-sheet__scrim { position: absolute; inset: 0; background: rgba(33, 28, 30, .45); opacity: 0; transition: opacity .35s; }
.ty-sheet__panel { position: absolute; top: 0; bottom: 0; width: min(92vw, 440px); background: #fff; display: flex; flex-direction: column; padding: 20px clamp(20px, 5vw, 32px) 28px; transition: transform .45s var(--ease); overflow-y: auto; overscroll-behavior: contain; }
.ty-sheet__panel--left { left: 0; transform: translateX(-102%); }
.ty-sheet__panel--right { right: 0; transform: translateX(102%); }
.ty-sheet.is-open .ty-sheet__scrim { opacity: 1; }
.ty-sheet.is-open .ty-sheet__panel { transform: none; }
.ty-sheet__close { margin-left: -10px; }
.ty-menu { margin-block: 24px auto; display: grid; }
.ty-menu a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--line); font-size: 1.5rem; font-weight: 400; letter-spacing: -.01em; }
.ty-menu a span { font-size: 1rem; color: var(--ink-55); }

.ty-cart__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.ty-cart__head .ty-iconbtn { margin-right: -10px; }
.ty-cart__empty { display: grid; gap: 22px; justify-items: start; margin-top: 12px; }
.ty-cart__body { flex: 1; }
.ty-cart__item { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; align-items: start; padding-block: 18px; border-block: 1px solid var(--line); }
.ty-cart__item > img { width: 76px; height: 104px; object-fit: contain; background: var(--blush); border-radius: 10px; padding: 8px; }
.ty-cart__item strong { display: block; font-weight: 500; font-size: 1.1rem; }
.ty-cart__meta { display: block; font-size: .88rem; color: var(--ink-55); margin-bottom: 12px; }
.ty-cart__price { font-weight: 500; }
.ty-cart__foot { display: grid; gap: 12px; padding-top: 18px; }
.ty-cart__row { display: flex; justify-content: space-between; font-size: 1.15rem; }

.ty-qty { display: inline-grid; grid-template-columns: 44px 36px 44px; align-items: center; height: 44px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); text-align: center; }
.ty-qty button { height: 44px; font-size: 1.2rem; line-height: 1; border-radius: 999px; }
.ty-qty button:hover { color: var(--pink); }
.ty-qty output { font-weight: 500; font-variant-numeric: tabular-nums; }

/* ==========================================================================
   1. Banner
   Up to 1023 px: the words on a block of the wall's own pink, then the photograph.
     With the tall photograph (class ty-hero--tall) its empty top slides up under the words.
   From 1024 px: the wide photograph across the page. Her hand reaches in from about 30% across,
     so the words keep to a narrow column on the left.
   ========================================================================== */
.ty-hero { --hero-top: #C01F4F; position: relative; display: grid; background: var(--hero-top); color: #fff; overflow: hidden; }
.ty-hero__copy { position: relative; z-index: 1; order: -1; display: grid; gap: 12px; justify-items: start; padding: 28px var(--gutter) 24px; }
.ty-hero__eyebrow { font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .9); }
.ty-hero__sub { font-size: clamp(1.06rem, 1.5vw, 1.25rem); line-height: 1.45; color: rgba(255, 255, 255, .94); }
.ty-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; margin-top: 4px; }
.ty-hero__img { position: relative; display: block; }
.ty-hero__img img { width: 100%; height: auto; }
.ty-hero--tall .ty-hero__copy { padding-bottom: 0; }
.ty-hero--tall .ty-hero__img { margin-top: -38vw; }
.ty-hero--tall .ty-hero__img::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 20%; background: linear-gradient(var(--hero-top), transparent); pointer-events: none; }
@media (max-width: 1023px) {
  .ty-hero .ty-h1 { font-size: clamp(1.9rem, 8.4vw, 3rem); max-width: 13em; }
}
/* on a tablet the tall photograph would run far past the screen: keep its top four fifths (the empty wall, her face and the pack) */
@media (min-width: 700px) and (max-width: 1023px) {
  .ty-hero__img img { height: 120vw; object-fit: cover; object-position: 50% 0; }
}
@media (min-width: 1024px) {
  .ty-hero { display: block; background: #A32045; height: min(calc(100svh - var(--announce-h) - var(--header-h)), 62vw, 960px); }
  .ty-hero__img, .ty-hero--tall .ty-hero__img { position: absolute; inset: 0; max-width: 1920px; margin: 0 auto; }
  .ty-hero--tall .ty-hero__img::before { content: none; }
  .ty-hero__img img { height: 100%; object-fit: cover; object-position: 50% 12%; }
  .ty-hero__copy, .ty-hero--tall .ty-hero__copy { position: absolute; top: 0; bottom: 0; left: clamp(24px, 4vw, 72px); width: min(24.5vw, 470px); padding: 0 0 3% 0; align-content: center; gap: 16px; }
  .ty-hero .ty-h1 { font-size: clamp(2rem, 3.2vw, 3.4rem); }
}
/* the banner's words fade in once, on load */
@keyframes ty-fade { from { opacity: 0; } to { opacity: 1; } }
.js .ty-hero__copy > * { animation: ty-fade .9s ease both; }
.js .ty-hero__copy > :nth-child(2) { animation-delay: .1s; }
.js .ty-hero__copy > :nth-child(3) { animation-delay: .2s; }
.js .ty-hero__copy > :nth-child(4) { animation-delay: .3s; }

/* ==========================================================================
   Real milk: a few words, then two photographs
   ========================================================================== */
.ty-milk { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 2vw, 24px); align-items: center; }
.ty-milk .ty-copy { grid-column: 1 / -1; margin-bottom: 12px; }
@media (min-width: 900px) {
  .ty-milk { grid-template-columns: 1fr 1fr 1fr; }
  .ty-milk .ty-copy { grid-column: auto; margin: 0; padding-right: clamp(0px, 2vw, 32px); }
}

/* ==========================================================================
   Tested: the never list
   ========================================================================== */
.ty-never { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; width: 100%; max-width: 460px; margin-top: 6px; }
.ty-never li { display: flex; align-items: center; gap: 10px; font-size: 1.02rem; line-height: 1.3; }
.ty-never svg { width: 18px; height: 18px; color: var(--pink); flex: none; }

/* ==========================================================================
   Reels
   ========================================================================== */
.ty-reels { display: grid; grid-auto-flow: column; grid-auto-columns: min(46vw, 220px); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.ty-reels::-webkit-scrollbar { display: none; }
.ty-reels > * { scroll-snap-align: start; }
@media (min-width: 900px) {
  .ty-reels { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); gap: 24px; overflow: visible; margin-inline: 0; padding-inline: 0; }
}
.ty-reel { position: relative; display: block; width: 100%; text-align: left; border-radius: var(--r); overflow: hidden; }
.ty-reel .ty-ph { display: block; border-radius: 0; }
.ty-reel__play { position: absolute; left: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .94); display: grid; place-items: center; color: var(--ink); transition: background-color .2s, color .2s; }
.ty-reel__play svg { width: 20px; height: 20px; margin-left: 2px; }
.ty-reel:hover .ty-reel__play { background: var(--pink); color: #fff; }
.ty-reel__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 14px 14px; color: #fff; font-weight: 500; font-size: 1rem; line-height: 1.25; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .58)); }

.ty-viewer { width: min(92vw, 420px); padding: 0; border: 0; border-radius: var(--r); background: #000; color: #fff; overflow: hidden; }
.ty-viewer::backdrop { background: rgba(33, 28, 30, .72); }
.ty-viewer__media { aspect-ratio: 9 / 16; max-height: 82vh; margin-inline: auto; }
.ty-viewer__media img, .ty-viewer__media video { width: 100%; height: 100%; object-fit: cover; }
.ty-viewer__close { position: absolute; top: 8px; right: 8px; z-index: 1; background: rgba(0, 0, 0, .45); color: #fff; }
.ty-viewer__close:hover { background: rgba(0, 0, 0, .7); }
.ty-viewer__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 16px 16px; font-weight: 500; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .6)); pointer-events: none; }

/* ==========================================================================
   Questions
   ========================================================================== */
.ty-faq .ty-acc { max-width: 780px; margin-inline: auto; }
.ty-acc details { border-top: 1px solid var(--line); }
.ty-acc details:last-child { border-bottom: 1px solid var(--line); }
.ty-acc summary { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding-block: 16px; min-height: 60px; font-size: clamp(1.06rem, 1.5vw, 1.22rem); font-weight: 500; }
.ty-acc summary:focus-visible { outline-offset: -2px; }
.ty-acc__plus { position: relative; width: 14px; height: 14px; color: var(--pink); flex: none; }
.ty-acc__plus::before, .ty-acc__plus::after { content: ""; position: absolute; inset: 0; margin: auto; background: currentColor; border-radius: 2px; transition: opacity .25s; }
.ty-acc__plus::before { width: 100%; height: 1.75px; }
.ty-acc__plus::after { width: 1.75px; height: 100%; }
.ty-acc details[open] .ty-acc__plus::after { opacity: 0; }
.ty-acc details > p, .ty-acc details > ol { padding: 0 30px 20px 0; color: var(--ink-70); max-width: 60ch; }
.ty-acc ol { counter-reset: s; display: grid; gap: 8px; }
.ty-acc ol li { counter-increment: s; display: grid; grid-template-columns: 26px 1fr; }
.ty-acc ol li::before { content: counter(s) "."; color: var(--pink); font-weight: 500; }

/* ==========================================================================
   Closing
   ========================================================================== */
.ty-closing__copy { margin-top: clamp(24px, 3.6vw, 44px); margin-bottom: 0; }
.ty-closing__copy .ty-btn { margin-top: 8px; }
.ty-closing { padding-bottom: clamp(56px, 8vw, 104px); }

/* ==========================================================================
   Reviews (sample) and the comparison
   ========================================================================== */
.ty-sample { display: inline-flex; padding: 7px 14px; border-radius: 999px; border: 1px dashed var(--line-strong); font-size: .82rem; color: var(--ink-55); }
.ty-revs { display: grid; gap: 12px; }
.ty-rev { display: grid; gap: 16px; align-content: space-between; padding: clamp(20px, 2.6vw, 30px); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.ty-stars { display: flex; gap: 2px; color: var(--pink); }
.ty-stars svg { width: 18px; height: 18px; }
.ty-stars svg.is-off { color: var(--line-strong); }
.ty-rev blockquote { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.4; }
.ty-rev__who { display: grid; gap: 2px; }
.ty-rev__who strong { font-weight: 500; }
.ty-rev__who span { color: var(--ink-55); font-size: .9rem; }
@media (min-width: 900px) { .ty-revs { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.ty-vs { max-width: 900px; margin-inline: auto; }
.ty-vs__row { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.ty-vs__row--head { border-top: 0; }
.ty-vs__row > [role="rowheader"] { grid-column: 1 / -1; padding: 14px 0 0; font-size: .82rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-55); }
.ty-vs__row > [role="cell"], .ty-vs__row > [role="columnheader"]:not(.ty-sr) { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px 16px 0; font-size: 1rem; line-height: 1.35; }
.ty-vs__row svg { width: 19px; height: 19px; flex: none; margin-top: 2px; }
.ty-vs__them { color: var(--ink-55); }
.ty-vs__them svg { color: var(--line-strong); }
.ty-vs__us { font-weight: 500; }
.ty-vs__us svg { color: var(--pink); }
.ty-vs__row--head > [role="columnheader"]:not(.ty-sr) { font-size: 1.1rem; font-weight: 500; padding-bottom: 12px; }
.ty-vs__row--head .ty-vs__us { color: var(--pink); }
@media (min-width: 900px) {
  .ty-vs__row { grid-template-columns: .6fr 1fr 1fr; }
  .ty-vs__row--head::before { content: ""; }
  .ty-vs__row > [role="rowheader"] { grid-column: auto; padding: 20px 16px 20px 0; }
  .ty-vs__row > [role="cell"], .ty-vs__row > [role="columnheader"]:not(.ty-sr) { padding: 18px 16px 18px 0; font-size: 1.08rem; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.ty-footer { background: var(--pink-deep); color: #fff; padding-block: clamp(48px, 7vw, 88px) 120px; }
.ty-footer__top { display: grid; gap: 32px; padding-bottom: clamp(32px, 5vw, 56px); border-bottom: 1px solid rgba(255, 255, 255, .22); }
.ty-footer__brand { display: grid; gap: 16px; justify-items: start; }
.ty-footer__brand img { height: 48px; width: auto; }
.ty-footer__brand p { font-size: 1.2rem; color: rgba(255, 255, 255, .92); }
.ty-signup { display: grid; gap: 10px; align-content: start; }
.ty-signup label { font-size: .95rem; color: rgba(255, 255, 255, .86); }
.ty-signup__row { display: flex; gap: 8px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34); }
.ty-signup__row:focus-within { box-shadow: inset 0 0 0 1.5px #fff; }
.ty-signup input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; padding: 0 16px; color: #fff; font-size: 1rem; }
.ty-signup input::placeholder { color: rgba(255, 255, 255, .66); }
.ty-signup__msg { min-height: 1.4em; font-size: .9rem; color: rgba(255, 255, 255, .9); }
.ty-footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; padding-block: clamp(32px, 5vw, 56px); }
.ty-footer__h { font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.ty-footer__cols ul { display: grid; margin-top: 8px; }
.ty-footer__cols a, .ty-footer__cols li > span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: rgba(255, 255, 255, .94); }
.ty-footer__cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ty-footer__cols li > span { color: rgba(255, 255, 255, .62); }
.ty-footer__cols small { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.ty-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 24px; font-size: .88rem; color: rgba(255, 255, 255, .8); }
.ty-footer__base a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; }
.ty-footer__base a:hover { color: #fff; text-decoration: underline; }
@media (min-width: 900px) {
  .ty-footer__top { grid-template-columns: 1.2fr .8fr; align-items: end; }
  .ty-footer__cols { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   Floating buy bar
   ========================================================================== */
.ty-buybar { position: fixed; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); z-index: var(--z-buybar); width: min(100% - 24px, 560px); opacity: 0; visibility: hidden; transform: translateX(-50%); transition: opacity .3s, visibility .3s; }
.ty-buybar.is-on { opacity: 1; visibility: visible; }
.ty-buybar__in { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 12px; padding: 7px 7px 7px 12px; border-radius: 999px; background: #fff; box-shadow: 0 10px 36px rgba(33, 28, 30, .2), inset 0 0 0 1px var(--line); }
.ty-buybar__thumb { width: 30px; height: 44px; object-fit: contain; }
.ty-buybar__name { display: grid; line-height: 1.2; min-width: 0; }
.ty-buybar__name strong { font-weight: 500; font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ty-buybar__name span { display: none; font-size: .8rem; color: var(--ink-55); }
.ty-buybar__price { font-weight: 500; font-variant-numeric: tabular-nums; }
@media (min-width: 600px) {
  .ty-buybar__in { padding-left: 18px; gap: 16px; }
  .ty-buybar__name span { display: block; }
}

/* ==========================================================================
   Product page
   ========================================================================== */
.ty-crumbs { padding-block: 6px 0; font-size: .88rem; color: var(--ink-55); }
.ty-crumbs ol { display: flex; align-items: center; gap: 10px; }
.ty-crumbs a { display: inline-flex; align-items: center; min-height: 44px; padding-right: 4px; }
.ty-crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line-strong); }
.ty-crumbs a:hover { color: var(--ink); }

.ty-pdp { padding-block: 10px clamp(36px, 5.5vw, 76px); }
.ty-pdp__grid { display: grid; gap: 26px; }
.ty-gallery { display: grid; gap: 10px; min-width: 0; }
.ty-gallery__stage { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--pink-deep); }
.ty-gallery__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.ty-gallery__slide.is-on { opacity: 1; visibility: visible; }
.ty-gallery__slide > img { width: 100%; height: 100%; object-fit: cover; }
.ty-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 3px; margin: -3px; }
.ty-thumbs::-webkit-scrollbar { display: none; }
.ty-thumbs button { flex: none; width: 60px; height: 75px; border-radius: 10px; overflow: hidden; background: var(--blush); }
.ty-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.ty-thumbs button[aria-current="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--pink); }

.ty-buy { display: grid; gap: 16px; align-content: start; min-width: 0; }
.ty-buy > * { min-width: 0; max-width: 100%; }
.ty-buy__title { font-weight: 400; font-size: clamp(2.3rem, 4.6vw, 3.5rem); line-height: 1.02; letter-spacing: -.02em; }
.ty-buy__sub { font-size: 1.12rem; line-height: 1.45; color: var(--ink-70); margin-top: -4px; text-wrap: pretty; }
.ty-buy__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
.ty-buy__price strong { font-size: 2rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.1; }
.ty-buy__price span { color: var(--ink-55); font-size: .95rem; }
.ty-packs { display: grid; gap: 8px; }
.ty-packs legend { padding: 0; margin-bottom: 8px; font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-55); }
.ty-pack { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 13px 16px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line-strong); cursor: pointer; transition: box-shadow .2s; }
.ty-pack input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.ty-pack__dot { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: box-shadow .2s; }
.ty-pack__name { display: grid; line-height: 1.3; }
.ty-pack__name strong { font-weight: 500; }
.ty-pack__name small { color: var(--ink-55); font-size: .88rem; }
.ty-pack__price { font-weight: 500; text-align: right; line-height: 1.3; font-variant-numeric: tabular-nums; }
.ty-pack__price small { display: block; font-size: .8rem; color: var(--pink); font-weight: 500; }
.ty-pack:has(input:checked) { box-shadow: inset 0 0 0 1.75px var(--pink); }
.ty-pack:has(input:checked) .ty-pack__dot { box-shadow: inset 0 0 0 6px var(--pink); }
.ty-pack:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.ty-buy__actions { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
.ty-buy__actions .ty-qty { height: 52px; grid-template-columns: 40px 28px 40px; }
.ty-buy__actions .ty-qty button { height: 52px; }
.ty-buy__actions .ty-btn { min-width: 0; padding-inline: 16px; gap: 10px; }
@media (min-width: 420px) {
  .ty-buy__actions .ty-qty { grid-template-columns: 46px 34px 46px; }
  .ty-buy__actions .ty-btn { padding-inline: 28px; gap: 12px; }
}
.ty-buy__actions .ty-btn--ghost { grid-column: 1 / -1; }
.ty-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-block: 4px; }
.ty-trust li { display: grid; justify-items: center; gap: 8px; text-align: center; font-size: .86rem; line-height: 1.25; color: var(--ink-70); }
.ty-trust svg { width: 26px; height: 26px; color: var(--pink); }
.ty-facts { border-top: 1px solid var(--line); }
.ty-facts > div { display: grid; grid-template-columns: 104px 1fr; gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.ty-facts dt { font-weight: 500; }
.ty-facts dd { color: var(--ink-70); }
.ty-acc--buy details:first-child { border-top: 0; }
.ty-acc--buy summary { min-height: 54px; padding-block: 12px; font-size: 1.06rem; }
@media (min-width: 900px) {
  .ty-pdp__grid { grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
  .ty-gallery { position: sticky; top: calc(var(--header-h) + 16px); grid-template-columns: 64px 1fr; }
  .ty-gallery__stage { grid-column: 2; grid-row: 1; max-height: calc(100vh - var(--header-h) - 36px); }
  .ty-thumbs { grid-column: 1; grid-row: 1; flex-direction: column; overflow: visible; }
  .ty-buy { padding-top: 6px; }
}

/* ==========================================================================
   Motion preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; }
}
