/* =========================================================
   J. Güngör Martinez
   Cinematic editorial one-page site
   ========================================================= */

:root {
  --ink: #0b0e11;
  --ink-2: #11161b;
  --panel: #171d22;
  --panel-2: #20262c;
  --ivory: #f2ebe2;
  --paper: #e3ded5;
  --muted: #b8afa4;
  --muted-dark: #675f56;
  --brass: #bf9b5a;
  --brass-light: #e5c984;
  --signal: #6c839d;
  --rust: #8b5a42;
  --sea: #304859;
  --warm-paper: #d9d0c2;
  --line-dark: rgba(255, 255, 255, 0.13);
  --line-light: rgba(20, 24, 28, 0.15);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --shell: min(1220px, calc(100% - 48px));
  --header-height: 78px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10000;
  padding: 10px 14px;
  background: var(--ivory);
  color: var(--ink);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 max(28px, calc((100vw - 1220px) / 2));
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(8, 11, 14, 0.86), rgba(8, 11, 14, 0.35));
  backdrop-filter: blur(12px);
  transition: min-height 240ms ease, background 240ms ease, border-color 240ms ease;
}

.site-header.is-scrolled {
  min-height: 66px;
  background: rgba(8, 11, 14, 0.93);
  border-color: var(--line-dark);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  white-space: nowrap;
}

.brand-name {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-rule {
  width: 1px;
  height: 24px;
  background: var(--brass);
}

.brand-role {
  color: var(--brass-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 34px);
}

.site-nav a {
  position: relative;
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

/* Shared typography */

.eyebrow,
.micro-label {
  margin: 0 0 12px;
  color: var(--brass-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 0.96;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(4rem, 8.2vw, 8.6rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 5.7vw, 6.25rem);
  letter-spacing: -0.038em;
}

h3 {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2vw, 2.25rem);
  line-height: 1.02;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid transparent;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  border-color: var(--brass);
  background: var(--brass);
  color: var(--ink);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--brass-light);
  border-color: var(--brass-light);
}

.button-ghost {
  border-color: rgba(242, 235, 226, 0.42);
  color: var(--ivory);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: var(--ivory);
  color: var(--ink);
}

.button-light {
  background: var(--ivory);
  color: var(--ink);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--brass-light);
}

.button-dark {
  background: var(--ink);
  color: var(--ivory);
}

.button-outline-dark {
  border-color: rgba(11, 14, 17, 0.52);
  color: var(--ink);
}

.button-outline-dark:hover,
.button-outline-dark:focus-visible {
  background: var(--ink);
  color: var(--ivory);
}

.text-link {
  color: var(--brass-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--ivory);
}

.text-link-light {
  color: var(--ivory);
}

/* Media fallbacks */

.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: #23292f;
}

.media-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    linear-gradient(145deg, rgba(191, 155, 90, 0.18), transparent 45%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 14px);
  transition: opacity 180ms ease;
}

.media-frame.image-missing::before {
  opacity: 1;
}

.media-frame.image-missing::after {
  content: attr(data-title);
  position: absolute;
  z-index: 2;
  left: 10%;
  right: 10%;
  top: 50%;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 2.35rem);
  line-height: 1;
  text-align: center;
  transform: translateY(-50%);
}

.media-frame.image-missing img {
  opacity: 0;
}

