/* ==========================================================================
   JMS Building & Landscaping: homepage concept
   Colour and type are taken from the existing identity:
   bottle green + brass, set in a light condensed sans.
   ========================================================================== */

:root {
  /* brand */
  --brand: #1a4343;          /* logo green */
  --green-900: #112c2c;
  --green-950: #0b1f1f;
  --brass: #c9ad7b;          /* logo gold, lifted for small text on green */
  --brass-dim: #9b8458;
  --brass-ink: #6a5630;      /* brass for text on paper */
  --paper: #ece7db;          /* limestone */
  --paper-2: #e2dccd;
  --ink: #16201f;
  --ink-2: #4b5755;
  --mist: #bccac4;

  --line-dark: rgba(201, 173, 123, .26);
  --line-paper: rgba(22, 32, 31, .16);

  --hdr: 76px;
  --gutter: clamp(20px, 4.4vw, 64px);
  --gap: clamp(16px, 1.8vw, 24px);
  --max: 1360px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ----- base ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-stretch: 100%;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { margin: 0; font-weight: 300; font-stretch: 75%; letter-spacing: -.005em; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
::selection { background: var(--brass); color: var(--green-950); }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brass); color: var(--green-950); padding: .7em 1em; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }

/* ----- shared type ----- */
.label {
  display: flex; align-items: center; gap: 18px;
  margin: 0 0 1.4rem;
  font-size: .74rem; font-weight: 600; font-stretch: 75%;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--brass-ink);
}
.label::after { content: ""; height: 1px; flex: 0 1 4.5rem; background: currentColor; opacity: .55; }
.label--plain::after { display: none; }
.lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); line-height: 1.6; max-width: 36rem; }

h2 { font-size: clamp(2.2rem, 1.3rem + 2.9vw, 3.75rem); line-height: 1.04; max-width: 15em; margin-bottom: .55em; }

/* ----- buttons & links ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1em 1.7em;
  background: var(--brass); color: var(--green-950);
  border: 1px solid var(--brass); border-radius: 0;
  font-size: .76rem; font-weight: 700; font-stretch: 87.5%;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .25s, color .25s;
}
.btn:hover { background: transparent; color: var(--brass); }
.btn--line { background: transparent; color: var(--brass); }
.btn--line:hover { background: var(--brass); color: var(--green-950); }
.btn--sm { padding: .8em 1.3em; }

.textlink {
  color: var(--brass); font-weight: 600; font-size: .95rem; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 3px; transition: background-size .3s var(--ease);
}
.textlink:hover { background-size: 0 1px; background-position: 100% 100%; }
.textlink--ink { color: var(--ink); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--brand); color: var(--paper);
  border-bottom: 1px solid var(--line-dark);
}
.site-header__in { display: flex; align-items: center; justify-content: space-between; height: var(--hdr); }

.lockup { display: inline-flex; align-items: center; gap: 14px; color: var(--brass); text-decoration: none; }
.lockup__mark { width: 40px; height: 45px; }
.mark-text { font-family: var(--font); font-weight: 300; font-stretch: 75%; letter-spacing: .02em; }
.lockup__txt {
  font-size: .66rem; font-weight: 400; font-stretch: 75%; line-height: 1.55;
  letter-spacing: .34em; text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); }
.nav__list { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.nav__list a {
  font-size: .76rem; font-weight: 600; font-stretch: 87.5%;
  letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--mist);
  padding: .5em 0; transition: color .2s;
}
.nav__list a:hover { color: var(--brass); }
.nav__cta { display: flex; align-items: center; gap: 22px; }
.nav__tel { font-stretch: 75%; font-size: 1.15rem; font-weight: 400; letter-spacing: .06em; text-decoration: none; color: var(--paper); font-variant-numeric: tabular-nums; }
.nav__tel:hover { color: var(--brass); }

.menu-btn { display: none; background: none; border: 1px solid var(--line-dark); color: var(--brass); padding: .65em 1.1em; font-size: .72rem; font-weight: 700; font-stretch: 87.5%; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }
.menu-btn__close { display: none; }
.menu-open .menu-btn__open { display: none; }
.menu-open .menu-btn__close { display: inline; }

/* ==========================================================================
   Opening
   ========================================================================== */
