:root {
  --chalk: #f4eedc;
  --cobalt: #2457a7;
  --cobalt-hot: #2d67c4;
  --terracotta: #c85d38;
  --terracotta-hot: #b04e2d;
  --lemon: #e5c63d;
  --olive: #667447;
  --turquoise: #59a9a4;
  --rose: #c98a89;
  --doorway: #242836;
  --stone: #cfc1a5;
  --white: #fffdf5;
  --ink: #242836;
  --ink-soft: #3a3f51;
  --shadow: rgba(36, 40, 54, 0.18);
  --shadow-hard: rgba(36, 40, 54, 0.28);
  --display: "Syne", sans-serif;
  --body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", sans-serif;
  --mono: "Azeret Mono", ui-monospace, monospace;
  --space: clamp(1rem, 2.4vw, 2.5rem);
  --canopy: 4.6rem;
  --ease: cubic-bezier(0.22, 0.71, 0.18, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

html.reduce-motion {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--chalk);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
figure {
  margin: 0;
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--lemon);
  color: var(--doorway);
  padding: 0.6rem 0.9rem;
  font-weight: 700;
}

.skip:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shade-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stucco {
  position: relative;
}

.stucco::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/plaster.svg");
  background-size: 180px;
  opacity: 0.045;
  pointer-events: none;
  z-index: 0;
}

.stucco > * {
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.75rem 1.35rem;
  border: 0;
  border-radius: 1px;
  background: var(--cobalt);
  color: var(--white);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 5px 5px 0 var(--shadow-hard);
  transform: translate(0, 0);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--shadow-hard);
}

.btn--terra {
  background: var(--terracotta);
}

.btn--lemon {
  background: var(--lemon);
  color: var(--doorway);
}

.link-tile {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid currentColor;
  padding-bottom: 0.12rem;
}

.link-tile::before {
  content: "";
  width: 0.62rem;
  height: 0.62rem;
  background: var(--terracotta);
  transition: transform 0.2s var(--ease);
}

.link-tile:hover::before,
.link-tile:focus-visible::before {
  transform: translate(3px, -2px);
}

.canopy {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--canopy);
  padding: 0.55rem 4vw;
  background: var(--white);
  color: var(--ink);
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

.canopy::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 10px;
  background: linear-gradient(90deg, transparent 0 8%, var(--shadow) 8% 42%, transparent 42%),
    linear-gradient(#0000, #0000);
  clip-path: polygon(8% 0, 64% 0, 58% 100%, 2% 100%);
  opacity: 0.35;
  pointer-events: none;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.logo-mark {
  width: 0.72rem;
  height: 0.72rem;
  background: var(--cobalt);
  box-shadow: 3px 3px 0 var(--lemon);
}

.logo-text {
  font-size: 0.92rem;
}

.canopy-links {
  display: flex;
  justify-content: center;
  gap: clamp(1.4rem, 4vw, 3.4rem);
}

.canopy-links a {
  position: relative;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.canopy-links a::before {
  content: "";
  position: absolute;
  left: -0.85rem;
  top: 0.18rem;
  width: 0.48rem;
  height: 0.48rem;
  background: transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.canopy-links a[aria-current="page"]::before,
.canopy-links a:hover::before,
.canopy-links a:focus-visible::before {
  background: var(--cobalt);
  box-shadow: 2px 2px 0 var(--shadow-hard);
}

.canopy-links a:hover::before,
.canopy-links a:focus-visible::before {
  transform: translate(3px, -2px);
}

.canopy-cta {
  justify-self: end;
}

.canopy-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  border: 0;
  background: var(--cobalt);
  color: var(--white);
  cursor: pointer;
}

.canopy-toggle span,
.canopy-toggle span::before,
.canopy-toggle span::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  margin: 0 auto;
  position: relative;
}

.canopy-toggle span::before,
.canopy-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.canopy-toggle span::before {
  top: -6px;
}

.canopy-toggle span::after {
  top: 6px;
}

.canopy[data-canopy="cobalt"],
.canopy[data-canopy="doorway"],
.canopy[data-canopy="olive"] {
  background: var(--cobalt);
  color: var(--white);
}

.canopy[data-canopy="cobalt"] .logo-mark,
.canopy[data-canopy="doorway"] .logo-mark,
.canopy[data-canopy="olive"] .logo-mark {
  background: var(--lemon);
  box-shadow: 3px 3px 0 var(--white);
}

.canopy[data-canopy="cobalt"] .canopy-links a[aria-current="page"]::before,
.canopy[data-canopy="cobalt"] .canopy-links a:hover::before,
.canopy[data-canopy="doorway"] .canopy-links a[aria-current="page"]::before,
.canopy[data-canopy="olive"] .canopy-links a[aria-current="page"]::before {
  background: var(--lemon);
}

.canopy[data-canopy="terra"] {
  background: var(--terracotta);
  color: var(--white);
}

.canopy[data-canopy="lemon"] {
  background: var(--lemon);
}

.canopy[data-canopy="cool"] {
  background: var(--turquoise);
  color: var(--doorway);
}

.canopy[data-canopy="night"] {
  background: var(--doorway);
  color: var(--chalk);
}

.slab-nav {
  position: fixed;
  inset: var(--canopy) 0 0 0;
  z-index: 45;
  display: grid;
  grid-template-rows: 1.15fr 1fr 0.85fr;
}

.slab-nav[hidden] {
  display: none;
}

.slab {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.2rem 8vw;
  gap: 0.8rem;
}

.slab a {
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 8vw, 3rem);
  width: fit-content;
}

