/* Elegantly Yours Bouquets
   Look: pearl lace and dusty rose, taken from the lace tablecloths and silk roses in the client's own photos.
   Type: Bodoni Moda (display, bridal-magazine contrast) + Jost (text). Both OFL, self-hosted.
   Shape rule: photos, panels and inputs are square-cornered; buttons and round icon buttons are full pills. */

@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #f6f3f3;
  --bg-2: #eee7e8;
  --surface: #fbf9f9;
  --ink: #2b2226;
  --ink-2: #5d5156;
  --rose: #8a4a5d;
  --rose-ink: #fbf7f8;
  --rose-soft: #ead9dd;
  --sage: #7d8c78;
  --line: rgba(43, 34, 38, .14);
  --line-strong: rgba(43, 34, 38, .32);
  --shadow: 0 24px 60px -28px rgba(92, 52, 66, .35);
  --hero-wash: linear-gradient(90deg, rgba(246, 243, 243, .9) 0%, rgba(246, 243, 243, .7) 30%, rgba(246, 243, 243, 0) 58%);
  --hero-wash-m: linear-gradient(180deg, rgba(246, 243, 243, .92) 0%, rgba(246, 243, 243, .66) 38%, rgba(246, 243, 243, 0) 60%);
  --head-bg: rgba(246, 243, 243, .82);

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #191416;
    --bg-2: #211a1d;
    --surface: #231c1f;
    --ink: #f2ebec;
    --ink-2: #bfb2b6;
    --rose: #e2a6b7;
    --rose-ink: #1d1518;
    --rose-soft: #3a2a31;
    --sage: #a3b29d;
    --line: rgba(242, 235, 236, .13);
    --line-strong: rgba(242, 235, 236, .3);
    --shadow: 0 24px 60px -28px rgba(0, 0, 0, .6);
    --hero-wash: linear-gradient(90deg, rgba(25, 20, 22, .92) 0%, rgba(25, 20, 22, .74) 34%, rgba(25, 20, 22, .18) 64%, rgba(25, 20, 22, .1) 100%);
    --hero-wash-m: linear-gradient(180deg, rgba(25, 20, 22, .94) 0%, rgba(25, 20, 22, .72) 40%, rgba(25, 20, 22, .1) 66%);
    --head-bg: rgba(25, 20, 22, .82);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.12; }
