/* Fonts */
@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-var-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../assets/fonts/dm-sans-var-latin.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia");
  size-adjust: 104%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "DM Sans Fallback";
  src: local("Arial");
  size-adjust: 102%;
  ascent-override: 97%;
  descent-override: 30%;
  line-gap-override: 0%;
}
[hidden] {
  display: none !important;
}

/* Tokens */
:root {
  --bg: #fffdfa;
  --surface: #ffffff;
  --cream: #f8f1e9;
  --blush: #f6e1df;
  --ink: #3a2b28;
  --ink-soft: #6b5a56;
  --rose: #a9476b;
  --rose-dark: #8c3556;
  --gold: #b8935a;

  --font-display: "Fraunces", "Fraunces Fallback", Georgia, serif;
  --font-body: "DM Sans", "DM Sans Fallback", Arial, sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgb(58 43 40 / 0.06);
  --shadow: 0 8px 24px rgb(58 43 40 / 0.07);

  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --dur: 700ms;

  --gutter: 20px;
  --max: 1180px;
  --header-h: 72px;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom));
}
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
}

/* Type scale */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.75rem, 2rem + 4vw, 5rem);
  line-height: 1.02;
}
h2 {
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
}
h3 {
  font-size: clamp(1.5rem, 1.25rem + 1.2vw, 2.125rem);
  line-height: 1.15;
}
h4 {
  font-size: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  line-height: 1.2;
}
p {
  text-wrap: pretty;
}
.small,
small {
  font-size: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  line-height: 1.5;
}
.eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-dark);
}
.lead {
  font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  color: var(--ink-soft);
}
.muted {
  color: var(--ink-soft);
}

/* Links and focus */
a {
  color: var(--rose);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 200ms var(--ease);
}
a:hover {
  color: var(--rose-dark);
}
:focus-visible {
  outline: 3px solid var(--rose-dark);
  outline-offset: 3px;
  border-radius: 4px;
}
main:focus {
  outline: none;
}
.skip-link {
  position: absolute;
  left: var(--space-2);
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-pill);
  text-decoration: none;
}
.skip-link:focus {
  top: var(--space-1);
  color: #fff;
}

/* Layout */
.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: var(--space-6);
}
.section--cream {
  background: var(--cream);
}
.section--blush {
  background: var(--blush);
}
.stack > * + * {
  margin-top: var(--stack, var(--space-2));
}
.grid {
  display: grid;
  gap: var(--space-3);
}
.grid--2,
.grid--3,
.grid--4,
.grid--5 {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .section {
    padding-block: var(--space-7);
  }
  .grid--2,
  .grid--3,
  .grid--4,
  .grid--5 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 640px) and (max-width: 959px) {
  .grid--5 > :last-child {
    grid-column: 1 / -1;
  }
  .grid--5 > :last-child .card__media {
    aspect-ratio: 2;
  }
}
@media (min-width: 960px) {
  .grid--5 {
    grid-template-columns: repeat(6, 1fr);
  }
  .grid--5 > * {
    grid-column: span 2;
  }
  .grid--5 > :nth-child(n+4) {
    grid-column: span 3;
  }
  .grid--5 > :nth-child(n+4) .card__media {
    aspect-ratio: 3 / 2;
  }
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .grid {
    gap: var(--space-4);
  }
}
@media (min-width: 1200px) {
  :root {
    --gutter: 24px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.75rem 1.75rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 250ms var(--ease), color 250ms var(--ease),
    border-color 250ms var(--ease), transform 250ms var(--ease);
}
.btn svg {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}
.btn--primary,
.btn--facebook {
  background: var(--rose);
  color: #fff;
}
.btn--primary:hover,
.btn--facebook:hover {
  background: var(--rose-dark);
  color: #fff;
}
.btn--ghost {
  background: transparent;
  color: var(--rose-dark);
  border-color: var(--rose);
}
.btn--ghost:hover {
  background: var(--blush);
  color: var(--rose-dark);
}
.btn:active {
  transform: scale(0.98);
}

/* Icons */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--fill {
  fill: currentColor;
  stroke: none;
}
.btn--block {
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 253 250 / 0.96);
}
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  box-shadow: var(--shadow-sm), 0 6px 18px rgb(58 43 40 / 0.05);
  opacity: 0;
  transition: opacity 300ms var(--ease);
  pointer-events: none;
}
.site-header.is-scrolled::after {
  opacity: 1;
}
.site-header__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 var(--space-3);
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  transform-origin: left center;
  transition: transform 300ms var(--ease);
}
.logo {
  display: block;
  height: 48px;
  width: auto;
}
@media (min-width: 640px) {
  .logo {
    height: 56px;
  }
}
.site-header.is-scrolled .brand {
  transform: scale(0.92);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-width: 48px;
  min-height: 48px;
  padding: 0 1.1rem;
  font-weight: 500;
  background: transparent;
  border: 2px solid var(--blush);
  border-radius: var(--radius-pill);
}
.js .nav-toggle {
  display: inline-flex;
}
.nav-toggle[aria-expanded="true"] .i-menu,
.nav-toggle[aria-expanded="false"] .i-close {
  display: none;
}

