@font-face {
  font-family:Open Sans;
  src:url('assets/open-sans-regular.woff') format('woff');
  font-weight:400;
  font-style:normal;
  font-display:swap;
}

@font-face {
  font-family:Open Sans;
  src:url('assets/open-sans-semibold.woff') format('woff');
  font-weight:600 800;
  font-style:normal;
  font-display:swap;
}

@font-face {
  font-family:Conjecture Serif;
  src:url('assets/p052-roman.woff') format('woff');
  font-weight:400;
  font-style:normal;
  font-display:swap;
}

@font-face {
  font-family:Conjecture Serif;
  src:url('assets/p052-italic.woff') format('woff');
  font-weight:400;
  font-style:italic;
  font-display:swap;
}

:root {
  --green:#2d424d;
  --green-dark:#263841;
  --ink:#31424b;
  --muted:#55626a;
  --paper:#f9f7f3;
  --line:#e5e2da;
  --red:#dd543c;
  --white:#fff;
  --serif:'Conjecture Serif',Georgia,serif;
  --sans:'Open Sans',Arial,sans-serif;
  scroll-behavior:smooth;
  scroll-padding-top:112px;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
  color:var(--ink);
  background:var(--white);
  font-family:var(--sans);
  font-size:1rem;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,p {
  margin-top:0;
}

h1,h2 {
  font-family:var(--serif);
  font-weight:400;
  letter-spacing:-.045em;
  line-height:1.13;
}

h2 {
  font-size:clamp(2.3rem,3.9vw,3.5rem);
  margin-bottom:1.5rem;
}

h3 {
  font-size:1.1rem;
  font-weight:600;
  line-height:1.5;
}

p {
  margin-bottom:1.3rem;
}

a {
  color:inherit;
  text-decoration:none;
}

button,input,select {
  font:inherit;
}

button,a,input,select,summary {
  -webkit-tap-highlight-color:transparent;
}

button {
  cursor:pointer;
}

a,button,input,select,summary {
  outline-offset:5px;
}

a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible {
  outline:3px solid var(--red);
}

[hidden] {
  display:none!important;
}

.container {
  width:min(1240px,calc(100% - 112px));
  margin-inline:auto;
}

.skip-link {
  position:absolute;
  top:-100px;
  left:16px;
  background:var(--green);
  color:#fff;
  padding:12px 20px;
  z-index:100;
}

.skip-link:focus {
  top:12px;
}

.site-header {
  position:sticky;
  top:0;
  z-index:30;
  background:#fffffff5;
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(12px);
}

.header-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  min-height:98px;
}

.brand {
  display:inline-flex;
  align-items:center;
  flex-shrink:0;
}

.brand img {
  display:block;
  width:205px;
  height:auto;
}

.navigation {
  display:flex;
  align-items:center;
  gap:30px;
  font-size:.875rem;
  font-weight:600;
}

.navigation>a:not(.button) {
  padding-block:12px;
  position:relative;
}

.navigation>a:not(.button):after {
  content:'';
  height:2px;
  background:var(--green);
  position:absolute;
  bottom:5px;
  left:0;
  right:100%;
  transition:right .2s;
}

.navigation>a:not(.button):hover:after {
  right:0;
}

.button {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height:52px;
  border:1px solid var(--green);
  border-radius:3px;
  background:var(--green);
  color:#fff;
  padding:13px 23px;
  font-size:.875rem;
  font-weight:600;
  line-height:1.5;
  transition:background .2s,box-shadow .2s;
}

.button:hover {
  background:var(--green-dark);
  box-shadow:0 3px 10px #2638411a;
}

.button-small {
  min-height:44px;
  padding:10px 19px;
}

/* Registering is the action we most want (28 Nov): the usual dark button with a gold trim,
   used only for "Register your school". Everything else near it is quieter (.button-outline). */
.button-register {
  border:3px solid #e9c25a;
  box-shadow:inset 0 0 0 1px #e9c25a40;
}

.button-register { padding:11px 21px; }
.button-register.button-small { padding:8px 17px; }
/* (padding is 2px less on each side so the thicker trim doesn't make the button bigger) */

.button-register:hover {
  border-color:#f2cc5c;
  box-shadow:0 3px 10px #2638411f;
}

.button-outline {
  background:transparent;
  color:var(--green);
}

.button-outline:hover {
  background:#2d424d0d;
}

.text-link {
  display:inline-block;
  color:var(--green);
  font-size:.875rem;
  font-weight:600;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:6px;
  border:0;
  background:none;
  padding:0;
}

.text-link:hover {
  text-decoration-thickness:2px;
}