h3 { font-size: 1.45rem; line-height: 1.25; }
em { font-style: italic; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.ic { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }

.eyebrow {
  font: 500 .78rem/1 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1.25rem;
}

/* buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 1.75rem;
  border-radius: 999px; border: 1px solid transparent;
  font: 500 .95rem/1 var(--sans); letter-spacing: .04em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn-solid { background: var(--rose); color: var(--rose-ink); }
.btn-solid:hover { background: var(--ink); color: var(--bg); }
.btn-line { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.btn-wide { width: 100%; }
.round {
  width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: transparent; display: inline-grid; place-items: center; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.round:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* header --------------------------------------------------------------------- */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-head.is-solid {
  background: var(--head-bg);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}
.head-row { height: 72px; display: flex; align-items: center; gap: 2rem; }
.brand { display: block; color: var(--ink); line-height: 0; }
.wordmark {
  display: block; width: 150px; aspect-ratio: 520 / 152;
  background: currentColor;
  -webkit-mask: url("../img/wordmark.png") center / contain no-repeat;
  mask: url("../img/wordmark.png") center / contain no-repeat;
}
.nav { display: flex; gap: 2.1rem; margin-left: auto; }
.nav a, .head-wa {
  font-size: .92rem; letter-spacing: .05em; text-decoration: none; color: var(--ink);
  position: relative; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.head-wa {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 9px 16px;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.head-wa:hover { background: var(--rose); border-color: var(--rose); color: var(--rose-ink); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; place-items: center; cursor: pointer; }
.menu-btn .ic { width: 28px; height: 28px; }

.menu {
  position: fixed; inset: 72px 0 0 0; z-index: 39; background: var(--bg);
  padding: 2rem var(--gut) calc(2rem + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  animation: menuIn .4s var(--ease);
}
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  font: 400 2.3rem/1.2 var(--serif); text-decoration: none; padding: .55rem 0;
  border-bottom: 1px solid var(--line);
}
.menu-foot { display: grid; gap: .9rem; }
.menu-foot a { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink-2); word-break: break-word; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } }

/* hero ----------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100dvh, 980px);
  display: flex; align-items: center;
  padding: 120px 0 72px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; animation: settle 2.4s var(--ease) both; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hero-wash); }
.hero-inner { max-width: var(--wrap); }
.hero h1 {
  font-size: clamp(2.7rem, 4.9vw, 4.7rem);
  line-height: 1.06;
  max-width: 13ch;
  padding-bottom: .08em;
}
.hero h1 em { color: var(--rose); }
.lede { margin-top: 1.6rem; max-width: 30rem; font-size: 1.15rem; line-height: 1.6; color: var(--ink-2); }
.cta-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.4rem; }
.hero .btn-line { background: rgba(255, 255, 255, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (prefers-color-scheme: dark) { .hero .btn-line { background: rgba(25, 20, 22, .35); } }

@keyframes settle { from { transform: scale(1.06); opacity: .65; } to { transform: scale(1); opacity: 1; } }
.rise { animation: rise 1.1s var(--ease) both; animation-delay: calc(.25s + var(--d, 0) * .12s); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* vow (statement) ------------------------------------------------------------ */
.vow { padding: clamp(80px, 11vw, 150px) 0; }
.vow-inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.vow-logo { justify-self: center; width: min(100%, 360px); }
.vow-logo img { width: 100%; }
@media (prefers-color-scheme: dark) {
  .vow-logo { background: #f6f3f3; padding: 28px; box-shadow: var(--shadow); }
}
.vow h2 { font-size: clamp(1.9rem, 3.3vw, 2.85rem); line-height: 1.22; }
.vow h2 em { color: var(--rose); }
.vow p { margin-top: 1.6rem; max-width: 36rem; color: var(--ink-2); font-size: 1.1rem; }

/* work (gallery) ------------------------------------------------------------- */
.work { padding: 0 0 clamp(80px, 10vw, 140px); }
.work-head { margin-bottom: clamp(32px, 4vw, 56px); }
.work-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: clamp(380px, 36vw, 560px) clamp(260px, 22vw, 340px);
  gap: clamp(14px, 1.6vw, 24px);
}
.tile { margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; }
.t-tall { grid-row: span 2; }
.t-wide { grid-column: 2 / span 2; }
.tile-btn {
  display: block; width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; background: var(--bg-2);
  cursor: zoom-in; overflow: hidden; position: relative;
}
.tile-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.t-tall .tile-btn img { object-position: 50% 70%; }
.t-a .tile-btn img, .t-b .tile-btn img { object-position: 50% 72%; }
.t-wide .tile-btn img { object-position: 50% 45%; }
.tile-btn:hover img { transform: scale(1.035); }
.tile figcaption { margin-top: .8rem; font-size: .92rem; color: var(--ink-2); letter-spacing: .02em; }

/* tables (centrepieces rail) --------------------------------------------------- */
.tables { background: var(--bg-2); padding: clamp(80px, 10vw, 130px) 0; overflow: hidden; }
.tables-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1rem 3rem; margin-bottom: clamp(32px, 4vw, 52px); }
.tables-intro h2 { grid-column: 1; }
.tables-intro p { grid-column: 1; max-width: 40rem; color: var(--ink-2); font-size: 1.08rem; }
.rail-ctrl { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: .6rem; }
.rail {
  display: flex; gap: clamp(14px, 1.6vw, 24px);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2));
  scroll-padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2));
  overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 auto; margin: 0; scroll-snap-align: start; width: clamp(260px, 34vw, 500px); }
