/*
Theme Name: Ginkgo Fine Jewellery
Theme URI: https://ginkgo.com.tr
Author: Ginkgo Fine Jewellery Atelier
Author URI: https://ginkgo.com.tr
Description: Custom WordPress theme for Ginkgo Fine Jewellery Atelier, converted from the studio's static HTML/CSS/JS site. Handcrafted rings, necklaces, brooches and archive pieces from a working goldsmith's studio in Istanbul.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ginkgo
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

This theme's original visual design and stylesheet were authored for the
Ginkgo Fine Jewellery static site and adapted here into a standard
WordPress theme structure. Design tokens for color/type/layout live at the
top of this file — see the ALL-CAPS section headers below to navigate.
*/

/* ==========================================================================
   GINKGO KUYUMCULUK — Stylesheet
   Design tokens live at the top. Change colors/fonts there and the whole
   site updates. Structure below is organized by section — search for the
   ALL-CAPS comment headers to jump around.
   ========================================================================== */

:root {
  /* ---- Color ---- */
  --bg:        #F7F4EC;   /* warm ivory page background */
  --surface:   #FFFFFF;   /* card backgrounds */
  --ink:       #1F2A22;   /* near-black bottle green, primary text */
  --green:     #3C5B44;   /* ginkgo leaf green, secondary accent */
  --gold:      #B08D42;   /* aged brass/gold, primary accent */
  --gold-soft: #CBAE72;   /* lighter gold for hovers/washes */
  --line:      #D8D0BE;   /* hairline borders, dividers */
  --muted:     #6B6355;   /* secondary/caption text */
  --sold-bg:   #EFE6D0;   /* archive / sold badge background */

  /* ---- Type ---- */
  --font-display: "Inter", Georgia, serif;
  --font-body:    "Inter", Georgia, serif;
  --font-ui:      "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* ---- Layout ---- */
  --max-width: 1180px;
  --gutter: 24px;
  --radius: 2px;
}

/* ---- Reset ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-family: var(--font-ui);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

/* Reusable leaf icon (used in logo, dividers, scroll-top button) */
.leaf {
  display: inline-block;
  width: 1em;
  height: 1em;
}
.leaf svg { width: 100%; height: 100%; display: block; }

.divider-leaf {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0 32px;
  color: var(--gold);
}
.divider-leaf::before,
.divider-leaf::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.divider-leaf .leaf { width: 20px; height: 20px; }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 236, 0.92);
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: saturate(140%) blur(8px);
  z-index: -1;
  pointer-events: none;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.logo .leaf { width: 26px; height: 26px; color: var(--gold); }
.logo .logo-sub {
  display: block;
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}

.main-nav ul {
  display: flex;
  gap: 36px;
}
.main-nav a {
  font-family: var(--font-ui);
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 2px;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}
.main-nav a[aria-current="page"] { color: var(--gold); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 8px; right: 8px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 84px 0 0 0;
    background: var(--bg);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 12px var(--gutter) 40px;
  }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a { display: block; padding: 18px 4px; font-size: 15px; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 15px 28px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--green); border-color: var(--green); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ==========================================================================
   HERO (home page)
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 130px 0 100px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/site/gnk_background.webp');
  background-size: cover;
  background-position: center 35%;
  z-index: 0;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    210deg,
    var(--bg) 0%,
    rgba(247, 244, 236, 0.9) 30%,
    rgba(247, 244, 236, 0.5) 60%,
    rgba(247, 244, 236, 0.08) 80%,
    rgba(247, 244, 236, 0) 100%
),
linear-gradient(
      to top,
      var(--bg) 0%,
      rgba(247, 244, 236, 0) 40%
  );
  z-index: 1;
}
.hero .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: italic;
  color: var(--green);
}
.hero .lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* The second (product) photo — the container has an explicit box size,
   and object-fit: contain scales the photo to fit fully inside it without
   ever cropping or distorting it, at any screen size. */