.site-nav {
  flex-basis: 100%;
  padding-bottom: var(--space-1);
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-3);
  list-style: none;
  padding: 0;
}
.site-nav a:not(.btn) {
  display: block;
  padding: 0.5rem 0;
  color: var(--ink);
  text-decoration: none;
}
.site-nav a:not(.btn):hover,
.site-nav a[aria-current="page"] {
  color: var(--rose-dark);
}
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}
.site-nav__extras,
.header-cta {
  display: none;
}
html:not(.js) .site-header {
  position: static;
}

/* Mobile panel, only when JS is running */
@media (max-width: 959px) {
  .js .site-header__bar {
    padding-block: 0.25rem;
  }
  .js .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: var(--space-1) var(--gutter) var(--space-3);
    background: var(--bg);
    box-shadow: var(--shadow);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 300ms var(--ease), transform 300ms var(--ease),
      visibility 0s linear 300ms;
  }
  .js .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }
  .js .site-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .js .site-nav li + li {
    border-top: 1px solid var(--blush);
  }
  .js .site-nav a:not(.btn) {
    padding: 0.9rem 0;
    min-height: 48px;
  }
  .js .site-nav__extras {
    display: grid;
    gap: var(--space-1);
    margin-top: var(--space-2);
  }
  .site-nav__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 0 var(--space-3);
  }
  .site-nav__contact a {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
  }
}
@media (min-width: 960px) {
  .site-header__bar {
    flex-wrap: nowrap;
  }
  .site-nav {
    flex: 1;
    padding: 0;
  }
  .site-nav ul {
    justify-content: flex-end;
    gap: var(--space-4);
  }
  .header-cta {
    display: inline-flex;
  }
  .js .nav-toggle {
    display: none;
  }
}

