@font-face { font-family: "Italiana"; src: url("../fonts/atelier/italiana-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mulish"; src: url("../fonts/atelier/mulish-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mulish"; src: url("../fonts/atelier/mulish-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* ATELIER: intimate weddings, christenings and anniversaries in quiet luxury (2026 trend: quiet-luxury minimalism,
   tactile cotton paper, gatefold and die-cut cards, monogram crests). Signature idea: a thick cotton gatefold card
   held shut by a debossed monogram crest; tap and its two doors swing open in 3D to show the names inside.
   Then a calm page with lots of white space, the photo in a slim gallery frame, prints in white mats.
   Type: Italiana (names, headings) · Mulish (reading text, small spaced capitals). */
:root {
  --bg: #f4f1ea; --paper: #faf8f3; --ink: #2c2a26; --muted: #7a7366; --line: rgba(44, 42, 38, .14);
  --accent: #8a7d6b; --accent-ink: #ffffff; --card: #fdfbf7;
  --display: "Italiana", "Didot", Georgia, serif; --text: "Mulish", system-ui, sans-serif;
  --radius: 2px; --maxw: 560px;
}
body { background: var(--bg); color: var(--ink); }
.t-atelier body, .t-atelier .intro { background-image: repeating-linear-gradient(0deg, rgba(0, 0, 0, .012) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(0, 0, 0, .012) 0 1px, transparent 1px 3px); }

/* ---------- the crest ---------- */
.at-crest { display: inline-grid; place-items: center; width: 74px; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--accent); padding: 4px; color: var(--accent); }
.at-crest-in { display: flex; align-items: center; justify-content: center; gap: 2px; width: 100%; height: 100%; border-radius: 50%; border: 1px solid var(--line); font: 1.45rem/1 var(--display); letter-spacing: .04em; }
.at-crest-in i { font-style: normal; font-size: .7em; opacity: .7; }
.at-crest.is-big { width: 46%; }
.at-crest.is-big .at-crest-in { font-size: 2.6rem; }

/* ---------- intro: the gatefold ---------- */
.at-intro { --intro-ms: 2200; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 24px; background-color: var(--bg);
  transition: opacity .7s ease 1.5s, visibility 0s linear 2.2s; }
.at-for { margin: 0; font: 1.25rem var(--display); color: var(--ink); }
.at-for b { font-weight: 400; color: var(--accent); }
.at-gate { position: relative; width: min(290px, 74vw); aspect-ratio: 5 / 7; padding: 0; border: 0; background: var(--card); cursor: pointer; perspective: 1400px; border-radius: 2px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 24px 50px -24px rgba(60, 50, 35, .45); transition: transform .9s cubic-bezier(.2, .8, .2, 1) 1.05s; }
.at-inside { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 26px; text-align: center;
  box-shadow: inset 0 0 0 12px var(--card), inset 0 0 0 13px var(--line); }
.at-in-k { font: 600 .58rem var(--text); letter-spacing: .3em; text-transform: uppercase; color: var(--accent); }
.at-in-n { font: 2rem/1.1 var(--display); color: var(--ink); }
.at-in-d { font: .66rem var(--text); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.at-door { position: absolute; top: 0; bottom: 0; width: 50%; background: var(--card); backface-visibility: hidden;
  transition: transform 1.1s cubic-bezier(.55, 0, .25, 1) .25s, box-shadow 1.1s ease .25s;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, .025), transparent 18%), repeating-linear-gradient(0deg, rgba(0, 0, 0, .012) 0 1px, transparent 1px 3px); }
.at-door.is-l { left: 0; transform-origin: 0 50%; border-right: 1px solid rgba(0, 0, 0, .06); }
.at-door.is-r { right: 0; transform-origin: 100% 50%; border-left: 1px solid rgba(255, 255, 255, .6); background-image: linear-gradient(270deg, rgba(0, 0, 0, .025), transparent 18%), repeating-linear-gradient(0deg, rgba(0, 0, 0, .012) 0 1px, transparent 1px 3px); }
.at-seal { position: absolute; z-index: 3; left: 50%; top: 50%; width: 76px; transform: translate(-50%, -50%); background: var(--card);
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, .14), inset 0 -1px 1px rgba(255, 255, 255, .9), 0 1px 1px rgba(255, 255, 255, .8); border-color: transparent; transition: opacity .35s ease, transform .5s ease; }
.at-seal .at-crest-in { border-color: rgba(0, 0, 0, .1); text-shadow: 0 1px 0 rgba(255, 255, 255, .9), 0 -1px 0 rgba(0, 0, 0, .12); color: color-mix(in srgb, var(--accent) 80%, var(--card)); }
.at-intro .intro-hint { font: 600 .68rem var(--text); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.is-opening .at-seal { opacity: 0; transform: translate(-50%, -50%) scale(1.25); }
.is-opening .at-door.is-l { transform: rotateY(-155deg); box-shadow: -18px 0 30px -18px rgba(0, 0, 0, .3); }
.is-opening .at-door.is-r { transform: rotateY(155deg); box-shadow: 18px 0 30px -18px rgba(0, 0, 0, .3); }
.is-opening .at-gate { transform: scale(1.12) translateY(-10px); }
.is-opening .at-for, .is-opening .at-intro .intro-hint { opacity: 0; transition: opacity .4s; }

/* ---------- hero ---------- */
.t-atelier .at-hero { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100svh; padding: 56px 30px 64px; text-align: center; }
.at-hero > .at-crest { margin-bottom: 22px; }
.at-hero .hero-guest { margin: 0 0 4px; font: 1.2rem var(--display); }
.at-hero .hero-guest b { font-weight: 400; color: var(--accent); }
.at-hero .hero-k { margin: 0 0 26px; font: 600 .66rem var(--text); letter-spacing: .32em; text-transform: uppercase; color: var(--accent); }
.at-frame { width: min(250px, 66vw); padding: 12px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 30px 50px -34px rgba(60, 50, 35, .55); }
.at-frame-in { aspect-ratio: 4 / 5; background: var(--paper); display: grid; place-items: center; }
.at-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.at-hero .hero-media-tag { bottom: 8px; font-size: .64rem; }
.at-hero .hero-t { margin-top: 30px; font-size: clamp(2.6rem, 12vw, 3.8rem); line-height: 1.05; letter-spacing: .02em; }
.at-hero .hero-t span { display: block; }
.at-amp { display: block; font: 1.4rem var(--display); color: var(--accent); margin: 4px 0; }
.at-sub { margin: 10px 0 0; font: 600 .66rem var(--text); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.at-hero .hero-line { margin: 18px auto 0; max-width: 24em; color: var(--muted); }
.at-when { display: flex; flex-direction: column; gap: 6px; margin: 22px 0 0; font: 600 .7rem var(--text); letter-spacing: .26em; text-transform: uppercase; }
.at-when span + span { color: var(--muted); font-weight: 400; }
.at-when::before { content: ""; width: 40px; height: 1px; margin: 0 auto 10px; background: var(--accent); }
.at-hero .hero-cta { margin-top: 28px; background: transparent; color: var(--ink); border: 1px solid var(--ink); border-radius: 999px; font: 600 .72rem var(--text); letter-spacing: .26em; text-transform: uppercase; padding: 13px 30px; }

/* ---------- sections: airy ---------- */
.t-atelier .s:not(.s-hero) { padding: 84px 30px; }
.t-atelier .sh-k { font: 600 .64rem var(--text); letter-spacing: .32em; color: var(--accent); }
.t-atelier .sh-t { font-size: clamp(2.2rem, 9vw, 3rem); letter-spacing: .02em; }
.t-atelier .sh::after { content: ""; display: block; width: 32px; height: 1px; margin: 18px auto 0; background: var(--accent); }
.t-atelier .cd-u b { font-weight: 400; }
.t-atelier .cd-u span, .t-atelier .vn-l { font-weight: 600; letter-spacing: .24em; }
.t-atelier .vn-c, .t-atelier .dr-roles > div, .t-atelier .gl-it, .t-atelier .gl-c { border: 0; border-radius: 2px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.t-atelier .btn-line { border-radius: 999px; letter-spacing: .2em; text-transform: uppercase; font-size: .72rem; font-weight: 600; }
.t-atelier .rs-btn { letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; font-weight: 600; }
.t-atelier .tl-time { color: var(--accent); font-size: .82rem; letter-spacing: .06em; }

/* ---------- gallery wall ---------- */
.at-wall { columns: 2; column-gap: 16px; }
.at-print { break-inside: avoid; margin: 0 0 22px; opacity: 0; transform: translateY(16px); transition: opacity 1s ease, transform 1s ease; }
.at-print.is-in { opacity: 1; transform: none; }
.at-mat { padding: 9px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 18px 30px -22px rgba(60, 50, 35, .5); }
.at-pimg { aspect-ratio: 4 / 5; background: var(--paper); }
.at-print.r1 .at-pimg { aspect-ratio: 1; }
.at-print.r2 .at-pimg { aspect-ratio: 3 / 4; }
.at-print.r3 .at-pimg { aspect-ratio: 5 / 4; }
.at-print figcaption { margin-top: 10px; text-align: center; font: 600 .6rem var(--text); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

/* ---------- closing ---------- */
.at-close { text-align: center; }
.at-close .at-crest { margin-bottom: 24px; }
.t-atelier .cl-line { font: clamp(1.7rem, 7vw, 2.3rem)/1.3 var(--display); }
.t-atelier .cl-sign { font: 600 .7rem var(--text); letter-spacing: .3em; text-transform: uppercase; color: var(--accent); }

@media (prefers-reduced-motion: reduce) { .at-door, .at-gate { transition: none; } .at-print { opacity: 1; transform: none; } }
/* depth for the closed gatefold: a visible seam, soft edge shading and a crest you can read */
.at-door.is-l { box-shadow: inset -10px 0 14px -12px rgba(60, 50, 35, .35); }
.at-door.is-r { box-shadow: inset 10px 0 14px -12px rgba(60, 50, 35, .35); }
.at-seal { border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); }
.at-seal .at-crest-in { color: var(--accent); }
.at-amp { font: 600 .9rem var(--text); letter-spacing: .3em; }
.t-atelier .story-body { text-align: center; }
.at-hero .hero-media-tag { white-space: normal; text-overflow: clip; width: max-content; max-width: calc(100% - 20px); text-align: center; line-height: 1.35; }
