/* Hallmark · v2.0.0 · theme: custom · idea: una conserva como pieza de museo · vibe: western sobrio, negro y latón · hero: producto junto a invitación · signature: fotografía real en claroscuro · posture: restrained · axes: dark/decorative-serif/warm · surface: absolute · copy: verbatim */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R5 V4 · weakest: H, se contiene la foto móvil para acercar el formulario. */
/* Hallmark · waive 7b · surface: absolute · West Gourmet exige negro puro para fundir las fotografías. */
/* Dirección del cliente: dos archivos de estilo y lógica, titular contenido y pie con punto medio literal. */
:root {
  color-scheme: dark;
  --black: #000;
  --ink: #f1e9dc;
  --muted: #c8bfb0;
  --brass: #c5a46c;
  --brass-light: #ddc18e;
  --rule: #393228;
  --control-edge: #82715a;
  --error: #ffb3a8;
  --clear: transparent;
  --font-display: "Sancreek", Georgia, serif;
  --font-body: "Bitter", Georgia, serif;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
}
@font-face { font-family: "Sancreek"; src: url("assets/sancreek.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Bitter"; src: url("assets/bitter.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }
* { box-sizing: border-box; }
html { overflow-x: clip; background: var(--black); }
body { margin: 0; overflow-x: clip; background: var(--black); color: var(--ink); font: 400 16px/1.55 var(--font-body); font-synthesis: none; }
::selection { background: var(--brass); color: var(--black); }
a { color: var(--muted); text-underline-offset: 4px; }
a:hover { color: var(--brass-light); }
:focus-visible { outline: 2px solid var(--brass-light); outline-offset: 4px; }
[hidden] { display: none !important; }
.masthead { max-width: 1160px; margin: auto; padding: var(--space-2) var(--space-5) 0; }
.logo { display: block; width: 76px; height: 76px; object-fit: contain; margin: auto; }
.experience { width: 100%; max-width: 1160px; padding: 0 var(--space-5); margin: auto; }
.product { width: 260px; max-width: 100%; aspect-ratio: 1; margin: 0 auto; -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent); mask-image: radial-gradient(closest-side, #000 72%, transparent); }
.product img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.invitation { min-width: 0; max-width: 440px; margin: auto; }
h1 { font: 400 clamp(25px, 6.4vw, 32px)/1.24 var(--font-display); color: var(--ink); margin: 0; min-width: 0; overflow-wrap: break-word; text-wrap: balance; }
.preparation { margin-top: var(--space-4); }
.loading-track { height: 2px; background: var(--rule); overflow: clip; }
.loading-fill { display: block; width: 100%; height: 100%; background: var(--brass); transform: scaleX(.94); transform-origin: left; }
.is-animated .loading-fill { animation: approach 45s cubic-bezier(.15,.65,.25,1) both, breathe 4s 45s ease-in-out infinite; }
.loading-caption { display: flex; align-items: center; justify-content: space-between; min-height: 30px; color: var(--muted); font-size: 12px; }
#loading-phrase { transition: opacity 180ms; }
.phrase-out { opacity: 0; }
.motion-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; margin-block: calc(-2 * var(--space-1)); border: 0; background: var(--clear); color: var(--brass); cursor: pointer; }
.motion-toggle svg { fill: none; stroke: currentColor; stroke-width: 1.5; }
.play-symbol { display: none; }
.is-paused .loading-fill { animation-play-state: paused; }
.is-paused .pause-symbol { display: none; }
.is-paused .play-symbol { display: block; }
.intro { margin: var(--space-3) 0 var(--space-4); color: var(--muted); line-height: 1.5; text-wrap: pretty; }
.email-label { display: block; font-size: 14px; margin-bottom: var(--space-2); }
input, button { font: inherit; }
input[type="email"] { width: 100%; min-height: 48px; border: 1px solid var(--control-edge); border-radius: 0; padding: var(--space-3); background: var(--black); color: var(--ink); caret-color: var(--brass-light); }
input::placeholder { color: var(--muted); opacity: 1; }
input:hover { border-color: var(--brass); }
input[aria-invalid="true"] { border-color: var(--error); }
.consent { display: flex; align-items: flex-start; gap: var(--space-3); margin-top: var(--space-3); padding-block: var(--space-1); font-size: 12px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.consent input { appearance: none; flex: 0 0 20px; width: 20px; height: 20px; margin: 0; border: 1px solid var(--control-edge); border-radius: 0; background: var(--black); display: grid; place-content: center; cursor: pointer; }
.consent input:checked { border-color: var(--brass); background: var(--brass); }
.consent input:checked::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--black); border-bottom: 2px solid var(--black); transform: translateY(-1px) rotate(-45deg); }
.field-error { margin: 0; color: var(--error); font-size: 13px; }
.field-error:not(:empty) { margin-top: var(--space-2); }
.email-hint { margin: var(--space-2) 0 0; color: var(--ink); font-size: 14px; line-height: 1.5; }
.email-hint button { padding: 0; border: 0; background: none; color: var(--brass-light); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; overflow-wrap: anywhere; min-height: 24px; }
.submit { width: 100%; min-height: 48px; margin-top: var(--space-4); padding: var(--space-3) var(--space-4); border: 1px solid var(--brass); border-radius: 0; color: var(--black); background: var(--brass); font-weight: 600; cursor: pointer; transition: transform 120ms; }
.submit:hover { background: var(--brass-light); border-color: var(--brass-light); }
.submit:active { transform: translateY(1px); }
.submit:disabled { background: var(--rule); color: var(--muted); border-color: var(--control-edge); cursor: progress; }
.form-status { margin: 0; color: var(--error); font-size: 14px; }
.form-status:not(:empty) { margin-top: var(--space-3); }
.form-status.success { color: var(--ink); font-size: 18px; border-block: 1px solid var(--rule); padding-block: var(--space-5); }
.privacy { color: var(--muted); font-size: 13px; }
.privacy summary { min-height: 44px; padding-block: var(--space-3); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.privacy summary:hover { color: var(--brass-light); }
.privacy:target { outline: 1px solid var(--rule); outline-offset: 4px; }
.privacy dl { margin: var(--space-2) 0 var(--space-4); font-size: 14px; line-height: 1.6; }
.privacy dt { color: var(--ink); font-weight: 600; margin-top: var(--space-3); }
.privacy dd { margin: 0; overflow-wrap: anywhere; }
.pendiente { color: var(--brass-light); }
.instagram { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; font-size: 13px; }
.instagram svg { fill: none; stroke: currentColor; stroke-width: 1.5; }
.instagram-dot { fill: currentColor; stroke: none; }
footer { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-5) auto 0; padding: var(--space-3) var(--space-5); border-top: 1px solid var(--rule); max-width: 1112px; color: var(--muted); font-size: 12px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@keyframes approach { from { transform: scaleX(.12); } to { transform: scaleX(.94); } }
@keyframes breathe { 50% { opacity: .55; } }
@media (min-width: 760px) {
  .masthead { padding-top: var(--space-5); }
  .logo { width: 92px; height: 92px; margin: 0; }
  .experience { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-7); align-items: center; min-height: 590px; }
  .product { width: 100%; }
  .invitation { width: 100%; padding-block: var(--space-5); }
  h1 { font-size: clamp(28px, 2.7vw, 36px); }
  .preparation { margin-top: var(--space-5); }
  .intro { margin-top: var(--space-4); margin-bottom: var(--space-5); }
  .consent { font-size: 13px; }
  footer { justify-content: flex-end; margin-top: var(--space-4); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .loading-fill { transform: scaleX(.94); }
  .motion-toggle { display: none; }
}
@media (forced-colors: active) {
  .consent input { appearance: auto; }
  .consent input:checked::after { display: none; }
}
