/* Karel Fashion — production brand site */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/fonts/cormorant-garamond.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500 700;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/source-sans-3.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/source-sans-3-italic.woff2") format("woff2");
}

:root {
  --red: #7c1c2a;
  --red-dark: #5a121c;
  --rose: #c96b74;
  --rose-soft: #e8c4c4;
  --gold: #c4a05a;
  --gold-light: #e4d0a0;
  --black: #161210;
  --ink: #2a201c;
  --muted: #6b5850;
  --cream: #f7f1e8;
  --cream-dark: #efe4d4;
  --paper: #fbf7f1;
  --white: #fffdf9;
  --max: 68rem;
  --header-h: 3.75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:not([data-lang="es"]) .t[lang="es"] { display: none; }
html[data-lang="es"] .t[lang="en"] { display: none; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--red);
  color: var(--cream);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip:focus { top: 0.5rem; }

.staging {
  background: var(--black);
  color: var(--gold-light);
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 45%, var(--cream-dark));
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header-h);
}
.wordmark {
  text-decoration: none;
  color: var(--red);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.22em;
  line-height: 1;
}
.wordmark:hover { color: var(--red-dark); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lang {
  display: inline-flex;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--gold) 55%, var(--cream-dark));
  background: var(--white);
  border-radius: 999px;
  padding: 0.15rem;
}
.lang button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 600 0.75rem/1 "Source Sans 3", sans-serif;
  letter-spacing: 0.08em;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  min-width: 2.5rem;
  min-height: 2.25rem;
  cursor: pointer;
}
.lang button[aria-pressed="true"] {
  background: var(--red);
  color: var(--cream);
}
.lang button:focus-visible,
.btn:focus-visible,
.social a:focus-visible,
.wordmark:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  background: var(--red);
  color: var(--cream);
  font: 600 0.84rem/1 "Source Sans 3", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.8rem 1.15rem;
  min-height: 2.75rem;
  border-radius: 2px;
  border: 1px solid var(--red);
}
.btn:hover { background: var(--red-dark); color: var(--cream); border-color: var(--red-dark); }
.btn-ghost {
  background: transparent;
  color: var(--red);
  border-color: var(--gold);
}
.btn-ghost:hover { background: var(--red); color: var(--cream); border-color: var(--red); }
.btn-lg { padding: 0.95rem 1.5rem; font-size: 0.9rem; }

.hero { padding: 1.25rem 0 2.5rem; }
.hero-photo {
  margin: 0 -1rem 1.5rem;
  background: var(--black);
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 88vw;
  object-fit: cover;
  object-position: center 22%;
}
.hero-copy { text-align: center; }
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 0.6rem;
}
.hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.6rem, 12vw, 4.6rem);
  letter-spacing: 0.16em;
  color: var(--red);
  margin: 0;
  line-height: 0.95;
}
.brand-sub {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 4.5vw, 1.85rem);
  margin: 0.35rem 0 1rem;
  color: var(--ink);
}
.rule {
  width: 3.25rem;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 1rem;
}
.hero-tag {
  margin: 0 auto 1.5rem;
  max-width: 28rem;
  color: var(--muted);
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.story { padding: 0.5rem 0 3rem; }
.story-grid { display: grid; gap: 1.5rem; }
.story h2,
.gallery h2,
.cta-band h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  margin: 0 0 0.75rem;
  color: var(--red);
  letter-spacing: 0.02em;
}
.story p { margin: 0 0 1rem; color: var(--ink); max-width: 38rem; }
.place {
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.gallery { padding: 0 0 3rem; }
.gallery-intro { color: var(--muted); margin: 0 0 1.5rem; }
.grid {
  display: grid;
  gap: 1.15rem;
}
.card figcaption {
  margin-top: 0.55rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.card .frame {
  background: var(--cream-dark);
  overflow: hidden;
}
.card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.card.feature { grid-column: 1 / -1; }
.card.feature img { aspect-ratio: 1 / 1; }
.card.portrait img { aspect-ratio: 4 / 5; }
.card.cover-top img { object-position: center 28%; }

.cta-band {
  background: var(--black);
  color: var(--cream);
  text-align: center;
  padding: 2.75rem 1rem;
  margin-bottom: 0;
}
.cta-band h2 { color: var(--gold-light); margin-bottom: 0.5rem; }
.cta-band p { color: color-mix(in srgb, var(--cream) 80%, var(--gold)); margin: 0 auto 1.4rem; max-width: 28rem; }
.cta-band .btn { background: var(--gold); color: var(--black); border-color: var(--gold); }
.cta-band .btn:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--black); }

footer.site {
  padding: 2.25rem 0 2.5rem;
  border-top: 1px solid color-mix(in srgb, var(--gold) 40%, var(--cream-dark));
  text-align: center;
}
.social {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--gold) 50%, var(--cream-dark));
  border-radius: 50%;
  text-decoration: none;
}
.social a:hover { background: var(--red); color: var(--cream); border-color: var(--red); }
.social svg { width: 1.15rem; height: 1.15rem; fill: currentColor; }
.fine {
  margin: 0.25rem 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.fine a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

@media (min-width: 640px) {
  .wrap { width: min(100% - 3rem, var(--max)); }
  .hero-photo { margin: 0 0 2rem; }
  .hero-photo img { max-height: 72vh; }
  .grid { grid-template-columns: 1fr 1fr; }
  .card.feature { grid-column: 1 / -1; }
  .card.feature img { aspect-ratio: 4 / 3; object-position: center 28%; }
  .card.feature.portrait img { aspect-ratio: 4 / 5; }
}
@media (min-width: 900px) {
  .hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    padding: 2.5rem 0 4rem;
  }
  .hero-photo { margin: 0; }
  .hero-photo img { max-height: none; }
  .hero-copy { text-align: left; }
  .hero-copy .rule { margin-left: 0; }
  .hero-tag { margin-left: 0; }
  .story-grid { grid-template-columns: 0.8fr 1.2fr; gap: 3.5rem; align-items: start; }
  .grid { grid-template-columns: 1fr 1fr 1fr; gap: 1.35rem; }
  .card.feature { grid-column: 1 / -1; }
  .cta-band { padding: 3.5rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.social a { position: relative; }

@media (max-width: 430px) {
  .wordmark { letter-spacing: 0.14em; font-size: 1.15rem; }
  .nav-actions { gap: 0.4rem; }
  .nav-actions .btn { padding-inline: 0.7rem; letter-spacing: 0.04em; white-space: nowrap; }
}
.nav-actions .btn { white-space: nowrap; }

.gallery-block { margin-top: 2.4rem; }
.gallery-block h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.35rem, 3.5vw, 1.8rem);
  color: var(--red);
  margin: 0 0 1.1rem;
  letter-spacing: 0.03em;
}
@media (min-width: 900px) {
  .hero-photo img { max-height: none; }
}
