
@font-face {
  font-family: "Montserrat";
  src: url("montserrat-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fcfcfc;
  --ink: #151515;
  --sky: #34a5e1;
  --graphite: #434343;
  --mist: #dfdfdf;
  --soft: #f3f3f3;
  --soft-grey: #cecece;
  --caramel: #d58b5d;
  --moss: #72836a;
  --coral: #d96752;
  --background: var(--paper);
  --foreground: var(--ink);
  --card: #fff;
  --card-foreground: var(--ink);
  --popover: #fff;
  --popover-foreground: var(--ink);
  --primary: var(--sky);
  --primary-foreground: #fff;
  --secondary: var(--soft);
  --secondary-foreground: var(--ink);
  --muted: var(--soft);
  --muted-foreground: var(--graphite);
  --accent: var(--sky);
  --accent-foreground: #fff;
  --destructive: var(--coral);
  --border: var(--soft-grey);
  --input: var(--soft-grey);
  --ring: var(--sky);
  --radius: .75rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Montserrat", Arial, sans-serif; }
a { color: inherit; text-underline-offset: .2em; }
img { max-width: 100%; }

.skip-link { position: fixed; z-index: 100; left: 1rem; top: .5rem; padding: .7rem 1rem; color: white; background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

@keyframes hero-in { from { opacity: 0; transform: translateY(2.5rem); } to { opacity: 1; transform: none; } }
@keyframes visual-in { from { opacity: 0; transform: translateY(3rem) scale(.965); } to { opacity: 1; transform: none; } }
@keyframes rise-in { from { opacity: .08; transform: translateY(3.2rem) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes slide-in { from { opacity: .08; transform: translateX(3rem); } to { opacity: 1; transform: none; } }
@keyframes stack-float { from { transform: translate(calc(var(--stack-index) * 20px), calc(var(--stack-index) * 14px)) rotate(calc((var(--stack-index) - 1.5) * -1.2deg)); } to { transform: translate(calc(var(--stack-index) * 20px), calc(var(--stack-index) * 11px)) rotate(calc((var(--stack-index) - 1.5) * -.5deg)); } }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1320px;
  margin: auto;
  padding: 1.2rem clamp(1rem, 4vw, 3.25rem);
}
.brand { display: flex; align-items: center; gap: .7rem; font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 2.25rem; aspect-ratio: 1; border-radius: .7rem; color: var(--sky); background: var(--ink); }
.site-header nav { display: flex; gap: 1.15rem; }
.site-header nav a, .back-link { color: var(--graphite); font-size: .78rem; font-weight: 650; text-decoration: none; }
.site-header nav a:hover, .site-header nav a:focus-visible, .back-link:hover, .back-link:focus-visible { color: var(--sky); outline: none; }

.hero { max-width: 1320px; margin: auto; padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 4vw, 3.25rem) 5rem; }
.hero-copy { position: relative; z-index: 2; max-width: 1080px; animation: hero-in .85s cubic-bezier(.2,.78,.25,1) both; }
.eyebrow { margin: 0; color: var(--sky); font-size: .72rem; font-weight: 800; letter-spacing: .15em; }
h1, h2 { margin: 0; letter-spacing: -.055em; text-wrap: balance; }
.hero h1 { max-width: 1040px; margin-top: 1rem; font-size: clamp(4.2rem, 10.5vw, 9.6rem); line-height: .88; }
.hero h1 span { color: var(--mist); }
.hero-body { max-width: 720px; margin: 1.6rem 0 0; color: var(--graphite); font-size: clamp(1rem, 1.7vw, 1.2rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.7rem; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: .9rem 1.2rem; border: 1px solid var(--ink); border-radius: 999px; font-size: .82rem; font-weight: 750; text-decoration: none; transition: transform .25s ease, background-color .25s ease, color .25s ease; }
.button.dark { color: white; background: var(--ink); }
.button.light { background: transparent; }
.button:hover, .button:focus-visible { transform: translateY(-3px); outline: 3px solid rgb(52 165 225 / 22%); outline-offset: 3px; }

.hero-visual { position: relative; margin: clamp(2.5rem, 6vw, 5rem) 0 0; height: min(68vw, 700px); overflow: hidden; border-radius: 1.6rem; background: var(--mist); animation: visual-in 1s .12s cubic-bezier(.2,.78,.25,1) both; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.hero-visual:hover img { transform: scale(1.025); }
.hero-visual::after { content: ""; position: absolute; inset: 42% 0 0; background: linear-gradient(transparent, rgb(21 21 21 / 88%)); }
.hero-visual figcaption { position: absolute; z-index: 2; left: clamp(1.1rem, 4vw, 3rem); bottom: clamp(1.1rem, 4vw, 3rem); display: grid; gap: .25rem; color: white; }
.hero-visual figcaption span { color: var(--sky); font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.hero-visual figcaption strong { max-width: 760px; font-size: clamp(2rem, 6vw, 5.6rem); line-height: .95; letter-spacing: -.05em; }
.hero-visual figcaption small { color: var(--mist); font-size: 1rem; }
.circle-action { position: absolute; z-index: 3; right: 2rem; bottom: 2rem; display: grid; place-items: center; width: 3.6rem; aspect-ratio: 1; border-radius: 50%; color: white; background: var(--sky); font-size: 1.5rem; }
.hero-metrics { position: relative; z-index: 4; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .6rem; width: min(760px, calc(100% - 3rem)); margin: -1.8rem auto 0; }
.hero-metrics span { display: grid; gap: .2rem; padding: 1rem 1.2rem; border: 1px solid var(--soft-grey); border-radius: .85rem; color: var(--graphite); background: white; font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.hero-metrics b { color: var(--ink); font-size: 1.65rem; }

.spaces-section, .atlas-section { max-width: 1320px; margin: auto; padding: clamp(5rem, 10vw, 9rem) clamp(1rem, 4vw, 3.25rem); }
.section-heading { display: grid; grid-template-columns: minmax(9rem,.45fr) minmax(0,1.55fr); gap: 3rem; align-items: start; }
.section-number { display: block; margin-top: 1.2rem; color: var(--mist); font-size: clamp(3rem, 7vw, 6rem); font-weight: 700; line-height: 1; }
.section-heading h2, .method-section h2, .gallery-section h2, .plan-section h2, .care-boundary h2 { max-width: 940px; font-size: clamp(2.8rem, 7vw, 6.7rem); line-height: .95; }
.compact-heading { margin-bottom: 3rem; }

.overlap-listings { position: relative; display: grid; grid-template-columns: repeat(3,1fr); align-items: start; min-height: 550px; margin-top: 4rem; }
.listing-card { position: relative; z-index: calc(3 - var(--card-index)); overflow: hidden; border: 1px solid var(--soft-grey); border-radius: 1.15rem; background: white; box-shadow: 0 24px 70px rgb(21 21 21 / 8%); transform: translateX(calc(var(--card-index) * -2.2rem)) translateY(calc(var(--card-index) * 2rem)); transition: transform .35s ease, box-shadow .35s ease; }
.listing-card:hover { z-index: 5; transform: translateX(calc(var(--card-index) * -2.2rem)) translateY(calc(var(--card-index) * 2rem - .6rem)); box-shadow: 0 32px 90px rgb(21 21 21 / 14%); }
.listing-card img { display: block; width: 100%; aspect-ratio: 1.08; object-fit: cover; }
.listing-card > div { position: relative; min-height: 190px; padding: 1.25rem; }
.listing-card span, .room-card span { color: var(--sky); font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.listing-card h3, .room-card h3 { margin: .7rem 0 0; font-size: clamp(1.4rem, 2.7vw, 2.25rem); line-height: 1.02; letter-spacing: -.045em; }
.listing-card p, .room-card p { color: var(--graphite); font-size: .84rem; line-height: 1.55; }
.listing-card i, .room-card i { position: absolute; right: 1rem; top: 1rem; display: grid; place-items: center; width: 2.3rem; aspect-ratio: 1; border-radius: 50%; color: white; background: var(--sky); font-style: normal; }

.method-section { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); gap: 5rem; padding: clamp(5rem, 10vw, 9rem) max(clamp(1rem, 7vw, 7rem), calc((100vw - 1320px)/2 + 3rem)); color: white; background: var(--ink); }
.method-lead > p:last-child, .gallery-copy > p:last-child, .plan-copy > p { max-width: 780px; color: var(--soft-grey); line-height: 1.75; }
.method-lead h2 { margin-top: 1rem; }
.method-steps { display: grid; gap: 1px; background: rgb(255 255 255 / 12%); }
.method-steps article { min-height: 180px; padding: 1.4rem; background: #1d1d1d; }
.method-steps span { color: var(--sky); font-size: 2.2rem; font-weight: 750; }
.method-steps h3 { margin: 1rem 0 .5rem; font-size: 1.35rem; }
.method-steps p { margin: 0; color: var(--soft-grey); font-size: .84rem; line-height: 1.6; }

.room-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.room-card { position: relative; overflow: hidden; border: 1px solid var(--soft-grey); border-radius: 1rem; background: white; transition: transform .3s ease, box-shadow .3s ease; }
.room-card:hover { transform: translateY(-7px); box-shadow: 0 25px 70px rgb(21 21 21 / 11%); }
.room-card img { display: block; width: 100%; aspect-ratio: 1.12; object-fit: cover; }
.room-card > div { min-height: 180px; padding: 1.2rem; }
.room-card i { top: auto; bottom: 1rem; }

.gallery-section { display: grid; grid-template-columns: minmax(18rem,.75fr) minmax(0,1.25fr); gap: 4rem; align-items: center; padding: clamp(5rem, 10vw, 9rem) max(clamp(1rem, 7vw, 7rem), calc((100vw - 1320px)/2 + 3rem)); color: white; background: var(--ink); }
.gallery-copy h2 { margin-top: 1rem; }
.gallery-mosaic { display: grid; grid-template-columns: .8fr 1.2fr; grid-template-rows: 190px 280px 210px; gap: .75rem; }
.gallery-mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: .9rem; }
.gallery-mosaic img:nth-child(1) { grid-row: 1 / span 2; }
.gallery-mosaic img:nth-child(3) { grid-column: 1; grid-row: 3; }
.gallery-mosaic img:nth-child(4) { grid-column: 2; grid-row: 2 / span 2; }

.plan-section { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.85fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; max-width: 1320px; margin: auto; padding: clamp(6rem, 11vw, 10rem) clamp(1rem, 4vw, 3.25rem); }
.plan-copy h2 { margin-top: 1rem; }
.plan-copy > p { color: var(--graphite); margin-bottom: 1.6rem; }
.plan-stack { position: relative; min-height: 520px; overflow: hidden; border-radius: 1.2rem; background: var(--ink); }
.plan-stack img { position: absolute; left: 7%; top: 7%; width: 72%; aspect-ratio: 1; object-fit: cover; border: 1px solid rgb(255 255 255 / 35%); border-radius: .8rem; animation: stack-float 5s ease-in-out infinite alternate; }
.plan-stack span { position: absolute; z-index: 10; left: 1.5rem; bottom: 1.4rem; color: var(--sky); font-size: .72rem; font-weight: 800; letter-spacing: .14em; }

.care-boundary { max-width: 1120px; margin: 0 auto 8rem; padding: clamp(2rem, 6vw, 5rem); border: 1px solid var(--soft-grey); border-radius: 1.2rem; background: var(--soft); }
.care-boundary h2 { margin-top: 1rem; }
.care-boundary > p:last-child { max-width: 850px; color: var(--graphite); line-height: 1.75; }

.site-footer { display: flex; justify-content: space-between; gap: 2rem; padding: 3rem max(clamp(1rem, 7vw, 7rem), calc((100vw - 1320px)/2 + 3rem)); color: white; background: var(--ink); }
.site-footer strong { font-size: .8rem; letter-spacing: .12em; }
.site-footer p { color: var(--soft-grey); font-size: .8rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.site-footer a { color: var(--soft-grey); font-size: .78rem; }

.policy-header { max-width: 1320px; }
.policy-intro { max-width: 1320px; margin: auto; padding: clamp(5rem, 12vw, 10rem) clamp(1rem, 4vw, 3.25rem) 4rem; }
.policy-intro h1 { max-width: 1100px; margin-top: 1rem; font-size: clamp(4rem, 10vw, 9rem); line-height: .9; }
.policy-intro > p:last-child { max-width: 760px; color: var(--graphite); font-size: 1.06rem; line-height: 1.7; }
.policy-index { max-width: 1180px; margin: 0 auto 6rem; padding: 2rem; border-radius: 1rem; color: white; background: var(--ink); }
.policy-index > p { margin: 0 0 1rem; color: var(--sky); font-size: .72rem; font-weight: 800; letter-spacing: .13em; }
.policy-index ol { columns: 2; column-gap: 3rem; margin: 0; padding-left: 1.2rem; }
.policy-index li { break-inside: avoid; margin: .55rem 0; color: var(--soft-grey); font-size: .82rem; }
.policy-index a:hover, .policy-index a:focus-visible { color: var(--sky); outline: none; }
.policy-sections { max-width: 1320px; margin: auto; padding: 0 clamp(1rem, 4vw, 3.25rem) 8rem; }
.policy-sections section { display: grid; grid-template-columns: 4rem minmax(270px,.78fr) minmax(0,1fr); gap: clamp(1.3rem, 3.5vw, 3.5rem); align-items: center; padding: clamp(2.8rem, 6vw, 5.2rem) 0; border-top: 1px solid var(--soft-grey); scroll-margin-top: 1rem; }
.policy-sections section > span { color: var(--sky); font-size: 1.7rem; font-weight: 800; }
.policy-sections section:nth-child(even) figure { order: 3; }
.policy-sections section:nth-child(even) > div { order: 2; }
.policy-sections figure { position: relative; margin: 0; overflow: hidden; border-radius: 1rem; background: var(--mist); }
.policy-sections figure::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, transparent 60%, rgb(52 165 225 / 20%)); }
.policy-sections img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: transform .7s ease; }
.policy-sections figure:hover img { transform: scale(1.035); }
.policy-sections h2 { font-size: clamp(2rem, 4.5vw, 3.7rem); line-height: 1; }
.policy-sections p { color: var(--graphite); line-height: 1.75; }

@media (prefers-reduced-motion: no-preference) {
  .section-heading, .listing-card, .method-lead, .method-steps article, .room-card, .gallery-copy, .gallery-mosaic, .plan-copy, .plan-stack, .care-boundary, .policy-index, .policy-sections section { animation: rise-in .8s linear both; animation-timeline: view(); animation-range: entry 6% cover 32%; }
  .room-card:nth-child(3n+2), .policy-sections figure { animation: slide-in .8s linear both; animation-timeline: view(); animation-range: entry 7% cover 34%; }
}

@media (max-width: 900px) {
  .section-heading, .method-section, .gallery-section, .plan-section { grid-template-columns: 1fr; }
  .overlap-listings { grid-template-columns: 1fr; min-height: 0; gap: 1rem; }
  .listing-card, .listing-card:hover { transform: none; }
  .room-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-copy { max-width: 760px; }
  .plan-stack { min-height: 480px; }
}

@media (max-width: 640px) {
  .brand span:last-child { display: none; }
  .site-header nav { gap: .6rem; }
  .site-header nav a { font-size: .68rem; }
  .site-header nav a:nth-child(3) { display: none; }
  .hero h1 { font-size: clamp(3.7rem, 18vw, 5.8rem); }
  .hero-visual { height: 72vh; min-height: 560px; }
  .circle-action { right: 1rem; bottom: 1rem; }
  .hero-metrics { grid-template-columns: 1fr; width: calc(100% - 2rem); }
  .hero-metrics span { grid-template-columns: auto 1fr; align-items: center; }
  .section-heading { gap: 1rem; }
  .room-grid { grid-template-columns: 1fr; }
  .method-section, .gallery-section { padding-inline: 1rem; }
  .method-steps { margin-top: 1rem; }
  .gallery-mosaic { grid-template-rows: 150px 210px 170px; }
  .plan-stack { min-height: 390px; }
  .care-boundary { margin-inline: 1rem; }
  .site-footer { flex-direction: column; padding-inline: 1.2rem; }
  .policy-index { margin-inline: 1rem; }
  .policy-index ol { columns: 1; }
  .policy-sections section { grid-template-columns: 2.7rem minmax(0,1fr); gap: 1rem; }
  .policy-sections section:nth-child(even) figure, .policy-sections section:nth-child(even) > div { order: initial; }
  .policy-sections figure, .policy-sections section > div { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; }
}
