/* =========================================================
   Akhilendra K Sahu — Editorial light redesign
   Warm paper · ink · single vermilion accent
   Type: Fraunces (display serif) · Hanken Grotesk · Space Mono
   ========================================================= */

:root {
  --paper:    #f4efe4;   /* warm cream background */
  --paper-2:  #ece6d8;   /* slightly deeper, alt blocks */
  --ink:      #1b1a16;   /* warm near-black */
  --ink-soft: #565248;
  --muted:    #8c867a;
  --line:     #d6cfbe;   /* warm hairline */
  --line-2:   #c6bda9;
  --accent:   #d8451f;   /* vermilion */
  --accent-2: #b8390f;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --mono:  "Space Mono", "SFMono-Regular", ui-monospace, monospace;

  --wrap: 1240px;
  --pad: 40px;
  --ease: cubic-bezier(0.4, 0, 0.1, 1);
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-style: italic; }
::selection { background: var(--accent); color: var(--paper); }

.wrap { width: min(100% - (var(--pad) * 2), var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper);
  padding: 10px 16px; z-index: 200; border-radius: 0 0 6px 0;
}
.skip:focus { left: 0; }

.accent-mark { color: var(--accent); }

/* ---------- Shared type elements ---------- */
.kicker {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink);
}

.sec-head {
  display: grid; grid-template-columns: auto auto 1fr; align-items: baseline; gap: 16px;
  padding-bottom: 22px; margin-bottom: 48px; border-bottom: 1px solid var(--line);
}
.sec-num { font-family: var(--mono); font-size: 0.8rem; font-weight: 700; color: var(--accent); }
.sec-note { grid-column: 1 / -1; font-size: 1.05rem; color: var(--ink-soft); max-width: 44ch; margin-top: 6px; }

.section { padding: clamp(64px, 9vw, 130px) 0; }

