:root{
  --black:#000000;
  --deep-black:#020202;
  --ink:#050505;
  --surface:#080808;
  --text:#F5F5F0;
  --muted:#B3B3B3;
  --accent:#1E2A6C;
  --metallic:#B08A5C;
  --radius:14px;
  --max:1100px;
  
  --space-xs:0.5rem;
  --space-sm:1rem;
  --space-md:2rem;
  --space-lg:4rem;
  --space-xl:6rem;
  --space-xxl:10rem;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{
  margin:0;
  padding:0;
  background:radial-gradient(ellipse at top, var(--deep-black) 0%, var(--black) 100%);
  color:var(--text);
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial,sans-serif;
  line-height:1.6;
  letter-spacing:0.01em;
}
img{max-width:100%;display:block}

*:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:4px;
  border-radius:4px;
}

button:focus-visible,a:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:4px;
}

h1,h2,h3,.quote,.strip__inner{
  font-family:Cinzel,serif;
  letter-spacing:0.02em;
  text-transform:none;
  line-height:1.2;
  font-weight:600;
}

h1{
  font-size:clamp(48px,7vw,86px);
  text-align:center;
  margin:0;
  font-weight:700;
  letter-spacing:0.03em;
}

h2{
  font-size:clamp(32px,4vw,52px);
  margin:0 0 var(--space-md);
  font-weight:600;
  letter-spacing:0.02em;
}

h3{
  font-size:22px;
  margin:0 0 var(--space-xs);
  font-weight:600;
  letter-spacing:0.02em;
}

body,p,.btn,input,.hero__strap,.muted,.card p{
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial,sans-serif;
  line-height:1.65;
  letter-spacing:0.005em;
}

.section p:not(.manifesto__para):not(.manifesto__bridge):not(.manifesto__signature){
  animation:fadeUp 200ms ease-out backwards;
}

.section p:not(.manifesto__para):not(.manifesto__bridge):not(.manifesto__signature):nth-of-type(1){animation-delay:0ms}
.section p:not(.manifesto__para):not(.manifesto__bridge):not(.manifesto__signature):nth-of-type(2){animation-delay:50ms}
.section p:not(.manifesto__para):not(.manifesto__bridge):not(.manifesto__signature):nth-of-type(3){animation-delay:100ms}
.section p:not(.manifesto__para):not(.manifesto__bridge):not(.manifesto__signature):nth-of-type(4){animation-delay:150ms}
.section p:not(.manifesto__para):not(.manifesto__bridge):not(.manifesto__signature):nth-of-type(5){animation-delay:200ms}
.section p:not(.manifesto__para):not(.manifesto__bridge):not(.manifesto__signature):nth-of-type(6){animation-delay:250ms}

@keyframes fadeUp{
  from{opacity:0;transform:translateY(12px)}
  to{opacity:1;transform:translateY(0)}
}

.muted{color:var(--muted)}

.container{
  width:100%;
  max-width:var(--max);
  margin:0 auto;
  padding:0 var(--space-md);
}

.section{
  padding:var(--space-xxl) 0;
}

.narrow{max-width:640px}

@media (max-width:900px){
  .section{padding:var(--space-xl) 0}
  .section p{padding-top:12px}
}

