/* ==========================================================================
   sections.css · each section of the page, then the small-screen compositions
   ========================================================================== */

/* ==========================================================================
   OPENING — one course of slabs, 100vh. Joints in the two rows never align.
   ========================================================================== */

.opening {
  height: 100svh; min-height: 600px;
  padding: var(--hh) var(--m) var(--m);
  background: var(--damson);
}
.opening__bond { height: 100%; grid-template-rows: 1.42fr 1fr; }

/* Scale does the work: one very wide slab between two slim ones, a stone
   slab that carries the name, then two smaller photographs. No vertical
   joint in the upper course meets one in the lower. */
.o-a { grid-area: 1 / 1 / 2 / 3; }
.o-b { grid-area: 1 / 3 / 2 / 11; }
.o-c { grid-area: 1 / 11 / 2 / 13; }
.o-d { grid-area: 2 / 1 / 3 / 8; container-type: inline-size; }
.o-e { grid-area: 2 / 8 / 3 / 10; }
.o-f { grid-area: 2 / 10 / 3 / 13; }

.o-a > img { object-position: 38% 60%; }
.o-b > img { object-position: 50% 62%; }
.o-c > img { object-position: 78% 50%; }
.o-e > img { object-position: 50% 40%; }
.o-f > img { object-position: 24% 50%; }

/* The wordmark slab */
.hero-text {
  display: grid; grid-template-rows: auto 1fr auto;
  padding: clamp(14px, 1.5vw, 26px) clamp(16px, 1.9vw, 30px) clamp(14px, 1.4vw, 24px);
}
.hero-text__label { font-size: clamp(10px, .8vw, 11.5px); }
.hero-text__mark { align-self: center; font-size: inherit; font-weight: inherit; }
.hero-text__mark .mark__name {
  font-size: min(17.5cqi, 14.6svh); letter-spacing: .005em;
  /* cut into the stone: a hairline of light below, a hair of shade above */
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6), 0 -1px 0 rgba(35, 17, 27, .1);
}
.hero-text__mark .mark__sub { font-size: min(4.6cqi, 3.9svh); letter-spacing: .02em; margin-top: .45em; color: var(--slate); }
.hero-text__foot {
  display: grid; grid-template-columns: minmax(0, 1.25fr) auto; gap: 18px 24px; align-items: end;
  padding-top: clamp(10px, 1vw, 16px);
  border-top: 1px solid var(--rule-l);
}
.hero-text__line { font-size: clamp(12.5px, 1vw, 14.5px); line-height: 1.5; max-width: 44ch; }
.hero-text__links { display: grid; gap: 7px; justify-items: start; font: 500 11px/1 var(--sans); letter-spacing: .15em; text-transform: uppercase; white-space: nowrap; }
.hero-text__place { display: none; }

/* ==========================================================================
   THE FIRM
   ========================================================================== */

.firm {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--j);
  padding: clamp(84px, 10.5vw, 176px) var(--m) clamp(84px, 9vw, 150px);
  background: var(--plaster);
  --fu: clamp(40px, 4.5vw, 80px);
}
.firm__text { grid-column: 1 / 8; align-self: start; }
.firm__lead { font-size: clamp(28px, 3.6vw, 60px); margin: clamp(22px, 2.2vw, 34px) 0 clamp(34px, 4.2vw, 68px); max-width: 17.5em; }
.hl { color: var(--sapele); }
.firm__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 3.4vw, 60px); max-width: 46rem; color: var(--slate); }
.firm__cols p { font-size: 14.5px; line-height: 1.7; }

.firm__bond { grid-column: 9 / 13; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: var(--fu); align-self: start; margin-top: clamp(-16px, -1vw, 0px); }
.f-a { grid-area: 1 / 1 / 8 / 4; }
.f-b { grid-area: 8 / 2 / 12 / 5; }
.f-a > img { object-position: 50% 40%; }

/* ==========================================================================
   WORK — five plates, five different bondings
   ========================================================================== */

