/* =============================================
   TERRORFEST V — FRESH BUILD
   Gritty · Punk · Raw · Steadman · Rat Fink
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&family=Special+Elite&family=Rye&family=IM+Fell+English:ital@0;1&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --bg:       #000000;
  --surface:  #111009;
  --surface2: #1a1710;
  --gold:     #d4b040;
  --gold2:    #e8c84c;
  --parch:    #f0e4c0;
  --bone:     #d8c8a0;
  --aged:     #b09868;
  --green:    #4a7030;
  --slime:    #607838;
  --rust:     #703018;

  --f-display: 'Rye', serif;
  --f-hand:    'Permanent Marker', cursive;
  --f-body:    'Special Elite', serif;
  --f-italic:  'IM Fell English', serif;
}

body {
  background: var(--bg);
  color: #e8dbb8;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
}

a { color: var(--gold2); text-decoration: none; }
a:hover { color: var(--parch); }
em { font-style: italic; color: var(--bone); }
strong { color: var(--gold2); font-weight: normal; }
img { display: block; max-width: 100%; }

/* ── NAV ── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(0,0,0,0.96);
  border-bottom: 2px solid var(--gold);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: var(--f-hand);
  font-size: 20px;
  color: var(--gold);
  letter-spacing: 2px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--parch);
}

.nav-links a:hover { color: var(--gold2); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 24px;
  cursor: pointer;
}

/* ── HERO ── */
/* Hero background is pure #000000 — same as logo PNG background */
#hero {
  background: #000000;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 56px;
}

.hero-inner {
  text-align: center;
  padding: 40px 20px;
  width: 100%;
  max-width: 900px;
}

.hero-eyebrow {
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--bone);
  margin-bottom: 20px;
  opacity: 1;
}

/* THE LOGO — black bg PNG on black hero. They match. No box. */
.hero-logo {
  width: min(580px, 88vw);
  margin: 0 auto 20px;
}

.hero-sub {
  font-family: var(--f-italic);
  font-style: italic;
  font-size: clamp(14px, 2vw, 18px);
  color: var(--aged);
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.hero-date {
  font-family: var(--f-hand);
  font-size: clamp(16px, 2.5vw, 22px);
  color: var(--gold2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-sep { color: var(--slime); font-size: 12px; }

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn {
  font-family: var(--f-hand);
  font-size: 14px;
  letter-spacing: 1px;
  padding: 13px 28px;
  display: inline-block;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}

.btn-gold {
  background: var(--gold);
  color: #000;
  border: none;
  box-shadow: 4px 4px 0 rgba(0,0,0,.5);
}

.btn-gold:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 rgba(0,0,0,.5); color: #000; }

.btn-outline {
  background: transparent;
  color: #e8dbb8;
  border: 2px solid rgba(196,160,48,.4);
}

.btn-outline:hover { border-color: var(--gold2); color: var(--gold2); }

/* ── MARQUEE ── */
.marquee {
  background: var(--gold);
  overflow: hidden;
  padding: 10px 0;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
}

.marquee-inner {
  display: flex;
  white-space: nowrap;
  animation: scroll 30s linear infinite;
}

.marquee-inner span {
  font-family: var(--f-hand);
  font-size: 13px;
  color: #000;
  flex-shrink: 0;
  padding-right: 0;
}

@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SECTIONS ── */
.section { padding: clamp(60px,8vw,100px) 0; }
.section-dark { background: var(--surface); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 clamp(20px,5vw,60px); }
.narrow { max-width: 740px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px,6vw,80px);
  align-items: start;
}

/* ── TYPOGRAPHY ── */
.label {
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #7ab848;
  margin-bottom: 10px;
}

.label-center { text-align: center; }

h2 {
  font-family: var(--f-display);
  font-size: clamp(32px,5vw,60px);
  color: #e8dbb8;
  line-height: 1.05;
  margin-bottom: 18px;
}

h3 {
  font-family: var(--f-display);
  font-size: 18px;
  color: var(--gold2);
  margin-bottom: 8px;
}

.center { text-align: center; }

.underline {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 24px;
  transform: rotate(-1deg);
  opacity: .7;
}

.center-line { margin-left: auto; margin-right: auto; margin-bottom: 32px; }

.col-text p {
  font-family: var(--f-italic);
  font-size: 16px;
  line-height: 1.85;
  color: var(--bone);
  margin-bottom: 16px;
}

.stamp {
  font-size: 11px !important;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold) !important;
  opacity: .7;
}

.section-intro {
  font-family: var(--f-italic);
  font-style: italic;
  font-size: 17px;
  color: var(--aged);
  text-align: center;
  margin-bottom: 40px;
}

/* ── STAT CARDS ── */
.col-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 8px;
}

