/* ============================================================
   site.css — Walter Manuel  (one stylesheet, no build step)
   ============================================================ */

/* === 1. Variables =========================================== */
:root {
  --bg:           #fafaf7;
  --bg-card:      #f3efe6;
  --bg-dark:      #1e1c18;
  --text:         #1a1a1a;
  --text-muted:   #6b6459;
  --accent:       #8b6f47;
  --accent-dark:  #6b5237;
  --accent-light: #c4a882;
  --border:       #e2ddd4;
  --white:        #ffffff;

  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;

  --nav-h:    68px;
  --max-w:    1200px;
  --max-prose: 680px;
  --radius:   2px;
  --gap:      1.5rem;
}

/* === 2. Reset / Base ======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

button { cursor: pointer; font-family: inherit; }

ul, ol { list-style: none; }

/* === 3. Layout ============================================== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .container { padding: 0 2.5rem; }
}

section, .page-section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  section, .page-section { padding: 6rem 0; }
}

.section-heading {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 0.625rem;
  color: var(--text);
}

.section-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3rem;
  line-height: 1.75;
}

.section-divider {
  width: 40px;
  height: 2px;
  background: var(--accent-light);
  margin: 1rem auto 2.5rem;
}

/* === 4. Buttons ============================================= */
.btn {
  display: inline-block;
  padding: 0.7rem 1.75rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  color: var(--white);
}

/* For use on dark gradient banners — fully opaque white border */
.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.85);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.18);
  border-color: var(--white);
  color: var(--white);
}

/* === 5. Header ============================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.site-logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 767px) {
  .site-logo-img {
    height: 32px;
  }
}

/* Legacy — no longer rendered */
.logo-mark {
  width: 28px;
  height: 28px;
  opacity: 0.8;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* Desktop nav */
.site-nav { display: none; }

@media (min-width: 768px) {
  .site-nav { display: block; }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-list > li { position: relative; }

.nav-link {
  display: block;
  padding: 0.5rem 0.9rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  border: none;
  background: none;
  transition: color 0.15s;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active,
.nav-link[aria-current] {
  color: var(--accent);
}

.nav-icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
  opacity: 0.7;
  position: relative;
  top: -1px;
}

/* Dropdown */
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  padding: 0.5rem 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.nav-dropdown a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown a:hover {
  background: var(--bg-card);
  color: var(--accent);
}

.has-dropdown:hover > .nav-dropdown,
.has-dropdown:focus-within > .nav-dropdown {
  display: block;
}

.dropdown-arrow {
  display: inline-block;
  margin-left: 0.25rem;
  font-size: 0.9em;
  transition: transform 0.2s;
}

.has-dropdown:hover .dropdown-arrow { transform: rotate(90deg); }

/* Hamburger toggle (mobile only) */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: var(--text);
  padding: 0;
  /* TODO-ICON: replace with a proper hamburger SVG if one is added to /assets/img/icons/ */
}

@media (min-width: 768px) {
  .nav-toggle { display: none; }
}

/* CSS-drawn hamburger lines */
.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger {
  position: relative;
}
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}
.hamburger::before { top: -7px; }
.hamburger::after  { bottom: -7px; }

body.nav-open .hamburger { background: transparent; }
body.nav-open .hamburger::before { transform: rotate(45deg) translate(5px, 5px); }
body.nav-open .hamburger::after  { transform: rotate(-45deg) translate(5px, -5px); }

/* === 6. Mobile nav overlay ================================== */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

body.nav-open .nav-overlay {
  opacity: 1;
  pointer-events: all;
}

.nav-overlay-list {
  text-align: center;
}

.nav-overlay-list li {
  margin: 0.25rem 0;
}

.nav-overlay-list a {
  display: block;
  padding: 0.75rem 2rem;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 4vw, 1.6rem);
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-overlay-list a:hover { color: var(--accent-light); }

.nav-overlay-divider {
  width: 30px;
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 0.75rem auto;
}

/* === 7. Footer ============================================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  text-align: center;
}

.site-footer p {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* === 8. Hero (home) ========================================= */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #222218;
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  padding: 5rem 1.5rem;
  /* NOTE: swap background-image in on index.html when Walter has a hero photo */
}

.hero-inner { max-width: 700px; margin: 0 auto; }

.hero-name {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f5f0e8;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: rgba(245,240,232,0.6);
  letter-spacing: 0.04em;
}

/* === 9. Page hero (books, models, etc.) ==================== */
.page-hero {
  background: var(--bg-dark);
  color: var(--white);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
}

.page-hero-inner { max-width: var(--max-prose); margin: 0 auto; }

.page-hero-label {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.25rem;
}

.page-hero-title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f5f0e8;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.page-hero-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(245,240,232,0.6);
  margin-bottom: 2rem;
}

.book-hero-cover {
  width: 180px;
  display: block;
  margin: 0 auto 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
}

/* Portrait cover thumbnail shown below "Get the Book" section */
.book-cover-thumb-row {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3.5rem 0;
  width: 100%;
}

