:root {
  --white: #ffffff;
  --egg: #fffdf8;
  --egg-raised: #ffffff;
  --egg-muted: #faf6ed;
  --ink: #171b1d;
  --ink-soft: #2c3438;
  --muted: #697277;
  --line: #e9e3d8;
  --line-dark: rgba(255, 255, 255, 0.18);
  --aqua: #0b9aa4;
  --aqua-dark: #087b84;
  --dark: #1d242a;
  --wood: #92735f;
  --radius-media: 16px;
  --radius-control: 12px;
  --shadow-lightbox: 0 24px 80px rgba(0, 0, 0, 0.32);
  --shell: 1480px;
  --gutter: clamp(22px, 4vw, 64px);
  --section-space: clamp(88px, 10vw, 148px);
  --font: "Noto Sans Thai", "Thonburi", "Leelawadee UI", Tahoma, system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 98px;
  background: var(--egg);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--egg);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(40px, 4.4vw, 68px);
  font-weight: 700;
  line-height: 1.18;
}

h3 {
  font-size: 23px;
  line-height: 1.35;
}

::selection {
  color: var(--white);
  background: var(--aqua-dark);
}

:focus-visible {
  outline: 3px solid rgba(11, 154, 164, 0.55);
  outline-offset: 4px;
}

.shell {
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-space);
}

.section-label {
  margin-bottom: 16px;
  color: var(--aqua-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-label-light {
  color: #70d2d8;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 88px;
  gap: clamp(24px, 4vw, 72px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}

.brand-main {
  position: relative;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand-main::after {
  position: absolute;
  top: 6px;
  right: 14px;
  width: 7px;
  height: 7px;
  background: var(--aqua);
  content: "";
  transform: rotate(45deg);
}

.brand-sub {
  color: var(--ink-soft);
  font-size: 14px;
  letter-spacing: -0.01em;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3vw, 54px);
}

.primary-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--aqua);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--aqua);
}

.button-primary:hover {
  background: var(--aqua-dark);
}

.button-outline {
  color: var(--aqua-dark);
  border-color: var(--aqua);
  background: var(--egg-raised);
}

.button-outline:hover {
  color: var(--white);
  background: var(--aqua-dark);
  border-color: var(--aqua-dark);
}

.button-dark-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
  background: transparent;
}

.button-dark-outline:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.button-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.header-cta {
  min-width: 138px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(520px, 0.95fr) minmax(560px, 1.05fr);
  align-items: center;
  min-height: calc(100svh - 186px);
  padding-block: clamp(28px, 4.2vw, 66px);
  gap: clamp(44px, 5vw, 90px);
}

.hero-copy {
  padding-left: clamp(0px, 1.5vw, 22px);
}

.hero h1 {
  max-width: 660px;
  margin-bottom: 26px;
  font-size: clamp(54px, 4.5vw, 72px);
  font-weight: 750;
  line-height: 1.14;
}

.hero-summary {
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.55vw, 23px);
  letter-spacing: -0.015em;
}

.hero-summary span {
  margin-inline: 6px;
  color: var(--aqua);
}

.price-wrap {
  margin-bottom: 34px;
}

.old-price {
  display: flex;
  align-items: baseline;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 19px);
  gap: 9px;
}

.old-price span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.old-price del,
.closing-old-price del {
  text-decoration-color: #df6b5b;
  text-decoration-thickness: 2px;
}

.price {
  margin-bottom: 8px;
  color: var(--aqua-dark);
  font-size: clamp(50px, 4.3vw, 72px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}

.price span {
  font-size: 0.45em;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.price-saving {
  margin-bottom: 0;
  color: var(--aqua-dark);
  font-size: 14px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-actions .button {
  min-width: 218px;
  min-height: 60px;
  font-size: 17px;
}

.hero-media {
  position: relative;
  min-height: clamp(540px, 61vh, 720px);
}

.media-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-media);
  background: var(--egg-muted);
  cursor: zoom-in;
}

.media-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.media-button:hover img,
.media-button:focus-visible img {
  transform: scale(1.025);
}

.media-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 7px 10px;
  border-radius: 7px;
  color: var(--ink);
  background: rgba(255, 250, 241, 0.92);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
}

.hero-main-image {
  position: absolute;
  inset: 0 5.5% 0 0;
  height: 100%;
}

.hero-main-image img {
  object-position: 52% 50%;
}