.slab--cobalt {
  background: var(--cobalt);
  color: var(--white);
}

.slab--cobalt a:nth-child(2) {
  margin-left: 18vw;
}

.slab--chalk {
  background: var(--chalk);
}

.slab--chalk a:first-child {
  margin-left: 10vw;
}

.slab--chalk a:nth-child(2) {
  margin-left: 32vw;
}

.slab--terra {
  background: var(--terracotta);
  color: var(--white);
}

.slab--terra a {
  margin-left: auto;
}

.hero {
  position: relative;
  min-height: 100vh;
  background: var(--white);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(16rem, 1.05fr) minmax(12rem, 1.35fr) minmax(16rem, 1.1fr);
  grid-template-rows: auto 1fr auto;
  padding: calc(var(--canopy) * 0.15) 4vw 4.5rem;
  isolation: isolate;
}

.hero-wall {
  position: absolute;
  left: 0;
  top: 0;
  width: 17vw;
  min-width: 5.5rem;
  height: 100%;
  background: var(--cobalt);
  z-index: 0;
  transform: translateX(-100%);
}

.hero-wall::after {
  content: "";
  position: absolute;
  right: -2.4rem;
  top: 12%;
  width: 2.4rem;
  height: 28%;
  background: var(--terracotta);
}

.hero-door {
  position: absolute;
  left: 9vw;
  top: 42%;
  width: 3.4vw;
  min-width: 1.6rem;
  height: 26%;
  background: var(--white);
  z-index: 1;
  box-shadow: 12px 18px 0 rgba(36, 40, 54, 0.14);
}

.hero-a,
.hero-b,
.hero-c,
.hero-d,
.hero-void,
.hero-tag {
  position: relative;
  z-index: 2;
}

.hero-a {
  grid-column: 1;
  grid-row: 1;
  padding: 2.2rem 0 0 14vw;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
  max-width: 8ch;
  color: var(--doorway);
  opacity: 0;
}

.hero-tag {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  margin-top: 1.4rem;
  background: var(--lemon);
  color: var(--doorway);
  padding: 0.55rem 0.7rem;
  box-shadow: 12px 18px 0 rgba(36, 40, 54, 0.16);
}

.hero-void {
  grid-column: 2;
  grid-row: 1 / 4;
  min-height: 62vh;
  position: relative;
}

.hero-shadow {
  position: absolute;
  z-index: 1;
  top: -6%;
  right: -18%;
  width: 92%;
  height: 86%;
  background: rgba(36, 40, 54, 0.12);
  clip-path: polygon(22% 0, 100% 0, 78% 100%, 0 100%);
  pointer-events: none;
  transition: transform 0.25s linear;
}

.hero-aperture {
  position: absolute;
  z-index: 2;
  width: min(42%, 15rem);
  aspect-ratio: 3 / 4;
  top: 38%;
  left: 44%;
  overflow: hidden;
  background: var(--stone);
  box-shadow: -14px 0 0 var(--cobalt), 18px 28px 0 rgba(36, 40, 54, 0.16);
  clip-path: inset(100% 0 0 0);
}

.hero-aperture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.05);
}

.hero-c {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  max-width: 16rem;
  margin-left: 14vw;
  padding-top: 2rem;
  font-size: 0.98rem;
  color: var(--ink-soft);
  opacity: 0;
}

.hero-d {
  grid-column: 3;
  grid-row: 2;
  align-self: end;
  justify-self: end;
  margin: 0 0 2rem;
  opacity: 0;
}

.hero-b {
  grid-column: 3;
  grid-row: 3;
  justify-self: end;
  text-align: right;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.6vw, 4.4rem);
  line-height: 0.9;
  color: var(--cobalt);
  max-width: 11ch;
  opacity: 0;
}

.doorway-word {
  display: inline-block;
  background: var(--white);
  color: var(--doorway);
  padding: 0.04em 0.18em 0.08em;
  box-shadow: 0 0 0 8px var(--cobalt);
  margin-left: 0.12em;
}

.doorway-word--sun {
  box-shadow: 0 0 0 10px var(--white);
  background: var(--doorway);
  color: var(--lemon);
}

body.is-ready .hero-door {
  animation: aperture 0.8s var(--ease) 0.35s both;
}

body.is-ready .hero-wall {
  transform: none;
  transition: transform 0.9s var(--ease) 0.15s;
}

body.is-ready .hero-shadow {
  animation: shadow-sweep 1.05s var(--ease) 0.45s both;
}

body.is-ready .hero-a {
  animation: type-in 0.7s var(--ease) 0.7s both;
}

body.is-ready .hero-b {
  animation: type-in 0.7s var(--ease) 0.95s both;
}

body.is-ready .hero-aperture {
  animation: aperture 0.8s var(--ease) 1.15s both;
}

body.is-ready .hero-c,
body.is-ready .hero-d {
  animation: type-in 0.6s var(--ease) 1.35s both;
}

