@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --black: #08090a;
  --black-2: #0d1210;
  --ink: #f2f0e6;
  --ink-60: rgba(242, 240, 230, .62);
  --ink-40: rgba(242, 240, 230, .38);
  --green: #3f6b4a;
  --green-light: #8bb99a;
  --green-glow: #2c4a34;
  --line: rgba(242, 240, 230, .1);
  --ease-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-quart: cubic-bezier(.25, 1, .5, 1);
  --ease-inout: cubic-bezier(.87, 0, .13, 1);
}

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

html {
  background: var(--black);
}

::selection {
  background: var(--green);
  color: var(--ink);
}

body {
  background: var(--black);
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.serif {
  font-family: 'Fraunces', serif;
}

/* texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: overlay;
}

/* ---------- custom cursor ---------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--green-light);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  border: 1px solid var(--ink-60);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .3s var(--ease-expo), height .3s var(--ease-expo), border-color .3s;
}

.cursor-ring.hover {
  width: 70px;
  height: 70px;
  border-color: var(--green-light);
}

@media (hover:none) {

  .cursor,
  .cursor-ring {
    display: none;
  }

  body {
    cursor: auto;
  }
}

/* ---------- preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.preloader .word {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--ink);
  overflow: hidden;
}

.preloader-bar {
  margin-top: 22px;
  width: 220px;
  height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}

.preloader-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: var(--green-light);
}

/* ---------- layout ---------- */
.wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 6vw;
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.4rem 6vw;
  mix-blend-mode: difference;
  background: rgba(11, 10, 8, 0);
  transition: background .5s var(--ease-quart), border-color .5s var(--ease-quart), padding .4s var(--ease-quart), backdrop-filter .5s var(--ease-quart);
}

.nav-logo {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: .02em;
}

.nav-links {
  display: flex;
  gap: 2.6rem;
  list-style: none;
}

.nav-links a {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width .4s var(--ease-expo);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--black);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 8vw;
    gap: 1.6rem;
    transform: translateY(-100%);
    transition: transform .6s var(--ease-inout);
    mix-blend-mode: normal;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 1.6rem;
    font-family: 'Fraunces', serif;
    font-style: italic;
    text-transform: none;
    letter-spacing: 0;
  }

  .nav-toggle {
    display: block;
    z-index: 600;
    background: none;
    border: none;
    color: var(--ink);
    font-size: .75rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 1.1rem 1.9rem;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.btn span {
  position: relative;
  z-index: 2;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--green-glow);
  transform: translateY(101%);
  transition: transform .5s var(--ease-expo);
  z-index: 1;
}

.btn:hover::before {
  transform: translateY(0);
}

.btn-line {
  display: inline-block;
  width: 34px;
  height: 1px;
  background: currentColor;
}

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12vh 6vw 6vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: .62;
}

/* full-coverage layered overlay: vignette + directional gradient so the image never reads as "bare" */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 85% 70% at 50% 40%, rgba(8, 9, 10, 0) 0%, rgba(8, 9, 10, .55) 68%, var(--black) 100%),
    linear-gradient(90deg, rgba(8, 9, 10, .55) 0%, rgba(8, 9, 10, 0) 30%, rgba(8, 9, 10, 0) 70%, rgba(8, 9, 10, .55) 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 9, 10, .15) 0%, rgba(8, 9, 10, .2) 40%, rgba(8, 9, 10, .75) 78%, var(--black) 100%);
}

.hero-glow {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 38%;
  width: 60vw;
  height: 60vw;
  max-width: 820px;
  max-height: 820px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--green-glow) 0%, rgba(44, 74, 52, .12) 45%, transparent 72%);
  opacity: .55;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: heroGlowPulse 7s ease-in-out infinite;
}