.book-cover-thumb {
  width: 220px;
  max-width: 220px;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  border-radius: 2px;
  display: block;
}

@media (max-width: 768px) {
  .book-cover-thumb {
    width: 160px;
    max-width: 160px;
  }
}

/* Full-width landscape cover inside Get the Book section */
.book-cover-wide-row {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.book-cover-wide {
  width: 100%;
  max-width: 940px;
  height: auto;
  aspect-ratio: unset;
  object-fit: unset;
  background: transparent;
  border-radius: 3px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  display: block;
}

@media (max-width: 767px) {
  .book-cover-wide { border-radius: 2px; }
}

/* === 9b. Book hero — landscape banner ======================= */
.book-hero-banner {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background-color: #2a2a26;
}

@media (min-width: 768px) {
  .book-hero-banner { height: 500px; }
}

.book-hero-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
}

/* Bottom-only gradient — image shows at full brightness across the top */
.book-hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 30%,
    rgba(0, 0, 0, 0.72) 100%
  );
  z-index: 1;
  pointer-events: none;
}

@media (min-width: 768px) {
  .book-hero-banner::after {
    background: linear-gradient(
      to bottom,
      transparent 40%,
      rgba(0, 0, 0, 0.72) 100%
    );
  }
}

.book-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 1.5rem 2.5rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* === 10. Breadcrumb ========================================= */
.breadcrumb {
  padding: 1.25rem 0 0;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.breadcrumb li + li::before {
  content: '/';
  margin-right: 0.35rem;
  opacity: 0.4;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--accent); }

/* === 11. Home — Bio section ================================= */
.bio-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .bio-layout { grid-template-columns: 1fr 1fr; }
}

.bio-photo-wrap {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #d5d0c8;
}

.bio-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bio-text-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.bio-heading {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.bio-text {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
}

/* Centered icon above section headings */
.section-icon {
  display: block;
  width: 36px;
  height: 36px;
  opacity: 0.45;
  margin: 0 auto 1.25rem;
}

/* === 12. Home — card sections (books / creative works) ====== */
.cards-section { background: var(--bg-card); }

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .cards-grid { grid-template-columns: 1fr 1fr; }
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.card-cover {
  aspect-ratio: 2 / 3;
  background: #ddd8cc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-cover-placeholder {
  aspect-ratio: 2 / 3;
  background: #ddd8cc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.25);
}

.card-icon-cover {
  aspect-ratio: 4 / 3;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon-cover img {
  width: 60px;
  height: 60px;
  opacity: 0.4;
  filter: invert(1);
}

.card-cover-link {
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #ddd8cc;
  text-decoration: none;
}

.card-cover-link--landscape {
  aspect-ratio: 4 / 3;
  background: var(--bg-dark);
}

.card-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.card-cover-link:hover .card-cover-img,
.card-cover-link:focus-visible .card-cover-img {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.card-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.card-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-muted);
  flex: 1;
}

/* === 13. Book page — description =========================== */
.book-description {
  max-width: var(--max-prose);
  margin: 0 auto;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.85;
  text-align: center;
}

.book-description p + p { margin-top: 1.25em; }

/* === 14. Book page — specs strip =========================== */
.specs-strip {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
}

.specs-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem 3.5rem;
}

.spec-item { text-align: center; }

.spec-icon {
  width: 20px;
  height: 20px;
  margin: 0 auto 0.4rem;
  opacity: 0.3;
}

.spec-label {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.spec-value {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--text);
}

/* === 15. Book page — editions grid ========================= */
.editions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .editions-grid { grid-template-columns: repeat(3, 1fr); }
}

.edition-card {
  border: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: var(--bg);
}

.edition-type {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.edition-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
}

.edition-blurb {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-muted);
  flex: 1;
}

.edition-price {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--accent);
}

/* === 16. Highlights cards ================================== */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin: 0 auto;
}

.highlight-card {
  text-align: center;
  padding: 2rem 1rem;
}

.highlight-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 1.25rem;
  opacity: 0.55;
}

.highlight-title {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.highlight-text {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* === 17. Charity section ==================================== */
.charity-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.charity-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.5rem;
  opacity: 0.45;
}

.charity-section h2 {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.charity-text {
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.charity-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin: 2rem 0;
}

.charity-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.2s;
}

.charity-logo-link:hover { opacity: 0.75; }

.charity-logo-link img {
  max-height: 80px;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

/* === 18. Testimonials / News ================================ */
.testimonials-section { background: var(--bg-card); }

.testimonials-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.testimonials-heading .icon-sm {
  width: 24px;
  height: 24px;
  opacity: 0.4;
  flex-shrink: 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

blockquote.testimonial {
  border-left: 3px solid var(--accent-light);
  padding: 1rem 1.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
  background: var(--bg);
}

/* === 19. Photography / Gallery tile grids ================== */
.photo-section-heading {
  padding: 2.5rem 0 0;
}

.photo-section-heading h1 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.photo-section-intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  font-style: italic;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  padding: 2.5rem 0 4rem;
}

.tile-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.tile {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d5d0c8;
}

.tile-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.tile-link:hover .tile-cover,
.tile-link:focus-visible .tile-cover {
  transform: scale(1.04);
}

.tile-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #d5d0c8 0%, #bdb8b0 100%);
}

/* Tile with a real cover image: label sits at bottom over gradient */
.tile-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1rem 0.85rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  pointer-events: none;
}