.theme-signal {
  background:
    radial-gradient(circle at 80% 18%, rgba(108, 131, 157, 0.6), transparent 30%),
    linear-gradient(145deg, #101923, #293647 55%, #0e1217);
}

.theme-iron {
  background:
    radial-gradient(circle at 20% 10%, rgba(139, 90, 66, 0.38), transparent 30%),
    linear-gradient(145deg, #1a1413, #313033 55%, #101214);
}

.theme-steel {
  background:
    linear-gradient(145deg, rgba(48, 72, 89, 0.95), #17202a 48%, #0d1115);
}

.theme-sunset {
  background: linear-gradient(145deg, #735343, #cf9362 46%, #243b53);
}

.theme-night {
  background: linear-gradient(145deg, #141929, #283551 48%, #0b1018);
}

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 70px) 0 110px;
  background:
    linear-gradient(90deg, rgba(7, 9, 11, 0.98) 0%, rgba(7, 9, 11, 0.88) 43%, rgba(7, 9, 11, 0.38) 100%),
    url("hero-atmosphere.svg") center/cover no-repeat,
    var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, var(--ink));
  pointer-events: none;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  opacity: 0.46;
  background:
    radial-gradient(circle at 78% 35%, rgba(191, 155, 90, 0.22), transparent 20%),
    radial-gradient(circle at 74% 58%, rgba(84, 117, 142, 0.15), transparent 25%);
  transform: translate3d(0, var(--hero-shift, 0), 0);
  transition: transform 60ms linear;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(46px, 8vw, 120px);
}

.hero-copy {
  max-width: 790px;
}

.hero-intro {
  max-width: 630px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.45vw, 1.3rem);
}

.hero-portrait {
  position: relative;
  justify-self: end;
  width: min(420px, 100%);
}

.portrait-halo {
  position: absolute;
  inset: 14% -18% -8% 8%;
  border: 1px solid rgba(191, 155, 90, 0.32);
  transform: rotate(7deg);
}

.portrait-frame {
  aspect-ratio: 3 / 4.2;
  border: 1px solid rgba(242, 235, 226, 0.18);
  box-shadow: var(--shadow);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8, 10, 12, 0.45), transparent 32%),
    linear-gradient(90deg, rgba(191, 155, 90, 0.08), transparent 40%);
  pointer-events: none;
}

.portrait-frame img {
  object-fit: cover;
  object-position: 50% 35%;
  filter: saturate(0.85) contrast(1.03);
}

.portrait-caption {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.17em;
  text-align: right;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  left: max(24px, calc((100vw - 1220px) / 2));
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--brass-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Feature */

.featured-section {
  position: relative;
  overflow: hidden;
  padding: 150px 0;
  background: #0d1116;
}

.featured-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.8;
  background:
    linear-gradient(90deg, rgba(13, 17, 22, 0.18), rgba(13, 17, 22, 0.78)),
    url("signal-field.svg") center/cover no-repeat;
}

.featured-art {
  position: absolute;
  inset: 12% 0 auto 34%;
  height: 64%;
  opacity: 0.5;
  background:
    radial-gradient(circle at 50% 50%, rgba(72, 116, 151, 0.24), transparent 45%),
    radial-gradient(circle at 58% 48%, rgba(191, 155, 90, 0.14), transparent 30%);
  filter: blur(10px);
}

.featured-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(56px, 10vw, 150px);
}

.featured-cover {
  position: relative;
  justify-self: center;
  width: min(370px, 100%);
}

.release-orbit {
  position: absolute;
  inset: -12%;
  border: 1px solid rgba(108, 131, 157, 0.28);
  border-radius: 50%;
  box-shadow: inset 0 0 50px rgba(108, 131, 157, 0.05);
  animation: orbit 18s linear infinite;
}

.release-orbit::before,
.release-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(191, 155, 90, 0.18);
  border-radius: 50%;
}

.release-orbit::before {
  inset: 12%;
}

.release-orbit::after {
  inset: 26%;
}

@keyframes orbit {
  to { transform: rotate(360deg); }
}

.feature-cover {
  aspect-ratio: 2 / 3;
  padding: 18px;
  border: 1px solid rgba(191, 155, 90, 0.35);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.55);
}

.featured-copy {
  max-width: 700px;
}

.featured-copy h2 {
  margin-bottom: 16px;
}

.featured-copy > p:not(.eyebrow):not(.release-date):not(.feature-subtitle):not(.byline) {
  max-width: 600px;
  color: var(--muted);
  font-size: 1.06rem;
}

