@font-face {
  font-family: Bricolage;
  src: url("assets/bricolage.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: only light;
  --paper: #f8f7f3;
  --ink: #10243a;
  --subtle: #4d5b69;
  --line: #dbdee1;
  --accent: #d4e7f4;
  --navy: #18334d;
  --on-navy: #dbe5ef;
  --white: #fffef9;
  --edge: clamp(14px, 2.1vw, 36px);
  --radius: clamp(18px, 2.15vw, 33px);
  --ease: cubic-bezier(.2,.65,.27,1);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; }
body:has(.lightbox[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #557697; outline-offset: 5px; }
[hidden] { display: none !important; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-family: Bricolage, "DM Sans", system-ui, sans-serif; }
h1, h2 { letter-spacing: -.065em; font-weight: 750; line-height: .98; }
h2 { font-size: clamp(2.65rem, 5.1vw, 5.15rem); }
h3 { font-size: clamp(1.35rem, 2.15vw, 2rem); letter-spacing: -.048em; line-height: 1.1; }
.shell { width: min(100% - 2 * clamp(24px, 5.55vw, 84px), 1280px); margin-inline: auto; }
.frame { width: min(100% - 2 * var(--edge), 1640px); margin-inline: auto; border-radius: var(--radius); }
.frame > .shell { width: min(100% - 2 * clamp(22px, 3.75vw, 62px), 1280px); }
.section { padding-block: clamp(64px, 8.5vw, 131px); }
.skip { position: fixed; z-index: 20; top: 12px; left: 12px; padding: .8rem 1.1rem; transform: translateY(-180%); background: var(--ink); color: white; border-radius: 12px; }
.skip:focus { transform: none; }

.header { position: sticky; top: 0; z-index: 5; background: rgb(255 255 255 / .97); backdrop-filter: blur(14px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 85px; gap: 20px; }
.brand { display: inline-flex; align-items: center; padding-block: 3px; border-radius: 5px; }
.brand img { width: 132px; height: auto; }
.brand-filter { position: absolute; }
.header .brand img { filter: url("#header-logo-transparency"); }
.nav { display: flex; align-items: center; gap: clamp(18px, 3.15vw, 48px); font-size: .93rem; font-weight: 600; }
.nav > a:not(.pill) { padding-block: .8rem; }
.nav > a[aria-current="page"]:not(.pill) { text-decoration: underline; text-decoration-color: #496d90; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.menu-button { display: none !important; }
.pill { display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 50px; padding: 0 1.25rem; border: 1px solid transparent; border-radius: 999px; font-size: .94rem; font-weight: 700; line-height: 1.25; transition: background-color .24s, border-color .24s, color .24s, transform .35s var(--ease); }
.pill span, .text-link span, .service-link span { display: inline-block; transition: transform .32s var(--ease); }
.pill-dark { background: var(--ink); color: var(--white); }
.pill-accent { background: var(--accent); color: var(--ink); }
.pill-glass { color: var(--white); background: rgb(255 255 255 / .11); border-color: rgb(255 255 255 / .46); }
.pill-outline { background: transparent; border-color: #aeb9c4; }
.mobile-contact { display: none; }
.eyebrow { display: flex; gap: .58rem; align-items: center; font-weight: 700; font-size: .75rem; line-height: 1.2; letter-spacing: .115em; text-transform: uppercase; }
.eyebrow span { display: block; width: .5rem; height: .5rem; flex: 0 0 .5rem; border-radius: 50%; background: #496d90; }
.hero .eyebrow span, .contact .eyebrow span { background: var(--accent); }
.hero {
  position: relative;
  display: grid;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(560px, 48vw, 730px);
  color: var(--white);
  background: var(--navy);
}
.hero-photo, .hero-shade, .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { z-index: -2; }
.hero-photo img { object-fit: cover; object-position: 50% 48%; filter: brightness(1.07); }
.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(8 22 38 / .87), rgb(8 22 38 / .70) 39%, rgb(8 22 38 / .22) 73%, transparent),
    linear-gradient(0deg, rgb(8 22 38 / .34), transparent 30%);
}
.hero-inner { display: grid; align-items: center; position: relative; padding-block: clamp(88px, 11vw, 157px); }
.hero-copy { max-width: 860px; }
.hero h1 { margin-top: .34em; font-size: clamp(3.8rem, 7.65vw, 7.4rem); }
.hero-description { max-width: 33em; margin-top: clamp(19px, 2.1vw, 29px); color: var(--on-navy); font-size: clamp(1.05rem, 1.65vw, 1.42rem); }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: clamp(24px, 3vw, 36px); }
.hero-credit { position: absolute; right: 0; bottom: clamp(20px, 3vw, 32px); display: inline-flex; align-items: center; gap: .55rem; padding: .5rem .85rem; border: 1px solid #ffffff53; border-radius: 999px; color: white; background: #10243ad9; font-size: .78rem; font-weight: 600; }
.hero-credit span { width: .42rem; height: .42rem; border-radius: 50%; background: var(--accent); }

.section-intro, .about { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); column-gap: clamp(32px, 8vw, 115px); align-items: end; }
.section-intro { margin-bottom: clamp(26px, 4vw, 53px); }
.section-intro h2, .about h2, .contact h2 { margin-top: .27em; }
.section-intro > p, .work-intro > p, .about-copy > p, .contact p:not(.eyebrow):not(.contact-note) { color: var(--subtle); font-size: clamp(1.02rem, 1.55vw, 1.25rem); max-width: 34rem; }
.home-services { padding-block: clamp(57px, 6.8vw, 105px); }
.home-services h2 > span { color: #365875; }
.service-layout { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); gap: clamp(14px, 2vw, 26px); }
.service-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 330px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
}
.service-photo-slide {
  position: absolute;
  inset: 0;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  padding: clamp(18px, 2.6vw, 34px);
  border-radius: inherit;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .14s linear .86s, visibility 0s 1s;
}
.service-photo-slide.is-current {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .86s var(--ease), visibility 0s;
}
.service-photo-slide:focus-visible { outline-color: var(--accent); outline-offset: -5px; }
.service-photo-slide img, .service-photo-slide::after, .service-photo-glow { position: absolute; inset: 0; width: 100%; height: 100%; }
.service-photo-slide img {
  z-index: -2;
  object-fit: cover;
  object-position: 48% 64%;
  transform: translateX(2.7%) scale(1.07);
  transition: transform 1.05s var(--ease) .86s, scale .65s var(--ease);
}
.service-photo-slide.is-current img { transform: none; transition-delay: 0s; }
.service-photo-interior img { object-position: 50% 52%; }
.service-photo-balcony img { object-position: 50% 57%; }
.service-photo-slide::after { z-index: -1; content: ""; background: linear-gradient(0deg, #10243aec, #10243a8c 18%, transparent 57%); }
.service-photo-glow { z-index: 2; pointer-events: none; }
.service-photo-glow rect {
  x: 2px;
  y: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  rx: calc(var(--radius) - 2px);
  fill: none;
  stroke: #e8f6ff;
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-dasharray: 16 84;
  filter: drop-shadow(0 0 3px #c4e4ff) drop-shadow(0 0 7px #73baff);
  opacity: 0;
}
.service-photo-caption {
  display: grid;
  gap: .32rem;
  opacity: 0;
  translate: 0 7px;
  color: var(--on-navy);
  font-size: .83rem;
  font-weight: 700;
  transition: opacity .16s ease, translate .4s var(--ease);
}
.is-current .service-photo-caption { opacity: 1; translate: none; transition: opacity .45s var(--ease) .18s, translate .55s var(--ease) .18s; }
.service-photo-caption strong { font: 700 clamp(1.8rem, 3.1vw, 3rem)/1 Bricolage, system-ui, sans-serif; letter-spacing: -.045em; color: var(--white); }
.services { display: grid; gap: clamp(9px, 1vw, 14px); min-width: 0; }
.service {
  --service-ink: #2f5272;
  --service-chip: #d4e5f3;
  --service-wash: #ecf3f8;
  --service-border: #d8e3ec;
  --service-delay: 0ms;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: clamp(13px, 1.5vw, 22px);
  min-width: 0;
  padding: clamp(16px, 1.55vw, 25px) clamp(17px, 2.05vw, 31px);
  border: 1px solid var(--service-border);
  border-radius: 22px;
  background: var(--service-wash);
  transition: transform .42s var(--ease), border-color .3s, box-shadow .35s;
}
.service:nth-child(2) { --service-delay: 85ms; }
.service:nth-child(3) { --service-delay: 170ms; }
.service-renovation { --service-ink: #754c2d; --service-chip: #ebdac6; --service-wash: #f3ede4; --service-border: #e6dacb; }
.service-carpentry { --service-ink: #303f61; --service-chip: #dce2f2; --service-wash: #eef0f7; --service-border: #dfe3ef; }
.service-icon { display: grid; place-items: center; width: clamp(43px, 4.1vw, 60px); aspect-ratio: 1; border: 1px solid var(--service-border); border-radius: 16px; color: var(--service-ink); background: var(--service-chip); }
.service-icon svg { width: 63%; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; transition: transform .48s var(--ease); }
.service h3 { color: var(--service-ink); }
.service p { margin: .4rem 0 .7rem; color: var(--subtle); max-width: 34rem; }
.service-link, .text-link { display: inline-flex; align-items: center; gap: .65rem; align-self: flex-start; width: fit-content; font-size: .93rem; font-weight: 700; }
.service-link { min-height: 30px; color: var(--service-ink); }
.service-link span { font-size: 1.13rem; }
.service:focus-within { border-color: var(--service-ink); }
.work { background: #edece6; }
.work-inner { padding-block: clamp(49px, 7vw, 105px); }
.work-intro .text-link { margin-top: .8rem; }
.project-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.project-grid-featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project-tile { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--paper); }
.project-image { overflow: hidden; background: #dce1e6; }
.project-tile img { width: 100%; height: auto; aspect-ratio: 1.2; object-fit: cover; object-position: center 62%; transition: transform .65s var(--ease); }
.project-grid-featured img { aspect-ratio: 1.48; }
.project-tile > span { display: flex; flex: 1; gap: 8px; justify-content: space-between; align-items: center; min-height: 53px; padding: 12px 16px; font-weight: 700; line-height: 1.3; }
.project-tile > span span { margin-left: auto; }
.project-tile:hover > span { background: #e3edf5; }
.about { align-items: start; }
.about-copy .pill { margin-top: 1.2rem; }
.contact { background: var(--navy); color: var(--white); }
.contact-inner { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; padding-block: clamp(46px, 6.25vw, 90px); }
.contact h2 { margin-bottom: .28em; }
.contact p:not(.eyebrow):not(.contact-note) { color: var(--on-navy); }
.contact-links { display: flex; align-items: flex-start; flex-direction: column; gap: .65rem; min-width: min(100%, 210px); }
.contact-links .pill { width: 100%; }
.contact-more { margin: .3rem 0 0 .45rem; color: var(--on-navy); }
.contact-note { color: var(--on-navy); font-size: .86rem; overflow-wrap: anywhere; }
.page-heading { background: #e0ded8; }
.page-heading-inner { padding-block: clamp(40px, 5vw, 72px); }
.page-heading-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); align-items: center; gap: clamp(26px, 5vw, 72px); }
.page-heading h1 { font-size: clamp(3rem, 7.1vw, 6.6rem); }
.page-heading .page-heading-photo { aspect-ratio: 2.05; }
.page-heading p, .company-detail p, .enquiry-copy > p:not(.enquiry-note) { max-width: 36rem; margin-top: 1.1rem; font-size: clamp(1.05rem, 1.7vw, 1.32rem); color: var(--subtle); }
.page-jump { margin-top: 1.35rem; }
.page-jump .pill { min-height: 44px; }
.project-section { padding-block: clamp(48px, 6vw, 95px); }
.project-collection { padding-block: clamp(36px, 5vw, 78px); }
.project-collection + .project-collection { border-top: 1px solid var(--line); }
.project-section .section-intro, .work-inner .section-intro { align-items: center; }
.service-list { padding-block: clamp(26px, 5vw, 64px); }
.service-detail { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, .65fr); align-items: center; gap: clamp(20px, 4vw, 64px); min-height: 180px; padding-block: clamp(22px, 3.2vw, 44px); }
.service-detail + .service-detail { border-top: 1px solid var(--line); }
.service-detail h2 { font-size: clamp(2.05rem, 4vw, 3.85rem); }
.service-detail p { color: var(--subtle); }
.service-detail .text-link { margin-top: .85rem; }
.detail-photo { display: block; overflow: hidden; border-radius: 16px; aspect-ratio: 1.52; background: var(--line); }
.detail-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; transition: transform .65s var(--ease); }
.detail-photo-deck img { object-position: center 72%; }
.company-detail, .enquiry-layout { display: grid; align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(30px, 7vw, 104px); }
.company-detail, .enquiry-layout { padding-bottom: 0; }
.company-photo { margin: 0; }
.company-photo img { width: 100%; height: auto; aspect-ratio: 1.25; object-fit: cover; object-position: center 55%; border-radius: var(--radius); }
.company-photo figcaption { color: var(--subtle); margin-top: .65rem; font-size: .9rem; }
.enquiry-topic { display: grid; gap: .5rem; margin-top: 1.5rem; max-width: 23rem; font-weight: 700; }
.enquiry-topic select { color: var(--ink); background: var(--white); border: 1px solid #aeb9c4; border-radius: 12px; width: 100%; min-height: 46px; padding: .65rem .8rem; font: inherit; font-weight: 500; }
.enquiry-topic select:focus-visible { outline: 3px solid #557697; outline-offset: 3px; }
.enquiry-email { margin-top: 1.05rem; }
.enquiry-note { color: var(--subtle); margin-top: .55rem; font-size: .89rem; }
.contact-card { min-width: 0; background: var(--navy); color: var(--white); border-radius: var(--radius); padding: clamp(22px, 4vw, 47px); font-style: normal; }
.contact-card h3 { margin-bottom: .65rem; }
.contact-card > p { margin-bottom: 1.35rem; color: var(--on-navy); }
.contact-card-row { display: grid; gap: .28rem; padding-block: .75rem; border-top: 1px solid #ffffff30; }
.contact-card-row > span { font-size: .82rem; color: var(--on-navy); }
.contact-card-row a { width: fit-content; overflow-wrap: anywhere; font-weight: 700; }
.contact-card-row a:hover { text-decoration: underline; }

.footer { margin-top: clamp(44px, 5.8vw, 86px); background: var(--ink); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 78px); padding-block: clamp(34px, 5vw, 66px); }
.footer .brand { border-radius: 12px; padding: 0; }
.footer .brand img { width: 142px; border-radius: inherit; }
.footer-brand p { max-width: 32ch; margin-top: .9rem; color: var(--on-navy); }
.footer-brand p + p { font-size: .9rem; margin-top: .6rem; }
.footer-heading { margin-bottom: .65rem; font: 700 1rem/1.3 "DM Sans", system-ui, sans-serif; letter-spacing: 0; }
.footer-links { display: grid; gap: .38rem; font-size: .95rem; color: var(--on-navy); font-style: normal; }
.footer-links a { width: fit-content; overflow-wrap: anywhere; }
.footer-links a[aria-current="page"] { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; border-top: 1px solid #ffffff30; padding-block: 16px; font-size: .84rem; color: var(--on-navy); }
.footer-bottom a { white-space: nowrap; }

.lightbox { width: min(760px, calc(100vw - 28px)); max-width: none; max-height: calc(100dvh - 28px); background: var(--navy); color: var(--white); border: 1px solid #ffffff30; border-radius: 21px; padding: clamp(9px, 2vw, 15px); }
.lightbox::backdrop { background: #081424da; }
.lightbox-stage { display: grid; place-items: center; overflow: hidden; height: min(56dvh, 570px); border-radius: 11px; background: var(--ink); touch-action: pan-y; }
.lightbox-stage img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.lightbox-top, .lightbox-controls { display: flex; align-items: center; gap: .7rem; }
.lightbox-top { padding: 0 0 9px .3rem; justify-content: space-between; }
.lightbox-top p { max-width: 35ch; padding-top: .1rem; font-size: .92rem; }
.lightbox-controls { justify-content: center; padding-top: 9px; }
.lightbox button { display: grid; place-items: center; background: #ffffff19; border: 1px solid #ffffff44; border-radius: 50%; flex: 0 0 auto; width: 44px; height: 44px; padding: 0; font-size: 1.35rem; cursor: pointer; }
.lightbox button:hover { background: var(--accent); color: var(--ink); }
.gallery-count { min-width: 3rem; text-align: center; }
.lightbox-thumbs { display: flex; justify-content: center; gap: clamp(5px, 1.2vw, 9px); padding: 12px 3px 2px; }
.lightbox-thumbs button { overflow: hidden; width: clamp(44px, 7vw, 62px); height: 46px; border-radius: 8px; opacity: .75; transition: opacity .25s, border-color .25s; }
.lightbox-thumbs img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.lightbox-thumbs button:hover, .lightbox-thumbs button[aria-pressed="true"] { opacity: 1; border-color: var(--accent); }
.lightbox-thumbs button[aria-pressed="true"] { outline: 2px solid var(--accent); outline-offset: 2px; }

.can-reveal [data-reveal] { transition: opacity .74s var(--ease), translate .74s var(--ease); }
.can-reveal [data-reveal]:not(.visible):not(:focus-within) { opacity: 0; translate: 0 26px; }
.can-reveal .service {
  transition: opacity .74s var(--ease) var(--service-delay), translate .74s var(--ease) var(--service-delay), transform .42s var(--ease), border-color .3s, box-shadow .35s;
}
.can-reveal .service-photo:not(.visible):not(:focus-within) { translate: -18px 12px; }
.can-reveal .service-photo:not(.visible):not(:focus-within) img { scale: 1.09; }
.can-reveal .service.visible .icon-detail { stroke-dasharray: 1; animation: service-icon-draw .7s var(--ease) calc(160ms + var(--service-delay)) both; }
@keyframes service-icon-draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}
.can-reveal .project-tile:nth-child(even) { transition-delay: 75ms; }

@media (hover: hover) and (pointer: fine) {
  .pill:hover { transform: translateY(-2px); }
  .pill-dark:hover { background: #274965; }
  .pill-accent:hover { background: #e8f3fb; }
  .pill-glass:hover { background: rgb(255 255 255 / .22); }
  .pill-outline:hover { background: #e4edf5; border-color: #7f97af; }
  .pill:hover span, .service-link:hover span, .text-link:hover span { transform: translate(2px, -2px); }
  .nav > a:not(.pill):hover, .footer a:not(.brand):hover { text-decoration: underline; text-underline-offset: 5px; }
  .service:hover { transform: translateY(-3px); border-color: var(--service-ink); box-shadow: 0 10px 25px #10243a13; }
  .service:hover .service-icon svg, .service:focus-within .service-icon svg { transform: rotate(-7deg) scale(1.1); }
  .service-photo-slide:hover img { scale: 1.05; }
  .project-tile:hover img, .detail-photo:hover img { transform: scale(1.048); }
}

@media (max-width: 850px) {
  .header-inner { min-height: 74px; }
  html { scroll-padding-top: 90px; }
  .section-intro, .about { column-gap: 30px; }
  .service-detail { gap: 20px; }
  .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .header-inner { min-height: 66px; flex-wrap: wrap; gap: 0 10px; padding-block: 10px; }
  html { scroll-padding-top: 81px; }
  .brand img { width: 114px; }
  .has-menu .menu-button { display: inline-flex !important; cursor: pointer; min-height: 43px; padding-inline: .82rem; background: transparent; border-color: #c7ccc2; }
  .nav { width: 100%; flex-wrap: wrap; gap: 0 16px; padding-block: 6px 5px; }
  .nav .pill { min-height: 43px; }
  .has-menu .nav { display: none; }
  .has-menu .nav.is-open { display: grid; gap: 0; padding-top: 8px; }
  .nav > a:not(.pill) { padding-block: .7rem; }
  .nav .pill { justify-self: flex-start; margin-top: .25rem; }
  .hero { min-height: 550px; min-height: clamp(540px, 82svh, 660px); }
  .hero-inner { align-items: end; padding-block: 44px 92px; }
  .hero h1 { font-size: clamp(2.8rem, 10.5vw, 4.7rem); }
  .hero-photo img { object-position: 56% 40%; }
  .hero-shade {
    background:
      linear-gradient(0deg, rgb(8 22 38 / .93), rgb(8 22 38 / .74) 44%, rgb(8 22 38 / .14) 76%, transparent),
      linear-gradient(90deg, rgb(8 22 38 / .24), transparent);
  }
  .hero-description { max-width: 26em; }
  .hero-credit { left: 0; right: auto; bottom: 19px; }
  .section-intro, .about, .contact-inner { grid-template-columns: 1fr; row-gap: 17px; }
  .service-layout { grid-template-columns: 1fr; }
  .service-photo { min-height: 0; aspect-ratio: 1.3; }
  .service-icon { border-radius: 13px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .project-grid-featured .project-tile:last-child { grid-column: 1 / -1; }
  .project-grid-featured .project-tile:last-child img { aspect-ratio: 1.85; }
  .project-tile > span { padding: 10px 11px; font-size: .89rem; }
  .contact-links { min-width: 0; width: min(100%, 270px); }
  .service-detail, .company-detail, .enquiry-layout, .page-heading-split { grid-template-columns: 1fr; }
  .service-detail { gap: 12px; }
  .detail-photo { margin-top: .3rem; aspect-ratio: 1.7; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer .brand img { width: 127px; }
  .footer-bottom { flex-wrap: wrap; }
}

@media (max-width: 360px) {
  .actions { flex-direction: column; align-items: flex-start; }
  .work h2 { font-size: clamp(2rem, 10.5vw, 2.65rem); }
}

@media (max-width: 680px), (max-height: 480px) and (hover: none) and (pointer: coarse) {
  :root {
    --contact-bar-button: max(46px, 2.875rem);
    --contact-bar-inset: env(safe-area-inset-bottom, 0px);
    --contact-bar-height: calc(var(--contact-bar-button) + 17px + var(--contact-bar-inset));
    scroll-padding-bottom: var(--contact-bar-height);
  }
  .mobile-contact {
    display: flex;
    justify-content: center;
    position: fixed;
    z-index: 4;
    inset: auto 0 0;
    padding-block: 8px calc(8px + var(--contact-bar-inset));
    padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px));
    border-top: 1px solid #ffffff30;
    background: var(--navy);
  }
  .mobile-contact .pill {
    width: min(100%, 420px);
    min-height: var(--contact-bar-button);
    justify-content: center;
    gap: .55rem;
  }
  .mobile-contact .pill:focus-visible { outline-color: var(--white); outline-offset: 3px; }
  .footer { padding-bottom: var(--contact-bar-height); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .can-reveal [data-reveal]:not(.visible):not(:focus-within) { opacity: 1; translate: none; }
  .can-reveal .service-photo:not(.visible):not(:focus-within) { translate: none; }
  .can-reveal .service-photo:not(.visible):not(:focus-within) img { scale: 1; }
  .can-reveal .service.visible .icon-detail { animation: none; }
  .pill:hover, .pill:hover span, .service-link:hover span, .project-tile:hover img, .detail-photo:hover img,
  .service:hover, .service:hover .service-icon svg, .service:focus-within .service-icon svg,
  .service-photo-slide img { transform: none; }
  .service-photo-slide:hover img { scale: 1; }
  .service-photo-glow { display: none; }
}