.stat-card {
  background: var(--surface2);
  border: 2px solid var(--gold);
  padding: 24px 16px;
  text-align: center;
  position: relative;
}

.stat-card:nth-child(1) { transform: rotate(-2deg); }
.stat-card:nth-child(2) { transform: rotate(1.5deg); }
.stat-card:nth-child(3) { transform: rotate(-1deg); }
.stat-card:nth-child(4) { transform: rotate(2deg); }

.stat-n {
  display: block;
  font-family: var(--f-hand);
  font-size: clamp(24px,3.5vw,36px);
  color: var(--gold2);
  margin-bottom: 4px;
}

.stat-l {
  font-family: var(--f-body);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--aged);
  opacity: .7;
}

/* ── LINEUP GRID ── */
.grid-6 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 3px;
}

.card {
  background: var(--surface2);
  border: 1px solid rgba(196,160,48,.12);
  padding: 28px 24px;
  transition: border-color .2s;
}

.card:hover { border-color: rgba(196,160,48,.35); }

.card-num {
  font-family: var(--f-hand);
  font-size: 44px;
  color: rgba(196,160,48,.1);
  line-height: 1;
  margin-bottom: 6px;
}

.card p {
  font-family: var(--f-italic);
  font-size: 15px;
  color: var(--bone);
  line-height: 1.7;
}

/* ── GUEST YEARS ── */
.guest-years {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 3px;
}

.guest-year {
  background: var(--surface2);
  border: 1px solid rgba(196,160,48,.12);
  padding: 28px 24px;
  position: relative;
}

.guest-year::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--slime), transparent);
  opacity: .5;
}

.year-label {
  font-family: var(--f-hand);
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 18px;
  transform: rotate(-1deg);
  display: inline-block;
}

.guest-list { display: flex; flex-direction: column; gap: 10px; }

.guest {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(196,160,48,.08);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.guest:last-child { border-bottom: none; padding-bottom: 0; }

.gname {
  font-family: var(--f-display);
  font-size: 15px;
  color: #e8dbb8;
}

.grole {
  font-family: var(--f-italic);
  font-style: italic;
  font-size: 13px;
  color: var(--bone);
}

.guest-year-mystery { border-style: dashed; opacity: .6; }
.mystery-guest .gname { font-size: 22px; color: var(--gold); letter-spacing: 10px; text-align: center; }
.mystery-guest .grole { text-align: center; }

/* ── TICKET ── */
.ticket {
  display: flex;
  border: 3px solid var(--gold);
  transform: rotate(-.5deg);
  box-shadow: 6px 6px 0 rgba(0,0,0,.5);
}

.ticket-stub {
  background: var(--surface2);
  padding: 24px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 70px;
  border-right: 3px dashed rgba(196,160,48,.4);
  flex-shrink: 0;
}

.ticket-stub:last-child { border-right: none; border-left: 3px dashed rgba(196,160,48,.4); }

.ticket-stub span {
  font-family: var(--f-hand);
  font-size: 11px;
  color: var(--gold);
  writing-mode: vertical-rl;
  letter-spacing: 3px;
  opacity: .7;
}

.ticket-body { flex: 1; padding: 36px 32px; }

.ticket-body h2 { margin-bottom: 10px; }

.ticket-body > p {
  font-family: var(--f-italic);
  font-style: italic;
  color: var(--bone);
  margin-bottom: 24px;
}

.attend-details { margin: 20px 0 28px; border-top: 1px solid rgba(196,160,48,.15); border-bottom: 1px solid rgba(196,160,48,.15); padding: 16px 0; }

.attend-row {
  display: flex;
  gap: 12px;
  padding: 6px 0;
  font-family: var(--f-italic);
  font-size: 16px;
  color: var(--parch);
}

/* ── VENDORS ── */
.vendor-details {
  border-left: 3px solid var(--gold);
  padding-left: 28px;
  opacity: .9;
}

.vrow {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(196,160,48,.1);
  font-family: var(--f-italic);
  font-size: 15px;
  color: var(--parch);
}

.vrow:last-child { border-bottom: none; }

.vlabel {
  font-family: var(--f-body);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .7;
  min-width: 80px;
  flex-shrink: 0;
}

/* ── VIDEO ── */
.video-block { margin-bottom: 48px; }

.video-wrap {
  max-width: 820px;
  margin: 16px auto 0;
  aspect-ratio: 16/9;
  background: #000;
  border: 2px solid rgba(196,160,48,.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-wrap iframe,
.video-wrap video {
  width: 100%;
  height: 100%;
  border: none;
}

.video-placeholder {
  text-align: center;
  opacity: .35;
}

.video-placeholder span { font-size: 48px; display: block; margin-bottom: 12px; }
.video-placeholder p { font-family: var(--f-display); font-size: 18px; color: var(--parch); }

/* ── PHOTO GRID ── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 4px;
}

.photo-cell {
  background: var(--surface2);
  border: 1px solid rgba(196,160,48,.08);
  aspect-ratio: 1;
  overflow: hidden;
  transition: border-color .2s;
}

.photo-cell:hover { border-color: rgba(196,160,48,.35); }

.photo-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}

.photo-cell:hover img { transform: scale(1.04); }

/* ── FORM ── */
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--f-body);
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .7;
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--surface2);
  border: 2px solid rgba(196,160,48,.25);
  color: #e8dbb8;
  padding: 11px 14px;
  font-family: var(--f-body);
  font-size: 14px;
  outline: none;
  border-radius: 0;
  appearance: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--gold); }

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c4a030' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.field select option { background: var(--surface2); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.checkbox-field label {
  display: flex;
  gap: 10px;
  align-items: center;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  color: var(--aged);
  opacity: 1;
  cursor: pointer;
}

