/* ==========================================================================
   POTCH LAYING HENS — stylesheet
   Apple Human Interface Guidelines (HIG), dark mode
   ========================================================================== */

:root {
  /* --- Palette (dark mode) --- */
  --bg-app: #0B0C0E;
  --bg-band: #111214;               /* alternate section band */
  --bg-panel: #1C1C1E;              /* cards / panels */
  --bg-panel-raised: #2C2C2E;       /* inputs, hover fills */
  --bg-glass: rgba(28, 28, 30, 0.72);
  --text-primary: rgba(255, 255, 255, 0.92);
  --text-secondary: rgba(255, 255, 255, 0.55);
  --accent: #0A84FF;                /* system blue */
  --accent-hover: #409CFF;
  --green: #30D158;                 /* system green — WhatsApp / status */
  --red: #FF453A;                   /* system red — errors */
  --hairline: rgba(255, 255, 255, 0.08);
  --border: 1px solid var(--hairline);

  /* --- Type --- */
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  /* --- Geometry --- */
  --radius-window: 20px;
  --radius-card: 12px;
  --radius-button: 8px;
  --radius-badge: 9999px;
  --target: 44px;

  /* --- Materials --- */
  --blur: blur(20px) saturate(180%);

  /* --- Motion --- */
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --press: scale(0.98);

  /* --- Layout --- */
  --header-h: 64px;
  --gutter: 1.6rem;
}

@media (min-width: 768px) { :root { --gutter: 2.4rem; } }
@media (min-width: 1024px) { :root { --gutter: 4rem; } }

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

html {
  font-family: var(--sans);
  font-size: 62.5%; /* Keeps 1rem = 10px */
  background: var(--bg-app);
  color: var(--text-primary);
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg-app);
  font-size: 1.7rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.02em; /* Tight tracking */
}
h1 { font-size: clamp(3.4rem, 6vw, 5.6rem); font-weight: 700; }
h2 { font-size: clamp(2.8rem, 4vw, 4rem); font-weight: 700; }
h3 { font-size: 2rem; }

p { margin: 0 0 1em; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-card); }

code, pre, kbd { font-family: var(--mono); }

:focus-visible {
  outline: 3px solid rgba(10, 132, 255, 0.6);
  outline-offset: 2px;
  border-radius: var(--radius-button);
}

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 200;
  padding: 1.2rem 1.6rem;
  border-radius: var(--radius-button);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}
.skip-link:focus { top: 1.2rem; color: #fff; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap-narrow { max-width: 820px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: var(--target);
  padding: 1rem 2rem;
  border-radius: var(--radius-button);
  border: var(--border);
  background: var(--bg-panel);
  color: var(--text-primary);
  font: inherit;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--bg-panel-raised); color: var(--text-primary); }
.btn:active { transform: var(--press); }

.btn-primary {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); color: #fff; }

.btn-outline,
.btn-outline-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-primary);
}
.btn-outline:hover,
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.06); }

.btn-lg { min-height: 50px; padding: 1.2rem 2.4rem; font-size: 1.7rem; }
.btn-sm { min-height: 36px; padding: 0.6rem 1.4rem; font-size: 1.4rem; }
.btn-block { display: flex; width: 100%; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.site-header.scrolled { border-bottom-color: var(--hairline); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--target);
  color: var(--text-primary);
}
.brand:hover { color: var(--text-primary); }
.brand-logo { width: 36px; height: 36px; border-radius: var(--radius-button); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-weight: 600; font-size: 1.7rem; letter-spacing: -0.02em; }
.brand-sub { font-size: 1.2rem; color: var(--text-secondary); }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: var(--target);
  height: var(--target);
  padding: 0;
  border: 0;
  border-radius: var(--radius-button);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}
.nav-toggle:active { transform: var(--press); }
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  position: absolute;
  top: calc(var(--header-h) + 8px);
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  flex-direction: column;
  padding: 0.8rem;
  border: var(--border);
  border-radius: var(--radius-window);
  background: var(--bg-glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top center;
  transition: var(--transition);
}
.site-nav.open { opacity: 1; visibility: visible; transform: none; }

