/* Sri Dev Jewels, v3
   Layout follows the clean Shopify fine-jewellery pattern (smyefinejewellery.com).
   Colours: Karuneelam indigo for the primary role, a light Manal cream for panels, a muted gold for icons.
   Semman and Paasi from the brand kit are left out on purpose; they fought this lighter layout. */

@font-face { font-family: "Forum"; src: url("assets/fonts/Forum-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("assets/fonts/Cinzel-Variable.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }

[data-theme="teal"] { --primary: #255F6F; --primary-dark: #1C4A57; --cream: #F9F6EF; --gold: #C9A24D; }
[data-theme="maroon"] { --primary: #6B1E2E; --primary-dark: #531523; --cream: #FBF6EE; --gold: #B8893B; }
:root, [data-theme="emerald"] { --primary: #0F4D3F; --primary-dark: #0A3A2F; --cream: #F7F4EC; --gold: #C2A15A; }
[data-theme="black"] { --primary: #111111; --primary-dark: #000000; --cream: #F6F3EE; --gold: #BF9B5A; }
:root {
  --line: #E6E1D8;
  --card: #F3F1ED;
  --text: #1A1A1A;
  --muted: #4A4A4A;
  --white: #FFFFFF;

  --serif: "Forum", "EB Garamond", Georgia, serif;
  --caps: "Cinzel", "Forum", Georgia, serif;
  --sans: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;

  --page: 1260px;
  --gutter: 20px;
}

/* logo drawn as a mask so it takes the theme colour */
.mark { display: block; background: var(--gold); -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; }
.mark--h { --src: url("assets/brand/horizontal.svg"); aspect-ratio: 555 / 210; }
.mark--p { --src: url("assets/brand/primary.svg"); aspect-ratio: 190 / 180; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 14px/1.6 var(--sans); letter-spacing: -.015em; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: min(100% - 2 * var(--gutter), var(--page)); margin-inline: auto; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 26px; border-radius: 999px;
  font: 700 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase;
  background: var(--primary); color: var(--white); border: 1px solid var(--primary); cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn--ghost { background: rgba(255, 255, 255, .2); color: var(--white); border-color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn svg { width: 16px; height: 16px; }

/* section headings */
.title { font-size: 34px; line-height: 1.15; color: var(--primary); }
.sub { margin-top: 8px; font-size: 14px; color: var(--text); }
.section { padding-block: 60px; }

/* ---------- announcement ---------- */
.announce { background: var(--primary); color: var(--white); text-align: center; font: 700 11px/1.4 var(--sans); letter-spacing: .04em; text-transform: uppercase; padding: 14px 16px; }
.announce span + span::before { content: "|"; margin: 0 10px; opacity: .8; }
.announce [hidden] { display: none; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.header.is-stuck { border-color: var(--line); box-shadow: 0 2px 12px rgba(0, 0, 0, .04); }
.header__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; height: 110px; transition: height .25s; }
.header.is-stuck .header__inner { height: 76px; }
.logo .mark { width: 150px; }
.nav { display: flex; justify-content: flex-end; gap: 40px; font: 400 12px/14px var(--sans); text-transform: uppercase; color: #020202; }
.nav a { padding: 8px 0; border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav a:hover { border-color: currentColor; }
.icons { display: flex; align-items: center; gap: 22px; padding-left: 20px; }
.icons a, .burger { display: grid; place-items: center; width: 26px; height: 26px; }
.icons svg, .burger svg { width: 22px; height: 22px; }
.burger { display: none; background: none; border: 0; padding: 0; cursor: pointer; }

.drawer { position: fixed; inset: 0; z-index: 70; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .35); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer__bg { opacity: 1; }
.drawer__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(86vw, 360px); background: var(--white); padding: 24px; transform: translateX(-100%); transition: transform .35s ease; display: flex; flex-direction: column; gap: 6px; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__close { align-self: flex-end; background: none; border: 0; width: 36px; height: 36px; cursor: pointer; }
.drawer__panel a { padding: 14px 0; border-bottom: 1px solid var(--line); font: 400 13px/1 var(--sans); text-transform: uppercase; }

/* ---------- hero slideshow ---------- */
.hero { position: relative; height: clamp(420px, 37.4vw, 640px); overflow: hidden; background: var(--cream); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide picture, .slide img { width: 100%; height: 100%; object-fit: cover; }
.slide img { transform: scale(1.04); transition: transform 7s ease-out; }
.slide.is-active img { transform: none; }
.slide__text { position: absolute; top: 50%; transform: translateY(-50%); width: min(100% - 2 * var(--gutter), var(--page)); left: 50%; margin-left: calc(min(100% - 2 * var(--gutter), var(--page)) / -2); }
.slide--right .slide__text { text-align: right; }
.slide--right .slide__text > * { margin-left: auto; }
.slide h2 { max-width: 12ch; font: 400 48px/50px var(--caps); text-transform: uppercase; color: var(--primary); }
.slide p { max-width: 34ch; margin-top: 14px; color: var(--text); font-size: 15px; }
.slide .btn { margin-top: 26px; }
.slide__text > * { opacity: 0; transform: translateY(16px); transition: opacity .8s .3s, transform .8s .3s; }
.slide.is-active .slide__text > * { opacity: 1; transform: none; }
.dots { position: absolute; z-index: 2; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; gap: 12px; }
.dots button { width: 40px; height: 14px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: rgba(0, 0, 0, .18); }
.dots button::after { content: ""; position: absolute; left: 0; top: 6px; height: 2px; width: 0; background: var(--primary); }
.dots button.is-active::after { animation: dot 6s linear forwards; }
@keyframes dot { to { width: 100%; } }

/* ---------- categories ---------- */
.cats__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; }
.arrows { display: flex; gap: 6px; }
.arrows button { width: 34px; height: 34px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.arrows svg { width: 14px; height: 14px; }
.arrows button:disabled { opacity: .3; cursor: default; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc(33.333% - 2px); gap: 3px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.tile { position: relative; aspect-ratio: 1; overflow: hidden; scroll-snap-align: start; background: var(--card); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, color-mix(in srgb, var(--primary) 82%, transparent)); }
.tile:hover img { transform: scale(1.05); }
.rail-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.rail-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: #cfc8bb; cursor: pointer; transition: width .35s, background-color .35s; }
.rail-dots button.is-on { width: 26px; background: var(--primary); }
.tile span { position: absolute; z-index: 1; left: 0; right: 0; bottom: 14%; text-align: center; font: 400 24px/1 var(--caps); text-transform: uppercase; color: var(--white); letter-spacing: .02em; }

/* ---------- bridal sets: ivory catalogue of real photographs ---------- */
.sets { --foil-dk: #8A6420; --foil: #A9802F; position: relative; padding-block: 104px; color: #1E1A14;
  background: radial-gradient(70% 60% at 70% 30%, #FFFCF5 0%, rgba(255, 252, 245, 0) 70%), linear-gradient(180deg, #F6F0E3 0%, #EFE6D3 100%); }
.sets::before { content: ""; position: absolute; inset: 28px; border: 1px solid rgba(169, 128, 47, .35); pointer-events: none; }
.sets__wrap { position: relative; display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 64px; align-items: center; }
.sets__eyebrow { font: 500 11px/1 var(--caps); letter-spacing: .36em; text-transform: uppercase; color: var(--foil-dk); }
.sets__title { margin: 16px 0 34px; font-size: clamp(30px, 2.9vw, 40px); line-height: 1.1; color: var(--primary-dark); }
.sets__index { list-style: none; margin: 0; padding: 0; }
.sets__index li { border-top: 1px solid rgba(30, 26, 20, .12); }
.sets__index li:last-child { border-bottom: 1px solid rgba(30, 26, 20, .12); }
.sets__index button { position: relative; width: 100%; display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding: 17px 0; border: 0; background: none; text-align: left; cursor: pointer; font: 400 20px/1.2 var(--serif); color: rgba(30, 26, 20, .42); transition: color .5s; }
.sets__index button span { font: 500 12px/1 var(--caps); letter-spacing: .1em; transition: color .5s; }
.sets__index button::after { content: ""; position: absolute; left: 44px; right: 0; bottom: 9px; height: 1px; background: linear-gradient(90deg, var(--foil), transparent); transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.65, 0, .35, 1); }
.sets__index button:hover { color: rgba(30, 26, 20, .7); }
.sets__index button.is-on { color: var(--primary-dark); }
.sets__index button.is-on span { color: var(--foil); }
.sets__index button.is-on::after { transform: scaleX(1); }
/* every set sits in the same cell; the chosen one fades up over the others */
.sets__stage { display: grid; }
.set { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 64px; align-items: center; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s .8s; }
.set.is-active { opacity: 1; visibility: visible; transition: opacity .8s ease, visibility 0s; }
.set__plate { margin: 0; }
.set__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #1A0508; box-shadow: 0 50px 80px -30px rgba(60, 40, 10, .45); outline: 1px solid rgba(169, 128, 47, .5); outline-offset: 14px; cursor: pointer; touch-action: pan-y; }
.set__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity 1.2s ease, transform 7s cubic-bezier(.2, .6, .2, 1); }
.set__photo img[data-fit="contain"] { object-fit: contain; }
.set__photo img.is-on { opacity: 1; transform: none; }
.set__bar { position: relative; height: 1px; margin: 30px auto 0; width: 120px; background: rgba(169, 128, 47, .25); overflow: hidden; }
.set__bar i { position: absolute; inset: 0; transform: scaleX(0); transform-origin: left; background: var(--foil); }
.set__bar i.is-running { animation: set-bar var(--set-delay, 4.5s) linear forwards; }
@keyframes set-bar { to { transform: scaleX(1); } }
.set__plate figcaption { margin-top: 14px; text-align: center; font: 400 11px/1.4 var(--caps); letter-spacing: .3em; text-transform: uppercase; color: var(--foil-dk); }
.set__plate figcaption em { font-style: normal; transition: opacity .4s; }
.set__num { font: 400 120px/.8 var(--serif); background: linear-gradient(100deg, #8A6420 0%, #D9B86A 28%, #F3E3B2 45%, #B88A3B 62%, #8A6420 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.set__text h3 { margin-top: 18px; font-size: 34px; line-height: 1.1; color: var(--primary-dark); }
.set__text p { margin: 18px 0 26px; font-size: 15px; line-height: 1.7; color: rgba(30, 26, 20, .72); }
.set__text dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; margin: 0 0 32px; font-size: 13px; }
.set__text dt { font: 500 10px/2 var(--caps); letter-spacing: .24em; text-transform: uppercase; color: var(--foil-dk); }
.set__text dd { margin: 0; }
/* the words follow the photo in, one line after another */
.set__text > * { opacity: 0; transform: translateY(12px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.set.is-active .set__text > * { opacity: 1; transform: none; }
.set.is-active .set__text > :nth-child(2) { transition-delay: .08s; }
.set.is-active .set__text > :nth-child(3) { transition-delay: .16s; }
.set.is-active .set__text > :nth-child(4) { transition-delay: .24s; }
.set.is-active .set__text > :nth-child(5) { transition-delay: .32s; }
.set__cta { display: inline-flex; align-items: center; gap: 14px; min-height: 50px; padding: 0 28px; background: var(--primary-dark); color: #F3E3B2; font: 500 11px/1 var(--caps); letter-spacing: .3em; text-transform: uppercase; transition: background-color .3s, gap .3s; }
.set__cta::after { content: ""; width: 26px; height: 1px; background: #D9B86A; transition: width .3s; }
.set__cta:hover { background: var(--primary); }
.set__cta:hover::after { width: 40px; }
.sets + .split { margin-top: 60px; }

/* ---------- featured piece ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; }
.feature__cell { position: relative; min-height: 720px; overflow: hidden; }
.feature__cell > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature__model { object-position: 50% 25%; filter: saturate(.86) contrast(.96) brightness(.96); }
.feature__smith { object-position: 50% 55%; transform-origin: 45% 60%; animation: feature-zoom 24s ease-in-out infinite alternate; }
@keyframes feature-zoom { from { transform: scale(1.02); } to { transform: scale(1.08); } }
/* a faint band of window light passing over the bench */
.feature__sweep { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 236, 200, .07) 48%, transparent 60%); background-size: 260% 100%; animation: feature-sweep 11s ease-in-out infinite; mix-blend-mode: screen; pointer-events: none; }
@keyframes feature-sweep { 0% { background-position: 120% 0; } 60%, 100% { background-position: -40% 0; } }
.feature__craft::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 20, 16, 0) 40%, rgba(8, 22, 18, .82) 100%); pointer-events: none; }
.feature__copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 0 56px 52px; color: var(--white); }
.feature__eyebrow { font: 400 12px/1 var(--caps); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.feature__title { margin-top: 14px; font-size: clamp(34px, 3.2vw, 46px); line-height: 1.08; }
/* three lines that take turns, like a slow caption */
.feature__steps { position: relative; height: 26px; margin: 18px 0 26px; }
.feature__steps span { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 12px; font-size: 15px; color: rgba(255, 255, 255, .85); opacity: 0; animation: feature-step 9s infinite; }
.feature__steps span::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.feature__steps span:nth-child(2) { animation-delay: 3s; }
.feature__steps span:nth-child(3) { animation-delay: 6s; }
@keyframes feature-step { 0% { opacity: 0; transform: translateY(8px); } 6%, 30% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; transform: translateY(-8px); } }
.feature__tag { position: absolute; left: 32px; bottom: 32px; padding: 10px 16px; background: rgba(255, 255, 255, .92); font: 400 18px/1.2 var(--serif); }
.feature__tag small { display: block; font: 700 10px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
@media (prefers-reduced-motion: reduce) {
  .feature__smith, .feature__sweep { animation: none; }
  .feature__steps { height: auto; }
  .feature__steps span { position: static; opacity: 1; animation: none; }
}
.btn--gold { background: var(--gold); border-color: var(--gold); color: #1A1A1A; }
.btn--gold:hover { background: var(--white); border-color: var(--white); color: var(--primary-dark); }

/* ---------- product cards ---------- */
.products { text-align: center; }
.products .title { margin-bottom: 30px; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; text-align: left; }
.card__img { aspect-ratio: 1; background: var(--card); overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__img img { transform: scale(1.05); }
.card h3 { margin-top: 16px; font-size: 17px; line-height: 1.4; color: #000; }
.card p { margin-top: 6px; font-size: 12px; line-height: 1.5; color: var(--text); }
.card__cta { display: inline-block; margin-top: 8px; font: 700 11px/1 var(--sans); letter-spacing: .05em; text-transform: uppercase; color: var(--primary); border-bottom: 1px solid currentColor; padding-bottom: 3px; }

/* ---------- split panels ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 650px; }
.split__text { background: var(--cream); display: grid; place-items: center; padding: 60px 40px; text-align: center; }
.split__text > div { max-width: 380px; }
.split__text p { margin: 16px auto 28px; max-width: 280px; }
.split__img { overflow: hidden; }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split + .split { margin-top: 60px; }
.section--bridal { padding-top: 120px; }

/* ---------- bridal edit ---------- */
.edit { position: relative; display: grid; grid-template-columns: 480px 1fr; align-items: center; }
.edit__card { background: var(--cream); padding: 52px 52px 46px; position: relative; z-index: 1; min-height: 540px; }
.edit__card .sub { max-width: 280px; margin-bottom: 30px; }
.edit__list { list-style: none; margin: 0; padding: 0; max-width: 268px; }
.edit__list li { display: grid; grid-template-columns: 76px 1fr; gap: 24px; align-items: center; padding: 14px 0; border-bottom: 1px solid #D9D3C7; }
.edit__list .thumb { width: 76px; height: 86px; background: var(--card); overflow: hidden; }
.edit__list .thumb img { width: 100%; height: 100%; object-fit: cover; }
.edit__list h3 { font-size: 15px; line-height: 1.3; }
.edit__list p { margin-top: 6px; font-size: 12px; line-height: 1.5; }
.edit__img { margin-left: -100px; width: min(calc(100% + 100px), 660px); aspect-ratio: 6 / 5; overflow: hidden; position: relative; z-index: 2; }
.edit__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- trust icons ---------- */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; text-align: center; padding-block: 60px 80px; }
.trust__item svg { width: 54px; height: 54px; margin: 0 auto 10px; color: var(--gold); }
.trust__item h3 { font-size: 17px; line-height: 1.4; }
.trust__item p { margin: 10px auto 0; max-width: 240px; font-size: 12px; line-height: 1.5; }
.trust__dots { display: none; }

/* ---------- commission banner ---------- */
.banner { position: relative; height: 484px; overflow: hidden; color: var(--text); }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.banner::before { content: none; }
.banner__text { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.banner__text > div { max-width: 330px; margin-left: 120px; }
.banner h2 { font-size: 34px; line-height: 1.15; color: var(--primary); }
.banner p { margin: 16px 0 26px; }


/* ---------- footer ---------- */
.footer { background: var(--primary); color: var(--white); padding: 56px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.1fr .9fr .8fr .9fr 1.3fr; gap: 30px; }
.footer__logo .mark { width: 170px; }
.footer h3 { font: 700 13px/1 var(--sans); letter-spacing: .02em; text-transform: uppercase; margin-bottom: 26px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14px; }
.footer a:hover { text-decoration: underline; }
.footer address { font-style: normal; font-size: 14px; line-height: 1.7; }
.rates-mini { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; font-size: 14px; }
.rates-mini dt { opacity: .8; }
.rates-mini dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.rates-note { margin-top: 14px; font-size: 11px; opacity: .7; line-height: 1.5; }
.footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .18); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 12px; opacity: .9; }
.footer details { border: 0; }
.footer summary { list-style: none; cursor: default; }
.footer summary::-webkit-details-marker { display: none; }

/* mobile bottom bar */
.tabbar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 24px; }
  .edit { grid-template-columns: 420px 1fr; }
}
@media (max-width: 990px) {
  .header__inner { grid-template-columns: 1fr auto 1fr; height: 64px; gap: 10px; }
  .header.is-stuck .header__inner { height: 60px; }
  .burger { display: grid; }
  .nav { display: none; }
  .logo { justify-self: center; }
  .logo .mark { width: 112px; }
  .icons { justify-self: end; padding: 0; gap: 16px; }
  .announce { padding: 8px 16px; font-size: 10px; }
  .announce span:nth-child(2) { display: none; }

  .hero { height: 460px; }
  .slide h2 { font-size: 30px; line-height: 34px; }
  .slide--right .slide__text { text-align: left; }
  .slide--right .slide__text > * { margin-left: 0; }
  .slide picture { display: block; height: 58%; }
  .slide__text { top: auto; bottom: 52px; transform: none; }
  .slide__text { z-index: 1; }

  .title { font-size: 26px; }
  .section { padding-block: 32px; }
  .cats__head { align-items: center; }
  .cats__head .arrows button { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; }
  .rail { grid-auto-columns: 80%; gap: 8px; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .tile span { font-size: 20px; }
  .container.rail-wrap { width: 100%; }

  .feature { grid-template-columns: 1fr; }
  .feature__cell { min-height: 0; aspect-ratio: 1; }
  .feature__copy { padding: 0 20px 32px; }
  .feature__craft { aspect-ratio: 4 / 5.2; }
  .feature__craft::after { background: linear-gradient(180deg, rgba(10, 20, 16, 0) 30%, rgba(8, 22, 18, .72) 58%, rgba(8, 22, 18, .93) 85%); }
  .feature__steps span { font-size: 14px; }
  .feature__tag { left: 16px; bottom: 16px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .sets { padding-block: 64px; }
  .sets::before { inset: 6px; }
  .sets__wrap { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .sets__title { margin-bottom: 20px; }
  .sets__index { display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .sets__index::-webkit-scrollbar { display: none; }
  .sets__index li { border: 0 !important; flex: none; }
  .sets__index button { display: block; width: auto; padding: 8px 0 12px; font-size: 16px; white-space: nowrap; }
  .sets__index button span { margin-right: 6px; }
  .sets__index button::after { left: 0; bottom: 4px; }
  .set { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .set__photo { outline-offset: 6px; }
  .sets + .split { margin-top: 24px; }
  .set__num { font-size: 80px; }
  .set__text h3 { font-size: 28px; }
  .set__text p { font-size: 14px; }
  .set__cta { width: 100%; justify-content: center; }
  .card h3 { font-size: 15px; }

  .split { grid-template-columns: 1fr; min-height: 0; width: min(100% - 2 * var(--gutter), var(--page)); margin-inline: auto; }
  .split__img { aspect-ratio: 4 / 3; order: -1; }
  .split__text { padding: 40px 24px; }
  .split + .split { margin-top: 24px; }
  .section--bridal { padding-top: 40px; }

  .edit { grid-template-columns: 1fr; }
  .edit__img { margin: 0; order: -1; width: 100%; aspect-ratio: 4 / 3; }
  .edit__card { min-height: 0; padding: 30px 20px 20px; }
  .edit__list { max-width: none; }

  .trust { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 0; padding-block: 40px 16px; }
  .trust::-webkit-scrollbar { display: none; }
  .trust__item { scroll-snap-align: center; padding: 0 30px; }
  .trust__dots { display: flex; justify-content: center; gap: 10px; padding-bottom: 40px; }
  .trust__dots i { width: 6px; height: 6px; border-radius: 50%; background: #c9c3b8; }
  .trust__dots i.is-on { background: var(--text); }

  .banner { height: auto; background: var(--cream); }
  .banner > img { position: static; height: auto; aspect-ratio: 4 / 3; object-position: 70% 50%; }
  .banner__text { padding-block: 32px 40px; }
  .banner__text > div { margin-left: 0; max-width: none; }
  .banner h2 { font-size: 28px; }

  .footer { padding-bottom: 100px; }
  .footer__grid { grid-template-columns: 1fr; gap: 0; }
  .footer__logo { margin-bottom: 20px; }
  .footer__logo .mark { width: 120px; }
  .footer details { border-bottom: 1px solid rgba(255, 255, 255, .15); }
  .footer summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; }
  .footer summary h3 { margin: 0; }
  .footer summary::after { content: ""; width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); margin-right: 4px; transition: transform .25s; }
  .footer details[open] summary::after { transform: rotate(-135deg); }
  .footer details > :not(summary) { padding-bottom: 18px; }

  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--white); border-top: 1px solid var(--line); padding: 8px 4px calc(8px + env(safe-area-inset-bottom)); }
  .tabbar a { display: grid; justify-items: center; gap: 4px; font-size: 11px; color: var(--text); }
  .tabbar svg { width: 20px; height: 20px; }
}
@media (max-width: 600px) {
  /* phones: the whole picture first, the words in their own block below it, never on top */
  .hero { display: grid; height: auto; }
  .slide { position: relative; inset: auto; grid-area: 1 / 1; display: flex; flex-direction: column; }
  .slide picture { height: auto; aspect-ratio: 4 / 5; flex: none; }
  .slide__text { position: static; transform: none; width: auto; margin: 0; padding: 24px var(--gutter) 60px; }
  .slide h2 { font-size: 28px; line-height: 32px; max-width: none; }
  .slide .btn { margin-top: 20px; }
  .dots { bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