/* ── FOOTER ── */
footer {
  background: #000;
  border-top: 2px solid rgba(196,160,48,.2);
  padding: 48px 0 36px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(20px,5vw,60px);
  text-align: center;
}

/* Footer logo — same black bg as footer = no box */
.footer-logo {
  width: clamp(140px,20vw,220px);
  margin: 0 auto 28px;
  opacity: .75;
  transition: opacity .2s;
}

.footer-logo:hover { opacity: 1; }

.footer-nav {
  display: flex;
  gap: clamp(12px,2.5vw,28px);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-nav a {
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bone);
  opacity: .75;
}

.footer-nav a:hover { opacity: 1; color: var(--gold2); }

.footer-copy {
  font-family: var(--f-body);
  font-size: 11px;
  color: var(--aged);
  opacity: .3;
}

.footer-copy a { color: var(--aged); }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
  .ticket { flex-direction: column; transform: none; }
  .ticket-stub { flex-direction: row; writing-mode: horizontal-tb; border-right: none; border-bottom: 2px dashed rgba(196,160,48,.4); }
  .ticket-stub:last-child { border-left: none; border-top: 2px dashed rgba(196,160,48,.4); border-bottom: none; }
  .ticket-stub span { writing-mode: horizontal-tb; }
  .ticket-body { padding: 28px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 56px; left: 0; right: 0;
    background: rgba(0,0,0,.98);
    border-bottom: 2px solid var(--gold);
    padding: 24px 32px;
    gap: 18px;
    z-index: 99;
  }
  .nav-toggle { display: block; }
  .col-stats { grid-template-columns: 1fr 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
}

/* ── TONGUE TORTURE CHALLENGE ── */
.ttc-section {
  margin-top: 48px;
}

.ttc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.ttc-item {
  background: var(--surface2);
  border: 1px solid rgba(196,160,48,.15);
  overflow: hidden;
}

.ttc-item video {
  width: 100%;
  display: block;
  background: #000;
}

.ttc-item p {
  font-family: var(--f-hand);
  font-size: 15px;
  color: var(--gold2);
  padding: 10px 14px;
  text-align: center;
}

.ttc-item small {
  font-family: var(--f-body);
  font-size: 10px;
  color: var(--aged);
  opacity: .6;
  letter-spacing: 1px;
}

.ttc-coming { opacity: .5; }

.ttc-placeholder {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--aged);
  opacity: .3;
  background: #000;
}



/* ── PHOTO GRID - make it 4 columns on desktop ── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

@media (max-width: 860px) {
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .ttc-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .ttc-grid { grid-template-columns: 1fr; }
}

/* ── PROMO CARD GRID ── */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  margin-bottom: 4px;
}

.promo-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(196,160,48,.15);
}

.promo-card img {
  width: 100%;
  display: block;
  transition: transform .3s;
}

.promo-card:hover img { transform: scale(1.03); }

.promo-text {
  padding: 14px 16px;
  background: var(--surface2);
}

.promo-text p {
  font-family: var(--f-italic);
  font-size: 14px;
  color: var(--bone);
  line-height: 1.6;
}

/* ── EXTRA EVENTS ── */
.extra-events {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 4px;
}

.extra-card {
  background: var(--surface2);
  border: 1px solid rgba(196,160,48,.12);
  padding: 24px 20px;
}

.extra-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.extra-card p {
  font-family: var(--f-italic);
  font-size: 14px;
  color: var(--bone);
  line-height: 1.6;
}

/* ── TTC GRID - 4 cols on desktop ── */
.ttc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

.ttc-item {
  background: var(--surface2);
  border: 1px solid rgba(196,160,48,.12);
  overflow: hidden;
}

.ttc-item iframe {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  border: none;
}

