/* Foxrun site styles. One small file, fonts hosted here, no icon fonts, no libraries. */
@font-face { font-family: "Public Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/public-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 200 800; font-style: normal; font-display: swap; src: url("/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2"); }

:root {
  --bg: #F1F2ED;
  --surface: #FAFAF7;
  --ink: #10261E;
  --muted: #55615A;
  --line: #D6DAD1;
  --accent: #7A5C2E;
  --accent-ink: #FFFFFF;
  --tint: #E4E8DF;
  --display: "Bricolage Grotesque", "Segoe UI", Arial, sans-serif;
  --body: "Public Sans", "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6.4vw, 4.4rem); font-weight: 600; letter-spacing: -0.025em; max-width: 17ch; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1440px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 0.6rem 1rem; z-index: 50; }
.skip:focus { left: 0; }
.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }

/* header */
.bar { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.6rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.3rem; }
.brand img { border-radius: 50%; }
#nav { display: flex; align-items: center; gap: 1.3rem; font-size: 0.95rem; font-weight: 600; }
#nav a { text-decoration: none; color: var(--muted); padding-block: 0.25rem; }
#nav a:hover { color: var(--ink); }
#nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.menu-btn { display: none; font: inherit; font-weight: 600; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 0.4rem 0.9rem; color: var(--ink); cursor: pointer; }

/* buttons */
.btn { display: inline-block; padding: 0.8rem 1.3rem; border-radius: 6px; font-weight: 600; text-decoration: none; font-size: 0.97rem; border: 1px solid var(--ink); background: var(--ink); color: #F1F2ED !important; letter-spacing: 0.01em; cursor: pointer; font-family: inherit; }
.btn:hover { filter: brightness(1.1); }
.btn.ghost { background: transparent; color: var(--ink) !important; }
.btn:hover { background: #1D3B2F; border-color: #1D3B2F; }
.btn.ghost:hover { background: var(--ink); color: #F1F2ED !important; }
.btn.small { padding: 0.45rem 0.9rem; font-size: 0.9rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }

/* sections */
.hero { padding-block: clamp(2.5rem, 7vw, 5rem) clamp(2rem, 5vw, 3.5rem); }
.hero .lead { margin-top: 1.2rem; font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.page-head { padding-block: clamp(2rem, 5vw, 3.5rem) 1rem; }
.page-head p { margin-top: 0.9rem; color: var(--muted); max-width: 62ch; font-size: 1.05rem; }
section { padding-block: clamp(2.4rem, 6vw, 4.2rem); }
section + section { border-top: 1px solid var(--line); }
.head { display: grid; gap: 0.7rem; margin-bottom: 1.8rem; }
.head p { color: var(--muted); max-width: 62ch; }
.prose p + p { margin-top: 1rem; }
.prose { max-width: 66ch; }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 5vw, 4rem); }
.cols h2, .cols h3 { margin-bottom: 0.7rem; }

/* business cards */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 1.75rem); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.card .ph { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; background: var(--tint); }
.card .mono { aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center; background: var(--tint); font-family: var(--display); font-weight: 700; font-size: clamp(3rem, 9vw, 5rem); color: var(--accent); letter-spacing: -0.02em; }
.card .body { padding: 1.3rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.65rem; flex: 1; }
.card .kind { color: var(--accent); font-weight: 600; font-size: 0.9rem; }
.card .about { color: var(--muted); font-size: 0.98rem; }
.card .go { margin-top: auto; padding-top: 0.5rem; }
.soon { display: inline-block; font-size: 0.85rem; font-weight: 600; color: var(--muted); border: 1px dashed var(--line); border-radius: 6px; padding: 0.55rem 0.9rem; }

/* numbers */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 1.2rem 1rem 1.2rem 0; }
.facts div + div { padding-left: 1rem; border-left: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--display); font-size: 1.9rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.facts span { color: var(--muted); font-size: 0.9rem; }

/* recent work strip */
.strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.6rem; }
.strip a { display: block; border-radius: 8px; overflow: hidden; background: var(--tint); aspect-ratio: 3 / 4; }
.strip img { width: 100%; height: 100%; object-fit: cover; }