.work { background: var(--plaster); padding: 0 var(--m) clamp(56px, 7vw, 120px); --u: clamp(46px, 5.35vw, 100px); }
.work__head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--j); align-items: end;
  padding-bottom: clamp(26px, 3vw, 46px);
}
.work__head .label { grid-column: 1 / 4; align-self: start; padding-top: .7em; }
.work__title { grid-column: 4 / 9; font-size: clamp(34px, 4.2vw, 68px); }
.work__hint { grid-column: 9 / 13; font-size: 13px; line-height: 1.55; color: var(--slate); justify-self: end; max-width: 26ch; text-align: right; }

.plate { margin-bottom: var(--j); }
.plate__bond { grid-auto-rows: var(--u); }

.plate__text { display: flex; flex-direction: column; padding: clamp(16px, 1.7vw, 28px); }
.plate__text h3 { font-size: clamp(25px, 2.35vw, 38px); margin: .55em 0 .5em; }
.plate__text > p:not(.label) { font-size: 13.5px; line-height: 1.6; color: var(--slate); max-width: 34ch; }
.plate__text .label { font-size: 11px; }
.tags { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 5px 5px; }
.tags li {
  font: 500 10.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 8px 6px; border: 1px solid var(--rule-l);
}

/* I — big left, text top right, a ribbon underneath */
.plate--1 .p-a { grid-area: 1 / 1 / 8 / 9; }
.plate--1 .p-t { grid-area: 1 / 9 / 5 / 13; }
.plate--1 .p-b { grid-area: 5 / 9 / 8 / 13; }
.plate--1 .p-c { grid-area: 8 / 1 / 12 / 5; }
.plate--1 .p-d { grid-area: 8 / 5 / 12 / 13; }
.plate--1 .p-a > img { object-position: 50% 55%; }
.plate--1 .p-b > img { object-position: 50% 62%; }
.plate--1 .p-c > img { object-position: 30% 55%; }
.plate--1 .p-d > img { object-position: 50% 60%; }

/* II — text top left, big right, the steps come down the left */
.plate--2 .p-t { grid-area: 1 / 1 / 5 / 5; }
.plate--2 .p-d { grid-area: 5 / 1 / 8 / 5; }
.plate--2 .p-a { grid-area: 1 / 5 / 8 / 13; }
.plate--2 .p-b { grid-area: 8 / 1 / 12 / 6; }
.plate--2 .p-c { grid-area: 8 / 6 / 12 / 13; }
.plate--2 .p-a > img { object-position: 50% 55%; }
.plate--2 .p-b > img { object-position: 50% 70%; }
.plate--2 .p-c > img { object-position: 50% 40%; }
.plate--2 .p-d > img { object-position: 50% 55%; }

/* III — a tall slab beside a wide one; the text is cut into the second course */
.plate--3 .p-b { grid-area: 1 / 1 / 7 / 5; }
.plate--3 .p-a { grid-area: 1 / 5 / 7 / 13; }
.plate--3 .p-t { grid-area: 7 / 1 / 12 / 4; }
.plate--3 .p-c { grid-area: 7 / 4 / 12 / 9; }
.plate--3 .p-d { grid-area: 7 / 9 / 12 / 13; }
.plate--3 .p-b > img { object-position: 50% 50%; }
.plate--3 .p-a > img { object-position: 50% 60%; }
.plate--3 .p-d > img { object-position: 40% 50%; }

/* IV — text sits in the middle of the first course */
.plate--4 .p-a { grid-area: 1 / 1 / 6 / 6; }
.plate--4 .p-t { grid-area: 1 / 6 / 6 / 10; }
.plate--4 .p-c { grid-area: 1 / 10 / 6 / 13; }
.plate--4 .p-d { grid-area: 6 / 1 / 12 / 8; }
.plate--4 .p-b { grid-area: 6 / 8 / 12 / 13; }
.plate--4 .p-c > img { object-position: 50% 45%; }
.plate--4 .p-d > img { object-position: 50% 45%; }
.plate--4 .p-b > img { object-position: 50% 55%; }

