/*
Theme Name: Florence de Neuville V2
Theme URI: https://florencedeneuville.com/
Author: Florence de Neuville
Description: Theme vitrine sur mesure pour Florence de Neuville.
Version: 1.0.0
Requires at least: 6.8
Requires PHP: 8.2
Text Domain: fdn-v2
*/

:root {
  --fdn-navy: #061f37;
  --fdn-navy-soft: #0b2d4a;
  --fdn-gold: #c79845;
  --fdn-gold-light: #e4c887;
  --fdn-cream: #fbf7ef;
  --fdn-white: #ffffff;
  --fdn-ink: #172433;
  --fdn-muted: #627080;
  --fdn-radius: 24px;
  --fdn-shadow: 0 20px 60px rgba(4, 25, 44, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--fdn-ink);
  background: var(--fdn-cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  clip: auto;
  width: auto;
  height: auto;
  margin: 8px;
  padding: 12px 16px;
  z-index: 9999;
  color: var(--fdn-navy);
  background: white;
}
.fdn-shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: white;
  background: rgba(6, 31, 55, 0.94);
  border-bottom: 1px solid rgba(228, 200, 135, 0.24);
  backdrop-filter: blur(14px);
}
.site-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.site-brand {
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--fdn-gold-light);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  letter-spacing: 0.02em;
}
.site-brand span { display: block; line-height: 1.05; }
.site-brand small { display: flex; align-items: center; gap: 9px; margin-top: 5px; color: var(--fdn-gold); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 0.55rem; font-weight: 700; letter-spacing: 0.34em; text-align: center; text-transform: uppercase; }
.site-brand small::before, .site-brand small::after { content: ""; flex: 1; height: 1px; background: var(--fdn-gold); }
.site-header__socials { display: flex; align-items: center; gap: 7px; margin-left: auto; }
.site-header__socials > span { margin-right: 5px; color: #d7e0e8; font-size: .72rem; font-style: italic; white-space: nowrap; }
.site-header__socials a { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid rgba(228,200,135,.38); border-radius: 50%; color: white; transition: color 160ms ease, background 160ms ease; }
.site-header__socials a:hover, .site-header__socials a:focus-visible { color: var(--fdn-navy); background: var(--fdn-gold-light); }
.site-header__socials svg { width: 16px; height: 16px; fill: currentColor; }
.site-header__socials rect, .site-header__socials circle { fill: none; stroke: currentColor; stroke-width: 1.8; }
.site-header__socials .dot { fill: currentColor; stroke: none; }
.site-nav-toggle-input, .site-nav-toggle { display: none; }
.site-nav > ul, .site-nav > .menu { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.site-nav a { color: white; text-decoration: none; font-size: 0.91rem; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--fdn-gold-light); }
.site-nav .menu-item-has-children { position: relative; }
.site-nav .sub-menu { position: absolute; z-index: 120; top: calc(100% + 12px); right: 0; width: 220px; margin: 0; padding: 9px; list-style: none; visibility: hidden; opacity: 0; transform: translateY(-6px); border: 1px solid rgba(228,200,135,.3); border-radius: 12px; background: #031a2e; box-shadow: 0 16px 35px rgba(0,0,0,.26); transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease; }
.site-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -13px; height: 13px; }
.site-nav .sub-menu li + li { border-top: 1px solid rgba(228,200,135,.16); }
.site-nav .sub-menu a { display: block; padding: 10px 12px; border-radius: 7px; }
.site-nav .sub-menu a:hover, .site-nav .sub-menu a:focus-visible { background: rgba(228,200,135,.1); }
.site-nav .menu-item-has-children:hover .sub-menu, .site-nav .menu-item-has-children:focus-within .sub-menu { visibility: visible; opacity: 1; transform: translateY(0); }
.site-nav .menu-item-has-children.submenu-open .sub-menu { visibility: visible; opacity: 1; transform: translateY(0); }

.fdn-hero {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 18% 10%, rgba(68, 118, 158, 0.38), transparent 34%),
    linear-gradient(135deg, var(--fdn-navy-soft), var(--fdn-navy) 65%);
}
.fdn-hero::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: 4%;
  display: none;
  pointer-events: none;
}
.fdn-hero__grid {
  position: relative;
  z-index: 1;
  min-height: clamp(680px, 40vw, 760px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: 56px;
  padding-block: 64px 78px;
}
.fdn-eyebrow {
  margin: 0 0 18px;
  color: var(--fdn-gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.fdn-hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--fdn-gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 7vw, 6.35rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.012em;
}
.fdn-hero h1 span {
  display: block;
  margin-top: 0.08em;
  font-size: 0.58em;
  font-style: italic;
  letter-spacing: 0.025em;
}
.fdn-hero__tagline {
  max-width: 650px;
  margin: 28px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  line-height: 1.35;
}
.fdn-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.fdn-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--fdn-gold);
  border-radius: 999px;
  color: var(--fdn-navy);
  background: var(--fdn-gold-light);
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}
.fdn-button:hover { transform: translateY(-2px); background: white; }
.fdn-button--ghost { color: white; background: transparent; }
.fdn-button--ghost:hover { color: var(--fdn-navy); background: white; }
.fdn-hero__portrait {
  position: absolute;
  z-index: -1;
  inset: 0 50% 0 50%;
  display: flex;
  align-items: flex-end;
  width: 100vw;
  margin: 0;
  transform: translateX(-50%);
  pointer-events: none;
}
.fdn-hero__portrait::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 5% -10% 4%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 55% 38%, rgba(228, 200, 135, 0.28), transparent 26%),
    radial-gradient(ellipse at center, rgba(61, 116, 158, 0.68), rgba(6, 31, 55, 0) 67%);
  filter: blur(12px);
}
.fdn-hero__portrait img {
  width: 100%;
  height: auto;
  max-height: none;
}