/* Tile with no cover: name centered, no gradient scrim */
.tile--no-cover .tile-label {
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  padding: 1rem;
  color: rgba(0,0,0,0.4);
  font-size: 0.72rem;
  text-align: center;
}

/* === 20. Leaf gallery ======================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.5rem;
  padding: 2rem 0 4rem;
}

.gallery-item {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #d5d0c8;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.035);
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}

/* Photo placeholder (when gallery is empty) */
.photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #d5d0c8 0%, #bdb8b0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-text {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.25);
}

.gallery-empty-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
  text-align: center;
  gap: 1rem;
  border: 2px dashed var(--border);
  background: var(--bg-card);
}

.gallery-empty-state p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0;
}

/* === 21. Models page ======================================== */
.models-intro {
  max-width: var(--max-prose);
  margin: 0 auto 3rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
}

/* === 22. In the News placeholder =========================== */
.news-placeholder {
  border: 2px dashed var(--border);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.9rem;
}

/* === 23. Utility ============================================ */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }

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

/* === 24. Stacked edition buy buttons ======================== */
.edition-btn-stack {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
}

.edition-btn-stack .btn {
  width: 100%;
  text-align: center;
}

/* === 25. Models index — 2-column tile grid ================== */
.tile-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 767px) {
  .tile-grid--2col {
    grid-template-columns: 1fr;
  }
}

/* === 26. Model hero breadcrumb ============================== */
.hero-breadcrumb {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.75rem;
}

.hero-breadcrumb a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.15s;
}

.hero-breadcrumb a:hover { color: var(--white); }

/* === 27. Model detail page (legacy — superseded by §28) ===== */
.model-section-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  margin-top: 2rem;
}

.model-section-text {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.75;
  max-width: var(--max-prose);
  color: var(--text);
}

.model-reference-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
  max-width: var(--max-prose);
}

.model-ref-placeholder {
  aspect-ratio: 4 / 3;
  background: #e8e4dc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #999;
  border-radius: var(--radius);
}

@media (max-width: 767px) {
  .model-reference-photos { grid-template-columns: 1fr; }
}

/* === 28. Model detail — intro + stats grid + ref photos ===== */
main > .model-page-about,
.model-page-about {
  padding-top: 2rem !important;
}

/* Model hero image */
.model-hero-img-wrap {
  width: 100%;
  margin-bottom: 2rem;
}

.model-hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
  max-height: 500px;
  object-fit: cover;
}

.model-hero-img-placeholder {
  width: 100%;
  height: 320px;
  background: #e8e4dc;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 0.9rem;
  font-style: italic;
}

@media (max-width: 768px) {
  .model-hero-img-placeholder { height: 200px; }
}

.model-intro-block p:empty {
  display: none;
}

.model-intro-block {
  max-width: 100%;
  margin: 0 0 2.5rem;
  text-align: left;
  line-height: 1.75;
  color: var(--color-text, #1a1a1a);
  background: #fff;
  border: 1px solid #e8e4dc;
  border-radius: 4px;
  padding: 2rem 2.5rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.model-intro-block p {
  margin: 0 0 1em;
  font-size: 1rem;
  line-height: 1.75;
}

.model-intro-block p:last-child {
  margin-bottom: 0;
}

/* Lists inside the intro block */
.model-intro-block ul,
.model-intro-block ol {
  margin: 0.5em 0 1em 1.5em;
  padding: 0 0 0 1em;
  list-style: disc;
}

.model-intro-block ol {
  list-style: decimal;
}

.model-intro-block li {
  margin-bottom: 0.3em;
  line-height: 1.6;
  display: list-item;
}

/* Headings inside the intro block (e.g. "Materials used for...") */
.model-intro-block h2,
.model-intro-block h3,
.model-intro-block h4 {
  margin: 1.5em 0 0.5em;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
}

@media (max-width: 768px) {
  .model-intro-block {
    padding: 1.25rem 1.5rem;
  }
}

/* Legacy — superseded by .model-intro-block */
.model-intro-text {
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  font-style: italic;
  color: var(--text-muted);
}

.model-details-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
  margin-top: 2rem;
}

/* Stats table */
.model-details-stats {
  width: 100%;
}

.model-stats-heading {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted, #888);
  margin: 0 0 0.75rem;
}

.model-stat-table {
  width: 100%;
  display: block;
}

.model-stat-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border, #e8e4dc);
  gap: 2rem;
  width: 100%;
}