/* services */
.group + .group { margin-top: 2.6rem; }
.group > h2 { font-size: 1.15rem; color: var(--accent); margin-bottom: 0.5rem; }
.svc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc li { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr) auto; gap: 1rem; align-items: baseline; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.svc h3 { font-size: 1.05rem; }
.svc p { color: var(--muted); font-size: 0.97rem; }
.svc a { font-size: 0.9rem; font-weight: 600; color: var(--accent); white-space: nowrap; }

/* people */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.person { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.person img, .person .initials { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; object-position: center top; background: var(--tint); }
.person .initials { display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 4rem; color: var(--accent); }
.person .body { padding: 1.2rem 1.3rem 1.5rem; display: grid; gap: 0.4rem; }
.person .role { color: var(--accent); font-weight: 600; font-size: 0.92rem; }
.person p { color: var(--muted); font-size: 0.96rem; }
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem 1.5rem; }
.team li { border-top: 1px solid var(--line); padding-top: 0.7rem; }
.team b { display: block; font-weight: 600; }
.team span { color: var(--muted); font-size: 0.9rem; }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.reviews blockquote { margin: 0; display: grid; gap: 0.9rem; align-content: start; }
.reviews cite { font-style: normal; font-weight: 600; font-size: 0.95rem; }
.reviews cite small { display: block; color: var(--muted); font-weight: 400; font-size: 0.85rem; }

