/* ------------------------------------------------------------------
   Iwas Gutom Society — landing page
   Bold black-on-white, heavy condensed wordmark echoing the flyer.
------------------------------------------------------------------ */
:root {
  --ink: #0a0a0a;
  --paper: #ffffff;      /* pure white, barebones */
  --paper-pure: #ffffff;
  --accent: #3366ff;     /* lighter blue accent for CTAs */
  --accent-soft: #6f9dff;/* lighter blue, for use on dark surfaces */
  --accent-ink: #ffffff;
  --rule: #0a0a0a;
  --display: "Impact", "Haettenschweiler", "Anton", "Franklin Gothic Bold", "Arial Narrow Bold", sans-serif;
  --maxw: 1180px;
  --gut: clamp(1.25rem, 5vw, 4rem);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1rem, 0.95rem + 0.4vw, 1.2rem);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; }

em { font-style: italic; }

.visually-hidden,
.skip-link {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 1rem; left: 1rem;
  width: auto; height: auto; clip: auto;
  background: var(--ink); color: var(--paper);
  padding: .6rem 1rem; z-index: 100; border-radius: 2px;
}

/* ---------------- Wordmark (the flyer DNA) ---------------- */
.wordmark {
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  text-transform: uppercase;
  margin: 0;
  line-height: 0.92;                 /* match the logo's line stacking */
  letter-spacing: 0.005em;
  /* transform: skewX(-12deg); */    /* using real italic instead of skew */
  transform-origin: left;
}
.wordmark span {
  display: block;
  font-size: clamp(3.6rem, 19vw, 13rem);
}

/* ---------------- Hero ---------------- */
.hero {
  border-bottom: 3px solid var(--rule);
  padding: clamp(2.5rem, 8vh, 6rem) 0 0;
  background: var(--paper);
}
.hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
}
.wordmark { padding-left: .04em; }

.wordmark span { animation: rise-flat .7s cubic-bezier(.2,.8,.2,1) both; }
.wordmark span:nth-child(1) { animation-delay: .04s; }
.wordmark span:nth-child(2) { animation-delay: .12s; }
.wordmark span:nth-child(3) { animation-delay: .20s; }

.hero__tagline {
  font-size: clamp(1.15rem, 1rem + 1.4vw, 1.9rem);
  font-weight: 600;
  max-width: 22ch;
  margin: clamp(1.5rem, 4vh, 2.6rem) 0 0;
  line-height: 1.22;
  animation: rise .7s cubic-bezier(.2,.8,.2,1) .28s both;
}
.hero__tagline em { font-weight: 700; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin: clamp(1.5rem, 4vh, 2.4rem) 0 clamp(2.5rem, 7vh, 4rem);
  animation: rise .7s cubic-bezier(.2,.8,.2,1) .36s both;
}
.cta-row--center { justify-content: center; animation: none; }

/* ---------------- Buttons ---------------- */
.btn {
  --pad-y: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: var(--pad-y) 1.4rem;
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .02em;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  min-height: 48px;
}
.btn--lg { --pad-y: 1.15rem; font-size: 1.1rem; padding-left: 1.9rem; padding-right: 1.9rem; }
.btn__arrow { transition: transform .2s ease; }

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  box-shadow: 5px 5px 0 var(--ink);
}
.btn--primary:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); }
.btn--primary:hover .btn__arrow { transform: translateX(4px); }
.btn--primary:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }

.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }

.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------------- Hero marquee strip ---------------- */
.hero__marquee {
  margin: 0;
  border-top: 3px solid var(--rule);
  white-space: nowrap;
  overflow: hidden;
  color: var(--ink);
  padding: .55rem 0;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  width: 100vw;
}
.hero__marquee__track {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(.85rem, 2.6vw, 1.4rem);
  letter-spacing: .04em;
  animation: slide 67s linear infinite;  /* ~half the previous scroll speed */
  will-change: transform;
}

