/* Oxford Talks forms (20 Oct 2026): the stylesheet of prototype/_form.html, built by scripts/build-forms.py.
   On /form?f=<key>. The fonts are the site's own files; .nav is .fnav because Webflow's base CSS styles .nav. */
@font-face{font-family:'Eloquia Display';font-weight:100;font-style:normal;font-display:swap;src:url(https://cdn.prod.website-files.com/6a98597d3ec49edce285e7da/6a985b8c287c521087090525_EloquiaDisplay-100.woff2) format('woff2')}
@font-face{font-family:'Eloquia Display';font-weight:200;font-style:normal;font-display:swap;src:url(https://cdn.prod.website-files.com/6a98597d3ec49edce285e7da/6a985b8dcf40b1c73d1e7b8b_EloquiaDisplay-200.woff2) format('woff2')}
@font-face{font-family:'Eloquia Display';font-weight:400;font-style:normal;font-display:swap;src:url(https://cdn.prod.website-files.com/6a98597d3ec49edce285e7da/6a985b8da6c4872a124c9cf7_EloquiaDisplay-400.woff2) format('woff2')}
@font-face{font-family:'Eloquia Display';font-weight:500;font-style:normal;font-display:swap;src:url(https://cdn.prod.website-files.com/6a98597d3ec49edce285e7da/6a985b8d287c521087090580_EloquiaDisplay-500.woff2) format('woff2')}

  /* 17 Oct 2026, second pass (Waleed: "The UI/UX is off and it needs to be black background").
     Black ground as the site's dark pages; one centred column, as Typeform; the site's own pills and buttons. */
  :root{
    --ink:#000; --tangerine:#EC652B; --paper:#F8F6F4; --cream:#F2EDE9;
    --bg:#000; --fg:var(--cream); --fg-60:rgba(248,246,244,.72); --fg-30:rgba(248,246,244,.3); --fg-12:rgba(248,246,244,.12); --fg-06:rgba(248,246,244,.06);
    --accent:var(--tangerine);
    --sans:"Eloquia Display","Helvetica Neue",Helvetica,Arial,sans-serif;
    --gut:clamp(16px,5vw,72px); --col:680px;
  }
  *{box-sizing:border-box;margin:0;padding:0}
  html,body{height:100%;overflow:hidden;background:var(--bg)}
  body{font-family:var(--sans);font-weight:200;color:var(--fg);-webkit-font-smoothing:antialiased;margin:0}
  button,input,textarea{font:inherit;color:inherit}
  ::selection{background:var(--accent);color:var(--paper)}
  .mark{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:25;stroke-linecap:round;stroke-linejoin:round}

  /* chrome */
  .bar{position:fixed;inset:0 0 auto 0;height:2px;background:var(--fg-12);z-index:5}
  .bar i{display:block;height:100%;width:0;background:var(--accent);transition:width .8s cubic-bezier(.22,.8,.24,1)}
  .top{position:fixed;top:0;left:0;right:0;display:flex;align-items:center;gap:12px;padding:22px var(--gut);z-index:4}
  .top a{color:inherit;text-decoration:none;display:flex;align-items:center;gap:10px;font-size:14px;font-weight:400;letter-spacing:.02em;opacity:.8;transition:opacity .2s}
  .top a:hover{opacity:1}
  .fnav[hidden]{display:none!important}
  .fnav{position:fixed;right:var(--gut);bottom:28px;display:flex;gap:1px;z-index:4}
  .fnav button{width:42px;height:36px;border:1px solid var(--fg-30);background:transparent;cursor:pointer;display:grid;place-items:center;transition:border-color .2s,color .2s}
  .fnav button:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}
  .fnav button:first-child{border-radius:999px 0 0 999px}.fnav button:last-child{border-radius:0 999px 999px 0}
  .fnav button:disabled{opacity:.3;cursor:default}
  .fnav svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5}

  /* stage. Motion after Typeform: the old question glides up and fades; the new one rises from below, line by line.
     Transform and opacity only, so it stays smooth on phones. */
  .stage{position:fixed;inset:0;overflow:clip}   /* clip, not hidden: a hidden box is a scroll container and Chrome let it swallow the wheel */
  .q{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:96px var(--gut) 110px;
     opacity:0;transform:translate3d(0,70px,0);pointer-events:none;will-change:transform,opacity;
     transition:opacity .38s cubic-bezier(.4,0,.2,1),transform .62s cubic-bezier(.22,.8,.24,1)}
  .q.on{opacity:1;transform:none;pointer-events:auto}
  .q.up{transform:translate3d(0,-70px,0);transition:opacity .3s cubic-bezier(.4,0,.2,1),transform .5s cubic-bezier(.5,0,.75,0)}
  /* 56px of room on the left so the hanging question number is not clipped by the scroll box */
  .inner{width:100%;max-width:calc(var(--col) + 56px);margin-left:-56px;max-height:100%;overflow-y:auto;padding:4px 2px 4px 56px;scrollbar-width:none}
  .q.c .inner{margin-left:0;padding-left:2px;max-width:var(--col)}
  .inner::-webkit-scrollbar{display:none}
  .inner:focus{outline:none}
  .q .inner>*{opacity:0;transform:translate3d(0,22px,0);transition:opacity .5s ease,transform .7s cubic-bezier(.22,.8,.24,1)}
  .q.on .inner>*{opacity:1;transform:none}
  .q.on .inner>*:nth-child(1){transition-delay:.10s}.q.on .inner>*:nth-child(2){transition-delay:.16s}
  .q.on .inner>*:nth-child(3){transition-delay:.22s}.q.on .inner>*:nth-child(4){transition-delay:.28s}
  .q.on .inner>*:nth-child(5){transition-delay:.34s}.q.on .inner>*:nth-child(6){transition-delay:.40s}
  .q.up .inner>*{transition-delay:0s!important;opacity:0;transform:translate3d(0,-14px,0)}
  @media(prefers-reduced-motion:reduce){.q,.q .inner>*,.choices .ch{transition-duration:.01s!important;transform:none!important}}

  /* Waleed, 17 Oct: the lead line at 200 was "too thin" on black. Supporting text, answers and typing are Regular (400);
     headings stay ExtraLight as the brand asks. */
  /* the question: number hangs in the margin, as Typeform */
  .qh{position:relative}
  .num{position:absolute;right:calc(100% + 18px);top:.62em;white-space:nowrap;font-size:13px;font-weight:400;letter-spacing:.04em;color:var(--accent);display:flex;align-items:center;gap:6px}
  .num svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.6}
  /* 20 Oct: Webflow's base stylesheet gives h2 its own family and bold, and p and a their own sizes; on the live page the form names its own */
  h1,h2,h3,p,a,label,button,input,textarea,kbd{font-family:var(--sans)}
  h1,h2{font-weight:200;letter-spacing:-.02em}
  h1{font-size:clamp(44px,6vw,72px);line-height:1.02}
  h2{font-size:clamp(26px,3vw,34px);line-height:1.22}
  h2 .opt{font-size:11px;letter-spacing:.22em;text-transform:uppercase;font-weight:400;color:var(--fg-60);margin-left:12px;vertical-align:.5em}
  .help{margin-top:10px;font-size:17px;line-height:1.55;font-weight:400;color:var(--fg-60)}
  .lead{margin:22px auto 0;font-size:20px;line-height:1.5;font-weight:400;color:var(--fg-60);max-width:30ch}

  .field{margin-top:34px}
  .field input,.field textarea{width:100%;border:0;border-bottom:1px solid var(--fg-30);background:transparent;
     font-size:clamp(22px,2.4vw,28px);font-weight:400;padding:6px 0 12px;outline:none;border-radius:0;resize:none;caret-color:var(--accent);transition:border-color .25s}
  .field textarea{min-height:52px;line-height:1.4;overflow:hidden}
  .field input:focus,.field textarea:focus{border-color:var(--accent)}
  .field input::placeholder,.field textarea::placeholder{color:var(--fg-30)}

  .choices{margin-top:30px;display:inline-flex;flex-direction:column;align-items:stretch;gap:10px;min-width:min(280px,100%);max-width:100%}
  .ch{display:flex;align-items:center;gap:14px;text-align:left;border:1px solid var(--fg-30);background:var(--fg-06);
      padding:10px 22px 10px 10px;border-radius:999px;cursor:pointer;font-size:17px;font-weight:400;
      opacity:0;transform:translate3d(0,12px,0);
      transition:opacity .45s ease,transform .6s cubic-bezier(.22,.8,.24,1),border-color .2s,background .2s,color .2s}
  .q.on .choices .ch{opacity:1;transform:none}
  .ch kbd{font:inherit;font-size:11px;font-weight:400;letter-spacing:.04em;width:26px;height:26px;border:1px solid var(--fg-30);border-radius:999px;display:grid;place-items:center;flex:none;transition:border-color .2s,color .2s,background .2s}
  .ch .tick{margin-left:auto;padding-left:12px;width:28px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;opacity:0;transition:opacity .2s}
  .ch:hover{border-color:var(--fg);background:rgba(248,246,244,.1)}
  .ch.sel{border-color:var(--accent);background:rgba(236,101,43,.16);color:var(--paper)}
  .ch.sel kbd{border-color:var(--accent);background:var(--accent);color:var(--ink)}
  .ch.sel .tick{opacity:1}
  .ch.flash{animation:blink .5s steps(1,end)}
  @keyframes blink{0%,50%{background:rgba(236,101,43,.16);border-color:var(--accent)}25%,75%{background:transparent;border-color:var(--fg-30)}}

  .act{margin-top:30px;display:flex;align-items:center;gap:16px;flex-wrap:wrap}
  .btn{display:inline-flex;align-items:center;gap:10px;padding:12px 22px;border-radius:999px;font-size:14px;font-weight:400;letter-spacing:.02em;
       border:1px solid var(--fg);background:var(--fg);color:var(--ink);cursor:pointer;text-decoration:none;transition:background .2s,border-color .2s,color .2s,transform .2s}
  .btn:focus,.ch:focus,.fnav button:focus{outline:none}
  .btn:focus-visible,.ch:focus-visible,.fnav button:focus-visible{outline:1px solid var(--accent);outline-offset:3px}
  .btn:hover{background:var(--accent);border-color:var(--accent);color:var(--paper);transform:translateY(-1px)}
  .btn svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8}
  .hint{font-size:12px;font-weight:400;color:var(--fg-60);letter-spacing:.02em}
  .hint b{font-weight:400;color:var(--fg)}
  .err{margin-top:14px;font-size:13px;letter-spacing:.02em;color:var(--accent);font-weight:400;min-height:1.2em}
  .q.shake .inner{animation:shake .35s ease}
  @keyframes shake{25%{transform:translateX(-6px)}75%{transform:translateX(6px)}}

  /* 20 Oct: dates, and lists longer than ten (the Fellowship's "Nominated by") in two columns */
  .field input[type=date]{color-scheme:dark;min-height:1.6em}
  .choices.many{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  @media(max-width:600px){.choices.many{grid-template-columns:1fr}}
  /* welcome and ending: centred, as Typeform */
  .q.c .inner{text-align:center}
  .q.c .act{justify-content:center}
  .q.c .big{width:64px;height:64px;stroke-width:17;margin:0 auto 32px;display:block}
  .q.end .big{color:var(--accent)}
  .q.end h2{font-size:clamp(30px,4vw,44px);max-width:20ch;margin:0 auto}

  /* The Davos scene, from the Davos page (snow in depth, faceted isometric ranges). On the opening screen it is the
     picture; through the questions the ranges sink and the snow dims so they never compete; at the end they rise again. */
  .sky{position:fixed;inset:0;width:100vw;height:100vh;z-index:0;pointer-events:none}
  .scene{position:fixed;left:0;right:0;bottom:0;height:min(46vh,560px);z-index:0;pointer-events:none;overflow:hidden}
  .scene .range{position:absolute;inset:0}
  .scene svg{position:absolute;left:-8%;bottom:0;width:116%;height:100%;display:block;overflow:visible;will-change:transform}
  .stage{z-index:1}
  .q.c.scened{align-items:flex-start;padding-top:clamp(110px,17vh,190px)}
  @media(max-width:600px){.scene{height:38vh}.q.c.scened{padding-top:14vh}}
  @media(prefers-reduced-motion:reduce){.sky{display:none}}
  /* The title (Waleed, 17 Oct: "I can't go back to the top most page so I don't know what I am applying for ... slide up
     or morph into the Title on the top ... controlled with the scroll"). One title, drawn once, fixed: on the opening
     page it is the headline; the scroll carries it up and down into the top bar, where it stays. In the last stretch it
     crossfades into a crisp Regular label, because ExtraLight at 14px is too thin (LESSONS.md, 17 Oct). */
  .ttlw{position:fixed;inset:0;z-index:3;pointer-events:none;animation:ttlIn .9s cubic-bezier(.22,.8,.24,1) .12s both}
  @keyframes ttlIn{from{opacity:0;translate:0 22px}}
  .ttl{position:fixed;left:0;top:0;margin:0;white-space:nowrap;font-weight:200;letter-spacing:-.02em;line-height:1.08;
       font-size:72px;transform-origin:0 0;will-change:transform,opacity;pointer-events:none}
  .q.rail,.q.rail .inner>*,.q.rail .choices .ch{transition:none!important}
  .q.rail .inner>*,.q.rail .choices .ch{opacity:1!important;transform:none!important}
  .q.rail.pe-off{pointer-events:none}
  .ttl-slot{display:block}
  .ttl-top{position:fixed;top:0;left:0;transform-origin:0 0;will-change:transform,opacity;height:26px;line-height:26px;z-index:5;
       white-space:nowrap;font-size:14px;font-weight:400;letter-spacing:.01em;color:var(--fg);
       background:none;border:0;padding:0;cursor:pointer;opacity:0;pointer-events:none;transition:color .2s}
  .ttl-top.live{pointer-events:auto}
  .ttl-top:hover{color:var(--accent)}
  .q.scrub,.q.scrub .inner>*,.q.scrub .choices .ch{transition:none!important}
  .q.scrub .inner>*,.q.scrub .choices .ch{opacity:1!important;transform:none!important}
  .q.measure,.q.measure .inner>*{transition:none!important;transform:none!important}
  @media(max-width:600px){.top a span{display:none}}
  .log{position:fixed;left:var(--gut);bottom:24px;width:min(360px,calc(100% - 2*var(--gut)));max-height:38vh;overflow:auto;z-index:6;
       background:rgba(248,246,244,.08);border:1px solid var(--fg-12);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);color:var(--paper);border-radius:14px;padding:12px 14px;font:400 11px/1.55 ui-monospace,Menlo,monospace}
  .log b{color:var(--accent);font-weight:400}

  @media(max-width:860px){
    .num{position:static;margin-bottom:12px}
    .inner{margin-left:0;padding-left:2px;max-width:var(--col)}
  }
  @media(max-width:600px){
    .q{align-items:flex-start;padding:84px var(--gut) 96px}
    .q.c{align-items:center}
    .hint{display:none}
    .lead{font-size:18px}
    .ch{font-size:16px}
    .choices{display:flex}
    .fnav{bottom:20px}
    .field input,.field textarea{font-size:22px}
  }
  @media(hover:none){.hint{display:none}}
