:root {
  --black-stone: #090909;
  --soft-black: #121110;
  --charcoal: #1b1a18;
  --stone: #2b2925;
  --stone-light: #b8a890;
  --sand: #d5c2a6;
  --sand-soft: #efe3d0;
  --ash: #8c867b;
  --line: rgba(213, 194, 166, 0.22);
  --line-soft: rgba(239, 227, 208, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--sand-soft);
  background:
    radial-gradient(circle at 50% -10%, rgba(213, 194, 166, 0.08), transparent 34rem),
    linear-gradient(180deg, #0b0b0b 0%, #050505 100%);
  font-family: Lora, Georgia, serif;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  min-height: 82px;
  padding: 18px 46px;
  color: var(--sand-soft);
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.82), rgba(5, 5, 5, 0));
}

.logo-mark {
  --logo-size: clamp(56px, 9vw, 116px);
  display: inline-grid;
  justify-items: center;
  width: fit-content;
  color: var(--sand);
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.88;
  text-align: center;
  text-shadow: 0 18px 56px rgba(0, 0, 0, 0.72);
}

.logo-r {
  position: relative;
  display: inline-block;
  color: transparent;
  background:
    linear-gradient(145deg, #f2e1c4 0%, #b5a084 38%, #ebe0ce 48%, #7d705f 72%, #d6c09e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: var(--logo-size);
  font-weight: 700;
  letter-spacing: 0;
  -webkit-text-stroke: 0.7px rgba(239, 227, 208, 0.18);
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.82)) drop-shadow(0 18px 30px rgba(0, 0, 0, 0.42));
}

.logo-r::after {
  content: "";
  position: absolute;
  inset: 11% 2% 8%;
  opacity: 0.28;
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.34) 0 1px, transparent 1px 7px),
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.35), transparent 18%),
    radial-gradient(circle at 76% 62%, rgba(0, 0, 0, 0.42), transparent 24%);
  mix-blend-mode: overlay;
  pointer-events: none;
}

.logo-mark strong {
  position: relative;
  margin-top: 3px;
  color: var(--sand);
  font-size: clamp(18px, 2.5vw, 34px);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12),
    0 16px 34px rgba(0, 0, 0, 0.74);
}

.logo-cut {
  width: min(178px, 34vw);
  height: 1px;
  margin: -2px 0 10px;
  background: linear-gradient(90deg, transparent, rgba(213, 194, 166, 0.82), transparent);
}

.logo-mark.compact {
  --logo-size: 46px;
  min-width: 94px;
}

.logo-mark.compact strong {
  margin-top: 1px;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 48px);
  min-width: 0;
  overflow-x: auto;
  color: rgba(239, 227, 208, 0.82);
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav a {
  flex: 0 0 auto;
  transition: color 180ms ease;
}

.nav a:hover {
  color: var(--sand);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding: 128px 32px 56px;
  text-align: center;
  background: #080807;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 1;
  background:
    radial-gradient(circle at 50% 68%, transparent 0 9rem, rgba(5, 5, 5, 0.18) 22rem),
    linear-gradient(90deg, rgba(5, 5, 5, 0.68), rgba(5, 5, 5, 0.06) 46%, rgba(5, 5, 5, 0.58)),
    linear-gradient(180deg, rgba(5, 5, 5, 0.08), rgba(5, 5, 5, 0.12) 42%, rgba(5, 5, 5, 0.82));
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34vh;
  z-index: 2;
  background: linear-gradient(180deg, transparent, #050505);
  pointer-events: none;
}

.hero-portrait,
.hero-copy {
  position: relative;
  z-index: 3;
}

.hero-portrait {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  background: #080807;
  animation: stone-breath 16s ease-in-out infinite alternate;
  transform-origin: 50% 58%;
}

.hero-portrait::before {
  content: "";
  position: absolute;
  inset: -5%;
  opacity: 0.68;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.62), transparent 38%, rgba(5, 5, 5, 0.56)),
    url("./assets/rawmans-hero-poster.webp") center 44% / cover no-repeat;
  filter: blur(16px) brightness(0.48) contrast(1.08);
  transform: scale(1.08);
}

.hero-portrait::after {
  content: "";
  position: absolute;
  inset: -12%;
  z-index: 2;
  opacity: 0.3;
  background:
    radial-gradient(circle at 20% 28%, rgba(213, 194, 166, 0.16) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 38%, rgba(213, 194, 166, 0.12) 0 1px, transparent 2px),
    radial-gradient(circle at 84% 18%, rgba(239, 227, 208, 0.1) 0 1px, transparent 2px),
    radial-gradient(circle at 42% 72%, rgba(213, 194, 166, 0.13) 0 1px, transparent 2px);
  background-size: 210px 260px, 180px 220px, 240px 300px, 160px 190px;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: dust-drift 18s linear infinite;
}

.hero-poster,
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  filter: contrast(1.08) saturate(0.9) brightness(0.84);
}

.hero-video {
  opacity: 0;
  transition: opacity 600ms ease;
}

.has-hero-video .hero-video {
  opacity: 1;
}

