:root {
  color-scheme: dark;
  --ink: #0e1017;
  --panel: #151821;
  --ivory: #fff0d6;
  --muted: #d3cbbe;
  --red: #ff5439;
  --rule: #37353b;
  --title: Impact, 'Arial Narrow', 'Helvetica Neue', sans-serif;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--ink); color: var(--ivory); font: 1rem/1.6 system-ui, sans-serif; }
a { color: inherit; text-underline-offset: .23em; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
.skip { position: absolute; z-index: 2; padding: .5rem 1rem; background: var(--ivory); color: var(--ink); transform: translateY(-120%); }
.skip:focus { transform: none; }
.wrap { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.masthead { border-bottom: 1px solid var(--rule); }
.bar, .footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.bar { min-height: 78px; }
.brand { display: block; flex-shrink: 0; }
.brand img { display: block; width: 70px; height: auto; }
nav { display: flex; gap: clamp(.85rem, 3.2vw, 2.5rem); flex-wrap: wrap; }
nav a, .footer a { text-decoration: none; font-size: .92rem; font-weight: 650; }
nav a:hover, .footer a:hover { color: var(--red); }
.hero {
  background: linear-gradient(90deg, #0e1017 6%, #0e1017ec 30%, #0e101735 80%),
    linear-gradient(0deg, #0e1017, transparent 38%), url('ring.webp') right 42% / auto 117% no-repeat;
  border-bottom: 1px solid var(--rule);
}
.intro { padding-block: clamp(4.5rem, 9vw, 8rem); }
.eyebrow { color: var(--red); text-transform: uppercase; font-size: .875rem; letter-spacing: .14em; font-weight: 800; margin: 0 0 .9rem; }
h1, h2, h3 { margin: 0; line-height: 1.03; }
h1, h2 { font-family: var(--title); font-weight: 900; text-transform: uppercase; }
h1 { font-size: clamp(3.8rem, 10vw, 8.6rem); letter-spacing: -.025em; }
h1 em { color: var(--red); font-style: normal; }
.summary { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 32ch; margin: 1.65rem 0 1.85rem; }
.button { display: inline-block; background: var(--red); color: var(--ink); padding: .7rem 1.15rem; text-decoration: none; font-weight: 850; }
.button:hover { background: var(--ivory); }
.stories { padding-block: clamp(3rem, 7vw, 6rem); }
.section-title { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.75rem; }
.section-title span { flex: 1; height: 1px; background: var(--rule); }
h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: start; }
article { background: var(--panel); border: 1px solid var(--rule); border-top: 3px solid var(--red); padding: clamp(1.15rem, 2.5vw, 1.7rem); }
h3 { font-size: 1.6rem; }
article p:not(.eyebrow), .about p { color: var(--muted); }
summary { color: var(--ivory); cursor: pointer; font-weight: 750; }
summary::marker { color: var(--red); }
details[open] { border-top: 1px solid var(--rule); padding-top: .75rem; }
.about { background: var(--panel); border-block: 1px solid var(--rule); padding-block: 3.25rem; }
.about-grid { display: grid; grid-template-columns: auto minmax(0, 60ch); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about img { width: min(25vw, 230px); height: auto; }
#contacto { margin-top: 2rem; }
#contacto p { margin-bottom: .35rem; }
.mail { color: var(--ivory); font-weight: 700; overflow-wrap: anywhere; }
.footer { min-height: 76px; color: var(--muted); }
@media (max-width: 760px) {
  .grid { grid-template-columns: 1fr; }
  .hero { background-position: center, center, 61% center; background-size: cover; background-image: linear-gradient(90deg, #0e1017ed, #0e101762), linear-gradient(0deg, #0e1017, transparent 40%), url('ring.webp'); }
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 2rem); }
  nav { gap: .75rem; }
  nav a { font-size: .875rem; }
  .about-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .about img { width: 112px; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
.story-img { width: 100%; aspect-ratio: 3/2; object-fit: cover; margin-bottom: 1rem; }
.gallery { display: grid; gap: .75rem; margin-block: 1rem; }
.gallery img { width: 100%; height: auto; }
.panel { max-width: 760px; padding-block: 2rem 5rem; }
.panel h1 { font-size: clamp(2.5rem, 8vw, 4rem); margin-block: 1.25rem; }
.panel h2 { font-size: 2rem; }
.panel .button { border: 0; cursor: pointer; font: inherit; font-weight: 850; }
.panel .secondary { background: var(--ivory); }
.panel-list { padding: 0; list-style: none; }
.panel-list li { padding: .8rem 0; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 1rem; }
.panel form { display: grid; gap: 1rem; }
.panel label { display: grid; gap: .35rem; font-weight: 700; }
.panel input:not([type=checkbox]), .panel textarea { width: 100%; border: 1px solid #736d72; color: var(--ivory); background: var(--panel); padding: .7rem; font: inherit; }
.panel textarea { resize: vertical; }
.panel .check { display: flex; align-items: center; gap: .5rem; font-weight: 500; }
.panel .actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.panel .notice { border-left: 3px solid var(--red); padding: .75rem 1rem; background: var(--panel); }
.panel .existing { display: flex; flex-wrap: wrap; gap: .75rem; }
.panel .existing img { width: 100px; height: 75px; object-fit: cover; }