.model-stat-row:first-child {
  border-top: 1px solid var(--color-border, #e8e4dc);
}

.model-stat-row dt {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted, #888);
  font-weight: 400;
  padding-top: 0.1rem;
}

.model-stat-row dd {
  font-size: 0.95rem;
  color: var(--color-text, #1a1a1a);
  margin: 0;
  line-height: 1.6;
}

.model-stat-row dd a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Reference photos */
.model-details-photos {
  width: 100%;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border, #e8e4dc);
}

.model-ref-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted, #888);
  margin-bottom: 0.75rem;
}

.model-ref-thumbs {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.model-ref-link {
  display: block;
  flex-shrink: 0;
}

.model-ref-thumb {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
  cursor: pointer;
  transition: opacity 0.15s;
}

.model-ref-link:hover .model-ref-thumb {
  opacity: 0.82;
}

@media (max-width: 640px) {
  .model-ref-thumb {
    width: 90px;
    height: 60px;
  }
}

/* === 28.5  Selected Works + Photography index labels ======= */

/* FIX 2 — Intro wrapper: small bottom padding so rule sits close */
.photography-intro-section {
  padding-bottom: 0.5rem;
}

/* Thin rule between intro text and Selected Works */
.section-rule {
  border: none;
  border-top: 1px solid var(--border, #e2ddd4);
  margin: 0.5rem 0 1.5rem;
}

/* FIX 3 — Selected Works section: framed white card */
.selected-works-section {
  background: #fff;
  border: 1px solid var(--border, #e2ddd4);
  border-radius: 4px;
  padding: 1.5rem 1.75rem 1.75rem;  /* overrides base section { padding: 4rem 0 } */
  margin-bottom: 2.5rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

/* Section labels — shared style for both headings */
.selected-works-heading,
.photography-section-label {
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text, #1a1a1a);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* "EXPLORE THE COLLECTION" has extra top margin */
.photography-section-label {
  margin-top: 2rem;
}

/* FIX 6 — Subtitle under "EXPLORE THE COLLECTION" */
.photography-section-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted, #6b6459);
  font-style: italic;
  margin: -0.75rem 0 1.5rem;
  line-height: 1.5;
}

/* FIX 5 — Selected Works tile grid: 3 equal columns, centred */
.selected-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  justify-items: center;
}

/* FIX 4 — Selected Works tile: column layout, label below image */
.selected-works-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  width: 100%;
}

.selected-works-tile .tile {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 3 / 2;
  max-height: 160px;
  width: 100%;
}

.selected-works-tile .tile-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.selected-works-tile:hover .tile-cover {
  transform: scale(1.04);
}

.selected-works-tile .tile--no-cover {
  background: #e8e4dc;
}

.selected-works-tile .tile-placeholder {
  width: 100%;
  height: 100%;
}

/* Label below the image — overrides .tile-label's absolute + gradient */
.selected-works-tile .tile-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: block;
  padding: 0.4rem 0.5rem;
  background: #11111180;
  color: #ffffff;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  text-align: center;
}

/* Suppress gradient pseudo-elements on selected-works tiles only */
.selected-works-tile .tile::after,
.selected-works-tile .tile::before {
  display: none !important;
}

@media (max-width: 640px) {
  .selected-works-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .selected-works-tile .tile {
    max-height: 140px;
  }
}

/* === 29. Gallery tag filters ================================ */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  border-radius: 2rem;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.filter-btn:visited {
  color: var(--text-muted);
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.filter-btn.active:visited {
  color: var(--white);
}

.gallery-item--hidden { display: none; }

.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 0;
  color: var(--text-muted);
  font-style: italic;
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   §30  Contact page
───────────────────────────────────────────────────────────────────────── */

/* ── Page hero strip ───────────────────────────────────── */
.contact-hero-section {
  background: var(--bg-light, #f3efe6);
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border, #e2ddd4);
}

.contact-page-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.contact-page-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 52ch;
}

/* ── Contact section ───────────────────────────────────── */
.contact-section {
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem 4rem;
  align-items: start;
}

@media (max-width: 720px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ── Info column ───────────────────────────────────────── */
.contact-info-col {
  padding-top: 0.25rem;
}

.contact-info-col p {
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.contact-info-col p:last-child {
  margin-bottom: 0;
}

/* ── Form ──────────────────────────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-input,
.contact-textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border, #e2ddd4);
  border-radius: 2px;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
}

.contact-input:focus,
.contact-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 111, 71, 0.15);
}

.contact-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.contact-submit-btn {
  align-self: flex-start;
}

.contact-form-wrap {
  max-width: 580px;
  margin: 0 auto;
}

/* ── Status message ────────────────────────────────────── */
.contact-form-status {
  margin: 0;
  font-size: 0.9rem;
  padding: 0.65rem 0.9rem;
  border-radius: 2px;
}

.contact-form-status--ok {
  color: #3d6b4f;
  background: #edf7f1;
  border: 1px solid #b8dfc8;
}

.contact-form-status--error {
  color: #a8382d;
  background: #fdf0ef;
  border: 1px solid #f2c0bb;
}

/* ── Social links ──────────────────────────────────────── */
.contact-social-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-top: 2rem;
  padding-bottom: 1.5rem;
}

.social-links {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.15s, opacity 0.15s;
}

.social-link:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}

.social-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
}

@media (max-width: 480px) {
  .social-links { gap: 1.25rem; }
  .social-icon  { width: 42px; height: 42px; }
}

/* ── Formspree form status ──────────────────────────────── */
.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 3px;
  font-size: 0.9rem;
}

.form-status p {
  margin: 0;
}

.form-status.success {
  background: #f0f7f0;
  border: 1px solid #6fa86f;
  color: #2a6a2a;
}

.form-status.error {
  background: #fbf0f0;
  border: 1px solid #c46e6e;
  color: #8a3030;
}

/* ── Model page video grid ──────────────────────────────── */
.model-videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.model-video-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.model-video-ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
  border-radius: var(--radius, 4px);
  overflow: hidden;
}

