/* =========================================================
   The Beauty House of Horrors · LP
   v2 · Identidade visual do evento (vinho, marfim, preto + ilustrações)
   Mobile first. Breakpoints: 768px (tablet) e 960px (desktop).
   Ilustrações: /beauty-house/assets/identidade/*.webp (caminhos relativos a este CSS)
   ========================================================= */

/* Fonte do evento. Colocar o arquivo licenciado em /beauty-house/fonts/.
   Enquanto o arquivo não existir, o navegador usa Cormorant Garamond (Google Fonts). */
@font-face {
  font-family: "Billie Eilish";
  src: url("fonts/billie-eilish.woff2") format("woff2"),
       url("fonts/billie-eilish.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Paleta tirada dos elementos da identidade */
  --wine: #661919;         /* vinho principal (logo) */
  --wine-deep: #3F0E0E;    /* vinho escuro para profundidade */
  --blood: #6D0B0B;        /* vermelho das ilustrações */
  --flame: #911D18;        /* vermelho da chama / correção */
  --ivory: #F1EDE8;        /* marfim */
  --ivory-2: #FAF8F5;
  --silver: #CCCCCC;       /* prata das ilustrações claras */
  --silver-2: #B3B3B2;
  --black: #1D1D1B;        /* preto da identidade */
  --black-2: #0D0C0D;

  --text-dark: #2E2624;
  --muted-light: rgba(241, 237, 232, .72);
  --muted-dark: #6B5E5A;
  --line-light: rgba(241, 237, 232, .22);
  --line-dark: rgba(29, 29, 27, .16);
  --error: #F2A09A;

  --f-display: "Billie Eilish", "Cormorant Garamond", "Bodoni Moda", Georgia, serif;
  --f-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-script: "Pinyon Script", "Snell Roundhand", cursive;

  --radius: 2px;
  --radius-lg: 4px;
  --gutter: 22px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--wine);
  color: var(--ivory);
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ivory); outline-offset: 2px; }
.section--paper :focus-visible, .panel :focus-visible, #dresscode :focus-visible { outline-color: var(--wine); }

/* ---------- Tipografia ---------- */
.display { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: .02em; line-height: 1; margin: 0; font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.eyebrow { margin: 0; font-size: 10px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; }
.eyebrow--muted { color: var(--muted-light); }
.eyebrow--muted-dark { color: var(--muted-dark); font-weight: 600; letter-spacing: .24em; }
.eyebrow--red { color: var(--wine); font-weight: 600; }
.eyebrow--rose { color: var(--ivory); font-weight: 600; opacity: .8; }
/* Subtítulos de seção (Os detalhes, Bom saber, Dress code, Inspirações, RSVP…): maiores e com mais contraste */
.section .wrap > .eyebrow,
.goodtoknow > .eyebrow,
.gallery__head > .eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .26em; opacity: 1; }
#detalhes .eyebrow--muted, #rsvp .eyebrow--rose { color: var(--ivory); }
#dresscode .wrap > .eyebrow, .gallery__head > .eyebrow { color: var(--wine); }
.rule + .eyebrow { font-size: 10px; font-weight: 500; letter-spacing: .32em; }
.h2 { font-size: 42px; line-height: 1; margin: 14px 0 0; }
.h3 { font-size: 32px; line-height: 1.05; margin: 6px 0 0; }
.body { margin: 22px 0 0; font-size: 15px; line-height: 1.75; }
.body + .body { margin-top: 14px; }
.body--light { color: var(--muted-light); }
.body { text-wrap: pretty; }
.body--small { font-size: 13px; line-height: 1.7; max-width: 34em; margin-inline: auto; }
/* Dress code: linhas equilibradas, sem palavra sozinha na última linha */
#dresscode .body { max-width: 31em; margin-inline: auto; padding-inline: 4px; text-wrap: balance; }
#dresscode .body--small { max-width: 33em; margin-top: 12px; }
.body em { font-style: italic; }
.center { text-align: center; }
.muted { color: var(--silver-2); }
.muted-dark { color: var(--muted-dark); }