@keyframes heroGlowPulse {

  0%,
  100% {
    opacity: .4;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: .65;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-glow {
    animation: none;
  }
}



/* ---------- inner-page hero (About / Books / Contact) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 56vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16vh 6vw 7vh;
}

.page-hero .hero-eyebrow,
.page-hero .hero-title {
  position: relative;
  z-index: 2;
}

@media (max-width:860px) {
  .page-hero {
    min-height: 46vh;
    padding: 14vh 6vw 6vh;
  }
}

.hero-eyebrow {
  position: relative;
  z-index: 2;
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 1.6rem;
  overflow: hidden;
}

.hero-title {
  position: relative;
  z-index: 2;
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 9vw, 9.5rem);
  line-height: .98;
  letter-spacing: -.02em;
}

.hero-title .line {
  overflow: hidden;
  display: block;
}

.hero-title .line span {
  display: block;
  will-change: transform;
}

.hero-title em {
  font-style: italic;
  color: var(--green-light);
}

.hero-sub {
  position: relative;
  z-index: 2;
  max-width: 520px;
  margin-top: 2.2rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-60);
  font-weight: 300;
}

.hero-sub .reveal-mask {
  overflow: hidden;
}

.hero-scroll {
  position: absolute;
  bottom: 6vh;
  right: 6vw;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-60);
}

@media (max-width:640px) {
  .hero-scroll {
    display: none;
  }
}

.hero-scroll-line {
  width: 1px;
  height: 64px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--green-light);
  animation: scrollline 2.2s var(--ease-inout) infinite;
}

@keyframes scrollline {
  0% {
    top: -100%;
  }

  50% {
    top: 0;
  }

  100% {
    top: 100%;
  }
}

/* ---------- section basics ---------- */
section {
  position: relative;
}

.section-pad {
  padding: 11vh 0;
}

.eyebrow {
  font-size: .76rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--green-light);
  display: inline-block;
  margin-bottom: 1.4rem;
}

.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.01em;
}

.section-title em {
  font-style: italic;
  color: var(--green-light);
}

.reveal-mask {
  overflow: hidden;
}

.reveal-mask>* {
  will-change: transform;
}

.body-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-60);
  font-weight: 300;
}

.body-text p+p {
  margin-top: 1.2em;
}

hr.rule {
  border: none;
  border-top: 1px solid var(--line);
}

/* ---------- grid helpers ---------- */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

@media (max-width:860px) {
  .grid-12 {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.2rem;
  }
}

.upcoming-col {
  grid-column: span 4;
}

.why-lead {
  grid-column: span 5;
}

.why-copy {
  grid-column: 7 / span 6;
}

@media (max-width:860px) {

  .upcoming-col,
  .why-lead,
  .why-copy {
    grid-column: 1/-1;
  }

  .why-copy {
    margin-top: 1.5rem;
  }
}

/* ---------- intro / about teaser ---------- */
.intro {
  padding-top: 14vh;
}

.intro-grid {
  align-items: end;
}

.intro-lead {
  grid-column: span 7;
}

.intro-copy {
  grid-column: 9 / span 4;
}

@media (max-width:860px) {

  .intro-lead,
  .intro-copy {
    grid-column: 1 / -1;
  }
}

/* ---------- quote block ---------- */
.quote-block {
  padding: 16vh 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-block blockquote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.6vw, 3.1rem);
  line-height: 1.28;
  max-width: 960px;
  margin: 0 auto;
  color: var(--ink);
}

.quote-mark {
  font-family: 'Fraunces', serif;
  font-size: 6rem;
  color: var(--green-glow);
  line-height: 1;
  margin-bottom: .4rem;
  display: inline-block;
  transform-origin: center bottom;
  will-change: transform;
}

.quote-block blockquote {
  will-change: transform;
}



/* ---------- featured book ---------- */
.feature-book {
  padding: 14vh 0;
}

.feature-grid {
  align-items: center;
}

.feature-cover {
  grid-column: span 5;
  position: relative;
}

.feature-cover-inner {
  position: relative;
}

.feature-cover img {
  width: 100%;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7);
}

/* .feature-cover-frame{
  position:absolute; top:24px; left:24px; right:-24px; bottom:-24px;
  border:1px solid var(--green-glow); z-index:-1;
} */
.feature-copy {
  grid-column: 7 / span 6;
}

.feature-copy .eyebrow {
  display: block;
}

.feature-book-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  line-height: 1.02;
  margin-bottom: 1.6rem;
}

.feature-copy .body-text {
  margin-bottom: 2.2rem;
}

@media (max-width:860px) {

  .feature-cover,
  .feature-copy {
    grid-column: 1/-1;
  }

  .feature-cover {
    margin-bottom: 2.4rem;
    max-width: 340px;
  }
}

/* ---------- curtain image reveal (signature device for cover art) ---------- */
.reveal-curtain {
  position: absolute;
  inset: 0;
  background: var(--black-2);
  transform-origin: left center;
  z-index: 2;
  pointer-events: none;
  border-left: 1px solid var(--green-glow);
}

/* reversed layout variant for a second feature-grid section */
.feature-grid--rev .feature-cover {
  grid-column: 8 / span 5;
}

.feature-grid--rev .feature-copy {
  grid-column: 1 / span 6;
}

.feature-grid--rev .reveal-curtain {
  transform-origin: right center;
  border-left: none;
  border-right: 1px solid var(--green-glow);
}

@media (max-width:860px) {

  .feature-grid--rev .feature-cover,
  .feature-grid--rev .feature-copy {
    grid-column: 1/-1;
  }
}