/* V — a wide slab and a tall one, text laid last at the far right */
.plate--5 .p-a { grid-area: 1 / 1 / 7 / 9; }
.plate--5 .p-b { grid-area: 1 / 9 / 7 / 13; }
.plate--5 .p-c { grid-area: 7 / 1 / 12 / 6; }
.plate--5 .p-d { grid-area: 7 / 6 / 12 / 10; }
.plate--5 .p-t { grid-area: 7 / 10 / 12 / 13; }
.plate--5 .p-a > img { object-position: 50% 62%; }
.plate--5 .p-b > img { object-position: 50% 50%; }
.plate--5 .p-c > img { object-position: 50% 55%; }

/* ==========================================================================
   SCHEDULE OF WORKS
   ========================================================================== */

.schedule { background: var(--plaster-2); padding: clamp(80px, 10vw, 168px) var(--m) clamp(150px, 14vw, 250px); position: relative; }
.schedule__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--j); align-items: start; }
.schedule__head { grid-column: 1 / 8; grid-row: 1; margin-bottom: clamp(28px, 4vw, 64px); }
.schedule__head h2 { font-size: clamp(34px, 4.2vw, 68px); margin-top: clamp(18px, 1.8vw, 28px); }

.sched { grid-column: 1 / 8; grid-row: 2; border-top: 1px solid var(--rule-l); }
.sched__item { border-bottom: 1px solid var(--rule-l); }
.sched__item > button {
  display: grid; grid-template-columns: clamp(34px, 3.4vw, 52px) minmax(0, 1.15fr) minmax(0, 1fr);
  column-gap: var(--m); align-items: baseline; width: 100%; text-align: left;
  padding: clamp(13px, 1.45vw, 21px) 0;
  transition: padding-left .55s var(--ease);
}
.sched__item > button:hover, .sched__item > button:focus-visible { padding-left: 12px; }
.sched__n { font: 500 11px/1 var(--sans); letter-spacing: .16em; color: var(--slate); transition: color .3s; }
.sched__name { font: 400 clamp(23px, 2.45vw, 38px)/1.08 var(--serif); letter-spacing: -.01em; transition: color .3s; }
.sched__desc { font-size: 13px; line-height: 1.55; color: var(--slate); max-width: 31ch; }
.sched__item.is-active .sched__name, .sched__item.is-active .sched__n { color: var(--sapele); }

.sched__view { grid-column: 8 / 13; grid-row: 1 / 3; position: sticky; top: calc(var(--hh) + 26px); margin-left: clamp(0px, 1.4vw, 24px); }
.sched__frame { aspect-ratio: 4 / 4.9; background: var(--plaster); }
.sched__frame > img.v-b { clip-path: inset(100% 0 0 0); }
.sched__frame > img.v-b.is-wiping { clip-path: inset(0 0 0 0); transition: clip-path .85s var(--ease-io); }
.sched__cap { display: flex; align-items: baseline; gap: 14px; padding-top: 13px; }
.sched__capn { font: 500 11px/1 var(--sans); letter-spacing: .16em; color: var(--sapele); }
.sched__capt { font: 400 21px/1.1 var(--serif); }

/* ==========================================================================
   THE RECORD — the dark course. Its top edge steps up, one tread per year.
   ========================================================================== */

.record {
  --st: clamp(34px, 5.6vw, 92px);
  position: relative; z-index: 2;
  margin-top: calc(var(--st) * -1);
  background: var(--damson); color: var(--plaster);
  padding: calc(var(--st) + clamp(70px, 8vw, 130px)) var(--m) clamp(80px, 9vw, 150px);
  clip-path: polygon(0 100%, 0 var(--st), 20% var(--st), 20% calc(var(--st) * .75), 40% calc(var(--st) * .75), 40% calc(var(--st) * .5), 60% calc(var(--st) * .5), 60% calc(var(--st) * .25), 80% calc(var(--st) * .25), 80% 0, 100% 0, 100% 100%);
}
.record__head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--j); align-items: end;
  margin-bottom: clamp(34px, 5vw, 84px);
}
.record__head .label { grid-column: 1 / 13; }
.record__head h2 { grid-column: 1 / 9; font-size: clamp(38px, 5.4vw, 90px); margin-top: clamp(18px, 1.8vw, 28px); }
.record__intro { grid-column: 9 / 13; color: var(--mist); font-size: 14px; line-height: 1.6; max-width: 30ch; }
.record__key { grid-column: 9 / 13; font: 500 10.5px/1 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--mist); display: flex; align-items: center; gap: .7em; margin-top: 14px; }
.record__key .k + .k, .record__key .k:not(:first-child) { margin-left: 1.2em; }
.k { display: inline-block; width: 9px; height: 9px; }
.k--m { background: var(--sapele-lt); }
.k--t { border: 1.5px solid var(--sapele-lt); }