.slide img { width: 100%; height: clamp(380px, 44vw, 640px); object-fit: cover; object-position: 50% 40%; }

/* process -------------------------------------------------------------------- */
.process { padding: clamp(80px, 11vw, 150px) 0; }
.process-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.process-media { position: sticky; top: 104px; }
.process-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 55% 50%; box-shadow: var(--shadow); }
.steps { list-style: none; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; counter-reset: step; }
.steps li { padding: 1.7rem 0 1.8rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: 3.2rem 1fr; column-gap: 1rem; }
.steps li::before {
  counter-increment: step; content: counter(step, lower-roman) ".";
  grid-row: span 2; font: italic 400 1.35rem/1.25 var(--serif); color: var(--rose);
}
.steps h3 { font-size: 1.55rem; }
.steps p { margin-top: .5rem; color: var(--ink-2); max-width: 32rem; }

/* why (bento) ----------------------------------------------------------------- */
.why { padding: 0 0 clamp(80px, 11vw, 150px); }
.why-title { margin-bottom: clamp(32px, 4vw, 52px); max-width: 16ch; }
.bento {
  display: grid; gap: clamp(14px, 1.6vw, 22px);
  grid-template-columns: 1.1fr 1fr 1fr;
  grid-template-areas: "photo lace rose" "photo plain plain";
}
.b-photo { grid-area: photo; margin: 0; min-height: 100%; }
.b-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.b-cell { padding: clamp(26px, 3vw, 44px); display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; }
.b-cell h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.b-cell p { margin-top: .8rem; color: var(--ink-2); max-width: 30rem; }
.b-lace { grid-area: lace; position: relative; isolation: isolate; overflow: hidden; background: var(--surface); }
.b-lace::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../img/hero-wide-sm.webp") 6% 70% / 260% auto no-repeat;
  opacity: .55;
}
.b-lace::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 20%, var(--surface) 78%); }
.b-rose { grid-area: rose; background: var(--rose-soft); }
.b-plain { grid-area: plain; background: transparent; border: 1px solid var(--line-strong); }
.b-plain h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-style: italic; }
@media (prefers-color-scheme: dark) { .b-lace::before { opacity: .16; } }

/* enquire -------------------------------------------------------------------- */
.enquire { padding: clamp(80px, 10vw, 140px) 0; background: var(--surface); border-top: 1px solid var(--line); }
.enquire-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 7vw, 110px); align-items: start; }
.enquire-text > p:not(.eyebrow) { margin-top: 1.2rem; color: var(--ink-2); max-width: 30rem; }
.contact { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; gap: .95rem; }
.contact li { display: flex; align-items: center; gap: .85rem; color: var(--ink-2); }
.contact .ic { color: var(--rose); width: 1.35em; height: 1.35em; }
.contact a { text-decoration: none; color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); word-break: break-word; }
.contact a:hover { background-size: 100% 1px; }
.socials { display: flex; gap: .6rem; margin-top: 2rem; }
.socials a { width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--ink); transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.socials a:hover { background: var(--rose); color: var(--rose-ink); border-color: var(--rose); }

