/* =========================================================
   İlayda Pişiriyor: site styles
   Fonts are self-hosted (SIL OFL, see assets/fonts/OFL-*.txt).
   Only latin and latin-ext subsets are included, enough for Turkish.
   ========================================================= */

@font-face {
  font-family: 'Young Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/young-serif-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Young Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/young-serif-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Brygada 1918 roman is a variable font: one file covers weights 400 to 700. */
@font-face {
  font-family: 'Brygada 1918';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/brygada-1918-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Brygada 1918';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/brygada-1918-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Brygada 1918';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/brygada-1918-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Brygada 1918';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/brygada-1918-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/dancing-script-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/dancing-script-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================
   Design tokens
   Ground and accent come from the book cover: bottle green and
   the gold of the title. The cream "paper" tokens are used only
   for the sample page, the way the book's inner pages look.
   ========================================================= */
:root {
  --c-ground: #17281e;
  --c-ground-raised: #1f3328;
  --c-cream: #f2e8d5;
  --c-cream-soft: #d9d1be;
  --c-muted: #a4ab98;
  --c-gold: #e2ae4f;
  --c-gold-hover: #efc069;
  --c-ink-on-gold: #1f1a0c;
  --c-line: rgba(242, 232, 213, 0.14);
  --c-gold-line: rgba(226, 174, 79, 0.5);

  --c-paper: #f4ecdc;
  --c-paper-ink: #2b2419;
  --c-paper-muted: #6b604f;
  --c-paper-rule: rgba(43, 36, 25, 0.16);
  --c-paper-green: #24452f;
  --c-paper-sage: #e6e5d0;
  --c-copper: #94491c;

  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-text: "Brygada 1918", Georgia, "Times New Roman", serif;
  --font-script: "Dancing Script", "Snell Roundhand", cursive;

  --container: 70rem;
  --gutter: clamp(1.25rem, 4vw, 2.75rem);
  --section-space: clamp(4rem, 9vw, 7rem);
  --header-h: 4.25rem;

  interpolate-size: allow-keywords;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--c-ground);
  color: var(--c-cream);
  font-family: var(--font-text);
  font-size: 1.1875rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
cite { font-style: italic; }

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

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--c-gold);
  color: var(--c-ink-on-gold);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

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

/* =========================================================
   Shared components
   ========================================================= */

/* Buttons. "is-soon" is set while the book is not on sale (see config.js). */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.8rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 3px;
  font: 600 1.125rem/1.2 var(--font-text);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn--primary {
  background: var(--c-gold);
  color: var(--c-ink-on-gold);
}
.btn--primary:hover { background: var(--c-gold-hover); }

.btn.is-soon {
  background: transparent;
  color: var(--c-gold);
  border-color: var(--c-gold-line);
  cursor: default;
}

.note {
  margin-top: 0.7rem;
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--c-muted);
}
.note a {
  color: var(--c-cream);
  text-decoration-color: var(--c-line);
  text-underline-offset: 0.2em;
}
.note a:hover { text-decoration-color: currentColor; }

/* Book cover image. Replace assets/img/kitap-kapak.jpg to change it everywhere. */
.cover {
  border: 1px solid var(--c-gold-line);
  box-shadow: 8px 10px 22px rgba(0, 0, 0, 0.45);
  background: var(--c-ground-raised);
}
.cover--sm { width: 4.75rem; flex-shrink: 0; }
.cover--lg { width: 100%; max-width: 21rem; }

/* Portrait with an offset gold frame. */
.portrait__media {
  position: relative;
}
.portrait__media::before {
  content: "";
  position: absolute;
  inset: 0.875rem -0.875rem -0.875rem 0.875rem;
  border: 1px solid var(--c-gold-line);
  pointer-events: none;
}
.portrait__media img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--c-ground-raised);
}
.portrait__caption {
  margin-top: 1.6rem;
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--c-muted);
}