/* Scalloped top edge for bands */
.scallop-top {
  position: relative;
}
.scallop-top::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 20px;
  background: inherit;
  -webkit-mask: radial-gradient(circle at 20px 20px, #000 19.5px, #0000 20px) 0 0 / 40px 20px repeat-x;
  mask: radial-gradient(circle at 20px 20px, #000 19.5px, #0000 20px) 0 0 / 40px 20px repeat-x;
}

/* CTA band */
.cta-band {
  margin-top: var(--space-6);
  padding-block: var(--space-6);
  background: var(--blush);
  text-align: center;
}
.cta-band__inner {
  max-width: 640px;
}
.cta-band .row {
  justify-content: center;
}

/* Footer */
.site-footer {
  background: var(--cream);
  padding-top: var(--space-6);
  padding-bottom: calc(var(--space-4) + 80px + env(safe-area-inset-bottom));
}
.site-footer .grid {
  gap: var(--space-4);
}
.footer__title {
  margin-bottom: var(--space-1);
  font-family: var(--font-display);
  font-size: 1.25rem;
}
.site-footer ul {
  list-style: none;
  padding: 0;
}
.site-footer li a:not(.btn) {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}
.site-footer li a:not(.btn):hover {
  color: var(--rose-dark);
  text-decoration: underline;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--gold);
  border-radius: var(--radius-pill);
}
.badge .icon {
  color: var(--gold);
}
a.badge {
  color: inherit;
  text-decoration: none;
}
.care a.badge {
  gap: 0.5rem;
  min-height: 0;
}
a:has(> .hygiene) {
  display: block;
  width: fit-content;
  border-radius: 10px;
}
.hygiene {
  display: block;
  width: 160px;
  height: auto;
  border-radius: 10px;
}
.footer__legal {
  margin-top: var(--space-4);
  padding-top: var(--space-2);
  border-top: 1px solid rgb(58 43 40 / 0.12);
}
@media (min-width: 640px) {
  .site-footer .grid--footer {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}
@media (min-width: 960px) {
  .site-footer {
    padding-bottom: var(--space-4);
  }
}

/* Mobile sticky bar */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  gap: var(--space-1);
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgb(255 253 250 / 0.97);
  box-shadow: 0 -4px 18px rgb(58 43 40 / 0.08);
  transition: transform 400ms var(--ease), opacity 400ms var(--ease),
    visibility 0s linear 0s;
}
.sticky-bar .btn--facebook {
  flex: 1;
  min-width: 0;
  padding-inline: 0.75rem;
}
.btn--round {
  width: 48px;
  padding: 0;
  flex: none;
}
.sticky-bar.is-hidden,
.sticky-bar.is-typing {
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition-delay: 0s, 0s, 400ms;
}
@media (min-width: 960px) {
  .sticky-bar {
    display: none;
  }
}

/* Placeholder intro */
.page-intro {
  padding-top: var(--space-6);
}
.page-intro .lead {
  max-width: 36em;
}

/* Scalloped divider (CSS mask) */
.scallop {
  height: 20px;
  background: var(--cream);
  -webkit-mask: radial-gradient(circle at 20px 0, #0000 19px, #000 20px) 0 0 / 40px 20px repeat-x;
  mask: radial-gradient(circle at 20px 0, #0000 19px, #000 20px) 0 0 / 40px 20px repeat-x;
}

/* Arch frame */
.arch {
  overflow: hidden;
  border-radius: 999px 999px var(--radius) var(--radius);
  background: var(--blush);
}

/* Card */
.card {
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card__body {
  padding: var(--space-3);
}

/* Reveal states, only when JS is running */
.js .reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
html.js:not(.io-ready) .reveal {
  animation: reveal-failsafe 0s 3s forwards;
}
@keyframes reveal-failsafe {
  to {
    opacity: 1;
    transform: none;
  }
}
html.js:not(.io-ready) .reveal .creation__media,
html.js:not(.io-ready) .reveal .about__arch {
  animation: reveal-failsafe-clip 0s 3s forwards;
}
html.js:not(.io-ready) .reveal .creation__img {
  animation: reveal-failsafe 0s 3s forwards;
}
@keyframes reveal-failsafe-clip {
  to {
    clip-path: inset(0 0 0 0);
  }
}

@media (hover: hover) {
  .card {
    transition: transform 400ms var(--ease), box-shadow 400ms var(--ease);
  }
  .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgb(58 43 40 / 0.1);
  }
}

@view-transition {
  navigation: auto;
}

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

/* Style tile helpers (temporary) */
.swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--space-2);
}
.swatch {
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  border: 1px solid rgb(58 43 40 / 0.1);
  font-size: 0.875rem;
  min-height: 96px;
}
.row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* Home */
.section--plain {
  background: var(--bg);
}
.cta-band--flush {
  margin-top: 0;
}
.section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-2);
}
.hero {
  padding-block: var(--space-2) var(--space-5);
}
.hero__grid {
  display: grid;
  gap: var(--space-2);
}
.hero__media {
  justify-self: center;
}
.hero__arch {
  height: min(26vh, 230px);
  aspect-ratio: 4 / 5;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero h1 {
  font-size: clamp(2.125rem, 1.6rem + 3vw, 5rem);
}
.hero .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}
.hero .line > span {
  display: block;
}
.hero__lead {
  margin-top: var(--space-1);
}
.hero__actions .btn {
  flex: 1 1 auto;
}
.hero__badge {
  align-self: flex-start;
}
@media (min-width: 640px) {
  .hero {
    padding-block: var(--space-5) var(--space-6);
  }
  .hero__grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: var(--space-5);
  }
  .hero__media {
    order: 2;
    justify-self: end;
    width: 100%;
  }
  .hero__text {
    order: 1;
  }
  .hero__arch {
    height: auto;
    width: 100%;
    max-width: 460px;
    margin-left: auto;
  }
  .hero__actions .btn {
    flex: 0 0 auto;
  }
}

