@font-face { font-family: "Figtree"; src: url("../fonts/figtree-var.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
  /* colours sampled from the client's logo (source_brand/oakridge-logo-original.png): slate ground #262729,
     silver wordmark #D9DADC, oak-gold trusses around #C8841C, stone chimney #A9A59C. Gold is darkened for text
     on light backgrounds so it passes 4.5:1. */
  --slate: #262729;
  --slate-deep: #1B1C1E;
  --ink: #1E2023;
  --silver: #D9DADC;
  --stone: #A9A59C;
  --lead: #5A5E64;
  --paper: #F4F2EE;
  --paper-2: #EAE7E1;
  --line: #DAD6CE;
  --line-strong: #C2BDB3;
  --gold: #C8841C;
  --gold-hover: #B3741A;
  --gold-text: #85560F;
  --gold-deep: #6E4609;
  --gold-lite: #E8A93F;
  --gold-wash: #FBF1DF;
  --ok-bg: #E6EFE0;
  --ok-ink: #2B5219;
  --bad-bg: #F9E8E4;
  --bad-ink: #8A2415;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(30, 32, 35, .06), 0 10px 28px rgba(30, 32, 35, .08);
  --gutter: 20px;
  --font: "Figtree", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--paper); }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.08; font-weight: 800; letter-spacing: -.012em; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.site-head :focus-visible, .band :focus-visible, .site-foot :focus-visible, .action-bar :focus-visible { outline-color: var(--gold-lite); }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--slate); color: #fff; padding: 10px 16px; border-radius: 6px; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.22rem); color: var(--lead); max-width: 44rem; }
.small-print { font-size: .9rem; color: var(--lead); }
.k { font-weight: 700; }

/* section headings carry a short gold rule, after the rule under the wordmark in the logo */
.sec { position: relative; padding-bottom: 18px; margin-bottom: 26px; }
.sec::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; background: var(--gold); }
.sec-center { text-align: center; }
.sec-center::after { left: 50%; transform: translateX(-50%); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 6px; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s; }
.btn-cta { background: var(--gold); color: var(--ink); }
.btn-cta:hover { background: var(--gold-hover); color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-sm { min-height: 42px; padding: 9px 16px; font-size: .95rem; }
.btn-lg { min-height: 54px; padding: 14px 30px; font-size: 1.06rem; }

/* header: the logo's own slate ground, with its gold rule as the bottom edge */
.site-head { background: var(--slate); border-bottom: 4px solid var(--gold); color: var(--silver); }
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 104px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand-img { height: 92px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav ul { display: flex; gap: 28px; list-style: none; }
.site-nav ul a { color: var(--silver); text-decoration: none; font-weight: 600; font-size: 1.02rem; padding: 8px 0; position: relative; }
.site-nav ul a:hover { color: #fff; }
.site-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.site-nav ul a:hover::after, .site-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-call { color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap; }
.nav-call .k { color: var(--stone); font-weight: 500; }
.menu-btn { display: none; }

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; background: transparent; border: 1.5px solid rgba(217, 218, 220, .45); border-radius: 6px; font: inherit; font-weight: 700; color: var(--silver); cursor: pointer; }
  .menu-bars { display: grid; gap: 4px; }
  .menu-bars span { display: block; width: 18px; height: 2px; background: var(--silver); transition: transform .2s, opacity .2s; }
  .menu-btn[aria-expanded="true"] .menu-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-bars span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] .menu-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-head { position: relative; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; z-index: 50; flex-direction: column; align-items: stretch; gap: 0; background: var(--slate); border-bottom: 4px solid var(--gold); box-shadow: 0 18px 30px rgba(0, 0, 0, .3); padding: 8px var(--gutter) 22px; }
  .js .site-nav:not(.open) { display: none; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul li { border-bottom: 1px solid rgba(217, 218, 220, .18); }
  .site-nav ul a { display: block; padding: 15px 0; font-size: 1.1rem; }
  .site-nav ul a::after { display: none; }
  .site-nav ul a[aria-current="page"] { color: var(--gold-lite); }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 12px; padding-top: 18px; }
  .nav-actions .btn { min-height: 50px; }
  .nav-call { text-align: center; padding: 10px; }
}