.hero-product {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.hero-product .product-frame {
  width: min(100%, 380px);
  height: min(66vh, 460px);
}
.hero-product img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 26px 38px rgba(31, 42, 34, 0.28));
}
.rotate45 {
    -webkit-transform: rotate(-30deg);
    -moz-transform: rotate(-30deg);
    -o-transform: rotate(-30deg);
    -ms-transform: rotate(-30deg);
    transform: rotate(-30deg);
}

@media (max-width: 860px) {
  .hero { min-height: 0; padding: 56px 0 40px; }
  .hero-bg { background-position: center 20%; }
  .hero-scrim {
    background: linear-gradient(
      180deg,
      rgba(247, 244, 236, 0.35) 0%,
      rgba(247, 244, 236, 0.72) 46%,
      var(--bg) 78%
    );
  }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-product { order: -1; margin-bottom: 4px; }
  .hero-product .product-frame { width: min(100%, 220px); height: min(40vh, 260px); }
}

/* ==========================================================================
   SECTION HEADERS (generic, reused across pages)
   ========================================================================== */
.section { padding: 70px 0; }
.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-head p { color: var(--muted); font-size: 17px; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ==========================================================================
   CATEGORY / GENRE GRID (home page)
   ========================================================================== */
.genre-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
.genre-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 30px 20px 26px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.genre-card .leaf {
  width: 34px; height: 34px;
  color: var(--gold);
  margin-bottom: 16px;
}
.genre-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}
.genre-card p {
  font-family: var(--font-ui);
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
  letter-spacing: 0.02em;
}
.genre-grid .genre-card:nth-child(odd) { transform: rotate(-1.1deg); }
.genre-grid .genre-card:nth-child(even) { transform: rotate(1.1deg); }
.genre-card:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 0 18px 30px -20px rgba(31, 42, 34, 0.35);
  border-color: var(--gold-soft);
}

@media (max-width: 980px) {
  .genre-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .genre-grid { grid-template-columns: repeat(2, 1fr); }
  .genre-grid .genre-card { transform: none !important; }
}

/* ==========================================================================
   REVEAL ON SCROLL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.about-portrait {
  aspect-ratio: 4 / 5;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 20px;
}
.about-body h2 { margin-top: 28px; }
.about-body h2:first-child { margin-top: 0; }
.about-body p { color: var(--ink); }
.pull-note {
  font-family: var(--font-ui);
  font-size: 12.5px;
  color: var(--muted);
  border-left: 2px solid var(--gold);
  padding-left: 14px;
  margin-top: 40px;
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-portrait { max-width: 320px; margin: 0 auto; }
}
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.social-links a {
  display: block;
  width: 70px;
  height: 70px;
  color: var(--ink);
  transition: color 0.2s;
}
.social-links a:hover { color: var(--gold); }
.social-links svg { width: 100%; height: 100%; }
/* ==========================================================================
   SHOP PAGE
   ========================================================================== */
.shop-block { margin-bottom: 54px; }
.shop-block:last-child { margin-bottom: 0; }
.shop-block h2 { font-size: 26px; }
.shop-block .edit-note {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--sold-bg);
  padding: 3px 9px;
  margin-bottom: 14px;
}

/* ==========================================================================
   JEWELRY PAGE — filters + grid + lightbox
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}
.filter-btn {
  font-family: var(--font-ui);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.filter-btn:hover { border-color: var(--gold-soft); color: var(--ink); }
.filter-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.piece-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 26px;
}
.piece-card {
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.piece-card:hover { box-shadow: 0 20px 34px -22px rgba(31, 42, 34, 0.4); transform: translateY(-4px); }
.piece-thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  background: var(--sold-bg);
}
.piece-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.piece-card:hover .piece-thumb img { transform: scale(1.05); }
.sold-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--font-ui);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--ink);
  color: var(--bg);
  padding: 5px 10px;
  z-index: 2;
}

/* Photo-cycling arrows on grid thumbnails (only rendered when a piece has
   more than one photo — see js/main.js) */