/* ---------- Buttons / links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: 0.98rem;
  background: var(--ink); color: var(--paper);
  padding: 14px 26px; border-radius: 2px; border: 1px solid var(--ink);
  transition: background .25s var(--ease), color .25s, transform .25s var(--ease);
}
.btn:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
  border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; transition: color .25s, border-color .25s, gap .25s;
}
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--accent); border-color: var(--accent); gap: 12px; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 70px; }
.wordmark { font-family: var(--serif); font-size: 1.18rem; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.wordmark__dot { color: var(--accent); }

.nav__links { display: flex; gap: 4px; }
.nav__links > a {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-soft); padding: 8px 12px; transition: color .2s; position: relative;
}
.nav__links > a span { color: var(--accent); margin-right: 4px; opacity: .65; }
.nav__links > a:hover { color: var(--ink); }

.nav__cta {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase;
  font-weight: 700; border: 1px solid var(--ink); padding: 9px 16px; border-radius: 2px;
  transition: background .25s, color .25s;
}
.nav__cta:hover { background: var(--ink); color: var(--paper); }

.nav__toggle { display: none; flex-direction: column; gap: 6px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 26px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { transform: translateY(-8px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding-top: clamp(48px, 7vw, 88px); }
.hero__kicker { display: block; color: var(--accent); margin-bottom: 28px; }

.hero__grid { display: grid; grid-template-columns: 1.55fr 0.9fr; gap: clamp(32px, 6vw, 80px); align-items: end; }

.hero__name {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(3.4rem, 11vw, 8.4rem); line-height: 0.92;
  letter-spacing: -0.035em; margin-bottom: 30px;
}
.hero__name-2 { font-style: italic; font-weight: 400; }

.hero__statement {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: 1.28;
  letter-spacing: -0.01em; max-width: 22ch; margin-bottom: 26px;
}
.hero__statement em { color: var(--accent); }
.hero__desc { color: var(--ink-soft); max-width: 46ch; margin-bottom: 34px; }
.hero__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

/* Dossier */
.dossier { border-top: 2px solid var(--ink); padding-top: 16px; }
.dossier__title { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.dossier dl { display: grid; gap: 0; }
.dossier div {
  display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: baseline;
  padding: 13px 0; border-top: 1px solid var(--line);
}
.dossier dt { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.dossier dd { font-weight: 500; font-size: 0.95rem; }

/* Marquee */
.marquee {
  margin-top: clamp(56px, 8vw, 100px);
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  overflow: hidden; padding: 18px 0;
}
.marquee__track {
  display: flex; align-items: center; gap: 28px; width: max-content;
  font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2.2rem); font-style: italic; font-weight: 400;
  white-space: nowrap; animation: marquee 38s linear infinite;
}
.marquee__track .dot { color: var(--accent); font-style: normal; font-size: 0.7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   STATS
   ========================================================= */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.stat { padding: clamp(36px, 5vw, 60px) 24px clamp(36px, 5vw, 60px) 0; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat:not(:first-child) { padding-left: clamp(20px, 3vw, 40px); }
.stat__num { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -0.03em; margin-bottom: 12px; }
.stat__label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* =========================================================
   ABOUT (01)
   ========================================================= */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); }
.about__head {
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.1; letter-spacing: -0.025em; align-self: start; position: sticky; top: 110px;
}
.about__body p { color: var(--ink-soft); margin-bottom: 22px; font-size: 1.08rem; }
.about__body p:last-child { margin-bottom: 0; }
.dropcap::first-letter {
  font-family: var(--serif); font-weight: 500; float: left; font-size: 4.2rem; line-height: 0.78;
  padding: 6px 12px 0 0; color: var(--accent);
}
.pullquote {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.3; color: var(--ink);
  border-left: 3px solid var(--accent); padding: 6px 0 6px 22px; margin: 30px 0;
}

/* =========================================================
   VENTURES (02) — editorial index list
   ========================================================= */
.index { border-top: 1px solid var(--ink); }
.index__row {
  position: relative;
  display: grid; grid-template-columns: 64px minmax(220px, 1.1fr) 1.4fr 40px;
  gap: 24px; align-items: center;
  padding: clamp(26px, 3.5vw, 40px) 8px;
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease), padding-left .3s var(--ease), color .3s;
}
.index__row:hover { background: var(--ink); color: var(--paper); padding-left: 24px; }
.index__link { position: absolute; inset: 0; z-index: 1; }
.index__n { font-family: var(--mono); font-size: 0.82rem; color: var(--accent); }
.index__name {
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 3.4vw, 2.9rem);
  line-height: 1; letter-spacing: -0.02em;
}
.index__name em { font-style: italic; font-weight: 400; color: var(--muted); font-size: 0.5em; }
.index__row:hover .index__name em { color: var(--line-2); }
.index__meta { max-width: 48ch; }
.index__tag {
  display: block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
}
.index__meta p { font-size: 0.98rem; color: var(--ink-soft); }
.index__row:hover .index__meta p { color: var(--line); }
.index__row:hover .index__tag { color: #ff8a66; }
.index__arrow { font-size: 1.4rem; justify-self: end; opacity: .35; transition: opacity .3s, transform .3s var(--ease); }
.index__row:hover .index__arrow { opacity: 1; transform: translate(4px, -4px); }

/* =========================================================
   RECOGNITION (03)
   ========================================================= */
.recognition { background: var(--paper-2); border-block: 1px solid var(--line); }
.orgs {
  display: flex; flex-wrap: wrap; align-items: center; gap: clamp(28px, 6vw, 72px);
  padding: 14px 0 44px; margin-bottom: 44px; border-bottom: 1px solid var(--line);
}
.orgs li {
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 3.4vw, 2.4rem);
  letter-spacing: -0.02em; color: var(--ink); transition: color .25s, transform .25s;
}
.orgs li:hover { color: var(--accent); transform: translateY(-3px); }

.awards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.award { padding-top: 22px; border-top: 2px solid var(--ink); }
.award__year { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.award h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.1; letter-spacing: -0.02em; margin: 12px 0 10px; }
.award p { color: var(--ink-soft); font-size: 1.02rem; }