.form { display: grid; gap: 1.35rem; }
.field { display: grid; gap: .5rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; }
.field label { font-size: .88rem; letter-spacing: .06em; font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: 0;
  padding: .95rem 1rem; min-height: 52px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.6rem;
}
.field input[type="date"] { min-height: 52px; }
.field textarea { resize: vertical; min-height: 120px; }
.field ::placeholder { color: var(--ink-2); opacity: .8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rose) 22%, transparent); }
.err { display: none; font-size: .88rem; color: #a3263f; }
@media (prefers-color-scheme: dark) { .err { color: #ff9fb2; } }
.field.has-err input { border-color: #a3263f; }
.field.has-err .err { display: block; }
.form-note { font-size: .88rem; color: var(--ink-2); text-align: center; }

/* footer --------------------------------------------------------------------- */
.site-foot { padding: clamp(56px, 7vw, 88px) 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2.5rem; }
.foot-brand .wordmark { width: 190px; color: var(--ink); }
.foot-brand p { margin-top: 1rem; color: var(--ink-2); max-width: 22rem; font-size: .98rem; }
.foot-nav, .foot-contact { display: grid; gap: .6rem; align-content: start; }
.foot-nav a, .foot-contact a { text-decoration: none; color: var(--ink-2); font-size: .98rem; width: fit-content; word-break: break-word; }
.foot-nav a:hover, .foot-contact a:hover { color: var(--rose); }
.foot-base {
  margin-top: clamp(40px, 5vw, 64px); padding-top: 1.6rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between; align-items: center;
  font-size: .88rem; color: var(--ink-2);
}
.foot-legal { display: flex; gap: 1.5rem; }
.foot-legal a { color: var(--ink-2); text-decoration: none; }
.foot-legal a:hover, .credit:hover { color: var(--rose); }
.credit { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }

/* lightbox ------------------------------------------------------------------- */
.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100dvh;
  width: 100vw; height: 100dvh; margin: 0;
}
.lightbox::backdrop { background: rgba(25, 20, 22, .9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; place-items: center; animation: fadeIn .35s var(--ease); }
.lightbox figure { margin: 0; display: grid; gap: .9rem; justify-items: center; padding: 64px 16px 24px; }
.lightbox img { max-height: calc(100dvh - 150px); width: auto; max-width: min(92vw, 900px); object-fit: contain; }
.lightbox figcaption { color: #e9e0e2; font-size: .95rem; text-align: center; max-width: 40rem; }
.lb-close { position: fixed; top: 16px; right: 16px; color: #f2ebec; border-color: rgba(242, 235, 236, .4); }
.lb-close:hover { background: #f2ebec; color: #191416; }
@keyframes fadeIn { from { opacity: 0; } }

/* reveal on scroll ------------------------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* responsive ------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav { gap: 1.5rem; }
  .head-wa span { display: none; }
  .head-wa { padding: 10px; }
}
@media (max-width: 900px) {
  .nav, .head-wa { display: none; }
  .menu-btn { display: grid; }
  .vow-inner { grid-template-columns: 1fr; text-align: center; }
  .vow-logo { width: min(70%, 280px); }
  .vow p { margin-inline: auto; }
  .process-grid { grid-template-columns: 1fr; }
  .process-media { position: static; }
  .process-media img { aspect-ratio: 4 / 3; }
  .enquire-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .hero { align-items: flex-start; min-height: 100svh; padding: 112px 0 48px; }
  .hero::before { background: var(--hero-wash-m); }
  .hero-bg img { object-position: 50% 100%; }
  .hero h1 { font-size: clamp(2.45rem, 10.5vw, 3.2rem); max-width: 12ch; }
  .lede { font-size: 1.05rem; margin-top: 1.1rem; }
  .cta-row { margin-top: 1.7rem; }
  .cta-row .btn { flex: 1 1 auto; padding: 0 1.2rem; }
  .work-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: auto; }
  .t-tall { grid-row: auto; grid-column: 1 / -1; }
  .tile-btn { height: auto; }
  .t-tall .tile-btn img { aspect-ratio: 4 / 5; height: auto; }
  .t-a .tile-btn img, .t-b .tile-btn img { aspect-ratio: 3 / 4.4; height: auto; }
  .t-wide { grid-column: 1 / -1; }
  .t-wide .tile-btn img { aspect-ratio: 4 / 3; height: auto; }
  .tile figcaption { font-size: .85rem; }
  .tables-intro { grid-template-columns: 1fr; }
  .rail-ctrl { display: none; }
  .slide { width: 76vw; }
  .slide img { height: 112vw; max-height: 520px; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "photo" "lace" "rose" "plain"; }
  .b-photo img { min-height: 0; aspect-ratio: 4 / 5; }
  .b-cell { min-height: 220px; }
  .field-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 2rem; }
  .foot-base { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
