/* CAMPUS 2026 participant portal · base styles (mobile first) */
@font-face { font-family: 'Effra'; font-weight: 300; src: url('fonts/Effra_Light.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Effra'; font-weight: 400; src: url('fonts/Effra_Regular.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Effra'; font-weight: 500; src: url('fonts/Effra_Medium.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Effra'; font-weight: 600; src: url('fonts/Effra_Semibold.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Effra'; font-weight: 700; src: url('fonts/Effra_Bold.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Playfair Display'; font-weight: 700; src: url('fonts/PlayfairDisplay-Bold.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Playfair Display'; font-weight: 400; font-style: italic; src: url('fonts/PlayfairDisplay-Italic.ttf') format('truetype'); font-display: swap; }

:root {
  --forest: #1E5D00; --deep-green: #4D7D00; --moss: #4E9B01; --sage: #79A400; --green-5: #008344;
  --sea: #008172; --deep-sea: #005F65; --cream: #f7f3ec; --sand: #f5f0e8; --mist: #e2eeda; --slate: #4a5568; --ink: #17240f;
  --radius: 1rem; --radius-s: 0.5rem;
  --pad: 1.25rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Effra', -apple-system, 'Helvetica Neue', Arial, sans-serif; font-weight: 300; font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--cream); }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; margin: 0 0 0.6rem; line-height: 1.15; color: var(--forest); text-wrap: pretty; }
h1 { font-size: 2.1rem; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 0.9rem; text-wrap: pretty; }
em { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 400; }
a { color: var(--forest); }
strong { font-weight: 600; }
.eyebrow { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--green-5); margin-bottom: 0.5rem; }
.wrap { max-width: 680px; margin: 0 auto; padding: 0 var(--pad); }
section { padding: 2.4rem 0; }
section.dark { background: var(--forest); color: #fff; position: relative; overflow: hidden; }
section.dark h1, section.dark h2, section.dark h3 { color: #fff; }
section.dark .eyebrow { color: var(--sage); }
section.dark a { color: #fff; }
section.sand { background: var(--sand); }
.grain::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.12; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E"); }
.grain > * { position: relative; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem var(--pad); background: var(--forest); color: #fff; }
.top img { height: 20px; }
.top a { color: #fff; text-decoration: none; font-weight: 500; font-size: 0.9rem; }
.top .pill { background: var(--sage); color: var(--ink); padding: 0.35rem 0.8rem; border-radius: var(--radius-s); font-weight: 600; }

/* hero */
.hero { padding: 3rem 0 2.6rem; }
.hero .lead { font-size: 1.1rem; line-height: 1.6; max-width: 46ch; }
.hero .meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; font-size: 0.85rem; margin: 1.2rem 0 1.6rem; opacity: 0.9; }

/* buttons */
.btn { display: inline-block; font-family: inherit; font-weight: 600; font-size: 1rem; padding: 0.85rem 1.3rem; border-radius: var(--radius-s); border: 1px solid var(--forest); background: var(--forest); color: #fff; text-decoration: none; cursor: pointer; transition: background 0.25s ease, transform 0.25s ease; }
.btn:hover { background: var(--deep-green); }
.btn.light { background: #fff; color: var(--forest); border-color: #fff; }
.btn.ghost { background: transparent; color: var(--forest); }
section.dark .btn.ghost { color: #fff; border-color: rgba(255,255,255,0.5); }
.btn.block { display: block; width: 100%; text-align: center; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-row { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 0.8rem; }

/* cards */
.card { background: #fff; border: 1px solid var(--mist); border-radius: var(--radius); padding: 1.2rem; margin-bottom: 0.9rem; }
.card.mist { background: var(--mist); }
.card .eyebrow { margin-bottom: 0.35rem; }
.glyph { width: 28px; height: 28px; vertical-align: middle; }
.ws { display: grid; grid-template-columns: 34px 1fr; gap: 0.8rem; align-items: start; }
.ws h3 { margin-bottom: 0.2rem; }
.ws .venue { font-weight: 500; color: var(--forest); }
.ws .builds { font-size: 0.9rem; color: var(--slate); margin: 0.2rem 0 0.5rem; }
.ws .facts { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.4rem; }
.tag { display: inline-block; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; padding: 0.2rem 0.55rem; border-radius: 0.3rem; background: var(--mist); color: var(--forest); }
.tag.warn { background: #fff0cc; color: #6b4300; }
.tag.full { background: #f1e0dc; color: #7a2e1c; }
.day-head { display: flex; align-items: baseline; justify-content: space-between; margin: 1.6rem 0 0.8rem; }
.day-head small { color: var(--slate); }

/* models */
.models { display: grid; gap: 0.9rem; }
.model { background: #fff; border-radius: var(--radius); border: 1px solid var(--mist); overflow: hidden; }
.model img { display: block; width: 100%; height: auto; background: var(--forest); }
.model .body { padding: 0.9rem 1.1rem 1.1rem; }
.model .body h3 { margin-bottom: 0.15rem; }
.model .body p { font-size: 0.92rem; margin: 0; color: var(--slate); }

/* lists */
ul.check { list-style: none; padding: 0; margin: 0 0 1rem; }
ul.check li { padding-left: 1.5rem; position: relative; margin-bottom: 0.45rem; }
ul.check li::before { content: '✓'; position: absolute; left: 0; color: var(--sage); font-weight: 700; }

/* footer */
footer { padding: 2rem var(--pad) 3rem; font-size: 0.82rem; color: var(--slate); text-align: center; }
footer img { height: 18px; margin-bottom: 0.6rem; }

/* selector flow */
.steps { display: flex; gap: 0.35rem; margin: 0 0 1.4rem; }
.steps span { flex: 1; height: 4px; border-radius: 2px; background: var(--mist); }
.steps span.on { background: var(--forest); }
.step { display: none; }
.step.on { display: block; animation: fadeUp 0.5s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
label { display: block; font-weight: 500; font-size: 0.92rem; margin-bottom: 0.35rem; }
input[type=text], input[type=email] { width: 100%; font: inherit; font-weight: 400; padding: 0.85rem 0.95rem; border-radius: var(--radius-s); border: 1px solid rgba(30,93,0,0.25); background: #fff; margin-bottom: 0.9rem; }
input:focus { outline: 2px solid var(--sage); outline-offset: 1px; }
.error { background: #fbeeea; border: 1px solid #e6c4bb; color: #7a2e1c; border-radius: var(--radius-s); padding: 0.7rem 0.9rem; margin-bottom: 0.9rem; font-size: 0.92rem; }
.note { background: var(--mist); border-radius: var(--radius-s); padding: 0.7rem 0.9rem; margin-bottom: 0.9rem; font-size: 0.92rem; }
.option { display: block; width: 100%; text-align: left; font: inherit; background: #fff; border: 1px solid var(--mist); border-radius: var(--radius); padding: 1rem 1.1rem; margin-bottom: 0.75rem; cursor: pointer; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; color: var(--ink); }
.option:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(30,93,0,0.08); }
.option.selected { border: 2px solid var(--moss); background: var(--mist); padding: calc(1rem - 1px) calc(1.1rem - 1px); }
.option.full { opacity: 0.55; cursor: not-allowed; }
.option.full:hover { transform: none; box-shadow: none; }
.option .row { display: grid; grid-template-columns: 30px 1fr auto; gap: 0.7rem; align-items: start; }
.option .row .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--forest); margin-top: 3px; position: relative; }
.option.selected .row .radio::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--forest); }
.option .t { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; color: var(--forest); font-size: 1.05rem; line-height: 1.25; }
.option .v { font-weight: 500; font-size: 0.9rem; margin-top: 0.15rem; }
.option .d { font-size: 0.88rem; color: var(--slate); margin-top: 0.35rem; }
.option .more { display: none; margin-top: 0.7rem; font-size: 0.88rem; border-top: 1px solid rgba(30,93,0,0.12); padding-top: 0.6rem; }
.option.selected .more { display: block; }
.places { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: var(--green-5); white-space: nowrap; }
.summary { border-left: 3px solid var(--sage); padding-left: 0.9rem; margin-bottom: 1rem; }
.summary b { display: block; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-5); }
.person { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.person .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--forest); color: #fff; display: grid; place-items: center; font-weight: 600; }
.small { font-size: 0.85rem; color: var(--slate); }
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; vertical-align: middle; margin-right: 0.4rem; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 720px) {
  h1 { font-size: 2.7rem; }
  .models { grid-template-columns: 1fr 1fr; }
  .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
}
@media (hover: none) { .option:hover, .btn:hover { transform: none; } }
@media (prefers-reduced-motion: reduce) { .step.on { animation: none; } }