/* =========================================================
   BOOK (04)
   ========================================================= */
.book__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.book__visual { display: flex; justify-content: center; }
.cover {
  width: min(300px, 78vw); aspect-ratio: 5 / 7;
  background: var(--ink); color: var(--paper);
  padding: 34px 30px; display: flex; flex-direction: column;
  border: 1px solid var(--ink);
  box-shadow: 16px 18px 0 -2px var(--paper-2), 16px 18px 0 -1px var(--line-2);
  transform: rotate(-2deg); transition: transform .5s var(--ease);
}
.book__visual:hover .cover { transform: rotate(0deg) translateY(-4px); }
.cover__author { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: #cdbfae; }
.cover__title { font-family: var(--serif); font-weight: 500; font-size: 2.7rem; line-height: 1.0; letter-spacing: -0.02em; margin-top: auto; }
.cover__rule { width: 44px; height: 3px; background: var(--accent); margin: 18px 0 14px; }
.cover__sub { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.04em; color: #b6a994; line-height: 1.6; }

.book__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.025em; margin: 22px 0 18px; }
.book__desc { color: var(--ink-soft); font-size: 1.1rem; max-width: 52ch; margin-bottom: 26px; }
.book__points { display: grid; gap: 12px; margin-bottom: 34px; }
.book__points li { position: relative; padding-left: 30px; font-size: 1rem; }
.book__points li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.book__actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.book__also { font-size: 0.92rem; color: var(--muted); }

/* =========================================================
   CONTACT (05)
   ========================================================= */
.contact__head { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 7vw, 5.4rem); line-height: 1; letter-spacing: -0.03em; margin-bottom: 16px; }
.contact__head em { font-style: italic; color: var(--accent); }
.contact__sub { color: var(--ink-soft); font-size: 1.15rem; margin-bottom: 48px; max-width: 40ch; }

.channels { border-top: 1px solid var(--ink); }
.channels a {
  display: grid; grid-template-columns: 160px 1fr auto; align-items: center; gap: 20px;
  padding: clamp(22px, 3vw, 34px) 8px; border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease), padding-left .3s var(--ease), color .3s;
}
.channels a:hover { background: var(--ink); color: var(--paper); padding-left: 22px; }
.channels__label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.channels a:hover .channels__label { color: #ff8a66; }
.channels__val { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 3.4vw, 2.4rem); letter-spacing: -0.02em; }
.channels__arrow { font-size: 1.5rem; opacity: .4; transition: opacity .3s, transform .3s var(--ease); }
.channels a:hover .channels__arrow { opacity: 1; transform: translate(4px, -4px); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { border-top: 1px solid var(--ink); padding: clamp(48px, 7vw, 90px) 0 40px; }
.footer__mark { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 9vw, 6rem); line-height: 1; letter-spacing: -0.03em; margin-bottom: 40px; }
.footer__cols { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); }
.footer__tag, .footer__copy { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.footer__top { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; transition: color .25s, border-color .25s; }
.footer__top:hover { color: var(--accent); border-color: var(--accent); }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  :root { --pad: 28px; }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; align-items: start; }
  .dossier { max-width: 460px; }
  .about__grid { grid-template-columns: 1fr; gap: 36px; }
  .about__head { position: static; }
  .book__grid { grid-template-columns: 1fr; }
  .book__visual { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .nav__links {
    position: fixed; inset: 70px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 12px var(--pad) 24px; transform: translateY(-130%); transition: transform .4s var(--ease); z-index: 90;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links > a { font-size: 0.95rem; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 32px 16px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--line); }
  .index__row { grid-template-columns: 40px 1fr; gap: 6px 16px; padding-block: 26px; }
  .index__row:hover { padding-left: 8px; }
  .index__arrow { display: none; }
  .index__meta { grid-column: 2; }
  .awards { grid-template-columns: 1fr; gap: 32px; }
  .channels a { grid-template-columns: 1fr auto; }
  .channels__label { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .stat:nth-child(n) { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .stat:first-child { border-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto; }
  .marquee__track { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