/* Cards */
.card--make {
  position: relative;
}
.card__media {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--blush);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card__link {
  color: var(--ink);
  text-decoration: none;
}
.card__link::after {
  content: "";
  position: absolute;
  inset: 0;
}
.card__link:focus-visible {
  outline: none;
}
.card--make:has(.card__link:focus-visible) {
  outline: 3px solid var(--rose-dark);
  outline-offset: 3px;
}
.card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  color: var(--rose-dark);
}
@media (min-width: 960px) {
  .card__media {
    aspect-ratio: 4 / 5;
  }
}
@media (hover: hover) {
  .card__media img {
    transition: transform 700ms var(--ease);
  }
  .card:hover .card__media img {
    transform: scale(1.05);
  }
}

/* Photo strip */
.strip-wrap {
  margin-top: var(--space-3);
}
.strip {
  display: flex;
  gap: var(--space-2);
  margin-inline: calc(var(--gutter) * -1);
  padding: var(--space-1) var(--gutter) var(--space-2);
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.strip::-webkit-scrollbar {
  display: none;
}
.strip__item {
  flex: 0 0 62%;
  scroll-snap-align: start;
}
.strip__frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--blush);
}
.strip__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 640px) {
  .strip__item {
    flex-basis: 34%;
  }
}
@media (min-width: 960px) {
  .strip {
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
  }
}

/* Occasions */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  padding: 0;
  list-style: none;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.5rem 1.25rem;
  background: var(--surface);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  font-weight: 500;
}
.pill .icon {
  color: var(--rose);
}

/* Steps */
.steps {
  display: grid;
  gap: var(--space-3);
  padding: 0;
  list-style: none;
}
.step {
  padding: var(--space-3);
  background: var(--cream);
  border-radius: var(--radius-lg);
}
.step h3 {
  margin-block: var(--space-1) 0.25rem;
  font-size: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
}
.step__num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: #fff;
  background: var(--rose);
  border-radius: 50%;
}
@media (min-width: 960px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.care {
  max-width: 44rem;
}
.care a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
}

