/* Apartment chapter: existing Rawas foundation values, scoped to this chapter. */
.apartment-chapter {
  --apt-surface: #f4f4ea;
  --apt-ink: var(--ink);
  --apt-muted: #525348;
  --apt-rule: #b9bdaf;
  --apt-white: #fff;
  --apt-space-xs: 8px;
  --apt-space-sm: 16px;
  --apt-space-md: 24px;
  --apt-space-lg: 40px;
  --apt-space-xl: 80px;
  --apt-inset: clamp(24px, 4.16667vw, 80px);
  --apt-heading: clamp(48px, 4vw, 72px);
  --apt-type: clamp(24px, 2.08333vw, 40px);
  --apt-number: clamp(40px, 3.33333vw, 64px);
  --apt-body: 16px;
  --apt-label: 14px;
  --apt-leading: 1.15;
  --apt-body-leading: 1.5;
  --apt-regular: 400;
  --apt-medium: 500;
  --apt-touch: 48px;
  --apt-scene-height: max(780px, 100svh);
  --apt-mobile-image: 480px;
  --apt-content-max: 720px;
  --apt-focus: 3px;
  --apt-focus-offset: 5px;
  --apt-hairline: 1px;
  --apt-image-shade: linear-gradient(transparent,rgba(0,0,0,.55));
}

@media (max-width: 599px) {
  .apartment-chapter { --apt-heading: clamp(36px, 9.3vw, 52px); }
}

/* Legal reading pages: Rawas editorial grid, with native scroll for sticky navigation. */
.legal-page {
  --legal-surface: var(--surface);
  --legal-ink: var(--ink);
  --legal-muted: #525348;
  --legal-toc-muted: #76766f;
  --legal-rule: var(--brand-light-grey);
  --legal-max: 1920px;
  --legal-gutter: clamp(20px, 4.166667vw, 80px);
  --legal-display: clamp(56px, 8.333333vw, 160px);
  --legal-heading: clamp(28px, 2.083333vw, 40px);
  --legal-body: 20px;
  --legal-label: 16px;
  --legal-leading: 1.5;
  --legal-display-leading: 1.05;
  --legal-heading-leading: 1.2;
  --legal-top: clamp(160px, 12.5vw, 240px);
  --legal-large: clamp(64px, 6.25vw, 120px);
  --legal-medium: 48px;
  --legal-small: 24px;
  --legal-xs: 12px;
  --legal-micro: 4px;
  --legal-sticky: 120px;
  --legal-reading: 800px;
  --legal-weight: 500;
  --legal-regular: 400;
  --legal-hairline: 1px;
  --legal-focus: 3px;
}
@media(max-width:899px) { .legal-page { --legal-body: 18px; --legal-medium: 40px; --legal-gutter: 24px; } }
@media(max-width:599px) { .legal-page { --legal-gutter: 20px; --legal-display: clamp(44px, 11vw, 64px); --legal-label: 14px; } }

.contact-page {
  --contact-white: var(--surface);
  --contact-ink: var(--ink);
  --contact-muted: #525348;
  --contact-rule: var(--brand-light-grey);
  --contact-max: 1920px;
  --contact-reading: 1440px;
  --contact-gutter: clamp(20px,4.166667vw,80px);
  --contact-top: clamp(160px,12.5vw,240px);
  --contact-display: clamp(52px,6.666667vw,128px);
  --contact-heading: clamp(36px,4vw,72px);
  --contact-question: clamp(20px,1.458333vw,28px);
  --contact-body: 20px;
  --contact-label: 16px;
  --contact-leading: 1.5;
  --contact-tight: 1.08;
  --contact-section: clamp(80px,8.333333vw,160px);
  --contact-large: 80px;
  --contact-medium: 40px;
  --contact-small: 24px;
  --contact-xs: 12px;
  --contact-icon: 24px;
  --contact-touch: 64px;
  --contact-hairline: 1px;
}
@media(max-width:699px) { .contact-page { --contact-gutter: 24px; --contact-body: 18px; --contact-large: 48px; --contact-medium: 32px; } }

