/* Box of Socks: palette taken from the printed posters */
:root {
  color-scheme: light;
  --cream: #faf1e1;
  --paper: #fffaf1;
  --red: #c8382e;
  --red-deep: #9a2a22;
  --navy: #2e5a8a;
  --navy-deep: #1f3f63;
  --box: #8b5a33;
  --box-dark: #6f4626;
  --gold: #b8892c;
  --ink: #3b2a1e;
  --muted: #6e5a48;
  --line: #e5d6bd;
  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  padding-inline: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.frame { max-width: 1080px; margin: 20px auto; border: 5px solid var(--navy); border-radius: 28px; padding: 12px; background: var(--cream); }
.frame-inner { border: 2px dashed color-mix(in srgb, var(--navy) 70%, transparent); border-radius: 18px; overflow: hidden; }

/* site header */
.bar {
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  justify-content: space-between; align-items: center;
  padding: 16px clamp(16px, 4vw, 40px);
  border-bottom: 2px dashed var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--red); font: 400 1.6rem/1 var(--serif); }
.brand svg { width: 26px; height: 24px; fill: var(--red); }
.bar nav { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.bar nav a {
  text-decoration: none; color: var(--muted);
  font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 999px;
}
.bar nav a:hover { color: var(--red); }
.bar nav a[aria-current="page"] { background: var(--navy); color: #fff; }

/* hero (home) */
.hero { text-align: center; padding: clamp(24px, 5vw, 48px) clamp(16px, 4vw, 40px) 0; }
.eyebrow { margin: 0; font-weight: 800; color: var(--navy); letter-spacing: .32em; text-transform: uppercase; font-size: clamp(.8rem, 2.4vw, 1.25rem); padding-left: .32em; }
h1 { margin: .1em 0 0; font: 400 clamp(3.2rem, 13vw, 7.5rem)/1 var(--serif); color: var(--red); letter-spacing: -.01em; text-wrap: balance; }
.divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 18px auto 30px; }
.divider span { height: 3px; width: clamp(60px, 18vw, 200px); background: var(--navy); border-radius: 2px; }
.divider svg { width: 44px; height: 40px; fill: var(--red); flex: none; }

/* page header (inner pages) */
.page-head { text-align: center; padding: clamp(28px, 6vw, 56px) clamp(16px, 4vw, 40px) 0; }
.page-head h1 { font-size: clamp(2.6rem, 9vw, 4.8rem); }
.page-head .intro { max-width: 46ch; margin: 0 auto; font: 400 clamp(1.15rem, 2.6vw, 1.4rem)/1.5 var(--serif); color: var(--box-dark); text-wrap: balance; }

/* the box */
.box { position: relative; max-width: 720px; margin: 0 auto; }
.box-lid { height: clamp(40px, 7vw, 66px); background: var(--box); border-radius: 12px; position: relative; z-index: 2; transform-origin: 8% 100%; animation: lid 4.5s .6s ease-in-out both; }
@keyframes lid {
  0% { transform: none; }
  40% { transform: rotate(-12deg) translateY(-14px); }
  65% { transform: rotate(-12deg) translateY(-14px); }
  92% { transform: rotate(1deg); }
  100% { transform: none; }
}
.box-body { background: var(--box); margin: 0 5%; border-radius: 0 0 16px 16px; padding: clamp(14px, 4vw, 34px) clamp(12px, 3vw, 26px) clamp(10px, 2vw, 16px); box-shadow: inset 0 10px 0 var(--box-dark); }
.box-body figure { margin: 0; background: var(--paper); padding: clamp(6px, 1.4vw, 12px); border-radius: 14px; }
.box-body img { width: 100%; height: auto; aspect-ratio: 1284 / 631; object-fit: cover; border-radius: 8px; }
.box-label { margin: clamp(8px, 1.6vw, 14px) 0 0; text-align: center; color: var(--cream); font-weight: 800; font-size: clamp(.95rem, 2.6vw, 1.35rem); letter-spacing: .02em; }
.box-shadow { height: 26px; margin: 0 -8%; background: radial-gradient(closest-side, #fffaf1 0%, transparent 100%); }

.lead { margin: 28px auto 0; max-width: 20ch; font: 400 clamp(1.7rem, 5vw, 2.8rem)/1.2 var(--serif); color: var(--red-deep); text-wrap: balance; }
.sub { margin: 12px auto 0; font-size: clamp(1.05rem, 2.6vw, 1.45rem); color: var(--box-dark); }
.cta { display: inline-flex; align-items: center; gap: 18px; margin: 32px auto 10px; padding: 18px clamp(22px, 5vw, 44px); background: var(--navy); color: #fff; border-radius: 22px; font: 700 clamp(1.05rem, 3vw, 1.6rem)/1.2 var(--sans); text-decoration: none; transition: background .2s, transform .2s; }
.cta:hover { background: var(--navy-deep); transform: translateY(-2px); }
.cta svg { width: 30px; height: 27px; fill: var(--red); flex: none; }
.to { margin: 8px 0 0; font-weight: 700; color: var(--box-dark); }
.to b { color: #5aa031; font-weight: 800; }

/* tally */
.tally { display: grid; grid-template-columns: repeat(3, 1fr); margin: 48px clamp(16px, 4vw, 40px) 0; border-block: 2px solid var(--line); }
.tally div { padding: 22px 10px; text-align: center; }
.tally div + div { border-left: 2px solid var(--line); }
.tally strong { display: block; font: 700 clamp(2rem, 6vw, 3.2rem)/1 var(--serif); color: var(--red); font-variant-numeric: tabular-nums; }
.tally span { display: block; margin-top: 6px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* sections */
section.block { padding: clamp(40px, 7vw, 72px) clamp(16px, 4vw, 40px) 0; }
.label { margin: 0 0 8px; font-size: .8rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--navy); }
h2 { margin: 0 0 18px; font: 400 clamp(1.9rem, 5vw, 2.8rem)/1.15 var(--serif); color: var(--red-deep); text-wrap: balance; }
h3 { text-wrap: balance; }
.prose { max-width: 64ch; }
.prose p { margin: 0 0 1em; }
.prose h3 { margin: 1.6em 0 .4em; font: 700 1.2rem/1.3 var(--sans); color: var(--navy-deep); }
.two { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: start; }

.note { margin: 0; padding: 26px 26px 22px; background: var(--paper); border-radius: 18px; border: 2px solid var(--line); font: italic 400 1.3rem/1.45 var(--serif); color: var(--ink); }
.note footer { margin-top: 14px; font: 700 .85rem/1.3 var(--sans); letter-spacing: .06em; color: var(--muted); font-style: normal; }

/* award rosette */
.award { display: grid; grid-template-columns: auto 1fr; gap: 22px 28px; align-items: center; background: var(--paper); border: 2px solid var(--line); border-radius: 22px; padding: clamp(20px, 4vw, 34px); }
.rosette { width: clamp(96px, 16vw, 132px); aspect-ratio: 1; flex: none; }
.award .label { color: var(--gold); }
.award h2 { margin-bottom: 8px; }
.award p { margin: 0 0 .8em; max-width: 60ch; }
.award p:last-child { margin-bottom: 0; }

.isa-logo { width: 170px; height: auto; margin: 0 0 12px; background: #fff; padding: 6px 10px; border-radius: 8px; }
.prize-art { margin: 0 auto; max-width: 760px; }
.prize-art img { width: 100%; height: auto; border-radius: 18px; border: 2px solid var(--line); }
.prize-art figcaption { margin-top: 8px; text-align: center; font-size: .85rem; color: var(--muted); }
@media (max-width: 520px) { .isa-logo { margin-inline: auto; } }

/* press */
.press { display: grid; gap: 6px; text-align: center; text-decoration: none; color: inherit; padding: 28px 24px; border-block: 3px double var(--line); }
.press-pub { font-size: .8rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.press-pub strong { color: var(--red); }
.press-head { font: italic 400 clamp(1.5rem, 4.4vw, 2.3rem)/1.2 var(--serif); color: var(--ink); text-wrap: balance; }
.press-more { font-weight: 800; color: var(--navy); font-size: .95rem; }
.press:hover .press-head { color: var(--red-deep); }
.clip { background: var(--paper); border: 2px solid var(--line); border-radius: 22px; padding: clamp(22px, 4vw, 40px); }
.clip-pub { margin: 0 0 8px; font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.clip h2 { margin-bottom: 6px; }
.clip-by { margin: 0 0 18px; color: var(--muted); font-weight: 700; }
.clip-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px, 4vw, 40px); align-items: start; }
.clip-photo { margin: 0; background: var(--box); padding: 10px; border-radius: 16px; transform: rotate(1.5deg); }
.clip-photo img { width: 100%; height: auto; border-radius: 10px; }
.clip-photo figcaption { margin-top: 8px; text-align: center; color: var(--cream); font-weight: 700; font-size: .9rem; }
@media (max-width: 760px) { .clip-grid { grid-template-columns: 1fr; } .clip-photo { max-width: 420px; margin-inline: auto; transform: none; } }

/* steps */
.steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--paper); border: 2px solid var(--line); border-radius: 18px; padding: 22px 20px 20px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 12px; border-radius: 50%; background: var(--red); color: #fff; font: 700 1.2rem/1 var(--serif); }
.steps h3 { margin: 0 0 6px; font: 700 1.15rem/1.3 var(--sans); color: var(--navy-deep); }
.steps p { margin: 0; color: var(--muted); font-size: 1rem; }
.steps.four { grid-template-columns: repeat(4, 1fr); }
.steps.five { grid-template-columns: repeat(5, 1fr); }
.steps.five li { padding: 20px 16px 18px; }

.tips { margin: 26px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.tips li { padding: 8px 16px; border-radius: 999px; background: color-mix(in srgb, var(--navy) 10%, var(--cream)); color: var(--navy-deep); font-weight: 700; font-size: .95rem; }
.tips li.no { background: color-mix(in srgb, var(--red) 10%, var(--cream)); color: var(--red-deep); }

.dos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dos > div { background: var(--paper); border: 2px solid var(--line); border-radius: 18px; padding: 22px 24px; }
.dos h3 { margin: 0 0 10px; font: 700 1.15rem/1.3 var(--sans); }
.dos .yes h3 { color: var(--navy-deep); }
.dos .nope h3 { color: var(--red-deep); }
.dos ul { margin: 0; padding-left: 1.2em; }
.dos li { margin: 0 0 6px; }

/* timeline */
.timeline { list-style: none; margin: 8px 0 0; padding: 0; border-left: 3px solid var(--line); }
.timeline li { position: relative; padding: 0 0 26px 28px; }
.timeline li::before { content: ""; position: absolute; left: -11px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--cream); border: 3px solid var(--red); }
.timeline li:last-child { padding-bottom: 0; }
.timeline .when { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.timeline h3 { margin: 2px 0 4px; font: 700 1.15rem/1.3 var(--sans); color: var(--ink); }
.timeline p { margin: 0; color: var(--muted); max-width: 60ch; }

/* cards linking to pages */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card { display: block; text-decoration: none; color: inherit; background: var(--paper); border: 2px solid var(--line); border-radius: 18px; padding: 24px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--navy); transform: translateY(-2px); }
.card h3 { margin: 0 0 6px; font: 400 1.5rem/1.2 var(--serif); color: var(--red-deep); }
.card p { margin: 0 0 12px; color: var(--muted); }
.card span { font-weight: 800; color: var(--navy); font-size: .92rem; }

/* schools */
.schools { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 2px solid var(--line); border-radius: 18px; overflow: hidden; }
.schools li { background: var(--paper); padding: 22px 18px; text-align: center; font: 400 1.2rem/1.3 var(--serif); color: var(--navy-deep); display: grid; place-items: center; min-height: 92px; }
.schools li small { display: block; margin-top: 4px; font: 700 .72rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 760px; }
.faq details { background: var(--paper); border: 2px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 800; color: var(--navy-deep); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.5rem/1 var(--serif); color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--ink); }

/* charity band */
.charity { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; background: var(--navy); color: #fff; border-radius: 22px; padding: clamp(24px, 5vw, 44px); }
.charity .label { color: #f3c9c4; }
.charity h2 { color: #fff; }
.charity p { margin: 0 0 1em; color: #dce6f2; max-width: 58ch; }
.charity p:last-child { margin-bottom: 0; }
.btn { display: inline-block; padding: 14px 24px; background: var(--cream); color: var(--navy-deep); border-radius: 14px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.btn:hover { background: #fff; }
.btn.dark { background: var(--navy); color: #fff; }
.btn.dark:hover { background: var(--navy-deep); }

footer.site { margin-top: clamp(40px, 7vw, 72px); padding: 26px clamp(16px, 4vw, 40px) 30px; border-top: 2px dashed var(--line); text-align: center; color: var(--muted); font-size: .92rem; }
footer.site p { margin: 4px 0; }
footer.site nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-bottom: 10px; }
footer.site nav a { color: var(--navy); font-weight: 700; text-decoration: none; }

@media (max-width: 860px) {
  .steps.four { grid-template-columns: repeat(2, 1fr); }
  .steps.five { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .two, .charity, .dos, .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .schools { grid-template-columns: repeat(2, 1fr); }
  .bar { justify-content: center; }
  .bar nav { justify-content: center; }
}
@media (max-width: 520px) {
  .award { grid-template-columns: 1fr; text-align: center; }
  .rosette { margin: 0 auto; }
  .steps.four, .steps.five { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .frame { margin: 12px auto; border-width: 4px; border-radius: 22px; padding: 7px; }
  .tally span { font-size: .66rem; letter-spacing: .08em; }
  .schools li { font-size: 1.05rem; padding: 18px 10px; }
  .bar nav a { padding: 6px 9px; font-size: .74rem; letter-spacing: .06em; }
}

/* photos */
.photo { margin: 0; background: var(--box); padding: 10px; border-radius: 16px; }
.photo img { width: 100%; height: auto; border-radius: 10px; }
.photo figcaption { margin-top: 8px; text-align: center; color: var(--cream); font-weight: 700; font-size: .9rem; }
.two > .photo { transform: rotate(1.5deg); max-width: 440px; justify-self: center; }
.stack { display: grid; gap: 22px; justify-items: center; }
.stack .photo { max-width: 400px; transform: rotate(-1.5deg); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 4vw, 36px); align-items: start; }
.pair .photo:first-child { transform: rotate(-1.5deg); }
.pair .photo:last-child { transform: rotate(1.5deg); margin-top: 28px; }
@media (max-width: 760px) {
  .pair { grid-template-columns: 1fr; }
  .pair .photo, .two > .photo, .stack .photo { max-width: 420px; margin-inline: auto; transform: none; margin-top: 0; }
}
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 28px); margin-top: 22px; align-items: start; }
.trio .photo img { aspect-ratio: 4 / 5; object-fit: cover; }
.trio .photo:nth-child(1) { transform: rotate(-1.5deg); }
.trio .photo:nth-child(2) { transform: rotate(1deg); margin-top: 18px; }
.trio .photo:nth-child(3) { transform: rotate(-1deg); }
@media (max-width: 760px) { .trio { grid-template-columns: 1fr; } .trio .photo { max-width: 400px; margin-inline: auto; transform: none !important; margin-top: 0 !important; } }
.part { text-align: center; border-top: 2px dashed var(--line); margin-top: clamp(40px, 7vw, 72px); scroll-margin-top: 16px; }
.part-title { font-size: clamp(2.2rem, 7vw, 3.8rem); color: var(--red); margin: .15em 0 0; }
.part .intro { max-width: 46ch; margin: 0 auto; font: 400 clamp(1.1rem, 2.4vw, 1.3rem)/1.5 var(--serif); color: var(--box-dark); text-wrap: balance; }