.site-nav a {
  display: flex;
  align-items: center;
  min-height: var(--target);
  padding: 0 1.2rem;
  border-radius: var(--radius-button);
  color: var(--text-primary);
  font-size: 1.7rem;
}
.site-nav a:hover { background: rgba(255, 255, 255, 0.06); }
.site-nav a:active { transform: var(--press); }
.site-nav .nav-cta { margin-top: 0.8rem; justify-content: center; color: #fff; }
.site-nav .nav-cta:hover { background: var(--accent-hover); }

@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 0.2rem;
    padding: 0;
    border: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .site-nav a {
    min-height: 36px;
    padding: 0 1rem;
    font-size: 1.4rem;
    color: var(--text-secondary);
  }
  .site-nav a:hover { color: var(--text-primary); background: rgba(255, 255, 255, 0.06); }
  .site-nav .nav-cta { margin: 0 0 0 0.8rem; color: #fff; }
}

/* ---------- Shared section scaffolding ---------- */
.section { padding: 8rem 0; }
.section-cream,
.section-green { background: var(--bg-band); border-block: var(--border); }

@media (min-width: 1024px) { .section { padding: 11rem 0; } }

.section-head { max-width: 680px; margin-bottom: 4.8rem; }
.section-intro { color: var(--text-secondary); font-size: 1.9rem; line-height: 1.5; margin: 0; }

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0;
}

.section-cta { margin-top: 4rem; }

/* Card material — shared by every elevated panel */
.breed-card, .step, .tip, .batch, .enquiry, .contact-details,
.price-table-wrap, .faq details {
  background: var(--bg-panel);
  border: var(--border);
  border-radius: var(--radius-card);
}

/* ---------- Photos & placeholders ---------- */
.photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--bg-panel);
}
.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.photo.missing {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  aspect-ratio: 4 / 3;
  border: 1px dashed rgba(255, 255, 255, 0.16);
}
.photo.missing img { display: none; }
.photo-placeholder-text {
  margin: 0;
  padding: 2rem;
  max-width: 32ch;
  text-align: center;
  font-size: 1.4rem;
  color: var(--text-secondary);
}

/* ---------- Hero ---------- */
.hero { padding: 6.4rem 0 8rem; }
.hero-grid { display: grid; gap: 4.8rem; align-items: center; }

@media (min-width: 900px) {
  .hero { padding: 9.6rem 0 11rem; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; }
}