/* Editorial pages: reuse the legal reading grid and homepage card proportions. */
.editorial-page {
 --editorial-max: 1680px; --editorial-grid-max: 1440px;
 --editorial-gutter: clamp(20px,4.166667vw,80px);
 --editorial-top: clamp(160px,12.5vw,240px);
 --editorial-display: clamp(56px,7.3vw,140px);
 --editorial-title: clamp(40px,5.2vw,100px);
 --editorial-card-title: clamp(22px,1.67vw,32px);
 --editorial-body:20px; --editorial-label:14px;
 --editorial-leading:1.5; --editorial-heading-leading:1.08;
 --editorial-weight:500; --editorial-regular:400;
 --editorial-wide:clamp(64px,8.333vw,160px); --editorial-large:96px;
 --editorial-gap:clamp(40px,6.25vw,120px); --editorial-offset:100px;
 --editorial-medium:48px; --editorial-small:24px; --editorial-xs:12px; --editorial-tiny:8px;
 --editorial-touch:44px; --editorial-line:1px; --editorial-hero:75svh;
 --editorial-note:#F4F4EA; --editorial-muted:#76766f; --editorial-skeleton:#eeeee8;
 --editorial-card-width:100%; --editorial-tabs-space:80px; --editorial-quote:clamp(28px,2.5vw,44px);
}
@media(max-width:899px){.editorial-page{--editorial-body:18px;--editorial-gutter:24px;--editorial-gap:40px;--editorial-offset:64px;--editorial-card-width:100%;--editorial-hero:60svh;}}
@media(max-width:599px){.editorial-page{--editorial-gutter:20px;--editorial-display:clamp(44px,11vw,64px);--editorial-large:64px;--editorial-offset:0px;--editorial-tabs-space:48px;--editorial-hero:55svh;--editorial-medium:32px;}}

/* Interiors: split image chapter, using the established apartment type scale. */
.interiors-chapter {
 --interiors-surface: #f4f4ea; --interiors-ink: var(--ink);
 --interiors-heading: clamp(48px,4vw,72px); --interiors-body:20px;
 --interiors-leading:1.4; --interiors-tight:1.08; --interiors-weight:500;
 --interiors-inset:clamp(32px,4.166667vw,80px);
 --interiors-gap:24px; --interiors-small:8px; --interiors-label:14px;
 --interiors-thumb:56px; --interiors-thumb-height:44px;
 --interiors-measure:32ch; --interiors-rule:1px; --interiors-focus:3px;
 --interiors-image-height:70svh; --interiors-min-height:600px; --interiors-copy-top:120px;
}
@media(max-width:899px){.interiors-chapter{--interiors-inset:24px;--interiors-heading:clamp(36px,7vw,52px);--interiors-body:18px;}}
@media(max-width:599px){.interiors-chapter{--interiors-inset:20px;--interiors-image-height:60svh;}}