@keyframes shadow-sweep {
  from {
    transform: translateX(7%);
    opacity: 0.2;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes type-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes aperture {
  from {
    clip-path: inset(100% 0 0 0);
  }
  to {
    clip-path: inset(0);
  }
}

.passage {
  min-height: 42vh;
  background: var(--olive);
  color: var(--white);
  display: grid;
  grid-template-columns: minmax(0, 38rem) auto auto;
  gap: 2rem;
  align-items: center;
  padding: 3.2rem 8vw;
  position: relative;
  overflow: hidden;
}

.passage::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 18%;
  width: 46%;
  background: repeating-linear-gradient(
    90deg,
    rgba(36, 40, 54, 0.22) 0 7px,
    transparent 7px 16px
  );
  pointer-events: none;
}

.passage-copy {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.2;
  max-width: 22ch;
}

.passage-caps {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.passage-frag {
  width: 7.2rem;
  height: 4.6rem;
  overflow: hidden;
  justify-self: end;
  box-shadow: -16px 0 0 rgba(36, 40, 54, 0.25);
}

.passage-frag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.1);
}

.side-room {
  min-height: 95vh;
  display: grid;
  grid-template-columns: 7fr 3fr;
  background: var(--white);
}

.side-wall {
  background: var(--terracotta);
  color: var(--white);
  padding: 6vh 6vw 12vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
  overflow: hidden;
}

.side-wall::after {
  content: "";
  position: absolute;
  top: 0;
  right: 12%;
  width: 38%;
  height: 100%;
  background: rgba(36, 40, 54, 0.16);
  clip-path: polygon(40% 0, 100% 0, 70% 100%, 0 100%);
  pointer-events: none;
}

.side-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.86;
  letter-spacing: -0.03em;
  align-self: end;
  max-width: 9ch;
}

.side-copy {
  max-width: 18rem;
  justify-self: end;
  align-self: start;
  margin-top: 8vh;
}

.side-open {
  background: var(--white);
  min-height: 100%;
  padding: 8vh 6% 6vh;
  display: flex;
  align-items: stretch;
}

.side-open figure {
  width: 100%;
  min-height: 70vh;
  overflow: hidden;
  box-shadow: -22px 28px 0 rgba(36, 40, 54, 0.12);
}

.side-open img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.window-wall {
  min-height: 120vh;
  background: var(--cobalt);
  color: var(--white);
  padding: 7vh 3vw 8vh;
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 1fr 0.55fr 0.9fr;
  grid-template-rows: 0.55fr 1.15fr 0.42fr 0.95fr;
  gap: 0.85rem;
  position: relative;
}

.window-wall::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(36, 40, 54, 0.18) 40% 62%, transparent 62%);
  pointer-events: none;
}

.opening {
  position: relative;
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 0 0 1px rgba(36, 40, 54, 0.08);
}

.opening h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.05rem, 1.8vw, 1.7rem);
  line-height: 1.05;
  overflow-wrap: break-word;
}

.opening p {
  font-size: 0.92rem;
}

.ow-1 {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  padding: 1.6rem;
}

.ow-1 img {
  position: absolute;
  inset: auto 0 0 auto;
  width: 46%;
  height: 58%;
  object-fit: cover;
}

.ow-2 {
  grid-column: 3;
  grid-row: 1;
  background: var(--lemon);
}

.ow-3 {
  grid-column: 4 / 6;
  grid-row: 1 / 2;
  background: var(--chalk);
  min-height: 8rem;
}

.ow-4 {
  grid-column: 3 / 5;
  grid-row: 2 / 4;
}

.ow-4 img {
  width: 100%;
  height: 42%;
  object-fit: cover;
}

.ow-5 {
  grid-column: 5;
  grid-row: 2 / 5;
  background: var(--turquoise);
  color: var(--doorway);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 1.4rem 1rem;
}

.ow-6 {
  grid-column: 1 / 3;
  grid-row: 3 / 5;
  background: var(--chalk);
}

.ow-6 img {
  width: 34%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  right: 0;
  top: 0;
}

.rooftop {
  min-height: 65vh;
  background: var(--white);
  padding: 6vh 6vw 8vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
}

.rooftop-tile {
  width: 4.2rem;
  height: 4.2rem;
  background: var(--lemon);
  justify-self: end;
  box-shadow: 14px 18px 0 rgba(36, 40, 54, 0.12);
}

.rooftop h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 5.6rem);
  line-height: 0.92;
  max-width: 16ch;
  align-self: end;
  letter-spacing: -0.03em;
}

.service-court {
  min-height: 110vh;
  background: var(--chalk);
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(18rem, 38vmin) minmax(12rem, 1fr);
  grid-template-rows: auto minmax(18rem, 38vmin) auto;
  gap: 1.1rem;
  padding: 7vh 4vw;
  position: relative;
  --wall: var(--stone);
}

.service-court::before {
  content: "";
  position: absolute;
  inset: 8% 18% auto 0;
  height: 46%;
  background: rgba(36, 40, 54, 0.08);
  clip-path: polygon(0 0, 70% 0, 52% 100%, 0 100%);
  pointer-events: none;
}

.svc-north {
  grid-column: 1 / 4;
  grid-row: 1;
}

.svc-west {
  grid-column: 1;
  grid-row: 2;
}

.svc-void {
  grid-column: 2;
  grid-row: 2;
  background: var(--white);
  box-shadow: inset 0 0 0 1px rgba(36, 40, 54, 0.08);
  position: relative;
  overflow: hidden;
}

.svc-void::after {
  content: "";
  position: absolute;
  inset: 18% 22% 28% 18%;
  background: var(--wall);
  transition: background 0.3s var(--ease);
}

.svc-east {
  grid-column: 3;
  grid-row: 2;
  display: grid;
  gap: 1.1rem;
}