/* ---------------- Sections ---------------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 9vh, 6rem) var(--gut);
  border-bottom: 1px solid rgba(10,10,10,.18);
}
.section__label {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .95rem;
  margin: 0 0 1.4rem;
  color: var(--ink);
  opacity: .55;
}
.big-statement {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2rem, 1rem + 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 16ch;
}
.big-statement em { font-style: italic; color: var(--accent); }
.big-statement--center { margin: 0 auto; text-align: center; max-width: 18ch; }

.lede {
  font-size: clamp(1.1rem, 1rem + 0.7vw, 1.5rem);
  max-width: 46ch;
  margin: 1.6rem 0 0;
  line-height: 1.45;
  font-weight: 500;
}

/* ---------------- Info grid ---------------- */
.info__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.25rem;
}
.info__card {
  border: 3px solid var(--ink);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  background: var(--paper-pure);
  display: flex;
  flex-direction: column;
}
.info__card--accent { background: var(--ink); color: var(--paper); }
.info__card h3 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 1rem;
  margin: 0 0 1rem;
  opacity: .7;
}
.info__big {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 1rem + 4vw, 3rem);
  line-height: 0.95;
  margin: 0 0 1rem;
}
.info__sub { margin: 0; font-weight: 500; line-height: 1.4; }
.info__sub strong { color: var(--accent); }
.info__card--accent .info__sub strong { color: var(--accent-soft); }
.info__link { margin: auto 0 0; padding-top: 1.2rem; font-weight: 700; }
.info__link a { text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.info__link a:hover { color: var(--accent); }

/* ---------------- Timeline ---------------- */
.day__intro {
  font-size: clamp(1.05rem, 1rem + .5vw, 1.35rem);
  max-width: 46ch;
  margin: 1.4rem 0 0;
  font-weight: 500;
  line-height: 1.45;
}
.timeline {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid rgba(10,10,10,.2);
}
.timeline li {
  display: flex;
  gap: .5rem 1.25rem;
  align-items: baseline;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(10,10,10,.2);
}
.timeline__time {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(1.3rem, 1rem + 2vw, 2.2rem);
  line-height: 1;
  flex: 0 0 auto;
  min-width: 2.6em;
  white-space: nowrap;
  color: var(--accent);
}
.timeline__what {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 600;
  font-size: clamp(1.05rem, 1rem + .5vw, 1.4rem);
}
/* ---------------- Join ---------------- */
.join { border-bottom: none; text-align: center; }

/* ---------------- Footer ---------------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: clamp(3rem, 8vh, 5rem) var(--gut);
}
.footer__mark {
  font-family: var(--display);
  font-size: clamp(1.4rem, 7vw, 3.5rem);
  text-transform: uppercase;
  white-space: nowrap;
  margin: 0;
  letter-spacing: .01em;
  transform: skewX(-12deg);
}
.footer__handle { margin: .5rem 0 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.footer__handle a { text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.footer__handle a:hover { color: var(--accent); }
.footer__handle span { margin: 0 .6rem; opacity: .5; }
.footer__small { margin: 0; opacity: .55; font-size: .9rem; }

/* ---------------- Animations ---------------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px) skewX(-9deg); }
  to   { opacity: 1; transform: translateY(0) skewX(-9deg); }
}
.hero__tagline, .cta-row { animation-name: rise-flat; }
@keyframes rise-flat {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .wordmark span { opacity: 1; }
}

/* ---------------- Two-column section layout ---------------- */
.section__cols { display: grid; gap: clamp(1.8rem, 5vh, 2.8rem); }

@media (min-width: 900px) {
  .section__cols {
    grid-template-columns: 1fr minmax(360px, 440px);
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
  }
  .section__cols--top { align-items: start; }
  .section__cols--reverse { grid-template-columns: minmax(360px, 440px) 1fr; }
  .section__cols--reverse .col-text { order: 2; }
  .section__cols--reverse .bunch { order: 1; }
  .section__cols .bunch { margin-top: 0; margin-bottom: 0; justify-self: center; }
}

/* ---------------- Photo bunches ---------------- */
.bunch {
  position: relative;
  display: block;
  width: 100%;
  max-width: 440px;
  height: clamp(230px, 62vw, 330px);
  margin: clamp(2.2rem, 5vh, 3.2rem) 0 2.2rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.bunch--center { margin-left: auto; margin-right: auto; }

.bunch__card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52%;
  aspect-ratio: 3 / 4;
  background: #fff;
  padding: 5px;
  border: 1px solid rgba(10,10,10,.10);
  box-shadow: 0 12px 26px rgba(10,10,10,.22);
  transform: translate(-50%, -50%)
             translate(var(--tx), var(--ty))
             rotate(var(--r)) scale(var(--s));
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease;
}
.bunch__card img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* fan out + lift on hover/focus */
.bunch:hover .bunch__card,
.bunch:focus-visible .bunch__card {
  transform: translate(-50%, -50%)
             translate(calc(var(--tx) * 1.55), calc(var(--ty) * 1.55))
             rotate(var(--r)) scale(var(--s));
  box-shadow: 0 18px 34px rgba(10,10,10,.28);
}
.bunch:focus-visible { outline: 3px solid var(--accent); outline-offset: 8px; border-radius: 4px; }

.bunch__more {
  position: absolute;
  right: 4%;
  bottom: 8%;
  z-index: 10;
  font-family: var(--display);
  font-size: 1.2rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  padding: .25em .6em;
  box-shadow: 0 6px 14px rgba(10,10,10,.3);
}
.bunch::after {
  content: "Tap to view photos →";
  position: absolute;
  left: 0;
  bottom: -1.9rem;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(10,10,10,.5);
  white-space: nowrap;
  transition: color .2s ease;
}
.bunch--center::after { left: 50%; transform: translateX(-50%); }
.bunch:hover::after, .bunch:focus-visible::after { color: var(--accent); }

/* ---------------- Photo modal ---------------- */
.photo-modal { position: fixed; inset: 0; z-index: 1000; }
.photo-modal[hidden] { display: none; }
.photo-modal__backdrop {
  position: absolute; inset: 0;
  background: #0a0a0a;
  animation: modal-fade .25s ease both;
}
.photo-modal__close {
  position: fixed; top: 1rem; right: 1rem; z-index: 2;
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; line-height: 1;
  color: #fff; background: rgba(255,255,255,.08);
  border: 2px solid rgba(255,255,255,.7);
  border-radius: 999px; cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.photo-modal__close:hover { background: var(--accent); border-color: var(--accent); transform: rotate(90deg); }
.photo-modal__close:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.photo-modal__grid {
  position: relative;
  height: 100%;
  max-width: 1100px;
  margin: 0 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: clamp(4rem, 9vh, 5.5rem) clamp(1rem, 4vw, 2.5rem) 3rem;
  column-count: 2;
  column-gap: 14px;
  animation: modal-rise .3s cubic-bezier(.2,.8,.2,1) both;
}
@media (min-width: 860px) { .photo-modal__grid { column-count: 3; } }
.photo-modal__item { break-inside: avoid; margin: 0 0 14px; }
.photo-modal__item img {
  display: block; width: 100%; height: auto;
  border-radius: 2px; background: #1a1a1a;
}

@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
