/* FEDHERS — tokens derived from DESIGN.md / SKILL.md */
:root {
  --color-bg: #ffffff;
  --color-ink: #000000;
  --color-brand: #174082;
  --color-body: #666666;
  --color-muted: #999999; /* decorative only: borders, dividers (fails AA as text) */
  --color-accent: #fee104;

  --font-display: "Gochi Hand", "Comic Sans MS", cursive;
  --font-body: "Source Sans 3", "Source Sans Pro", Arial, sans-serif;

  --text-xs: 14px;
  --text-sm: 16px;
  --text-base: 18px;
  --text-lg: 20px;
  --text-xl: 27px;
  --text-2xl: 36px;
  --text-hero: clamp(44px, 8vw, 80px);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 32px;
  --space-7: 52px;
  --space-8: 88px;

  --radius-sm: 5px;
  --radius-pill: 60px;
  --radius-tab-r: 0 60px 60px 0;
  --radius-tab-l: 30px 0 0 30px;

  --shadow-sm: 0 0 5px 0 #cccccc;
  --duration-base: 0.2s;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--color-body);
  background: var(--color-bg);
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; color: var(--color-brand); line-height: 1.2; margin: 0 0 var(--space-4); }
h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
p { margin: 0 0 var(--space-4); }
a { color: var(--color-brand); }

.container { width: min(100% - 2 * var(--space-5), var(--container)); margin-inline: auto; }
.section { padding-block: var(--space-8); }
.section--tint { background: #f6f8fc; }
.eyebrow { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-brand); }
.lede { font-size: var(--text-lg); max-width: 60ch; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--color-brand); outline-offset: 3px; }
.skip-link { position: absolute; left: var(--space-4); top: -60px; background: var(--color-accent); color: var(--color-brand); padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm); z-index: 100; }
.skip-link:focus { top: var(--space-2); }

/* Buttons */
.btn {
  display: inline-block; font: 600 var(--text-sm)/1 var(--font-body);
  padding: var(--space-4) var(--space-6); border: 2px solid transparent;
  border-radius: var(--radius-pill); cursor: pointer; text-decoration: none;
  transition: background var(--duration-base), color var(--duration-base);
}
.btn--primary { background: var(--color-accent); color: var(--color-brand); }
.btn--primary:hover { background: var(--color-brand); color: var(--color-accent); }
.btn--ghost { background: transparent; color: var(--color-brand); border-color: var(--color-brand); }
.btn--ghost:hover { background: var(--color-brand); color: var(--color-bg); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--color-bg); box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: var(--space-5); }
.brand { font-family: var(--font-display); font-size: var(--text-2xl); color: var(--color-brand); text-decoration: none; display: flex; align-items: center; gap: var(--space-2); }
.brand__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--color-accent); border: 2px solid var(--color-brand); }
.nav { display: flex; gap: var(--space-5); align-items: center; }
.nav a { text-decoration: none; font-weight: 600; font-size: var(--text-sm); color: var(--color-brand); padding: var(--space-2) var(--space-1); border-bottom: 3px solid transparent; transition: border-color var(--duration-base); }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--color-accent); }
.nav-toggle { display: none; background: none; border: 2px solid var(--color-brand); color: var(--color-brand); border-radius: var(--radius-pill); padding: var(--space-2) var(--space-4); font: 600 var(--text-sm) var(--font-body); cursor: pointer; }

/* Hero */
.hero { background: var(--color-brand); color: var(--color-bg); position: relative; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--space-6); align-items: center; padding-block: var(--space-8); }
.hero h1 { color: var(--color-bg); }
.hero h1 em { font-style: normal; color: var(--color-accent); }
.hero p { color: #e6ecf7; font-size: var(--text-lg); }
.hero__actions { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-6); }
.hero .btn--ghost { color: var(--color-bg); border-color: var(--color-bg); }
.hero .btn--ghost:hover { background: var(--color-bg); color: var(--color-brand); }
.hero__art { background: var(--color-accent); border-radius: var(--radius-tab-l); padding: var(--space-6); aspect-ratio: 1; display: grid; place-items: center; max-width: 420px; width: 100%; justify-self: center; }