/* Section scaffolding */
.section {
  padding-block: var(--section-space);
  border-top: 1px solid var(--c-line);
}
.section__head {
  max-width: 38rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.2vw + 1.2rem, 2.75rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.section__intro {
  margin-top: 0.9rem;
  color: var(--c-cream-soft);
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(23, 40, 30, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  text-decoration: none;
  white-space: nowrap;
}
.logo .icon {
  width: 1.4em;
  height: 1.4em;
  color: var(--c-gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 1.0625rem;
}
.nav a { text-decoration: none; }
.nav__link { color: var(--c-muted); transition: color 0.2s ease; }
.nav__link:hover { color: var(--c-cream); }
.nav__buy {
  color: var(--c-gold);
  border-bottom: 1px solid var(--c-gold);
  padding-bottom: 0.1rem;
}

/* =========================================================
   Hero: a short letter from İlayda
   ========================================================= */
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
  grid-template-areas:
    "photo head"
    "photo body";
  grid-template-rows: auto 1fr;
  column-gap: clamp(2.5rem, 6vw, 4rem);
  padding-block: clamp(2.5rem, 6vw, 3.75rem) var(--section-space);
}
.hero__photo { grid-area: photo; align-self: start; }
.hero__head { grid-area: head; }
.hero__body { grid-area: body; }

.hero__hello {
  font-size: clamp(1.3rem, 1vw + 1rem, 1.625rem);
  font-style: italic;
  line-height: 1.3;
  color: var(--c-gold);
}
.hero__title {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3.4vw + 1rem, 3.25rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.hero__body > p:not(.signature) {
  max-width: 31em;
  margin-top: 1.15rem;
  color: var(--c-cream-soft);
}
.hero__body > p:first-child { margin-top: 1.4rem; }

/* The signature is "written" once on load: the page's single motion moment. */
.signature {
  width: max-content;
  margin-top: 0.9rem;
  font-family: var(--font-script);
  font-weight: 600;
  font-size: 2.75rem;
  line-height: 1.1;
  color: var(--c-gold);
  animation: write-in 1.3s 0.5s cubic-bezier(0.45, 0, 0.3, 1) both;
}
@keyframes write-in {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

.buy-row {
  display: flex;
  align-items: center;
  gap: 1.375rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--c-line);
}

/* =========================================================
   Book
   ========================================================= */
.book__grid {
  display: grid;
  grid-template-columns: minmax(0, 21rem) minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 5rem);
  align-items: start;
}
.book__cover { position: sticky; top: calc(var(--header-h) + 2rem); }
.book__content { max-width: 38rem; }
.book__subtitle {
  margin-top: 0.45rem;
  font-size: 1.125rem;
  font-style: italic;
  color: var(--c-gold);
}
.book__lead {
  margin-top: 1.1rem;
  font-size: 1.3125rem;
  line-height: 1.6;
}
.book__text {
  margin-top: 1rem;
  color: var(--c-cream-soft);
}

/* Table of contents with dotted leaders, like the book's own index. */
.toc__title {
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--c-gold);
}
.toc__item {
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--c-line);
}
.toc__item:last-child { border-bottom: 0; }
.toc__row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 1.125rem;
}
.toc__no {
  width: 1.5rem;
  flex-shrink: 0;
  font-style: italic;
  color: var(--c-gold);
  font-variant-numeric: lining-nums;
}
.toc__name { font-weight: 600; }
.toc__dots {
  flex: 1;
  min-width: 1.5rem;
  border-bottom: 1px dotted rgba(242, 232, 213, 0.3);
  transform: translateY(-0.3em);
}
.toc__page {
  font-size: 0.9375rem;
  color: var(--c-muted);
}
.toc__recipes {
  margin-top: 0.15rem;
  padding-left: 2.25rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  font-style: italic;
  color: var(--c-muted);
}
.toc__extra {
  margin-top: 0.9rem;
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--c-muted);
}
.book__meta {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--c-line);
  color: var(--c-cream-soft);
}
.book__buy { margin-top: 1.5rem; }

/* =========================================================
   Sample page: one page of the book, set on cream paper.
   This is the page's one bold element; keep the rest quiet.
   ========================================================= */
.sample__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}
.sample__content p {
  margin-top: 1.1rem;
  max-width: 30em;
  color: var(--c-cream-soft);
}
.sample__content .section__title + p { margin-top: 1.4rem; }
.sample__content .sample__source {
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--c-muted);
}

.book-page {
  padding: clamp(1.25rem, 3vw, 2.25rem);
  background: var(--c-paper);
  color: var(--c-paper-ink);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25), 18px 26px 50px rgba(0, 0, 0, 0.45);
  transform: rotate(-0.8deg);
}
.book-page__image {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  background: var(--c-paper-sage);
}
.book-page__title {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--c-paper-green);
}
.book-page__sub {
  margin-top: 0.2rem;
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--c-copper);
}

.fix-table {
  width: 100%;
  margin-top: 1rem;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.fix-table th {
  padding: 0 0.75rem 0.45rem 0;
  border-bottom: 1px solid var(--c-copper);
  font-weight: 600;
  text-align: left;
  color: var(--c-copper);
}
.fix-table td {
  padding: 0.65rem 0.75rem 0.65rem 0;
  border-bottom: 1px solid var(--c-paper-rule);
  vertical-align: top;
}
.fix-table td:first-child { width: 26%; font-weight: 600; }
.fix-table td:nth-child(2) { width: 28%; color: var(--c-paper-muted); }

.book-page__rule {
  margin-top: 1.25rem;
  padding: 0.9rem 1.1rem;
  border-left: 3px solid var(--c-paper-green);
  background: var(--c-paper-sage);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.book-page__rule strong {
  display: block;
  margin-bottom: 0.2rem;
  font-weight: 600;
  color: var(--c-paper-green);
}

.book-page__foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--c-paper-rule);
  font-size: 0.8125rem;
  color: var(--c-paper-muted);
}

/* =========================================================
   Videos (click-to-load YouTube, see main.js)
   ========================================================= */
.videos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem clamp(1.5rem, 3vw, 2.5rem);
}

.video__link,
.video__frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--c-ground-raised);
}
.video__link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video__play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: -1.75rem 0 0 -1.75rem;
  border-radius: 50%;
  background: var(--c-gold);
  color: var(--c-ink-on-gold);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease;
}
.video__play svg { width: 1.4rem; height: 1.4rem; margin-left: 0.15rem; }
.video__link:hover .video__play { transform: scale(1.06); }