/* full-width photo banner under the header; the headline sits beneath it, never on it */
.banner { line-height: 0; background: var(--paper-2); }
.banner picture, .banner img { display: block; width: 100%; }
.banner img { height: clamp(220px, 30vw, 440px); object-fit: cover; object-position: 50% 50%; }
.banner-short img { height: clamp(160px, 18vw, 280px); }
.banner-contact img { object-position: 50% 40%; }

/* intro */
.intro { padding: 56px 0 24px; }
.intro h1 { max-width: 22ch; margin-bottom: 18px; }
.intro .lead { max-width: 48rem; }
.intro p { max-width: 48rem; }
.intro-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.page-hero { padding: 48px 0 40px; }
.page-hero h1 { max-width: 22ch; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); }

/* sections */
.block { padding: 72px 0; }
.block-flush { padding-top: 0; }
.block-white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prose p:last-child { margin-bottom: 0; }
.prose h3 { margin-top: 28px; margin-bottom: 8px; }
.prose h3:first-child { margin-top: 0; }

/* services: a ruled list in two columns, no cards */
.services { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; border-top: 1px solid var(--line-strong); }
.services li { padding: 22px 0 20px; border-bottom: 1px solid var(--line); }
.services h3 { margin-bottom: 6px; }
.services p { margin: 0; color: var(--lead); }

/* gallery */
.gallery { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; }
.gallery figure { margin: 0; }
.gallery picture, .gallery img { width: 100%; }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); }
.gallery figcaption { margin-top: 10px; font-size: .95rem; font-weight: 600; color: var(--ink); }
.gallery-note { margin: 26px 0 0; }