/* Value props */
.grid { display: grid; gap: var(--space-5); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--color-bg); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); padding: var(--space-6); }
.card__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--color-accent); display: grid; place-items: center; margin-bottom: var(--space-4); color: var(--color-brand); }

/* Products */
.filters { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-block: var(--space-5) var(--space-6); }
.chip { font: 600 var(--text-sm) var(--font-body); padding: var(--space-2) var(--space-5); border-radius: var(--radius-pill); border: 2px solid var(--color-brand); background: transparent; color: var(--color-brand); cursor: pointer; transition: background var(--duration-base), color var(--duration-base); }
.chip:hover { background: #eaf0fa; }
.chip[aria-pressed="true"] { background: var(--color-brand); color: var(--color-bg); }
.product { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.product__img { background: var(--color-accent); display: grid; place-items: center; aspect-ratio: 4 / 3; color: var(--color-brand); }
.product__body { padding: var(--space-5); display: flex; flex-direction: column; flex: 1; }
.product__body h3 { font-size: var(--text-lg); font-family: var(--font-body); font-weight: 600; margin-bottom: var(--space-2); }
.product__tag { font-size: var(--text-xs); font-weight: 600; color: var(--color-brand); text-transform: uppercase; letter-spacing: 0.06em; }
.product__body .btn { margin-top: auto; align-self: flex-start; }
.empty { padding: var(--space-7); text-align: center; border: 2px dashed var(--color-muted); border-radius: var(--radius-sm); }

/* CTA band + form */
.cta { background: var(--color-accent); border-radius: var(--radius-tab-r); padding: var(--space-7) var(--space-6); }
.cta h2 { margin-bottom: var(--space-3); }
.form { display: grid; gap: var(--space-4); max-width: 640px; }
.field label { display: block; font-weight: 600; color: var(--color-brand); margin-bottom: var(--space-1); font-size: var(--text-sm); }
.field input, .field select, .field textarea { width: 100%; font: var(--text-base) var(--font-body); padding: var(--space-3) var(--space-4); border: 2px solid var(--color-muted); border-radius: var(--radius-sm); color: var(--color-ink); background: var(--color-bg); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--color-brand); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field__error { color: #b3261e; font-size: var(--text-xs); min-height: 1.2em; margin: var(--space-1) 0 0; }
.form__status { font-weight: 600; color: var(--color-brand); min-height: 1.5em; }

/* Footer */
.site-footer { background: var(--color-ink); color: #d9d9d9; padding-block: var(--space-7); }
.site-footer a { color: var(--color-accent); }
.site-footer h3 { color: var(--color-accent); font-size: var(--text-lg); }
.site-footer .grid { grid-template-columns: 2fr 1fr 1fr; }
.footer__fine { margin-top: var(--space-6); font-size: var(--text-xs); border-top: 1px solid var(--color-body); padding-top: var(--space-4); }

.page-head { background: var(--color-brand); padding-block: var(--space-7); }
.page-head h1 { color: var(--color-bg); font-size: var(--text-hero); margin: 0; }
.page-head p { color: #e6ecf7; margin: var(--space-3) 0 0; font-size: var(--text-lg); }

/* Responsive */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .hero .container, .site-footer .grid { grid-template-columns: minmax(0, 1fr); }
  .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-bg); flex-direction: column; align-items: flex-start; padding: var(--space-5); box-shadow: var(--shadow-sm); }
  .nav.is-open { display: flex; }
  .section { padding-block: var(--space-7); }
  .cta { border-radius: var(--radius-sm); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Polish */
.hero h1 { line-height: 1.1; }
.product__img svg { width: 45%; height: auto; }

/* FEDHERS additions */
.hero--photo { background: linear-gradient(rgba(23,64,130,.82), rgba(23,64,130,.82)), url("images/farm-aerial.jpg") center/cover no-repeat; }
.hero--photo .container { grid-template-columns: minmax(0, 1fr); padding-block: 120px; }
.hero--photo .lede { color: #e6ecf7; }
.stats { background: var(--color-accent); }
.stats .container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); padding-block: var(--space-6); text-align: center; }
.stat__num { font-family: var(--font-display); font-size: var(--text-hero); color: var(--color-brand); line-height: 1; }
.stat__label { font-size: var(--text-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-brand); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); align-items: center; }
.split img { width: 100%; border-radius: var(--radius-tab-l); }
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--color-muted); vertical-align: top; }
.spec th { color: var(--color-brand); width: 36%; font-size: var(--text-sm); text-transform: uppercase; letter-spacing: .06em; }
.contact-list { list-style: none; padding: 0; margin: 0 0 var(--space-6); }
.contact-list li { margin-bottom: var(--space-3); }
.contact-list strong { color: var(--color-brand); display: block; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 1024px) { .stats .container { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .split { grid-template-columns: minmax(0, 1fr); } .hero--photo .container { padding-block: var(--space-8); } }
.split img { height: auto; }
.hero--photo { background: linear-gradient(rgba(23,64,130,.74), rgba(23,64,130,.74)), url("images/farm-aerial.jpg") center/cover no-repeat; }

/* Photo galleries (all images share the navy/cream theme filter baked in) */
.photo-grid { display: grid; gap: var(--space-5); grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--space-6); }
.photo-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.photo { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); border-bottom: 4px solid var(--color-accent); background: var(--color-brand); }
.photo img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .4s; }
.photo--tall img { aspect-ratio: 3 / 4; }
.photo:hover img { transform: scale(1.04); }
.photo figcaption { position: absolute; inset: auto 0 0 0; padding: var(--space-6) var(--space-4) var(--space-3); color: #fff; font-size: var(--text-sm); font-weight: 600; background: linear-gradient(to top, rgba(11,31,74,.92), rgba(11,31,74,0)); }
.photo__step { position: absolute; top: var(--space-3); left: var(--space-3); background: var(--color-accent); color: var(--color-brand); font: 400 var(--text-lg)/1 var(--font-display); padding: var(--space-2) var(--space-3); border-radius: var(--radius-pill); }
@media (max-width: 1024px) { .photo-grid, .photo-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .photo-grid, .photo-grid--4 { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .photo:hover img { transform: none; } }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) { .grid--2 { grid-template-columns: minmax(0, 1fr); } }

/* Logo in menu bar */
.brand img { height: 56px; width: auto; }
@media (max-width: 720px) { .brand img { height: 46px; } }

/* Logo pill: oblong yellow background */
.brand { background: var(--color-accent); border-radius: var(--radius-pill); padding: var(--space-1) var(--space-5); box-shadow: var(--shadow-sm); transition: background var(--duration-base), transform var(--duration-base); }
.brand:hover { background: #fff04d; transform: translateY(-1px); }
.brand img { height: 50px; }
@media (max-width: 720px) { .brand { padding: var(--space-1) var(--space-4); } .brand img { height: 40px; } }

/* Keep the menu bar frozen while scrolling; offset in-page anchors below it */
html { scroll-padding-top: 90px; }
.site-header { position: sticky; top: 0; z-index: 100; }

/* Partner with us page: broiler photo as a full background; foreground panels are translucent glass in the site theme */
.contact-page { background: #fefae6 url("images/broiler-bg.jpg") center bottom / auto 96% no-repeat; min-height: 820px; position: relative; }
.contact-page .contact-list,
.contact-page .form {
  background: rgba(255, 255, 255, .145);
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
  border: 1px solid rgba(23, 64, 130, .18);
  border-top: 4px solid var(--color-accent);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: var(--space-6);
}
.contact-page .form { max-width: none; }
.contact-page .contact-list { margin: 0; }
.contact-page .field input,
.contact-page .field select,
.contact-page .field textarea { background: rgba(255, 255, 255, .42); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .contact-page .contact-list, .contact-page .form { background: rgba(255, 255, 255, .86); }
}
@media (max-width: 900px) {
  .contact-page { background-size: 100% auto; background-position: center bottom; min-height: 0; padding-bottom: calc(100vw * 0.75); }
  .contact-page .contact-list { margin-bottom: var(--space-5); }
}

/* Site highlights (Facilities): 28-day photo background, translucent glass foreground */
.highlights { background: linear-gradient(rgba(254, 250, 230, .10), rgba(254, 250, 230, .10)), url("images/day-28.jpg") center / cover no-repeat; }
.highlights .glass {
  background: rgba(255, 255, 255, .145);
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
  border: 1px solid rgba(23, 64, 130, .18);
  border-top: 4px solid var(--color-accent);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: var(--space-6);
}
.highlights .spec th { color: var(--color-brand); }
.highlights .spec td { color: #333; font-weight: 600; }
.highlights .spec th, .highlights .spec td { border-bottom-color: rgba(23, 64, 130, .35); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .highlights .glass { background: rgba(255, 255, 255, .86); } }
@media (max-width: 720px) { .highlights .glass { padding: var(--space-5); } }

/* About (first section): day-old chicks photo background, translucent glass foreground */
.about-intro { background: linear-gradient(rgba(254, 250, 230, .10), rgba(254, 250, 230, .10)), url("images/day-old-chicks.jpg") center / cover no-repeat; }
.about-intro .glass {
  background: rgba(255, 255, 255, .145);
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
  border: 1px solid rgba(23, 64, 130, .18);
  border-top: 4px solid var(--color-accent);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: var(--space-6);
}
.about-intro .lede { color: #1f2a44; font-weight: 600; }
.about-intro .spec th { color: var(--color-brand); }
.about-intro .spec td { color: #333; font-weight: 600; }
.about-intro .spec th, .about-intro .spec td { border-bottom-color: rgba(23, 64, 130, .35); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .about-intro .glass { background: rgba(255, 255, 255, .86); } }
@media (max-width: 720px) { .about-intro .glass { padding: var(--space-5); } }

/* Legibility on the most transparent panels */
.contact-page .contact-list, .contact-page .form label, .contact-page .contact-list *,
.highlights .glass, .about-intro .glass { text-shadow: 0 0 8px rgba(255, 255, 255, .85), 0 0 2px rgba(255, 255, 255, .6); }
.contact-page .field input, .contact-page .field select, .contact-page .field textarea, .contact-page .btn { text-shadow: none; }

.form__fallback { margin: 0; font-size: var(--text-xs); line-height: 1.5; color: var(--color-body); }
.form__fallback a { font-weight: 600; }

/* ===== Footer: centered on all screens ===== */
.site-footer { text-align: center; padding-bottom: 0; }
.site-footer .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); justify-items: center; }
.site-footer .grid > div { max-width: 34ch; }
.site-footer a { overflow-wrap: anywhere; }
.footer__fine { text-align: center; }
.footer__disclaimer { margin-top: var(--space-5); padding: var(--space-5) 0 calc(var(--space-5) + env(safe-area-inset-bottom)); background: #0d0d0d; border-top: 1px solid #2a2a2a; }
.footer__disclaimer p { max-width: 90ch; margin: 0 auto; font-size: var(--text-xs); line-height: 1.6; color: #bdbdbd; }
.footer__disclaimer strong { color: var(--color-accent); }
.form__privacy { margin: 0; font-size: var(--text-xs); line-height: 1.5; color: var(--color-body); }

/* ===== Legal pages (privacy / terms) ===== */
.legal { padding-block: var(--space-7); }
.legal .container { max-width: 820px; }
.legal h2 { font-size: var(--text-xl); margin-top: var(--space-6); }
.legal ul { padding-left: 1.25em; margin: 0 0 var(--space-4); }
.legal li { margin-bottom: var(--space-2); }
.legal address { font-style: normal; background: #f6f8fc; border-left: 4px solid var(--color-accent); padding: var(--space-4) var(--space-5); border-radius: var(--radius-sm); margin-bottom: var(--space-4); }
.legal .updated { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--color-brand); font-weight: 600; }

/* ===== Mobile responsiveness & rotation ===== */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { overflow-wrap: break-word; }
.site-header .container, .site-footer .container, .container { padding-inline: env(safe-area-inset-left) env(safe-area-inset-right); }
.page-head h1 { font-size: clamp(36px, 7vw, 64px); }
.stat__num { font-size: clamp(40px, 9vw, 80px); }

@media (max-width: 900px) and (min-width: 721px) {
  .nav { gap: var(--space-4); }
  .site-footer .grid { gap: var(--space-4); }
}
@media (max-width: 720px) {
  :root { --text-base: 17px; --text-2xl: 30px; --text-xl: 24px; }
  .site-header .container { min-height: 64px; }
  .nav { max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto; gap: var(--space-2); }
  .nav a { display: block; width: 100%; padding: var(--space-3) var(--space-1); }
  .nav .btn { width: auto; text-align: center; margin-top: var(--space-2); }
  .nav-toggle, .btn { min-height: 44px; }
  .field input, .field select, .field textarea { font-size: 16px; } /* stops iOS zoom on focus */
  .hero--photo .container { padding-block: var(--space-7); }
  .page-head { padding-block: var(--space-6); }
  .contact-page .contact-list, .contact-page .form { padding: var(--space-5); }
  .site-footer .grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); justify-items: center; }
  .site-footer { padding-block: var(--space-6) 0; }
  .cta { padding: var(--space-6) var(--space-5); }
}
@media (max-width: 560px) {
  .stats .container { gap: var(--space-4); padding-block: var(--space-5); }
  .spec, .spec tbody, .spec tr, .spec th, .spec td { display: block; width: 100%; }
  .spec th { padding-bottom: 0; border-bottom: 0; }
  .spec td { padding-top: var(--space-1); }
  .hero__actions .btn { flex: 1 1 100%; text-align: center; }
  .split img { border-radius: var(--radius-sm); }
}
@media (max-width: 360px) {
  .container { width: min(100% - 2 * var(--space-4), var(--container)); }
  .brand img { height: 34px; }
  .stats .container { grid-template-columns: minmax(0, 1fr); }
}

/* Landscape phones / short screens: reclaim vertical space */
@media (orientation: landscape) and (max-height: 520px) {
  .site-header { position: static; }
  html { scroll-padding-top: 0; }
  .site-header .container { min-height: 56px; }
  .brand img { height: 36px; }
  .section { padding-block: var(--space-6); }
  .hero--photo .container { padding-block: var(--space-6); }
  .hero { min-height: 0; }
  .page-head { padding-block: var(--space-5); }
  .nav { max-height: calc(100vh - 56px); max-height: calc(100dvh - 56px); }
  .contact-page { min-height: 0; }
  .site-footer { padding-top: var(--space-5); }
}
/* Landscape tablets/phones wider than 720px still get the 2-column contact layout; keep the photo from crowding the form */
@media (orientation: landscape) and (min-width: 721px) and (max-width: 900px) {
  .contact-page { background-size: auto 100%; padding-bottom: var(--space-7); }
}
/* Portrait tablets */
@media (orientation: portrait) and (min-width: 721px) and (max-width: 1024px) {
  .hero--photo .container { padding-block: var(--space-8); }
}
@media (hover: none) { .photo:hover img { transform: none; } .brand:hover { transform: none; } }

/* ===== Readability on translucent panels (panel transparency unchanged) =====
   Darker ink + heavier weight + a tight light halo so text holds up over the photos. */
.contact-page, .highlights, .about-intro { --halo:  0 0 1px #fff, 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #fff, 0 0 7px rgba(255,255,255,.95), 0 0 14px rgba(255,255,255,.85); }
.contact-page .contact-list, .contact-page .form,
.highlights .glass, .about-intro .glass { color: #111827; font-weight: 600; text-shadow: var(--halo); }
.contact-page .contact-list li, .contact-page .contact-list *,
.contact-page .form label, .contact-page .form__privacy, .contact-page .form__fallback, .contact-page .form__status,
.highlights .glass p, .highlights .glass li, .about-intro .glass p, .about-intro .glass li { color: #111827; text-shadow: var(--halo); }
.contact-page .contact-list strong, .contact-page .form label,
.highlights .glass h2, .highlights .glass h3, .about-intro .glass h2, .about-intro .glass h3,
.highlights .spec th, .about-intro .spec th { color: #0b2a66; font-weight: 700; text-shadow: var(--halo); }
.contact-page .contact-list a, .contact-page .form a, .highlights .glass a, .about-intro .glass a { color: #0b2a66; font-weight: 700; text-decoration-thickness: 2px; }
.highlights .spec td, .about-intro .spec td, .about-intro .lede { color: #111827; font-weight: 700; text-shadow: var(--halo); }
.contact-page .form__privacy, .contact-page .form__fallback { font-weight: 600; }
.contact-page .field__error { color: #8f1d17; font-weight: 700; text-shadow: var(--halo); }
.contact-page .field input, .contact-page .field select, .contact-page .field textarea { color: #000; font-weight: 600; }
.contact-page .field input::placeholder, .contact-page .field textarea::placeholder { color: #374151; opacity: 1; }
.contact-page .field input, .contact-page .field select, .contact-page .field textarea { border-color: #4b5563; }

/* ===== Back-to-top arrow ===== */
.to-top {
  position: fixed; right: max(var(--space-4), env(safe-area-inset-right)); bottom: max(var(--space-4), env(safe-area-inset-bottom));
  z-index: 90; width: 48px; height: 48px; padding: 0; display: grid; place-items: center;
  border: 2px solid var(--color-brand); border-radius: 50%; background: var(--color-accent); color: var(--color-brand);
  box-shadow: 0 2px 10px rgba(0,0,0,.3); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity var(--duration-base), transform var(--duration-base), visibility var(--duration-base), background var(--duration-base), color var(--duration-base);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--color-brand); color: var(--color-accent); }
.to-top svg { width: 22px; height: 22px; }
@media (max-width: 720px) { .to-top { width: 44px; height: 44px; } }

/* ===== Close (X) button on Privacy / Terms ===== */
.page-head .container { position: relative; }
.close-btn {
  position: absolute; top: 0; right: 0; width: 48px; height: 48px; display: grid; place-items: center;
  border: 2px solid var(--color-accent); border-radius: 50%; background: transparent; color: var(--color-accent);
  text-decoration: none; transition: background var(--duration-base), color var(--duration-base);
}
.close-btn:hover, .close-btn:focus-visible { background: var(--color-accent); color: var(--color-brand); }
.close-btn:focus-visible { outline-color: #fff; }
.close-btn svg { width: 22px; height: 22px; }
.page-head .close-btn ~ h1 { padding-right: 64px; }
@media (max-width: 720px) { .close-btn { width: 44px; height: 44px; } }

/* Footer data-notice buttons */
.footer__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin: var(--space-4) auto 0 !important; }
.site-footer .btn { text-decoration: none; }
.site-footer .btn--primary { color: var(--color-brand); }
.site-footer .btn--primary:hover { color: var(--color-accent); }
.btn--sm { padding: var(--space-3) var(--space-5); min-height: 44px; display: inline-flex; align-items: center; }