.release-date {
  margin-bottom: 14px;
  color: var(--ivory);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.feature-subtitle {
  margin-bottom: 24px;
  color: var(--brass-light);
  font-family: var(--serif);
  font-size: 1.5rem;
}

.byline {
  margin: 28px 0;
  color: var(--paper);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Identity band */

.identity-band {
  padding: 110px 0;
  background: var(--warm-paper);
  color: var(--ink);
}

.identity-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: end;
  gap: clamp(50px, 8vw, 120px);
}

.identity-band .eyebrow {
  color: #765a2d;
}

.identity-band h2 {
  margin-bottom: 0;
}

.identity-copy {
  max-width: 610px;
  margin: 0;
  color: #514b43;
  font-size: clamp(1.05rem, 1.4vw, 1.26rem);
}

/* Book worlds */

.book-world {
  position: relative;
  overflow: hidden;
  padding: 140px 0 155px;
}

.world-texture {
  position: absolute;
  inset: 0;
  opacity: 0.48;
  pointer-events: none;
}

.world-scifi {
  background: linear-gradient(180deg, #101820, #11171d 70%, #0f1419);
}

.world-scifi .world-texture {
  background: url("signal-field.svg") center/cover no-repeat;
}

.world-horror {
  background: linear-gradient(180deg, #161313, #111214 72%, #101112);
}

.world-horror .world-texture {
  background: url("ironwork-shadow.svg") center/cover no-repeat;
}

.world-thriller {
  background: linear-gradient(180deg, #10171d, #12181d 68%, #0d1216);
}

.world-thriller .world-texture {
  background: url("maritime-grid.svg") center/cover no-repeat;
}

.section-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: end;
  gap: clamp(40px, 7vw, 100px);
  margin-bottom: 72px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line-dark);
}

.section-heading h2 {
  margin-bottom: 8px;
}

.section-heading > p {
  max-width: 590px;
  margin: 0 0 8px auto;
  color: var(--muted);
  font-size: 1.02rem;
}

.pen-name {
  margin: 0;
  color: var(--brass-light);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.book-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(24px, 2.6vw, 38px);
}

.book-grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.book-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.book-card {
  min-width: 0;
}

.cover-frame {
  aspect-ratio: 2 / 3;
  padding: clamp(10px, 1.1vw, 16px);
  border: 1px solid rgba(242, 235, 226, 0.13);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.3);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.cover-frame img {
  object-fit: contain;
}

.book-card:hover .cover-frame,
.book-card:focus-within .cover-frame {
  transform: translateY(-8px);
  border-color: rgba(191, 155, 90, 0.68);
  box-shadow: 0 34px 65px rgba(0, 0, 0, 0.48);
}

.book-meta {
  padding-top: 21px;
}

.book-meta h3 {
  min-height: 2.05em;
  margin-bottom: 13px;
  font-size: clamp(1.35rem, 1.65vw, 1.8rem);
}

.book-meta a {
  color: var(--brass-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.book-meta a:hover,
.book-meta a:focus-visible {
  color: var(--ivory);
}

.thriller-layout .section-heading {
  margin-bottom: 60px;
}

.thriller-feature {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, 380px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
}

.book-card-feature {
  max-width: 360px;
}

.next-release-card {
  position: relative;
  padding: clamp(32px, 5vw, 70px);
  border: 1px solid rgba(191, 155, 90, 0.33);
  background:
    linear-gradient(145deg, rgba(48, 72, 89, 0.4), rgba(13, 18, 22, 0.9)),
    url("maritime-grid.svg") center/cover no-repeat;
  box-shadow: var(--shadow);
}

.next-release-card h3 {
  margin-bottom: 12px;
  font-size: clamp(2.8rem, 5vw, 5.4rem);
}

.next-release-card > p:not(.eyebrow):not(.release-date) {
  color: var(--muted);
}

/* Release timeline */

.releases-section {
  position: relative;
  overflow: hidden;
  padding: 145px 0 160px;
  background: #d8d0c4;
  color: var(--ink);
}

.releases-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background:
    repeating-linear-gradient(90deg, transparent 0 149px, rgba(18, 22, 26, 0.065) 149px 150px),
    repeating-linear-gradient(0deg, transparent 0 149px, rgba(18, 22, 26, 0.055) 149px 150px);
}

.release-heading {
  position: relative;
  max-width: 790px;
  margin-bottom: 78px;
}

.release-heading .eyebrow {
  color: #735825;
}

.release-heading > p:last-child {
  max-width: 610px;
  color: #554e46;
}

.release-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 2.3vw, 36px);
}

.release-timeline::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: rgba(11, 14, 17, 0.28);
}

