@font-face { font-family: "Work Sans"; src: url("assets/fonts/work-sans.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* Caroman Ltd (caromanltd.co.uk). Clean, light and premium. Tokens */
:root {
  --white: #ffffff;
  --mist: #f3f5f6;       /* section ground */
  --line: #e2e6e8;
  --anth: #2e3538;       /* anthracite, the frames in their photos */
  --ink: #1d2427;
  --soft: #556065;       /* secondary text, 6.4:1 on white */
  --pale: #cfd6d9;       /* secondary text on dark */
  --orange: #f4ab4a;     /* their logo */
  --orange-down: #e8992f;
  --r-lg: 20px;
  --r-md: 14px;
  --font: "Work Sans", "Segoe UI", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 1.3rem + 4.2vw, 4.4rem); letter-spacing: -0.045em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(100% - 2.5rem, 78rem); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 20; padding: 0.75rem 1rem; background: var(--ink); color: var(--white); border-radius: 8px; }
.skip:focus { top: 1rem; }

/* Buttons and small parts */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3.25rem; padding: 0.8rem 1.5rem; border-radius: 999px;
  background: var(--orange); color: var(--ink); font: 600 1rem/1.2 var(--font); text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.btn:hover { background: var(--orange-down); transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(232, 153, 47, 0.8); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-line { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-light { background: var(--white); }
.btn-light:hover { background: var(--mist); box-shadow: none; }
.btn-sm { min-height: 2.9rem; padding: 0.6rem 1.15rem; font-size: 0.95rem; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 5px; display: inline-flex; align-items: center; min-height: 44px; }
.text-link:hover { text-decoration-color: currentColor; }
.tag { display: inline-flex; align-items: center; padding: 0.35rem 0.75rem; border-radius: 999px; background: var(--orange); color: var(--ink); font: 600 0.875rem/1 var(--font); }
.tag-dark { background: rgba(244, 171, 74, 0.16); color: var(--orange); }
.kicker { font-weight: 500; font-size: 0.95rem; color: var(--soft); display: flex; align-items: center; gap: 0.6rem; }
.kicker::before { content: ""; flex: none; width: 1.6rem; height: 3px; border-radius: 2px; background: var(--orange); }

.section { padding-block: 4.5rem; }
.section-mist { background: var(--mist); }
.head { display: grid; gap: 0.9rem; margin-bottom: 2.5rem; }
.head p { color: var(--soft); font-size: 1.15rem; max-width: 34rem; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.top-in { position: relative; display: flex; align-items: center; gap: 0.75rem; min-height: 4.5rem; }
.brand { margin-right: auto; }
.brand img { width: 118px; }
.nav { display: none; }
.nav a { font-weight: 500; font-size: 0.98rem; text-decoration: none; color: var(--soft); padding: 0.75rem 0; transition: color 150ms ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.top-actions { display: flex; align-items: center; gap: 1.25rem; }
.top-actions .btn { display: none; }
.top-phone { display: inline-flex; align-items: center; min-height: 2.9rem; padding: 0 1rem; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink); font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.top-num { display: none; }

/* Phone menu: a <details>, so it works without scripts */
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.9rem; padding: 0 1rem; border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 600; font-size: 0.95rem; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: ""; width: 0.5rem; height: 0.5rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform 180ms ease; }
.menu[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.menu-panel { position: absolute; left: -1.25rem; right: -1.25rem; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(29, 36, 39, 0.35); padding: 0.5rem 1.25rem 1.5rem; display: grid; }
.menu-panel a:not(.btn) { display: flex; align-items: center; min-height: 3.25rem; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 1.1rem; text-decoration: none; }
.menu-panel a[aria-current="page"] { color: var(--orange-down); }
.menu-panel .btn { margin-top: 1.25rem; }

/* Home hero: a big rounded photo, the words on a white card that overlaps it */
.hero { padding-top: 1rem; }
.hero-in { position: relative; display: grid; }
.hero-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.3; background: var(--mist); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-card {
  position: relative; margin: -3.5rem 0.75rem 0; padding: 1.6rem 1.4rem 1.7rem;
  background: var(--white); border-radius: var(--r-lg);
  box-shadow: 0 24px 60px -28px rgba(29, 36, 39, 0.35), 0 0 0 1px rgba(29, 36, 39, 0.04);
  display: grid; gap: 0.9rem;
}
.hero-lede { color: var(--soft); font-size: 1.1rem; max-width: 33rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.4rem; }

/* Under the hero: accreditation logos, then two promises */
.proof-row { display: grid; gap: 1.75rem; padding-block: 2rem 2.5rem; }
.accred { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.75rem; }
.accred img { height: 2.3rem; width: auto; }
.accred .lg-sq { height: 2.8rem; }
.accred .lg-long { height: 1.85rem; }
.proof { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.proof li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; color: var(--soft); line-height: 1.35; }
.proof strong { color: var(--ink); font-weight: 600; }
.proof svg { flex: none; width: 44px; height: 44px; border-radius: 12px; padding: 10px; background: var(--mist); fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Partners */
.partners { border-block: 1px solid var(--line); background: var(--white); }
.partners-in { display: grid; gap: 1.25rem; padding-block: 1.75rem 2rem; }
.partners p { color: var(--soft); font-size: 0.95rem; }
.partners ul { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 1.75rem 1.5rem; }
.partners li { display: flex; justify-content: center; }
.partners img { height: 2.4rem; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.75; transition: filter 200ms ease, opacity 200ms ease; }
.partners .lg-deep { filter: grayscale(1) brightness(0.6) contrast(3); opacity: 0.8; }   /* white lettering on a pale disc */
.partners .lg-tall { height: 3.2rem; }
.partners .lg-long { height: 1.9rem; }
.partners li:hover img { filter: none; opacity: 1; }

/* What we fit: a grid of photo tiles */
.bento { display: grid; gap: 0.9rem; }
.tile a { position: relative; display: block; height: 100%; min-height: 15rem; border-radius: var(--r-md); overflow: hidden; text-decoration: none; color: var(--white); background: var(--anth); isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1); z-index: -2; }
.tile a::after { /* a dark fade under the label, so it reads on any photo */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20, 25, 27, 0) 45%, rgba(20, 25, 27, 0.82) 100%);
}
.tile a:hover img, .tile a:focus-visible img { transform: scale(1.05); }
.tile .tag { position: absolute; top: 1rem; left: 1rem; }
.tile-text { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.1rem; display: grid; gap: 0.15rem; }
.tile-text strong { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.tile-text span { font-size: 0.98rem; color: rgba(255, 255, 255, 0.86); }
.t-pivot a { min-height: 22rem; }
.t-doors img { object-position: 50% 60%; }

/* Dark feature band (pivot doors) */
.dark { background: var(--anth); color: var(--white); }
.dark .kicker { color: var(--pale); }
.pivot-in { display: grid; gap: 2.5rem; }
.pivot-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.pivot-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-md); }
.pp-main { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.pp-a, .pp-b { aspect-ratio: 1 / 1; }
.pivot-words { display: grid; gap: 1.1rem; justify-items: start; align-content: center; }
.pivot-lede { color: var(--pale); font-size: 1.12rem; max-width: 34rem; }
.features { display: grid; width: 100%; max-width: 34rem; margin-block: 0.5rem; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.features li { display: grid; gap: 0.15rem; padding: 1rem 0 1rem 2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.14); position: relative; }
.features li::before { content: ""; position: absolute; left: 0; top: 1.35rem; width: 0.85rem; height: 0.45rem; border: solid var(--orange); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.features strong { font-weight: 600; }
.features span { color: var(--pale); font-size: 0.98rem; }
.features-light { border-top-color: var(--line); }
.features-light li { border-bottom-color: var(--line); }
.features-light span { color: var(--soft); }
.dark-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.dark .btn-line { box-shadow: inset 0 0 0 1.5px var(--white); color: var(--white); }
.dark .btn-line:hover { background: var(--white); color: var(--ink); }

/* Steps */
.steps { display: grid; gap: 1rem; }
.steps li { background: var(--white); border-radius: var(--r-md); padding: 1.5rem 1.4rem 1.6rem; display: grid; gap: 0.55rem; align-content: start; }
.steps-on-white li { background: var(--mist); }
.step-n { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--ink); color: var(--white); font-weight: 600; font-size: 1rem; margin-bottom: 0.4rem; }
.steps p { color: var(--soft); font-size: 1rem; }

/* Reviews */
.quotes { display: grid; gap: 1rem; }
.quote { margin: 0; padding: 1.75rem 1.5rem; border-radius: var(--r-md); background: var(--mist); display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
.quote blockquote { margin: 0; }
.quote blockquote::before { content: "\201C"; display: block; font-size: 3.5rem; line-height: 0.6; height: 1.6rem; color: var(--orange); font-weight: 600; }
.quote p { font-size: 1.1rem; line-height: 1.55; }
.q-lead { background: var(--ink); color: var(--white); }
.q-lead p { font-size: clamp(1.3rem, 1rem + 1vw, 1.65rem); line-height: 1.4; letter-spacing: -0.015em; }
.quote figcaption { font-weight: 600; font-size: 0.98rem; }
.q-lead figcaption { color: var(--pale); }

/* Contact block (home, and the end of other pages) */
.contact { padding-bottom: 4.5rem; }
.contact-in { display: grid; border-radius: var(--r-lg); overflow: hidden; background: var(--mist); }
.contact-photo { aspect-ratio: 16 / 10; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-card { padding: 2rem 1.4rem 2.25rem; display: grid; gap: 1rem; justify-items: start; align-content: center; }
.contact-card > p:first-of-type { color: var(--soft); font-size: 1.1rem; max-width: 30rem; }
.contact-line { display: grid; gap: 0.1rem; text-decoration: none; font-weight: 500; font-size: 1.1rem; min-height: 44px; align-content: center; }
.contact-line span { font-size: 0.9rem; color: var(--soft); font-weight: 500; }
.contact-line.phone { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
a.contact-line:hover { color: var(--orange-down); }

/* A closing call to action */
.cta { padding-block: 0 4.5rem; }
.cta-in { border-radius: var(--r-lg); background: var(--ink); color: var(--white); padding: 2.25rem 1.5rem; display: grid; gap: 1.25rem; justify-items: start; }
.cta-in p { color: var(--pale); font-size: 1.1rem; max-width: 34rem; }
.cta-in h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }

/* Inner page header */
.page-head { padding-block: 2.75rem 2.5rem; background: var(--mist); }
.page-head-in { display: grid; gap: 1rem; }
.page-head p.lede { color: var(--soft); font-size: 1.15rem; max-width: 38rem; }
.page-head h1 { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4rem); }
.page-head-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; }
.page-head-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Services page: one row per service */
.svc { display: grid; gap: 1.5rem; padding-block: 2.5rem; border-bottom: 1px solid var(--line); }
.svc:last-child { border-bottom: 0; }
.svc-media { display: grid; gap: 0.75rem; }
.svc-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }
.svc-media.two { grid-template-columns: 1fr 1fr; }
.svc-media.two img { aspect-ratio: 3 / 4; }
.svc-words { display: grid; gap: 0.9rem; justify-items: start; align-content: center; max-width: 34rem; }
.svc-words h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }
.svc-words p { color: var(--soft); font-size: 1.1rem; }
.svc-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; margin-top: 0.25rem; }

