/* LookTwice — minimal, cinematic editorial system */

:root{
  --bg: #0b0c10;
  --fg: #f4f2ee;
  --muted: rgba(244,242,238,.72);
  --muted2: rgba(244,242,238,.52);
  --line: rgba(244,242,238,.14);
  --card: rgba(255,255,255,.04);
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --accent: #FFC300;

  --max: 1100px;
  --read: 72ch;

  --radius: 999px;
  --radius2: 18px;

  --h1: clamp(2.2rem, 4.2vw, 4.2rem);
  --h2: clamp(1.4rem, 2.2vw, 2.1rem);
  --h3: clamp(1.1rem, 1.6vw, 1.35rem);
  --body: clamp(1.05rem, 1.1vw, 1.18rem);
  --mono: 0.86rem;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  background: var(--bg);
  color: var(--fg);
  font-family: ui-serif, "Newsreader", Georgia, serif;
  font-size: var(--body);
  line-height: 1.65;
  letter-spacing: .01em;
}

a{ color: inherit; text-decoration: none; }
a:hover{ color: var(--fg); }
::selection{ background: rgba(255,195,0,.25); }

.container{
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.mono{
  font-family: ui-monospace, "IBM Plex Mono", SFMono-Regular, Menlo, monospace;
  font-size: var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted2);
}

.h-sans{
  font-family: ui-sans-serif, "Switzer", system-ui, -apple-system, Segoe UI, Inter, Arial, sans-serif;
  letter-spacing: -0.02em;
}

hr{
  border:0;
  height:1px;
  background: var(--line);
  margin: 28px 0;
}

/* Floating pill nav */
.nav-wrap{
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 50;
  pointer-events: none;
}
.nav{
  pointer-events: auto;
  width: min(980px, calc(100% - 28px));
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(10,11,14,.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background .35s ease, border-color .35s ease, transform .35s ease;
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
}
.nav.scrolled{
  background: rgba(10,11,14,.72);
  border-color: rgba(255,255,255,.18);
}
.brand{
  display:flex;
  align-items:baseline;
  gap: 10px;
}
.brand .title{
  font-family: ui-sans-serif, "Switzer", system-ui, -apple-system, Segoe UI, Inter, Arial, sans-serif;
  font-weight: 520;
  letter-spacing: -0.02em;
}
.brand .dot{
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  opacity: .9;
}
.nav-links{
  display:flex;
  gap: 14px;
  align-items:center;
  flex-wrap: wrap;
}
.nav a{
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted);
  transition: color .2s ease, background .2s ease;
}
.nav a:hover{
  color: var(--fg);
  background: rgba(255,255,255,.06);
}
.nav a.subscribe{
  border: 1px solid rgba(255,195,0,.35);
  color: rgba(255,195,0,.92);
}
.nav a.subscribe:hover{
  background: rgba(255,195,0,.12);
}

/* Hero */
.hero{
  position: relative;
  min-height: 90vh;
  width: 100%;
  display:flex;
  align-items: center;
  justify-content: center;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(1200px 600px at 50% 20%, rgba(0,0,0,.10), rgba(0,0,0,.55)),
    linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,.65));
  pointer-events:none;
}
.hero img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.02) contrast(1.02);
}
.hero-inner{
  position: relative;
  width: min(980px, calc(100% - 48px));
  text-align: center;              /* centered */
  transform: translateY(-6vh);     /* positioned up slightly */
}
.tagline{
  margin: 0;
  font-size: var(--h1);
  line-height: 1.06;
  font-weight: 560;
  text-wrap: balance;
}
.subline{
  margin: 14px auto 0;
  max-width: 52ch;
  color: rgba(244,242,238,.82);
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  line-height: 1.45;
}
.hero-meta{
  margin-top: 18px;
  display:flex;
  justify-content:center;
  gap: 10px;
  color: var(--muted2);
}

/* Marquee */
.marquee{
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  overflow:hidden;
}
.marquee-track{
  display:flex;
  gap: 18px;
  padding: 14px 0;
  white-space: nowrap;
  will-change: transform;
  animation: scroll 42s linear infinite;
}
.marquee span{
  color: rgba(244,242,238,.70);
  letter-spacing: .08em;
  font-size: .82rem;
  font-family: ui-monospace, "IBM Plex Mono", SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
}
.marquee .sep{ color: rgba(255,195,0,.75); }
@keyframes scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* Sections */
.section{
  padding: 72px 0;
}
.section.tight{ padding: 54px 0; }
.kicker{
  margin: 0 0 10px;
}
.h2{
  margin: 0 0 18px;
  font-size: var(--h2);
  line-height: 1.15;
  font-weight: 560;
}
.lede{
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
}

/* Writing list */
.list{
  margin-top: 28px;
  display:flex;
  flex-direction: column;
  gap: 18px;
}
.item{
  padding: 18px 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius2);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.item:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.045);
}
.item .title{
  margin: 0;
  font-size: var(--h3);
  line-height: 1.2;
  font-weight: 560;
}
.item .meta{
  margin-top: 8px;
  display:flex;
  gap: 10px;
  align-items:center;
  color: var(--muted2);
}
.item .excerpt{
  margin: 12px 0 0;
  color: rgba(244,242,238,.78);
  max-width: 78ch;
}

/* Manifesto preview + themes */
.grid{
  margin-top: 26px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}
.panel{
  padding: 22px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius2);
}
.panel a.inline{
  display:inline-block;
  margin-top: 14px;
  color: rgba(255,195,0,.92);
  border-bottom: 1px solid rgba(255,195,0,.35);
  padding-bottom: 2px;
}
.panel a.inline:hover{
  border-bottom-color: rgba(255,195,0,.75);
}

/* Newsletter */
.newsletter{
  display:flex;
  gap: 12px;
  align-items:center;
  flex-wrap: wrap;
  margin-top: 18px;
}
input[type="email"]{
  flex: 1 1 260px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.25);
  color: var(--fg);
  outline: none;
}
input[type="email"]::placeholder{ color: rgba(244,242,238,.45); }
button{
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,195,0,.35);
  background: rgba(255,195,0,.10);
  color: rgba(255,195,0,.92);
  cursor:pointer;
  transition: background .2s ease, transform .2s ease;
}
button:hover{ background: rgba(255,195,0,.16); transform: translateY(-1px); }

/* Article layout */
.article{
  padding-top: 120px; /* sense of arrival under fixed nav */
  padding-bottom: 80px;
}
.article .wrap{
  width: min(var(--read), calc(100% - 48px));
  margin: 0 auto;
}
.article h1{
  margin: 18px 0 10px;
  font-size: clamp(2.0rem, 3.2vw, 3.1rem);
  line-height: 1.08;
  font-weight: 600;
}
.article .meta{
  margin-top: 10px;
  color: var(--muted2); /* recede */
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.article h2{
  margin: 42px 0 10px;
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 620;
}
.article p{
  margin: 0 0 18px;
  color: rgba(244,242,238,.86);
}
.article p + p{ margin-top: 18px; }
.article .end{
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.10);
  color: var(--muted2);
}

/* Footer */
.footer{
  padding: 44px 0 60px;
  border-top: 1px solid var(--line);
  color: var(--muted2);
}
.footer .links{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.footer a:hover{ color: var(--fg); }

/* Responsive */
@media (max-width: 810px){
  .hero{ min-height: 70vh; }
  .hero-inner{ transform: translateY(-4vh); }
  .grid{ grid-template-columns: 1fr; }
  .nav{ justify-content: center; }
  .brand{ display:none; }
}