.has-hero-video .hero-poster {
  opacity: 0;
}

@keyframes stone-breath {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.035) translate3d(0, -0.8%, 0);
  }
}

@keyframes dust-drift {
  from {
    transform: translate3d(-1.5%, 1%, 0);
    background-position: 0 0, 40px 30px, 80px 10px, 20px 70px;
  }

  to {
    transform: translate3d(1.5%, -1%, 0);
    background-position: 210px -260px, 220px -190px, 300px -260px, 180px -120px;
  }
}

.hero-copy {
  width: min(100%, 820px);
  max-width: 820px;
  margin: 0 auto 28px;
}

.hero-brand-lockup {
  --logo-size: clamp(70px, 9vw, 122px);
  margin: 0 auto 20px;
}

@media (min-width: 981px) {
  .hero {
    justify-content: flex-start;
    text-align: left;
  }

  .hero-poster,
  .hero-video {
    object-position: 66% center;
  }

  .hero-copy {
    max-width: 455px;
    margin: 0 0 40px clamp(34px, 5vw, 78px);
  }

  .hero-brand-lockup {
    --logo-size: clamp(54px, 5.2vw, 86px);
    margin: 0 0 18px;
  }

  .hero h1 {
    max-width: 455px;
    font-size: clamp(40px, 4.2vw, 62px);
  }

  .hero-copy p:not(.stone-baseline) {
    max-width: 430px;
    margin-left: 0;
  }

  .hero-actions {
    justify-content: flex-start;
  }
}

.stone-baseline,
.eyebrow,
.card-label {
  margin: 0 0 16px;
  color: var(--sand);
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1;
}

h1 {
  color: var(--sand-soft);
  font-size: clamp(34px, 6vw, 88px);
  letter-spacing: 0.02em;
}

h2 {
  color: var(--sand-soft);
  font-size: clamp(40px, 5vw, 76px);
  letter-spacing: 0.02em;
}

h3 {
  color: var(--sand-soft);
  font-size: clamp(30px, 3vw, 44px);
}

.hero-copy p:not(.stone-baseline) {
  max-width: 690px;
  margin: 22px auto 0;
  color: rgba(239, 227, 208, 0.72);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions,
.book-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--line);
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--black-stone);
  background: var(--sand);
}

.button.secondary {
  color: var(--sand-soft);
  background: rgba(239, 227, 208, 0.03);
}

.button.secondary.light {
  color: var(--sand-soft);
}

.section {
  padding: clamp(76px, 8vw, 128px) clamp(22px, 5vw, 88px);
}

.concept-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 0.9fr);
  gap: clamp(34px, 7vw, 110px);
  align-items: center;
  background: #050505;
}

.concept-copy {
  max-width: 680px;
}

.concept-copy p:not(.eyebrow),
.book-copy p,
.club-panel p,
.author-section p,
.contact-section p {
  color: rgba(239, 227, 208, 0.72);
  font-size: 17px;
  line-height: 1.85;
}

.concept-copy p + p {
  margin-top: 18px;
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--sand);
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stone-figure {
  margin: 0;
  border: 1px solid var(--line-soft);
  background: var(--soft-black);
  overflow: hidden;
  box-shadow: 0 42px 120px rgba(0, 0, 0, 0.48);
}

.stone-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 24%;
}

.logo-figure {
  display: grid;
  place-items: center;
  padding: clamp(24px, 4vw, 52px);
}

.logo-figure img {
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 28px 62px rgba(0, 0, 0, 0.58));
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 18px clamp(22px, 5vw, 88px) 86px;
  background: #050505;
}

.pillars article {
  min-height: 172px;
  padding: 20px clamp(20px, 4vw, 54px);
  text-align: center;
  border-right: 1px solid var(--line-soft);
}

.pillars article:last-child {
  border-right: 0;
}

.pillar-icon {
  display: block;
  margin-bottom: 18px;
  color: var(--sand);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 42px;
  line-height: 1;
}

.pillars h3 {
  font-size: 25px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pillars p {
  max-width: 310px;
  margin: 16px auto 0;
  color: rgba(239, 227, 208, 0.68);
  line-height: 1.6;
}

.collections-section {
  background:
    linear-gradient(180deg, #050505, #0d0d0c 42%, #050505);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 36px;
}

.collection-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.collection-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(145deg, rgba(213, 194, 166, 0.08), rgba(255, 255, 255, 0.02)),
    var(--soft-black);
}

.collection-main {
  background:
    linear-gradient(145deg, rgba(213, 194, 166, 0.16), rgba(111, 74, 54, 0.1)),
    var(--charcoal);
}

.collection-card p:not(.card-label) {
  color: rgba(239, 227, 208, 0.7);
  line-height: 1.75;
}

.collection-card span {
  color: var(--sand);
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.collection-card h3 {
  font-size: clamp(26px, 2.4vw, 40px);
}

.book-section {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 720px);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
  background:
    radial-gradient(circle at 12% 20%, rgba(213, 194, 166, 0.09), transparent 24rem),
    #090909;
}

.rawhearts-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 0.85fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
  background:
    radial-gradient(circle at 76% 26%, rgba(239, 227, 208, 0.1), transparent 22rem),
    linear-gradient(135deg, #050505, #11100e 58%, #050505);
}

.rawhearts-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(239, 227, 208, 0.18);
  background: #0b0b0a;
  box-shadow: 0 46px 120px rgba(0, 0, 0, 0.56);
}

