/* Anchor Security & Cleaning Services - site styles
   Theme: tokens on :root, dark mode via prefers-color-scheme.
   Radius system: 12px for tiles, images and cards; 10px for buttons and inputs. */

:root {
  /* Palette taken from the logo: charcoal, white, rose-red */
  --bg: #f6f5f5;
  --surface: #ffffff;
  --surface-2: #ecebec;
  --ink: #1d1c1f;
  --ink-2: #57545b;
  --line: #dddbde;
  --brand: #3b393d;
  --brand-2: #4a474d;
  --on-brand: #f4f3f4;
  --on-brand-2: #c9c6cc;
  --accent: #c0394f;
  --accent-hover: #a82f43;
  --accent-ink: #ffffff;
  --accent-text: #b3334a;
  --scrim: 20 19 21;
  --error: #b42318;
  --ok: #157f3d;
  --radius: 12px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(59 57 61 / .06), 0 12px 32px rgb(59 57 61 / .10);
  --max: 1240px;
  --gutter: 24px;
  --header-h: 76px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141315;
    --surface: #1c1b1e;
    --surface-2: #232225;
    --ink: #f0eff1;
    --ink-2: #b2aeb6;
    --line: #333136;
    --brand: #2c2a2e;
    --brand-2: #3a383c;
    --accent-text: #ef8193;
    --error: #ff8a80;
    --ok: #6fd69a;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 32px rgb(0 0 0 / .35);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.03em; margin: 0; font-weight: 600; }
h1 { font-size: clamp(2.6rem, 5.8vw, 4.75rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 112px 0; }
.lead { font-size: 1.18rem; color: var(--ink-2); max-width: 58ch; }
.muted { color: var(--ink-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 22px;
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); padding: 8px 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; white-space: nowrap;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  font: 600 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn-light { background: rgb(255 255 255 / .08); color: #fff; border-color: rgb(255 255 255 / .4); }
.btn-light:hover { background: rgb(255 255 255 / .16); border-color: #fff; }
.btn i { font-size: 1.15em; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none;
  border-bottom: 2px solid var(--accent); padding-bottom: 2px;
}
.link-arrow i { transition: transform .2s ease; }
.link-arrow:hover i, a:hover .link-arrow i { transform: translateX(3px); }

/* Header: solid by default; transparent while it sits over a photo hero */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background-color .3s ease, border-color .3s ease;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: 60px; height: 44px; border-radius: 6px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name strong { font-size: 1.1rem; letter-spacing: -0.02em; }
.brand-name span { font-size: .78rem; color: var(--ink-2); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 500; color: var(--ink-2);
  transition: color .2s ease, background-color .2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--accent-text); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-phone { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.nav-actions .btn { min-height: 44px; padding: 0 18px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font-size: 22px; cursor: pointer; place-items: center;
}

.has-photo-hero .site-header { position: fixed; left: 0; right: 0; }
.site-header.is-over { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-over .brand-name, .site-header.is-over .nav-phone { color: #fff; }
.site-header.is-over .brand-name span { color: rgb(255 255 255 / .75); }
.site-header.is-over .nav-links a { color: rgb(255 255 255 / .85); }
.site-header.is-over .nav-links a:hover { color: #fff; }
.site-header.is-over .nav-links a[aria-current="page"] { color: #ef8193; }
.site-header.is-over .menu-toggle { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .35); color: #fff; }

/* Photo hero */
.photo-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(92dvh, 900px);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 64px) 0 160px;
  color: #fff; background: #2a282c;
}
.photo-hero .bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.photo-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgb(var(--scrim) / .88) 0%, rgb(var(--scrim) / .62) 42%, rgb(var(--scrim) / .15) 75%),
    linear-gradient(0deg, rgb(var(--scrim) / .55) 0%, transparent 35%);
}
.photo-hero .eyebrow { color: rgb(255 255 255 / .82); }
.photo-hero h1 { max-width: 13ch; margin-bottom: 24px; }
.photo-hero .lead { color: rgb(255 255 255 / .84); margin-bottom: 40px; max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.photo-hero.compact { min-height: min(68dvh, 640px); padding-bottom: 96px; }
.photo-hero.compact h1 { font-size: clamp(2.4rem, 5vw, 4rem); }

/* Proof bar overlapping the hero */
.proof { position: relative; z-index: 2; margin-top: -88px; }
.proof-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.proof-item { display: flex; gap: 16px; align-items: center; padding: 30px 28px; }
.proof-item + .proof-item { border-left: 1px solid var(--line); }
.proof-item .icon {
  flex: none; width: 48px; height: 48px; border-radius: var(--radius-sm); display: grid; place-items: center;
  font-size: 24px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent-text);
}
.proof-item strong { display: block; font-size: 1.05rem; line-height: 1.25; }
.proof-item span { font-size: .92rem; color: var(--ink-2); }

/* Section header */
.section-head { margin-bottom: 56px; max-width: 64ch; }
.section-head h2 { margin-bottom: 16px; }

/* Services: two photo cards */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.service-card {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 560px; border-radius: var(--radius);
  display: flex; align-items: flex-end; color: #fff; text-decoration: none; background: #2a282c;
}
.service-card img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s cubic-bezier(.16, 1, .3, 1);
}
.service-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgb(var(--scrim) / .94) 0%, rgb(var(--scrim) / .72) 50%, rgb(var(--scrim) / .1) 85%);
}
.service-card:hover img { transform: scale(1.04); }
.service-body { padding: 40px; display: grid; gap: 14px; }
.service-body h3 { font-size: 2rem; }
.service-body p { color: rgb(255 255 255 / .84); max-width: 42ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 6px 0 10px; }
.chips li {
  font-size: .86rem; padding: 6px 12px; border-radius: 999px;
  background: rgb(255 255 255 / .14); color: #fff; border: 1px solid rgb(255 255 255 / .18);
}
.service-card .link-arrow { justify-self: start; }

/* Sectors bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(230px, auto); gap: 16px; }
.bento-feature {
  grid-column: span 2; grid-row: span 2; position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--radius); color: #fff; display: flex; align-items: flex-end; background: #2a282c;
}
.bento-feature img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.bento-feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(var(--scrim) / .88), rgb(var(--scrim) / 0) 60%); }
.bento-feature div { padding: 36px; }
.bento-feature h3 { font-size: 1.75rem; margin-bottom: 8px; }
.bento-feature p { color: rgb(255 255 255 / .84); max-width: 40ch; }
.bento-cell {
  border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  background: var(--surface); border: 1px solid var(--line);
}
.bento-cell i { font-size: 32px; color: var(--accent-text); }
.bento-cell h3 { font-size: 1.2rem; margin-bottom: 6px; }
.bento-cell p { color: var(--ink-2); font-size: .95rem; }
.bento-cell.charcoal { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.bento-cell.charcoal p { color: var(--on-brand-2); }
.bento-cell.charcoal i { color: #fff; }
.bento-cell.rose { background: var(--accent); border-color: var(--accent); color: #fff; }
.bento-cell.rose p { color: rgb(255 255 255 / .88); }
.bento-cell.rose i { color: #fff; }

/* About */
.about { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.about blockquote { margin: 0; font-size: clamp(1.55rem, 2.7vw, 2.25rem); line-height: 1.28; letter-spacing: -0.02em; font-weight: 500; }
.about blockquote em { font-style: normal; color: var(--accent-text); }
.about-grid p { margin-top: 28px; color: var(--ink-2); max-width: 62ch; }

/* Testimonial */
.testimonial figure { margin: 0 auto; max-width: 900px; text-align: center; }
.testimonial i.ph-quotes { font-size: 48px; color: var(--accent-text); }
.testimonial blockquote { margin: 18px 0 28px; font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.4; letter-spacing: -0.015em; }
.testimonial figcaption strong { display: block; }
.testimonial figcaption span { color: var(--ink-2); font-size: .95rem; }

/* CTA with photo */
.cta-photo {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius);
  color: #fff; padding: 88px 64px; background: #2a282c;
}
.cta-photo img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(var(--scrim) / .9), rgb(var(--scrim) / .5)); }
.cta-photo h2 { max-width: 18ch; }
.cta-photo p { color: rgb(255 255 255 / .84); margin: 16px 0 36px; max-width: 48ch; }

/* Service pages */
.sectors { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.sector {
  display: flex; align-items: center; gap: 12px; padding: 20px 22px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-weight: 500;
}
.sector i { font-size: 26px; color: var(--accent-text); }
.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 64px; }
.offer { display: grid; grid-template-columns: 52px 1fr; gap: 18px; }
.offer .icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent-text);
  display: grid; place-items: center; font-size: 26px;
}
.offer h3 { margin-bottom: 8px; }
.offer p { color: var(--ink-2); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 20px; }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; }
.contact-list .icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent-text);
  display: grid; place-items: center; font-size: 22px;
}
.contact-list small { display: block; color: var(--ink-2); font-size: .85rem; }
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { position: relative; display: grid; gap: 8px; margin-bottom: 20px; align-content: start; }
.field label, .field legend { font-weight: 600; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--ink-2); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 1px; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field .error { font-size: .88rem; color: var(--error); }
.field .error:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0 0 20px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); font-weight: 500; cursor: pointer;
}
.choice input:checked + span { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--bg)); }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); border: 1px solid var(--ok); }
.form-status.err { background: color-mix(in srgb, var(--error) 12%, transparent); border: 1px solid var(--error); }