.hero { --blk: 88px; --plate-h: clamp(400px, calc(100svh - var(--hdr) - var(--blk) - 56px), 700px); background: var(--brand); color: var(--paper); }

.hero__main {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: var(--gap);
  align-items: end; padding-top: clamp(28px, 6vh, 72px);
}
.hero__text { align-self: center; padding-bottom: clamp(28px, 7vh, 80px); max-width: 38rem; }
.hero__text .label { color: var(--brass); margin-bottom: 1.6rem; }
.hero h1 {
  font-size: clamp(2.75rem, .9rem + 5vw, 5.2rem);
  line-height: 1; letter-spacing: -.012em; margin-bottom: .42em; max-width: 10.5em;
}
.hero__lede { color: var(--mist); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); max-width: 30rem; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }

/* the house-shaped plate: the logo outline, holding a photograph */
.plate { position: relative; justify-self: end; width: calc(var(--plate-h) * .9); max-width: 100%; aspect-ratio: .9; }
.plate__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.plate__line polyline { fill: none; stroke: var(--brass); stroke-width: .3; stroke-linejoin: miter; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.7s .35s var(--ease) forwards; }
.plate__img {
  position: absolute; left: 12px; right: 12px; top: 15px; bottom: 0; overflow: hidden;
  clip-path: polygon(50% 0, 100% 32%, 100% 100%, 0 100%, 0 32%);
  background: var(--green-900);
}
.plate__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; animation: settle 2.2s var(--ease) both; }