.ttc-placeholder {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--aged);
  opacity: .2;
  background: #000;
  cursor: default;
}

.ttc-item p {
  font-family: var(--f-hand);
  font-size: 13px;
  color: var(--gold2);
  padding: 8px 12px;
  text-align: center;
}

@media (max-width: 900px) {
  .promo-grid { grid-template-columns: 1fr 1fr; }
  .extra-events { grid-template-columns: 1fr; }
  .ttc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .promo-grid { grid-template-columns: 1fr; }
  .ttc-grid { grid-template-columns: 1fr 1fr; }
}

.inline-link {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--f-hand);
  font-size: 14px;
  color: var(--gold2);
  text-decoration: none;
  border-bottom: 1px solid rgba(232,200,76,.4);
  transition: color .2s, border-color .2s;
}

.inline-link:hover {
  color: var(--parch);
  border-color: var(--parch);
}

/* ── SCROLL TO TOP ── */
#scrollTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  background: var(--gold);
  color: #000;
  border: none;
  width: 44px;
  height: 44px;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  transition: opacity .3s, transform .2s;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  font-family: var(--f-hand);
}

#scrollTop.visible { opacity: 1; }
#scrollTop:hover { transform: translateY(-3px); }

/* ── SOCIAL LINKS ── */
.footer-social {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 16px;
}

.social-link {
  font-family: var(--f-hand);
  font-size: 15px;
  color: var(--gold2);
  letter-spacing: 1px;
  padding: 6px 16px;
  border: 1px solid rgba(232,200,76,.3);
  transition: border-color .2s, color .2s;
}

.social-link:hover {
  border-color: var(--gold2);
  color: var(--parch);
}

/* ── TTC iframe aspect ratio fix for Shorts ── */
.ttc-item iframe {
  width: 100%;
  aspect-ratio: 9/16;
  display: block;
  border: none;
}

/* Regular (non-Shorts) iframes stay 16:9 */
.video-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── COUNTDOWN ── */
.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,176,64,.3);
  padding: 14px 20px;
  min-width: 80px;
}

.cd-num {
  font-family: var(--f-hand);
  font-size: clamp(32px, 5vw, 52px);
  color: var(--gold2);
  line-height: 1;
  display: block;
}

.cd-label {
  font-family: var(--f-body);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--aged);
  margin-top: 6px;
  display: block;
}

.countdown-sep {
  font-family: var(--f-hand);
  font-size: 36px;
  color: var(--gold);
  opacity: .5;
  margin-bottom: 18px;
}

.countdown-done {
  font-family: var(--f-hand);
  font-size: 28px;
  color: var(--gold2);
  letter-spacing: 2px;
}

@media (max-width: 480px) {
  .countdown-unit { min-width: 60px; padding: 10px 12px; }
  .countdown-sep { font-size: 24px; }
}



/* ── COUNTDOWN FRAME ── */
.countdown-frame {
  display: inline-block;
  border: 1px solid rgba(212,176,64,.4);
  padding: 16px 28px 14px;
  margin: 20px auto 32px;
  position: relative;
  background: rgba(0,0,0,.3);
}

/* Corner ticks */
.countdown-frame::before,
.countdown-frame::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: var(--gold);
  border-style: solid;
  opacity: .6;
}
.countdown-frame::before { top: -2px; left: -2px; border-width: 2px 0 0 2px; }
.countdown-frame::after  { bottom: -2px; right: -2px; border-width: 0 2px 2px 0; }

.cd-label-top {
  font-family: var(--f-body);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--aged);
  text-align: center;
  margin-bottom: 12px;
  opacity: .7;
}

.cd-row {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 52px;
}

.cd-n {
  font-family: var(--f-hand);
  font-size: clamp(28px, 4vw, 42px);
  color: var(--gold2);
  line-height: 1;
  display: block;
}

.cd-l {
  font-family: var(--f-body);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--aged);
  opacity: .65;
}

.cd-colon {
  font-family: var(--f-hand);
  font-size: 28px;
  color: var(--gold);
  opacity: .4;
  margin-bottom: 14px;
  line-height: 1;
}

.cd-done {
  font-family: var(--f-hand);
  font-size: 18px;
  color: var(--gold2);
  letter-spacing: 2px;
  text-align: center;
}

/* ── STEP REPEAT as subtle guests section background ── */
#guests {
  position: relative;
}

#guests::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/step_repeat.jpg');
  background-size: 400px auto;
  background-repeat: repeat;
  opacity: .04;
  pointer-events: none;
}

@media (max-width: 480px) {
  .countdown-frame { padding: 12px 16px 10px; }
  .cd-row { gap: 6px; }
  .cd-unit { min-width: 40px; }
}

/* ── SPACING between memories sub-sections ── */
.photo-section-header {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(196,160,48,.12);
}
