/* Rollo Nº 01 — contemporary gothic: stone, light through tracery, pointed arches */
.gothic {
  --serif: "Cormorant Garamond", Georgia, serif;
  --black-letter: "UnifrakturMaguntia", var(--serif);
  --stone: #9a968e;
  background:
    repeating-linear-gradient(90deg, transparent 0 139px, rgba(245, 242, 236, 0.035) 139px 140px),
    var(--black);
  font-family: var(--serif);
  font-size: 20px;
}
.gothic .eyebrow { color: var(--stone); }

/* ---------- HERO ---------- */
.g-hero {
  position: relative;
  min-height: 100svh;
  display: grid; place-items: center;
  padding: 120px var(--gutter) 80px;
  overflow: hidden;
  text-align: center;
}
.g-hero__light {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 40% 60% at 50% 0%, rgba(245, 242, 236, 0.16), transparent 70%),
    linear-gradient(100deg, transparent 38%, rgba(245, 242, 236, 0.05) 46%, transparent 54%),
    linear-gradient(80deg, transparent 50%, rgba(245, 242, 236, 0.04) 57%, transparent 63%);
}
.g-hero__rose {
  position: absolute; top: 50%; left: 50%;
  width: min(118vmin, 980px); aspect-ratio: 1;
  translate: -50% -50%;
  color: rgba(245, 242, 236, 0.13);
  animation: spin 240s linear infinite;
}
.g-hero__rose svg { width: 100%; height: 100%; }
@keyframes spin { to { rotate: 360deg; } }
.g-hero__arch {
  position: absolute; left: 50%; bottom: 0; translate: -50% 0;
  width: min(86vw, 720px); height: 86%;
  fill: none; stroke: rgba(245, 242, 236, 0.22); stroke-width: 1;
}
.g-hero__content { position: relative; z-index: 2; max-width: 760px; }
.g-hero h1 {
  font-family: var(--black-letter);
  font-weight: 400;
  font-size: clamp(84px, 17vw, 220px);
  line-height: 0.9;
  text-shadow: 0 0 40px rgba(245, 242, 236, 0.18);
}
.g-hero__sub {
  margin: 6px 0 28px;
  font-family: var(--mono); font-size: clamp(13px, 1.6vw, 16px);
  letter-spacing: 0.6em; text-transform: uppercase; padding-left: 0.6em;
  color: var(--stone);
}
.g-hero__lead { font-size: clamp(21px, 2.4vw, 26px); font-style: italic; line-height: 1.4; margin: 0 auto 44px; max-width: 560px; }
.g-hero__down {
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  text-decoration: none; color: var(--stone);
}
.g-hero__down span { font-size: 18px; animation: descend 2s ease-in-out infinite; }
@keyframes descend { 50% { transform: translateY(8px); } }

/* ---------- INTRO ---------- */
.g-intro { display: grid; gap: 64px; padding-top: 40px; }
.g-intro__text { max-width: 760px; }
.g-intro__text p { margin: 0; font-size: clamp(22px, 2.5vw, 30px); line-height: 1.45; }
.g-intro__text p::first-letter {
  float: left;
  font-family: var(--black-letter);
  font-size: 4.2em; line-height: 0.8;
  padding: 8px 14px 0 0;
  color: var(--white);
}
.g-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-block: 1px solid var(--line-dark); }
.g-stats div { padding: 22px 0; text-align: center; }
.g-stats div + div { border-left: 1px solid var(--line-dark); }
.g-stats dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); }
.g-stats dd { margin: 6px 0 0; font-family: var(--black-letter); font-size: clamp(40px, 5vw, 60px); line-height: 1; }