.hero-secondary-image {
  position: absolute;
  right: 0;
  bottom: 3%;
  width: 42%;
  aspect-ratio: 1.4;
  border: 5px solid var(--white);
  box-shadow: 0 12px 36px rgba(23, 27, 29, 0.12);
}

.fact-rail {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact-rail-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 98px;
}

.fact-rail-inner > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 24px;
  text-align: center;
}

.fact-rail-inner > div + div {
  border-left: 1px solid var(--line);
}

.fact-rail span {
  color: var(--muted);
  font-size: 13px;
}

.fact-rail strong {
  font-size: 19px;
  font-weight: 700;
}

.heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 44px;
  gap: 28px;
}

.text-button,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  color: var(--aqua-dark);
  background: transparent;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.text-button svg,
.text-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 180ms ease;
}

.text-button:hover svg,
.text-link:hover svg {
  transform: translateX(4px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.85fr;
  grid-template-rows: repeat(2, minmax(220px, 290px));
  gap: 14px;
}

.gallery-feature {
  grid-row: 1 / span 2;
}

.gallery-grid .media-button:nth-child(2) {
  grid-column: 2 / span 2;
}

.gallery-grid .media-button:nth-child(5) img {
  object-position: center 44%;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(520px, 1.15fr);
  gap: clamp(70px, 10vw, 160px);
}

.story-copy h2 {
  margin-bottom: 32px;
}

.story-copy > p:not(.section-label) {
  max-width: 650px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 18px;
}

.story-points {
  border-top: 1px solid var(--line);
}

.story-points article {
  display: grid;
  grid-template-columns: 58px 1fr;
  padding-block: 32px;
  border-bottom: 1px solid var(--line);
  gap: 26px;
}

.story-points article > span {
  color: var(--aqua);
  font-size: 14px;
  font-weight: 700;
}

.story-points h3 {
  margin-bottom: 8px;
}

.story-points p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.included-band {
  color: var(--white);
  background: var(--dark);
}

.included-inner {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(560px, 1.25fr);
  padding-block: clamp(72px, 7vw, 110px);
  gap: 36px clamp(60px, 8vw, 130px);
}

.included-heading h2 {
  max-width: 580px;
  font-size: clamp(38px, 3.7vw, 56px);
}

.included-list {
  border-top: 1px solid var(--line-dark);
}

.included-list > div {
  display: grid;
  grid-template-columns: 44px 1fr;
  padding-block: 19px;
  border-bottom: 1px solid var(--line-dark);
  gap: 18px;
}

.included-list span {
  color: #70d2d8;
  font-size: 12px;
}

.included-list strong {
  font-size: 17px;
  font-weight: 600;
}

.included-note {
  grid-column: 2;
  max-width: 680px;
  margin: -12px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.tour-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(480px, 1.22fr);
  align-items: center;
  gap: clamp(64px, 9vw, 150px);
}

.tour-copy h2 {
  margin-bottom: 26px;
}

.tour-copy > p:not(.section-label) {
  max-width: 520px;
  margin-bottom: 28px;
  color: var(--muted);
}

.video-frame {
  display: grid;
  place-items: center;
  min-height: 660px;
  padding: 28px;
  overflow: hidden;
  border-radius: var(--radius-media);
  background: var(--dark);
}

.video-frame video {
  max-height: 650px;
  border-radius: 12px;
  background: #0f1316;
}

.project-section {
  border-top: 1px solid var(--line);
}

.project-hero img {
  width: 100%;
  height: clamp(430px, 48vw, 690px);
  border-radius: var(--radius-media);
  object-fit: cover;
  object-position: center 58%;
}

.project-intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
  padding-block: clamp(58px, 6.5vw, 96px);
  gap: clamp(60px, 9vw, 150px);
}

.project-summary > p {
  margin-bottom: 34px;
  color: var(--muted);
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: center;
  padding: 18px 12px;
  gap: 8px;
}

.project-facts > div + div {
  border-left: 1px solid var(--line);
}

.project-facts strong {
  color: var(--aqua-dark);
  font-size: 28px;
  line-height: 1;
}

.project-facts span {
  color: var(--muted);
  font-size: 13px;
}

.facility-rail {
  display: grid;
  grid-template-columns: 1.12fr 0.9fr 0.88fr;
  align-items: end;
  gap: 18px;
}

.facility-rail figure {
  margin: 0;
}

.facility-rail img {
  width: 100%;
  height: clamp(260px, 26vw, 410px);
  border-radius: var(--radius-media);
  object-fit: cover;
}