.svc-south {
  grid-column: 1 / 4;
  grid-row: 3;
}

.svc-item {
  background: var(--white);
  padding: 1.2rem 1.3rem;
  text-decoration: none;
  display: block;
  border: 0;
  text-align: left;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.svc-item h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.4vw, 2.2rem);
  line-height: 1;
  margin-bottom: 0.45rem;
}

.svc-north {
  background: var(--cobalt);
  color: var(--white);
  min-height: 8.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.svc-west {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  background: var(--olive);
  color: var(--white);
  min-height: 100%;
}

.svc-east .svc-item:first-child {
  background: var(--lemon);
  color: var(--doorway);
}

.svc-east .svc-item:last-child {
  background: var(--white);
}

.svc-south {
  background: var(--terracotta);
  color: var(--white);
  min-height: 9rem;
}

.service-court[data-hot="north"] .svc-north,
.svc-north.is-hot {
  background: var(--cobalt-hot);
}

.service-court[data-hot="south"] .svc-south,
.svc-south.is-hot {
  background: var(--terracotta-hot);
}

.service-court[data-hot="west"] {
  --wall: #5a683c;
}

.service-court[data-hot="east"] {
  --wall: var(--lemon);
}

.svc-shot {
  position: absolute;
  inset: auto 8% 8% auto;
  width: 38%;
  aspect-ratio: 1;
  object-fit: cover;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.svc-item.is-hot .svc-shot,
.svc-item:focus-visible .svc-shot {
  opacity: 1;
  transform: none;
}

.sun-break {
  min-height: 35vh;
  background: var(--lemon);
  display: grid;
  place-items: center;
  padding: 8vh 4vw;
  position: relative;
  overflow: hidden;
}

.sun-break::after {
  content: "";
  position: absolute;
  width: 40%;
  height: 140%;
  right: 8%;
  top: -20%;
  background: rgba(36, 40, 54, 0.12);
  transform: skewX(-18deg);
}

.sun-break h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.4rem, 12vw, 10rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: var(--doorway);
  position: relative;
}

.terraces {
  background: var(--chalk);
  padding: 0 0 8vh;
  display: grid;
  gap: 0;
}

.terrace {
  display: grid;
  position: relative;
}

.terrace-1 {
  background: var(--white);
  min-height: 78vh;
  grid-template-columns: minmax(16rem, 0.9fr) minmax(18rem, 1.1fr);
  padding: 8vh 6vw 6vh 8vw;
  gap: 3vw;
}

.terrace-1 .case-visual {
  width: min(100%, 32rem);
  aspect-ratio: 1;
  overflow: hidden;
  justify-self: end;
  box-shadow: 24px 32px 0 rgba(36, 40, 54, 0.12);
}

.terrace-2 {
  background: var(--stone);
  min-height: 42vh;
  margin-left: 8vw;
  grid-template-columns: 1.4fr 0.8fr;
  padding: 4.5rem 6vw 4.5rem 4vw;
  align-items: center;
  gap: 2rem;
}

.terrace-2 .case-visual {
  height: 9.5rem;
  overflow: hidden;
}

.terrace-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.terrace-3 {
  width: min(28rem, 86vw);
  margin: -3.5rem 8vw 0 auto;
  background: var(--cobalt);
  color: var(--white);
  padding: 2rem 1.6rem 2.2rem;
  min-height: 28rem;
  z-index: 2;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.terrace-3 .case-visual {
  width: 7.4rem;
  height: 11rem;
  overflow: hidden;
  justify-self: end;
}

.terrace-4 {
  background: var(--terracotta);
  color: var(--white);
  min-height: 36vh;
  margin-right: 18vw;
  padding: 4.5rem 6vw;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.4rem;
  align-items: end;
}

.terrace-4 .case-visual {
  width: 8.5rem;
  height: 8.5rem;
  overflow: hidden;
  box-shadow: 12px 16px 0 rgba(36, 40, 54, 0.2);
}

.case-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-kicker {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.case-copy h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.4vw, 3.2rem);
  line-height: 0.95;
  margin-bottom: 1rem;
}

.case-copy dl {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.case-copy dt {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-copy dd {
  margin: 0.15rem 0 0;
}

.cool-room {
  min-height: 90vh;
  background: var(--turquoise);
  color: var(--doorway);
  display: grid;
  grid-template-columns: 1fr 1.15fr 0.7fr;
  grid-template-rows: auto 1fr auto;
  padding: 8vh 5vw;
  position: relative;
  overflow: hidden;
}

.cool-room::after {
  content: "";
  position: absolute;
  width: 44%;
  height: 100%;
  right: 0;
  top: 0;
  background: var(--doorway);
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.92;
}

.cool-room > * {
  position: relative;
  z-index: 1;
}

.cool-kicker {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.cool-copy {
  grid-column: 2;
  grid-row: 2;
  max-width: 28rem;
  color: var(--white);
  font-size: 1.12rem;
  margin-top: 8vh;
}

.cool-empty {
  grid-column: 3;
  grid-row: 1 / 3;
}

.cool-image {
  grid-column: 1;
  grid-row: 3;
  width: 11rem;
  height: 8.5rem;
  overflow: hidden;
  box-shadow: 16px 0 0 var(--doorway);
}

.cool-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.steps-room {
  min-height: 100vh;
  background: var(--white);
  padding: 8vh 4vw 0;
  overflow: hidden;
}

.steps-room h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 4.4rem);
  margin: 0 0 6vh auto;
  text-align: right;
  max-width: 10ch;
  line-height: 0.9;
}

.steps {
  display: flex;
  align-items: flex-end;
  min-height: 78vh;
}

.step {
  flex: 1;
  min-width: 0;
  padding: 1.3rem 1rem 2rem;
  color: var(--doorway);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.55rem;
}

.step:nth-child(1) {
  background: var(--chalk);
  min-height: 28vh;
}

.step:nth-child(2) {
  background: var(--stone);
  min-height: 38vh;
}

.step:nth-child(3) {
  background: var(--lemon);
  min-height: 48vh;
}

.step:nth-child(4) {
  background: var(--terracotta);
  color: var(--white);
  min-height: 58vh;
}

.step:nth-child(5) {
  background: var(--cobalt);
  color: var(--white);
  min-height: 70vh;
}

.step:nth-child(6) {
  background: var(--olive);
  color: var(--white);
  min-height: 82vh;
}

.step span {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.step h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
}

.step p {
  font-size: 0.92rem;
}

.arcade {
  background: var(--chalk);
  padding: 8vh 0 0;
  overflow: hidden;
}

.arcade-head {
  padding: 0 5vw 3vh;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.bays {
  display: grid;
  grid-template-columns: 1.15fr 0.8fr 1fr 0.95fr;
  min-height: 62vh;
  gap: 0.7rem;
  padding: 0 2vw 6vh;
}

.bay {
  padding: 1.6rem 1.4rem 2rem;
  min-height: 22rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bay:nth-child(1) {
  background: var(--white);
  margin-top: 3rem;
}

.bay:nth-child(2) {
  background: var(--cobalt);
  color: var(--white);
  margin-top: 0;
}

.bay:nth-child(3) {
  background: var(--stone);
  margin-top: 5rem;
}

.bay:nth-child(4) {
  background: var(--olive);
  color: var(--white);
  margin-top: 1.4rem;
}

.bay h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 1;
}

.patio {
  min-height: 92vh;
  background: var(--stone);
  padding: 8vh 5vw;
  display: grid;
  grid-template-columns: 1fr minmax(12rem, 22vmin) 1fr;
  grid-template-rows: auto auto 1fr auto;
  gap: 1.2rem 1.4rem;
}

.patio-void {
  grid-column: 2;
  grid-row: 2 / 4;
  background: var(--chalk);
  min-height: 18rem;
  position: relative;
}

.patio-void::after {
  content: "";
  position: absolute;
  width: 42%;
  height: 54%;
  right: 12%;
  bottom: 10%;
  background: rgba(36, 40, 54, 0.1);
}

.patio h2 {
  grid-column: 1;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.92;
}

.patio-def {
  grid-column: 1;
  grid-row: 2;
  max-width: 28ch;
}

.patio-approach {
  grid-column: 3;
  grid-row: 2;
  justify-self: end;
  max-width: 24ch;
  text-align: right;
}

.patio-image {
  grid-column: 1;
  grid-row: 3;
  width: 11rem;
  height: 14rem;
  overflow: hidden;
  align-self: end;
}

.patio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.patio-place {
  grid-column: 3;
  grid-row: 4;
  justify-self: end;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.patio-principle {
  grid-column: 1 / 4;
  grid-row: 4;
  max-width: 36ch;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
}

.cap-wall {
  background: var(--white);
  padding: 10vh 5vw 8vh;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.85rem 1rem;
  align-items: end;
}

.cap-wall h2 {
  grid-column: 8 / 13;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.9;
  text-align: right;
  margin-bottom: 2rem;
}

.cap {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.95;
  background: var(--chalk);
  padding: 0.7rem 0.8rem;
}

.cap-xl {
  grid-column: 1 / 7;
  font-size: clamp(1.8rem, 4vw, 3.3rem);
  background: var(--cobalt);
  color: var(--white);
  min-height: 8rem;
  display: flex;
  align-items: flex-end;
}

.cap-lg {
  grid-column: 7 / 11;
  font-size: 1.5rem;
  background: var(--lemon);
}

.cap-md {
  grid-column: 11 / 13;
  font-size: 1.05rem;
}

.cap-a {
  grid-column: 1 / 4;
  background: var(--terracotta);
  color: var(--white);
}

.cap-b {
  grid-column: 4 / 8;
}

.cap-c {
  grid-column: 8 / 10;
  background: var(--olive);
  color: var(--white);
}

.cap-d {
  grid-column: 10 / 13;
}

.cap-e {
  grid-column: 2 / 6;
  font-size: 1.3rem;
}

.cap-f {
  grid-column: 6 / 9;
  background: var(--turquoise);
}

.cap-g {
  grid-column: 9 / 13;
  font-size: 1.15rem;
}

.shade-marquee {
  position: relative;
  background: var(--lemon);
  overflow: hidden;
  padding: 2.8rem 0;
}

.shade-marquee::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(
    90deg,
    rgba(229, 198, 61, 0.94) 0 9px,
    transparent 9px 20px
  );
}

.marquee {
  display: flex;
  gap: 2.4rem;
  white-space: nowrap;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cobalt);
}

.marquee--b {
  color: var(--terracotta);
  margin-top: 0.8rem;
  font-size: clamp(1.1rem, 2.2vw, 1.7rem);
}

.marquee-track {
  display: flex;
  gap: 2.4rem;
  animation: marquee-left 42s linear infinite;
}

.marquee--b .marquee-track {
  animation-name: marquee-right;
  animation-duration: 48s;
}

@keyframes marquee-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes marquee-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.sunset {
  min-height: 38vh;
  background: var(--terracotta);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  padding: 6vh 6vw;
  position: relative;
  overflow: hidden;
}

.sunset::before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: 46%;
  height: 100%;
  background: var(--rose);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}

.sunset p {
  position: relative;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 0.95;
  max-width: 14ch;
}

.sunset-shot {
  position: relative;
  width: 10rem;
  height: 7rem;
  overflow: hidden;
}

.sunset-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.25) saturate(1.1);
}