.menu-toggle {
  display:none;
}

.hero {
  overflow:hidden;
  background:var(--paper);
}

.hero-grid {
  display:grid;
  grid-template-columns:1.17fr 1fr;
  align-items:center;
  gap:clamp(40px,7vw,100px);
  padding-block:78px 75px;
}

.eyebrow {
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--green);
  font-size:.75rem;
  font-weight:600;
  letter-spacing:.14em;
  line-height:1.7;
  text-transform:uppercase;
  margin-bottom:25px;
}

.short-rule {
  display:block;
  width:27px;
  height:2px;
  background:var(--red);
}

h1 {
  font-size:clamp(3.5rem,5.9vw,5.7rem);
  margin:0 0 28px;
  color:var(--green);
  line-height:1.08;
}

h1 em {
  font-weight:400;
  letter-spacing:-.05em;
}

.hero-description {
  font-size:1.06rem;
  line-height:1.85;
  max-width:490px;
  color:#5c6c74;
  margin-bottom:29px;
}

.hero-actions {
  display:flex;
  align-items:center;
  gap:27px;
  flex-wrap:wrap;
}

.hero-note {
  font-size:.8125rem;
  color:var(--muted);
  margin:24px 0 0;
}

.hero-art {
  position:relative;
  padding:18px 15px 20px 12px;
  max-width:470px;
  width:100%;
  justify-self:end;
}

.poster-shadow {
  position:absolute;
  inset:22px 7px 55px 16px;
  background:#ece7db;
  transform:rotate(4deg);
  border:1px solid #d4dce0;
}

.event-poster {
  position:relative;
  background:var(--green);
  color:#fff;
  padding:32px 36px 29px;
  border-radius:2px;
  box-shadow:0 16px 30px #293c4616;
  transform:rotate(-2deg);
}

.poster-top {
  display:flex;
  align-items:start;
  justify-content:space-between;
  font-size:.6875rem;
  line-height:1.6;
  letter-spacing:.15em;
  color:#d5dce0;
}

.poster-spark {
  font-family:var(--serif);
  font-size:3rem;
  line-height:.8;
  color:#e6b17f;
}

.poster-title {
  font-family:var(--serif);
  font-size:clamp(3.5rem,5.7vw,5.2rem);
  line-height:1.03;
  letter-spacing:-.04em;
  padding:29px 0 30px;
}

.poster-title em {
  color:#f6e3a8;
}

.poster-line {
  height:1px;
  background:#9bacb45c;
}

.poster-footer {
  display:flex;
  justify-content:space-between;
  align-items:end;
  font-size:.75rem;
  line-height:1.6;
  padding-top:20px;
  color:#d5dce0;
}

.poster-footer>span:last-child {
  font-size:.5625rem;
  letter-spacing:.1em;
}

.poster-footer strong {
  font-weight:400;
  font-size:1rem;
  letter-spacing:0;
  color:#fff;
}

.poster-caption {
  position:relative;
  display:flex;
  align-items:center;
  gap:9px;
  font-size:.6875rem;
  letter-spacing:.015em;
  margin-top:28px;
  color:var(--muted);
  white-space:normal;
}

.red-square {
  width:7px;
  height:7px;
  flex-shrink:0;
  background:var(--red);
}

.principles-strip {
  background:#fff;
  border-bottom:1px solid var(--line);
}

.principles-inner {
  min-height:79px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  font-size:.875rem;
  color:var(--green);
}

.principles-inner span {
  display:flex;
  align-items:center;
  gap:14px;
}

.principles-inner span:before {
  content:'+';
  font-family:var(--serif);
  font-size:1.35rem;
  color:#7d919b;
}

.section {
  padding-block:104px;
}

.section-intro {
  display:grid;
  grid-template-columns:1fr .75fr;
  gap:100px;
  align-items:end;
  padding-bottom:42px;
  border-bottom:1px solid var(--line);
}

.section-intro h2 {
  margin-bottom:0;
}

.section-intro>p {
  margin-bottom:8px;
  font-size:1.0625rem;
  line-height:1.9;
  color:var(--muted);
}

.competition-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:90px;
  padding-top:43px;
}

.competition-story {
  padding-top:10px;
  max-width:520px;
  color:var(--muted);
}

.lead {
  color:var(--ink);
  font-size:1.2rem;
  line-height:1.75;
}

.competition-story .text-link {
  margin-top:10px;
}

.event-details {
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:3px;
  padding:29px 30px;
}

.details-heading {
  display:flex;
  justify-content:space-between;
  align-items:start;
  gap:14px;
}