/* the ground line, with the title block beneath it */
.hero__ground { border-top: 1px solid var(--brass); }
.hero__block {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: var(--gap);
  align-items: center; min-height: var(--blk); padding-block: 18px;
}
.hero__scope {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, auto); justify-content: start;
  column-gap: 2.2em; font-size: .7rem; font-weight: 600; font-stretch: 75%; letter-spacing: .2em; text-transform: uppercase; color: var(--mist); line-height: 2;
}
.hero__scope li { display: flex; align-items: center; gap: .9em; }
.hero__scope li::before { content: ""; width: 4px; height: 4px; background: var(--brass); flex: none; }
.hero__scope i, .hero__ground i { font-style: normal; color: var(--brass); padding-inline: .35em; }
.hero__cap { margin: 0; justify-self: end; width: calc(var(--plate-h) * .9); max-width: 100%; display: flex; align-items: center; gap: 18px; padding-left: 16px; border-left: 1px solid var(--line-dark); }
.hero__cap-n { font-stretch: 75%; font-weight: 300; font-size: 2.35rem; line-height: 1; color: var(--brass); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hero__cap-t { font-size: .85rem; line-height: 1.45; color: var(--mist); }

.hero__rise { opacity: 0; transform: translateY(14px); animation: rise .95s var(--ease) var(--d, 0s) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes settle { from { transform: scale(1.07); } to { transform: scale(1); } }

/* ==========================================================================
   Sections
   ========================================================================== */
.sec { padding-block: clamp(76px, 9.5vw, 150px); }
.sec--paper { background: var(--paper); color: var(--ink); }
.sec--deep { background: var(--green-900); color: var(--paper); }
.sec--brand { background: var(--brand); color: var(--paper); }
.sec--deep .label, .sec--brand .label { color: var(--brass); }
.sec--deep .lead, .sec--brand .lead { color: var(--mist); }

.sec__head { max-width: 46rem; margin-bottom: clamp(44px, 6vw, 92px); }
.sec__head--row { max-width: none; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; }
.sec__head--row > div { grid-column: 1 / 8; }
.sec__head--row .lead { grid-column: 8 / 13; margin: 0 0 .6rem; }

/* ----- what we do ----- */
.services { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
.services__intro { grid-column: 1 / 5; }
.services__sticky { position: sticky; top: calc(var(--hdr) + 40px); }
.services__sticky h2 { margin-bottom: .5em; }
.services__list { grid-column: 6 / 13; }

.group + .group { margin-top: clamp(56px, 7vw, 96px); }
.group__head { display: flex; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.group__t { font-size: .8rem; font-weight: 700; font-stretch: 75%; letter-spacing: .32em; text-transform: uppercase; color: var(--brass-ink); }
.group__note { font-size: .86rem; color: var(--ink-2); }
.group__foot { margin: 0; padding-top: 18px; border-top: 1px solid var(--line-paper); font-size: .92rem; color: var(--ink-2); }

.row {
  display: grid; grid-template-columns: 3.1rem minmax(0, 1fr) clamp(92px, 11vw, 128px); gap: clamp(14px, 2vw, 24px);
  align-items: start; padding: 26px 0; border-top: 1px solid var(--line-paper);
}
.row:first-child { border-top: 0; }
.row__no { padding-top: .75rem; font-size: .8rem; font-weight: 600; font-stretch: 75%; letter-spacing: .14em; color: var(--brass-ink); font-variant-numeric: tabular-nums; }
.row h3 { font-size: clamp(1.6rem, 1.15rem + 1.35vw, 2.3rem); line-height: 1.08; margin-bottom: .35em; transition: color .25s; }
.row p { margin: 0; color: var(--ink-2); font-size: .98rem; line-height: 1.55; max-width: 34rem; }
.row__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.85); transition: filter .4s, transform .6s var(--ease); }
.row:hover .row__img { filter: none; transform: scale(1.02); }
.row:hover h3 { color: var(--brass-ink); }

/* ----- recent work ----- */
.chapter + .chapter { margin-top: clamp(80px, 10vw, 150px); }
.chapter__t { display: flex; align-items: center; gap: 22px; margin: 0 0 clamp(28px, 3.5vw, 44px); }
.chapter__t span { font-size: .78rem; font-weight: 700; font-stretch: 75%; letter-spacing: .34em; text-transform: uppercase; color: var(--brass); }
.chapter__t::after { content: ""; flex: 1; height: 1px; background: var(--line-dark); }

.chapter figure img { width: 100%; object-fit: cover; background: var(--green-950); }
.chapter figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .9em; padding-top: 12px; font-size: .84rem; line-height: 1.45; color: var(--mist); }
.chapter figcaption b { font-weight: 600; font-stretch: 75%; letter-spacing: .08em; color: var(--brass); font-size: .95rem; }

.feature { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; }
.feature__a { grid-column: 1 / 6; }
.feature__b { grid-column: 6 / 10; margin-top: clamp(48px, 9vw, 130px); }
.feature__spec { grid-column: 10 / 13; padding-top: 4px; }
.feature__a img, .feature__b img { aspect-ratio: 4 / 5; }
.feature__spec h3 { font-size: clamp(1.5rem, 1.1rem + 1vw, 1.9rem); line-height: 1.12; color: var(--paper); margin-bottom: 1.4rem; }

.spec { border-top: 1px solid var(--line-dark); }
.spec > div { display: grid; grid-template-columns: 5.2rem 1fr; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.spec dt { font-stretch: 75%; font-weight: 300; font-size: 1.9rem; line-height: 1; color: var(--brass); font-variant-numeric: tabular-nums; }
.spec dd { margin: 0; font-size: .88rem; line-height: 1.4; color: var(--mist); }

.before { position: relative; width: 58%; margin-top: 1.6rem; }
.before img { aspect-ratio: 4 / 5; filter: grayscale(.35); }
.before figcaption { position: absolute; left: 0; bottom: 0; padding: .4em .8em; background: var(--green-950); font-size: .66rem; font-weight: 700; font-stretch: 75%; letter-spacing: .26em; text-transform: uppercase; color: var(--brass); }

.skyline { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; margin-top: clamp(44px, 5.5vw, 80px); }
.skyline figcaption { min-height: 5.6em; }
.sky--a { grid-column: 1 / 5; }
.sky--b { grid-column: 5 / 10; }
.sky--c { grid-column: 10 / 13; }
.sky--a img { aspect-ratio: 3 / 4; }
.sky--b img { aspect-ratio: 4 / 3; }
.sky--c img { aspect-ratio: 1 / 1; }
.sky--b figcaption b { flex: 0 0 100%; }
.sky--c figcaption b, .sky--a figcaption b { font-size: 1.5rem; font-weight: 300; line-height: 1.1; }

.inside { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto auto; gap: clamp(32px, 4vw, 48px) var(--gap); }
.in { position: relative; display: flex; flex-direction: column; min-width: 0; }
.in--room { grid-column: 1 / 6; grid-row: 1 / 3; }
.in--open { grid-column: 6 / 13; grid-row: 1; }
.in--bath { grid-column: 6 / 9; grid-row: 2; }
.in--out  { grid-column: 9 / 13; grid-row: 2; }
.in--open img { aspect-ratio: 16 / 10; }
.in--bath img { aspect-ratio: 4 / 5; }
.in--room img, .in--out img { position: absolute; left: 0; top: 0; width: 100%; height: calc(100% - 4.6em); }
.in--room figcaption, .in--out figcaption { margin-top: auto; min-height: 4.6em; }
.in figcaption b { flex: 0 0 100%; font-size: 1rem; font-weight: 300; letter-spacing: .02em; color: var(--paper); font-size: 1.15rem; }

/* ----- before & after ----- */
.compare { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; }
.compare__text { grid-column: 1 / 6; padding-right: clamp(0px, 2vw, 32px); }
.cmp { grid-column: 6 / 13; }

.tabs { margin-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--ink); }
.tab {
  display: grid; grid-template-columns: 1fr; width: 100%; text-align: left;
  padding: 16px 0; background: none; border: 0; border-bottom: 1px solid var(--line-paper); cursor: pointer;
  color: var(--ink-2); transition: color .2s;
}
.tab:hover { color: var(--ink); }
.tab__t { font-stretch: 75%; font-weight: 300; font-size: 1.55rem; line-height: 1.15; }
.tab__d { display: none; margin-top: .45rem; font-size: .94rem; line-height: 1.5; max-width: 28rem; }
.tab.is-on { color: var(--ink); }
.tab.is-on .tab__d { display: block; }
.tab.is-on .tab__t { box-shadow: inset 0 -1px 0 transparent; }

.cmp__frame { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--green-900); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; }
.cmp__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; pointer-events: none; }
.cmp__img--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 56px; margin-left: -28px; cursor: ew-resize; outline-offset: -4px; }
.cmp__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 1.5px; background: var(--brass); transform: translateX(-50%); }
.cmp__knob { position: absolute; left: 50%; top: 50%; width: 46px; height: 52px; transform: translate(-50%, -50%); fill: var(--brand); stroke: var(--brass); stroke-width: 1.8; stroke-linejoin: miter; }
.cmp__chev { fill: none; stroke-linecap: square; }
.cmp__tag { position: absolute; bottom: 14px; padding: .5em .95em; background: rgba(11, 31, 31, .88); color: var(--brass); font-size: .66rem; font-weight: 700; font-stretch: 75%; letter-spacing: .28em; text-transform: uppercase; pointer-events: none; }
.cmp__tag--l { left: 14px; }
.cmp__tag--r { right: 14px; }