.gate {
  min-height: 78vh;
  background: var(--cobalt);
  display: grid;
  place-items: center;
  padding: 14vh 8vw 16vh;
  position: relative;
  overflow: hidden;
}

.gate-open {
  width: min(46rem, 78vw);
  min-height: 42vh;
  background: var(--white);
  padding: 10vh 6vw 6vh;
  display: grid;
  align-content: space-between;
  gap: 2rem;
  box-shadow: 28px 36px 0 rgba(36, 40, 54, 0.16);
  position: relative;
}

.gate h2 {
  position: absolute;
  top: -1.8rem;
  left: -3.2vw;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  color: var(--lemon);
  line-height: 0.8;
  max-width: 10ch;
}

.gate-aside {
  max-width: 22ch;
  margin: 0;
  color: var(--white);
  position: absolute;
  right: -1.5vw;
  bottom: -3.6rem;
}

.contact-court {
  min-height: 62vh;
  background: var(--chalk);
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  grid-template-rows: auto 1fr auto;
  padding: 8vh 6vw;
  position: relative;
}

.contact-court::after {
  content: "";
  position: absolute;
  width: 5.5rem;
  height: 5.5rem;
  background: var(--cobalt);
  right: 18%;
  top: 28%;
  box-shadow: 14px 18px 0 rgba(36, 40, 54, 0.12);
}