/* Amenities wheel: white scene and the existing homepage display hierarchy. */
.amenities-chapter {
 --amenity-surface:var(--surface,#fff); --amenity-ink:var(--ink,#000);
 --amenity-heading:clamp(36px,5vw,96px); --amenity-title:clamp(28px,3vw,56px);
 --amenity-body:clamp(18px,1.25vw,24px); --amenity-weight:500;
 --amenity-leading:1.4; --amenity-tight:1.08;
 --amenity-top:clamp(100px,13svh,160px); --amenity-bottom:40px;
 --amenity-inset:clamp(20px,2.083333vw,40px); --amenity-gap:clamp(24px,4svh,56px);
 --amenity-copy-gap:16px; --amenity-width:min(47vw,82svh,1100px);
 --amenity-card-gap:clamp(48px,7vw,160px); --amenity-measure:34ch;
 --amenity-static-gap:clamp(40px,5vw,96px);
}
@media(max-width:899px){.amenities-chapter{--amenity-inset:24px;--amenity-heading:clamp(36px,6vw,64px);}}
@media(max-width:599px){.amenities-chapter{--amenity-inset:20px;--amenity-top:80px;--amenity-title:28px;}}

.architecture-chapter {
 --architecture-ink:#fff; --architecture-base:#000;
 --architecture-shade:linear-gradient(180deg,rgba(0,0,0,.55),rgba(0,0,0,.2) 45%,rgba(0,0,0,.72));
 --architecture-title:clamp(44px,4.166667vw,80px); --architecture-body:20px; --architecture-label:16px;
 --architecture-weight:500; --architecture-leading:1.4; --architecture-tight:1.08;
 --architecture-top:clamp(120px,17svh,200px); --architecture-bottom:clamp(48px,6svh,96px);
 --architecture-inset:clamp(24px,4.166667vw,80px); --architecture-gap:32px;
 --architecture-small:8px; --architecture-tiny:4px; --architecture-rule:1px; --architecture-focus:3px;
 --architecture-height:100svh; --architecture-min:720px; --architecture-max:1920px;
 --architecture-measure:38ch; --architecture-heading-width:1100px;
}
@media(max-width:699px){.architecture-chapter{--architecture-title:clamp(36px,8vw,52px);--architecture-body:18px;--architecture-inset:24px;--architecture-min:700px;}}
@media(max-width:419px){.architecture-chapter{--architecture-inset:20px;}}

/* Guarantees: feature panel and six always-visible warranty selections. */
.guarantees-chapter{
 --guarantee-surface:#fff;--guarantee-card:#F4F4EA;--guarantee-ink:#000;--guarantee-muted:#62645c;--guarantee-line:#B9BDAF;
 --guarantee-max:1760px;--guarantee-inset:clamp(20px,4.166667vw,80px);--guarantee-space:clamp(64px,6.25vw,120px);
 --guarantee-title:clamp(40px,5vw,96px);--guarantee-number:clamp(120px,13vw,250px);--guarantee-unit:clamp(20px,2vw,36px);
 --guarantee-option:clamp(18px,1.25vw,24px);--guarantee-label:14px;--guarantee-regular:400;--guarantee-medium:500;
 --guarantee-tight:1.08;--guarantee-leading:1.4;--guarantee-tracking:-.06em;
 --guarantee-gap:clamp(24px,3.125vw,60px);--guarantee-padding:clamp(28px,3.125vw,60px);--guarantee-small:12px;
 --guarantee-panel-height:520px;--guarantee-content-height:360px;--guarantee-option-padding:28px;--guarantee-label-height:40px;
 --guarantee-rule:1px;--guarantee-focus:2px;--guarantee-dot:10px;--guarantee-dot-top:7px;
}
@media(max-width:899px){.guarantees-chapter{--guarantee-panel-height:440px;--guarantee-space:64px;}}

/* Technical illustration warranty chapter extension. */
.guarantees-chapter{
 --guarantee-service:clamp(28px,3vw,58px);
 --guarantee-copy-width:580px;
 --guarantee-art-height:760px;
 --guarantee-stage-padding:clamp(84px,8vh,120px);
 --guarantee-mobile-art:420px;
 --guarantee-mobile-service:28px;
}

/* Project enquiry: homepage fields in a split photographic closing chapter. */
.project-enquiry {
 --project-enquiry-surface:#F4F4EA;--project-enquiry-white:#fff;
 --project-enquiry-inset:clamp(24px,4.166667vw,80px);
 --project-enquiry-title:clamp(44px,4.5vw,86px);
 --project-enquiry-body:20px;--project-enquiry-gap:40px;
 --project-enquiry-heading-width:640px;--project-enquiry-copy-width:420px;
 --project-enquiry-form-width:640px;--project-enquiry-min-height:100svh;
 --project-enquiry-leading:1.08;--project-enquiry-weight:500;
 --project-enquiry-image-position:48% center;
 --project-enquiry-shade:linear-gradient(180deg,transparent 30%,rgba(0,0,0,.72));
}
@media(max-width:899px){.project-enquiry{--project-enquiry-title:48px;--project-enquiry-min-height:70svh;}}
@media(max-width:599px){.project-enquiry{--project-enquiry-title:40px;--project-enquiry-body:18px;--project-enquiry-min-height:560px;}}