.thumb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(31, 42, 34, 0.55);
  color: #fff;
  font-size: 19px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
  z-index: 3;
}
.piece-thumb:hover .thumb-arrow,
.piece-thumb:focus-within .thumb-arrow { opacity: 1; }
.thumb-arrow:hover { background: var(--gold); }
.thumb-arrow-prev { left: 10px; }
.thumb-arrow-next { right: 10px; }

.photo-counter {
  position: absolute;
  right: 10px; bottom: 10px;
  font-family: var(--font-ui);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  background: rgba(31, 42, 34, 0.6);
  color: #fff;
  padding: 3px 8px;
  border-radius: 999px;
  z-index: 2;
}

/* Touch devices can't hover — keep arrows always visible there */
@media (hover: none) {
  .thumb-arrow { opacity: 0.85; }
}
.piece-info { padding: 18px 18px 20px; }
.piece-info .piece-cat {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}
.piece-info h3 { font-size: 18px; margin-bottom: 4px; }
.piece-info p { font-size: 14px; color: var(--muted); margin: 0; }

.piece-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  font-family: var(--font-ui);
}

@media (max-width: 980px) {
  .piece-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .piece-grid { grid-template-columns: 1fr; }
}

/* Lightbox modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(31, 42, 34, 0.88);
}
.lightbox.is-open { display: flex; }
.lightbox-inner {
  background: var(--bg);
  max-width: 920px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  position: relative;
}
.lightbox-img {
  background: var(--sold-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.lightbox-img img { width: 100%; height: 100%; object-fit: cover; }

/* Photo-cycling arrows in the lightbox pop-up — hidden by default in the
   markup, shown by JS only when a piece has more than one photo */
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(31, 42, 34, 0.55);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background 0.2s ease;
}
.lightbox-arrow:hover { background: var(--gold); }
.lightbox-arrow-prev { left: 14px; }
.lightbox-arrow-next { right: 14px; }

.lightbox-counter {
  position: absolute;
  left: 14px; bottom: 14px;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.05em;
  background: rgba(31, 42, 34, 0.6);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
}
.lightbox-details { padding: 40px 36px; }
.lightbox-details .piece-cat {
  font-family: var(--font-ui);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.lightbox-details h3 { font-size: 28px; margin: 10px 0 16px; }
.lightbox-details p { color: var(--muted); }
.lightbox-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  color: var(--ink);
  z-index: 2;
}
.lightbox-close:hover { border-color: var(--gold); color: var(--gold); }
@media (max-width: 720px) {
  .lightbox-inner { grid-template-columns: 1fr; }
  .lightbox-img { aspect-ratio: 1/1; }
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.field label {
  display: block;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  border-radius: var(--radius);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-family: var(--font-ui); font-size: 12.5px; color: var(--muted); }

.contact-info-block { margin-bottom: 30px; }
.contact-info-block h3 {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}
.contact-info-block p { margin: 0; }
.map-frame {
  border: 1px solid var(--line);
  overflow: hidden;
  margin-top: 10px;
}
.map-frame iframe { width: 100%; height: 340px; border: 0; display: block; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: var(--bg);
  padding: 60px 0 30px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 20px; margin-bottom: 14px; }
.footer-brand .leaf { color: var(--gold); width: 22px; height: 22px; }
.footer-col h4 {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 14px;
}
.footer-col p, .footer-col a { color: rgba(247,244,236,0.75); font-size: 14.5px; }
.footer-col li { margin-bottom: 8px; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom {
  border-top: 1px solid rgba(247,244,236,0.15);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 12px;
  color: rgba(247,244,236,0.55);
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ==========================================================================
   SCROLL TO TOP
   ========================================================================== */
.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-soft);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
  z-index: 200;
}
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--green); }
.scroll-top .leaf { width: 20px; height: 20px; transition: transform 0.3s ease; }
.scroll-top:hover .leaf { transform: translateY(-2px) rotate(-8deg); }

/* ==========================================================================
   PAGE HEADER (for interior pages)
   ========================================================================== */
.page-header {
  padding: 60px 0 20px;
}
.page-header h1 { font-size: clamp(32px, 4.4vw, 48px); }
.page-header .lede { color: var(--muted); font-size: 17px; max-width: 60ch; }