.treads {
  --tu: clamp(48px, 5.1vw, 88px);
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--j);
  align-items: end; margin-bottom: var(--j);
}
.tread {
  position: relative; isolation: isolate; overflow: hidden;
  height: calc(var(--tu) * var(--h));
  background: var(--plaster); color: var(--damson);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(14px, 1.5vw, 24px);
}
.tread::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grain); opacity: .09; mix-blend-mode: multiply; }
.tread::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), inset 1px 1px 0 rgba(255, 255, 255, .7); }
.tread__year { font-size: clamp(30px, 3.2vw, 54px); }
.tread--now { background: var(--bone); }
.tread--now .tread__year { color: var(--sapele); }
.tread__list li {
  display: flex; align-items: baseline; gap: .75em;
  font: 400 13.5px/1.35 var(--sans);
  padding: .5em 0 .45em; border-top: 1px solid var(--rule-l);
}
.tread__list li::before { content: ""; width: 8px; height: 8px; flex: none; background: var(--sapele); transform: translateY(-1px); }
.tread__list li.t::before { background: none; border: 1.5px solid var(--sapele); }

.js .tread { clip-path: inset(100% 0 0 0); }
.js .tread.is-laid { clip-path: inset(0); transition: clip-path 1s var(--ease-io) var(--d, 0ms); }

.record__bond { grid-auto-rows: var(--ru); --ru: clamp(40px, 4.9vw, 84px); }
.r-a { grid-area: 1 / 1 / 8 / 7; }
.r-b { grid-area: 1 / 7 / 5 / 10; }
.r-c { grid-area: 1 / 10 / 5 / 13; }
.r-d { grid-area: 5 / 7 / 8 / 13; }
.r-a > img { object-position: 50% 60%; }
.r-b > img { object-position: 50% 50%; }
.r-d > img { object-position: 50% 45%; }

/* ==========================================================================
   START — the setting-out line, and where to find us
   ========================================================================== */

.start { background: var(--plaster); padding: clamp(80px, 10vw, 168px) var(--m) clamp(70px, 8vw, 128px); }
.start__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--j); align-items: start; }
.start__head { grid-column: 1 / 8; grid-row: 1; margin-bottom: clamp(30px, 4.4vw, 72px); }
.start__head h2 { font-size: clamp(34px, 4.2vw, 68px); margin-top: clamp(18px, 1.8vw, 28px); }

/* the string line, pulled between pegs */
.line { --ind: clamp(36px, 3.8vw, 60px); grid-column: 1 / 7; grid-row: 2; position: relative; padding-left: var(--ind); }
.line::before { content: ""; position: absolute; left: 5px; top: .7em; bottom: .7em; width: 1px; background: var(--sapele); }
.line li { position: relative; padding-bottom: clamp(28px, 3.4vw, 54px); }
.line li:last-child { padding-bottom: 0; }
.line__peg { position: absolute; left: calc(var(--ind) * -1); top: .5em; width: 11px; height: 11px; background: var(--sapele); }
.line h3 { font: 400 clamp(24px, 2.5vw, 38px)/1.1 var(--serif); letter-spacing: -.01em; }
.line p { max-width: 37em; color: var(--slate); margin-top: 10px; font-size: 14.5px; }

.start__card { grid-column: 8 / 13; grid-row: 1 / 3; margin-left: clamp(0px, 1.4vw, 24px); }
.start__cardbody { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.6vw, 44px); }
.start__tel { font: 400 clamp(32px, 3.7vw, 60px)/1 var(--serif); text-decoration: none; letter-spacing: -.01em; margin-top: clamp(12px, 1.8vw, 30px); }
.start__tel:hover { color: var(--sapele-lt); }
.start__mail { align-self: flex-start; font-size: clamp(14px, 1.15vw, 17px); }
.start__meta { margin-top: clamp(20px, 3vw, 52px); border-top: 1px solid var(--rule-d); }
.start__meta > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--rule-d); font-size: 14px; line-height: 1.5; }
.start__meta dt { font: 500 10.5px/1.9 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--mist); }