.details-heading h3 {
  font-size:1rem;
  margin:0;
}

.label {
  display:inline-block;
  white-space:nowrap;
  font-size:.6875rem;
  line-height:1.6;
  letter-spacing:.03em;
  color:#4b5b63;
  background:#edeae1;
  padding:3px 8px;
  border-radius:2px;
  font-weight:600;
}

dl {
  margin:22px 0 20px;
}

dl>div {
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:20px;
  padding-block:13px;
  border-bottom:1px solid var(--line);
  font-size:.875rem;
}

dt {
  color:var(--muted);
}

dd {
  margin:0;
  font-weight:600;
}

.event-details>p {
  font-size:.8125rem;
  color:var(--muted);
  line-height:1.75;
  margin-bottom:0;
}

.about-section {
  background:var(--green);
  color:#fff;
  padding-block:90px;
}

.about-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:90px;
}

.about-section .eyebrow {
  color:#f6e3a8;
}

.about-section h2 {
  font-size:clamp(2.7rem,4.2vw,3.8rem);
  margin-bottom:32px;
}

.about-section h2 em {
  color:#f8e9bb;
}

.definition {
  display:flex;
  flex-direction:column;
  max-width:330px;
  font-size:.875rem;
  line-height:1.8;
  color:#d1d9dd;
  border-top:1px solid #ffffff36;
  padding-top:23px;
  margin-bottom:0;
}

.definition strong {
  font-family:var(--serif);
  font-size:1.5rem;
  font-weight:400;
  color:#fff;
  margin-bottom:2px;
}

.definition span {
  font-size:.8125rem;
  margin-bottom:10px;
  color:#bcc8ce;
}

.definition i {
  margin-left:10px;
}

.about-copy {
  padding-top:7px;
  max-width:540px;
  color:#d1d9dd;
}

.about-copy .lead {
  color:#fff;
  font-family:var(--serif);
  font-size:1.9rem;
  letter-spacing:-.015em;
  line-height:1.4;
  margin-bottom:25px;
}

.about-copy>p {
  line-height:1.9;
}

.about-copy .about-signoff {
  font-size:.875rem;
  color:#e8e0cf;
  margin-top:30px;
  margin-bottom:0;
}

.schools-intro {
  max-width:765px;
}

.schools-intro>p:last-child {
  max-width:675px;
  color:var(--muted);
}

.school-topics {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:46px;
  margin-top:47px;
}

.school-topics article {
  padding-top:26px;
  border-top:1px solid var(--line);
}

.topic-icon {
  display:block;
  width:40px;
  height:40px;
  color:var(--green);
  margin-bottom:20px;
}

.topic-icon svg {
  fill:none;
  stroke:currentColor;
  stroke-width:1.3;
  stroke-linecap:round;
  stroke-linejoin:round;
  width:100%;
  height:100%;
}

.school-topics h3 {
  font-size:1rem;
  margin-bottom:12px;
}

.school-topics p {
  font-size:.9375rem;
  color:var(--muted);
  margin-bottom:0;
  line-height:1.85;
}

.faq-wrap {
  display:grid;
  grid-template-columns:1fr 1.8fr;
  gap:70px;
  margin-top:85px;
  padding-top:50px;
  border-top:1px solid var(--line);
}

.faq-wrap .eyebrow {
  margin-bottom:10px;
}

.faq-wrap h3 {
  font-family:var(--serif);
  font-size:2.4rem;
  font-weight:400;
  letter-spacing:-.03em;
}

.faq-list details {
  border-bottom:1px solid var(--line);
}

.faq-list details:first-child {
  border-top:1px solid var(--line);
}

summary {
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:21px 0;
  font-weight:600;
  font-size:.9375rem;
}

summary::-webkit-details-marker {
  display:none;
}

.faq-plus {
  width:14px;
  height:14px;
  position:relative;
  flex-shrink:0;
  margin-right:2px;
}

.faq-plus:before,.faq-plus:after {
  content:'';
  display:block;
  position:absolute;
  background:var(--green);
}

.faq-plus:before {
  width:14px;
  height:1px;
  top:6px;
}

.faq-plus:after {
  height:14px;
  width:1px;
  left:6px;
  transition:transform .2s;
}

details[open] .faq-plus:after {
  transform:rotate(90deg);
}

details>p {
  font-size:.9375rem;
  color:var(--muted);
  margin-bottom:22px;
  padding-right:30px;
  line-height:1.9;
}

.interest-section {
  background:var(--paper);
  padding-block:85px 95px;
  border-top:1px solid var(--line);
}