.hero h1 { margin-bottom: 2rem; }
.lead { font-size: 2rem; line-height: 1.5; color: var(--text-secondary); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.2rem; margin: 3.2rem 0; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-facts li {
  padding: 0.6rem 1.4rem;
  border: var(--border);
  border-radius: var(--radius-badge);
  background: var(--bg-panel);
  font-size: 1.4rem;
  color: var(--text-secondary);
}
.hero-facts strong { color: var(--text-primary); font-weight: 600; }

.hero-photo {
  border-radius: var(--radius-window);
  aspect-ratio: 4 / 3;
  border: var(--border);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

/* ---------- Our hens ---------- */
.breed-grid { display: grid; gap: 2.4rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.breed-card { overflow: hidden; transition: var(--transition); }
.breed-card:hover { border-color: rgba(255, 255, 255, 0.14); transform: translateY(-2px); }
.breed-card .photo { border-radius: 0; aspect-ratio: 4 / 3; }
.breed-body { padding: 2.4rem; }

@media (min-width: 900px) {
  .breed-grid { grid-template-columns: 1fr; }
  .breed-card { display: grid; grid-template-columns: 1fr 1fr; }
  .breed-card .photo { aspect-ratio: auto; min-height: 100%; }
  .breed-body { padding: 4rem; align-self: center; }
}

.breed-facts { margin: 1.6rem 0 0; }
.breed-facts div {
  display: flex;
  justify-content: space-between;
  gap: 1.6rem;
  padding: 1.2rem 0;
  border-bottom: var(--border);
}
.breed-facts div:last-child { border-bottom: 0; }
.breed-facts dt { color: var(--text-secondary); }
.breed-facts dd { margin: 0; font-weight: 500; text-align: right; }

/* ---------- Booking steps ---------- */
.steps {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.step { padding: 2.8rem 2.4rem; }
.step p { margin: 0; color: var(--text-secondary); font-size: 1.6rem; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 2rem;
  border-radius: var(--radius-badge);
  background: rgba(10, 132, 255, 0.16);
  color: var(--accent);
  font-weight: 700;
  font-size: 1.6rem;
}

/* ---------- Prices ---------- */
.price-table-wrap { overflow-x: auto; max-width: 720px; }
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.price-table th,
.price-table td { padding: 1.6rem 2.4rem; text-align: left; }
.price-table thead th {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: var(--border);
}
.price-table tbody th { font-weight: 500; }
.price-table tbody td { font-weight: 600; text-align: right; }
.price-table thead th:last-child { text-align: right; }
.price-table tbody tr + tr > * { border-top: var(--border); }
.price-table tbody tr { transition: var(--transition); }
.price-table tbody tr:hover { background: rgba(255, 255, 255, 0.03); }

.price-notes {
  margin: 2.4rem 0 0;
  padding-left: 2rem;
  color: var(--text-secondary);
  font-size: 1.5rem;
}
.price-notes li + li { margin-top: 0.6rem; }

/* ---------- Available soon ---------- */
.batch-list { display: grid; gap: 1.2rem; margin: 0; padding: 0; list-style: none; }
.batch {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  align-items: center;
  padding: 2.4rem;
  transition: var(--transition);
}
.batch:hover { border-color: rgba(255, 255, 255, 0.14); }

@media (min-width: 640px) {
  .batch { grid-template-columns: auto 1fr auto; gap: 2.4rem; }
}

.batch-status {
  justify-self: start;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-badge);
  background: rgba(48, 209, 88, 0.14);
  color: var(--green);
  font-size: 1.3rem;
  font-weight: 600;
}
.batch-main h3 { margin-bottom: 0.4rem; font-size: 1.9rem; }
.batch-when { margin: 0; font-weight: 500; }
.batch-note { margin: 0.2rem 0 0; color: var(--text-secondary); font-size: 1.5rem; }
.batch-footnote { margin: 2.4rem 0 0; color: var(--text-secondary); font-size: 1.5rem; }

/* ---------- Care tips ---------- */
.tip-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.tip { padding: 2.8rem 2.4rem; }
.tip h3 { font-size: 1.9rem; }
.tip p { margin: 0; color: var(--text-secondary); font-size: 1.6rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 1rem; }
.faq details { overflow: hidden; transition: var(--transition); }
.faq details[open] { border-color: rgba(255, 255, 255, 0.14); }
.faq summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 1.4rem 5.6rem 1.4rem 2.4rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: var(--transition);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: rgba(255, 255, 255, 0.03); }
.faq summary::after {
  content: "";
  position: absolute;
  right: 2.4rem;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--text-secondary);
  border-bottom: 2px solid var(--text-secondary);
  transform: translateY(-70%) rotate(45deg);
  transition: var(--transition);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0; padding: 0 2.4rem 2.4rem; color: var(--text-secondary); }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 4.8rem; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.1fr 1fr; } }

.about-copy p { color: var(--text-secondary); }
.about-copy .signature { color: var(--text-primary); font-weight: 500; }

.about-photos { display: grid; gap: 1.6rem; grid-template-columns: 1fr 1fr; }
.about-photos .photo { aspect-ratio: 3 / 4; }
.about-photos .photo:nth-child(2) { margin-top: 4.8rem; }

/* ---------- Customer gallery ---------- */
.gallery-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gallery-photo { display: flex; flex-direction: column; background: var(--bg-panel); border: var(--border); }
.gallery-photo img { aspect-ratio: 4 / 3; cursor: zoom-in; transition: var(--transition); }
.gallery-photo img:hover { transform: scale(1.02); }
.gallery-photo img:active { transform: var(--press); }
.gallery-who { padding: 1.2rem 1.6rem; font-size: 1.4rem; color: var(--text-secondary); }
.gallery-photo.missing { display: flex; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2.4rem; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.3fr; } }

.contact-details { padding: 2.4rem; }
.contact-list { margin: 0 0 2.4rem; padding: 0; list-style: none; }
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.4rem 0;
  border-bottom: var(--border);
}
.contact-list li:first-child { padding-top: 0; }
.contact-label { font-size: 1.3rem; color: var(--text-secondary); }
.contact-value { color: var(--text-primary); font-weight: 500; word-break: break-word; }
a.contact-value { color: var(--accent); }