/* Home motion: only with JS, removed for reduced motion */
@keyframes line-rise {
  from { transform: translateY(105%); }
  to { transform: none; }
}
@keyframes icing-open {
  from { clip-path: inset(100% 0 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
@keyframes img-settle {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.js .hero .line > span {
  animation: line-rise 800ms var(--ease) both;
  animation-delay: calc(var(--l) * 110ms + 100ms);
}
.js .hero__arch {
  animation: icing-open 900ms var(--ease) both;
}
.js .hero__img {
  animation: img-settle 1100ms var(--ease) both;
}
@keyframes strip-x {
  from { transform: translateX(-8%) scale(1.2); }
  to { transform: translateX(8%) scale(1.2); }
}
@keyframes strip-y {
  from { transform: translateY(-8%) scale(1.2); }
  to { transform: translateY(8%) scale(1.2); }
}
@supports (animation-timeline: view()) {
  .strip__img {
    animation: strip-x linear both;
    animation-timeline: view(inline);
  }
  @media (min-width: 960px) {
    .strip__img {
      animation-name: strip-y;
      animation-timeline: view();
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .js .hero .line > span,
  .js .hero__arch,
  .js .hero__img,
  .strip__img {
    animation: none;
  }
  .strip__img {
    transform: none;
  }
}

/* Creations */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  padding-top: var(--space-1);
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.5rem 1.25rem;
  font-weight: 500;
  color: var(--rose-dark);
  text-decoration: none;
  background: var(--surface);
  border: 2px solid var(--blush);
  border-radius: var(--radius-pill);
  transition: background-color 250ms var(--ease), border-color 250ms var(--ease);
}
.chip:hover {
  background: var(--blush);
  color: var(--rose-dark);
}
.creation {
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.creation__grid {
  display: grid;
  gap: var(--space-4);
}
.creation__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--blush);
}
.creation__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumbs {
  display: flex;
  gap: var(--space-1);
  margin-top: var(--space-1);
  padding: 0;
  list-style: none;
}
.thumb {
  flex: 1 1 0;
  max-width: 150px;
}
.thumb a {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--blush);
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (hover: hover) {
  .thumb img {
    transition: transform 500ms var(--ease);
  }
  .thumb a:hover img {
    transform: scale(1.06);
  }
}
.creation__label {
  margin-bottom: var(--space-1);
  font-weight: 500;
  color: var(--rose-dark);
}
.pills--small .pill {
  min-height: 44px;
  padding-block: 0.25rem;
  font-size: 0.9375rem;
}
.includes {
  display: grid;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}
.includes li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.includes .icon {
  color: var(--rose);
}
@media (min-width: 960px) {
  .creation__grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-6);
  }
  .creation--flip .creation__media-col {
    order: 2;
  }
  .creation--wide .creation__grid {
    grid-template-columns: 1.2fr 1fr;
  }
  .creation--wide.creation--flip .creation__grid {
    grid-template-columns: 1fr 1.2fr;
  }
  .creation--wide.creation--flip .creation__media-col {
    order: 2;
  }
  .creation--wide {
    padding-block: var(--space-7) calc(var(--space-7) + var(--space-2));
  }
}
.js .reveal .creation__media,
.js .reveal .about__arch {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 900ms var(--ease);
}
.js .reveal.is-visible .creation__media,
.js .reveal.is-visible .about__arch {
  clip-path: inset(0 0 0 0);
}
.js .reveal .creation__img {
  transform: scale(1.08);
  transition: transform 1100ms var(--ease);
}
.js .reveal.is-visible .creation__img {
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal .creation__media,
  .js .reveal .about__arch {
    clip-path: none;
    transition: none;
  }
  .js .reveal .creation__img,
  .thumb img {
    transform: none;
    transition: none;
  }
}

/* Gallery */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.filters {
  display: none;
}
.js .filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  padding-top: var(--space-1);
}
button.chip {
  gap: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
}
.chip .count {
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.chip[aria-pressed="true"] {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
}
.chip[aria-pressed="true"] .count {
  color: #fff;
}
.gallery-section {
  padding-bottom: var(--space-2);
}
.gallery {
  columns: 2;
  column-gap: 12px;
  padding: 0;
  list-style: none;
}
.gallery li {
  break-inside: avoid;
  margin-bottom: 12px;
}
.gallery li[hidden] {
  display: none;
}
.gallery a {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--blush);
}
.gallery img {
  width: 100%;
  height: auto;
}
.gallery .fade {
  animation: tile-in 250ms var(--ease) both;
}
@keyframes tile-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@media (min-width: 768px) {
  .gallery {
    columns: 3;
    column-gap: 16px;
  }
  .gallery li {
    margin-bottom: 16px;
  }
}
@media (min-width: 1200px) {
  .gallery {
    columns: 4;
  }
}
@media (hover: hover) {
  .gallery img {
    transition: transform 600ms var(--ease);
  }
  .gallery a:hover img {
    transform: scale(1.04);
  }
}

/* Lightbox */
.lightbox {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: var(--space-2);
  border: 0;
  background: transparent;
  color: #fff;
  overflow: hidden;
}
.lightbox[open] {
  display: grid;
  place-items: center;
}
.lightbox::backdrop {
  background: rgb(35 24 22 / 0);
  transition: background-color 200ms var(--ease);
}
.lightbox.is-open::backdrop {
  background: rgb(35 24 22 / 0.95);
}
.lb__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: min(100%, 960px);
  max-height: 100%;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
}
.lightbox.is-open .lb__panel {
  opacity: 1;
  transform: none;
}
.lb__stage {
  display: grid;
  place-items: center;
  min-height: 0;
  touch-action: pan-y;
}
.lb__img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 230px);
  max-height: calc(100dvh - 230px);
  border-radius: var(--radius-sm);
}
.lb__caption {
  max-width: 40em;
  font-size: 0.9375rem;
  text-align: center;
}
.lb__bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.lb__count {
  min-width: 4.5rem;
  text-align: center;
  font-weight: 500;
}
.lb__btn {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  color: #fff;
  background: rgb(255 255 255 / 0.14);
  border: 2px solid rgb(255 255 255 / 0.5);
  border-radius: 50%;
  transition: background-color 200ms var(--ease);
}
.lb__btn:hover {
  background: rgb(255 255 255 / 0.28);
}
.lb__prev .icon {
  transform: scaleX(-1);
}
.lb__close {
  position: absolute;
  top: calc(12px + env(safe-area-inset-top));
  right: 12px;
}
.lightbox :focus-visible {
  outline-color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  .gallery .fade {
    animation: none;
  }
  .gallery a:hover img {
    transform: none;
  }
  .lightbox::backdrop,
  .lb__panel {
    transition: none;
  }
}