/* Ornamento: brilho usado entre blocos */
.rule { display: block; width: 26px; height: 36px; margin: 28px auto 12px; background: url("assets/identidade/brilho-vinho.webp") center / contain no-repeat; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 640px; }
.wrap--form { max-width: 560px; }
.section { position: relative; padding: 72px 0; }
.section--paper { background: var(--ivory); color: var(--black); }
.section--paper .body { color: var(--text-dark); }
.section--line { padding: 80px 0; }
.section--blood { background: var(--wine); padding: 80px 0; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border-radius: var(--radius); border: 1px solid transparent;
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn--block { width: 100%; min-height: 56px; letter-spacing: .3em; }
.btn--sm { min-height: 36px; padding: 0 16px; font-size: 10px; letter-spacing: .24em; }
.btn--light { background: var(--ivory); color: var(--wine); }
.btn--light:hover { background: #fff; }
.btn--dark { background: var(--wine); color: var(--ivory); }
.btn--dark:hover { background: var(--blood); }
.btn--ghost { background: transparent; color: var(--ivory); border-color: rgba(241, 237, 232, .6); }
.btn--ghost:hover { border-color: var(--ivory); background: rgba(241, 237, 232, .08); }
.link-btn { background: none; border: 0; padding: 0; min-height: 44px; color: var(--wine); font-size: 12px; font-weight: 500; text-decoration: underline; cursor: pointer; }
.round-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); background: transparent; color: var(--wine); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.round-btn:hover { border-color: var(--wine); }
.round-btn:disabled { opacity: .3; cursor: default; }

/* =========================================================
   1. Tela de senha
   ========================================================= */
.gate {
  position: fixed; inset: 0; z-index: 10; overflow: auto;
  display: flex; justify-content: center;
  background: radial-gradient(120% 80% at 50% 30%, var(--wine) 0%, var(--wine-deep) 100%);
  transition: opacity .5s ease;
}
.gate.is-leaving { opacity: 0; pointer-events: none; }
.gate__bg, .gate__shade, .gate__logo, .gate__key { display: none; }
.gate__inner {
  position: relative; width: 100%; max-width: 420px; min-height: 100%;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: max(40px, env(safe-area-inset-top)) 30px max(28px, env(safe-area-inset-bottom));
}
/* brilhos nos cantos */
.gate__inner::before, .gate__inner::after {
  content: ""; position: absolute; width: 46px; height: 64px; opacity: .8;
  background: url("assets/identidade/brilho-claro.webp") center / contain no-repeat;
}
.gate__inner::before { top: 120px; left: 18px; }
.gate__inner::after { top: 200px; right: 40px; width: 34px; height: 48px; }
.gate__eyebrow { font-size: 9px; letter-spacing: .4em; color: var(--muted-light); }
.gate__title-wrap { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
/* chave ampliada ao fundo, inclinada e esmaecida (arte, não adesivo) */
.gate::before {
  content: ""; position: fixed; z-index: 0; pointer-events: none;
  width: 330px; height: 790px; top: -60px; left: 50%; transform: translateX(-38%) rotate(-14deg);
  background: url("assets/identidade/chave-clara.webp") center / contain no-repeat;
  opacity: .2; mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 85%);
          mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 85%);
}
.gate::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 40% at 50% 30%, rgba(255, 214, 170, .10), transparent 70%);
}
.gate__inner { z-index: 1; }
.gate__title-wrap { margin-top: 110px; }
.gate__title { margin: 4px 0 0; width: 270px; }
.gate__title img { width: 100%; }
.gate__form { margin-top: 30px; width: 100%; display: flex; flex-direction: column; gap: 12px; }
.gate__lead { margin: 0; font-size: 13px; color: var(--muted-light); }
.gate__label { margin-top: 8px; color: var(--muted-light); }
.gate__input {
  height: 54px; width: 100%; padding: 0 18px;
  background: rgba(29, 29, 27, .28); border: 1px solid rgba(241, 237, 232, .45); border-radius: var(--radius);
  text-align: center; font-size: 18px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--ivory);
}
.gate__input::placeholder { color: rgba(241, 237, 232, .35); }
.gate__input:focus { outline: none; border-color: var(--ivory); }
.gate__input[aria-invalid="true"] { border-color: var(--error); animation: shake .35s; }
.gate__error { margin: -2px 0 0; font-size: 12px; color: var(--error); }
.gate__foot { margin-top: auto; padding-top: 28px; color: var(--muted-light); letter-spacing: .28em; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* =========================================================
   2. Landing page
   ========================================================= */
.site { opacity: 0; transition: opacity .6s ease; }
.site.is-visible { opacity: 1; }

.topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  padding: max(18px, env(safe-area-inset-top)) 20px 0;
}
.topbar__logo { width: 88px; }