/* the last course runs the full width, each slab one joint wider than the last */
.start__bond { grid-column: 1 / 13; grid-row: 3; grid-auto-rows: clamp(40px, 4.6vw, 78px); margin-top: clamp(40px, 5vw, 90px); }
.s-a { grid-area: 1 / 1 / 7 / 4; }
.s-b { grid-area: 1 / 4 / 7 / 8; }
.s-c { grid-area: 1 / 8 / 7 / 13; }
.s-a > img { object-position: 50% 55%; }
.s-c > img { object-position: 50% 62%; }

/* ==========================================================================
   FOOTER — the pool. The wordmark stands at its edge and is reflected in it.
   ========================================================================== */

.pool { background: var(--damson); color: var(--plaster); padding: clamp(56px, 6vw, 100px) var(--m) 20px; overflow: hidden; }
.pool__top { display: flex; justify-content: space-between; align-items: baseline; gap: 18px 30px; flex-wrap: wrap; margin-bottom: clamp(36px, 5.4vw, 88px); }
.pool__links { display: flex; flex-wrap: wrap; gap: 12px clamp(18px, 2.6vw, 40px); font: 500 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.pool__place { font: 400 17px/1.2 var(--serif); color: var(--mist); }

.pool__edge { position: relative; z-index: 2; line-height: 1; padding-bottom: .02em; }
.pool__mark { display: block; line-height: .8; }
.pool__mark .mark__name { font-size: clamp(54px, 12.6vw, 230px); letter-spacing: .005em; }
.pool__water {
  position: relative; height: clamp(96px, 12.5vw, 214px); overflow: hidden;
  background: var(--pool);
  box-shadow: inset 0 1px 0 rgba(232, 223, 213, .3), inset 0 22px 34px -22px rgba(0, 0, 0, .85);
}
.pool__water::after {   /* the far edge of the coping, a hair above the bottom */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(232, 223, 213, .14);
}
.pool__mark--reflect {
  position: absolute; left: 0; top: 0; width: 100%;
  transform: scaleY(-1);
  color: var(--plaster); opacity: .5;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
          mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
  filter: url(#ripple);
}
.pool__legal { margin-top: 18px; font-size: 11.5px; letter-spacing: .06em; color: var(--mist); }

/* ==========================================================================
   SMALL SCREENS — composed, not collapsed.
   Below 900px the page is re-laid on a six-column bond. The opening becomes
   a single tall slab with the wordmark cut straight into the photograph.
   ========================================================================== */

@media (max-width: 1100px) {
  .top { grid-template-columns: auto 1fr auto; gap: 24px; }
  .nav { justify-self: center; }
  .top__tel small { display: none; }
}

@media (max-width: 900px) {
  :root { --hh: 54px; --j: 4px; }

  /* header: bare over the photograph until you scroll */
  .top { grid-template-columns: 1fr auto; background: transparent; color: var(--bone); }
  .top.is-solid { background: var(--damson); }
  .nav { display: none; }
  /* the small wordmark sits on the centre line of the page, outside the grid */
  .top .mark { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; grid-column: auto; grid-row: auto; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .5s var(--ease); pointer-events: none; }
  .top.is-solid .mark { opacity: 1; transform: none; pointer-events: auto; }
  .top__tel { grid-column: 1; grid-row: 1; justify-self: start; white-space: nowrap; font-size: 14px; text-shadow: 0 0 14px rgba(22, 10, 17, .55); }
  .top.is-solid .top__tel { text-shadow: none; }
  .top__tel small { display: inline; }
  .top__menu {
    display: block; grid-column: 2; grid-row: 1; justify-self: end;
    font: 500 11.5px/1 var(--sans); letter-spacing: .17em; text-transform: uppercase;
    padding: 14px 0 14px 14px; text-shadow: 0 0 14px rgba(22, 10, 17, .55);
  }
  .top.is-solid .top__menu { text-shadow: none; }

  /* opening: the wordmark is cut into the photograph */
  .opening { height: auto; min-height: 0; padding: 0 var(--m) var(--m); }
  .opening__bond {
    height: auto; grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: max(430px, calc(80svh - var(--j))) max(110px, 17svh) max(130px, 22svh);
    margin: 0 calc(var(--m) * -1); padding: 0 var(--m);
  }
  .o-b { grid-area: 1 / 1 / 2 / 7; margin: 0 calc(var(--m) * -1); }
  .o-d { grid-area: 1 / 1 / 2 / 7; z-index: 5; background: none; color: var(--bone); align-self: stretch; margin: 0 calc(var(--m) * -1); clip-path: none !important; }
  .js .o-d[data-lay] { clip-path: none; }
  .o-d::before, .o-d::after { display: none; }
  .o-b::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(22, 10, 17, .30); }
  .o-b > img { object-position: 46% 62%; }
  .o-a { grid-area: 2 / 1 / 3 / 3; }
  .o-e { grid-area: 2 / 3 / 3 / 7; }
  .o-f { grid-area: 3 / 1 / 4 / 5; }
  .o-c { grid-area: 3 / 5 / 4 / 7; }
  .o-a > img { object-position: 52% 70%; }
  .o-e > img { object-position: 50% 50%; }
  .o-f > img { object-position: 30% 50%; }

  .hero-text {
    grid-template-rows: auto 1fr auto auto; align-content: end;
    padding: calc(var(--hh) + 10px) calc(var(--m) * 2) calc(var(--m) * 1.6);
  }
  .hero-text__label { color: var(--bone); }
  .hero-text__label::before { background: var(--sapele-lt); }
  .hero-text__mark { align-self: end; grid-row: 3; margin-top: auto; padding-top: 28px; }
  .hero-text__label { grid-row: 2; align-self: end; margin-bottom: 18px; }
  .hero-text__mark .mark__name { font-size: 21.6cqi; text-shadow: none; }
  .hero-text__mark .mark__name i { background: var(--sapele-lt); }
  .hero-text__mark .mark__sub { font-size: 7.2cqi; color: var(--bone); margin-top: .35em; letter-spacing: .03em; }
  .hero-text__foot { grid-row: 4; grid-template-columns: 1fr; border-top: 1px solid rgba(243, 238, 231, .4); margin-top: 22px; padding-top: 16px; }
  .hero-text__line { display: none; }
  .hero-text__links { grid-auto-flow: column; justify-content: space-between; width: 100%; font-size: 11px; }
  .hero-text__place { display: none; }

  /* firm */
  .firm { grid-template-columns: 1fr; padding: clamp(68px, 16vw, 100px) var(--m) clamp(60px, 14vw, 90px); --fu: 13vw; }
  .firm__text { grid-column: 1; }
  .firm__lead { font-size: clamp(28px, 7.6vw, 40px); max-width: none; }
  .firm__cols { grid-template-columns: 1fr; gap: 14px; }
  .firm__bond { grid-column: 1; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: clamp(36px, 9vw, 60px) 0 0; }
  .f-a { grid-area: 1 / 1 / 7 / 5; }
  .f-b { grid-area: 4 / 5 / 9 / 7; }
  .f-b > img { object-position: 46% 50%; }

  /* work */
  .work { --u: 15.5vw; padding-bottom: clamp(40px, 10vw, 70px); }
  .work__head { grid-template-columns: 1fr; gap: 14px; }
  .work__head .label, .work__title, .work__hint { grid-column: 1; }
  .work__hint { justify-self: start; text-align: left; max-width: 34ch; }
  .plate__bond { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: auto; }
  .plate__bond > .slab { grid-area: auto; }
  .plate__bond .p-t { order: -1; grid-column: 1 / 7; }
  .plate__bond .p-a { grid-column: 1 / 7; aspect-ratio: 5 / 4; }
  .plate__bond .p-b { grid-column: 1 / 4; aspect-ratio: 3 / 4; }
  .plate__bond .p-c { grid-column: 4 / 7; aspect-ratio: 3 / 4; }
  .plate__bond .p-d { grid-column: 1 / 7; aspect-ratio: 16 / 10; }
  .plate--2 .p-b, .plate--4 .p-b { grid-column: 1 / 5; }
  .plate--2 .p-c, .plate--4 .p-c { grid-column: 5 / 7; }
  .plate--3 .p-b { grid-column: 1 / 3; }
  .plate--3 .p-c { grid-column: 3 / 7; }
  .plate--3 .p-a { order: 1; }
  .plate--3 .p-b { order: 2; } .plate--3 .p-c { order: 3; } .plate--3 .p-d { order: 4; }
  .plate__text { padding: 20px 18px 22px; }
  .plate__text h3 { font-size: clamp(28px, 7.4vw, 38px); }
  .plate__text > p:not(.label) { max-width: none; font-size: 14px; }
  .tags { padding-top: 18px; }

  /* schedule: an accordion, the photograph opens inside its row */
  .schedule { padding: clamp(64px, 15vw, 100px) var(--m) clamp(120px, 28vw, 170px); }
  .schedule__grid { grid-template-columns: 1fr; }
  .schedule__head, .sched { grid-column: 1; grid-row: auto; }
  .sched__item > button { grid-template-columns: 2.6rem 1fr; row-gap: 6px; }
  .sched__item > button:hover { padding-left: 0; }
  .sched__desc { grid-column: 2; max-width: none; }
  .sched__item .sched__view { position: static; grid-column: auto; margin: 0 0 18px; }
  .sched__view { margin: 0; }
  .sched__view.is-docked .sched__frame { aspect-ratio: 4 / 3.4; }
  .sched__cap { display: none; }
  .schedule__grid > .sched__view { display: none; }

  /* record: the treads descend as a stair down the page */
  .record { --st: 8vw; padding-bottom: clamp(60px, 14vw, 100px); }
  .record__head { grid-template-columns: 1fr; gap: 12px; }
  .record__head .label, .record__head h2, .record__intro, .record__key { grid-column: 1; }
  .record__key { margin-top: 4px; }
  .treads { grid-template-columns: 1fr; align-items: stretch; }
  .tread { height: auto; flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 18px; padding: 16px 16px 14px; margin-left: calc(var(--i, 0) * 5.5%); }
  .tread[data-tread="1"] { --i: 1; } .tread[data-tread="2"] { --i: 2; } .tread[data-tread="3"] { --i: 3; } .tread[data-tread="4"] { --i: 4; }
  .tread__year { font-size: clamp(28px, 8vw, 38px); line-height: 1; padding-top: 2px; }
  .tread__list { flex: 1 1 62%; max-width: 62%; }
  .tread__list li:first-child { border-top: 0; padding-top: 4px; }
  .record__bond { --ru: 11vw; grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .r-a { grid-area: 1 / 1 / 6 / 7; }
  .r-b { grid-area: 6 / 1 / 10 / 4; }
  .r-c { grid-area: 6 / 4 / 10 / 7; }
  .r-d { grid-area: 10 / 1 / 14 / 7; }

  /* start */
  .start { padding: clamp(64px, 15vw, 100px) var(--m) clamp(60px, 14vw, 90px); }
  .start__grid { grid-template-columns: 1fr; }
  .start__head, .line, .start__card, .start__bond { grid-column: 1; grid-row: auto; margin-left: 0; }
  .start__card { margin-top: clamp(40px, 10vw, 64px); }
  .start__bond { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 12vw; margin-top: var(--j); }
  .s-a { grid-area: 1 / 1 / 5 / 4; }
  .s-b { grid-area: 1 / 4 / 5 / 7; }
  .s-c { grid-area: 5 / 1 / 10 / 7; }

  /* pool */
  .pool__mark .mark__name { font-size: 19.5vw; }
  .pool__water { height: 22vw; }
}

@media (max-width: 440px) {
  .top__tel small { display: none; }   /* the number is enough; keeps clear of the wordmark */
}
@media (max-width: 420px) {
  .hero-text__mark .mark__name { font-size: 21cqi; }
  .tread__list li { font-size: 13px; }
}

@media (min-width: 1800px) {
  .firm__lead, .work__title, .schedule__head h2, .start__head h2 { font-size: 4rem; }
}
