:root {
  --navy: #052957;
  --navy-2: #082f63;
  --ink: #10213a;
  --paper: #f4f0e8;
  --white: #ffffff;
  --mist: #dfe6ee;
  --line: rgba(5,41,87,.16);
  --shadow: 0 25px 60px rgba(5,41,87,.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 120px 0; }
.section-dark { color: #fff; background: var(--navy); }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 9999; background: #fff; color: var(--navy); padding: 10px 14px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  background: rgba(5,41,87,.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.1);
  transition: .25s ease;
}
.site-header.scrolled { background: rgba(5,41,87,.97); box-shadow: 0 10px 35px rgba(0,0,0,.16); }
.header-inner { min-height: 92px; display: grid; grid-template-columns: 235px 1fr auto; align-items: center; gap: 30px; }
.brand { display: inline-flex; width: 220px; overflow: hidden; border-radius: 2px; }
.brand img { width: 100%; aspect-ratio: 2.35/1; object-fit: cover; object-position: center; }
.site-nav { justify-self: center; display: flex; gap: 30px; }
.site-nav a, .header-phone { color: rgba(255,255,255,.9); text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.site-nav a { position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: #fff; transition: .25s ease; }
.site-nav a:hover::after { right: 0; }
.header-phone { border: 1px solid rgba(255,255,255,.3); padding: 11px 16px; border-radius: 999px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; }
.menu-toggle span { width: 28px; height: 2px; background: #fff; display: block; margin: 5px 0; }

.hero { min-height: 860px; display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 130px; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(circle at 78% 26%, rgba(255,255,255,.08), transparent 26%),
  linear-gradient(135deg, rgba(255,255,255,.015), transparent 40%); }
.hero-grain { position: absolute; inset: 0; opacity: .15; background-image: repeating-linear-gradient(90deg, transparent 0 38px, rgba(255,255,255,.04) 38px 39px); }
.hero-lines { position: absolute; right: -12%; top: 14%; width: 760px; height: 760px; border: 1px solid rgba(255,255,255,.07); transform: rotate(45deg); }
.hero-lines::before, .hero-lines::after { content: ""; position: absolute; inset: 95px; border: 1px solid rgba(255,255,255,.06); }
.hero-lines::after { inset: 190px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 70px; align-items: center; position: relative; z-index: 1; }
.eyebrow { margin: 0 0 20px; text-transform: uppercase; font-size: 12px; letter-spacing: .18em; font-weight: 700; color: rgba(255,255,255,.68); }
.eyebrow.navy { color: var(--navy); }
h1,h2,h3 { font-family: "Cormorant Garamond", Georgia, serif; margin: 0; line-height: .98; }
h1 { font-size: clamp(58px, 7vw, 104px); font-weight: 600; letter-spacing: -.035em; }
h1 span { color: rgba(255,255,255,.66); }
.hero-intro { max-width: 760px; font-size: 18px; color: rgba(255,255,255,.75); margin: 28px 0 0; }
.hero-actions { display: flex; gap: 14px; margin-top: 38px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; text-decoration: none; border-radius: 999px; padding: 0 24px; border: 1px solid transparent; font-weight: 700; font-size: 14px; cursor: pointer; transition: .2s ease; }
.button-light { background: #fff; color: var(--navy); }
.button-light:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.15); }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.button-ghost:hover { background: rgba(255,255,255,.08); }
.hero-meta { margin-top: 48px; display: flex; align-items: center; gap: 18px; font-size: 13px; color: rgba(255,255,255,.56); text-transform: uppercase; letter-spacing: .08em; }
.hero-meta i { width: 4px; height: 4px; background: rgba(255,255,255,.5); border-radius: 50%; }
.hero-mark { justify-self: end; text-align: center; }
.bishop-piece { width: 230px; height: 380px; position: relative; margin: 0 auto 30px; filter: drop-shadow(0 22px 35px rgba(0,0,0,.2)); }
.bishop-top { position: absolute; width: 82px; height: 112px; border-radius: 50% 50% 45% 45%; background: #fff; top: 18px; left: 74px; }
.bishop-top::before { content: ""; width: 20px; height: 34px; position: absolute; left: 31px; top: -28px; border-radius: 14px; background: #fff; }
.bishop-top::after { content: ""; width: 95px; height: 20px; position: absolute; left: -7px; bottom: -10px; border-radius: 50%; background: #fff; }
.bishop-neck { position: absolute; top: 122px; left: 88px; width: 54px; height: 72px; background: #fff; clip-path: polygon(24% 0, 76% 0, 100% 100%, 0 100%); }
.bishop-body { position: absolute; top: 178px; left: 42px; width: 146px; height: 116px; background: #fff; clip-path: polygon(34% 0, 66% 0, 100% 100%, 0 100%); }
.bishop-base { position: absolute; top: 278px; left: 18px; width: 194px; height: 70px; border-radius: 50% 50% 20px 20px; background: #fff; }
.hero-mark p { margin: 0; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; color: rgba(255,255,255,.52); }

.intro-band { background: var(--paper); border-bottom: 1px solid var(--line); }
.intro-band-grid { min-height: 190px; display: grid; grid-template-columns: 1.5fr .5fr; gap: 50px; align-items: center; }
.intro-band p { margin: 0; max-width: 820px; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(27px, 3vw, 42px); line-height: 1.14; color: var(--navy); }
.text-link { justify-self: end; color: var(--navy); text-decoration: none; font-weight: 700; border-bottom: 1px solid rgba(5,41,87,.35); padding-bottom: 6px; }
.text-link span { margin-left: 8px; }

.section-heading { display: flex; flex-direction: column; max-width: 760px; margin-bottom: 60px; }
.section-heading h2, .about-copy h2, .projects h2, .contact h2 { font-size: clamp(48px, 5vw, 74px); color: var(--navy); letter-spacing: -.03em; }
.services { background: #fff; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 460px; padding: 34px 34px 38px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; position: relative; transition: .25s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); z-index: 2; background: #fff; }
.service-number { font-size: 11px; letter-spacing: .13em; font-weight: 700; color: rgba(5,41,87,.48); }
.service-icon { height: 110px; margin: 30px 0 45px; position: relative; }
.extension-icon::before { content: ""; position: absolute; left: 3px; top: 25px; width: 118px; height: 70px; border: 2px solid var(--navy); }
.extension-icon::after { content: ""; position: absolute; left: 0; top: 2px; width: 120px; height: 80px; border-left: 2px solid var(--navy); border-top: 2px solid var(--navy); transform: skewY(-18deg); }
.kitchen-icon::before { content: ""; position: absolute; left: 2px; top: 30px; width: 126px; height: 62px; border: 2px solid var(--navy); box-shadow: inset 0 -24px 0 rgba(5,41,87,.08); }
.kitchen-icon::after { content: ""; position: absolute; left: 58px; top: 28px; height: 66px; width: 2px; background: var(--navy); box-shadow: -34px 0 0 var(--navy), 34px 0 0 var(--navy); }
.bathroom-icon::before { content: ""; position: absolute; left: 8px; top: 52px; width: 118px; height: 40px; border: 2px solid var(--navy); border-radius: 4px 4px 36px 36px; }
.bathroom-icon::after { content: ""; position: absolute; left: 22px; top: 20px; width: 54px; height: 34px; border-left: 2px solid var(--navy); border-top: 2px solid var(--navy); border-radius: 28px 0 0 0; }
.service-card h3 { color: var(--navy); font-size: 42px; margin-bottom: 16px; }
.service-card p { margin: 0; color: #536176; }
.service-card a { margin-top: auto; padding-top: 28px; color: var(--navy); text-decoration: none; font-weight: 700; font-size: 14px; }
.service-card a span { float: right; }

.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; align-items: center; }
.about-visual { min-height: 600px; display: grid; place-items: center; background: var(--navy); position: relative; overflow: hidden; }
.about-visual::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 48px, rgba(255,255,255,.035) 48px 49px); }
.joinery-frame { width: 70%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.25); position: relative; display: grid; place-items: center; }
.joinery-frame span { color: #fff; font-family: "Cormorant Garamond", Georgia, serif; font-size: 90px; letter-spacing: -.08em; z-index: 2; }
.joinery-line { position: absolute; height: 1px; background: rgba(255,255,255,.26); transform-origin: center; }
.line-a { width: 130%; transform: rotate(45deg); }
.line-b { width: 130%; transform: rotate(-45deg); }
.line-c { width: 1px; height: 130%; }
.joinery-corner { position: absolute; inset: 14%; border: 1px solid rgba(255,255,255,.12); transform: rotate(45deg); }
.about-copy h2 { margin-bottom: 28px; }
.about-copy > p { color: #546071; font-size: 17px; max-width: 650px; }
.principles { margin-top: 42px; border-top: 1px solid var(--line); }
.principles div { display: grid; grid-template-columns: 55px 1fr; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.principles strong { color: var(--navy); font-size: 12px; letter-spacing: .12em; }
.principles span { font-weight: 600; }

.projects { padding: 120px 0; }
.projects h2 { color: #fff; }
.projects-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: end; margin-bottom: 55px; }
.projects-head > p { color: rgba(255,255,255,.64); max-width: 480px; justify-self: end; margin: 0; }
.project-grid { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: 360px 360px; gap: 20px; }
.project-card { position: relative; overflow: hidden; min-height: 320px; background: #0d386c; }
.project-a { grid-row: 1 / 3; }
.project-b { background: #10355f; }
.project-c { background: #0a2d5b; }
.project-pattern { position: absolute; inset: 0; opacity: .72; transition: .45s ease; }
.project-a .project-pattern { background: linear-gradient(145deg, transparent 0 52%, rgba(255,255,255,.08) 52% 54%, transparent 54%), repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 80px); }
.project-b .project-pattern { background: radial-gradient(circle at 70% 30%, rgba(255,255,255,.14), transparent 24%), linear-gradient(115deg, transparent 25%, rgba(255,255,255,.06) 25% 30%, transparent 30%); }
.project-c .project-pattern { background: repeating-linear-gradient(135deg, transparent 0 42px, rgba(255,255,255,.05) 42px 43px); }
.project-card:hover .project-pattern { transform: scale(1.04); }
.project-overlay { position: absolute; left: 32px; right: 32px; bottom: 30px; }
.project-overlay span { text-transform: uppercase; letter-spacing: .16em; font-size: 11px; color: rgba(255,255,255,.55); }
.project-overlay h3 { font-size: 40px; max-width: 500px; margin-top: 8px; }

.why { background: #fff; }
.why-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.why-list { border-top: 1px solid var(--line); }
.why-item { display: grid; grid-template-columns: 65px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.why-item > span { font-size: 12px; font-weight: 700; color: rgba(5,41,87,.45); }
.why-item h3 { color: var(--navy); font-size: 32px; margin-bottom: 8px; }
.why-item p { margin: 0; color: #59677a; }

.contact { padding: 120px 0; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.contact h2 { color: #fff; margin-bottom: 25px; }
.contact-copy > p { color: rgba(255,255,255,.68); max-width: 560px; }
.contact-details { margin-top: 45px; border-top: 1px solid rgba(255,255,255,.16); }
.contact-details a, .contact-details > div { display: block; text-decoration: none; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.contact-details small { display: block; text-transform: uppercase; letter-spacing: .15em; font-size: 10px; color: rgba(255,255,255,.5); margin-bottom: 5px; }
.contact-details strong { font-size: 16px; font-weight: 500; }
.contact-form { background: #fff; color: var(--ink); padding: 34px; box-shadow: 0 28px 60px rgba(0,0,0,.18); }
.contact-form label { display: block; margin-bottom: 18px; }
.contact-form label > span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .05em; color: var(--navy); margin-bottom: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; border: 0; border-bottom: 1px solid #cbd4df; background: #f8fafc; border-radius: 0; padding: 12px 12px; outline: none; color: var(--ink); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-bottom-color: var(--navy); background: #fff; }
.form-button { background: var(--navy); color: #fff; margin-top: 10px; border: 0; }
.form-status { min-height: 20px; margin: 14px 0 0; font-size: 13px; color: #46607e; }

.footer { background: #031f42; color: #fff; padding: 34px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; align-items: end; }
.footer-brand strong { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 26px; }
.footer-brand span, .footer-meta, .footer-links { font-size: 12px; color: rgba(255,255,255,.55); }
.footer-links { display: flex; flex-direction: column; gap: 4px; }
.footer-links a { text-decoration: none; }
.footer-meta { justify-self: end; text-align: right; }
.footer-meta span { display: block; }
.mobile-call { display: none; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }

@media (max-width: 980px) {
  .shell { width: min(100% - 32px, 900px); }
  .header-inner { grid-template-columns: 190px 1fr auto; min-height: 82px; }
  .brand { width: 180px; }
  .site-nav { position: fixed; inset: 82px 0 auto; background: var(--navy); display: grid; gap: 0; max-height: 0; overflow: hidden; transition: .3s ease; border-top: 1px solid rgba(255,255,255,.1); }
  .site-nav.open { max-height: 320px; }
  .site-nav a { padding: 17px 24px; border-bottom: 1px solid rgba(255,255,255,.09); }
  .site-nav a::after { display: none; }
  .menu-toggle { display: block; justify-self: end; }
  .header-phone { display: none; }
  .hero { min-height: 760px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 360px; }
  .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 55px; }
  .projects-head { grid-template-columns: 1fr; }
  .projects-head > p { justify-self: start; }
  .project-grid { grid-template-columns: 1fr; grid-template-rows: repeat(3, 340px); }
  .project-a { grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-meta { grid-column: 1 / -1; justify-self: start; text-align: left; }
  .mobile-call { display: flex; position: fixed; z-index: 1000; left: 16px; right: 16px; bottom: 14px; min-height: 48px; align-items: center; justify-content: center; background: #fff; color: var(--navy); border: 1px solid rgba(5,41,87,.2); box-shadow: 0 12px 35px rgba(5,41,87,.24); border-radius: 999px; text-decoration: none; font-weight: 800; }
  body { padding-bottom: 72px; }
}

@media (max-width: 680px) {
  .section { padding: 82px 0; }
  .header-inner { grid-template-columns: 160px 1fr; }
  .brand { width: 155px; }
  .hero { min-height: 720px; padding-top: 105px; }
  h1 { font-size: 56px; }
  .hero-intro { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-meta { flex-wrap: wrap; gap: 11px; }
  .intro-band-grid { grid-template-columns: 1fr; gap: 18px; padding: 45px 0; }
  .text-link { justify-self: start; }
  .section-heading h2, .about-copy h2, .projects h2, .contact h2 { font-size: 48px; }
  .service-card { padding: 28px; }
  .about-visual { min-height: 420px; }
  .projects { padding: 82px 0; }
  .project-grid { grid-template-rows: repeat(3, 300px); }
  .project-overlay h3 { font-size: 34px; }
  .contact { padding: 82px 0; }
  .contact-form { padding: 24px 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-meta { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Simplified logo treatment: show the Bishops Carpentry mark only, without the service strapline. */
.brand,
.footer-logo {
  display: block;
  overflow: hidden;
  background: var(--navy);
}
.brand img,
.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.02);
}
.brand {
  height: 78px;
}
.brand img {
  object-position: center top;
  clip-path: inset(0 0 24% 0);
  transform: scale(1.08) translateY(8%);
}
.footer-logo {
  width: 240px;
  height: 100px;
}
.footer-logo img {
  clip-path: inset(0 0 24% 0);
  transform: scale(1.08) translateY(8%);
}
.footer-brand { display: flex; align-items: center; }

@media (max-width: 980px) {
  .brand { height: 70px; }
  .footer-logo { width: 220px; height: 92px; }
}

@media (max-width: 680px) {
  .brand { height: 60px; }
  .footer-logo { width: 205px; height: 86px; }
}

/* October 2026 brand refinements */
:root {
  --navy: #23408f;
  --navy-2: #23408f;
  --ink: #172750;
  --line: rgba(35,64,143,.18);
  --shadow: 0 25px 60px rgba(35,64,143,.16);
}

body,
button,
input,
textarea,
select,
.site-nav a,
.header-phone,
.button,
.eyebrow,
.service-number,
.service-card p,
.service-card a,
.about-copy > p,
.principles,
.why-item p,
.contact-copy > p,
.contact-details,
.contact-form,
.footer,
.mobile-call {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.site-header,
.site-header.scrolled,
.footer {
  background: #23408f;
}

.site-header {
  backdrop-filter: none;
}

.header-inner {
  grid-template-columns: 270px 1fr auto;
  min-height: 104px;
}

.brand,
.footer-logo {
  background: #23408f;
  overflow: visible;
  height: auto;
}

.brand {
  width: 255px;
}

.brand img,
.footer-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  clip-path: none;
  transform: none;
}

.site-nav {
  gap: 34px;
}

.site-nav a,
.header-phone {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .01em;
}

.header-phone {
  padding: 10px 18px;
}

.hero-bishop {
  width: 210px;
  height: 380px;
  object-fit: contain;
  margin: 0 auto 28px;
  filter: drop-shadow(0 22px 35px rgba(0,0,0,.16));
}

.bishop-piece,
.bishop-top,
.bishop-neck,
.bishop-body,
.bishop-base {
  display: none !important;
}

.hero-intro,
.service-card p,
.about-copy > p,
.why-item p,
.contact-copy > p {
  font-size: 20px;
}

.button {
  font-size: 18px;
}

.service-icon {
  width: 145px;
  height: 110px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
}

.extension-icon {
  background-image: url("assets/blueprint.svg");
}

.kitchen-icon {
  background-image: url("assets/kitchen-stove.svg");
}

.extension-icon::before,
.extension-icon::after,
.kitchen-icon::before,
.kitchen-icon::after {
  display: none;
}

.footer-logo {
  width: 280px;
}

.footer-links,
.footer-meta {
  font-size: 16px;
}

@media (max-width: 980px) {
  .header-inner { grid-template-columns: 215px 1fr auto; min-height: 88px; }
  .brand { width: 205px; }
  .site-nav { inset: 88px 0 auto; background: #23408f; }
  .site-nav a { font-size: 20px; }
  .footer-logo { width: 250px; }
}

@media (max-width: 680px) {
  .header-inner { grid-template-columns: 175px 1fr; }
  .brand { width: 165px; }
  .footer-logo { width: 225px; }
  .hero-intro,
  .service-card p,
  .about-copy > p,
  .why-item p,
  .contact-copy > p { font-size: 18px; }
}

/* October 2026 typography, motion and footer refinements */
body,
button,
input,
textarea,
select,
.site-nav a,
.header-phone,
.button,
.eyebrow,
.service-number,
.service-card p,
.service-card a,
.about-copy > p,
.principles,
.why-item p,
.contact-copy > p,
.contact-details,
.contact-form,
.footer,
.mobile-call {
  font-family: "Poppins", Arial, sans-serif;
}

h1,
h2,
h3,
.joinery-frame span {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.site-nav a,
.header-phone {
  font-size: 21px;
}

.hero .eyebrow {
  font-size: 17px;
  letter-spacing: .12em;
  line-height: 1.45;
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 50px;
}

.service-card a {
  font-size: 18px;
  line-height: 1.4;
}

.principles strong {
  font-size: 17px;
  letter-spacing: .08em;
}

.principles span {
  font-size: 20px;
  font-weight: 600;
}

.contact-details small {
  font-size: 13px;
  letter-spacing: .12em;
  margin-bottom: 8px;
}

.contact-details strong {
  font-size: 22px;
  line-height: 1.45;
  font-weight: 600;
}

.hero-mark.reveal.in-view .hero-bishop {
  animation: bishopEntrance 1.15s cubic-bezier(.2,.8,.2,1) .12s both;
}

@keyframes bishopEntrance {
  0% {
    opacity: 0;
    transform: translateY(34px) scale(.88);
    filter: blur(5px) drop-shadow(0 22px 35px rgba(0,0,0,.08));
  }
  65% {
    opacity: 1;
    transform: translateY(-4px) scale(1.025);
    filter: blur(0) drop-shadow(0 22px 35px rgba(0,0,0,.16));
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0) drop-shadow(0 22px 35px rgba(0,0,0,.16));
  }
}

.footer {
  background: #f4f0e8;
  color: #23408f;
  padding: 22px 0;
  border-top: 1px solid rgba(35,64,143,.16);
}

.footer-grid {
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.footer-brand,
.footer-logo {
  background: transparent;
}

.footer-logo {
  width: 175px;
}

.footer-links,
.footer-meta {
  color: #23408f;
  font-size: 14px;
}

.footer-links {
  justify-self: center;
}

.footer-meta {
  justify-self: end;
  text-align: right;
}

.footer-meta span {
  display: block;
}

@media (max-width: 980px) {
  .site-nav a { font-size: 20px; }
  .service-card h3 { font-size: 46px; }
  .service-card a { font-size: 17px; }
  .principles span { font-size: 19px; }
  .footer-logo { width: 160px; }
}

@media (max-width: 680px) {
  .hero .eyebrow { font-size: 15px; }
  .service-card h3 { font-size: 44px; }
  .service-card a { font-size: 17px; }
  .principles strong { font-size: 16px; }
  .principles span { font-size: 18px; }
  .contact-details strong { font-size: 19px; }
  .footer-grid { grid-template-columns: 1fr; gap: 12px; }
  .footer-links,
  .footer-meta { justify-self: start; text-align: left; }
  .footer-logo { width: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-mark.reveal.in-view .hero-bishop { animation: none; }
}

/* Header/footer refinement */
.site-header { border-bottom: 2px solid #fff; }
.site-nav { justify-self: end; }
.footer-grid { grid-template-columns: auto 1fr; }
.footer-meta { justify-self: end; }

/* Mobile navigation and hero layout fix - October 2026 */
@media (max-width: 980px) {
  .site-header {
    overflow: visible;
  }

  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    min-height: 84px;
  }

  .brand {
    width: min(205px, 70vw);
    justify-self: start;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 1002;
    justify-self: end;
    width: 46px;
    height: 46px;
    padding: 9px;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 28px;
    height: 2px;
    margin: 6px 0;
    transition: transform .25s ease, opacity .25s ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: #23408f;
    border-top: 1px solid rgba(255,255,255,.18);
    border-bottom: 2px solid #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    max-height: none;
    overflow: visible;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    max-height: none;
  }

  .site-nav a {
    display: block;
    width: 100%;
    padding: 16px 24px;
    font-size: 19px;
    line-height: 1.25;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .header-phone {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 150px 0 88px;
    align-items: flex-start;
  }

  .hero-grid {
    display: block;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-actions {
    margin-top: 34px;
    gap: 14px;
    flex-wrap: wrap;
  }

  .hero-actions .button {
    min-width: 180px;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 36px, 620px);
  }

  .header-inner {
    min-height: 78px;
  }

  .brand {
    width: 165px;
  }

  .site-nav {
    top: 78px;
  }

  .hero {
    padding: 132px 0 72px;
  }

  .hero .eyebrow {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  h1 {
    font-size: clamp(46px, 14vw, 58px);
    line-height: .98;
  }

  .hero-intro {
    margin-top: 24px;
    font-size: 17px;
    line-height: 1.7;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 30px;
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    font-size: 17px;
  }

  .hero-mark {
    display: none;
  }
}

/* Netlify form spam trap */
.hidden-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}