.facility-rail figure:nth-child(2) img {
  height: clamp(230px, 23vw, 360px);
}

.facility-rail figure:nth-child(3) img {
  height: clamp(210px, 21vw, 330px);
}

.facility-rail figcaption {
  padding-top: 12px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 600;
}

.source-note {
  margin-top: 34px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.source-note a {
  color: var(--ink-soft);
  text-underline-offset: 3px;
}

.location-section {
  display: grid;
  grid-template-columns: minmax(380px, 0.8fr) minmax(560px, 1.2fr);
  gap: 36px clamp(60px, 8vw, 130px);
}

.location-copy h2 {
  margin-bottom: 28px;
}

.location-copy address {
  margin-bottom: 30px;
  color: var(--muted);
  font-style: normal;
}

.transit-note {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: start;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  gap: 18px;
}

.transit-note svg {
  width: 28px;
  height: 28px;
  color: var(--aqua);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.transit-note strong,
.transit-note span {
  display: block;
}

.transit-note strong {
  margin-bottom: 2px;
  font-size: 17px;
}

.transit-note span {
  color: var(--muted);
  font-size: 14px;
}

.nearby-list {
  margin-top: 22px;
}

.nearby-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
  gap: 18px;
}

.nearby-list span {
  color: var(--ink-soft);
  font-size: 15px;
}

.nearby-list strong {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.map-wrap {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-media);
  background: var(--egg-muted);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 660px;
  border: 0;
  filter: saturate(0.82) contrast(0.96);
}

.map-button {
  position: absolute;
  right: 18px;
  bottom: 18px;
  min-height: 50px;
  border-color: var(--line);
  color: var(--aqua-dark);
  background: var(--egg-raised);
  box-shadow: 0 8px 24px rgba(23, 27, 29, 0.12);
}

.distance-note {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(560px, 1.28fr);
  border-top: 1px solid var(--line);
  gap: clamp(70px, 10vw, 160px);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 24px 50px 24px 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.45;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before,
.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 7px;
  width: 16px;
  height: 2px;
  background: var(--aqua-dark);
  content: "";
  transition: transform 180ms ease;
}

.faq-list summary::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: rotate(0);
}

.faq-list details p {
  max-width: 760px;
  margin: -4px 50px 24px 0;
  color: var(--muted);
  font-size: 15px;
}

.faq-list details p a {
  color: var(--aqua-dark);
  font-weight: 650;
}

.closing-section {
  display: grid;
  grid-template-columns: 44% 56%;
  min-height: 620px;
  color: var(--white);
  background: var(--dark);
}

.closing-media {
  min-height: 620px;
}

.closing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
}

.closing-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(58px, 7vw, 112px);
}

.closing-copy h2 {
  max-width: 760px;
  margin-bottom: 32px;
  font-size: clamp(42px, 4vw, 64px);
}

.closing-price-wrap {
  margin-bottom: 26px;
}

.closing-old-price {
  display: flex;
  align-items: baseline;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 18px;
  gap: 9px;
}

.closing-old-price span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.closing-price {
  margin-bottom: 9px;
  color: #70d2d8;
  font-size: clamp(48px, 4.1vw, 68px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}

.closing-price span {
  font-size: 0.45em;
  font-weight: 600;
}

.closing-saving {
  margin-bottom: 0;
  color: #70d2d8;
  font-size: 14px;
  font-weight: 700;
}

.contact-name {
  margin-bottom: 14px;
  font-size: 20px;
}

.contact-name strong {
  color: #70d2d8;
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 720px);
  margin-bottom: 26px;
  gap: 10px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  gap: 3px;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.contact-item:hover,
.contact-item:focus-visible {
  border-color: rgba(112, 210, 216, 0.68);
  background: rgba(112, 210, 216, 0.1);
  transform: translateY(-2px);
}

.contact-item span {
  color: #70d2d8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-item strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-item:last-child {
  grid-column: 1 / -1;
}

.closing-actions {
  display: flex;
  gap: 14px;
}

.closing-actions .button {
  min-width: 210px;
}

.closing-note {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
}

.site-footer {
  border-bottom: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 160px;
  gap: 42px;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.footer-phone {
  color: var(--aqua-dark);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.mobile-action-bar {
  display: none;
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--white);
  background: rgba(10, 13, 15, 0.94);
}

.lightbox::backdrop {
  background: rgba(10, 13, 15, 0.94);
}

.lightbox-inner {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 32px;
}

.lightbox figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  min-width: 0;
  height: calc(100vh - 64px);
  margin: 0;
}

.lightbox figure img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  filter: drop-shadow(var(--shadow-lightbox));
}