.model-video-ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.model-video-title {
  font-size: 0.9rem;
  color: var(--text-muted, #666);
  margin: 0;
  text-align: center;
}

@media (max-width: 640px) {
  .model-videos-grid {
    grid-template-columns: 1fr;
  }
}
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   STORIES â€” Gift box, landing page, story pages, reviews
   Add to the END of assets/css/site.css
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ Stories landing page â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.stories-landing {
  padding: 4rem 0 6rem;
  min-height: 70vh;
  display: flex;
  align-items: flex-start;
}

.stories-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.stories-landing-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text, #1a1a1a);
  margin: 0 0 0.6rem;
}

.stories-landing-subtitle {
  font-size: 1rem;
  color: var(--color-muted, #888);
  font-style: italic;
  margin: 0;
}

/* â”€â”€ Gift box â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.gift-box-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  margin: 0 auto 2rem;
  width: fit-content;
  outline: none;
}

.gift-box-wrap:focus-visible .gift-box {
  outline: 2px solid var(--color-accent, #8b6f47);
  outline-offset: 6px;
  border-radius: 3px;
}

.gift-box {
  position: relative;
  width: 160px;
  flex-shrink: 0;
}

/* â”€â”€ Lid â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.gift-lid {
  position: relative;
  width: 176px;           /* slightly wider than body */
  height: 36px;
  background: #c8a97a;
  border-radius: 4px 4px 0 0;
  margin-left: -8px;
  transform-origin: center bottom;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity  0.4s ease 0.3s;
  z-index: 2;
}

.gift-lid-ribbon-h {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 8px;
  background: #8b6f47;
  transform: translateY(-50%);
  border-radius: 2px;
}

/* Bow */
.gift-bow {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 32px;
}

.gift-bow-left,
.gift-bow-right {
  position: absolute;
  width: 22px;
  height: 18px;
  border-radius: 50% 50% 50% 0;
  background: #8b6f47;
  top: 6px;
}

.gift-bow-left  { left: 4px;  transform: rotate(-45deg); }
.gift-bow-right { right: 4px; transform: rotate(45deg) scaleX(-1); }

.gift-bow-knot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #6b5030;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* â”€â”€ Box body â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.gift-body {
  position: relative;
  width: 160px;
  height: 140px;
  background: #e8d5b4;
  border-radius: 0 0 4px 4px;
  overflow: hidden;
}

.gift-ribbon-v {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 8px;
  background: #8b6f47;
  transform: translateX(-50%);
}

.gift-ribbon-h {
  position: absolute;
  top: 40%;
  left: 0;
  right: 0;
  height: 8px;
  background: #8b6f47;
  transform: translateY(-50%);
}

/* â”€â”€ Gift hint â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.gift-hint {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted, #888);
}

/* â”€â”€ Idle bob animation â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@keyframes gift-bob {
  0%, 100% { transform: translateY(0);    }
  50%       { transform: translateY(-6px); }
}

.gift-idle {
  animation: gift-bob 2.8s ease-in-out infinite;
}

/* â”€â”€ Shake animation â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@keyframes gift-shake {
  0%,100% { transform: rotate(0deg);    }
  15%     { transform: rotate(-5deg);   }
  30%     { transform: rotate(5deg);    }
  45%     { transform: rotate(-4deg);   }
  60%     { transform: rotate(4deg);    }
  75%     { transform: rotate(-2deg);   }
  90%     { transform: rotate(2deg);    }
}

.gift-shake {
  animation: gift-shake 0.55s ease-in-out;
}

/* â”€â”€ Lid open animation â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@keyframes lid-fly {
  0%   { transform: translateY(0)    rotate(0deg)   scale(1);   opacity: 1; }
  40%  { transform: translateY(-60px) rotate(-20deg) scale(1.1); opacity: 1; }
  100% { transform: translateY(-140px) rotate(-35deg) scale(0.8); opacity: 0; }
}

.gift-lid-open {
  animation: lid-fly 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* â”€â”€ Story reveal â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@keyframes story-rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0);    }
}

.story-reveal-animate {
  animation: story-rise 0.7s ease-out forwards;
}

/* â”€â”€ Story article (both landing + dedicated pages) â”€â”€â”€â”€â”€â”€â”€â”€ */
.story-article {
  max-width: 680px;
  margin: 0 auto 3rem;
}

