/* CORNELL CHI PHI — SHARED STYLES
   Public-facing website styles.
*/

:root {
  --bg: #091118;
  --panel: #101c25;
  --panel-raised: #14232e;
  --panel-deep: #0b161f;
  --text: #f4f1e9;
  --muted: #a4b0b7;
  --subtle: #7f9099;
  --line: rgba(197,211,217,.17);
  --line-strong: rgba(197,211,217,.31);
  --accent: #d7a578;
  --accent-pale: #f6d6b7;
  --danger: #ee9a8c;
  --max: 1296px;
  --sans: Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --serif: Georgia,"Times New Roman",serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; line-height: 1.55; }
::selection { background: #805738; color: white; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-pale); }
button,input,select,textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; }

/* HERO */

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse 60% 85% at -8% 65%,#172e3a 0,transparent 69%),linear-gradient(110deg,#091118,#0b1820 65%,#0a141a); }
.hero:before { content: ""; pointer-events: none; position: absolute; inset: 0; background-image: linear-gradient(90deg,transparent 0,transparent calc(100% - 1px),rgba(255,255,255,.027) 100%); background-size: 94px 100%; mask-image: linear-gradient(90deg,#000,transparent 70%); }
.hero-glow { position: absolute; top: -200px; right: 3%; width: 650px; height: 650px; background: radial-gradient(circle,rgba(115,147,163,.10),transparent 65%); pointer-events: none; }
.hero-layout { position: relative; display: grid; grid-template-columns: minmax(0,1.35fr) minmax(310px,.75fr); gap: 6.5%; align-items: center; padding-top: 78px; padding-bottom: 70px; }
.hero-copy { padding: 8px 0 28px; }
.eyebrow,.kicker { display: block; font-size: .69rem; font-weight: 800; letter-spacing: .18em; color: var(--accent); text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.eyebrow-line { width: 30px; height: 1px; background: var(--accent); }
.slash { color: #79878e; font-weight: 400; }
.hero h1 { font-size: clamp(3.7rem,5.55vw,6.4rem); line-height: 1.075; letter-spacing: -.075em; font-weight: 650; margin: 0; max-width: 850px; }
.hero h1 .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.07em; }
.hero h1 .accent-line { color: var(--accent-pale); }
.hero-lead { margin: 34px 0 0; max-width: 695px; color: #adbac2; line-height: 1.8; font-size: 1.05rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 38px; }

.button { min-height: 51px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 13px 21px; border: 1px solid transparent; text-transform: uppercase; letter-spacing: .08em; font-weight: 850; font-size: .69rem; transition: background .2s,transform .2s,border-color .2s,color .2s; }
.button span:last-child { font-size: 1.05rem; font-weight: 450; line-height: 1; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button-primary { background: var(--accent); border-color: var(--accent); color: #142029; }
.button-primary:hover:not(:disabled) { background: #f0c69e; color: #142029; }
.button-outline { background: transparent; border-color: var(--line-strong); color: #e6e8e6; }
.button-outline:hover { border-color: var(--accent); color: var(--accent-pale); }
.button-quiet { background: transparent; border-color: var(--line-strong); color: var(--text); }
.button-quiet:hover { background: #192b37; }
.button:disabled { opacity: .43; transform: none; }
.hero-notice { display: flex; gap: 9px; align-items: center; font-size: .73rem; margin: 22px 0 0; color: #8ea2ad; }
.lock-glyph { font-size: 1.2rem; color: var(--accent); }

/* HERO CASE GRAPHIC */

.hero-aside { align-self: stretch; border: 1px solid rgba(208,210,204,.19); background: linear-gradient(155deg,rgba(33,52,63,.72),rgba(12,23,32,.94)); padding: 25px 32px; position: relative; min-height: 590px; box-shadow: 0 23px 68px #0002; }
.hero-aside:after { content: ""; position: absolute; top: 7px; right: 7px; bottom: 7px; left: 7px; border: 1px solid rgba(255,255,255,.04); pointer-events: none; }
.case-upper,.case-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .57rem; letter-spacing: .18em; font-weight: 800; color: #a6b1b8; }
.case-upper span:last-child { color: var(--accent); }
.case-graphic { position: relative; height: 240px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.case-graphic:before,.case-graphic:after { content: ""; position: absolute; background: rgba(194,206,209,.08); }
.case-graphic:before { width: 100%; height: 1px; top: 50%; }
.case-graphic:after { width: 1px; height: 100%; left: 50%; }
.graphic-ring { position: absolute; border: 1px solid rgba(215,165,120,.4); border-radius: 50%; aspect-ratio: 1; }
.ring-one { width: 185px; }
.ring-two { width: 148px; border-style: dashed; opacity: .7; }
.graphic-cross { position: absolute; color: var(--accent); font-weight: 300; font-size: 1.2rem; }
.cross-one { left: 12%; top: 16%; }
.cross-two { right: 16%; bottom: 12%; }
.graphic-center { z-index: 2; background: #13232d; border: 1px solid var(--accent); border-radius: 50%; width: 110px; height: 110px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: .56rem; letter-spacing: .18em; line-height: 1.6; color: #b9ac9c; }
.graphic-center strong { font-family: var(--serif); font-size: 2.4rem; line-height: 1.1; color: var(--accent-pale); font-weight: 400; letter-spacing: 0; }
.case-statement { margin: 0; font-size: clamp(1.65rem,2.45vw,2.42rem); line-height: 1.22; letter-spacing: -.045em; font-weight: 540; }
.case-statement em { font-family: var(--serif); color: var(--accent-pale); font-weight: 400; }
.case-rule { height: 1px; background: var(--line-strong); margin: 25px 0 17px; }
.case-line { display: flex; align-items: baseline; gap: 18px; border-bottom: 1px solid var(--line); padding: 10px 0; }
.case-line span { color: var(--accent); font-size: .62rem; font-weight: 800; }
.case-line p { font-size: .76rem; color: #bdc7cd; margin: 0; }
.case-footer { margin-top: 22px; color: #8797a0; }
.case-footer span { font-size: 1rem; color: var(--accent); }
.hero-bottom { position: relative; display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); padding: 19px 0; color: #80939d; font-size: .62rem; font-weight: 750; letter-spacing: .16em; }
.hero-bottom-scroll { color: #dbb08b; }
.hero-bottom-scroll span { font-size: 1.1rem; margin-left: 7px; }

/* PROCESS SECTION */

.process { padding: 90px 0 95px; background: #0b151d; border-bottom: 1px solid var(--line); }
.section-head { display: flex; flex-direction: column; gap: 0; }
.section-head h2,.report-sidebar h2,.closing-inner h2 { margin: 12px 0 0; font-size: clamp(2.4rem,4.4vw,4.4rem); line-height: 1.12; letter-spacing: -.065em; font-weight: 600; }
.section-head h2 em,.report-sidebar h2 em,.closing-inner h2 em { font-family: var(--serif); font-weight: 400; color: var(--accent-pale); }
.process-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; margin-top: 51px; }
.process-item { padding-top: 19px; border-top: 1px solid var(--line-strong); }
.step-index { font-size: .65rem; font-weight: 800; color: var(--accent); display: flex; align-items: center; gap: 15px; }
.step-line { width: 25px; background: rgba(215,165,120,.45); height: 1px; }
.process-item h3 { font-size: 1.14rem; margin: 24px 0 9px; letter-spacing: -.025em; }
.process-item p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.8; max-width: 310px; }

/* REPORT FORM SECTION */

.report-section { padding: 102px 0 113px; background: radial-gradient(ellipse 55% 48% at -18% 70%,#19303a 0,transparent 70%),#081219; border-bottom: 1px solid var(--line); }
.report-layout { display: grid; grid-template-columns: minmax(270px,.77fr) minmax(0,1.23fr); gap: min(6vw,100px); align-items: start; }
.report-sidebar { position: sticky; top: 45px; padding-top: 14px; }
.report-sidebar h2 { margin-top: 24px; font-size: clamp(2.7rem,4vw,4.15rem); line-height: 1.07; }
.report-sidebar>p { margin: 29px 0 0; color: var(--muted); line-height: 1.85; font-size: .94rem; max-width: 365px; }
.sidebar-divider { height: 1px; width: 100%; background: var(--line-strong); margin: 37px 0 34px; }
.side-note { display: flex; align-items: flex-start; gap: 15px; margin: 25px 0; }
.side-icon { color: var(--accent); font-size: 1.1rem; line-height: 1.1; }
.side-note strong { display: block; font-size: .81rem; color: #ecece7; }
.side-note p { margin: 6px 0 0; font-size: .79rem; line-height: 1.76; color: #a3afb5; }
.side-note a { color: var(--accent-pale); text-decoration: underline; text-underline-offset: 3px; }

/* FORM PANEL */

.form-panel { background: #13222d; border: 1px solid rgba(212,222,228,.24); box-shadow: 0 30px 75px #0003; min-width: 0; }
.form-panel-top,.form-panel-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 30px; background: #192c38; border-bottom: 1px solid var(--line); font-size: .58rem; letter-spacing: .15em; color: #adbcc3; font-weight: 850; }
.form-version { color: var(--accent); }
.form-panel-bottom { border-bottom: 0; border-top: 1px solid var(--line); background: #101d26; }
.form-panel-bottom>span:last-child { color: var(--accent); }
.prelaunch-note { margin: 29px 30px 0; border: 1px solid #967154; background: rgba(169,119,69,.12); padding: 15px 18px; font-size: .81rem; line-height: 1.7; color: #e4c9b1; }
.prelaunch-note strong { display: block; color: #f6daba; }
.form-intro { padding: 32px 30px 0; }
.form-intro h3 { margin: 0; font-size: 1.62rem; font-weight: 650; letter-spacing: -.045em; }
.form-intro p { margin: 8px 0 0; font-size: .79rem; color: var(--muted); }
.form-intro p span,.form-field b,.confirm-check b { color: var(--accent); font-weight: 700; }
.form-progress { padding: 0 30px; margin: 25px 0 0; list-style: none; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; }
.form-progress li { padding: 11px 4px 11px 0; border-top: 2px solid #465c67; display: flex; flex-direction: column; gap: 3px; color: #8a9ca7; }
.form-progress li span { font-size: .73rem; letter-spacing: .09em; font-weight: 800; }
.form-progress li small { font-size: .66rem; font-weight: 650; }
.form-progress li.is-active { color: var(--accent-pale); border-color: var(--accent); }
.form-progress li.is-complete { color: #d6dede; border-color: #849a91; }

#reportForm { padding: 0 30px 28px; }
.form-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.step-heading { margin-top: 30px; margin-bottom: 28px; }
.step-heading>span { font-size: .64rem; font-weight: 800; letter-spacing: .13em; color: var(--accent); }
.step-heading h4 { font-size: clamp(1.5rem,2.5vw,2.1rem); letter-spacing: -.06em; font-weight: 600; line-height: 1.15; margin: 9px 0 11px; }
.step-heading p { margin: 0; color: var(--muted); font-size: .83rem; line-height: 1.8; }
.form-field { display: flex; flex-direction: column; gap: 9px; margin: 24px 0; }
.form-field label,.field-label { font-size: .8rem; font-weight: 730; color: #e1e7e8; }
.form-field input,.form-field select,.form-field textarea { width: 100%; border: 1px solid rgba(210,224,229,.25); background: #0c1a24; color: #f4f3ee; border-radius: 0; min-height: 49px; padding: 13px 15px; outline: none; font-size: .88rem; transition: border-color .2s,box-shadow .2s; }
.form-field textarea { line-height: 1.65; resize: vertical; min-height: 116px; }
.form-field input::placeholder,.form-field textarea::placeholder { color: #8498a4; }
.form-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='none' stroke='%23d7a578' stroke-width='1.6' d='m1 1 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.form-field input:focus,.form-field select:focus,.form-field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(215,165,120,.12); }
.field-hint { margin: -2px 0 0; color: #8ca1ab; font-size: .73rem; line-height: 1.65; }
.field-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check-tile { display: flex; align-items: center; gap: 12px; min-height: 66px; padding: 12px 14px; border: 1px solid var(--line-strong); background: #101e28; cursor: pointer; font-size: .8rem; color: #cbd6d9; line-height: 1.4; }
.check-tile:has(input:checked) { border-color: var(--accent); background: #25303a; color: #f2e2d2; }
.check-tile input,.small-check input,.privacy-option input { accent-color: var(--accent); width: 17px; height: 17px; margin: 0; flex: 0 0 auto; }
.textarea-bottom { display: flex; justify-content: space-between; gap: 12px; color: #8399a6; font-size: .68rem; }
.privacy-options { display: grid; gap: 10px; }
.privacy-option { display: flex; align-items: flex-start; gap: 14px; border: 1px solid var(--line-strong); background: #0d1b25; padding: 15px; cursor: pointer; }
.privacy-option:has(input:checked) { border-color: var(--accent); background: #202c35; }
.privacy-option input { margin-top: 2px; }
.privacy-option strong { display: block; font-size: .84rem; font-weight: 730; color: #e8e8e2; }
.privacy-option small { display: block; color: #9aacb7; line-height: 1.7; margin-top: 4px; font-size: .73rem; }
.small-check { display: flex; align-items: flex-start; gap: 12px; margin: 16px 0; color: #d4dde1; font-size: .81rem; line-height: 1.7; cursor: pointer; }
.small-check input { margin-top: 4px; }
.form-warning { margin: 27px 0 0; padding: 17px 18px; background: #1a2b36; border-left: 2px solid var(--accent); color: #afbbc3; font-size: .78rem; line-height: 1.75; }
.form-warning strong { color: var(--accent-pale); }
.review-summary { border: 1px solid var(--line-strong); background: #0d1922; padding: 4px 19px; }
.review-row { padding: 13px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 36% 1fr; gap: 15px; }
.review-row:last-child { border-bottom: 0; }
.review-row span:first-child { font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; color: #94a5ac; }
.review-row span:last-child { font-size: .83rem; overflow-wrap: anywhere; color: #e4e7e6; }
.confirm-check { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.launch-lock { padding: 15px 17px; background: rgba(215,165,120,.10); border: 1px solid rgba(215,165,120,.4); margin-top: 23px; color: #c6b8ad; font-size: .82rem; }
.launch-lock strong { color: var(--accent-pale); }
.launch-lock p { margin: 4px 0 0; line-height: 1.7; }
.form-error,.form-status { padding: 12px 14px; margin: 19px 0 0; font-size: .82rem; line-height: 1.7; border-left: 3px solid var(--danger); background: rgba(180,61,54,.11); color: #ffcec7; }
.form-status { border-color: #92b8aa; background: rgba(109,154,140,.13); color: #c9e5d5; }
.form-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; }
.form-actions .button { min-width: 174px; }
.form-actions .button:only-child { margin-left: auto; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* PUBLICATION STANDARDS */

.principles { padding: 102px 0 106px; background: #0c171f; border-bottom: 1px solid var(--line); }
.principles .section-head { max-width: 840px; }
.principles .section-head>p { margin: 22px 0 0; max-width: 780px; font-size: .96rem; color: #adb8bf; line-height: 1.85; }
.standards-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; margin-top: 55px; }
.standards-grid article { padding: 29px 0; border-top: 1px solid var(--line-strong); }
.principle-no { font-family: var(--serif); font-size: 2.3rem; color: var(--accent); line-height: 1; }
.standards-grid h3 { font-size: 1.14rem; letter-spacing: -.03em; margin: 24px 0 12px; }
.standards-grid p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.85; }

/* CLOSING CTA */

.closing-cta { padding: 82px 0; background: radial-gradient(ellipse 72% 210% at 89% 120%,#25404b 0,transparent 63%),#111f29; }
.closing-inner { display: flex; justify-content: space-between; align-items: center; gap: 45px; }
.closing-inner h2 { font-size: clamp(2.1rem,4vw,3.8rem); }
.closing-inner p { max-width: 600px; color: #acbfc5; line-height: 1.75; margin: 19px 0 0; font-size: .89rem; }
.closing-actions { display: flex; flex-direction: column; gap: 12px; min-width: 223px; }
.closing-actions .button { justify-content: space-between; }

/* RESPONSIVE */

@media (max-width:1180px) {
  .hero-layout { grid-template-columns: minmax(0,1.2fr) minmax(295px,.8fr); gap: 36px; }
  .hero h1 { font-size: clamp(3.2rem,5.25vw,5rem); }
  .hero-aside { padding: 24px; min-height: 575px; }
  .report-layout { gap: 37px; }
}

@media (max-width:920px) {
  .hero-layout { grid-template-columns: 1fr; gap: 18px; padding-top: 68px; }
  .hero h1 { font-size: clamp(3.7rem,8vw,6.2rem); }
  .hero-aside { min-height: 0; max-width: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; align-items: center; }
  .case-upper,.case-footer { grid-column: span 2; }
  .case-graphic { height: 220px; grid-row: 2 / 6; }
  .case-statement { grid-column: 2; grid-row: 2; font-size: 2rem; }
  .case-rule { grid-column: 2; grid-row: 3; margin: 10px 0 4px; }
  .case-line { grid-column: 2; }
  .case-footer { grid-row: 6; }
  .process-grid { grid-template-columns: repeat(2,1fr); row-gap: 39px; }
  .report-layout { grid-template-columns: 1fr; gap: 36px; }
  .report-sidebar { position: static; max-width: 780px; }
  .report-sidebar h2 br { display: none; }
  .report-sidebar .side-note { display: inline-flex; width: calc(33% - 14px); vertical-align: top; margin-right: 10px; }
  .report-sidebar .sidebar-divider { margin: 25px 0; }
  .form-panel { max-width: 840px; width: 100%; }
  .standards-grid { gap: 18px; }
}

@media (max-width:640px) {
  .hero-layout { padding-top: 62px; padding-bottom: 43px; }
  .hero-copy { padding-bottom: 12px; }
  .hero h1 { font-size: clamp(3.05rem,11.2vw,4.7rem); letter-spacing: -.075em; }
  .hero-lead { font-size: .95rem; margin-top: 26px; line-height: 1.75; }
  .eyebrow { font-size: .6rem; gap: 8px; letter-spacing: .11em; }
  .eyebrow-line { width: 19px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; justify-content: space-between; }
  .hero-aside { display: block; padding: 22px; }
  .case-graphic { height: 175px; }
  .ring-one { width: 153px; }
  .ring-two { width: 125px; }
  .graphic-center { width: 100px; height: 100px; }
  .case-statement { font-size: 1.85rem; margin-top: 5px; }
  .case-rule { margin: 21px 0 10px; }
  .case-footer { margin-top: 20px; }
  .hero-bottom { gap: 12px; flex-wrap: wrap; font-size: .52rem; }
  .hero-bottom>span:nth-child(2) { display: none; }
  .process,.report-section,.principles { padding-top: 72px; padding-bottom: 76px; }
  .process-grid { gap: 28px; margin-top: 35px; }
  .process-item h3 { font-size: 1rem; margin-top: 17px; }
  .process-item p { font-size: .79rem; }
  .report-sidebar .side-note { display: flex; width: 100%; margin: 19px 0; }
  .report-sidebar h2 { font-size: 3rem; }
  .form-panel-top,.form-panel-bottom { padding: 15px 17px; font-size: .51rem; letter-spacing: .08em; }
  .form-intro { padding: 24px 18px 0; }
  .form-intro h3 { font-size: 1.45rem; }
  .prelaunch-note { margin: 18px 18px 0; padding: 12px; font-size: .74rem; }
  .form-progress { padding: 0 18px; }
  .form-progress li small { font-size: .57rem; }
  .form-progress li span { font-size: .65rem; }
  #reportForm { padding: 0 18px 19px; }
  .step-heading { margin-top: 24px; }
  .field-pair,.checkbox-grid { grid-template-columns: 1fr; }
  .check-tile { min-height: 54px; }
  .form-actions .button { min-width: 0; padding-inline: 14px; gap: 10px; }
  .form-actions { gap: 8px; }
  .review-row { grid-template-columns: 1fr; gap: 4px; }
  .principles .section-head>p { font-size: .87rem; }
  .standards-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 30px; }
  .standards-grid article { padding-top: 22px; }
  .closing-cta { padding: 64px 0; }
  .closing-inner { align-items: stretch; flex-direction: column; gap: 28px; }
  .closing-actions { flex-direction: column; }
}

@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