.interest-grid {
  display:grid;
  grid-template-columns:.95fr 1fr;
  gap:90px;
  align-items:center;
}

.interest-copy>p:not(.eyebrow) {
  max-width:440px;
  color:var(--muted);
}

.preview-notice {
  display:flex;
  gap:15px;
  align-items:start;
  margin-top:32px;
  max-width:430px;
}

.notice-icon {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  border:1px solid #909ba0;
  color:var(--green);
  width:22px;
  height:22px;
  flex-shrink:0;
  border-radius:50%;
  font-family:Georgia,serif;
  font-style:italic;
  font-size:.875rem;
  margin-top:3px;
}

.preview-notice p {
  font-size:.8125rem;
  color:var(--muted);
  margin-bottom:0;
  line-height:1.8;
}

.preview-notice strong {
  color:var(--green);
  font-weight:600;
}

.interest-form {
  background:#fff;
  border:1px solid var(--line);
  border-radius:4px;
  padding:32px;
  box-shadow:0 6px 18px #293d4604;
}

.form-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.form-heading h3 {
  font-size:1.06rem;
  margin-bottom:0;
}

.interest-form>p {
  font-size:.8125rem;
  color:var(--muted);
  margin-top:9px;
  margin-bottom:25px;
}

.form-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:15px;
}

.field {
  display:flex;
  flex-direction:column;
  gap:7px;
  margin-bottom:17px;
}

.field label {
  font-size:.875rem;
  font-weight:600;
}

.field input,.field select {
  border:1px solid #cdd4d7;
  border-radius:3px;
  min-width:0;
  width:100%;
  background:#fff;
  min-height:46px;
  padding:10px 12px;
  font-size:.875rem;
  color:var(--ink);
}

.field input::placeholder {
  color:#5f6b72;
  opacity:1;
}

.field input:focus,.field select:focus {
  border-color:var(--green);
}

.field select {
  appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23124d3e' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 15px center;
  padding-right:35px;
}

.form-submit {
  width:100%;
  margin-top:4px;
}

.interest-form>.form-footnote {
  font-size:.75rem;
  text-align:center;
  margin:12px 0 0;
}

.form-result {
  border:1px solid #b0bfc6;
  background:var(--paper);
  padding:20px;
  margin-top:22px;
  font-size:.875rem;
}

.form-result strong {
  display:block;
  line-height:1.6;
}

.form-result p {
  margin-block:10px 15px;
  color:var(--muted);
}

.site-footer {
  padding-block:44px 24px;
}

.footer-main {
  display:flex;
  align-items:start;
  gap:50px;
  padding-bottom:36px;
}

.footer-main .brand {
  margin-top:6px;
}

.footer-main .brand img {
  width:190px;
}

.footer-main>p {
  font-size:.8125rem;
  color:var(--muted);
  margin:8px 0 0;
  line-height:1.8;
}

.footer-main nav {
  margin-left:auto;
  display:flex;
  flex-direction:column;
  align-items:end;
  gap:9px;
  font-size:.8125rem;
}

.footer-main nav a:hover {
  text-decoration:underline;
  text-underline-offset:4px;
}

.footer-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
  border-top:1px solid var(--line);
  padding-top:22px;
  font-size:.75rem;
  color:var(--muted);
}

.footer-bottom p {
  margin-bottom:0;
}

.location {
  display:flex;
  align-items:center;
  gap:9px;
}

.uae-flag {
  width:26px;
  height:13px;
  flex-shrink:0;
  box-shadow:0 0 0 1px #ddd;
}

.footer-bottom>span {
  font-family:var(--serif);
  font-style:italic;
  font-size:.875rem;
}

fieldset {
  border:0;
  padding:0;
  margin:0;
  min-width:0;
}

fieldset>.form-footnote {
  font-size:.75rem;
  text-align:center;
  color:var(--muted);
  margin:12px 0 0;
}

@media(min-width:1600px) {
  .hero-grid {
    padding-block:100px;
  }
  .hero-art {
    max-width:490px;
  }
  .event-poster {
    padding:36px 40px;
  }
  .poster-title {
    font-size:5.5rem;
  }
}

@media(max-width:1100px) {
  .container {
    width:calc(100% - 72px);
  }
  .navigation {
    gap:20px;
    font-size:.8125rem;
  }
  .brand img {
    width:180px;
  }
  .hero-grid {
    gap:45px;
    padding-block:65px;
  }
  .event-poster {
    padding:27px;
  }
  .poster-title {
    font-size:4rem;
  }
  .hero-actions {
    gap:20px;
  }
  .hero-description {
    font-size:1rem;
  }
  .section-intro {
    gap:55px;
  }
  .competition-grid,.about-grid,.interest-grid {
    gap:50px;
  }
  .details-heading {
    flex-direction:column;
    gap:8px;
  }
  .school-topics {
    gap:30px;
  }
  .interest-form {
    padding:25px;
  }
  .form-row {
    grid-template-columns:1fr;
    gap:0;
  }
}