/* ---------- book list (books page) ---------- */
.book-row {
  display: grid;
  grid-template-columns: .9fr 3fr 1.1fr;
  gap: 3rem;
  align-items: start;
  padding: 6vh 0;
  border-top: 1px solid var(--line);
}

.book-row:last-child {
  border-bottom: 1px solid var(--line);
}

.book-row .cover {
  position: relative;
}

.book-row .cover img {
  width: 100%;
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .6);
}

.book-tag {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-light);
  border: 1px solid var(--green-glow);
  padding: .4em .9em;
  display: inline-block;
  margin-bottom: 1.2rem;
}

.book-row h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
}

.book-meta {
  font-size: .8rem;
  color: var(--ink-40);
  letter-spacing: .05em;
  text-transform: uppercase;
}

@media (max-width:860px) {
  .book-row {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .book-row .cover {
    max-width: 220px;
  }
}

/* ---------- about page ---------- */
.about-hero {
  padding: 24vh 0 6vh;
}

.about-grid {
  align-items: start;
  margin-top: 6vh;
}

.about-photo {
  grid-column: span 5;
  position: sticky;
  top: 16vh;
}

.about-photo-inner {
  position: relative;
}

.about-photo img {
  width: 100%;
  filter: grayscale(.15) contrast(1.05);
}

.about-photo-frame {
  position: absolute;
  top: -20px;
  right: -20px;
  bottom: 20px;
  left: 20px;
  border: 1px solid var(--green-glow);
  z-index: -1;
}

.about-copy {
  grid-column: 7 / span 6;
}

.about-copy .body-text {
  margin-bottom: 2.2rem;
}

.about-fact {
  display: flex;
  gap: 1.2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  font-size: .9rem;
}

.about-fact span:first-child {
  color: var(--ink-40);
  min-width: 140px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
  padding-top: .2rem;
}

@media (max-width:860px) {

  .about-photo,
  .about-copy {
    grid-column: 1/-1;
  }

  .about-photo {
    position: static;
    margin-bottom: 3rem;
    max-width: 380px;
  }
}

/* ---------- contact ---------- */
.contact-hero {
  padding: 26vh 0 8vh;
}

.contact-grid {
  margin-top: 6vh;
}

.contact-info {
  grid-column: span 5;
}

.contact-form {
  grid-column: 7 / span 6;
}

.field {
  position: relative;
  margin-bottom: 2.4rem;
}

.field label {
  display: block;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: .7rem;
}

.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  padding: .6rem 0;
  outline: none;
  transition: border-color .4s var(--ease-expo);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--green-light);
}

.field textarea {
  resize: none;
  min-height: 110px;
}

.contact-info .eyebrow {
  display: block;
}

.contact-line {
  display: flex;
  justify-content: space-between;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  font-size: .85rem;
}

.contact-line:last-child {
  border-bottom: 1px solid var(--line);
}

.social-row {
  display: flex;
  gap: 1.6rem;
  margin-top: 2rem;
}

@media (max-width:860px) {

  .contact-info,
  .contact-form {
    grid-column: 1/-1;
  }

  .contact-info {
    margin-bottom: 4rem;
  }
}

/* ---------- newsletter ---------- */
.newsletter {
  padding: 12vh 0;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.newsletter form {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 520px;
  margin: 2.4rem auto 0;
  border-bottom: 1px solid var(--line);
}

.newsletter input {
  flex: 1;
  background: none;
  border: none;
  color: var(--ink);
  font-family: 'Jost';
  font-size: 1rem;
  padding: .9rem .2rem;
  outline: none;
}

.newsletter button {
  background: none;
  border: none;
  color: var(--ink);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  padding: .9rem .2rem;
}

/* ---------- footer ---------- */
footer {
  padding: 6vh 0 4vh;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-word {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-bottom {
  margin-top: 4vh;
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  color: var(--ink-40);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 5vh 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.marquee-track {
  display: inline-flex;
}

.marquee span {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 4rem);
  color: transparent;
  -webkit-text-stroke: 1px var(--ink-40);
  padding: 0 2.5rem;
}

.marquee span.solid {
  color: var(--green-light);
  -webkit-text-stroke: 0;
}

/* page transition overlay */
.transition-overlay {
  position: fixed;
  inset: 0;
  background: var(--green-glow);
  z-index: 9997;
  transform: translateY(101%);
  pointer-events: none;
}

.js-split .word {
  overflow: hidden;
  display: inline-block;
  vertical-align: top;
}

[data-split] {
  opacity: 0;
}

nav.nav.nav-scrolled {
  background: rgb(0 0 0);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  padding: 1rem 6vw;
}