.rawhearts-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 42%, rgba(5, 5, 5, 0.38)),
    radial-gradient(circle at 52% 66%, transparent 0 7rem, rgba(5, 5, 5, 0.12) 19rem);
  pointer-events: none;
}

.rawhearts-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 38%;
  filter: contrast(1.05) saturate(0.86) brightness(0.92);
}

.rawhearts-copy {
  max-width: 720px;
}

.rawhearts-copy p:not(.eyebrow),
.excerpt-grid p {
  color: rgba(239, 227, 208, 0.72);
  font-size: 17px;
  line-height: 1.82;
}

.rawhearts-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.rawhearts-points span {
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  color: var(--sand);
  background: rgba(239, 227, 208, 0.04);
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.book-cover {
  width: min(100%, 320px);
  justify-self: center;
}

.book-cover img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.56);
}

.book-copy {
  max-width: 740px;
}

.book-actions {
  justify-content: flex-start;
}

.contact-actions {
  justify-content: flex-start;
  margin-top: 26px;
}

.excerpts-section {
  background:
    radial-gradient(circle at 88% 12%, rgba(213, 194, 166, 0.08), transparent 23rem),
    #050505;
}

.excerpt-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.excerpt-grid article {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, rgba(239, 227, 208, 0.05), rgba(255, 255, 255, 0.015)),
    var(--soft-black);
}

.excerpt-grid h3 {
  font-size: clamp(26px, 2.2vw, 36px);
}

.excerpt-grid .text-link {
  margin-top: 18px;
}

.club-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 0.9fr);
  gap: clamp(34px, 7vw, 90px);
  background:
    linear-gradient(135deg, rgba(213, 194, 166, 0.08), transparent 32rem),
    var(--charcoal);
}

.club-panel {
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.34);
}

.signup-form {
  margin-top: 28px;
}

label {
  display: block;
  margin-bottom: 10px;
  color: var(--sand);
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.signup-form div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  border: 1px solid var(--line);
}

input,
button {
  min-height: 56px;
  border: 0;
  font: inherit;
}

input {
  min-width: 0;
  padding: 0 16px;
  color: var(--sand-soft);
  background: transparent;
}

button {
  padding: 0 22px;
  color: var(--black-stone);
  background: var(--sand);
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.author-section {
  max-width: 1060px;
  margin: 0 auto;
  background: #050505;
}

.author-section p {
  max-width: 850px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: 44px;
  padding: 60px clamp(22px, 5vw, 88px);
  border-top: 1px solid var(--line-soft);
  background: var(--black-stone);
}

.contact-section h2 {
  font-size: clamp(34px, 4vw, 58px);
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px 22px;
  }

.brand {
  justify-self: center;
}

  .nav {
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  .concept-section,
  .section-heading,
  .collection-grid,
  .rawhearts-section,
  .book-section,
  .excerpt-grid,
  .club-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-poster,
  .hero-video {
    object-fit: cover;
    object-position: center 46%;
  }

  .pillars {
    grid-template-columns: 1fr;
    padding-top: 0;
  }

  .pillars article {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }
}

@media (max-width: 620px) {
  .nav {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    justify-content: center;
    gap: 9px 12px;
    max-width: 100%;
    overflow: visible;
    font-size: 8.5px;
    letter-spacing: 0.08em;
  }

  .hero {
    min-height: 100svh;
    padding: 156px 18px 42px;
    align-items: flex-end;
  }

  .hero-copy {
    width: 100%;
    max-width: 300px;
    margin-inline: auto;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(29px, 7.8vw, 32px);
    line-height: 0.96;
    overflow-wrap: normal;
  }

  .hero-copy p:not(.stone-baseline) {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.72;
  }

  .hero::before {
    background:
      radial-gradient(circle at 50% 58%, transparent 0 7rem, rgba(5, 5, 5, 0.14) 16rem),
      linear-gradient(90deg, rgba(5, 5, 5, 0.48), rgba(5, 5, 5, 0.04) 48%, rgba(5, 5, 5, 0.44)),
      linear-gradient(180deg, rgba(5, 5, 5, 0.05), rgba(5, 5, 5, 0.1) 42%, rgba(5, 5, 5, 0.78));
  }

  .hero-poster,
  .hero-video {
    object-fit: cover;
    object-position: center center;
    filter: contrast(1.08) saturate(0.92) brightness(0.9);
  }

  .stone-baseline,
  .eyebrow,
  .card-label {
    letter-spacing: 0.16em;
  }

  .hero-brand-lockup {
    --logo-size: 78px;
  }

  .hero-actions,
  .book-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button,
  button {
    width: 100%;
  }

  .section {
    padding: 72px 20px;
  }

  .signup-form div {
    grid-template-columns: 1fr;
  }
}