.hero{
  position:relative;
  min-height:100vh;
  padding:var(--space-xxl) 0;
  display:grid;
  place-items:center;
  text-align:center;
  background:radial-gradient(ellipse at center, #0A0A0A 0%, #000000 100%);
  animation:heroFade 1.4s cubic-bezier(0.25,0.1,0.15,1);
}

@keyframes heroFade{
  from{opacity:0}
  to{opacity:1}
}

.hero__inner{
  max-width:640px;
  animation:contentFadeIn 1s cubic-bezier(0.25,0.1,0.15,1) 0.4s backwards;
}

@keyframes contentFadeIn{
  from{opacity:0;transform:translateY(20px)}
  to{opacity:1;transform:translateY(0)}
}

.hero h1{
  font-size:clamp(48px,7vw,86px);
  letter-spacing:0.03em;
}

.hero__name{
  font-family:Cinzel,serif;
  letter-spacing:0.03em;
  margin:var(--space-md) 0 var(--space-md);
  font-size:clamp(17px,1.8vw,24px);
  font-weight:400;
  text-transform:uppercase;
}

.divider{
  width:180px;
  height:1px;
  background:linear-gradient(90deg, transparent 0%, var(--accent) 20%, var(--metallic) 50%, var(--accent) 80%, transparent 100%);
  margin:var(--space-md) auto;
  opacity:.8;
  box-shadow:0 0 12px rgba(176,138,92,0.15);
}

.hero__strap{
  line-height:1.65;
  font-size:clamp(15px,1.4vw,19px);
  max-width:600px;
  margin:var(--space-sm) auto 0;
  font-weight:300;
}

.scroll-cue{
  margin-top:var(--space-lg);
  background:transparent;
  border:1.5px solid rgba(30,42,108,0.4);
  color:var(--text);
  padding:14px 32px;
  border-radius:999px;
  cursor:pointer;
  font-family:Cinzel,serif;
  letter-spacing:0.03em;
  font-size:12px;
  text-transform:uppercase;
  font-weight:500;
  transition:all 300ms cubic-bezier(0.25,0.1,0.15,1);
  box-shadow:inset 0 0 0 rgba(30,42,108,0),0 0 0 rgba(30,42,108,0);
}

.scroll-cue:hover{
  background:rgba(30,42,108,0.12);
  border-color:rgba(30,42,108,0.7);
  transform:translateY(-2px);
  box-shadow:inset 0 1px 2px rgba(176,138,92,0.1),0 8px 24px rgba(30,42,108,0.2);
}

.scroll-cue:active{
  transform:translateY(0);
}

.creed,.works,.join{
  animation:sectionFade 1s cubic-bezier(0.25,0.1,0.15,1) backwards;
  animation-delay:300ms;
}

@keyframes sectionFade{
  from{opacity:0;transform:translateY(32px)}
  to{opacity:1;transform:translateY(0)}
}

.two-col{
  display:grid;
  gap:var(--space-lg);
  grid-template-columns:1fr;
  align-items:start;
}

@media (min-width:900px){
  .two-col{grid-template-columns:320px 1fr}
}

.works .cards{
  display:grid;
  gap:var(--space-md);
  grid-template-columns:1fr;
  margin-top:var(--space-md);
}

@media (min-width:900px){
  .works .cards{grid-template-columns:repeat(3,1fr)}
}

.card{
  background:linear-gradient(135deg, var(--surface) 0%, #060606 100%);
  border:1px solid #141414;
  border-radius:var(--radius);
  padding:var(--space-md);
  min-height:200px;
  display:flex;
  flex-direction:column;
  gap:var(--space-sm);
  transition:all 250ms cubic-bezier(0.25,0.1,0.15,1);
  box-shadow:0 2px 8px rgba(0,0,0,0.3);
}

.card:hover{
  border-color:#222;
  background:linear-gradient(135deg, #0A0A0A 0%, var(--surface) 100%);
  transform:translateY(-4px);
  box-shadow:0 12px 32px rgba(0,0,0,0.5),inset 0 1px 0 rgba(176,138,92,0.08);
}

.card h3{
  font-size:22px;
  margin:0 0 var(--space-xs);
  letter-spacing:0.02em;
}

.card p{
  line-height:1.7;
  color:#d9d9d9;
  font-weight:300;
}

.card--essays{
  min-height:250px;
}

.essay-actions{
  margin-top:auto;
  display:flex;
  flex-direction:column;
  gap:var(--space-sm);
}

.essay-actions .btn{
  margin:0;
}

.essay-actions iframe{
  width:100%;
  height:52px;
  border:none;
  background:transparent;
  margin:0;
  padding:0;
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 1px 3px rgba(0,0,0,0.15);
  font-family:Inter,system-ui,sans-serif;
  letter-spacing:0.005em;
}

.btn{
  width:max-content;
  margin-top:auto;
  background:var(--accent);
  color:#fff;
  border:none;
  border-radius:12px;
  padding:14px 24px;
  letter-spacing:0.01em;
  font-weight:500;
  cursor:pointer;
  text-decoration:none;
  display:inline-block;
  font-size:13px;
  text-transform:uppercase;
  transition:all 250ms cubic-bezier(0.25,0.1,0.15,1);
  box-shadow:0 2px 8px rgba(30,42,108,0.3),inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn:hover{
  background:#2537A0;
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(30,42,108,0.4),inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn:disabled{
  cursor:not-allowed;
  opacity:0.5;
}

.btn:active{
  transform:translateY(0);
  box-shadow:0 2px 8px rgba(30,42,108,0.3),inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn-ghost{
  background:transparent;
  border:1px solid #222;
  color:var(--text);
  box-shadow:none;
}

.btn-ghost:hover{
  border-color:#3A3A3A;
  background:rgba(30,42,108,0.08);
  box-shadow:0 4px 16px rgba(0,0,0,0.2),inset 0 1px 0 rgba(176,138,92,0.1);
}

.btn-ghost:active{
  box-shadow:none;
}

.strip{
  border-block:1px solid #0F0F10;
  background:linear-gradient(180deg,#030303 0%,var(--ink) 50%,#030303 100%);
  padding:var(--space-md) 0;
  overflow:hidden;
  box-shadow:inset 0 1px 0 rgba(176,138,92,0.03);
}

.strip__inner{
  display:flex;
  gap:var(--space-xl);
  white-space:nowrap;
  animation:marq 40s linear infinite;
  font-family:Cinzel,serif;
  letter-spacing:0.03em;
  color:#DCDCDC;
  opacity:.75;
  font-size:clamp(13px,1.1vw,17px);
  font-weight:500;
}

.strip__inner span{padding-inline:var(--space-sm)}

@keyframes marq{
  0%{transform:translateX(0)}
  48%{transform:translateX(-50%)}
  52%{transform:translateX(-50%)}
  100%{transform:translateX(-100%)}
}

.join{
  text-align:center;
}

.join h2{
  margin-bottom:var(--space-sm);
}

.email-form{
  display:flex;
  gap:var(--space-sm);
  margin-top:var(--space-md);
  flex-wrap:wrap;
  justify-content:center;
}

.email-form input{
  flex:1;
  background:var(--surface);
  border:1px solid #181818;
  border-radius:12px;
  color:var(--text);
  padding:14px 18px;
  min-width:300px;
  font-size:15px;
  font-weight:300;
  transition:all 200ms cubic-bezier(0.25,0.1,0.15,1);
  box-shadow:inset 0 2px 4px rgba(0,0,0,0.3);
}

.email-form input:disabled{
  opacity:0.6;
  cursor:not-allowed;
}

.email-form input:focus{
  outline:none;
  border-color:var(--accent);
  background:#0A0A0A;
  box-shadow:inset 0 2px 4px rgba(0,0,0,0.3),0 0 0 3px rgba(30,42,108,0.15);
}

.email-form input::placeholder{
  color:#7c7c7c;
  font-weight:300;
}

.form-notice{
  margin-top:var(--space-xs);
  font-size:13px;
  font-style:italic;
  opacity:.7;
}

.form-msg{
  margin-top:var(--space-sm);
  min-height:24px;
  color:#AAB5D1;
  font-size:15px;
  font-weight:400;
  transition:color 200ms ease-out;
}

.manifesto{
  text-align:center;
  background:radial-gradient(ellipse at center, #050505 0%, var(--black) 100%);
}

.manifesto .container{
  max-width:720px;
}

.manifesto__bridge{
  font-size:14px;
  text-transform:uppercase;
  color:#CBB994;
  letter-spacing:0.08em;
  font-weight:500;
  margin:0 0 var(--space-lg);
  opacity:.85;
}

.manifesto h2{
  font-size:clamp(36px,5vw,42px);
  margin-bottom:var(--space-xl);
  letter-spacing:0.02em;
  font-weight:600;
}

.manifesto__content{
  max-width:680px;
  margin:0 auto;
}

.manifesto__para{
  font-size:clamp(18px,2vw,20px);
  line-height:1.65;
  letter-spacing:0.01em;
  margin:0 0 var(--space-lg);
  padding:0 var(--space-sm);
  opacity:0;
  animation:manifestoFadeIn 300ms cubic-bezier(0.25,0.1,0.15,1) forwards;
}

.manifesto__para:nth-child(1){animation-delay:200ms}
.manifesto__para:nth-child(2){animation-delay:400ms}
.manifesto__para:nth-child(3){animation-delay:600ms}
.manifesto__para:nth-child(4){animation-delay:800ms}
.manifesto__para:nth-child(5){animation-delay:1000ms}

@keyframes manifestoFadeIn{
  from{opacity:0;transform:translateY(12px)}
  to{opacity:1;transform:translateY(0)}
}

.manifesto__closing{
  margin:var(--space-xl) 0 var(--space-lg);
  opacity:0;
  animation:manifestoFadeIn 300ms cubic-bezier(0.25,0.1,0.15,1) 1200ms forwards;
}

.manifesto__closing p{
  font-size:clamp(17px,1.8vw,19px);
  line-height:1.75;
  letter-spacing:0.005em;
  margin:0;
}

.manifesto__signature{
  font-family:Cinzel,serif;
  font-size:16px;
  font-style:italic;
  font-weight:500;
  letter-spacing:0.02em;
  color:var(--muted);
  margin:var(--space-xl) 0 0;
  padding-top:var(--space-lg);
  opacity:0;
  animation:manifestoFadeIn 300ms cubic-bezier(0.25,0.1,0.15,1) 1400ms forwards;
  transition:color 250ms ease;
}

.manifesto__signature:hover{
  color:#F8F8F4;
}

@media (max-width:900px){
  .manifesto__para{
    margin-bottom:var(--space-xl);
    font-size:16px;
  }
  .manifesto__bridge{
    margin-bottom:var(--space-md);
  }
}

.footer{
  padding:var(--space-xl) 0;
  border-top:1px solid #0F0F10;
  text-align:center;
  background:linear-gradient(180deg,var(--black) 0%,var(--deep-black) 100%);
}

.footer__mark{
  width:110px;
  margin:0 auto var(--space-sm);
  opacity:.55;
}

.footer p{
  margin:var(--space-xs) 0;
  line-height:1.8;
  font-size:14px;
  font-weight:300;
}

.footer .muted{
  opacity:.8;
  font-size:12px;
  letter-spacing:0.03em;
  text-transform:uppercase;
  font-family:Cinzel,serif;
  font-weight:500;
}

@media (max-width:390px){
  .hero h1{
    font-size:42px;
    letter-spacing:0.035em;
  }
  .hero__name{letter-spacing:0.03em}
  h2{
    letter-spacing:0.025em;
  }
  .manifesto h2{
    letter-spacing:0.03em;
  }
  .manifesto__para{
    letter-spacing:0.012em;
  }
  .creed h2{
    letter-spacing:0.025em;
  }
  .two-col{gap:var(--space-md)}
  .email-form{flex-direction:column}
  .btn,.btn-ghost{width:100%;text-align:center}
}
