/* The page of the reunion for 50 years of Argonauti (argo.in/50): its own look, apart from the rest of the site. */

@font-face {
  font-family: 'Titillium';
  src: url(/fonts/titillium-400.woff) format('woff');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Titillium';
  src: url(/fonts/titillium-800.woff) format('woff');
  font-weight: 800;
  font-display: swap;
}

:root {
  --night: #02234e;
  --night-2: #0a2e5f;
  --night-3: #1c4982;
  --text: #eef3fa;
  --muted: #c7d4e8;
  --faint: #9fb3d1;
  --fire: #ffc625;
  --yellow: #ffc625;
  --sky: #69b3e6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: 'Titillium', Calibri, 'Segoe UI', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

a { color: var(--yellow); }
a:hover { color: #ffd84d; }

h1, h2, h3 { font-weight: 800; line-height: 1.05; margin: 0; }
h2 { font-size: clamp(34px, 5vw, 44px); margin-bottom: 32px; }
h3 { font-size: 26px; color: var(--yellow); }
p { margin: 0 0 12px; }

.sraz-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.sraz-preview {
  margin: 0;
  padding: 10px 24px;
  background: var(--yellow);
  color: var(--night);
  font-weight: 800;
  text-align: center;
}

/* Opening */
.sraz-hero { padding: 24px 0 64px; }
.sraz-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.sraz-home { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 800; }
.sraz-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.sraz-nav a { color: var(--text); text-decoration: none; font-weight: 800; }
.sraz-nav a:hover { color: var(--yellow); }

.sraz-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sraz-artwork { display: block; box-sizing: border-box; max-width: 1120px; margin: 40px auto 36px; padding: 0 24px; }
.sraz-artwork img { display: block; width: 100%; height: auto; }
@media (min-width: 700px) { .sraz-artwork img { border-radius: 12px; } }
.sraz-hero-text .sraz-facts { margin-bottom: 32px; }
.sraz-actions { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 699px) {
  .sraz-artwork { margin: 20px 0 28px; padding: 0; }
}

.sraz-lead { font-size: 21px; color: var(--muted); }

.sraz-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--night);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.sraz-button:hover { background: #ffd84d; color: var(--night); }
.sraz-button-ghost { background: transparent; border: 2px solid var(--muted); color: var(--text); }
.sraz-button-ghost:hover { background: rgba(255, 255, 255, .08); color: var(--text); }
.sraz-button-danger { background: #ffb0a6; }

.sraz-facts { margin: 0; display: flex; flex-wrap: wrap; gap: 12px 40px; }
.sraz-facts dt { font-size: 14px; color: var(--sky); text-transform: uppercase; letter-spacing: .1em; }
.sraz-facts dd { margin: 0; font-size: 24px; font-weight: 800; }

/* Sections */
.sraz-section { padding: 88px 0; }
.sraz-alt { background: var(--night-2); }
.sraz-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: start; }

.sraz-days { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.sraz-days article { background: var(--night-2); border-radius: 16px; padding: 28px; }
/* Sections alternate their background, so cards take the other shade to stay visible. */
.sraz-alt .sraz-days article, .sraz-alt .sraz-card { background: var(--night); }
.sraz-days p { color: var(--muted); margin-top: 12px; }

.sraz-list { padding-left: 20px; color: var(--muted); }
.sraz-helpers { margin-top: 24px; font-weight: 800; }
.sraz-days-wide { grid-column: 1 / -1; }
.sraz-days + .sraz-lead { margin-top: 28px; }
.sraz-days-wide .sraz-list { margin: 12px 0 0; }
.sraz-list li { margin-bottom: 8px; }
.sraz-list strong { color: var(--text); }

/* The place */
.sraz-map { height: 360px; border-radius: 16px; overflow: hidden; background: var(--night-3); }
.sraz-place-photos { margin-top: 40px; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.sraz-place-photos a { display: block; border-radius: 16px; overflow: hidden; cursor: zoom-in; }
.sraz-place-photos img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.sraz-place-photos a:hover img { transform: scale(1.03); }
.sraz-place-photos a:first-child { grid-row: span 2; }
@media (max-width: 720px) {
  .sraz-place-photos { grid-template-columns: 1fr; }
  .sraz-place-photos a:first-child { grid-row: auto; }
}

/* 50 years in pictures */
.sraz-decades { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.sraz-decade h3 { margin-bottom: 12px; }
.sraz-decade-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sraz-decade-photos a { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--night-3); }
.sraz-decade-photos img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.sraz-decade-photos a:hover img { transform: scale(1.05); }
.sraz-more { margin-top: 32px; font-weight: 800; }

/* Clubhouses over the years */
.sraz-timeline { margin: 40px 0 8px; }
.sraz-timeline-bar { display: flex; height: 44px; border-radius: 999px; background: var(--night-3); overflow: hidden; }
.sraz-timeline-part {
  /* Grows with its years, but a short stay still has room for its number. */
  flex-basis: 0;
  flex-shrink: 1;
  min-width: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--night);
  font-weight: 800;
  border-right: 3px solid var(--night-2);
}
.sraz-timeline-part:last-child { border-right: 0; }
.sraz-timeline-years { display: flex; margin-top: 8px; color: var(--faint); font-size: 15px; }
/* Each year sits under the left edge of its part, in a row built like the bar so the edges line up. */
.sraz-timeline-years span { flex-basis: 0; flex-shrink: 1; min-width: 38px; display: flex; justify-content: space-between; padding-left: 2px; }
.sraz-timeline-years b { font-weight: 400; }
.sraz-timeline-1 { background: var(--yellow); }
.sraz-timeline-2 { background: #ffe58a; }
.sraz-timeline-3 { background: var(--sky); }
.sraz-timeline-4 { background: #b9c9e0; }
.sraz-timeline-5 { background: #ffffff; }

.sraz-clubhouses { margin: 32px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.sraz-clubhouses li { display: flex; gap: 16px; align-items: flex-start; }
.sraz-clubhouses h3 { color: var(--text); font-size: 22px; margin: 2px 0 6px; }
.sraz-clubhouses p { color: var(--muted); margin: 0; }
.sraz-clubhouses .sraz-clubhouse-years { color: var(--yellow); font-weight: 800; }
.sraz-timeline-dot {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--night);
  font-weight: 800;
}

/* Who is coming */
.sraz-card { background: var(--night-2); border-radius: 16px; padding: 24px; margin-top: 24px; }
.sraz-count { font-size: 22px; font-weight: 800; }
.sraz-chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.sraz-chips li { padding: 6px 14px; border-radius: 999px; background: var(--night-3); }

/* Form */
.sraz-news { gap: 16px; }
.sraz-status { background: var(--yellow); color: var(--night); padding: 14px 18px; border-radius: 12px; font-weight: 800; }
.sraz-form { background: var(--text); color: var(--night); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.sraz-form a { color: var(--night-3); }
.sraz-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.sraz-field { display: flex; flex-direction: column; gap: 6px; }
.sraz-field label, .sraz-choice legend { font-weight: 800; }
.sraz-field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sraz-field-pair > div { display: flex; flex-direction: column; gap: 6px; }
.sraz-field-pair .sraz-error, .sraz-field-pair .sraz-hint { grid-column: 1 / -1; }

.sraz-form input[type="text"], .sraz-form input[type="email"], .sraz-form input[type="tel"],
.sraz-form input[type="number"], .sraz-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #7d8fa9;
  border-radius: 8px;
  padding: 8px 12px;
  font: inherit;
  color: var(--night);
  background: #ffffff;
}
.sraz-form input:focus, .sraz-form textarea:focus { outline: 3px solid var(--fire); outline-offset: 1px; }

.sraz-choice { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 8px; }
.sraz-choice legend { padding: 0 0 6px; }
.sraz-choice label, .sraz-check { display: flex; gap: 10px; align-items: center; min-height: 32px; }
.sraz-choice input, .sraz-check input { width: 20px; height: 20px; accent-color: var(--night-3); }
.sraz-choice[disabled] { opacity: .45; }

.sraz-hint { margin: 0; font-size: 15px; color: #44546c; }
.sraz-error { margin: 0; color: #b3261e; font-weight: 800; font-size: 15px; }
.sraz-price { margin: 0; font-size: 20px; font-weight: 800; }
.sraz-price-box { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 12px; background: #dfe8f5; }
.sraz-req { color: #b3261e; }
.sraz-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.sraz-cancel { margin-top: 24px; }
.sraz-cancel summary { cursor: pointer; color: var(--muted); }
.sraz-cancel form { margin-top: 12px; }

.sraz-footer { background: #081a33; padding: 40px 0; color: var(--faint); }
.sraz-footer .sraz-wrap { display: flex; justify-content: flex-end; gap: 24px; flex-wrap: wrap; }

@media (max-width: 560px) {
  .sraz-section { padding: 64px 0; }
  .sraz-form { padding: 20px; }
}