/* Enquiry form — elevated glass panel */
.enquiry {
  padding: 2.8rem 2.4rem;
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
.enquiry-note { color: var(--text-secondary); font-size: 1.5rem; }

.field { display: flex; flex-direction: column; gap: 0.6rem; margin: 0 0 1.6rem; min-width: 0; }
.field-row { display: grid; gap: 0 1.6rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

fieldset.field { padding: 0; border: 0; }
.field label, .field legend { font-size: 1.4rem; font-weight: 500; color: var(--text-primary); padding: 0; }
.optional { color: var(--text-secondary); font-weight: 400; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: var(--target);
  padding: 1rem 1.4rem;
  border: var(--border);
  border-radius: var(--radius-button);
  background: var(--bg-panel-raised);
  color: var(--text-primary);
  font: inherit;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, 0.3); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.25);
}
.field select {
  padding-right: 4rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-secondary) 50%),
                    linear-gradient(-45deg, transparent 50%, var(--text-secondary) 50%);
  background-position: calc(100% - 2rem) 50%, calc(100% - 1.5rem) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.radio-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.6rem; }
.radio {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-height: var(--target);
  padding: 0 1.4rem;
  border: var(--border);
  border-radius: var(--radius-button);
  background: var(--bg-panel-raised);
  font-size: 1.5rem;
  font-weight: 400 !important;
  cursor: pointer;
  transition: var(--transition);
}
.radio:active { transform: var(--press); }
.radio:has(input:checked) { border-color: var(--accent); background: rgba(10, 132, 255, 0.12); }
.radio input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }

.form-error {
  padding: 1.2rem 1.6rem;
  border-radius: var(--radius-button);
  background: rgba(255, 69, 58, 0.12);
  border: 1px solid rgba(255, 69, 58, 0.3);
  color: var(--red);
  font-size: 1.5rem;
}
.form-actions { display: grid; gap: 1rem; margin-top: 0.8rem; }

/* Map */
.map-wrap { margin-top: 4.8rem; }
.map-title { font-size: 1.9rem; }
.map-wrap iframe {
  display: block;
  border-radius: var(--radius-card);
  border: var(--border) !important;
  filter: invert(0.9) hue-rotate(180deg) saturate(0.8);
}
.map-link { display: inline-flex; align-items: center; min-height: var(--target); margin-top: 0.8rem; font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 6.4rem 0 3.2rem;
  border-top: var(--border);
  background: var(--bg-app);
  font-size: 1.4rem;
}
.footer-inner { display: grid; gap: 3.2rem; }
@media (min-width: 768px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; } }

.footer-brand { display: flex; gap: 1.2rem; align-items: flex-start; }
.footer-brand img { width: 40px; height: 40px; border-radius: var(--radius-button); }
.footer-brand p { margin: 0; color: var(--text-secondary); }
.footer-brand strong { color: var(--text-primary); }

.footer-links,
.footer-contact { display: flex; flex-direction: column; gap: 0.2rem; }
.footer-links a,
.footer-contact a { display: inline-flex; align-items: center; min-height: 36px; color: var(--text-secondary); }
.footer-links a:hover,
.footer-contact a:hover { color: var(--text-primary); }
.footer-contact span { color: var(--text-secondary); padding: 0.8rem 0; }

.footer-copy {
  max-width: 1200px;
  margin: 4rem auto 0;
  padding: 2.4rem var(--gutter) 0;
  border-top: var(--border);
  color: var(--text-secondary);
  font-size: 1.3rem;
}

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-badge);
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transition: var(--transition);
}
.wa-float:hover { color: #fff; transform: translateY(-2px); }
.wa-float:active { transform: var(--press); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; }
.lightbox img {
  max-height: calc(100vh - 12rem);
  width: auto;
  margin: 0 auto;
  border-radius: var(--radius-window);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.lightbox-close {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  width: var(--target);
  height: var(--target);
  border: var(--border);
  border-radius: var(--radius-badge);
  background: var(--bg-glass);
  color: var(--text-primary);
  font-size: 2.6rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
}
.lightbox-close:hover { background: var(--bg-panel-raised); }
.lightbox-close:active { transform: var(--press); }

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