.fdn-section { padding-block: 96px; scroll-margin-top: 80px; }
.fdn-section--white { background: white; }
.fdn-section--navy { color: white; background: var(--fdn-navy); }
.fdn-section__head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.fdn-section__head h2, .fdn-about h2 {
  margin: 0 0 18px;
  color: var(--fdn-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4.6vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
}
.fdn-section--navy .fdn-section__head h2 { color: var(--fdn-gold-light); }
.fdn-section__head p { margin: 0; color: var(--fdn-muted); font-size: 1.08rem; }
.fdn-section--navy .fdn-section__head p { color: #d9e2ea; }
.fdn-rule { width: 92px; height: 2px; margin: 24px auto; background: var(--fdn-gold); }

.fdn-about { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 64px; align-items: start; }
.fdn-about__label { color: var(--fdn-gold); font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.fdn-about__copy { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.25rem, 2.4vw, 1.65rem); line-height: 1.62; }
.fdn-about__copy p:first-child { margin-top: 0; }

.fdn-collection { scroll-margin-top: 112px; }
.fdn-collection + .fdn-collection { margin-top: 86px; }
.fdn-collection__title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 28px;
  color: var(--fdn-gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 400;
}
.fdn-collection__title::after { content: ""; flex: 1; height: 1px; background: rgba(228, 200, 135, 0.38); }
.fdn-books { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.fdn-book {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  color: var(--fdn-ink);
  background: white;
  border: 1px solid rgba(199, 152, 69, 0.26);
  border-radius: var(--fdn-radius);
  box-shadow: var(--fdn-shadow);
}
.fdn-book__visual { display: block; padding: 28px; background: linear-gradient(155deg, #f6f1e6, #fff); text-decoration: none; }
.fdn-book__visual img { width: 100%; height: 330px; object-fit: contain; filter: drop-shadow(0 16px 14px rgba(5, 24, 40, 0.2)); }
.fdn-book__visual--3d { padding: 2px 12px; }
.fdn-book__visual--3d img { height: 382px; }
.fdn-book__visual--lead img { transform: scale(1.13); }
.fdn-book__body { display: flex; flex: 1; flex-direction: column; padding: 26px; }
.fdn-book__body h3 { margin: 0 0 12px; color: var(--fdn-navy); font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; line-height: 1.15; }
.fdn-book__body h3 a { text-decoration: none; }
.fdn-book__body h3 a:hover, .fdn-book__body h3 a:focus-visible { color: #956c28; text-decoration: underline; text-underline-offset: 0.18em; }
.fdn-book__body p { margin: 0; color: #4b5968; }
.fdn-book__more { align-self: flex-start; margin-top: auto; padding-top: 18px; color: #8a6428; font-size: .82rem; font-weight: 750; letter-spacing: .03em; text-decoration: none; }
.fdn-book__more span { display: inline-block; margin-left: 4px; transition: transform 160ms ease; }
.fdn-book__more:hover, .fdn-book__more:focus-visible { color: var(--fdn-navy); text-decoration: underline; text-underline-offset: .2em; }
.fdn-book__more:hover span, .fdn-book__more:focus-visible span { transform: translateX(3px); }
.fdn-book__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 24px; }
.fdn-buy {
  flex: 1;
  min-width: 112px;
  padding: 10px 12px;
  border: 1px solid var(--fdn-gold);
  border-radius: 999px;
  color: var(--fdn-navy);
  background: #fffaf0;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}
.fdn-buy:hover { color: white; background: var(--fdn-navy); border-color: var(--fdn-navy); }
.fdn-buy--pending { opacity: 0.56; pointer-events: none; }
.fdn-large-print { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(199, 152, 69, 0.28); }
.fdn-large-print > p { margin: 0; color: var(--fdn-navy); font-size: 0.9rem; font-weight: 800; text-align: center; }
.fdn-large-print .fdn-book__links { padding-top: 12px; }
.fdn-large-print .fdn-buy { font-size: 0.76rem; }

.fdn-book-page { min-height: calc(100vh - 150px); background: white; }
.fdn-book-hero { color: white; background: radial-gradient(circle at 32% 35%, rgba(28, 82, 124, .3), transparent 36%), var(--fdn-navy); }
.fdn-book-hero__grid { min-height: 570px; display: grid; grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr); gap: 24px clamp(46px, 8vw, 110px); align-items: center; padding-block: 30px 58px; }
.fdn-book-back { grid-column: 1 / -1; justify-self: start; padding: 8px 16px; border: 1px solid rgba(228,200,135,.58); border-radius: 999px; color: var(--fdn-gold-light); font-size: .9rem; font-weight: 750; text-decoration: none; }
.fdn-book-back:hover, .fdn-book-back:focus-visible { color: var(--fdn-navy); background: var(--fdn-gold-light); }
.fdn-book-hero__visual { position: relative; margin: 0; min-height: 500px; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 22px; border: 1px solid rgba(228,200,135,.3); border-radius: 28px; background: white; box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.fdn-book-hero__visual img { width: min(430px, 100%); max-height: 480px; object-fit: contain; filter: drop-shadow(0 18px 16px rgba(0, 0, 0, .2)); }
.fdn-book-hero__content h1 { margin: 0; color: var(--fdn-gold-light); font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 6vw, 5.6rem); font-weight: 400; line-height: 1.02; }
.fdn-book-hero__content > p:last-of-type { max-width: 650px; margin: 32px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.45; }
.fdn-book-summary { max-width: 650px; margin: 32px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.45; }
.fdn-book-summary p { margin: 0; }
.fdn-ornament { display: flex; align-items: center; width: min(250px, 60%); margin: 28px 0; color: var(--fdn-gold); }
.fdn-ornament span { flex: 1; height: 1px; background: currentColor; }
.fdn-ornament b { padding: 0 8px; }
.fdn-author-signature { width: min(310px, 74%); margin: 32px auto 8px; transform: rotate(-10deg); transform-origin: center; }
.fdn-author-signature img { width: 100%; height: auto; object-fit: contain; }
.fdn-book-about { padding-block: clamp(58px, 7vw, 96px); background: #fffdfa; }
.fdn-rule--left { margin: 14px 0 34px; }
.fdn-book-about__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, .65fr); gap: clamp(42px, 7vw, 90px); align-items: start; }
.fdn-book-about__copy { color: #263342; font-size: 1.03rem; line-height: 1.72; }
.fdn-book-about__copy p:first-child { margin-top: 0; }
.fdn-book-facts { overflow: hidden; border: 1px solid rgba(199, 152, 69, .32); border-radius: 9px; background: #fffefa; }
.fdn-book-facts > div { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: center; padding: 20px; }
.fdn-book-facts > div + div { border-top: 1px solid rgba(199, 152, 69, .24); }
.fdn-book-facts p { margin: 0; }
.fdn-book-facts strong { display: block; color: #7d5b26; font-family: Georgia, serif; }
.fdn-book-facts > div > span { color: var(--fdn-gold); font-size: 1.8rem; text-align: center; }
.fdn-order { margin-top: 62px; padding-top: 42px; border-top: 1px solid rgba(199, 152, 69, .55); text-align: center; }
.fdn-order h2 { margin: 5px 0 26px; color: var(--fdn-navy); font-family: Georgia, serif; font-size: clamp(2.1rem, 4vw, 3.4rem); font-weight: 400; }
.fdn-order__buttons { display: flex; justify-content: center; gap: 14px; }
.fdn-store { width: min(230px, 100%); min-height: 48px; display: grid; grid-template-columns: 58px 1fr 18px; align-items: center; padding: 5px 14px 5px 10px; border-radius: 999px; color: white; text-decoration: none; box-shadow: 0 6px 15px rgba(6,31,55,.1); }
.fdn-store strong { padding-right: 9px; border-right: 1px solid rgba(255,255,255,.35); font-size: 1.25rem; }
.fdn-store span { font-size: .86rem; font-weight: 700; }
.fdn-store b { font-size: 1.35rem; }
.fdn-store--fnac { background: linear-gradient(100deg, #e6a600, #f3c42e); }
.fdn-store--amazon { background: #050505; }
.fdn-store--amazon strong { font-family: Georgia, serif; font-size: 1.75rem; text-decoration: underline; text-decoration-color: #eea51d; }
.fdn-bookseller { width: min(730px, 100%); display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; margin: 0 auto; padding: 20px 24px; border: 1px solid rgba(199,152,69,.36); border-radius: 12px; background: white; text-align: left; }
.fdn-bookseller > span { color: var(--fdn-gold); font-size: 2rem; text-align: center; }
.fdn-bookseller p { margin: 0; color: var(--fdn-muted); }
.fdn-bookseller strong { display: block; color: var(--fdn-navy); }
.fdn-online-order { margin: 28px auto 14px; color: var(--fdn-muted); }
.fdn-online-order strong { color: var(--fdn-navy); font-family: Georgia, serif; font-size: 1.08rem; font-weight: 600; }
.fdn-online-order p { margin: 4px 0 0; font-size: .92rem; }
.fdn-large-print-note { width: min(560px, 100%); margin: 26px auto 0; padding: 18px 22px; border-top: 1px solid rgba(199,152,69,.45); color: var(--fdn-navy); }
.fdn-large-print-note > strong { display: block; margin-bottom: 12px; font-family: Georgia, serif; font-size: 1.15rem; }
.fdn-large-print-links { display: flex; justify-content: center; gap: 12px; }
.fdn-large-print-links a { min-width: 120px; padding: 8px 16px; border: 1px solid var(--fdn-gold); border-radius: 999px; color: var(--fdn-navy); background: white; font-weight: 800; text-decoration: none; }
.fdn-large-print-links a:hover, .fdn-large-print-links a:focus-visible { color: white; background: var(--fdn-navy); }

.fdn-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.fdn-contact h2 { margin: 0; color: var(--fdn-gold-light); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 400; line-height: 1; }
.fdn-socials { display: grid; gap: 12px; }
.fdn-socials a { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid rgba(228, 200, 135, 0.34); border-radius: 16px; text-decoration: none; }
.fdn-socials a:hover { color: var(--fdn-gold-light); border-color: var(--fdn-gold-light); }
.fdn-socials__icon { flex: 0 0 28px; width: 28px; height: 28px; fill: currentColor; }
.fdn-socials__icon rect, .fdn-socials__icon circle { fill: none; stroke: currentColor; stroke-width: 1.8; }
.fdn-socials__icon .fdn-socials__icon-dot { fill: currentColor; stroke: none; }

.site-footer { padding-block: 30px; color: #cfdae4; background: #031728; border-top: 1px solid rgba(228, 200, 135, 0.2); }
.site-footer__inner { display: grid; gap: 24px; font-size: 0.88rem; }
.site-footer__social { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-bottom: 22px; border-bottom: 1px solid rgba(228,200,135,.16); color: var(--fdn-gold-light); font-family: Georgia, serif; font-size: 1.08rem; }
.site-footer__icons { display: flex; gap: 10px; }
.site-footer__icons a { display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid rgba(228,200,135,.38); border-radius: 50%; color: white; }
.site-footer__icons a:hover, .site-footer__icons a:focus-visible { color: var(--fdn-navy); background: var(--fdn-gold-light); }
.site-footer__icons svg { width: 20px; height: 20px; fill: currentColor; }
.site-footer__icons rect, .site-footer__icons circle { fill: none; stroke: currentColor; stroke-width: 1.8; }
.site-footer__icons .dot { fill: currentColor; stroke: none; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 22px; }
.site-footer a { color: inherit; }

.fdn-legal-page { min-height: calc(100vh - 150px); background: #fffdfa; }
.fdn-legal-hero { padding-block: clamp(54px, 7vw, 90px); color: white; background: radial-gradient(circle at 20% 20%, rgba(45,102,145,.3), transparent 38%), var(--fdn-navy); }
.fdn-legal-hero h1 { max-width: 850px; margin: 0; color: white; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 400; line-height: 1.08; }
.fdn-legal-hero h1 span { display: inline; color: inherit; font-size: inherit; }
.fdn-legal-content { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 68px; padding-block: clamp(54px, 7vw, 90px); }
.fdn-legal-content section { padding-block: 26px; border-top: 1px solid rgba(199,152,69,.34); }
.fdn-legal-content h2 { margin: 0 0 12px; color: var(--fdn-navy); font-family: Georgia, serif; font-size: 1.65rem; font-weight: 400; }
.fdn-legal-content p { margin: 0 0 12px; font-size: .92rem; line-height: 1.65; }
.fdn-button--legal { justify-self: start; margin-top: 22px; }

.fdn-content-page { min-height: calc(100vh - 150px); background: #fffdfa; }
.fdn-page-hero { padding-block: clamp(54px, 7vw, 90px); color: white; background: radial-gradient(circle at 20% 20%, rgba(45,102,145,.3), transparent 38%), var(--fdn-navy); }
.fdn-page-hero h1, .fdn-about h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 400; line-height: 1.08; }
.fdn-page-hero h1 { color: white; }
.fdn-about h1 { color: var(--fdn-navy); }
.fdn-entry-content { padding-block: clamp(48px, 7vw, 88px); font-size: 1.05rem; }
.fdn-about .fdn-entry-content { padding-block: 0; }
.fdn-entry-content > * { max-width: 820px; }
.fdn-entry-content > .alignwide { max-width: 1120px; }
.fdn-entry-content > .alignfull { max-width: none; margin-inline: calc(50% - 50vw); width: 100vw; }
.fdn-entry-content h2, .fdn-entry-content h3 { color: var(--fdn-navy); font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.15; }
.fdn-entry-content h2 { margin-top: 2em; font-size: clamp(1.8rem, 3.5vw, 2.7rem); }
.fdn-entry-content a, .fdn-text-link { color: #8a6227; text-underline-offset: .18em; }
.fdn-home-content { display: grid; grid-template-columns: .72fr 1.28fr; gap: 20px 64px; align-items: start; }
.fdn-home-content > h2 { grid-column: 1; grid-row: 1 / span 4; margin: 0; font-size: clamp(2.25rem, 4.6vw, 4rem); }
.fdn-home-content > p { grid-column: 2; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.25rem, 2.4vw, 1.65rem); line-height: 1.62; }
.fdn-section__head h1 { margin: 0 0 18px; color: var(--fdn-gold-light); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.25rem, 4.6vw, 4rem); font-weight: 400; line-height: 1.05; }
.fdn-legal-content.fdn-entry-content { display: block; max-width: 920px; }
.fdn-legal-content.fdn-entry-content > * { max-width: none; }
.fdn-legal-content.fdn-entry-content h2 { padding-top: 24px; border-top: 1px solid rgba(199,152,69,.34); }

@media (max-width: 960px) {
  .site-header__inner { align-items: flex-start; flex-direction: column; padding-block: 16px; }
  .site-header__socials { position: absolute; top: 22px; right: 20px; }
  .fdn-hero__grid { grid-template-columns: 1fr; min-height: 0; padding: 72px 0 0; }
  .fdn-hero__portrait { position: relative; z-index: 1; inset: auto; width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); transform: none; justify-self: center; }
  .fdn-about, .fdn-contact { grid-template-columns: 1fr; gap: 26px; }
  .fdn-books { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fdn-book-hero__grid { grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: 38px; }
  .fdn-book-about__grid { grid-template-columns: 1fr; }
  .fdn-home-content { grid-template-columns: 1fr; gap: 18px; }
  .fdn-home-content > h2, .fdn-home-content > p { grid-column: 1; grid-row: auto; }
}
@media (max-width: 640px) {
  .fdn-shell { width: min(100% - 26px, 1160px); }
  .site-header { position: relative; }
  .fdn-collection { scroll-margin-top: 24px; }
  .site-nav ul { gap: 8px 14px; }
  .site-header__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px 10px; }
  .site-brand { grid-column: 1 / -1; justify-self: center; text-align: center; }
  .site-header__socials { position: static; grid-column: 1; margin-left: 0; }
  .site-header__socials > span { margin-right: 2px; font-size: .64rem; }
  .site-header__socials a { width: 28px; height: 28px; }
  .site-nav-toggle { display: grid; grid-column: 2; width: 42px; height: 38px; padding: 8px 9px; place-content: center; gap: 4px; border: 1px solid rgba(228,200,135,.55); border-radius: 9px; color: white; background: transparent; cursor: pointer; }
  .site-nav-toggle > span[aria-hidden="true"] { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 160ms ease, opacity 160ms ease; }
  .site-nav-toggle-input:checked + .site-nav-toggle > span[aria-hidden="true"]:nth-of-type(2) { transform: translateY(6px) rotate(45deg); }
  .site-nav-toggle-input:checked + .site-nav-toggle > span[aria-hidden="true"]:nth-of-type(3) { opacity: 0; }
  .site-nav-toggle-input:checked + .site-nav-toggle > span[aria-hidden="true"]:nth-of-type(4) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: absolute; z-index: 130; top: 100%; right: 13px; display: none; width: min(300px, calc(100vw - 26px)); padding: 10px; border: 1px solid rgba(228,200,135,.3); border-radius: 0 0 14px 14px; background: #031a2e; box-shadow: 0 18px 36px rgba(0,0,0,.3); }
  .site-nav-toggle-input:checked ~ .site-nav { display: block; }
  .site-nav > ul, .site-nav > .menu { display: grid; gap: 0; }
  .site-nav > ul > li + li, .site-nav > .menu > li + li { border-top: 1px solid rgba(228,200,135,.14); }
  .site-nav > ul > li > a, .site-nav > .menu > li > a { display: block; padding: 10px 12px; }
  .site-nav .sub-menu { position: static; width: 100%; padding: 0 0 8px 16px; visibility: visible; opacity: 1; transform: none; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .site-nav .sub-menu::before { display: none; }
  .site-nav .sub-menu li + li { border-top: 0; }
  .site-nav .sub-menu a { padding: 7px 12px; color: #d7e0e8; font-size: .82rem; }
  .fdn-hero__grid { gap: 36px; padding: 56px 0 0; }
  .fdn-hero h1 { font-size: clamp(3rem, 18vw, 4.6rem); }
  .fdn-hero__portrait { min-height: 0; }
  .fdn-section { padding-block: 68px; }
  .fdn-books { grid-template-columns: 1fr; }
  .fdn-book__visual img { height: 310px; }
  .fdn-book-hero__grid { grid-template-columns: 1fr; gap: 18px; padding-block: 26px 52px; }
  .fdn-book-back { grid-column: 1; }
  .fdn-book-hero__visual { min-height: 410px; }
  .fdn-book-hero__visual img { max-height: 390px; }
  .fdn-book-hero__content { text-align: center; }
  .fdn-ornament { margin-inline: auto; }
  .fdn-order__buttons { align-items: center; flex-direction: column; }
  .fdn-legal-content { grid-template-columns: 1fr; }
}