/* About */
.about__grid {
  display: grid;
  gap: var(--space-4);
}
.about__arch {
  aspect-ratio: 4 / 5;
  width: min(100%, 300px);
  margin-inline: auto;
}
@media (min-width: 960px) {
  .about__grid {
    grid-template-columns: 0.8fr 1fr;
    align-items: center;
    gap: var(--space-6);
  }
  .about__arch {
    width: 100%;
    max-width: 420px;
  }
}
.about__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 10%;
}

/* Order */
.icon--lg {
  width: 2.25rem;
  height: 2.25rem;
}
.contact {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.contact__primary {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 96px;
  padding: var(--space-3);
  color: #fff;
  text-decoration: none;
  background: var(--rose);
  border-radius: var(--radius-lg);
  transition: background-color 250ms var(--ease);
}
.contact__primary:hover {
  background: var(--rose-dark);
  color: #fff;
}
.contact__primary > span {
  flex: 1;
}
.contact__title {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.2rem + 1vw, 2rem);
  line-height: 1.15;
}
.contact__sub {
  display: block;
  margin-top: 0.25rem;
}
.contact__list {
  display: grid;
  gap: var(--space-2);
  padding: 0;
  list-style: none;
}
.contact__card {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 72px;
  padding: var(--space-2);
  color: var(--ink);
  text-decoration: none;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow-wrap: anywhere;
}
.contact__card:hover {
  color: var(--rose-dark);
}
.contact__card strong {
  display: block;
  font-weight: 500;
}
.contact__card span span {
  color: var(--ink-soft);
}
.contact__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--rose-dark);
  background: var(--blush);
  border-radius: 50%;
}
@media (min-width: 768px) {
  .contact__list {
    grid-template-columns: repeat(3, 1fr);
  }
}
.form-wrap {
  max-width: 680px;
}
.quick,
.note,
.form-success {
  padding: var(--space-2) var(--space-3);
  background: var(--surface);
  border-radius: var(--radius);
}
.note {
  border-left: 4px solid var(--gold);
}
.form-success {
  border: 2px solid var(--rose);
}
.form {
  display: grid;
  gap: var(--space-3);
}
.field {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
  padding: 0;
  border: 0;
}
.field label,
.field legend {
  padding: 0;
  font-weight: 500;
}
.req,
.hint {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink-soft);
}
.input {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  background: var(--surface);
  border: 2px solid #857470;
  border-radius: var(--radius-sm);
}
textarea.input {
  min-height: 120px;
  resize: vertical;
}
.input[aria-invalid="true"] {
  border-color: #9b1c1c;
}
.field-error,
.form-error {
  font-weight: 500;
  color: #9b1c1c;
}
.checks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-top: 0.4rem;
}
.field .check,
.check {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.5rem 1.1rem 0.5rem 1rem;
  background: var(--surface);
  border: 2px solid #857470;
  border-radius: var(--radius-pill);
  cursor: pointer;
}
.check input {
  width: 22px;
  height: 22px;
  accent-color: var(--rose);
}
.check:has(input:checked) {
  background: var(--blush);
  border-color: var(--rose-dark);
}
.check:has(input:focus-visible) {
  outline: 3px solid var(--rose-dark);
  outline-offset: 3px;
}
.btn[disabled] {
  opacity: 0.65;
  cursor: wait;
}
.faq-wrap {
  max-width: 760px;
}
.faq {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: 56px;
  padding: 0.9rem 1.25rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--rose);
  border-bottom: 2px solid var(--rose);
  transform: rotate(45deg);
  transition: transform 300ms var(--ease);
}
.faq[open] summary::after {
  transform: rotate(-135deg);
}
.faq__body {
  padding: 0 1.25rem 1.25rem;
}
@media (prefers-reduced-motion: reduce) {
  .faq summary::after {
    transition: none;
  }
}
.input:focus {
  outline: 3px solid var(--rose-dark);
  outline-offset: 2px;
}

