/* CITED — shared styles. Fonts + responsive rules. */
@font-face{font-family:'Cabinet';src:url('./CabinetGrotesk-Black.otf') format('opentype');font-weight:900;font-display:swap;}
@font-face{font-family:'Cabinet';src:url('./CabinetGrotesk-Bold.otf') format('opentype');font-weight:700;font-display:swap;}
@font-face{font-family:'Cabinet';src:url('./CabinetGrotesk-Medium.otf') format('opentype');font-weight:500;font-display:swap;}
@font-face{font-family:'Cabinet';src:url('./CabinetGrotesk-Regular.otf') format('opentype');font-weight:400;font-display:swap;}
@font-face{font-family:'Cabinet';src:url('./CabinetGrotesk-Light.otf') format('opentype');font-weight:300;font-display:swap;}
*{box-sizing:border-box;}
html,body{margin:0;padding:0;background:#0E1116;width:100%;overflow-x:hidden;}
body{font-family:'Cabinet',sans-serif;-webkit-font-smoothing:antialiased;}
a{transition:opacity .15s ease;}
header nav a:hover{opacity:.75;}
header nav a{white-space:nowrap;}
input:focus,textarea:focus,select:focus{border-color:#3EE07F !important;outline:none;}
button{cursor:pointer;transition:filter .15s ease;}
button:hover{filter:brightness(.96);}
img,svg,video{max-width:100%;height:auto;}

/* ===== Tablet & below ===== */
@media (max-width:900px){
  [style*="grid-template-columns"]{grid-template-columns:1fr !important;}
}

/* ===== Header: tidy single nav row that scrolls if needed ===== */
@media (max-width:860px){
  header>div{flex-direction:column !important;align-items:flex-start !important;gap:12px !important;padding-left:20px !important;padding-right:20px !important;}
  header nav{flex-wrap:nowrap !important;overflow-x:auto !important;-webkit-overflow-scrolling:touch;width:100%;gap:18px !important;padding-bottom:4px;scrollbar-width:none;}
  header nav::-webkit-scrollbar{display:none;}
  header nav a{font-size:15px !important;flex:0 0 auto;}
}

/* ===== Layout: stack side-by-side flex rows so nothing squishes ===== */
@media (max-width:760px){
  section [style*="justify-content:space-between"],
  article [style*="justify-content:space-between"],
  footer [style*="justify-content:space-between"]{flex-direction:column !important;align-items:flex-start !important;}
  [style*="gap:70px"],[style*="gap:64px"],[style*="gap:56px"],[style*="gap:48px"],[style*="gap:40px"],[style*="gap:38px"],[style*="gap:36px"]{gap:22px !important;}
  [style*="min-width:340px"],[style*="min-width:380px"],[style*="min-width:320px"]{min-width:0 !important;width:100% !important;}
  [style*="text-align:right"]{text-align:left !important;}
}

/* ===== Phone ===== */
@media (max-width:640px){
  h1{font-size:clamp(32px,8.2vw,50px) !important;line-height:1.06 !important;letter-spacing:-1px !important;}
  [style*="font-size:130px"],[style*="font-size:120px"],[style*="font-size:118px"],[style*="font-size:108px"],[style*="font-size:96px"]{font-size:clamp(38px,10vw,60px) !important;}
  [style*="font-size:90px"],[style*="font-size:88px"],[style*="font-size:84px"],[style*="font-size:80px"],[style*="font-size:74px"],[style*="font-size:72px"]{font-size:clamp(32px,8.5vw,50px) !important;}
  [style*="font-size:66px"],[style*="font-size:64px"],[style*="font-size:62px"],[style*="font-size:60px"],[style*="font-size:56px"],[style*="font-size:54px"],[style*="font-size:52px"]{font-size:clamp(28px,6.5vw,40px) !important;}
  [style*="font-size:48px"],[style*="font-size:46px"],[style*="font-size:44px"],[style*="font-size:42px"],[style*="font-size:40px"],[style*="font-size:38px"]{font-size:clamp(24px,5.2vw,32px) !important;}
  [style*="font-size:36px"],[style*="font-size:34px"],[style*="font-size:32px"],[style*="font-size:30px"]{font-size:clamp(21px,4.6vw,27px) !important;}
  [style*="font-size:27px"],[style*="font-size:26px"],[style*="font-size:25px"],[style*="font-size:24px"],[style*="font-size:23px"]{font-size:18px !important;line-height:1.5 !important;}
  [style*="font-size:22px"],[style*="font-size:21px"],[style*="font-size:20px"],[style*="font-size:19px"]{font-size:17px !important;line-height:1.55 !important;}
  [style*="padding:130px"],[style*="padding:120px"],[style*="padding:110px"],[style*="padding:104px"],[style*="padding:100px"],[style*="padding:96px"],[style*="padding:90px"]{padding-top:56px !important;padding-bottom:56px !important;padding-left:20px !important;padding-right:20px !important;}
  [style*="padding:80px"]{padding-top:48px !important;padding-bottom:48px !important;padding-left:20px !important;padding-right:20px !important;}
  [style*="padding:48px"],[style*="padding:46px"],[style*="padding:44px"]{padding:28px !important;}
  [style*="padding:40px 44px"],[style*="padding:40px"]{padding:26px !important;}
  [style*="padding:20px 42px"],[style*="padding:18px 34px"]{padding:16px 26px !important;}
}


/* Cited organisation author system */
.cited-author-card{max-width:960px;margin:56px auto;padding:28px;border:1px solid #303943;border-radius:18px;background:#171d25;display:flex;gap:22px;align-items:flex-start}.cited-author-card__logo{width:72px;height:72px;object-fit:contain;border-radius:14px;background:#fff;padding:8px;flex:0 0 auto}.cited-author-card__eyebrow{margin:0 0 6px;color:#3EE07F;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.cited-author-card h2{margin:0 0 8px;font-size:26px;color:#fff}.cited-author-card p{margin:0 0 12px;color:#c9d0d8;line-height:1.65}.cited-author-card__meta{display:flex;flex-wrap:wrap;gap:10px 18px;font-size:14px;color:#9fa9b5}.cited-author-card a{color:#3EE07F;text-decoration:none}.cited-author-card a:hover{text-decoration:underline}.cited-author-page{max-width:920px;margin:0 auto;padding:90px 24px}.cited-author-page__hero{display:grid;grid-template-columns:120px 1fr;gap:28px;align-items:center;margin-bottom:48px}.cited-author-page__logo{width:120px;height:120px;object-fit:contain;background:#fff;border-radius:22px;padding:14px}.cited-author-page h1{margin:0 0 10px}.cited-author-page h2{margin-top:42px}.cited-author-page p,.cited-author-page li{line-height:1.75}.cited-author-page a{color:#3EE07F}@media(max-width:640px){.cited-author-card{margin:38px 20px;flex-direction:column}.cited-author-page__hero{grid-template-columns:1fr}.cited-author-page__logo{width:96px;height:96px}}
