:root {
  --paper: #fff9ed;
  --ink: #142638;
  --olive: #142638;
  --gold: #94652f;
  --light-gold: #e5c28c;
  --line: #dcd1bd;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.nav > nav { gap: clamp(12px, 1.9vw, 27px); }
.nav-cta .cta { min-height: 44px; }
.mobile-menu[open] > nav { max-height: min(75dvh, 540px); overflow-y: auto; }
.mobile-menu a[aria-current="page"] { font-weight: 800; }
.cta { white-space: normal; line-height: 1.35; text-align: center; }
.cta:hover { background: #233e53; }
.cta.ghost { border-color: #9c8e74; }
.cta.ghost:hover { background: #f0e5ce; }
.bottom .cta:hover { background: var(--light-gold); }
.textlink { border-color: #a39782; }
.textlink:hover { text-decoration: none; }
.footer-nav { row-gap: 2px; }
.footer-nav a { display: inline-flex; min-height: 36px; align-items: center; }
:where(a, button, input, textarea, select, summary):focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.asa-home-hero { min-height: clamp(500px, 48vw, 660px); }
.asa-home-hero h1 { font-size: clamp(46px, 5.35vw, 79px); max-width: 23ch; }
.asa-home-hero .hero-description { max-width: 44ch; }
.asa-home-hero .hero-heading { padding-bottom: clamp(27px, 4.7vw, 64px); }
.studio-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: #f6ecda;
}
.studio-strip p { padding: 18px max(14px, 2vw); font-size: .82rem; color: var(--muted); }
.studio-strip p + p { border-left: 1px solid var(--line); }
.studio-strip strong { display: block; color: var(--ink); margin-bottom: 2px; }
.studio-strip + .section { border-top: 0; }

.practice-grid, .trade-grid, .inspection-grid, .expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.5vw, 32px);
}
.practice-grid article, .trade-grid article, .inspection-grid li, .expertise-grid article {
  border-top: 1px solid var(--line);
  padding: 18px 0 0;
  min-width: 0;
}
.practice-grid h3, .trade-grid h3, .inspection-grid h3, .expertise-grid h3 {
  font-size: clamp(25px, 2.65vw, 35px);
  line-height: 1.13;
}
.practice-grid p, .inspection-grid p, .expertise-grid p { margin: 8px 0 9px; color: var(--muted); max-width: 42ch; }
.practice-grid .textlink { margin-top: 2px; }
.heading-row .textlink { text-align: right; }

.home-delivery, .delivery-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--ink);
  color: var(--paper);
  align-items: stretch;
}
.home-delivery { padding-block: 0; margin-block: clamp(12px, 2.8vw, 38px); }
.home-delivery figure, .delivery-hero figure { position: relative; min-width: 0; min-height: 360px; }
.home-delivery figure img, .delivery-hero figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.home-delivery > div, .delivery-intro { padding: clamp(26px, 5vw, 66px); }
.home-delivery .tag, .delivery-hero .tag, .delivery-band .tag { color: var(--light-gold); margin-bottom: 10px; }
.home-delivery p:not(.tag), .delivery-intro p:not(.tag), .delivery-band p:not(.tag) {
  color: #f3e9d7;
  margin-top: 13px;
  max-width: 45ch;
}
.home-delivery ul {
  padding-left: 19px;
  margin: 18px 0 22px;
  font-size: .86rem;
  line-height: 1.85;
}
.home-delivery .cta, .delivery-hero .cta, .delivery-band .cta {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.home-delivery .cta:hover, .delivery-hero .cta:hover, .delivery-band .cta:hover { background: var(--light-gold); }
.home-delivery .film-link, .delivery-band .film-link { margin-inline: 12px 0; }
.home-delivery figcaption, .delivery-hero figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 9px;
  background: var(--ink);
  color: var(--paper);
  font-size: .72rem;
}
.delivery-hero { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); margin: 14px 0 0; }
.delivery-hero h1 { font-size: clamp(44px, 6.4vw, 96px); max-width: 12ch; }
.delivery-hero .textlink { color: var(--paper); }
:is(.asa-home-hero, .delivery-hero, .home-delivery, .delivery-band, .bottom) :focus-visible { outline-color: var(--light-gold); }
.delivery-hero .textlink:hover { color: var(--light-gold); }
.section-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px clamp(12px, 3vw, 33px);
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.section-nav a {
  font-weight: 750;
  font-size: .81rem;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  text-decoration: underline;
  text-decoration-color: #b2a289;
  text-underline-offset: 4px;
}
.section-nav + .section { border-top: 0; }
.delivery-section { padding-block: clamp(32px, 6vw, 80px); }
.delivery-section > .textlink { margin-right: 16px; }
.section-heading { margin-bottom: clamp(22px, 4vw, 42px); }
.section-heading .tag { margin-bottom: 8px; }
.section-heading h2 { max-width: 27ch; }
.section-heading p:not(.tag) { max-width: 64ch; color: var(--muted); margin-top: 10px; }
.trade-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trade-grid article { background: #f4ead8; padding: clamp(13px, 1.8vw, 24px); border-top: 2px solid var(--gold); }
.trade-grid h3 { font-size: clamp(21px, 2.2vw, 30px); }
.trade-grid ul, .programme-copy ul { margin: 14px 0 0; padding-left: 19px; }
.trade-grid li, .programme-copy li { margin: 6px 0; color: var(--muted); }

.delivery-stages, .inspection-grid, .process-list { padding: 0; list-style: none; }
.delivery-stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.delivery-stages > li { position: relative; padding: 18px clamp(12px, 1.8vw, 28px) 0; border-top: 2px solid var(--gold); }
.delivery-stages > li + li { border-left: 1px solid var(--line); }
.delivery-stages > li::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}
.delivery-stages h3 { font-size: clamp(23px, 2.6vw, 33px); margin-bottom: 15px; }
.delivery-stages ol { margin: 0; padding: 0 0 0 1.2em; }
.delivery-stages ol li { margin: 0 0 16px; padding-left: .2em; font-size: .88rem; }
.delivery-stages ol li::marker { color: var(--gold); font-weight: 750; }
.delivery-stages p { color: var(--muted); margin-top: 4px; line-height: 1.55; }