@media(max-width:820px) {
  :root {
    scroll-padding-top:95px;
  }
  .container {
    width:calc(100% - 48px);
  }
  .header-inner {
    min-height:80px;
    gap:15px;
  }
  .brand img {
    width:180px;
  }
  .menu-toggle {
    display:flex;
    align-items:center;
    gap:9px;
    background:transparent;
    color:var(--green);
    border:1px solid var(--line);
    padding:8px 12px;
    border-radius:3px;
    font-size:.875rem;
  }
  .menu-icon {
    position:relative;
    width:15px;
    height:12px;
    border-top:1px solid var(--green);
    border-bottom:1px solid var(--green);
  }
  .menu-icon:after {
    content:'';
    height:1px;
    width:15px;
    position:absolute;
    top:4.5px;
    left:0;
    background:var(--green);
  }
  .navigation {
    display:flex;
    position:absolute;
    top:80px;
    left:0;
    right:0;
    padding:24px;
    background:#fff;
    border-bottom:1px solid var(--line);
    flex-direction:column;
    gap:10px;
    align-items:stretch;
    font-size:.9375rem;
    box-shadow:0 12px 12px #26384108;
  }
  .js .navigation:not(.is-open) {
    display:none;
  }
  body:not(.js) .site-header {
    position:relative;
  }
  body:not(.js) .header-inner {
    flex-wrap:wrap;
    padding-block:16px;
  }
  body:not(.js) .menu-toggle {
    display:none;
  }
  body:not(.js) .navigation {
    position:static;
    box-shadow:none;
    border:0;
    padding:0 0 12px;
    width:100%;
  }
  .navigation>a:not(.button) {
    padding:8px 0;
  }
  .navigation .button {
    margin-top:6px;
  }
  .hero-grid {
    gap:25px;
    grid-template-columns:1.1fr 1fr;
    padding-block:55px;
  }
  .hero .eyebrow {
    font-size:.6875rem;
    letter-spacing:.09em;
    gap:8px;
  }
  .short-rule {
    width:16px;
  }
  h1 {
    font-size:3.7rem;
  }
  .hero-description {
    font-size:.9375rem;
    line-height:1.8;
  }
  .hero-art {
    padding:10px 5px;
  }
  .event-poster {
    padding:22px 20px;
  }
  .poster-title {
    font-size:3.2rem;
    padding:26px 0;
  }
  .poster-top {
    font-size:.5625rem;
  }
  .poster-footer {
    font-size:.625rem;
  }
  .poster-footer strong {
    font-size:.8125rem;
  }
  .poster-caption {
    font-size:.625rem;
    margin-top:22px;
  }
  .hero-actions {
    gap:19px;
  }
  .principles-inner {
    font-size:.75rem;
    gap:15px;
    min-height:70px;
  }
  .principles-inner span {
    gap:8px;
  }
  .section {
    padding-block:75px;
  }
  .section-intro {
    grid-template-columns:1fr 1fr;
    gap:35px;
  }
  .section-intro>p {
    font-size:.9375rem;
  }
  .competition-grid {
    gap:35px;
  }
  .event-details {
    padding:25px 22px;
  }
  dl>div {
    grid-template-columns:1fr;
    gap:3px;
    font-size:.8125rem;
  }
  .about-grid {
    gap:45px;
  }
  .about-section {
    padding-block:70px;
  }
  .about-copy .lead {
    font-size:1.65rem;
  }
  .about-copy>p {
    font-size:.9375rem;
  }
  .school-topics {
    gap:25px;
  }
  .school-topics h3 {
    font-size:.9375rem;
  }
  .school-topics p {
    font-size:.875rem;
  }
  .faq-wrap {
    grid-template-columns:1fr 2fr;
    gap:35px;
    margin-top:65px;
  }
  .faq-wrap .eyebrow {
    font-size:.6875rem;
    letter-spacing:.09em;
  }
  .interest-grid {
    gap:35px;
  }
  .interest-copy h2 {
    font-size:2.6rem;
  }
  .form-heading {
    align-items:start;
  }
  .form-heading h3 {
    font-size:.9375rem;
  }
  .footer-main {
    gap:25px;
  }
  .footer-main .brand img {
    width:160px;
  }
  .footer-bottom {
    gap:15px;
  }
  .footer-bottom>span {
    display:none;
  }
}

