/* ============================================================
   maliau_photography — modern conversion-focused single page
   Light cream + warm tomato. Fraunces + Inter.
   ============================================================ */

:root {
  /* surfaces */
  --bg:           #faf6ec;
  --surface:      #f3ead8;
  --surface-2:    #ebdfc6;
  --card:         #ffffff;

  /* ink */
  --ink:          #1c1611;
  --ink-soft:     #4f4030;
  --ink-mute:     #8a7765;
  --line:         rgba(28, 22, 17, 0.10);
  --line-soft:    rgba(28, 22, 17, 0.05);

  /* accent — confident warm tomato */
  --accent:       #c4543b;
  --accent-d:     #8a3826;
  --accent-bright:#e6694b;
  --gold:         #b48243;

  /* type */
  --serif:        'Fraunces', Georgia, serif;
  --sans:         'Inter', system-ui, -apple-system, Segoe UI, sans-serif;

  /* fluid scales */
  --fs-mega:      clamp(3.5rem, 9vw, 9rem);
  --fs-h2:        clamp(2.6rem, 6.5vw, 6.5rem);
  --fs-h3:        clamp(1.5rem, 2.4vw, 2rem);
  --fs-lede:      clamp(1.05rem, 1.3vw, 1.3rem);
  --fs-body:      clamp(0.98rem, 1.05vw, 1.08rem);
  --fs-mono:      0.74rem;

  /* spacing */
  --pad-x:        clamp(1.2rem, 5vw, 5rem);
  --max:          92rem;
  --max-narrow:   60rem;

  --r-pill:       999px;
  --r-card:       4px;
  --shadow-sm:    0 2px 14px -6px rgba(28,22,17,0.18);
  --shadow:       0 24px 60px -28px rgba(28,22,17,0.25);
  --shadow-lift:  0 30px 80px -30px rgba(196,84,59,0.30);

  --ease:         cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* -----------------------------------------------------------
   Reset / base
   ----------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--bg); }

img { display: block; max-width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* -----------------------------------------------------------
   Buttons — the most important element on a booking site
   ----------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border-radius: var(--r-pill);
  padding: 0.85rem 1.4rem;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.4s var(--ease), gap 0.3s var(--ease);
  will-change: transform;
  line-height: 1;
}
.btn svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease); }

.btn--solid {
  background: var(--accent);
  color: var(--bg);
  box-shadow: var(--shadow-sm);
}
.btn--solid:hover {
  background: var(--accent-d);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  gap: 0.85rem;
}
.btn--solid:hover svg { transform: translateX(3px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  transform: translateY(-2px);
  gap: 0.85rem;
}
.btn--ghost:hover svg { transform: translateX(3px); }

.btn--ghost-light {
  background: rgba(250, 246, 236, 0.08);
  color: var(--bg);
  border: 1px solid rgba(250, 246, 236, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn--ghost-light:hover {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
  transform: translateY(-2px);
  gap: 0.85rem;
}
.btn--ghost-light:hover svg { transform: translateX(3px); }

.btn--lg {
  font-size: 1.05rem;
  padding: 1.15rem 1.8rem;
}
.btn--lg svg { width: 18px; height: 18px; }

.btn--pill {
  /* same as solid but used as smaller chip */
  background: var(--ink);
  color: var(--bg);
  font-size: 0.84rem;
  padding: 0.65rem 1.1rem;
}
.btn--pill:hover {
  background: var(--accent);
  transform: translateY(-2px);
  gap: 0.85rem;
}
.btn--pill:hover svg { transform: translateX(3px); }

/* -----------------------------------------------------------
   Type primitives
   ----------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-mono);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--center { justify-content: center; align-self: center; }
.eyebrow__sep {
  color: var(--ink-mute);
  opacity: 0.6;
  font-weight: 400;
  letter-spacing: 0;
}

.section__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: 0.96;
  letter-spacing: -0.022em;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.section__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-d);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

.section__sub {
  margin: 0.8rem 0 0;
  font-size: var(--fs-lede);
  color: var(--ink-soft);
  max-width: 50rem;
  line-height: 1.55;
}

.section__head {
  display: grid;
  gap: 0.8rem;
  max-width: var(--max-narrow);
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
}
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.section__head--narrow { max-width: 48rem; }

/* -----------------------------------------------------------
   Sticky nav
   ----------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem var(--pad-x);
  color: var(--bg);
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(250, 246, 236, 0.85);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  padding: 0.7rem var(--pad-x);
  box-shadow: 0 1px 0 var(--line-soft);
  color: var(--ink);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.nav__mark {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 999px;
  background: rgba(250, 246, 236, 0.12);
  color: var(--bg);
  border: 1px solid rgba(250, 246, 236, 0.45);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.nav.is-scrolled .nav__mark {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.nav__brand-text {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: inherit;
}

.nav__links {
  justify-self: center;
  display: flex;
  gap: clamp(1.2rem, 2.5vw, 2.4rem);
  font-size: 0.86rem;
  font-weight: 500;
  color: inherit;
  opacity: 0.92;
}
.nav__links a {
  position: relative;
  padding: 0.5rem 0;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0.15rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav.is-scrolled .nav__links a::after { background: var(--accent); }

.nav__cta { justify-self: end; }

.nav__toggle {
  display: none;
  width: 36px; height: 28px;
  position: relative;
  justify-self: end;
}
.nav__toggle-bar {
  position: absolute;
  left: 4px; right: 4px;
  height: 1.6px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease), background 0.4s var(--ease);
}
.nav__toggle-bar:nth-child(1) { top: 9px; }
.nav__toggle-bar:nth-child(2) { top: 17px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) { top: 13px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) { top: 13px; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .nav { grid-template-columns: 1fr auto auto; }
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
}

/* mobile drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  display: grid;
  place-items: center;
  padding: 4rem 2rem;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav {
  display: grid;
  gap: 1.4rem;
  text-align: center;
}
.mobile-menu nav > a {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 7vw, 2.8rem);
  color: var(--ink);
  font-variation-settings: "opsz" 96, "SOFT" 100, "WONK" 1;
}
.mobile-menu__cta { font-style: normal !important; font-family: var(--sans) !important; font-size: 0.95rem !important; margin-top: 1rem; justify-self: center; }

/* -----------------------------------------------------------
   Hero
   ----------------------------------------------------------- */

.hero {
  position: relative;
  height: clamp(560px, 90vh, 880px);
  overflow: hidden;
  background: var(--surface);
}

.hero__photo {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
}
.hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28,22,17,0.40) 0%, rgba(28,22,17,0) 25%, rgba(28,22,17,0) 45%, rgba(28,22,17,0.70) 100%),
    linear-gradient(90deg, rgba(28,22,17,0.45) 0%, rgba(28,22,17,0) 55%);
  pointer-events: none;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.hero__inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: clamp(2rem, 5vw, 5rem);
  padding-top: clamp(7rem, 12vw, 10rem);
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
  z-index: 1;
}