.release-card {
  position: relative;
  padding-top: 52px;
}

.timeline-dot {
  position: absolute;
  top: 15px;
  left: 20px;
  z-index: 2;
  width: 15px;
  height: 15px;
  border: 3px solid #d8d0c4;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 0 1px rgba(11, 14, 17, 0.36);
}

.month {
  margin-bottom: 16px;
  color: #6b5123;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.release-cover {
  aspect-ratio: 2 / 3;
  padding: 12px;
  border: 1px solid rgba(11, 14, 17, 0.15);
  box-shadow: 0 22px 45px rgba(32, 28, 23, 0.18);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.release-card:hover .release-cover,
.release-card:focus-within .release-cover {
  transform: translateY(-7px);
  box-shadow: 0 32px 58px rgba(32, 28, 23, 0.28);
}

.release-card h3 {
  min-height: 2em;
  margin: 22px 0 8px;
  font-size: clamp(1.55rem, 2vw, 2.2rem);
}

.release-card > p:last-child {
  color: #655d54;
  font-size: 0.82rem;
}

/* Music */

.music-section {
  position: relative;
  overflow: hidden;
  padding: 150px 0 165px;
  background:
    linear-gradient(180deg, rgba(9, 14, 20, 0.24), rgba(9, 14, 20, 0.97)),
    url("coastal-memory.svg") center/cover no-repeat,
    #0d131a;
}

.music-atmosphere {
  position: absolute;
  inset: 0;
  opacity: 0.72;
  background:
    radial-gradient(circle at 18% 28%, rgba(226, 155, 94, 0.22), transparent 25%),
    radial-gradient(circle at 79% 22%, rgba(99, 116, 150, 0.23), transparent 30%);
}

.music-heading {
  position: relative;
  z-index: 1;
  max-width: 810px;
  margin-bottom: 75px;
}

.music-heading > p:last-child {
  max-width: 640px;
  color: var(--muted);
}

.album-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 5vw, 75px);
}

.album-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(24px, 3vw, 46px);
  padding: clamp(22px, 3vw, 42px);
  border: 1px solid rgba(242, 235, 226, 0.16);
  background: rgba(10, 14, 19, 0.64);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.album-art {
  aspect-ratio: 1;
  border: 1px solid rgba(242, 235, 226, 0.18);
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.42);
  transition: transform 280ms ease;
}

.album-card:hover .album-art {
  transform: rotate(-1.4deg) scale(1.018);
}

.album-copy h3 {
  margin-bottom: 17px;
  font-size: clamp(2rem, 3vw, 3.6rem);
}

.album-copy > p:not(.micro-label) {
  color: var(--muted);
}

.music-artist-link {
  position: relative;
  z-index: 1;
  margin-top: 52px;
  text-align: center;
}

/* About */

.about-section {
  padding: 150px 0;
  background: #ddd4c6;
  color: var(--ink);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(290px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(60px, 10vw, 150px);
}

.about-image {
  max-width: 470px;
}

.about-portrait {
  aspect-ratio: 3 / 4.05;
  border: 1px solid rgba(11, 14, 17, 0.15);
  box-shadow: 0 30px 65px rgba(31, 26, 20, 0.2);
}

.about-portrait img {
  object-fit: cover;
  object-position: 50% 34%;
}

.about-image blockquote {
  margin: 30px 0 0;
  padding-left: 23px;
  border-left: 1px solid #8b6b33;
  color: #4e473f;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  font-style: italic;
  line-height: 1.25;
}

.about-copy .eyebrow {
  color: #765a2d;
}

.about-copy > p {
  max-width: 720px;
  color: #4f4941;
  font-size: 1.04rem;
}

.identity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 34px;
}