/* ----- materials board ----- */
.board { display: flex; gap: 6px; height: clamp(440px, 46vw, 620px); }
.sw { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: var(--green-950); cursor: pointer; transition: flex-grow .6s var(--ease); }
.sw.is-on { flex-grow: 3.4; }
.sw img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: saturate(.9) brightness(.92); }
.sw.is-on img { filter: none; }
.sw__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 14px 16px; background: rgba(11, 31, 31, .92); }
.sw__cap b { display: block; font-stretch: 75%; font-weight: 400; font-size: 1.12rem; line-height: 1.15; letter-spacing: .01em; color: var(--paper); }
.sw__cap em { display: none; font-style: normal; margin-top: .5rem; font-size: .84rem; line-height: 1.45; color: var(--mist); max-width: 22rem; }
.sw.is-on .sw__cap em { display: block; }

/* ----- about ----- */
.about { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: center; }
.about__van { grid-column: 1 / 6; }
.about__text { grid-column: 7 / 13; }
.frame { outline: 1px solid var(--brass-dim); outline-offset: 12px; }
.frame img { width: 100%; aspect-ratio: 960 / 1113; object-fit: cover; }
.about__van figcaption { margin-top: 28px; font-size: .84rem; color: var(--ink-2); }
.about__text .lead { margin-bottom: 1.2rem; }
.about__text p:not(.lead):not(.label) { color: var(--ink-2); max-width: 34rem; }