.hero__type {
  display: grid;
  gap: clamp(0.9rem, 1.8vw, 1.4rem);
  max-width: 50rem;
  color: var(--bg);
}

.hero__kicker {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-mono);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(250, 246, 236, 0.85);
  width: fit-content;
}
.hero__kicker::before {
  content: '';
  display: inline-block;
  width: 32px; height: 1px;
  background: rgba(250, 246, 236, 0.6);
}

.kicker {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-mono);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  width: fit-content;
}
.kicker__dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(196,84,59,0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(196,84,59,0.18); }
  50%      { box-shadow: 0 0 0 8px rgba(196,84,59,0.04); }
}

.hero__h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.2rem, 9vw, 8rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--bg);
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.30);
  font-variation-settings: "opsz" 144, "SOFT" 50;
  text-wrap: balance;
}
.hero__h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--bg);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.hero__sub {
  margin: 0;
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.6;
  color: rgba(250, 246, 236, 0.92);
  max-width: 50ch;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.30);
}

.hero__cta {
  display: flex;
  gap: 0.8rem;
  margin: 0.6rem 0 0;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .hero { height: clamp(560px, 88vh, 740px); }
  .hero__inner { padding: 6rem 1.4rem 2.5rem; }
  .hero__h1 { font-size: clamp(2.6rem, 11vw, 4rem); }
}

/* -----------------------------------------------------------
   Marquee strip
   ----------------------------------------------------------- */

.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.strip__track {
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  color: var(--ink-soft);
  animation: marquee 42s linear infinite;
  font-variation-settings: "opsz" 96, "SOFT" 100, "WONK" 1;
}
.strip__dot {
  font-size: 0.4em;
  color: var(--accent);
  font-style: normal;
  transform: translateY(-0.4em);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .strip__track { animation: none; }
}

/* -----------------------------------------------------------
   Featured work
   ----------------------------------------------------------- */

.work {
  padding: clamp(5rem, 10vw, 9rem) var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(0.8rem, 1.4vw, 1.4rem);
}

.card {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--r-card);
  aspect-ratio: 3 / 4;
  grid-column: span 4;
}
.card--xl   { grid-column: span 6; grid-row: span 2; aspect-ratio: 4 / 5; }
.card--wide { grid-column: span 6; aspect-ratio: 16 / 10; }

.card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease);
}
.card:hover img { transform: scale(1.04); }

@media (max-width: 880px) {
  .work__grid { grid-template-columns: repeat(2, 1fr); }
  .card { grid-column: span 1 !important; grid-row: auto !important; aspect-ratio: 3/4 !important; }
  .card--xl, .card--wide { grid-column: span 2 !important; aspect-ratio: 4/5 !important; }
}
@media (max-width: 540px) {
  .work__grid { grid-template-columns: 1fr; gap: 0.6rem; }
  .card, .card--xl, .card--wide { grid-column: 1 / -1 !important; aspect-ratio: 4/5 !important; }
}