/* Hero: vinho com brilhos; conteúdo centralizado e menu no pé */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: center;
  min-height: 100vh; min-height: 100svh;
  padding: 104px 0 0;
  background: radial-gradient(120% 80% at 50% 20%, #7A1E1E 0%, var(--wine) 38%, var(--wine-deep) 100%);
}
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  background: url("assets/identidade/brilho-claro.webp") center / contain no-repeat; opacity: .7;
}
.hero::before { width: 40px; height: 56px; top: 120px; left: 22px; }
.hero::after { width: 28px; height: 40px; top: 470px; right: 34px; }
.hero__text { position: relative; z-index: 2; flex: 1; width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 20px; }
.hero__title { margin: auto 0 18px; width: 310px; max-width: 86vw; filter: drop-shadow(0 6px 24px rgba(30, 5, 5, .55)); }
.hero__title img { width: 100%; }
.hero__date { margin-top: 26px; display: flex; align-items: center; gap: 16px; }
.hero__rule { width: 40px; height: 1px; background: rgba(241, 237, 232, .45); }
.hero__date-num { font-family: "Cormorant Garamond", Georgia, serif; font-size: 34px; letter-spacing: .06em; line-height: 1; }
.hero__date + .eyebrow { margin-top: 10px; }

/* menu do banner: centralizado, colado na divisão com a próxima seção */
.chips { margin-top: auto; padding: 44px 0 24px; width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip { min-height: 40px; padding: 0 14px; display: inline-flex; align-items: center; border: 1px solid rgba(241, 237, 232, .35); border-radius: var(--radius); font-size: 12px; text-decoration: none; }
.chip:hover { border-color: var(--ivory); }
.chip--solid { background: var(--ivory); color: var(--wine); border-color: var(--ivory); font-weight: 600; }

/* O baile (marfim) */
#festa { overflow: hidden; }
#festa .wrap::before {
  content: ""; display: block; width: 118px; height: 150px; margin: 0 auto 18px;
  background: url("assets/identidade/frascos-vinho.webp") center / contain no-repeat;
}
#festa .h2 { color: var(--wine); }