.identity-tags span {
  padding: 8px 11px;
  border: 1px solid rgba(11, 14, 17, 0.18);
  color: #49433c;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Footer */

.site-footer {
  padding: 74px 0;
  border-top: 1px solid var(--line-dark);
  background: #090c0f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 40px;
}

.site-footer p {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-name {
  color: var(--ivory) !important;
  font-family: var(--serif);
  font-size: 1.55rem !important;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.site-footer nav a {
  color: var(--paper);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-end {
  text-align: right;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(191, 155, 90, 0.55);
  background: rgba(9, 12, 15, 0.85);
  color: var(--brass-light);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(8px);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 680ms ease, transform 680ms ease;
}

.reveal-delay-1 {
  transition-delay: 100ms;
}

.reveal-delay-2 {
  transition-delay: 180ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 1120px) {
  .book-grid-five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .album-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 940px) {
  :root {
    --header-height: 68px;
    --shell: min(100% - 36px, 760px);
  }

  .site-header {
    padding-inline: 18px;
  }

  .brand-role,
  .brand-rule {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 16px 18px 24px;
    border-bottom: 1px solid var(--line-dark);
    background: rgba(8, 11, 14, 0.98);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    padding-top: 125px;
  }

  .hero-grid,
  .featured-grid,
  .identity-grid,
  .section-heading,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 730px;
  }

  .hero-portrait {
    justify-self: center;
    width: min(390px, 78vw);
    margin-top: 15px;
  }

  .scroll-cue {
    display: none;
  }

  .featured-copy {
    text-align: center;
  }

  .featured-copy > p:not(.eyebrow):not(.release-date):not(.feature-subtitle):not(.byline) {
    margin-inline: auto;
  }

  .featured-copy .button {
    margin-inline: auto;
  }

  .identity-grid {
    align-items: start;
  }

  .section-heading > p {
    margin-left: 0;
  }

  .book-grid-four,
  .release-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .release-timeline::before {
    display: none;
  }

  .timeline-dot {
    display: none;
  }

  .release-card {
    padding-top: 0;
  }

  .thriller-feature {
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  }

  .album-grid {
    grid-template-columns: 1fr;
  }

  .album-card {
    grid-template-columns: minmax(190px, 0.8fr) minmax(0, 1.2fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-end {
    text-align: center;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: min(100% - 28px, 540px);
  }

  h1 {
    font-size: clamp(3.4rem, 17vw, 5.4rem);
  }

  h2 {
    font-size: clamp(2.8rem, 13vw, 4.7rem);
  }

  .hero {
    padding-bottom: 80px;
  }

  .hero-intro {
    font-size: 1rem;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .featured-section,
  .book-world,
  .releases-section,
  .music-section,
  .about-section {
    padding-block: 100px;
  }

  .identity-band {
    padding-block: 82px;
  }

  .book-grid-five,
  .book-grid-four,
  .release-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 16px;
  }

  .cover-frame {
    padding: 8px;
  }

  .book-meta h3 {
    min-height: 0;
    font-size: 1.32rem;
  }

  .book-meta a {
    font-size: 0.6rem;
  }

  .thriller-feature,
  .album-card {
    grid-template-columns: 1fr;
  }

  .book-card-feature {
    max-width: 100%;
  }

  .release-card h3 {
    min-height: 0;
    font-size: 1.45rem;
  }

  .album-card {
    padding: 22px;
  }

  .about-image {
    max-width: 100%;
  }

  .site-footer nav {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 430px) {
  .book-grid-five,
  .book-grid-four,
  .release-timeline {
    grid-template-columns: 1fr;
  }

  .cover-frame,
  .release-cover {
    max-width: 320px;
    margin-inline: auto;
  }

  .book-meta,
  .release-card {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Arc I live-release update, corrected layout */

.book-grid-six {
  grid-template-columns: repeat(3, minmax(0, 220px));
  justify-content: center;
  column-gap: clamp(34px, 4vw, 54px);
  row-gap: 58px;
}

.book-grid-six .book-card {
  width: 100%;
  max-width: 220px;
}

.book-grid-six .cover-frame {
  width: 100%;
}

.cover-status {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 18px;
  padding: 8px 11px;
  border: 1px solid rgba(11, 14, 17, 0.25);
  background: var(--brass-light);
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.cover-status-small {
  top: 12px;
  right: 12px;
  padding: 7px 9px;
  font-size: 0.58rem;
}

.live-release {
  color: var(--brass-light);
}

/* Keep the live card in the same geometry as the other timeline cards. */
.release-card-live {
  padding-top: 52px;
}

.release-card-live .timeline-dot {
  top: 15px;
  left: 20px;
  background: #705629;
}

.release-card-live .release-cover {
  outline: 2px solid rgba(112, 86, 41, 0.38);
  outline-offset: 5px;
}

.release-card-live .month {
  color: #5d451b;
}

.release-action {
  display: inline-block;
  margin-top: 12px;
  color: #5f4518;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.release-action:hover,
.release-action:focus-visible {
  color: var(--ink);
}

@media (max-width: 940px) {
  .book-grid-six {
    grid-template-columns: repeat(2, minmax(0, 220px));
  }

  .release-card-live {
    padding-top: 0;
  }

  .release-card-live .timeline-dot {
    display: none;
  }
}

@media (max-width: 560px) {
  .book-grid-six {
    grid-template-columns: minmax(0, 280px);
    row-gap: 46px;
  }

  .book-grid-six .book-card {
    max-width: 280px;
  }
}


/* Amazon Associates disclosures */

.affiliate-disclosure {
  color: var(--muted);
  font-size: 0.69rem;
  line-height: 1.55;
}

.affiliate-disclosure-feature {
  max-width: 440px;
  margin: 14px 0 0;
}

.affiliate-disclosure-section {
  position: relative;
  z-index: 1;
  margin: -38px 0 42px;
}

.affiliate-disclosure-releases {
  position: relative;
  margin: -48px 0 48px;
  color: #655d54;
}

.footer-affiliate-disclosure {
  margin-top: 12px !important;
  font-size: 0.66rem !important;
}

@media (max-width: 940px) {
  .affiliate-disclosure-feature {
    margin-inline: auto;
  }

  .affiliate-disclosure-section,
  .affiliate-disclosure-releases {
    margin-top: -24px;
  }
}


/* Kindle Unlimited availability strip */

.kindle-unlimited-strip {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(191, 155, 90, 0.38);
  border-bottom: 1px solid rgba(191, 155, 90, 0.38);
  background:
    linear-gradient(90deg, rgba(191, 155, 90, 0.035), transparent 22%, transparent 78%, rgba(191, 155, 90, 0.035)),
    #0d1115;
}

.kindle-unlimited-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background:
    radial-gradient(circle at 50% 50%, rgba(191, 155, 90, 0.12), transparent 42%);
}

.kindle-unlimited-inner {
  position: relative;
  z-index: 1;
  padding: 42px 0 44px;
  text-align: center;
}

.kindle-unlimited-inner .eyebrow {
  margin-bottom: 9px;
  color: var(--brass-light);
}

.kindle-unlimited-inner p:last-child {
  margin: 0;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.1vw, 2.05rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

@media (max-width: 680px) {
  .kindle-unlimited-inner {
    padding: 34px 0 36px;
  }

  .kindle-unlimited-inner p:last-child {
    font-size: clamp(1.25rem, 6vw, 1.65rem);
  }
}
