:root {
  --spruce: #0b5d4b;
  --spruce-dark: #064235;
  --red: #c81d4f;
  --yellow: #f6b91a;
  --blue: #2363d1;
  --turquoise: #28b7a9;
  --coral: #f05d5e;
  --paper: #fff8e9;
  --white: #ffffff;
  --ink: #24323a;
  --line: rgba(36, 50, 58, 0.16);
  --shadow: 0 24px 70px rgba(5, 58, 47, 0.13);
  --radius: 1.25rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: -5rem;
  padding: .75rem 1rem;
  border-radius: .5rem;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.site-header {
  min-height: 5.25rem;
  padding: .75rem clamp(1rem, 4vw, 4.5rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  background: var(--spruce);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { width: 3.55rem; height: 3.55rem; object-fit: contain; }
.brand-name { display: grid; line-height: 1.05; font-family: "Trebuchet MS", Arial, sans-serif; font-size: 1.15rem; }
.brand-name span { color: var(--yellow); font-weight: 700; }
.main-nav { justify-self: end; display: flex; gap: clamp(1rem, 3vw, 2.25rem); }
.main-nav a { text-decoration: none; font-weight: 700; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a:focus-visible { border-color: var(--yellow); }
.language-switch { display: flex; padding: .2rem; border: 1px solid rgba(255,255,255,.42); border-radius: 999px; }
.language-switch button {
  border: 0; border-radius: 999px; padding: .42rem .62rem; background: transparent; color: white; font: inherit; font-size: .83rem; font-weight: 800; cursor: pointer;
}
.language-switch button[aria-pressed="true"] { background: var(--yellow); color: var(--ink); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 43rem;
  padding: clamp(4rem, 9vw, 7.5rem) clamp(1.25rem, 7vw, 7rem) 4.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(19rem, .8fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
  overflow: hidden;
  background: var(--spruce);
  color: white;
}
.hero-pattern { position: absolute; inset: auto -9rem -15rem auto; z-index: -2; width: 46rem; height: 40rem; background: url("assets/jul-i-farger-monster.svg") center/cover no-repeat; opacity: .16; transform: rotate(-8deg); border-radius: 50%; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(100deg, var(--spruce-dark) 0%, var(--spruce) 63%, rgba(11,93,75,.72) 100%); }
.hero h1, .section h2 { font-family: "Trebuchet MS", Arial, sans-serif; letter-spacing: -.035em; }
.hero h1 { margin: 0; max-width: 12ch; color: var(--yellow); font-size: clamp(4.25rem, 10vw, 8.75rem); line-height: .86; }
.hero-general h1 { max-width: 9ch; font-size: clamp(3.9rem, 8.4vw, 7.8rem); line-height: .9; }
.hero-lead { max-width: 39rem; margin: 2rem 0 0; font-size: clamp(1.18rem, 2.1vw, 1.5rem); line-height: 1.5; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.button { display: inline-flex; min-height: 3.25rem; align-items: center; justify-content: center; padding: .7rem 1.25rem; border: 2px solid var(--yellow); border-radius: 999px; text-decoration: none; font-weight: 800; }
.button-primary { background: var(--yellow); color: var(--ink); }
.button-primary:hover, .button-primary:focus-visible { background: white; border-color: white; }
.button-secondary { color: white; }
.button-secondary:hover, .button-secondary:focus-visible { background: rgba(255,255,255,.1); }
.quick-facts { margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(5rem, 1fr)); max-width: 44rem; list-style: none; border-top: 1px solid rgba(255,255,255,.23); }
.quick-facts li { padding: 1rem .8rem 0 0; display: grid; border-right: 1px solid rgba(255,255,255,.18); }
.quick-facts li:last-child { border-right: 0; }
.quick-facts strong { font-family: "Trebuchet MS", Arial, sans-serif; font-size: 1.35rem; color: var(--yellow); }
.quick-facts span { font-size: .86rem; opacity: .82; }
.hero-art { display: grid; justify-items: center; align-content: center; gap: 1rem; }
.symbol-disc { position: relative; width: min(31rem, 86vw); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: var(--paper); box-shadow: var(--shadow); }
.symbol-disc > img:not(.logo-static) { width: 88%; height: 88%; object-fit: contain; transform: translate(-1%, -3.5%); }
.logo-animation { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; background: var(--paper); }
.logo-static { display: none; width: 88%; height: 88%; object-fit: contain; transform: translate(-1%, -3.5%); }
.symbol-disc.motion-fallback .logo-animation { display: none; }
.symbol-disc.motion-fallback .logo-static { display: block; }

.section { padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 7vw, 7rem); }
.section-heading { max-width: 53rem; margin-bottom: 2.5rem; }
.section-heading h2, .auction h2 { margin: 0; color: var(--spruce); font-size: clamp(2.45rem, 5.2vw, 4.75rem); line-height: 1.03; }
.section-heading > p:last-child { max-width: 42rem; }
.intro { background: white; }
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.prose-stack > *:first-child { margin-top: 0; }
.prose-stack > *:last-child { margin-bottom: 0; }
.prose-stack > p:not(.large-copy) { max-width: 48rem; font-size: 1.08rem; }
.large-copy { margin: 0; max-width: 48rem; font-size: clamp(1.3rem, 2.8vw, 2rem); line-height: 1.45; }
.promise-card { position: relative; padding: 2rem 2rem 2rem 4.5rem; border-radius: var(--radius); background: var(--spruce); color: white; box-shadow: var(--shadow); }
.promise-card p { margin: 0; font-size: 1.1rem; }
.promise-mark { position: absolute; left: 1.45rem; top: 1.1rem; color: var(--yellow); font-family: "Trebuchet MS", Arial, sans-serif; font-size: 4rem; line-height: 1; }

.together-statement {
  position: relative;
  isolation: isolate;
  min-height: clamp(20rem, 34vw, 32rem);
  padding: clamp(7rem, 13vw, 12rem) clamp(1.25rem, 7vw, 7rem) clamp(4.5rem, 8vw, 7rem);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--spruce);
}
.together-curve {
  position: absolute;
  z-index: -1;
  top: clamp(-9rem, -10vw, -4rem);
  left: 50%;
  width: 125%;
  height: clamp(8rem, 17vw, 15rem);
  border-radius: 0 0 50% 50%;
  background: white;
  transform: translateX(-50%);
}
.together-pattern {
  position: absolute;
  z-index: -1;
  right: -5rem;
  bottom: -12rem;
  width: 34rem;
  height: 34rem;
  background: url("assets/jul-i-farger-monster.svg") center/contain no-repeat;
  opacity: .1;
  transform: rotate(-12deg);
}
.together-statement p {
  margin: 0;
  padding: .55em .9em .62em;
  background: var(--red);
  color: white;
  box-shadow: 0 1.2rem 3rem rgba(5, 58, 47, .2);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(2.4rem, 6.5vw, 6.6rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .95;
  text-align: center;
  transform: rotate(-2deg);
}

.workshops { background: var(--paper); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
.activity-card { min-height: 22rem; padding: 1.8rem; display: flex; flex-direction: column; border-radius: var(--radius); color: white; overflow: hidden; }
.activity-card h3 { margin: auto 0 .7rem; font-family: "Trebuchet MS", Arial, sans-serif; font-size: 2rem; line-height: 1.1; }
.activity-card p { margin: 0; max-width: 31rem; }
.activity-red { background: var(--red); }
.activity-blue { background: var(--blue); }
.activity-yellow { background: var(--yellow); color: var(--ink); }
.purpose { background: var(--paper); }
.values-grid .activity-card { min-height: 0; display: block; padding: 1.6rem; }
.values-grid .activity-card h3 { margin: 0 0 .55rem; font-size: 1.65rem; }
.values-grid .activity-card p { max-width: none; }

.people { background: white; }
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.people-card { padding: 1.7rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.people-card h3 { margin: .6rem 0 .65rem; color: var(--spruce); font-family: "Trebuchet MS", Arial, sans-serif; font-size: 1.5rem; }
.people-card p { margin: 0; }
.development-note { margin-top: 1rem; padding: 1.5rem 1.7rem; display: grid; grid-template-columns: minmax(12rem, .55fr) 1.45fr; gap: 1.5rem; align-items: center; border-radius: var(--radius); background: var(--spruce); color: white; }
.development-note strong { color: var(--yellow); font-family: "Trebuchet MS", Arial, sans-serif; font-size: 1.35rem; }
.development-note p { margin: 0; }

.year-edition { position: relative; overflow: hidden; background: var(--spruce-dark); color: white; }
.year-edition::before { content: ""; position: absolute; right: -10rem; top: -9rem; width: 35rem; height: 35rem; border-radius: 50%; background: url("assets/jul-i-farger-monster.svg") center/cover; opacity: .1; }
.year-intro { position: relative; display: grid; grid-template-columns: 1fr 18rem; gap: 3rem; align-items: center; }
.year-intro h2 { margin: 0; color: white; font-family: "Trebuchet MS", Arial, sans-serif; font-size: clamp(3.2rem, 7vw, 7rem); line-height: .9; }
.year-intro h2 span { color: var(--yellow); }
.year-intro h2 strong { display: block; color: white; }
.year-lead { max-width: 45rem; font-size: 1.25rem; }
.year-symbol { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--paper); box-shadow: var(--shadow); }
.year-symbol img { width: 88%; height: 88%; object-fit: contain; transform: translate(-1%, -3.5%); }
.year-facts { position: relative; margin: 3rem 0 1rem; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.year-facts div { padding: 1.1rem; display: grid; border-right: 1px solid rgba(255,255,255,.2); }
.year-facts div:last-child { border-right: 0; }
.year-facts strong { color: var(--yellow); font-family: "Trebuchet MS", Arial, sans-serif; font-size: 1.55rem; }
.year-facts span { color: rgba(255,255,255,.7); font-size: .88rem; }
.year-columns { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.year-panel { padding: 2rem; border-radius: var(--radius); background: white; color: var(--ink); }
.year-panel-yellow { background: var(--yellow); }
.year-panel h3, .year-bottom h3 { margin: 0 0 1rem; color: var(--spruce); font-family: "Trebuchet MS", Arial, sans-serif; font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.1; }
.year-panel ul { margin: 0; padding-left: 1.25rem; }
.year-panel li + li { margin-top: .5rem; }
.year-bottom { position: relative; margin-top: 1rem; padding: 2rem; display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); }
.year-bottom h3 { color: white; }
.year-bottom > div > p:last-child { margin-bottom: 0; color: rgba(255,255,255,.75); }
.planning-status { min-width: 18rem; padding: 1rem 1.15rem; display: flex; gap: 1rem; align-items: center; border-radius: 1rem; background: var(--paper); color: var(--ink); }
.planning-status p { margin: 0; font-size: .92rem; }

.program { background: var(--spruce-dark); color: white; }
.section-heading-light h2 { color: white; }
.section-heading-light > p:last-child { color: rgba(255,255,255,.75); }
.timeline-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.day-card { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.4rem; padding: 2rem; border-radius: var(--radius); background: white; color: var(--ink); }
.day-card-accent { background: var(--yellow); }
.day-label { display: grid; align-content: start; color: var(--spruce); font-weight: 800; text-transform: uppercase; }
.day-label strong { font-family: "Trebuchet MS", Arial, sans-serif; font-size: 5rem; line-height: .9; }
.day-card h3 { margin: 0 0 1rem; color: var(--spruce); font-family: "Trebuchet MS", Arial, sans-serif; font-size: 1.8rem; }
.day-card ul { margin: 0; padding-left: 1.25rem; }
.day-card li + li { margin-top: .55rem; }

.auction { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: clamp(2.5rem, 8vw, 8rem); background: white; }
.auction-art { position: relative; aspect-ratio: 1; display: grid; place-items: center; align-content: center; border-radius: 50%; background: var(--red); color: white; box-shadow: var(--shadow); }
.auction-art::before { content: ""; position: absolute; inset: 8%; border: 3px solid var(--yellow); border-radius: 50%; }
.auction-art span { position: relative; font-family: "Trebuchet MS", Arial, sans-serif; font-size: clamp(6rem, 16vw, 12rem); font-weight: 800; line-height: .85; }
.auction-art small { position: relative; color: var(--yellow); font-size: 1.1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.auction-copy p:last-child { max-width: 42rem; font-size: 1.12rem; }

.practical { background: var(--paper); }
.practical-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.practical-grid article { padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: white; }
.practical-grid article > span { color: var(--red); font-weight: 800; }
.practical-grid h3 { margin: .65rem 0 .45rem; color: var(--spruce); font-family: "Trebuchet MS", Arial, sans-serif; font-size: 1.3rem; }
.practical-grid p { margin: 0; }
.status-banner { margin-top: 1rem; padding: 1.15rem 1.3rem; display: flex; gap: 1rem; align-items: center; border-radius: 1rem; background: var(--spruce); color: white; }
.status-banner p { margin: 0; opacity: .8; }
.status-dot { flex: 0 0 auto; width: .8rem; height: .8rem; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 .35rem rgba(246,185,26,.18); }

.site-footer { padding: 2rem clamp(1.25rem, 7vw, 7rem); display: flex; justify-content: space-between; align-items: center; gap: 2rem; background: var(--ink); color: white; }
.footer-brand { display: flex; align-items: center; gap: .8rem; }
.footer-brand img { width: 3rem; height: 3rem; object-fit: contain; }
.footer-brand div { display: grid; }
.footer-brand span, .site-footer p { color: rgba(255,255,255,.68); }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

@media (max-width: 960px) {
  .site-header { grid-template-columns: 1fr auto; gap: 1rem; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-self: start; order: 3; padding-bottom: .3rem; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { order: 1; }
  .hero-art { order: 2; }
  .symbol-disc { width: min(25rem, 80vw); }
  .intro-grid, .auction { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: 1fr; }
  .development-note { grid-template-columns: 1fr; }
  .year-intro { grid-template-columns: 1fr 14rem; }
  .year-bottom { grid-template-columns: 1fr; }
  .auction-art { width: min(24rem, 82vw); justify-self: center; }
  .card-grid, .practical-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header { padding: .65rem 1rem; }
  .brand-name { font-size: .98rem; }
  .brand img { width: 3rem; height: 3rem; }
  .main-nav { width: 100%; justify-content: space-between; gap: .8rem; font-size: .91rem; }
  .hero { padding-top: 3.5rem; }
  .hero h1 { font-size: clamp(4rem, 22vw, 6.4rem); }
  .hero-general h1 { max-width: 10ch; font-size: clamp(3.25rem, 17vw, 5rem); }
  .quick-facts { grid-template-columns: repeat(2, 1fr); }
  .quick-facts li { padding-bottom: .9rem; }
  .quick-facts li:nth-child(2) { border-right: 0; }
  .card-grid, .practical-grid { grid-template-columns: 1fr; }
  .activity-card { min-height: 18rem; }
  .day-card { grid-template-columns: 4rem 1fr; padding: 1.35rem; }
  .day-label strong { font-size: 3.8rem; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .site-footer p { margin: 0; }
  .year-intro { grid-template-columns: 1fr; }
  .year-symbol { width: min(16rem, 75vw); justify-self: center; }
  .year-facts { grid-template-columns: repeat(2, 1fr); }
  .year-facts div:nth-child(2) { border-right: 0; }
  .year-facts div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.2); }
  .year-columns { grid-template-columns: 1fr; }
  .year-bottom { padding: 1.35rem; gap: 1.25rem; }
  .planning-status { min-width: 0; }
  .together-statement { min-height: 18rem; padding-top: 7rem; }
  .together-curve { width: 155%; height: 8rem; top: -3rem; }
  .together-statement p { font-size: clamp(2.2rem, 12vw, 3.6rem); }
}

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