/* Footer */
.site-footer { background: var(--surface-2); padding: 72px 0 32px; margin-top: 112px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid h4 { margin: 0 0 14px; font-size: .95rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; color: var(--ink-2); }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; }
.footer-grid address { font-style: normal; color: var(--ink-2); }
.footer-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); }

/* Motion: hero load-in and reveal-on-scroll, both off for reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s cubic-bezier(.16, 1, .3, 1) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .07s; }
  .hero-copy > *:nth-child(3) { animation-delay: .14s; }
  .hero-copy > *:nth-child(4) { animation-delay: .21s; }
  .photo-hero .bg { animation: settle 1.6s cubic-bezier(.16, 1, .3, 1) both; }
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1); }
  .reveal.in { opacity: 1; transform: none; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  @keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Responsive */
@media (max-width: 1100px) {
  .nav-phone { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-feature { grid-row: span 1; min-height: 360px; }
}
@media (max-width: 900px) {
  .menu-toggle { display: grid; }
  .nav-links {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a, .site-header.is-over .nav-links a { padding: 14px 12px; font-size: 1.05rem; color: var(--ink); }
  .nav-links a[aria-current="page"], .site-header.is-over .nav-links a[aria-current="page"] { color: var(--accent-text); }
  .site-header.menu-open { background: var(--bg); border-color: var(--line); }
  .site-header.menu-open .brand-name, .site-header.menu-open .brand-name span { color: var(--ink); }
  .site-header.menu-open .menu-toggle { background: var(--surface); border-color: var(--line); color: var(--ink); }
  .nav-actions .btn { display: none; }
  .services-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 460px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-item:nth-child(3) { border-left: 0; }
  .proof-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .offer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-photo { padding: 56px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 20px; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; --header-h: 68px; }
  .section { padding: 72px 0; }
  .photo-hero { min-height: 0; padding: calc(var(--header-h) + 48px) 0 128px; }
  .photo-hero .bg { object-position: 80% 50%; }
  .photo-hero::before { background: linear-gradient(0deg, rgb(var(--scrim) / .9) 0%, rgb(var(--scrim) / .65) 60%, rgb(var(--scrim) / .45) 100%); }
  .proof { margin-top: -72px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item + .proof-item { border-left: 0; border-top: 1px solid var(--line); }
  .proof-item { padding: 20px; }
  .service-body, .bento-feature div { padding: 28px 24px; }
  .bento { grid-template-columns: 1fr; }
  .bento-feature { grid-column: auto; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-name span { display: none; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .cta-photo { padding: 48px 24px; }
}

/* Quote form extras */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin-top: 16px; font-size: .88rem; color: var(--ink-2); }
.btn:disabled { opacity: .75; cursor: progress; }
.spin { animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { text-align: left; display: grid; gap: 16px; justify-items: start; }
.form-success[hidden] { display: none; }
.form-success:focus { outline: none; }
.form-success h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.success-icon {
  width: 56px; height: 56px; border-radius: 999px; display: grid; place-items: center; font-size: 28px;
  background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok);
}

/* Footer legal links */
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: var(--ink-2); text-decoration: none; }
.footer-legal a:hover { color: var(--ink); text-decoration: underline; }

/* Prose (about, careers, policies) */
.prose > * + *, .prose :is(p, ul, h3) + :is(p, ul) { margin-top: 16px; }
.prose > :first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 32px; }
.prose h3 + :is(p, ul) { margin-top: 8px; }
.prose ul { padding-left: 1.2em; margin-bottom: 0; color: var(--ink-2); }
.prose li + li { margin-top: 8px; }
.prose p { color: var(--ink-2); }
.prose .lead { color: var(--ink); }
.prose a, .form-note a, .muted a { color: var(--accent-text); }

/* Simple page intro (contact-style pages without a photo hero) */
.page-intro { max-width: 760px; margin-bottom: 64px; }

/* Policies */
.policy-layout { display: grid; grid-template-columns: 260px 1fr; gap: 64px; align-items: start; }
.policy-toc { position: sticky; top: calc(var(--header-h) + 24px); }
.policy-toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.policy-toc a { display: block; padding: 8px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.policy-toc a:hover { color: var(--ink); border-left-color: var(--accent); }
.policy-body { max-width: 72ch; }
.policy { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.policy:last-child { border-bottom: 0; margin-bottom: 0; }
.policy h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 20px; }

/* Sitemap */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.sitemap-grid h2 { font-size: 1.2rem; margin-bottom: 16px; }
.sitemap-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sitemap-grid a { color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.sitemap-grid a:hover { color: var(--accent-text); border-bottom-color: var(--accent); }

/* Select and file inputs */
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.field .label { font-weight: 600; font-size: .95rem; }
.file-input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.file-pick {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; cursor: pointer;
  border: 1px dashed var(--ink-2); border-radius: var(--radius-sm); background: var(--bg); font-weight: 500;
}
.file-pick:hover { border-color: var(--accent); }
.file-pick i { font-size: 20px; color: var(--accent-text); }
.file-input:focus-visible + .error, .field:has(.file-input:focus-visible) .file-pick { outline: 3px solid var(--accent); outline-offset: 2px; }
.field:has(.file-input[aria-invalid="true"]) .file-pick { border-color: var(--error); }

@media (max-width: 900px) {
  .policy-layout { grid-template-columns: 1fr; gap: 32px; }
  .policy-toc { position: static; }
  .sitemap-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .sitemap-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-intro { margin-bottom: 40px; }
}