/* Galleries */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r-md); }
.gallery .g-wide { grid-column: 1 / -1; }
.gallery .g-wide img { aspect-ratio: 16 / 10; }

/* Two-column text and photo */
.split { display: grid; gap: 2rem; align-items: center; }
.split-words { display: grid; gap: 1rem; justify-items: start; }
.split-words p { color: var(--soft); font-size: 1.1rem; max-width: 36rem; }
.split-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }

/* Pivot plan drawing */
.swing { margin: 0; display: grid; gap: 0.6rem; }
.swing svg { width: min(100%, 22rem); height: auto; overflow: visible; }
.swing .wall { stroke: var(--ink); stroke-width: 7; fill: none; }
.swing .leaf-closed { stroke: #9aa6ab; stroke-width: 2; stroke-dasharray: 5 6; fill: none; }
.swing .arc { stroke: #9aa6ab; stroke-width: 1.5; stroke-dasharray: 3 5; fill: none; }
.swing .leaf-plan { stroke: var(--orange); stroke-width: 7; stroke-linecap: square; fill: none; }
.swing .axis { fill: var(--white); stroke: var(--orange-down); stroke-width: 3; }
.swing .lbl { fill: var(--ink); font: 600 15px var(--font); }
.swing figcaption { font-size: 1rem; color: var(--soft); max-width: 28rem; }

/* Who we work for */
.clients-list { display: grid; gap: 1rem; }
.clients-list li { border-radius: var(--r-md); background: var(--mist); padding: 1.5rem 1.4rem; display: grid; gap: 0.4rem; }
.clients-list p { color: var(--soft); font-size: 1rem; }
.badges-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; width: 100%; max-width: 30rem; }
.badges-row img { width: 100%; height: 80px; object-fit: contain; background: var(--white); border-radius: 14px; padding: 12px 14px; box-shadow: 0 0 0 1px var(--line); }

/* Contact page */
.ways { display: grid; gap: 1rem; }
.way { border-radius: var(--r-lg); background: var(--mist); padding: 1.75rem 1.5rem; display: grid; gap: 0.75rem; align-content: start; justify-items: start; }
.way p { color: var(--soft); }
.way-h { font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1.4; }
.way .way-addr { font-size: 1.15rem; line-height: 1.5; color: var(--ink); }
.way-big { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.3rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; text-decoration: none; overflow-wrap: anywhere; }
a.way-big { min-height: 44px; display: inline-flex; align-items: center; }
a.way-big:hover { color: var(--orange-down); }
.way-big.way-mail { font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.55rem); overflow-wrap: normal; }
.way-dark { background: var(--ink); color: var(--white); }
.way-dark p { color: var(--pale); }
.checklist { display: grid; gap: 0.45rem; }
.checklist li { position: relative; padding-left: 1.6rem; color: var(--soft); }
.checklist li::before { content: ""; position: absolute; left: 0.1rem; top: 0.6rem; width: 0.7rem; height: 0.38rem; border: solid var(--orange-down); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }

/* Plain text pages (privacy) */
.prose { max-width: 44rem; display: grid; gap: 1rem; }
.prose h2 { font-size: 1.5rem; margin-top: 1.5rem; }
.prose p, .prose li { color: var(--soft); }
.prose ul { display: grid; gap: 0.4rem; padding-left: 1.2rem; list-style: disc; }
.prose a { text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Footer */
.foot { background: var(--ink); color: var(--pale); padding-block: 3.5rem 2rem; font-size: 0.98rem; }
.foot-in { display: grid; gap: 2rem; }
.foot-brand img { width: 130px; background: var(--white); padding: 0.5rem 0.75rem; border-radius: 10px; box-sizing: content-box; margin-bottom: 1rem; }
.foot-h { color: var(--white); font-weight: 600; margin-bottom: 0.4rem; }
.foot ul { display: grid; }
.foot a { text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.foot a:hover { color: var(--white); }
.foot-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.foot-badges img { height: 52px; width: auto; max-width: 8rem; object-fit: contain; background: var(--white); border-radius: 10px; padding: 5px 7px; }
.foot-legal { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 2.5rem; padding-top: 1.5rem; color: #a4afb4; font-size: 0.92rem; display: grid; gap: 0.25rem; }

@media (min-width: 40rem) {
  .proof { grid-template-columns: repeat(2, auto); justify-content: start; gap: 1rem 2.5rem; }
  .partners ul { grid-template-columns: repeat(4, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; }
  .t-pivot { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery .g-wide { grid-column: span 2; grid-row: span 2; }
  .gallery .g-wide img { aspect-ratio: auto; }
  .clients-list { grid-template-columns: repeat(3, 1fr); }
  .ways { grid-template-columns: 1fr 1fr; }
  .foot-in { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .top-actions .btn { display: inline-flex; }
}

@media (min-width: 64rem) {
  .brand img { width: 140px; }
  .nav { display: flex; gap: 2rem; margin-right: 1.5rem; }
  .menu { display: none; }
  .top-phone { box-shadow: none; padding: 0; min-height: 44px; font-size: 1rem; }
  .top-call { display: none; }
  .top-num { display: inline; }
  .top-in { min-height: 5.25rem; }

  .hero { padding-top: 1.5rem; }
  .hero-photo { aspect-ratio: auto; height: min(42rem, calc(100svh - 9rem)); }
  .hero-card { position: absolute; left: 2.5rem; bottom: 2.5rem; margin: 0; width: min(41rem, 54%); padding: 2.4rem 2.6rem 2.6rem; gap: 1.1rem; }
  .hero-card h1 { font-size: clamp(2.6rem, 1.2rem + 2.3vw, 3.6rem); }
  .hero-card h1 span { display: block; white-space: nowrap; }
  .proof-row { grid-template-columns: auto auto; justify-content: space-between; align-items: center; gap: 2.5rem; }
  .accred { gap: 1rem 2.25rem; }
  .partners-in { grid-template-columns: auto 1fr; align-items: center; gap: 3rem; }
  .partners ul { gap: 2rem 3rem; }

  .section { padding-block: 6rem; }
  .contact, .cta { padding-bottom: 6rem; }
  .head { grid-template-columns: 1fr 1fr; align-items: end; gap: 3rem; margin-bottom: 3rem; }
  .head p { justify-self: end; }

  .bento { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 15.5rem; gap: 1rem; }
  .tile a { min-height: 0; }
  .t-pivot { grid-column: span 7; grid-row: span 2; }
  .t-windows, .t-doors { grid-column: span 5; }
  .t-sunrooms, .t-alu, .t-deck, .t-gates { grid-column: span 6; }
  .t-pivot .tile-text strong { font-size: 1.9rem; }
  .tile-text { left: 1.5rem; bottom: 1.35rem; }

  .pivot-in { grid-template-columns: 1.1fr 0.9fr; gap: 5rem; align-items: center; }
  .pivot-photos { grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; height: 34rem; }
  .pp-main { grid-column: 1; grid-row: 1 / 3; aspect-ratio: auto; }
  .pp-a, .pp-b { aspect-ratio: auto; }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  .steps li { padding: 1.75rem 1.6rem 2rem; }
  .quotes { grid-template-columns: 1.25fr 1fr 1fr; gap: 1.25rem; }
  .quote { padding: 2.25rem 2rem; }

  .contact-in { grid-template-columns: 1.1fr 0.9fr; min-height: 34rem; }
  .contact-photo { aspect-ratio: auto; }
  .contact-card { padding: 3.5rem; }
  .cta-in { grid-template-columns: 1fr auto; align-items: center; padding: 3rem 3.5rem; gap: 2rem; }
  .cta-in > div { display: grid; gap: 0.75rem; }

  .page-head { padding-block: 4rem 4rem; }
  /* the trailing 1fr row takes the photo's extra height, so the words stay together at the top */
  .page-head-in.with-photo { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto) 1fr; column-gap: 4rem; row-gap: 1rem; }
  .page-head-in.with-photo .page-head-photo { grid-row: 1 / 6; grid-column: 2; aspect-ratio: 4 / 3; }

  .svc { grid-template-columns: 1fr 1fr; gap: 4rem; padding-block: 4rem; align-items: center; }
  .svc:nth-child(even) .svc-media { order: 2; }
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .split { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .split.flip .split-photo { order: -1; }
  .ways { grid-template-columns: 1.2fr 1fr 1fr; }
}

/* Motion: the hero settles on load; tiles and cards rise gently into place as they scroll in. The page is complete
   without it. */
@media (prefers-reduced-motion: no-preference) {
  .hero-photo img { animation: settle 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-card { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s both; }
  @keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
  @keyframes rise { from { opacity: 0.001; translate: 0 1.5rem; } to { opacity: 1; translate: 0 0; } }

  @supports (animation-timeline: view()) {
    .tile, .steps li, .quote, .pivot-photos img, .contact-in, .svc-media img, .gallery img, .way, .clients-list li {
      animation: reveal linear both; animation-timeline: view(); animation-range: entry 5% entry 70%;
    }
    @keyframes reveal { from { opacity: 0.001; translate: 0 2.5rem; } to { opacity: 1; translate: 0 0; } }
  }
}