.contact-court .org {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.contact-court .phone {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  text-align: right;
}

.contact-court .mail {
  grid-column: 1;
  grid-row: 3;
}

.contact-court .addr {
  grid-column: 3;
  grid-row: 3;
  justify-self: end;
  text-align: right;
  max-width: 16ch;
}

.contact-court a {
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.night {
  background: var(--doorway);
  color: var(--chalk);
  padding: 4.5rem 5vw 2.4rem;
}

.night-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(244, 238, 220, 0.16);
}

.night h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.6rem;
}

.night a {
  color: var(--chalk);
  text-decoration: none;
}

.night a:hover,
.night a:focus-visible {
  color: var(--lemon);
}

.night ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.night-accent {
  width: 2.4rem;
  height: 0.55rem;
  background: var(--lemon);
  margin-top: 1rem;
}

.night-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.page-hero {
  min-height: 72vh;
  padding: 8vh 5vw 6vh;
  display: grid;
}

.page-hero--cobalt {
  background: var(--cobalt);
  color: var(--white);
  min-height: 78vh;
  grid-template-rows: auto 1fr auto;
}

.page-hero--cobalt h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(4rem, 12vw, 10rem);
  line-height: 0.8;
  align-self: end;
  letter-spacing: -0.04em;
}

.page-hero--rose {
  background: var(--rose);
  color: var(--doorway);
  min-height: 80vh;
}

.page-hero--rose h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.2rem, 10vw, 8.5rem);
  line-height: 0.82;
  letter-spacing: -0.04em;
  max-width: 8ch;
  align-self: end;
}

.open-service {
  min-height: 78vh;
  background: var(--white);
  padding: 10vh 8vw;
  display: grid;
  grid-template-columns: 0.7fr 1.1fr;
  gap: 4vw;
  align-items: end;
}

.open-service h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.9;
}

.colour-room {
  min-height: 70vh;
  padding: 10vh 6vw;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.colour-room--terra {
  background: var(--terracotta);
  color: var(--white);
}

.colour-room--lemon {
  background: var(--lemon);
  color: var(--doorway);
}

.colour-room h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 0.92;
  max-width: 10ch;
}

.image-court {
  min-height: 88vh;
  background: var(--chalk);
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
}

.image-court figure {
  min-height: 88vh;
  overflow: hidden;
}

.image-court img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-court aside {
  padding: 8vh 6vw;
  align-self: end;
}

.shaded-room {
  min-height: 62vh;
  background: var(--doorway);
  color: var(--chalk);
  padding: 10vh 8vw;
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 4vw;
}

.shaded-room--olive {
  background: var(--olive);
}

.work-court {
  min-height: 92vh;
  padding: 8vh 6vw;
  display: grid;
}

.work-court--white {
  background: var(--white);
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 6vw;
}

.work-court--white .work-visual {
  width: min(42vw, 28rem);
  aspect-ratio: 1;
  overflow: hidden;
}

.work-court--terra {
  background: var(--terracotta);
  color: var(--white);
  grid-template-columns: 1fr 0.6fr;
  align-items: start;
}

.work-court--terra .work-visual {
  height: 12rem;
  overflow: hidden;
  margin-top: 18vh;
}

.work-court--cobalt {
  background: var(--cobalt);
  color: var(--white);
  grid-template-columns: 1.2fr auto;
  align-items: center;
}

.work-court--cobalt .work-visual {
  width: 9.5rem;
  height: 14rem;
  overflow: hidden;
  justify-self: end;
}