.facts { margin: 2.4rem 0 0; border-top: 1px solid var(--ink); }
.facts > div { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-paper); }
.facts dt { font-size: .72rem; font-weight: 700; font-stretch: 75%; letter-spacing: .26em; text-transform: uppercase; color: var(--brass-ink); padding-top: .25rem; }
.facts dd { margin: 0; font-size: .98rem; line-height: 1.5; }
.facts a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.facts i { font-style: normal; color: var(--brass-ink); padding-inline: .3em; }

/* ----- enquire ----- */
.enquire { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; }
.enquire__text { grid-column: 1 / 6; }
.form { grid-column: 7 / 13; }

.contact { margin-top: 2.6rem; border-top: 1px solid var(--line-dark); }
.contact li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.contact span { font-size: .7rem; font-weight: 700; font-stretch: 75%; letter-spacing: .28em; text-transform: uppercase; color: var(--brass); }
.contact a { text-decoration: none; color: var(--paper); overflow-wrap: anywhere; background: linear-gradient(var(--brass), var(--brass)) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease), color .2s; }
.contact a:hover { color: var(--brass); background-size: 100% 1px; }
.contact__big { font-stretch: 75%; font-weight: 300; font-size: clamp(2rem, 1.2rem + 2.6vw, 3rem); line-height: 1; letter-spacing: .02em; font-variant-numeric: tabular-nums; }

.field { margin-bottom: 1.6rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gap); }
.field label, .chips legend { display: block; font-size: .7rem; font-weight: 700; font-stretch: 75%; letter-spacing: .28em; text-transform: uppercase; color: var(--brass); margin-bottom: .35rem; padding: 0; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(236, 231, 219, .4); border-radius: 0;
  padding: .55rem 0; color: var(--paper); font-size: 1.05rem; transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 7rem; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--brass); }

.chips { border: 0; margin: 0 0 1.8rem; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { flex: 0 0 100%; margin-bottom: .7rem; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chips span { display: block; padding: .55em 1em; border: 1px solid rgba(236, 231, 219, .4); font-size: .9rem; line-height: 1.3; color: var(--paper); transition: background .2s, color .2s, border-color .2s; }
.chips label:hover span { border-color: var(--brass); }
.chips input:checked + span { background: var(--brass); border-color: var(--brass); color: var(--green-950); font-weight: 600; }
.chips input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 3px; }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: .6rem; }
.form__note { margin: 0; font-size: .84rem; color: var(--mist); }

/* ----- footer ----- */
.site-footer { background: var(--green-950); color: var(--mist); padding-block: clamp(44px, 5vw, 64px); border-top: 1px solid var(--line-dark); }
.site-footer__in { display: grid; grid-template-columns: auto 1fr auto; gap: 28px clamp(24px, 5vw, 80px); align-items: center; }
.site-footer__area { margin: 0; font-size: .72rem; font-weight: 600; font-stretch: 75%; letter-spacing: .28em; text-transform: uppercase; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: flex-end; }
.site-footer__links a { font-size: .92rem; text-decoration: none; color: var(--paper); }
.site-footer__links a:hover { color: var(--brass); }
.site-footer__legal { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: .8rem; color: var(--mist); opacity: .85; }