/* call to action band */
.cta { background: var(--ink); color: #fff; border-radius: 14px; padding: clamp(1.6rem, 5vw, 3rem); display: grid; gap: 0.8rem; }
.cta p { color: #C9D3CC; max-width: 56ch; }
.cta .btn, .cta .btn:hover { justify-self: start; margin-top: 0.4rem; background: #F1F2ED; border-color: #F1F2ED; color: var(--ink) !important; }

/* gallery */
.gallery { columns: 4 200px; column-gap: 0.7rem; }
.gallery a { display: block; margin: 0 0 0.7rem; break-inside: avoid; border-radius: 8px; overflow: hidden; background: var(--tint); }
.gallery img { width: 100%; height: auto; transition: transform 0.25s; }
.gallery a:hover img { transform: scale(1.03); }
dialog#viewer { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
dialog#viewer::backdrop { background: rgba(10, 14, 12, 0.92); }
.viewer-in { width: 100%; height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 1rem; }
.viewer-in img { max-width: 100%; max-height: 82vh; width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.viewer-bar { display: flex; gap: 0.6rem; padding-top: 0.8rem; }
.viewer-bar button { font: inherit; font-weight: 600; background: #fff; color: var(--ink); border: 0; border-radius: 6px; padding: 0.55rem 1rem; cursor: pointer; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 5vw, 4rem); }
.rows { display: grid; gap: 1.3rem; margin: 0; }
.rows dt { color: var(--muted); font-size: 0.88rem; }
.rows dd { margin: 0.1rem 0 0; font-weight: 600; overflow-wrap: anywhere; }
form.enquiry { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem; display: grid; gap: 1rem; }
form.enquiry label { display: grid; gap: 0.35rem; font-size: 0.9rem; font-weight: 600; }
form.enquiry input, form.enquiry textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 0.7rem 0.8rem; width: 100%; }
form.enquiry textarea { min-height: 7rem; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note { border-radius: 8px; padding: 0.9rem 1rem; font-weight: 600; font-size: 0.95rem; }
.note.ok { background: #E3F1E6; color: #1E5A2B; }
.note.bad { background: #FBE9E4; color: #8A2A12; }

/* footer */
.foot { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 2.5rem; font-size: 0.93rem; }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 2rem; padding-bottom: 2rem; }
.foot-h { font-family: var(--body); font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-bottom: 0.7rem; letter-spacing: 0; }
.foot p { margin-top: 0.6rem; max-width: 30ch; }
.legal { border-top: 1px solid var(--line); padding-block: 1.2rem 5rem; color: var(--muted); font-size: 0.88rem; }
.wa { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); background: #1F7A4D; color: #fff; text-decoration: none; font-weight: 600; font-size: 0.92rem; padding: 0.7rem 1.1rem; border-radius: 999px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22); z-index: 9; }

@media (max-width: 900px) {
  .cols, .cards, .contact, .people, .reviews { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc li { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; }
  .menu-btn { display: inline-block; }
  #nav { display: none; flex-direction: column; align-items: flex-start; width: 100%; gap: 0.2rem; padding-block: 0.6rem; }
  #nav.open { display: flex; }
  #nav a { padding-block: 0.5rem; width: 100%; }
}
@media (max-width: 520px) { .gallery { columns: 2 140px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .gallery img { transition: none; } }

/* services: photo cards */
.feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.5rem); }
.feat article { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.feat img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; background: var(--tint); }
.feat .body { padding: 1.1rem 1.3rem 1.4rem; display: grid; gap: 0.5rem; align-content: start; flex: 1; }
.feat h2 { font-size: 1.3rem; }
.feat p { color: var(--muted); font-size: 0.96rem; }
.feat a { font-weight: 600; font-size: 0.92rem; color: var(--accent); }
.faq details { border-bottom: 1px solid var(--line); padding-block: 1rem; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 1.1rem; }
.faq p { margin-top: 0.6rem; color: var(--muted); max-width: 70ch; }
/* businesses */
.biz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.biz.flip > :first-child { order: 2; }
.biz > img, .biz > .mono { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: var(--tint); }
.biz > .mono { display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: clamp(4rem, 12vw, 7rem); color: var(--accent); }
.biz .prose { display: grid; gap: 0.9rem; }
.biz .kind { color: var(--accent); font-weight: 600; font-size: 0.92rem; }
.biz .prose p { color: var(--muted); }
.ticks { list-style: none; margin: 0.2rem 0; padding: 0; display: grid; gap: 0.45rem; }
.ticks li { padding-left: 1.4rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.7rem; height: 2px; background: var(--accent); }
@media (max-width: 900px) { .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); } .biz, .biz.flip { grid-template-columns: minmax(0, 1fr); } .biz.flip > :first-child { order: 0; } }
@media (max-width: 520px) { .feat { grid-template-columns: minmax(0, 1fr); } }
.card a.more { font-weight: 600; font-size: 0.92rem; color: var(--accent); }

.card .phwrap { position: relative; }
.card .phwrap .ph { display: block; }
.badge { position: absolute; left: 1rem; top: 1rem; background: var(--ink); color: #F1F2ED; font-weight: 600; font-size: 0.85rem; padding: 0.4rem 0.8rem; border-radius: 999px; letter-spacing: 0.02em; }
@media (min-width: 1200px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* icons, steps, cards, map */
.ico { color: var(--accent); flex: none; }
.icards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.icard { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.3rem 1.3rem 1.4rem; display: grid; gap: 0.5rem; align-content: start; text-decoration: none; transition: border-color .15s, transform .15s; }
.icard:hover { border-color: var(--accent); transform: translateY(-2px); }
.icard h3 { font-size: 1.1rem; margin-top: 0.4rem; }
.icard p { color: var(--muted); font-size: 0.94rem; }
.icard span { color: var(--accent); font-weight: 600; font-size: 0.9rem; margin-top: 0.3rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: s; }
.steps li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.3rem; display: grid; gap: 0.45rem; align-content: start; counter-increment: s; }
.steps li::after { content: counter(s); position: absolute; right: 1.1rem; top: 0.9rem; font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: var(--line); }
.steps h3 { font-size: 1.1rem; margin-top: 0.3rem; }
.steps p { color: var(--muted); font-size: 0.94rem; }
.banner { margin: 0; border-radius: 14px; overflow: hidden; background: var(--tint); }
.banner img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; object-position: center 55%; }
.mapcard { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.mapcard svg { width: 100%; height: 100%; min-height: 280px; display: block; font-family: var(--body); }
.mapcard-body { padding: clamp(1.3rem, 3vw, 2.2rem); display: grid; gap: 0.8rem; align-content: center; }
.mapcard-body p { color: var(--muted); }
@media (max-width: 900px) { .icards, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mapcard { grid-template-columns: minmax(0, 1fr); } .banner img { aspect-ratio: 16 / 8; } }
@media (max-width: 520px) { .icards, .steps { grid-template-columns: minmax(0, 1fr); } }
.team li { display: flex; gap: 0.8rem; align-items: center; }
.team i { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--tint); color: var(--accent); display: grid; place-items: center; font-style: normal; font-weight: 700; font-family: var(--display); font-size: 0.95rem; }
