/* Team Rotation Scheduler — "round by round" fixture board. Pine, mist, action green, live coral. */

@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/unbounded-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/unbounded-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/dm-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/dm-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/dm-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  --pine: #10231f;
  --pine-2: #183a33;
  --night: #0b1a17;
  --mist: #eef3f1;
  --card: #ffffff;
  --sunk: #e0e9e5;
  --line: #cfdcd7;
  --ink: #10231f;
  --soft: #4a5e58;
  --green: #12866b;
  --green-dark: #0b5e4b;
  --green-tint: #d6edE5;
  --mint: #7fe0c2;
  --coral: #ff6a3d;
  --coral-dark: #c2410c;
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --text: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1140px;
  --r: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--mist); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-underline-offset: 3px; }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p, li, dd, dt, summary, a { overflow-wrap: anywhere; hyphens: auto; }
h1, h2, h3 { font-family: var(--display); line-height: 1.18; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(1.9rem, 5.2vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 3.4vw, 2.2rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.35rem); font-weight: 700; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--coral); color: var(--pine); padding: 8px 14px; border-radius: 8px; font-weight: 700; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.kicker { font-family: var(--text); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-dark); margin: 0 0 0.8em; }
.kicker.light { color: var(--mint); }
.lead { font-size: 1.15rem; color: var(--soft); }
.lead.light { color: #c9dbd5; }
.muted { color: var(--soft); font-size: 0.95rem; }
.text-link { font-weight: 700; color: var(--green-dark); }
.text-link.light { color: var(--mint); }

/* Round track motif */
.track { display: flex; align-items: center; gap: 0; margin: 4px 0 26px; max-width: 320px; }
.track span { flex: 0 0 auto; width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; color: #7e9c94; position: relative; margin-right: 22px; }
.track span::after { content: ""; position: absolute; left: 10px; top: 3px; width: 22px; height: 2px; background: #7e9c94; opacity: 0.6; }
.track span:last-child::after { display: none; }
.track span.on { background: var(--green); border-color: var(--green); }
.track span.on::after { background: var(--green); opacity: 1; }
.track span.now { background: var(--coral); border-color: var(--coral); width: 16px; height: 16px; }
.hero .track span.on { background: var(--mint); border-color: var(--mint); }
.hero .track span.on::after { background: var(--mint); }

/* Header */
.top { background: var(--pine); color: #fff; position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--pine-2); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1rem; min-height: 44px; }
.brand img { border-radius: 10px; background: var(--pine-2); }
.brand:hover { color: var(--mint); }
.nav { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: #e3f1ec; text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--pine-2); color: #fff; }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--coral); }

/* Hero */
.hero { background: var(--pine); color: #fff; padding: 56px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: end; }
.hero-copy { padding-bottom: 64px; }
.hero h1 span { display: block; }
.hero h1 .hot { color: var(--coral); }
.facts { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { padding: 6px 12px; border: 1.5px solid #2c4a43; border-radius: 10px; font-weight: 500; color: #e3f1ec; font-size: 0.95rem; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.hero-shots { position: relative; display: flex; justify-content: center; gap: 20px; align-items: flex-end; min-height: 100%; }
.shot { margin: 0; border-radius: 22px; overflow: hidden; border: 3px solid var(--pine-2); background: var(--card); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18); }
.hero .shot { border-bottom: 0; border-radius: 26px 26px 0 0; box-shadow: none; }
.shot-a { width: 46%; max-width: 270px; margin-bottom: 0; border-color: #2c4a43; }
.shot-b { width: 46%; max-width: 270px; transform: translateY(-48px); margin-bottom: -48px; border-color: var(--mint); }

/* Google Play button */
.play { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 20px 8px 16px; border-radius: 14px; background: var(--coral); color: var(--pine); text-decoration: none; font-weight: 700; }
.play:hover { background: #ff8257; color: var(--pine); }
.play-icon { width: 24px; height: 24px; }
.play-text { display: flex; flex-direction: column; line-height: 1.15; }
.play-small { font-size: 0.75rem; font-weight: 500; }
.play-big { font-family: var(--display); font-size: 1.05rem; }
.play-soon { background: transparent; color: #fff; border: 2px dashed var(--mint); cursor: default; }
.download .play-soon { color: var(--pine); border-color: var(--green); }

/* Rounds */
.rounds { padding: 88px 0 40px; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.round-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.round { display: grid; grid-template-columns: 120px 1fr 300px; gap: 36px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; position: relative; }
.round-flip { grid-template-columns: 120px 300px 1fr; }
.round-flip .round-shot { grid-column: 2; grid-row: 1; }
.round-flip .round-copy { grid-column: 3; }
.round-no { align-self: start; display: flex; flex-direction: column; align-items: flex-start; }
.round-no span { font-weight: 700; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral-dark); }
.round-no strong { font-family: var(--display); font-size: 3.4rem; line-height: 1; color: var(--pine); }
.round-shot { max-width: 300px; justify-self: center; box-shadow: none; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 14px; border-radius: 4px; background: var(--green); box-shadow: inset 0 0 0 3px var(--green-tint); }

/* Fixture board */
.fixture { padding: 56px 0 88px; }
.fixture-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.board { background: var(--pine); color: #fff; border-radius: var(--r); padding: 12px 18px 18px; font-variant-numeric: tabular-nums; }
.board-row { display: grid; grid-template-columns: 70px 1fr 1fr 1.2fr; gap: 10px; align-items: center; padding: 11px 0; border-top: 1px solid var(--pine-2); }
.board-head { border-top: 0; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mint); font-weight: 700; }
.board-time { font-family: var(--display); font-size: 0.95rem; color: #c9dbd5; }
.board-rest { color: #9fb8b0; font-size: 0.95rem; }
.bib { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 8px; vertical-align: -1px; border: 1.5px solid rgba(255, 255, 255, 0.5); }

/* More */
.more { padding: 0 0 88px; }
.more-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 36px; flex-wrap: wrap; }
.more-head h2 { max-width: 420px; }
.more-shots { display: flex; gap: 18px; }
.more-shot { width: 210px; }
.extra-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; border-top: 2px solid var(--pine); }
.extra-list div { padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line); }
.extra-list dt { font-family: var(--display); font-weight: 700; font-size: 1.02rem; margin-bottom: 6px; }
.extra-list dd { margin: 0; color: var(--soft); }

/* Private */
.private { background: var(--green-dark); color: #fff; padding: 64px 0; }
.private-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.private h2 { color: #fff; }
.private-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.private-list li { background: rgba(255, 255, 255, 0.08); border-radius: 12px; padding: 14px 18px 14px 48px; position: relative; font-weight: 500; }
.private-list li::before { content: ""; position: absolute; left: 18px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--mint); }

/* FAQ */
.faq { padding: 80px 0; }
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; min-height: 48px; display: flex; align-items: center; list-style: none; padding-right: 32px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; font-family: var(--display); color: var(--green); font-size: 1.3rem; }
details[open] summary::after { content: "–"; }
details p { color: var(--soft); }

/* Download */
.download { padding: 0 0 88px; }
.download-inner { display: flex; align-items: center; gap: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; flex-wrap: wrap; }
.download-inner > div { flex: 1 1 320px; }
.download-inner img { border-radius: 22px; }
.download h2 { font-size: clamp(1.25rem, 2.6vw, 1.7rem); }
.download p { margin: 0; color: var(--soft); }

/* Footer */
.foot { background: var(--night); color: #c9dbd5; padding: 36px 0; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-name { font-family: var(--display); font-weight: 700; color: #fff; margin: 0; }
.foot-small { margin: 0; font-size: 0.9rem; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px 22px; flex-wrap: wrap; }
.foot-links a { color: var(--mint); display: inline-flex; min-height: 44px; align-items: center; }

/* Inner pages */
.page { padding: 56px 0 88px; }
.page h2 { margin-top: 1.6em; font-size: clamp(1.25rem, 2.8vw, 1.6rem); }
.page h3 { margin-top: 1.3em; }
.legal h2 { font-size: clamp(1.1rem, 2.4vw, 1.3rem); }
.steps { padding-left: 0; list-style: none; counter-reset: step; display: grid; gap: 12px; }
.steps li { counter-increment: step; position: relative; padding: 14px 16px 14px 62px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 16px; top: 13px; font-family: var(--display); font-weight: 700; color: var(--coral-dark); }
.contact-box { margin-top: 48px; background: var(--pine); color: #e3f1ec; border-radius: var(--r); padding: 28px; }
.contact-box h2 { color: #fff; margin-top: 0; }
.contact-box .muted { color: #9fb8b0; }
.contact-mail { font-family: var(--display); font-size: clamp(1rem, 3vw, 1.35rem); }
.contact-mail a { color: var(--mint); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 8px; }
  .hero-shots { justify-content: center; padding-top: 40px; }
  .round, .round-flip { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .round-flip .round-shot, .round-flip .round-copy { grid-column: auto; grid-row: auto; }
  .round-no { flex-direction: row; align-items: baseline; gap: 10px; }
  .round-no strong { font-size: 2.4rem; }
  .round-shot { width: 100%; max-width: 300px; }
  .fixture-grid, .private-inner { grid-template-columns: 1fr; gap: 28px; }
  .extra-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .top-inner { justify-content: center; }
  .brand { font-size: 0.92rem; }
  .nav a { padding: 0 10px; }
  .hero { padding-top: 36px; }
  .shot-a, .shot-b { width: 48%; }
  .shot-b { transform: translateY(-28px); margin-bottom: -28px; }
  .board { padding: 8px 12px 12px; }
  .board-row { grid-template-columns: 54px 1fr 1fr; font-size: 0.92rem; gap: 6px; }
  .board-rest, .board-head span:last-child { grid-column: 2 / -1; font-size: 0.85rem; }
  .board-head span:last-child { display: none; }
  .board-rest::before { content: "Resting: "; }
  .extra-list { grid-template-columns: 1fr; }
  .more-shots { width: 100%; }
  .more-shot { width: 50%; }
  .download-inner { padding: 22px; }
  .rounds, .faq { padding: 60px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