.lightbox figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding-top: 16px;
  gap: 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.lightbox figcaption span:last-child {
  color: rgba(255, 255, 255, 0.56);
  white-space: nowrap;
}

.lightbox-close,
.lightbox-arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: background-color 180ms ease;
}

.lightbox-close:hover,
.lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lightbox-close svg,
.lightbox-arrow svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 2;
}

.lightbox-prev {
  justify-self: start;
}

.lightbox-next {
  justify-self: end;
}

@media (max-width: 1180px) {
  .header-inner {
    gap: 28px;
  }

  .brand-sub {
    display: none;
  }

  .primary-nav {
    gap: 28px;
  }

  .hero {
    grid-template-columns: minmax(450px, 0.95fr) minmax(480px, 1.05fr);
    gap: 40px;
  }

  .hero h1 {
    font-size: clamp(50px, 4.9vw, 64px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 360px;
  }

  .story-section,
  .tour-section,
  .location-section,
  .faq-section {
    gap: 70px;
  }

  .closing-copy {
    padding: 64px;
  }
}

@media (max-width: 920px) {
  :root {
    --section-space: 92px;
  }

  body {
    font-size: 17px;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    min-height: 74px;
  }

  .brand-main {
    font-size: 27px;
  }

  .menu-toggle {
    display: inline-flex;
    grid-column: 3;
    align-items: center;
    justify-self: end;
    min-height: 46px;
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink);
    background: var(--egg-raised);
    font-size: 14px;
    font-weight: 650;
    gap: 9px;
  }

  .menu-icon {
    display: flex;
    flex-direction: column;
    width: 21px;
    gap: 4px;
  }

  .menu-icon span {
    width: 100%;
    height: 2px;
    background: currentColor;
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    top: 74px;
    right: 0;
    left: 0;
    display: grid;
    align-content: start;
    justify-content: stretch;
    padding: 14px var(--gutter) 28px;
    border-bottom: 1px solid var(--line);
    background: var(--egg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition:
      opacity 180ms ease,
      visibility 180ms ease,
      transform 180ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .primary-nav a {
    padding-block: 15px;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }

  .primary-nav a::after,
  .header-cta {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 68px;
    padding-bottom: 42px;
    gap: 52px;
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero h1 {
    max-width: 760px;
    font-size: clamp(48px, 8vw, 72px);
  }

  .hero-actions {
    flex-direction: row;
    max-width: none;
  }

  .hero-media {
    min-height: 650px;
  }

  .fact-rail-inner {
    overflow-x: auto;
    grid-template-columns: repeat(4, minmax(190px, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: minmax(420px, 56vw) repeat(2, 260px);
  }

  .gallery-feature,
  .gallery-grid .media-button:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .story-section,
  .tour-section,
  .location-section,
  .faq-section,
  .project-intro {
    grid-template-columns: 1fr;
  }

  .included-inner {
    grid-template-columns: 1fr;
  }

  .included-note {
    grid-column: 1;
  }

  .video-frame {
    min-height: 600px;
  }

  .facility-rail {
    overflow-x: auto;
    grid-template-columns: repeat(3, minmax(340px, 1fr));
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
  }

  .facility-rail figure {
    scroll-snap-align: start;
  }

  .facility-rail img,
  .facility-rail figure:nth-child(2) img,
  .facility-rail figure:nth-child(3) img {
    height: 300px;
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 520px;
  }

  .faq-heading {
    max-width: 620px;
  }

  .closing-section {
    grid-template-columns: 1fr;
  }

  .closing-media {
    min-height: 460px;
  }

  .closing-copy {
    padding: 72px var(--gutter) 88px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    padding-block: 48px;
    gap: 22px;
  }
}

@media (max-width: 620px) {
  :root {
    --gutter: 20px;
    --section-space: 76px;
    --radius-media: 14px;
  }

  html {
    scroll-padding-top: 80px;
  }

  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
    font-size: 16px;
  }

  h2 {
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.2;
  }

  .site-header {
    backdrop-filter: blur(12px);
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-main {
    font-size: 26px;
  }

  .primary-nav {
    top: 70px;
  }

  .hero {
    padding-top: 50px;
    padding-bottom: 34px;
    gap: 38px;
  }

  .hero h1 {
    margin-bottom: 20px;
    font-size: clamp(42px, 11vw, 46px);
    line-height: 1.19;
  }

  .hero-summary {
    margin-bottom: 24px;
    font-size: 17px;
  }

  .hero-summary span {
    margin-inline: 2px;
  }

  .price {
    margin-bottom: 26px;
    font-size: clamp(48px, 13vw, 62px);
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 56px;
  }

  .hero-media {
    min-height: 470px;
  }

  .hero-main-image {
    inset: 0;
  }

  .hero-main-image img {
    object-position: 47% 50%;
  }

  .hero-secondary-image {
    display: none;
  }

  .fact-rail-inner {
    grid-template-columns: repeat(4, minmax(145px, 1fr));
    min-height: 86px;
  }

  .fact-rail-inner > div {
    align-items: flex-start;
    flex-direction: column;
    padding: 15px 18px;
    gap: 2px;
    text-align: left;
  }

  .fact-rail strong {
    font-size: 16px;
  }

  .heading-row {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 30px;
    gap: 18px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 340px 180px 180px;
    gap: 8px;
  }

  .gallery-grid .media-button:nth-child(2) {
    grid-column: auto;
  }

  .gallery-grid .media-button:nth-child(5) {
    display: none;
  }

  .media-label {
    bottom: 8px;
    left: 8px;
    padding: 6px 8px;
    font-size: 10px;
  }

  .story-section {
    gap: 50px;
  }

  .story-copy h2 {
    margin-bottom: 24px;
  }

  .story-copy > p:not(.section-label) {
    font-size: 16px;
  }

  .story-points article {
    grid-template-columns: 36px 1fr;
    padding-block: 24px;
    gap: 14px;
  }

  .story-points h3 {
    font-size: 20px;
  }

  .included-inner {
    padding-block: 66px;
  }

  .included-heading h2 {
    font-size: 36px;
  }

  .included-list > div {
    grid-template-columns: 36px 1fr;
  }

  .tour-section {
    gap: 42px;
  }

  .video-frame {
    min-height: 0;
    padding: 16px;
  }

  .video-frame video {
    width: 100%;
    max-height: none;
  }

  .project-hero img {
    height: 310px;
    object-position: 56% center;
  }

  .project-intro {
    padding-block: 48px;
    gap: 34px;
  }

  .project-facts > div {
    align-items: center;
    flex-direction: column;
    gap: 2px;
  }

  .project-facts strong {
    font-size: 24px;
  }

  .facility-rail {
    grid-template-columns: repeat(3, minmax(280px, 1fr));
  }

  .facility-rail img,
  .facility-rail figure:nth-child(2) img,
  .facility-rail figure:nth-child(3) img {
    height: 250px;
  }

  .location-section {
    gap: 42px;
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 420px;
  }

  .map-button {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .faq-section {
    gap: 42px;
  }

  .faq-list summary {
    padding-block: 20px;
    font-size: 17px;
  }

  .closing-media {
    min-height: 340px;
  }

  .closing-copy {
    padding-block: 58px 72px;
  }

  .closing-copy h2 {
    font-size: 38px;
  }

  .closing-price {
    font-size: 48px;
  }

  .closing-old-price {
    font-size: 16px;
  }

  .contact-name {
    font-size: 17px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-item:last-child {
    grid-column: auto;
  }

  .closing-actions {
    width: 100%;
    flex-direction: column;
  }

  .closing-actions .button {
    width: 100%;
  }

  .footer-brand .brand-sub {
    display: inline;
    font-size: 11px;
  }

  .mobile-action-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 75;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    min-height: calc(66px + env(safe-area-inset-bottom));
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(251, 246, 233, 0.97);
    backdrop-filter: blur(16px);
    gap: 8px;
  }

  .mobile-action-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-call {
    color: var(--aqua-dark);
    background: var(--egg-raised);
  }

  .mobile-call svg {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
  }

  .mobile-book {
    color: var(--white);
    border-color: var(--aqua) !important;
    background: var(--aqua);
  }

  .lightbox-inner {
    grid-template-columns: 1fr;
    padding: 64px 16px 16px;
  }

  .lightbox figure {
    height: calc(100vh - 80px);
  }

  .lightbox figcaption {
    align-items: flex-start;
    min-height: 70px;
    font-size: 12px;
  }

  .lightbox-arrow {
    position: fixed;
    top: 50%;
    z-index: 2;
    width: 42px;
    height: 42px;
    background: rgba(10, 13, 15, 0.62);
    transform: translateY(-50%);
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