@media(max-width:620px) {
  .container {
    width:calc(100% - 40px);
  }
  .header-inner {
    min-height:76px;
  }
  .brand img {
    width:175px;
  }
  .navigation {
    top:76px;
  }
  .hero-grid {
    grid-template-columns:1fr;
    gap:35px;
    padding-block:45px 35px;
  }
  .hero .eyebrow {
    font-size:.6875rem;
    margin-bottom:22px;
  }
  .short-rule {
    width:24px;
  }
  h1 {
    font-size:clamp(3rem,11.8vw,4.6rem);
    margin-bottom:21px;
  }
  .hero-description {
    font-size:.9375rem;
    max-width:100%;
  }
  .hero-actions {
    gap:24px;
  }
  .hero-actions .button {
    padding-inline:17px;
  }
  .hero-note {
    margin-top:20px;
    font-size:.75rem;
  }
  .hero-art {
    max-width:380px;
    justify-self:center;
    padding:10px 12px;
  }
  .event-poster {
    padding:27px 29px;
  }
  .poster-title {
    font-size:4.5rem;
    padding:24px 0;
  }
  .poster-top {
    font-size:.625rem;
  }
  .poster-footer {
    font-size:.6875rem;
  }
  .poster-footer strong {
    font-size:.9375rem;
  }
  .poster-caption {
    font-size:.625rem;
    justify-content:center;
    margin-top:23px;
  }
  .principles-inner {
    flex-wrap:wrap;
    justify-content:start;
    gap:4px 22px;
    padding-block:16px;
    font-size:.75rem;
    min-height:0;
  }
  .principles-inner span:before {
    font-size:1.05rem;
  }
  .section {
    padding-block:60px;
  }
  .eyebrow {
    font-size:.6875rem;
    margin-bottom:19px;
  }
  h2 {
    font-size:2.6rem;
  }
  .section-intro {
    grid-template-columns:1fr;
    gap:22px;
    padding-bottom:28px;
  }
  .section-intro>p {
    margin-bottom:0;
  }
  .competition-grid {
    grid-template-columns:1fr;
    padding-top:25px;
    gap:30px;
  }
  .competition-story {
    padding-top:0;
    font-size:.9375rem;
  }
  .lead {
    font-size:1.125rem;
  }
  .event-details {
    padding:25px;
  }
  .details-heading {
    flex-direction:row;
    align-items:start;
    gap:14px;
  }
  .details-heading h3 {
    font-size:.9375rem;
  }
  .label {
    font-size:.625rem;
  }
  dl>div {
    grid-template-columns:.9fr 1.2fr;
    gap:15px;
  }
  .event-details>p {
    font-size:.8125rem;
  }
  .about-section {
    padding-block:55px;
  }
  .about-grid {
    grid-template-columns:1fr;
    gap:35px;
  }
  .about-section h2 {
    font-size:3.1rem;
    margin-bottom:24px;
  }
  .definition {
    max-width:100%;
    font-size:.8125rem;
  }
  .definition strong {
    font-size:1.4rem;
  }
  .about-copy {
    padding-top:0;
  }
  .about-copy .lead {
    font-size:1.75rem;
  }
  .about-copy .about-signoff {
    font-size:.8125rem;
    margin-top:22px;
  }
  .schools-intro h2 {
    font-size:2.4rem;
  }
  .schools-intro>p:last-child {
    font-size:.9375rem;
  }
  .school-topics {
    grid-template-columns:1fr;
    gap:23px;
    margin-top:28px;
  }
  .school-topics article {
    padding-top:22px;
    display:grid;
    grid-template-columns:37px 1fr;
    column-gap:20px;
  }
  .topic-icon {
    grid-row:span 2;
    width:34px;
    height:34px;
    margin-bottom:0;
  }
  .school-topics h3 {
    font-size:1rem;
    margin-bottom:8px;
  }
  .school-topics p {
    font-size:.875rem;
  }
  .faq-wrap {
    grid-template-columns:1fr;
    gap:12px;
    margin-top:50px;
    padding-top:35px;
  }
  .faq-wrap h3 {
    margin-bottom:16px;
  }
  .faq-wrap .eyebrow {
    margin-bottom:5px;
  }
  .faq-list summary {
    font-size:.875rem;
    padding-block:20px;
  }
  .faq-list details>p {
    font-size:.875rem;
    padding-right:15px;
  }
  .interest-section {
    padding-block:55px;
  }
  .interest-grid {
    grid-template-columns:1fr;
    gap:30px;
  }
  .interest-copy h2 {
    font-size:2.7rem;
  }
  .interest-copy>p:not(.eyebrow) {
    font-size:.9375rem;
  }
  .preview-notice {
    margin-top:23px;
  }
  .interest-form {
    padding:25px 22px;
  }
  .form-heading h3 {
    font-size:.9375rem;
  }
  .form-row {
    grid-template-columns:1fr;
    gap:0;
  }
  .field input,.field select {
    font-size:1rem;
    min-height:48px;
  }
  .field label {
    font-size:.875rem;
  }
  .site-footer {
    padding-block:35px 24px;
  }
  .footer-main {
    flex-wrap:wrap;
    gap:20px;
    justify-content:space-between;
    padding-bottom:27px;
  }
  .footer-main .brand {
    width:100%;
  }
  .footer-main .brand img {
    width:180px;
  }
  .footer-main>p {
    margin-top:0;
    max-width:48%;
    font-size:.75rem;
  }
  .footer-main nav {
    font-size:.75rem;
    gap:10px;
  }
  .footer-bottom {
    flex-wrap:wrap;
    justify-content:start;
    gap:12px 25px;
    font-size:.6875rem;
  }
  .uae-flag {
    width:24px;
    height:12px;
  }
}