.work-court--cool {
  background: var(--turquoise);
  grid-template-rows: auto 1fr auto;
}

.work-court--cool .work-visual {
  width: min(70%, 36rem);
  height: 14rem;
  overflow: hidden;
  justify-self: end;
}

.work-court--stone {
  background: var(--stone);
  grid-template-columns: 0.7fr 1fr;
  align-items: center;
}

.work-copy h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.92;
  margin-bottom: 1rem;
}

.work-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-band {
  padding: 9vh 7vw;
}

.about-band--white {
  background: var(--white);
  display: grid;
  grid-template-columns: 0.8fr 1.1fr;
  gap: 5vw;
}

.about-band--cobalt {
  background: var(--cobalt);
  color: var(--white);
  min-height: 70vh;
  display: grid;
  grid-template-columns: 1fr 0.4fr;
}

.about-band--chalk {
  background: var(--chalk);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: end;
}

.about-band h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 0.92;
}

.principle-openings {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.8rem;
  min-height: 40vh;
}

.principle-openings div {
  background: var(--white);
  padding: 1.3rem;
}

.principle-openings div:nth-child(1) {
  grid-row: 1 / 3;
}

.principle-openings div:nth-child(2) {
  background: var(--lemon);
}

.principle-openings div:nth-child(3) {
  background: var(--olive);
  color: var(--white);
}

.arrival {
  min-height: 70vh;
  background: var(--white);
  padding: 8vh 6vw 4vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4vw;
}

.arrival h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.86;
  max-width: 8ch;
  align-self: end;
}

.arrival-data {
  justify-self: end;
  align-self: start;
  background: var(--stone);
  padding: 1.6rem;
  max-width: 18rem;
}

.form-zone {
  background: var(--chalk);
  padding: 4vh 6vw 10vh;
  display: grid;
  grid-template-columns: minmax(18rem, 42rem) minmax(14rem, 1fr);
  gap: 3vw;
  align-items: stretch;
}

.wall-form {
  background: var(--white);
  padding: 3rem 2.4rem 2.6rem;
  display: grid;
  gap: 1.6rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  background: transparent;
  padding: 0.7rem 0;
  color: var(--ink);
}

.field textarea {
  min-height: 12rem;
  border: 2px solid var(--ink);
  padding: 0.9rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cobalt);
}

.field input.is-error,
.field textarea.is-error {
  border-color: var(--terracotta);
}

.field-error {
  color: var(--terracotta);
  min-height: 1.1em;
  font-size: 0.88rem;
}

.form-success {
  background: var(--olive);
  color: var(--white);
  padding: 0.9rem 1rem;
}

.map-crop {
  min-height: 28rem;
  overflow: hidden;
  clip-path: inset(8% 0 0 18%);
  background: var(--turquoise);
}

.map-crop iframe {
  width: 140%;
  height: 120%;
  border: 0;
  filter: saturate(0.7) contrast(1.05);
  margin-left: -12%;
}

.legal {
  background: var(--white);
  padding: 10vh 8vw 12vh;
  max-width: 48rem;
}

.legal h1,
.legal h2 {
  font-family: var(--display);
  font-weight: 800;
}

.legal h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 1.4rem;
}

.legal h2 {
  margin: 2rem 0 0.7rem;
}

.legal p,
.legal ul {
  margin-bottom: 0.9rem;
}

.faq h3 {
  margin: 0;
}

.faq-q {
  display: block;
  width: 100%;
  margin: 1.1rem 0 0.45rem;
  padding: 0 0 0.4rem;
  border: 0;
  border-bottom: 2px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  text-align: left;
  cursor: pointer;
}

.faq-q[aria-expanded="true"] {
  box-shadow: 6px 8px 0 rgba(36, 40, 54, 0.18);
}

.faq [hidden] {
  display: none;
}

.form-success[hidden] {
  display: none;
}

[data-reveal] {
  --reveal: aperture;
}

[data-reveal="aperture"] {
  clip-path: inset(0 0 100% 0);
}

[data-reveal="aperture"].is-in {
  animation: aperture 0.9s var(--ease) both;
}

[data-reveal="wall"] {
  transform: translateY(18%);
  opacity: 0;
}

[data-reveal="wall"].is-in {
  animation: wall-rise 0.8s var(--ease) both;
}

[data-reveal="shadow"] {
  opacity: 0;
}

[data-reveal="shadow"].is-in {
  animation: shadow-text 0.9s var(--ease) both;
}

[data-reveal="open"] {
  clip-path: inset(0 48% 0 48%);
}

[data-reveal="open"].is-in {
  animation: vert-open 0.85s var(--ease) both;
}

[data-reveal="step"] .step {
  transform: translateY(12%);
  opacity: 0;
}

[data-reveal="step"].is-in .step {
  animation: type-in 0.7s var(--ease) both;
}

[data-reveal="step"].is-in .step:nth-child(2) {
  animation-delay: 0.08s;
}
[data-reveal="step"].is-in .step:nth-child(3) {
  animation-delay: 0.16s;
}
[data-reveal="step"].is-in .step:nth-child(4) {
  animation-delay: 0.24s;
}
[data-reveal="step"].is-in .step:nth-child(5) {
  animation-delay: 0.32s;
}
[data-reveal="step"].is-in .step:nth-child(6) {
  animation-delay: 0.4s;
}

[data-reveal="fade"].is-in {
  animation: type-in 0.7s var(--ease) both;
}