/* Detalhes (preto) */
#detalhes { background: var(--black); }
#detalhes .wrap::before {
  content: ""; display: block; width: 44px; height: 86px; margin: 0 auto 18px;
  background: url("assets/identidade/tubo-claro.webp") center / contain no-repeat;
}
.details { margin-top: 30px; display: grid; gap: 12px; }
.card { display: flex; gap: 14px; align-items: flex-start; padding: 18px 18px; border: 1px solid var(--line-light); border-radius: var(--radius-lg); background: rgba(241, 237, 232, .03); }
.card__icon { flex: none; margin-top: 3px; color: var(--silver); }
.card__body { flex: 1; display: flex; flex-direction: column; }
.card__value { font-size: 26px; line-height: 1.05; margin-top: 4px; }
.card__note { margin: 4px 0 0; font-size: 13px; font-style: normal; line-height: 1.6; color: var(--muted-light); }
.card__actions { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.card__actions .btn { padding: 0 8px; font-size: 10px; letter-spacing: .08em; white-space: nowrap; }
.goodtoknow { margin-top: 26px; padding: 0 4px; display: grid; gap: 10px; font-size: 13px; color: var(--muted-light); }
.goodtoknow p { margin: 0; }

/* Dress code (marfim) */
#dresscode { background: var(--ivory); color: var(--black); overflow: hidden; }
#dresscode .body--light { color: var(--text-dark); }
#dresscode .eyebrow--muted { color: var(--wine); }
.dress-title { position: relative; margin-top: 40px; font-size: 46px; color: var(--black); }
.dress-title__fix::after { /* pena "corrigindo" o título */
  content: ""; position: absolute; width: 36px; height: 80px; right: -38px; bottom: -8px; transform: rotate(18deg);
  background: url("assets/identidade/pena-vinho.webp") center / contain no-repeat;
}
.dress-title__fix { position: relative; display: inline-flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.dress-title__fix s { text-decoration-color: var(--wine); text-decoration-thickness: 3px; }
.dress-title__scare { position: relative; top: -6px; font-family: var(--f-script); font-weight: 400; font-size: 52px; line-height: 1; letter-spacing: 0; text-transform: none; color: var(--wine); transform: rotate(-6deg); }
.dress-title__caret { display: none; }

.gallery { margin-top: 36px; }
.gallery__head { display: flex; align-items: center; justify-content: space-between; }
.gallery__count { font-family: "Cormorant Garamond", Georgia, serif; font-size: 20px; color: var(--wine); }
.gallery__count .muted { color: var(--muted-dark); }
.gallery__rail {
  list-style: none; margin: 16px 0 0; padding: 0 var(--gutter);
  display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.gallery__rail::-webkit-scrollbar { display: none; }
.gallery__rail::after { content: ""; flex: 0 0 10px; }
.gallery__item { position: relative; flex: 0 0 250px; height: 350px; scroll-snap-align: start; border-radius: 125px 125px var(--radius) var(--radius); overflow: hidden; background: #E4DED7; border: 1px solid rgba(102, 25, 25, .25); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery__n { position: absolute; left: 14px; bottom: 10px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 18px; color: var(--ivory); text-shadow: 0 1px 6px rgba(0,0,0,.7); }
.gallery__controls { margin-top: 18px; display: flex; align-items: center; gap: 16px; }
.gallery__bar { flex: 1; height: 1px; background: var(--line-dark); position: relative; }
.gallery__bar span { position: absolute; left: 0; top: -1px; height: 3px; width: 9%; background: var(--wine); transition: width .25s; }
.gallery__hint { margin: 14px 0 0; text-align: center; font-size: 12px; color: var(--muted-dark); }

/* RSVP (vinho) */
#rsvp { background: radial-gradient(110% 60% at 50% 0%, var(--wine) 0%, var(--wine-deep) 100%); }
#rsvp .wrap::before {
  content: ""; display: block; width: 96px; height: 124px; margin: 0 auto 16px;
  background: url("assets/identidade/balao-claro.webp") center / contain no-repeat;
}
.panel { margin-top: 32px; padding: 28px 22px; border-radius: var(--radius-lg); background: var(--ivory); color: var(--black); text-align: left; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 18px 40px rgba(20, 5, 5, .35); }
.panel__lead { margin: 0; font-size: 14px; color: var(--text-dark); }
.panel__hello { display: flex; flex-direction: column; gap: 4px; }
.panel__hello .h3 { color: var(--wine); }
.panel__who { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted-dark); }
.panel--done { align-items: center; text-align: center; padding: 40px 24px; }
.panel--done .h3 { color: var(--wine); }
.panel--done p { margin: 8px 0 0; font-size: 14px; color: var(--text-dark); }
.panel--done .btn { margin-top: 16px; }
.panel--done:focus { outline: none; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .choice legend, .plusone__q { font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--text-dark); }
.field .opt { font-weight: 400; color: var(--muted-dark); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 0 16px;
  border: 1px solid rgba(102, 25, 25, .3); border-radius: var(--radius); background: var(--ivory-2);
  font-size: 16px; /* 16px evita zoom automático no iOS */
  color: var(--black);
}
.field textarea { padding: 14px 16px; line-height: 1.5; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9A8E88; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--wine); outline-offset: 1px; border-color: var(--wine); }

.notice { padding: 14px 16px; border-radius: var(--radius); background: #F4E1DF; border: 1px solid #E0B3AE; display: flex; flex-direction: column; gap: 6px; font-size: 13px; line-height: 1.55; color: #4A1C1A; }
.notice strong, .notice a { color: var(--wine); }
.notice a { font-weight: 600; }

.datacard { padding: 16px; border-radius: var(--radius); background: var(--ivory-2); border: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 10px; }
.datacard__row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.datacard__row span { color: var(--muted-dark); }
.datacard__row strong { font-weight: 500; }
.datacard .link-btn { align-self: flex-start; }
.datacard__edit { display: grid; gap: 12px; }

/* Botões de escolha (radios estilizados) */
.choice { margin: 0; padding: 0; border: 0; display: grid; gap: 10px; }
.choice legend { padding: 0; margin-bottom: 10px; }
.choice--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice__opt { position: relative; cursor: pointer; }
.choice__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice__opt span { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 12px; border: 1px solid rgba(102, 25, 25, .3); border-radius: var(--radius); background: var(--ivory-2); font-size: 14px; font-weight: 500; transition: background .15s, color .15s; }
.choice__opt input:checked + span { background: var(--wine); color: var(--ivory); border-color: var(--wine); }
.choice__opt input:focus-visible + span { outline: 2px solid var(--wine); outline-offset: 2px; }

.plusone { margin: 0 0 18px; padding: 18px 16px; border: 1px solid var(--wine); border-radius: var(--radius); display: flex; flex-direction: column; gap: 10px; }
.plusone legend { padding: 0 6px; font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--wine); }
.plusone__q { margin: 0; font-weight: 400; }
#acompanhante-campos { display: grid; gap: 12px; margin-top: 6px; }
#bloco-sim { display: flex; flex-direction: column; gap: 18px; }

.form-error { margin: 0; font-size: 13px; color: var(--flame); }
.btn[aria-busy="true"] { opacity: .6; pointer-events: none; }

/* Selo de cera */
.seal { width: 92px; height: 92px; border-radius: 50%; background: var(--wine); box-shadow: inset 0 0 0 5px var(--blood), inset 0 0 0 6px rgba(241,237,232,.4), 0 8px 18px rgba(63,14,14,.35); display: flex; align-items: center; justify-content: center; font-family: var(--f-display); font-size: 28px; color: var(--ivory); }

/* Rodapé (preto) */
.footer { background: var(--black); padding: 56px 24px max(40px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.footer::before {
  content: ""; width: 230px; height: 126px; margin-bottom: 10px;
  background: url("assets/identidade/logo-evento-branco.webp") center / contain no-repeat;
}
.footer__logo { width: 96px; opacity: .85; }
.footer__contact { margin: 10px 0 0; font-size: 13px; line-height: 1.7; color: var(--muted-light); }
.footer__contact a { color: var(--ivory); }

/* =========================================================
   Tablet
   ========================================================= */
@media (min-width: 768px) {
  :root { --gutter: 40px; }
  .h2 { font-size: 54px; }
  /* data e horário empilhados à esquerda, local ocupando a altura dos dois à direita */
  .details { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .card--wide { grid-column: 2; grid-row: 1 / span 2; }
  .goodtoknow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
  .goodtoknow .eyebrow { grid-column: 1 / -1; }
  .gallery__item { flex-basis: 280px; height: 390px; border-radius: 140px 140px var(--radius) var(--radius); }
  .gate__title { width: 320px; }
}

/* =========================================================
   Desktop: hero em duas colunas (logo + ilustração)
   ========================================================= */
@media (min-width: 960px) {
  body { font-size: 16px; }
  .topbar { padding: 28px 48px 0; }
  .topbar__logo { width: 110px; }

  .hero {
    min-height: 100vh; padding: 120px 48px 0;
    background: radial-gradient(90% 90% at 50% 20%, #7A1E1E 0%, var(--wine) 40%, var(--wine-deep) 100%);
  }
  .hero::before { width: 70px; height: 98px; top: 22%; left: 16%; }
  .hero::after { width: 46px; height: 64px; top: 30%; right: 18%; }
  .hero__title { width: min(480px, 40vw); }
  .chips { gap: 10px; padding-bottom: 32px; }

  .section { padding: 104px 0; }
  .section--line, .section--blood { padding: 112px 0; }
  .h2 { font-size: 64px; }
  .details { max-width: 860px; margin-inline: auto; }
  .goodtoknow { max-width: 860px; margin-inline: auto; }
  .card--wide .card__actions { max-width: 380px; }

  .dress-title { font-size: 72px; }
  .dress-title__fix::after { width: 54px; height: 120px; right: -64px; bottom: -14px; }
  .dress-title__scare { font-size: 76px; top: -10px; }
  #dresscode .body { max-width: 40em; }
  #dresscode .body--small { max-width: 46em; }
  .gallery__rail { padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); gap: 16px; }
  .gallery__item { flex-basis: 300px; height: 420px; border-radius: 150px 150px var(--radius) var(--radius); }
  .gallery__item img { transition: transform .5s ease; }
  .gallery__item:hover img { transform: scale(1.03); }

  .panel { padding: 36px 32px; }
}