.work__cta {
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  text-align: center;
  font-size: 1.05rem;
  color: var(--ink-soft);
}
.work__cta a {
  color: var(--accent-d);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  font-weight: 500;
  transition: color 0.3s var(--ease), gap 0.3s var(--ease);
}
.work__cta a:hover { color: var(--ink); }

/* -----------------------------------------------------------
   Services — bookable cards
   ----------------------------------------------------------- */

.services {
  padding: clamp(5rem, 10vw, 9rem) var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
}
.services .section__head { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 1.8vw, 1.6rem);
}

.service {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -25px rgba(28,22,17,0.22);
}

.service__photo {
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 4 / 5;
  width: 100%;
}
.service__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.service:hover .service__photo img { transform: scale(1.05); }

.service__body {
  padding: clamp(1.1rem, 1.6vw, 1.5rem) clamp(1.1rem, 1.6vw, 1.5rem) clamp(1.3rem, 1.8vw, 1.7rem);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.service__body h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.35rem, 1.7vw, 1.65rem);
  line-height: 1.1;
  letter-spacing: -0.012em;
  color: var(--ink);
  font-variation-settings: "opsz" 60, "SOFT" 100;
}
.service__body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.5;
}
.service__cta {
  margin-top: auto;
  padding-top: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-d);
  width: fit-content;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.service__cta:hover { gap: 0.7rem; color: var(--ink); }

@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .services__grid { grid-template-columns: 1fr; }
  .service__photo { aspect-ratio: 4 / 3; }
}

/* -----------------------------------------------------------
   About
   ----------------------------------------------------------- */

.about {
  padding: clamp(5rem, 10vw, 9rem) var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about__photo {
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.about__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.8s var(--ease);
}
.about__photo:hover img { transform: scale(1.04); }

.about__copy { display: grid; gap: 1rem; align-content: center; }
.about__lede {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.45;
  color: var(--ink);
  font-variation-settings: "opsz" 36, "SOFT" 50;
}
.about__copy p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 50ch;
}
.about__cta { margin-top: 0.8rem; justify-self: start; }

@media (max-width: 880px) {
  .about { grid-template-columns: 1fr; }
}

/* -----------------------------------------------------------
   Testimonials
   ----------------------------------------------------------- */

.words {
  padding: clamp(5rem, 10vw, 9rem) var(--pad-x);
  background: var(--surface);
}

.words__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.2rem, 2.4vw, 2rem);
}

.quote {
  margin: 0;
  background: var(--card);
  border-radius: var(--r-card);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-sm);
  position: relative;
  border: 1px solid var(--line-soft);
}
.quote::before {
  content: '\201C';
  position: absolute;
  top: 0.4rem; left: 1.2rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 5rem;
  line-height: 0.8;
  color: var(--accent);
  opacity: 0.18;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.quote p {
  margin: 0 0 1.2rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.45;
  color: var(--ink);
  font-variation-settings: "opsz" 36, "SOFT" 100, "WONK" 1;
  position: relative;
  z-index: 1;
}
.quote footer {
  display: grid;
  gap: 0.15rem;
}
.quote__name {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
}
.quote__role {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

@media (max-width: 760px) {
  .words__grid { grid-template-columns: 1fr; }
}

/* -----------------------------------------------------------
   Final CTA — book section
   ----------------------------------------------------------- */

.book {
  padding: clamp(7rem, 14vw, 12rem) var(--pad-x) clamp(5rem, 10vw, 8rem);
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: clamp(1.4rem, 3vw, 2rem);
  justify-items: center;
  position: relative;
}
.book::before {
  /* soft warm halo behind the title */
  content: '';
  position: absolute;
  top: 12%; left: 50%;
  transform: translateX(-50%);
  width: clamp(20rem, 60vw, 56rem);
  aspect-ratio: 1;
  background: radial-gradient(circle at center, rgba(196,84,59,0.10) 0%, rgba(196,84,59,0) 60%);
  pointer-events: none;
  z-index: 0;
}

.book > * { position: relative; z-index: 1; }

.book__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.6rem, 12vw, 12rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.book__title em {
  font-style: italic;
  color: var(--accent-d);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

.book__sub {
  margin: 0;
  font-size: var(--fs-lede);
  color: var(--ink-soft);
  max-width: 46rem;
  line-height: 1.55;
}

.book__actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.book__details {
  list-style: none;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding: clamp(1.4rem, 3vw, 2rem) 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 60rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.book__details li > span {
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-mono);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
@media (max-width: 600px) {
  .book__details { grid-template-columns: 1fr; gap: 1.2rem; text-align: left; padding-left: 1rem; padding-right: 1rem; }
}

/* -----------------------------------------------------------
   Footer
   ----------------------------------------------------------- */

.footer {
  padding: 2rem var(--pad-x);
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 0.84rem;
  color: var(--ink-mute);
}
.footer__row a:hover { color: var(--accent-d); }

@media (max-width: 720px) {
  .footer__row { gap: 0.6rem 1.4rem; font-size: 0.78rem; }
}

/* -----------------------------------------------------------
   Reveal animation
   ----------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }

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