/* ==========================================================================
   Reveal on scroll (only when JS is available)
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav__tel { display: none; }
  .hero__main, .hero__block { grid-template-columns: minmax(0, 1fr) auto; }
  .hero__text { padding-right: 24px; }
}

@media (max-width: 900px) {
  :root { --hdr: 68px; }
  .lockup__mark { width: 36px; height: 41px; }

  /* menu */
  .menu-btn { display: inline-block; }
  .nav {
    position: fixed; inset: var(--hdr) 0 0 0; z-index: 55; background: var(--brand);
    flex-direction: column; align-items: stretch; justify-content: space-between; gap: 32px;
    padding: 28px var(--gutter) 36px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: .55em 0; font-size: 2.1rem; font-weight: 300; font-stretch: 75%; letter-spacing: -.005em; text-transform: none; color: var(--paper); border-bottom: 1px solid var(--line-dark); }
  .nav__cta { flex-direction: column; align-items: flex-start; gap: 18px; }
  .nav__tel { display: block; font-size: 2.1rem; font-weight: 300; }
  .menu-open { overflow: hidden; }

  /* hero */
  .hero { --plate-h: auto; }
  .hero__main, .hero__block { grid-template-columns: 1fr; }
  .hero__main { padding-top: 40px; row-gap: 12px; }
  .hero__text { padding: 0 0 28px; max-width: none; }
  .hero h1 { font-size: clamp(2.7rem, 2rem + 6vw, 4rem); }
  .plate { width: min(100%, 460px); justify-self: center; }
  .hero__block { padding-block: 22px 28px; row-gap: 20px; }
  .hero__cap { justify-self: stretch; width: auto; padding-left: 0; border-left: 0; padding-top: 16px; border-top: 1px solid var(--line-dark); }
  .hero__scope { font-size: .66rem; letter-spacing: .16em; grid-template-columns: 1fr 1fr; column-gap: 1.2em; }

  /* sections */
  .sec__head--row { display: block; }
  .sec__head--row .lead { margin-top: .6rem; }

  .services { display: block; }
  .services__sticky { position: static; margin-bottom: 56px; }
  .row { grid-template-columns: 2.4rem minmax(0, 1fr) 88px; }

  .feature { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .feature__a { grid-column: 1 / 2; }
  .feature__b { grid-column: 2 / 3; margin-top: 56px; }
  .feature__spec { grid-column: 1 / -1; }
  .feature__spec .spec { max-width: 32rem; }
  .before { width: 40%; min-width: 150px; }

  .skyline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .sky--b { grid-column: 1 / -1; order: -1; }
  .sky--a, .sky--c { grid-column: auto; }
  .skyline figcaption { min-height: 0; }

  .inside { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .in--room, .in--open { grid-column: 1 / -1; grid-row: auto; }
  .in--bath, .in--out { grid-column: auto; grid-row: auto; }
  .in--room img, .in--out img { position: static; height: auto; }
  .in--room img { aspect-ratio: 4 / 5; }
  .in--out img { aspect-ratio: 4 / 5; }
  .in--room figcaption, .in--out figcaption { min-height: 0; }

  .compare { display: block; }
  .compare__text { padding-right: 0; margin-bottom: 36px; }
  .cmp__frame { aspect-ratio: 4 / 5; }
  .cmp__img { object-position: 50% 55%; }

  .board { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 12px; height: auto; }
  .sw { flex: none; background: none; overflow: visible; }
  .sw img { position: static; height: auto; aspect-ratio: 3 / 4; filter: none; }
  .sw__cap { position: static; background: none; padding: 10px 0 0; }
  .sw__cap em { display: block; font-size: .82rem; }
  .sw__cap b { font-size: 1.08rem; }

  .about { display: block; }
  .about__van { max-width: 440px; margin: 0 auto 64px; padding-inline: 14px; }
  .facts > div { grid-template-columns: 7.6rem 1fr; }

  .enquire { display: block; }
  .enquire__text { margin-bottom: 48px; }

  .site-footer__in { grid-template-columns: 1fr; }
  .site-footer__links { justify-content: flex-start; }
}

@media (min-width: 521px) and (max-width: 900px) {
  /* tablet: facts on the left, the "before" frame beside them */
  .feature__spec { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); align-items: start; }
  .feature__spec h3 { grid-column: 1 / -1; }
  .feature__spec .spec { max-width: none; }
  .before { width: 100%; min-width: 0; margin-top: 0; }
}

@media (max-width: 520px) {
  body { font-size: 1rem; }
  .row { grid-template-columns: 1.9rem minmax(0, 1fr) 84px; column-gap: 12px; align-items: start; }
  .row p { font-size: .94rem; }
  .row__img { margin-top: 6px; }
  .field-row { grid-template-columns: 1fr; }
  .contact li { grid-template-columns: 1fr; gap: 2px; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
  .hero__cap-n { font-size: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; transition-delay: 0s !important; }
  .hero__rise { opacity: 1; transform: none; }
  .js .reveal { opacity: 1; transform: none; }
  .plate__line polyline { stroke-dashoffset: 0; }
}