.programme-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, .72fr);
  gap: clamp(20px, 3.4vw, 48px);
  align-items: start;
}
.gantt { padding: clamp(10px, 2vw, 24px); background: #f4ead8; border: 1px solid var(--line); }
.gantt table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 2px; }
.gantt caption { text-align: left; font-weight: 800; margin-bottom: 10px; }
.gantt :is(th, td) { padding: 7px 2px; font-size: clamp(11px, 1.18vw, 14px); }
.gantt th:first-child { width: min(40%, 245px); text-align: left; line-height: 1.3; }
.gantt thead th { color: var(--muted); }
.gantt tbody td { background: #e4d8c3; }
.gantt tbody .scheduled { background: #52687a; }
.gantt figcaption { font-size: .76rem; color: var(--muted); margin-top: 13px; line-height: 1.6; }
.gantt-key { display: inline-block; font-weight: 800; color: var(--ink); margin-right: 6px; }
.gantt-key::before { content: ""; display: inline-block; background: #52687a; width: 9px; height: 9px; margin-right: 5px; }
.programme-copy h3 { font-size: clamp(24px, 3vw, 36px); }
.decision-note { margin-top: 15px; border-top: 1px solid var(--line); padding-top: 12px; }
.decision-note summary { cursor: pointer; font-weight: 800; }
.decision-note p { color: var(--muted); margin-top: 7px; }
.inspection-grid li { padding-left: 18px; border-left: 2px solid var(--gold); border-top: 0; }
.inspection-grid p { margin-bottom: 0; }
.delivery-band {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(26px, 5vw, 66px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: clamp(24px, 4.5vw, 55px);
}
.delivery-band h2 { max-width: 24ch; }
.expertise-grid { margin-top: 24px; }
.process-list { max-width: 900px; counter-reset: asa-stage; }
.process-list li {
  display: grid;
  grid-template-columns: 3.5em minmax(0, 1fr);
  gap: 5px 12px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  counter-increment: asa-stage;
}
.process-list li::before { content: counter(asa-stage, decimal-leading-zero); color: var(--gold); font-weight: 800; }
.process-list li p { grid-column: 2; color: var(--muted); max-width: 68ch; }

.workplace-plan {
  margin: 14px 0 30px;
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  padding: clamp(20px, 5vw, 56px);
  gap: 16px clamp(20px, 5vw, 56px);
  background: #142638;
  color: var(--paper);
  align-items: center;
}
.workplace-plan .tag { color: var(--light-gold); margin-bottom: 10px; }
.workplace-plan-copy p:not(.tag) { margin-top: 13px; color: #f3e9d7; }
.workplace-plan figcaption { grid-column: 1 / -1; font-size: .76rem; color: #f3e9d7; }
.plan-zones {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  grid-template-rows: repeat(6, minmax(26px, 1fr));
  gap: 3px;
  min-height: 205px;
  border: 2px solid #c0a97d;
  padding: 5px;
}
.plan-zones span { display: grid; place-items: center; border: 1px solid #b8a17f; text-align: center; padding: 3px; font-size: clamp(10px, 1.3vw, 14px); font-weight: 750; }
.plan-arrival { grid-area: 1 / 1 / 3 / 5; background: #735736; }
.plan-meeting { grid-area: 1 / 5 / 3 / 11; background: #735736; }
.plan-circulation { grid-area: 3 / 1 / 4 / 11; background: #314b60; }
.plan-desks { grid-area: 4 / 1 / 7 / 8; background: #263e52; }
.plan-focus { grid-area: 4 / 8 / 7 / 11; background: #263e52; }
.project-facts {
  display: grid;
  grid-template-columns: minmax(0,.65fr) minmax(0,.8fr) minmax(0,1.55fr);
  gap: 18px;
  padding: 16px 0;
  margin: 15px 0 0;
  border-top: 1px solid var(--line);
}
.project-facts dt { color: var(--gold); font-weight: 800; font-size: .76rem; }
.project-facts dd { margin: 4px 0 0; line-height: 1.4; }
.portfolio-note { margin: 0 0 18px; }

.contact-layout { display: grid; grid-template-columns: minmax(0,.55fr) minmax(0,1.45fr); gap: clamp(22px, 5vw, 70px); }
.contact-channels h2, .contact-layout form h2 { font-size: clamp(32px, 4vw, 52px); }
.contact-channels p { color: var(--muted); margin-top: 9px; }
.contact-channels a { display: block; width: max-content; max-width: 100%; margin: 10px 0; overflow-wrap: anywhere; }
.contact-channels a:not(.cta) { text-decoration: underline; text-underline-offset: 4px; }
.enquiry-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 20px; }
.enquiry-links a { border: 1px solid var(--line); min-height: 44px; display: inline-flex; align-items: center; padding: 8px 14px; font-size: .82rem; font-weight: 750; }
.enquiry-links a:is(:hover,[aria-current="true"]) { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.contact-layout .form { background: #f4ead8; padding: clamp(16px, 3vw, 35px); gap: 14px; max-width: none; }
.contact-layout .form[hidden] { display: none; }
.brief-options { border-top: 1px solid var(--line); padding-top: 9px; }
.brief-options summary { cursor: pointer; font-weight: 750; min-height: 35px; }
.brief-option-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-bottom: 5px; }
.contact-layout form .service-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.contact-layout form .service-actions button { flex: 0 1 auto; }

.sticky-contact {
  position: fixed;
  z-index: 3;
  right: clamp(16px, 3vw, 36px);
  bottom: max(16px, env(safe-area-inset-bottom));
  display: flex;
}
.sticky-contact .sticky-enquiry { display: none; }
.sticky-contact .sticky-whatsapp {
  min-height: 46px;
  background: #0d6246;
  border-color: #0d6246;
  color: #fff;
  box-shadow: 0 3px 12px #14263835;
}
.sticky-contact .sticky-whatsapp:hover { background: #094a35; }

@media (min-width: 641px) {
  .bottom { padding-bottom: 76px; }
}

@media (max-width: 640px) {
  body:has(.sticky-contact) { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .sticky-contact {
    inset: auto 0 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }
  .sticky-contact--single { grid-template-columns: minmax(0, 1fr); }
  .sticky-contact .sticky-enquiry { display: flex; }
  .sticky-contact .sticky-whatsapp { box-shadow: none; }
}

@media (max-width: 980px) {
  .nav > .brand-lockup { width: clamp(175px, 22vw, 215px); }
  .nav > nav { gap: clamp(8px, 1.2vw, 12px); }
  .nav-cta .cta { max-width: 154px; }
  .trade-grid, .delivery-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .delivery-stages > li { margin-bottom: 18px; }
  .delivery-stages > li:nth-child(odd) { border-left: 0; }
}
@media (max-width: 760px) {
  .nav > nav, .nav .nav-cta { display: none; }
  .mobile-menu { display: block; position: relative; font-weight: 750; }
  .mobile-menu summary { min-height: 44px; display: flex; align-items: center; gap: 7px; cursor: pointer; list-style: none; }
  .mobile-menu summary::after { content: "+"; }
  .mobile-menu[open] summary::after { content: "−"; }
  .mobile-menu > nav { display: grid; position: absolute; right: 0; top: 46px; z-index: 4; width: 202px; background: var(--paper); border: 1px solid var(--line); padding: 6px 12px; gap: 0; box-shadow: 0 8px 21px #14263824; }
  .mobile-menu a + a { border-top: 1px solid var(--line); }
  .asa-home-hero { min-height: clamp(445px, 105vw, 535px); }
  .asa-home-hero h1 { font-size: clamp(36px, 9.7vw, 65px); max-width: 16ch; }
  .asa-home-hero h1 br { display: none; }
  .studio-strip p { padding: 12px 8px; font-size: .73rem; line-height: 1.4; }
  .practice-grid, .inspection-grid, .expertise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .delivery-hero, .home-delivery, .workplace-plan, .programme-layout, .contact-layout { grid-template-columns: 1fr; }
  .home-delivery figure, .delivery-hero figure { width: 100%; min-height: 0; height: clamp(180px, 61vw, 350px); }
  .home-delivery > div { grid-row: 1; }
  .home-delivery > div, .delivery-intro, .delivery-band { padding: clamp(19px, 4vw, 35px); }
  .delivery-hero h1 { max-width: 16ch; }
  .workplace-plan figcaption { grid-column: auto; }
  .project-facts { gap: 10px; }
  .contact-channels { order: 2; }
}
@media (max-width: 480px) {
  .practice-grid, .inspection-grid, .expertise-grid, .brief-option-fields { grid-template-columns: 1fr; }
  .delivery-stages { grid-template-columns: 1fr; }
  .delivery-stages > li + li { border-left: 0; }
  .delivery-stages > li { margin-bottom: 8px; }
  .trade-grid { grid-template-columns: 1fr; }
  .trade-grid article { padding: 14px; }
  .gantt th:first-child { width: 45%; }
  .project-facts { grid-template-columns: 1fr 1fr; }
  .project-facts div:last-child { grid-column: 1 / -1; }
  .home-delivery .film-link, .delivery-band .film-link { margin-inline: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .practice-grid .textlink span, .section-nav a { transition: color .18s ease, transform .18s ease; }
  .practice-grid .textlink:hover span { transform: translate(2px,-2px); }
}


.entry-gallery {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(9px,2vw,26px);
  margin: 15px 0 0;
}
.entry-gallery figure { min-width: 0; }
.entry-gallery img, .entry-feature img, .essay-feature img { display: block; width: 100%; height: auto; }
.entry-gallery img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 38%; }
.entry-gallery figcaption, .portfolio-privacy { font-size: .8rem; color: var(--muted); margin-top: 9px; }
.entry-feature {
  display: grid;
  grid-template-columns: minmax(150px,.6fr) minmax(0,1fr);
  align-items: center;
  gap: clamp(20px,5vw,56px);
  background: #f4ead8;
  max-width: 890px;
  margin-top: 15px;
}
.entry-feature figure { overflow: hidden; aspect-ratio: 1.23; }
.entry-feature figure img { height: 100%; object-fit: cover; object-position: center 45%; }
.entry-feature > div { padding: 15px clamp(12px,2.5vw,30px) 15px 0; }
.entry-feature h3 { font-size: clamp(26px,3.6vw,44px); margin: 5px 0; }
.entry-feature p:not(.tag), .short-film-grid p, .essay-feature p:not(.tag) { color: var(--muted); margin: 8px 0; }
.essay-feature {
  display: grid;
  grid-template-columns: minmax(130px, .43fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px,6vw,78px);
}
.essay-feature figure { max-width: 310px; }
.essay-feature img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 63%; }
.essay-feature h2 { margin-top: 9px; }
.short-film-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 23px; gap: clamp(14px,4vw,54px); }
.short-film-grid article { display: grid; grid-template-columns: minmax(120px,.72fr) minmax(0,1.28fr); align-items: center; gap: clamp(12px,2.2vw,28px); }
.short-film-grid video { display: block; width: 100%; height: auto; background: var(--ink); }
.short-film-grid h3 { font-size: clamp(23px,2.5vw,38px); }
@media(max-width:760px) {
  .short-film-grid article { grid-template-columns: 1fr; align-content: start; }
}
@media(max-width:540px) {
  .entry-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .entry-gallery figure:first-child { grid-column: 1 / -1; }
  .entry-gallery img { aspect-ratio: auto; }
  .entry-feature { grid-template-columns: 1fr; gap: 0; }
  .entry-feature > div { padding: 16px; }
}
@media(max-width:365px) {
  .essay-feature { grid-template-columns: 1fr; }
}