.video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video__caption { margin-top: 0.85rem; }
.video__title {
  display: block;
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.4;
  text-wrap: pretty;
}
.video__meta {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--c-muted);
}

.channel-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 2.5rem;
  color: var(--c-cream);
  text-decoration: underline;
  text-decoration-color: var(--c-line);
  text-underline-offset: 0.25em;
}
.channel-link:hover { text-decoration-color: currentColor; }
.channel-link .icon { color: var(--c-gold); }

/* =========================================================
   Viewer comments
   ========================================================= */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem clamp(1.5rem, 3vw, 2.5rem);
}
.quote {
  padding-left: 1.5rem;
  border-left: 1px solid var(--c-gold-line);
}
.quote blockquote p {
  font-size: 1.1875rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--c-cream-soft);
}
.quote blockquote p::before { content: "\201C"; }
.quote blockquote p::after { content: "\201D"; }
.quote figcaption {
  margin-top: 0.9rem;
  font-size: 0.9375rem;
  color: var(--c-muted);
}

/* =========================================================
   About
   ========================================================= */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 5rem);
  align-items: center;
}
.about__content { max-width: 36rem; }
.about__content p {
  margin-top: 1.1rem;
  color: var(--c-cream-soft);
}
.about__content .section__title + p { margin-top: 1.4rem; }
.about__content .about__note {
  margin-top: 1.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--c-line);
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--c-muted);
}

/* =========================================================
   FAQ (native details/summary, no JS)
   ========================================================= */
.faq__wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 2rem clamp(2.5rem, 7vw, 5rem);
  align-items: start;
}
.faq details { border-bottom: 1px solid var(--c-line); }
.faq details:first-child { border-top: 1px solid var(--c-line); }
.faq summary {
  position: relative;
  padding: 1.15rem 2.5rem 1.15rem 0;
  font-size: 1.1875rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 0.35rem;
  top: 50%;
  width: 0.9rem;
  height: 1.5px;
  background: var(--c-gold);
  transition: transform 0.25s ease;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--c-gold); }
.faq details p {
  padding-bottom: 1.25rem;
  max-width: 34em;
  color: var(--c-cream-soft);
}
.faq details::details-content {
  block-size: 0;
  overflow: clip;
  transition: block-size 0.3s ease, content-visibility 0.3s allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }

/* =========================================================
   Final call
   ========================================================= */
.final__inner {
  display: flex;
  align-items: center;
  gap: clamp(1.75rem, 5vw, 3.5rem);
}
.final__cover { width: clamp(6rem, 14vw, 9rem); flex-shrink: 0; }
.final__text {
  margin-top: 0.75rem;
  color: var(--c-cream-soft);
}
.final__buy { margin-top: 1.5rem; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--c-line);
  padding-block: 2.5rem 3rem;
  font-size: 0.9375rem;
  color: var(--c-muted);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.site-footer .logo { color: var(--c-cream); }
.site-footer__copy { margin-top: 0.35rem; }
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
}
.site-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer__links a:hover { color: var(--c-cream); }
.site-footer__links .icon { color: var(--c-gold); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .book__grid,
  .sample__grid,
  .about__grid,
  .faq__wrap { grid-template-columns: minmax(0, 1fr); }
  .book__cover { position: static; max-width: 15rem; }
  .about__photo { max-width: 15rem; }
  .videos { grid-template-columns: minmax(0, 1fr); }
  .quotes { grid-template-columns: minmax(0, 1fr); }
  .book-page { transform: none; }
}

@media (max-width: 720px) {
  body { font-size: 1.125rem; }
  .nav__link { display: none; }

  .hero__grid {
    grid-template-columns: 6.5rem minmax(0, 1fr);
    grid-template-areas:
      "photo head"
      "body body";
    grid-template-rows: auto auto;
    column-gap: 1.5rem;
    align-items: center;
  }
  .hero__photo .portrait__media::before { inset: 0.5rem -0.5rem -0.5rem 0.5rem; }
  .hero__photo .portrait__caption { display: none; }
  .hero__title { font-size: clamp(1.6rem, 6.5vw, 2.25rem); }
  .hero__body > p:first-child { margin-top: 1.75rem; }

  .toc__recipes { padding-left: 2.25rem; }

  /* Problem table stacks into one block per row on narrow screens. */
  .fix-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .fix-table tr {
    display: block;
    padding-block: 0.75rem;
    border-bottom: 1px solid var(--c-paper-rule);
  }
  .fix-table td,
  .fix-table td:first-child,
  .fix-table td:nth-child(2) {
    display: block;
    width: auto;
    padding: 0;
    border: 0;
  }
  .fix-table td + td { margin-top: 0.3rem; }
  .fix-table td[data-label]::before {
    content: attr(data-label) ": ";
    font-style: italic;
    font-weight: 400;
    color: var(--c-copper);
  }

  .buy-row { gap: 1.1rem; }
  .final__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .final__cover { width: 6.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