/* Spacing helpers (replace inline styles) */
.stack--1 { --stack: var(--space-1); }
.stack--2 { --stack: var(--space-2); }
.stack--3 { --stack: var(--space-3); }
.stack--4 { --stack: var(--space-4); }
.mt-2 { margin-top: var(--space-2); }
.l-0 { --l: 0; }
.l-1 { --l: 1; }
.l-2 { --l: 2; }

/* Windows high contrast: keep edges and states visible */
@media (forced-colors: active) {
  .card,
  .pill,
  .step,
  .faq,
  .quick,
  .note,
  .form-success,
  .contact__card,
  .gallery a,
  .strip__frame,
  .creation__media,
  .thumb a,
  .arch {
    border: 1px solid CanvasText;
  }
  .btn--primary,
  .btn--facebook,
  .contact__primary,
  .step__num,
  .contact__icon {
    border: 2px solid ButtonText;
  }
  .chip[aria-pressed="true"],
  .check:has(input:checked) {
    border-color: Highlight;
    outline: 2px solid Highlight;
  }
  .sticky-bar,
  .site-header {
    border-block: 1px solid CanvasText;
  }
}

/* Large text: let long words break and grid items shrink */
h1,
h2,
h3,
h4,
p,
li {
  overflow-wrap: break-word;
}
.site-footer a,
.contact__card,
.card__link {
  overflow-wrap: anywhere;
}
.btn {
  max-width: 100%;
}
.grid > *,
.creation__grid > *,
.hero__grid > *,
.about__grid > *,
.contact > * {
  min-width: 0;
}
.check {
  max-width: 100%;
}
.check span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.input {
  min-width: 0;
  max-width: 100%;
}
.contact__primary > span {
  min-width: 0;
}
.contact__title {
  overflow-wrap: anywhere;
}
select.input {
  padding-right: 2.75rem;
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--surface);
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 1.45rem) 52%, calc(100% - 1.1rem) 52%;
  background-size: 0.35rem 0.35rem;
  background-repeat: no-repeat;
}
@media (forced-colors: active) {
  select.input {
    appearance: auto;
    -webkit-appearance: menulist;
  }
}