@media(prefers-reduced-motion:reduce) {
  :root {
    scroll-behavior:auto;
  }
  *,*:before,*:after {
    transition:none!important;
    animation:none!important;
  }
}

@media print {
  .site-header {
    position:static;
  }
  .navigation,.menu-toggle,.hero-art,.interest-section,.footer-main nav,.hero-actions {
    display:none!important;
  }
  .container {
    width:90%;
  }
  .hero-grid,.section-intro,.competition-grid,.about-grid {
    display:block;
  }
  .section,.about-section {
    padding-block:24px;
  }
  .about-section {
    background:white;
    color:var(--ink);
  }
  .about-section p,.about-section .lead,.about-section h2 em {
    color:var(--ink);
  }
  details>p {
    display:block;
  }
  .site-footer {
    padding-top:10px;
  }
}

/* Keep the event artwork within narrow phone columns. */
.hero-grid > * { min-width: 0; }
@media (max-width: 620px) {
  .poster-title { font-size: clamp(2.8rem, 15vw, 4.5rem); }
}

/* Founder content is edited in dist/content/; keep both profiles consistent. */
.founders-jump {
  color: #e8e0cf;
  margin-top: 22px;
}

.founders-section {
  border-bottom: 1px solid var(--line);
}

.founders-intro {
  max-width: 760px;
  margin-bottom: 44px;
}

.founders-intro h2 {
  margin-bottom: 15px;
}

/* The shared photograph sits between the two equally wide biographies. */
.founders-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .86fr) minmax(0, 1fr);
  grid-template-areas: "yusuf portrait max";
  align-items: start;
  gap: clamp(24px, 3.2vw, 48px);
}

[data-founder="founder-1"] { grid-area: yusuf; }
[data-founder="founder-2"] { grid-area: max; }

.founder-portrait {
  grid-area: portrait;
  width: 100%;
  aspect-ratio: 5 / 4;
  align-self: center;
  overflow: hidden;
  border-radius: 3px;
  background: #f2efe8;
}

.founder-photo-placeholder {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
  color: #71848e;
  border: 1px solid #e5e0d4;
  border-radius: 3px;
}

.founder-photo-placeholder svg {
  width: 44px;
  height: 44px;
}

.founder-photo-placeholder span {
  font-size: .875rem;
}

.founder-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.founder-copy {
  padding-top: 7px;
  min-width: 0;
}

.founder-role {
  font-size: .875rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.founder-copy h3 {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.2;
  margin-bottom: 16px;
  overflow-wrap: anywhere;
}

[data-founder-bio] p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.85;
  overflow-wrap: anywhere;
  margin-bottom: 13px;
}

[data-founder-bio] p:last-child {
  margin-bottom: 0;
}

@media (max-width: 850px) {
  .founders-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "portrait portrait" "yusuf max";
    row-gap: 30px;
  }
  .founder-portrait { justify-self: center; max-width: 360px; }
  .founder-copy { padding-top: 0; }
}

@media (max-width: 620px) {
  .founders-intro { margin-bottom: 24px; }
  .founders-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "portrait" "yusuf" "max";
    row-gap: 28px;
  }
  .founder-copy + .founder-copy {
    border-top: 1px solid var(--line);
    padding-top: 28px;
  }
}