.story-article--landing {
  margin-top: 1rem;
}

.story-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted, #888);
  margin: 0 0 0.5rem;
}

.story-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--color-text, #1a1a1a);
  margin: 0 0 0.4rem;
}

.story-day-label {
  font-size: 0.82rem;
  color: var(--color-muted, #888);
  font-style: italic;
  margin: 0 0 1.5rem;
}

.story-body {
  font-size: 1.0rem;
  line-height: 1.8;
  color: var(--color-text, #1a1a1a);
}

.story-body p {
  margin: 0 0 1.1em;
}

.story-body p:last-child {
  margin-bottom: 0;
}

.story-body ul,
.story-body ol {
  margin: 0.5em 0 1.1em 1.5em;
  padding: 0;
}

.story-body li {
  margin-bottom: 0.3em;
  line-height: 1.7;
}

.story-body strong {
  font-weight: 600;
  color: var(--color-text, #1a1a1a);
}

.story-footer {
  border-top: 1px solid var(--color-border, #e8e4dc);
  padding-top: 1.25rem;
  margin-top: 2rem;
}

.story-byline {
  font-style: italic;
  color: var(--color-muted, #888);
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
}

.story-footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.story-footer-link,
.story-back-link {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--color-accent, #8b6f47);
  text-decoration: none;
  text-transform: uppercase;
}

.story-footer-link:hover,
.story-back-link:hover {
  text-decoration: underline;
}

.story-footer-actions {
  text-align: center;
  margin-top: 2rem;
}

.story-reset-btn {
  background: none;
  border: none;
  font-size: 0.78rem;
  color: var(--color-muted, #888);
  cursor: pointer;
  letter-spacing: 0.1em;
  font-family: inherit;
  padding: 0;
}

.story-reset-btn:hover {
  color: var(--color-text, #1a1a1a);
}

/* â”€â”€ "See all stories" link on landing page â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.stories-all-link-wrap {
  text-align: center;
  margin-top: 2rem;
  padding-bottom: 1rem;
}

.stories-all-btn {
  display: inline-block;
  background: transparent;
  border: 1px solid #8b6f47;
  color: #8b6f47;
  text-decoration: none;
  padding: 0.7rem 1.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: inherit;
  border-radius: 2px;
  transition: background 0.15s, color 0.15s;
}

.stories-all-btn:hover {
  background: #8b6f47;
  color: #fff;
}

.stories-all-btn--small {
  padding: 0.5rem 1.25rem;
  font-size: 0.74rem;
}

.stories-daily-link {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted, #888);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border, #e8e4dc);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}

.stories-daily-link:hover {
  color: var(--color-text, #1a1a1a);
  border-color: var(--color-text, #1a1a1a);
}

/* â”€â”€ All stories page â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.stories-all-section {
  padding: 3rem 0 5rem;
}

.stories-all-header {
  margin-bottom: 2.5rem;
}

.stories-all-subtitle {
  font-style: italic;
  color: var(--color-muted, #888);
  margin: 0.5rem 0 1.25rem;
  max-width: 540px;
  font-size: 0.95rem;
}

.stories-table {
  width: 100%;
  border-collapse: collapse;
}

.stories-table-row {
  border-bottom: 1px solid var(--color-border, #e8e4dc);
  transition: background 0.1s;
}

.stories-table-row:first-child {
  border-top: 1px solid var(--color-border, #e8e4dc);
}

.stories-table-row:hover {
  background: #fdf8f2;
}

.stories-table-num {
  width: 3rem;
  padding: 0.85rem 1rem 0.85rem 0;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--color-muted, #888);
  vertical-align: middle;
  white-space: nowrap;
}

.stories-table-title {
  padding: 0.85rem 0;
  vertical-align: middle;
}

.stories-table-link {
  font-size: 0.95rem;
  color: inherit;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.stories-table-link:hover .stories-link-prefix,
.stories-table-link:hover .stories-link-name {
  color: #8b6f47;
}

.stories-link-prefix {
  color: var(--color-text, #1a1a1a);
}

.stories-link-name {
  color: #8b6f47;
}

.stories-all-section .page-hero-title {
  color: var(--color-text, #1a1a1a);
  opacity: 1;
}

/* â”€â”€ Story page breadcrumb â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.story-breadcrumb {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted, #888);
  margin-bottom: 2rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.story-breadcrumb a {
  color: var(--color-muted, #888);
  text-decoration: none;
}

.story-breadcrumb a:hover {
  color: var(--color-text, #1a1a1a);
}

.story-page-section {
  padding: 2.5rem 0 5rem;
}

/* â”€â”€ Reviews â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.story-reviews-section {
  max-width: 680px;
  margin: 0 auto 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-border, #e8e4dc);
}

.story-reviews-heading {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text, #1a1a1a);
  margin: 0 0 0.3rem;
}

.story-reviews-subhead {
  font-style: italic;
  color: var(--color-muted, #888);
  font-size: 0.88rem;
  margin: 0 0 1.5rem;
}

/* Review list */
.reviews-list {
  margin-bottom: 2rem;
}

.review-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border, #e8e4dc);
}

.review-item:first-child {
  border-top: 1px solid var(--color-border, #e8e4dc);
}

.review-name {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-text, #1a1a1a);
  margin: 0 0 0.3rem;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text, #1a1a1a);
  margin: 0 0 0.4rem;
}

.review-date {
  font-size: 0.72rem;
  color: var(--color-muted, #888);
  display: block;
}

.reviews-empty,
.reviews-loading {
  font-style: italic;
  color: var(--color-muted, #888);
  font-size: 0.9rem;
  padding: 0.5rem 0;
}

/* Review form */
.review-form {
  background: var(--color-bg-alt, #f5f1ea);
  border: 1px solid var(--color-border, #e8e4dc);
  border-radius: 4px;
  padding: 1.5rem;
}

.review-form-fields {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 560px) {
  .review-form-fields {
    grid-template-columns: 1fr;
  }
}

.review-field--full {
  grid-column: 1 / -1;
}

.review-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted, #888);
  margin-bottom: 0.4rem;
}

.review-input,
.review-textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--color-border, #e8e4dc);
  border-radius: 3px;
  padding: 0.55rem 0.75rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-text, #1a1a1a);
  box-sizing: border-box;
  transition: border-color 0.15s;
}

.review-input:focus,
.review-textarea:focus {
  outline: none;
  border-color: var(--color-accent, #8b6f47);
}

.review-textarea {
  resize: vertical;
  min-height: 90px;
}

.review-char-count {
  display: block;
  text-align: right;
  font-size: 0.72rem;
  color: var(--color-muted, #888);
  margin-top: 0.3rem;
}

.btn-review-submit {
  background: var(--color-accent, #8b6f47);
  color: #fff;
  border: none;
  padding: 0.6rem 1.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: inherit;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.15s;
}

.btn-review-submit:hover:not(:disabled) {
  background: #6b5030;
}

.btn-review-submit:disabled {
  opacity: 0.5;
  cursor: wait;
}

.review-status {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  padding: 0.5rem 0.75rem;
  border-radius: 2px;
}

.review-status.success {
  background: #f0f7f0;
  border: 1px solid #6fa86f;
  color: #2a6a2a;
}

.review-status.error {
  background: #fbf0f0;
  border: 1px solid #c46e6e;
  color: #8a3030;
}

/* â”€â”€ Mobile adjustments â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 480px) {
  .gift-box  { width: 130px; }
  .gift-body { width: 130px; height: 115px; }
  .gift-lid  { width: 144px; margin-left: -7px; }

  .stories-landing {
    padding: 2.5rem 0 4rem;
  }
}

/* ── Story-of-the-day banner (home page) ──────────────────── */
.story-banner {
  display: block;
  text-decoration: none;
  background: #222218;
  padding: 3rem 1.5rem;
  text-align: center;
  transition: background 0.2s ease;
}

.story-banner:hover {
  background: #2e2e22;
}

.story-banner-inner {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.story-banner-icon {
  width: 36px;
  height: 36px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.story-banner-heading {
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0;
  font-weight: 400;
}

.story-banner-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  font-style: italic;
  margin: 0;
  letter-spacing: 0.02em;
}

.story-banner:hover .story-banner-text {
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 480px) {
  .story-banner { padding: 2rem 1rem; }
  .story-banner-heading { font-size: 1.2rem; }
}

/* ── Daily gift popup ────────────────────────────────────── */
.gift-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 16, 0.75);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
  animation: popup-fade-in 0.4s ease forwards;
}

@keyframes popup-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.gift-popup-overlay[hidden] {
  display: none !important;
}

.gift-popup {
  position: relative;
  background: #fafaf7;
  border-radius: 6px;
  padding: 2.5rem 2rem 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  animation: popup-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes popup-rise {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

.gift-popup-close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  background: none;
  border: none;
  font-size: 1rem;
  color: #aaa;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem 0.4rem;
  border-radius: 3px;
  transition: color 0.15s;
  font-family: inherit;
}

.gift-popup-close:hover { color: #555; }

.gift-popup-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted, #888);
  margin: 0 0 0.5rem;
}

.gift-popup-heading {
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  font-weight: 400;
  color: var(--color-text, #1a1a1a);
  margin: 0 0 1.75rem;
}

/* Popup gift box — slightly smaller than landing page version */
.gift-popup-box-wrap .gift-box {
  width: 120px;
}

.gift-popup-box-wrap .gift-body {
  width: 120px;
  height: 105px;
}

.gift-popup-box-wrap .gift-lid {
  width: 134px;
  margin-left: -7px;
}

/* Story reveal phase */
.gift-popup-story-phase {
  animation: story-rise 0.6s ease-out forwards;
}

.gift-popup-story-title {
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--color-text, #1a1a1a);
  margin: 0 0 0.85rem;
  line-height: 1.3;
}

.gift-popup-story-preview {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #555;
  margin: 0 0 1.5rem;
  font-style: italic;
}

.gift-popup-read-link {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-accent, #8b6f47);
  text-decoration: none;
  padding: 0.65rem 1.5rem;
  border-radius: 2px;
  transition: background 0.15s;
}

.gift-popup-read-link:hover {
  background: #6b5030;
  color: #fff;
}

/* Mobile */
@media (max-width: 480px) {
  .gift-popup {
    padding: 2rem 1.25rem 1.75rem;
    max-width: 100%;
    margin: 0;
    border-radius: 8px 8px 0 0;
  }

  .gift-popup-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .gift-popup-box-wrap .gift-box  { width: 100px; }
  .gift-popup-box-wrap .gift-body { width: 100px; height: 88px; }
  .gift-popup-box-wrap .gift-lid  { width: 112px; margin-left: -6px; }

  .gift-popup-heading      { font-size: 1rem; margin-bottom: 1.25rem; }
  .gift-popup-story-title  { font-size: 1.05rem; }
  .gift-popup-story-preview { font-size: 0.88rem; }
}
/* ── Book language note (FR pages) ──────────────────────────── */
.book-lang-note {
  font-size: 0.82rem;
  color: var(--color-muted, #888);
  font-style: italic;
  margin-top: 0.5rem;
}

/* ── Language switcher ──────────────────────────────────────── */
.lang-switcher {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  border: 1px solid currentColor;
  padding: 0.2rem 0.5rem !important;
  border-radius: 2px;
  opacity: 0.7;
  transition: opacity 0.15s;
}

.lang-switcher:hover {
  opacity: 1;
}

/* ════════════════════════════════════════════════════════════════
   Desktop typography overrides — ≥768px
   Increases nav, body, subtitle and subheading sizes while keeping
   small labels clearly secondary. Mobile (<768px) is untouched.
   ════════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {

  /* ── Body — base reading size ─────────────────────────── */
  body {
    font-size: 1.1rem;
  }

  /* ── Header & logo — visually balance the larger nav ──── */
  .site-header {
    /* release the fixed 68px so padding can grow the header */
    height: auto;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  .site-logo-img {
    height: 56px;
  }

  /* ── Hero — leave room for the next section above the fold */
  .hero {
    min-height: 72vh;
  }

  /* ── Navigation ───────────────────────────────────────── */
  /* Nav link labels (Photography, Books, Models etc.) */
  .nav-link,
  .nav-label {
    font-size: 1rem;
  }

  /* Dropdown items */
  .nav-dropdown a {
    font-size: 0.9rem;
  }

  /* ── Body-adjacent text (0.88–0.97rem → 1.1rem) ──────── */
  .card-desc,
  .photo-section-intro,
  .model-intro-block h4,
  .photography-section-subtitle,
  .contact-form-status,
  .form-status,
  .story-reviews-subhead,
  .review-status,
  .gift-popup-story-preview,
  .contact-textarea,
  .review-textarea,
  .review-input,
  .contact-input,
  .edition-blurb,
  .model-ref-placeholder,
  .highlight-text,
  .news-placeholder,
  .model-hero-img-placeholder {
    font-size: 1.1rem;
  }

  /* ── Near-body text (0.95rem → 1.1rem) ───────────────── */
  .charity-text,
  blockquote.testimonial,
  .model-stat-row dd,
  .stories-all-subtitle,
  .stories-table-link,
  .review-text,
  .contact-info-col p {
    font-size: 1.1rem;
  }

  /* ── Content text currently at 1rem/1.05rem → 1.2rem ─── */
  .section-subtitle,
  .spec-value,
  .model-section-text,
  .model-intro-block p,
  .stories-landing-subtitle,
  .page-hero-subtitle,
  .bio-text,
  .book-description,
  .gallery-empty-state p,
  .models-intro,
  .contact-page-subtitle,
  .story-body {
    font-size: 1.2rem;
  }

  /* ── Subheadings currently at 1.1rem → 1.3rem ─────────── */
  .card-title,
  .edition-title,
  .model-intro-text {
    font-size: 1.3rem;
  }

  /* ── Small labels — modest bump for readability ────────── */
  /* (0.72–0.85rem → 0.875–0.9rem — stay clearly secondary) */
  .model-ref-label,
  .model-stats-heading,
  .model-stat-row dt,
  .story-eyebrow,
  .stories-table-num,
  .story-breadcrumb,
  .review-date,
  .review-label,
  .stories-daily-link,
  .story-reviews-heading,
  .review-name,
  .gift-hint,
  .story-reset-btn,
  .stories-all-btn,
  .filter-btn,
  .contact-label,
  .story-day-label,
  .story-back-link,
  .story-footer-link,
  .btn-review-submit {
    font-size: 0.9rem;
  }

  /* ── Things intentionally left at their base size ────────
     breadcrumbs (.breadcrumb ol, .hero-breadcrumb)
     tile labels (.tile-label)
     page-hero-label eyebrows
     selected-works tile labels
     all clamp() values (already fluid, no override needed)
     story banner heading (1.5rem, already large)
     ─────────────────────────────────────────────────────── */

}