[data-reveal="fade"] {
  opacity: 0;
}

@keyframes wall-rise {
  from {
    transform: translateY(18%);
    opacity: 0.4;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

@keyframes shadow-text {
  from {
    opacity: 0;
    filter: brightness(0.7);
  }
  to {
    opacity: 1;
    filter: none;
  }
}

@keyframes vert-open {
  from {
    clip-path: inset(0 48% 0 48%);
  }
  to {
    clip-path: inset(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-wall,
  .hero-door,
  .hero-a,
  .hero-b,
  .hero-c,
  .hero-d,
  .hero-aperture,
  .hero-shadow,
  [data-reveal],
  [data-reveal] .step {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    filter: none !important;
  }

  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
  }

  .btn,
  .link-tile::before,
  .canopy-links a::before,
  .svc-shot {
    transition: none;
  }
}

@media (max-width: 980px) {
  .canopy-links,
  .canopy-cta {
    display: none;
  }

  .canopy-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
  }

  .canopy {
    grid-template-columns: 1fr auto;
  }

  .hero,
  .side-room,
  .window-wall,
  .service-court,
  .terrace-1,
  .terrace-2,
  .terrace-4,
  .cool-room,
  .steps,
  .bays,
  .patio,
  .cap-wall,
  .night-grid,
  .open-service,
  .image-court,
  .shaded-room,
  .work-court--white,
  .work-court--terra,
  .work-court--cobalt,
  .about-band--white,
  .about-band--cobalt,
  .about-band--chalk,
  .arrival,
  .form-zone {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .hero {
    min-height: auto;
    padding: 1.2rem 6vw 3.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
  }

  .hero-wall {
    width: 100%;
    height: 0.7rem;
    min-width: 0;
    transform: none;
  }

  .hero-wall::after {
    display: none;
  }

  .hero-a,
  .hero-c {
    padding: 0;
    margin: 0;
  }

  .hero-a {
    font-size: clamp(2.6rem, 12vw, 4.2rem);
  }

  .hero-door {
    display: none;
  }

  .hero-void {
    min-height: 0;
    height: 16rem;
    position: relative;
    overflow: hidden;
    order: 3;
  }

  .hero-aperture {
    position: relative;
    width: 62%;
    max-width: 16rem;
    top: auto;
    left: 6%;
    clip-path: none;
  }

  .hero-shadow {
    width: 78%;
    height: 100%;
    top: 0;
    right: 0;
    clip-path: polygon(18% 0, 100% 0, 88% 100%, 0 100%);
  }

  .hero-a {
    order: 1;
  }

  .hero-tag {
    order: 0;
  }

  .hero-c {
    order: 4;
    max-width: 28ch;
  }

  .hero-d {
    order: 6;
  }

  .hero-b {
    order: 5;
    font-size: clamp(1.8rem, 10vw, 2.6rem);
  }

  .hero-b,
  .hero-d,
  .hero-tag {
    justify-self: start;
    text-align: left;
    align-self: start;
  }

  .svc-north,
  .svc-south,
  .svc-west,
  .svc-east .svc-item {
    min-height: 0;
  }

  .svc-void {
    min-height: 5.5rem;
  }

  .gate h2,
  .gate-aside {
    position: static;
    color: inherit;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }

  .gate-aside {
    color: var(--ink-soft);
    margin: 0;
  }

  .passage {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .passage-frag {
    justify-self: start;
  }

  .side-open figure {
    min-height: 18rem;
  }

  .window-wall {
    display: flex;
    flex-direction: column;
    min-height: 0;
    gap: 0.7rem;
  }

  .ow-5 {
    writing-mode: horizontal-tb;
    transform: none;
    min-height: 8rem;
  }

  .ow-1 img,
  .ow-6 img {
    position: relative;
    width: 100%;
    height: 8rem;
    inset: auto;
  }

  .svc-west {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .svc-void {
    min-height: 8rem;
  }

  .terrace-3 {
    margin: 0 6vw 0 auto;
    min-height: 0;
  }

  .terrace-4 {
    margin: 0;
  }

  .cool-copy {
    color: var(--doorway);
    margin-top: 1.4rem;
  }

  .cool-room::after {
    display: none;
  }

  .steps {
    display: grid;
    min-height: 0;
  }

  .step,
  .step:nth-child(n) {
    min-height: 0;
  }

  .patio-void {
    min-height: 6rem;
  }

  .cap-wall,
  .cap-xl,
  .cap-lg,
  .cap-md,
  .cap-a,
  .cap-b,
  .cap-c,
  .cap-d,
  .cap-e,
  .cap-f,
  .cap-g,
  .cap-wall h2 {
    grid-column: 1 / -1;
  }

  .contact-court {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    min-height: 0;
  }

  .contact-court .phone,
  .contact-court .addr,
  .patio-approach,
  .patio-place {
    justify-self: start;
    text-align: left;
  }

  .gate-open {
    box-shadow: 14px 16px 0 rgba(36, 40, 54, 0.16);
  }

  .map-crop {
    clip-path: none;
    min-height: 16rem;
  }

  .night-base {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }

  .rooftop {
    min-height: 0;
  }

  .sun-break {
    min-height: 28vh;
  }

  .bays,
  .principle-openings,
  .colour-room {
    grid-template-columns: 1fr;
  }

  .bay {
    margin-top: 0 !important;
    min-height: 0;
  }
}