/* about */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: start; }
.facts { border-top: 1px solid var(--line-strong); margin: 0; }
.facts div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: var(--lead); }
.areas { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; border-top: 1px solid var(--line-strong); }
.areas li { padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.aside-h { margin-top: 36px; }
.aside-h:first-child { margin-top: 0; }

/* contact band on the home page: the slate texture from the logo's own ground */
.band { background: linear-gradient(rgba(38, 39, 41, .62), rgba(38, 39, 41, .62)), var(--slate) url("../img/texture-slate.jpg") center / 1254px auto repeat; color: var(--silver); padding: 72px 0; border-top: 5px solid var(--gold); }
.band h2 { color: #fff; }
.band .sec::after { background: var(--gold-lite); }
.band p { color: var(--silver); }
.band a { color: #fff; }
.band a:hover { color: var(--gold-lite); }
.band-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: start; }
.band-grid p { max-width: 40rem; }
.band-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.contact-list { margin: 0; display: grid; gap: 14px; }
.contact-list dt { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
.contact-list dd { margin: 2px 0 0; font-size: 1.3rem; font-weight: 700; color: #fff; }
.contact-list dd.dd-plain { font-size: 1rem; font-weight: 500; line-height: 1.5; color: var(--silver); }
.contact-list dd a { text-decoration: none; }

/* contact form */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 48px; align-items: start; }
.enquiry, .sent { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 36px; box-shadow: var(--shadow); }
.sent h2 { font-size: 2rem; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 650; margin-bottom: 7px; }
.opt-tag { font-weight: 500; color: var(--lead); font-size: .9rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1.0625rem; color: var(--ink); background: #fff; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: 6px; transition: border-color .15s, box-shadow .15s; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--gold-text) 50%), linear-gradient(135deg, var(--gold-text) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #6B6F75; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 132, 28, .25); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 1px; }
.field input[aria-invalid="true"] { border-color: var(--bad-ink); }
.hint { font-size: .9rem; color: var(--lead); margin: 7px 0 0; }
.hint-contact { margin: 0 0 12px; }
.err { font-size: .92rem; color: var(--bad-ink); font-weight: 600; margin: 7px 0 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.submit-row { margin-top: 6px; }
.status { margin-top: 18px; padding: 14px 16px; border-radius: 8px; font-weight: 600; }
.status:empty { padding: 0; margin: 0; }
.status:focus { outline: none; }
.status.ok { background: var(--ok-bg); color: var(--ok-ink); }
.status.bad { background: var(--bad-bg); color: var(--bad-ink); }
.status.info { background: var(--gold-wash); color: var(--ink); }
.contact-aside { position: sticky; top: 24px; }
.aside-block { border-top: 1px solid var(--line-strong); padding: 20px 0 6px; }
.aside-block:first-child { border-top: 0; padding-top: 0; }
.aside-block h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .13em; color: var(--lead); font-weight: 700; }
.big-link { font-size: 1.6rem; font-weight: 800; color: var(--ink); text-decoration: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* legal */
.legal { max-width: 52rem; }
.legal h2 { font-size: 1.5rem; margin-top: 40px; }
.legal h2:first-child { margin-top: 0; }
.legal ul { padding-left: 1.2em; margin-bottom: 1em; display: grid; gap: 6px; }
.table-wrap { overflow-x: auto; margin-bottom: 1em; }
.tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.tbl th, .tbl td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { font-size: .76rem; letter-spacing: .13em; text-transform: uppercase; color: var(--lead); background: var(--paper-2); }
.tbl tbody th { font-weight: 650; }
.tbl tbody tr:last-child th, .tbl tbody tr:last-child td { border-bottom: 0; }

/* footer */
.site-foot { background: var(--slate-deep); color: var(--stone); padding: 60px 0 28px; font-size: .97rem; border-top: 5px solid var(--gold); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(169, 165, 156, .22); }
.foot-logo { display: inline-block; border: 1px solid rgba(169, 165, 156, .45); border-radius: 6px; overflow: hidden; line-height: 0; }
.foot-logo img { display: block; width: 170px; height: auto; }
.foot-brand p { margin-top: 18px; max-width: 22rem; }
.foot-h { font-size: .76rem; letter-spacing: .15em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.foot-links { list-style: none; display: grid; gap: 4px; }
.foot-links a { display: inline-block; padding: 8px 0; }
.site-foot a { color: var(--silver); text-decoration: none; }
.site-foot a:hover { color: var(--gold-lite); text-decoration: underline; }
.site-foot .k { color: #fff; }
.foot-areas { margin: 0; }
.foot-base { display: flex; justify-content: space-between; gap: 12px 40px; flex-wrap: wrap; padding-top: 22px; font-size: .86rem; }
.foot-base p { margin: 0; max-width: 46rem; }
.foot-base a { display: inline-block; padding: 12px 0; text-decoration: underline; text-underline-offset: 3px; }

/* phone quick-contact bar */
.action-bar { display: none; }
@media (max-width: 640px) {
  .action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--slate); box-shadow: 0 -6px 20px rgba(0, 0, 0, .3); }
  .action-bar a { flex: 1; min-height: 46px; display: grid; place-items: center; border-radius: 6px; font-weight: 700; color: #fff; text-decoration: none; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
  .action-bar a.ab-main { background: var(--gold); color: var(--ink); box-shadow: none; }
  body:has(.action-bar) { padding-bottom: 72px; }
}

/* responsive */
@media (max-width: 1080px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .block { padding: 60px 0; }
  .intro { padding: 40px 0 16px; }
  .head-inner { min-height: 86px; }
  .brand-img { height: 74px; }
  .about-grid, .band-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .contact-aside { position: static; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 1.03rem; }
  .block { padding: 48px 0; }
  .head-inner { min-height: 74px; }
  .brand-img { height: 64px; }
  .intro-actions .btn, .band-actions .btn, .hero-actions .btn { flex: 1 1 100%; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .gallery figcaption { font-size: .88rem; }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .enquiry, .sent { padding: 24px 18px; border-radius: 10px; }
  .row-2 { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .band { padding: 52px 0; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .tbl th, .tbl td { padding: 12px 14px; }
}
@media (min-width: 901px) and (max-width: 1080px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 901px) and (max-height: 860px) {
  .banner img { height: clamp(180px, 26vh, 360px); }
}
@media (forced-colors: active) {
  .btn-cta { forced-color-adjust: none; background: Highlight; color: HighlightText; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .menu-bars span, .site-nav ul a::after { transition: none; }
}
@media (max-width: 900px) {
  html:not(.js) .menu-btn { display: none; }
  html:not(.js) .site-nav { position: static; box-shadow: none; }
}