/* Homepage introduction to the separate interactive activity. */
.home-explore { background: var(--paper); border-top: 1px solid var(--line); padding-block: 65px; }
.home-explore-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.home-explore h2 { margin-bottom: 0; font-size: clamp(2.3rem, 3.4vw, 3.1rem); }
.home-explore-copy p { color: var(--muted); }
.home-explore-copy .button { margin-top: 6px; }
@media (max-width: 820px) { .home-explore-inner { gap: 40px; } }
@media (max-width: 620px) { .home-explore { padding-block: 50px; } .home-explore-inner { grid-template-columns: 1fr; gap: 24px; } }

/* Chalkboard scheme: a faint graph-paper grid on the light page areas.
   Dark slate bands and game boards stay solid, like a chalkboard. */
:root { --grid-line: #efe9de; --grid-size: 26px; }
body .bento, body .interest-section, body .papers-page, body.explore-page, body.explore-page.hub-page {
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
}

/* Competitions dropdown in the main navigation (26 Nov).
   Hover (or keyboard focus) opens the list; clicking the word still goes to
   the Competitions page. The arrow button opens it on touch screens. */
.nav-menu { position: relative; display: flex; align-items: center; gap: 2px; }
.nav-menu-link { padding-block: 12px; position: relative; }
.nav-menu-link:after { content: ''; height: 2px; background: var(--green); position: absolute; bottom: 5px; left: 0; right: 100%; transition: right .2s; }
.nav-menu-link:hover:after, .nav-menu.is-current .nav-menu-link:after { right: 0; }
.nav-menu-toggle { display: inline-grid; place-items: center; width: 28px; height: 32px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--green); cursor: pointer; }
.nav-menu-toggle svg { transition: transform .2s; }
.nav-menu-toggle:hover, .nav-menu-toggle:focus-visible { background: #eef2f3; }
.nav-menu-toggle:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.nav-submenu { position: absolute; top: 100%; left: -16px; z-index: 40; min-width: 250px; margin: 0; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 30px rgba(38, 56, 65, .14); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility 0s .15s; }
/* An invisible bridge so the pointer can travel from the word to the list. */
.nav-submenu:before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-menu:hover .nav-submenu, .nav-menu:focus-within .nav-submenu, .nav-menu.is-open .nav-submenu { opacity: 1; visibility: visible; transform: none; transition: opacity .15s, transform .15s; }
.nav-menu:hover .nav-menu-toggle svg, .nav-menu.is-open .nav-menu-toggle svg { transform: rotate(180deg); }
.nav-submenu a { display: grid; gap: 1px; padding: 10px 12px; border-radius: 8px; color: var(--green); text-decoration: none; }
.nav-submenu a b { font-weight: 700; font-size: .9375rem; }
.nav-submenu a span { font-weight: 400; font-size: .8125rem; color: var(--muted); }
.nav-submenu a:hover, .nav-submenu a:focus-visible { background: #f3efe6; outline: none; }
.nav-submenu a:focus-visible { box-shadow: inset 0 0 0 2px var(--green); }
.nav-submenu a[aria-current="page"] { background: #f3efe6; }

/* In the phone menu the two competitions are always listed under the word. */
@media (max-width: 820px) {
  .nav-menu { display: block; }
  .nav-menu-link { display: inline-block; padding: 8px 0; }
  .nav-menu-toggle { display: none; }
  .nav-submenu { position: static; min-width: 0; padding: 0 0 4px 14px; border: 0; border-left: 2px solid var(--line); border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .nav-submenu:before { display: none; }
  .nav-submenu a { padding: 6px 10px; }
}
@media (prefers-reduced-motion: reduce) { .nav-submenu, .nav-menu-toggle svg, .nav-menu-link:after { transition: none; } }
@media print { .nav-submenu { display: none; } }

/* Policy links in the footer (28 Nov): Privacy, Terms, Safeguarding. */
.footer-legal {
  display:flex;
  flex-wrap:wrap;
  gap:6px 18px;
}

.footer-legal a {
  color:inherit;
  text-decoration:underline;
  text-underline-offset:3px;
}

.footer-legal a:hover,
.footer-legal a[aria-current] {
  color:var(--green);
}

/* Footer map (28 Nov): two short columns, Competitions and Conjecture. */
.footer-main nav.footer-cols { flex-direction: row; align-items: start; gap: 56px; }
.footer-col { display: flex; flex-direction: column; align-items: start; gap: 9px; }
.footer-col b, .footer-col-title { font-weight: 700; color: var(--green); }
.footer-col a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 620px) {
  .footer-main nav.footer-cols { width: 100%; flex-wrap: wrap; gap: 24px 40px; }
}