/* ---------- REGISTRY ---------- */
.g-head { text-align: center; margin-bottom: 40px; }
.g-head h2 { font-family: var(--black-letter); font-weight: 400; font-size: clamp(56px, 9vw, 110px); }
.g-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 64px; }
.r-chip {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 9px 16px;
  background: transparent; color: var(--stone);
  border: 1px solid var(--line-dark);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.r-chip:hover { color: var(--white); border-color: var(--stone); }
.r-chip[aria-pressed="true"] { background: var(--white); color: var(--black); border-color: var(--white); }

.g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 64px 40px; }
.r-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0; border: 0; background: none; color: inherit; font: inherit;
  cursor: pointer;
}
.r-card:nth-child(3n + 2) { margin-top: 48px; }
.r-frame { position: relative; width: 100%; max-width: 340px; aspect-ratio: 100 / 130; }
.r-inner {
  position: absolute; inset: 0;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 130' preserveAspectRatio='none'%3E%3Cpath d='M1 130 V62 A85 85 0 0 1 50 1 A85 85 0 0 1 99 62 V130Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 130' preserveAspectRatio='none'%3E%3Cpath d='M1 130 V62 A85 85 0 0 1 50 1 A85 85 0 0 1 99 62 V130Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  background: var(--char);
  overflow: hidden;
}
.r-inner img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s, filter 0.6s; }
.r-inner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(245, 242, 236, 0.35), transparent 55%);
  opacity: 0; transition: opacity 0.6s;
}
.r-poster {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(90deg, transparent 0 23px, rgba(245, 242, 236, 0.05) 23px 24px),
    radial-gradient(ellipse at 50% 15%, #3a3834, var(--black) 75%);
}
.r-poster span { font-family: var(--black-letter); font-size: clamp(64px, 7vw, 96px); color: rgba(245, 242, 236, 0.5); transition: color 0.6s; }
.arch__line { position: absolute; inset: -10px; width: calc(100% + 20px); height: calc(100% + 10px); fill: none; stroke: rgba(245, 242, 236, 0.28); stroke-width: 1; transition: stroke 0.4s; }
.r-status {
  position: absolute; left: 50%; bottom: 18px; translate: -50% 0;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap;
  padding: 6px 10px;
  background: rgba(12, 12, 11, 0.75); color: var(--stone);
}
.r-status.is-live { color: var(--white); border-bottom: 1px solid var(--safelight); }
.r-card:hover .r-inner::after { opacity: 1; }
.r-card:hover .r-inner img { transform: scale(1.06); }
.r-card:hover .r-poster span { color: var(--white); }
.r-card:hover .arch__line { stroke: var(--white); }
.r-meta {
  display: flex; gap: 14px; justify-content: center;
  margin: 28px 0 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone);
}
.r-card h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.1; margin: 0 0 10px; }
.r-sum { margin: 0; font-size: 18px; color: var(--gray-3); max-width: 320px; }
.r-card:focus-visible { outline: 1px solid var(--white); outline-offset: 12px; }

/* ---------- CLOSE ---------- */
.g-close { text-align: center; border-top: 1px solid var(--line-dark); overflow: hidden; }
.g-close > div { position: relative; }
.g-close__rose { position: absolute; top: 50%; left: 50%; width: 420px; translate: -50% -50%; color: rgba(245, 242, 236, 0.07); animation: spin 180s linear infinite reverse; z-index: -1; }
.g-close h2 { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(34px, 5vw, 60px); line-height: 1.1; max-width: 760px; margin: 0 auto 16px; }
.g-close p { color: var(--gray-3); margin: 0 0 32px; }

/* ---------- MODAL ---------- */
.gothic { --accent: var(--white); --ri-tint: rgba(201, 165, 106, 0.5); /* stained-glass gold on the landing ground */ }
.gothic .suggest { text-align: center; }
.gothic .suggest h3 { font-family: var(--serif); font-weight: 500; }
.gothic .suggest__list a { font-family: var(--serif); font-weight: 500; text-transform: none; font-size: 24px; }
.g-modal .modal__body { text-align: center; }
.g-modal h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; margin-bottom: 14px; }
.g-modal .modal__body p:last-child { margin: 0 auto; max-width: 620px; color: var(--gray-3); }

@media (max-width: 700px) {
  .r-card:nth-child(3n + 2) { margin-top: 0; }
  .g-grid { gap: 56px; }
  .g-stats div { padding: 16px 4px; }
}
