/* Rét · Pilisszentiván — local fonts, independent of the CakePHP starter styles. */
:root {
  --paper: #fbfaf6;
  --cream: #f3eee5;
  --sand: #eae3d7;
  --ink: #19251e;
  --muted: #626960;
  --green: #173126;
  --forest: #12271e;
  --line: #d8d7cc;
  --accent: #887455;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); }
body.dialog-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .7; }
:focus-visible { outline: 3px solid #a67b32; outline-offset: 5px; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(2.15rem, 3.65vw, 3.5rem); line-height: 1.1; letter-spacing: -.038em; text-wrap: pretty; }
h3 { font-size: 1.5rem; line-height: 1.2; }
p + p { margin-top: 1rem; }
.wrap { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.section { padding-block: 100px; }
.eyebrow { margin-bottom: 19px; color: #686454; font-size: .65rem; font-weight: 650; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow.light { color: #d0d8c8; }
.lead { font-size: 1.02rem; line-height: 1.8; color: var(--muted); }
.icon { display: inline-block; width: 24px; height: 24px; flex-shrink: 0; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 20px; background: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
/* Navigation */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251,250,246,.97); border-bottom: 1px solid #e1e0d7; backdrop-filter: blur(12px); }
.nav-row { display: flex; min-height: 80px; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; font-size: .72rem; font-weight: 600; letter-spacing: .2em; white-space: nowrap; }
.brand > span { font: 1.9rem var(--serif); letter-spacing: .09em; }
.brand-mark { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.brand-mark > span { line-height: 1; }
.brand-mark > small { font: 600 .55rem/1.1 var(--sans); letter-spacing: .28em; }
.brand > i { font-style: normal; font-size: 1rem; }
.nav-links { display: flex; align-items: center; gap: 25px; }
.nav-links > a { text-decoration: none; font-size: .64rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 650; padding-block: 12px; }
.nav-links > a:hover { color: var(--accent); }
.nav-links .nav-cta { padding: 11px 21px; margin-left: 5px; background: var(--green); color: white; border-radius: 30px; font-size: .8rem; letter-spacing: 0; text-transform: none; display: flex; align-items: center; gap: 16px; }
.nav-cta .icon { width: 17px; height: 17px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 3px; min-height: 44px; padding: 9px 12px; color: var(--ink); align-items: center; gap: 12px; font-size: .8rem; }
.menu-lines { width: 17px; height: 10px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
/* Hero */
.hero { position: relative; min-height: 720px; display: flex; align-items: center; isolation: isolate; background: var(--forest); color: white; }
/* Balance the roofline and walkway; right alignment prioritizes the house on narrow screens. */
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right 32%; z-index: -2; filter: saturate(.92) contrast(1.04) brightness(.98); }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,17,10,.86), rgba(5,17,10,.57) 36%, rgba(5,17,10,.06) 77%), linear-gradient(0deg, rgba(5,17,10,.25), transparent 55%); }
.hero-content { position: relative; padding-block: 70px; }
.hero-copy { max-width: 645px; }
.hero .eyebrow { display: flex; align-items: center; gap: 20px; }
.hero .eyebrow::after { content: ''; width: 46px; height: 1px; background: #b1bbaa; }
h1 { font-size: clamp(3.5rem, 6.15vw, 5.65rem); line-height: .99; letter-spacing: -.045em; margin-bottom: 26px; }
.hero-intro { max-width: 510px; color: #f0f1e9; font-size: 1.075rem; line-height: 1.7; }
.actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 29px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 20px; padding: 14px 20px; min-height: 50px; border: 1px solid transparent; border-radius: 4px; font-size: .84rem; font-weight: 600; text-decoration: none; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button .icon { width: 18px; height: 18px; }
.button-hero { background: rgba(23,49,38,.86); border-color: #cad2c4; color: white; }
.button-glass { background: rgba(22,30,23,.4); border-color: #bfc7bd; color: white; }
.button-dark { background: var(--green); color: white; }
.button-dark:hover, .button-hero:hover { background: #244635; }
.hero-note { margin-top: 30px; color: #e0d7be; font: italic 1.35rem/1.5 var(--serif); }
.hero-signature { position: absolute; right: 0; bottom: 77px; font-size: .59rem; line-height: 2; letter-spacing: .22em; text-align: right; text-transform: uppercase; text-shadow: 0 1px 6px #111; }
.hero-signature span { display: block; width: 60px; height: 1px; background: #dedfcf; margin: 22px 0 0 auto; }
/* Signature facts */
.signature-strip { background: var(--cream); border-bottom: 1px solid var(--line); }
.signature-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding-block: 29px; }
.signature-item { display: flex; align-items: center; justify-content: center; gap: 23px; padding: 10px 12px; border-right: 1px solid var(--line); }
.signature-item:last-child { border: 0; }
.signature-item > .icon { width: 44px; height: 44px; }
.signature-item > div { display: flex; flex-direction: column-reverse; }
.signature-item dt { text-transform: uppercase; letter-spacing: .18em; color: #676458; font-size: .63rem; margin-top: 9px; }
.signature-item dd { font: 1.95rem/1 var(--serif); white-space: nowrap; }
/* Renewal montage and technical board */
.quality { background: #f8f5ee; }
.quality h2 { margin-bottom: 37px; font-size: clamp(2.1rem, 3.35vw, 3.2rem); }
.quality-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 44px; align-items: stretch; }
.quality-intro { min-width: 0; display: flex; flex-direction: column; }
.quality-intro .lead { font-size: .99rem; }
.quality-montage { display: grid; grid-template-columns: 1.3fr .8fr; grid-template-rows: repeat(3, minmax(0, 1fr)); height: 450px; gap: 9px; margin-top: 28px; min-height: 0; }
.montage-image { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.montage-image:first-child { grid-row: 1 / 4; }
.montage-image img { width: 100%; height: 100%; object-fit: cover; }
.montage-image:first-child img { object-position: 46% center; }
.montage-image figcaption { position: absolute; bottom: 11px; left: 11px; max-width: calc(100% - 22px); padding: 5px 9px; background: rgba(251,250,246,.94); font-size: .55rem; text-transform: uppercase; letter-spacing: .12em; }
.quality-board { background: #fffefa; border: 1px solid #e3e0d7; padding: 32px 28px 22px; box-shadow: 0 12px 45px #28302006; min-width: 0; }
.insulation-number { font: 3.75rem/1 var(--serif); letter-spacing: -.035em; white-space: nowrap; }
.insulation-feature .eyebrow { margin: 10px 0 20px; font-size: .6rem; }
.insulation-feature h3 { max-width: 320px; margin-bottom: 13px; font-size: 1.5rem; }
.insulation-feature > p:last-child { font-size: .88rem; color: var(--muted); margin: 0 0 23px; }
.tech-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--line); }
.tech-item { padding: 20px 11px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.tech-item:nth-child(3n+1) { padding-left: 0; }
.tech-item:nth-child(3n) { border-right: 0; padding-right: 0; }
.tech-item:nth-last-child(-n+3) { border-bottom: 0; }
.tech-item > .icon { width: 29px; height: 29px; margin-bottom: 12px; }
.tech-item h3 { font: 650 .8rem/1.45 var(--sans); margin-bottom: 8px; }
.tech-item p { font-size: .76rem; line-height: 1.65; color: var(--muted); }
.signoff { font: italic 1.02rem/1.5 var(--serif); color: #79694e; display: flex; align-items: center; gap: 13px; margin-top: 20px; }
.signoff::before { content: ''; height: 1px; width: 30px; background: #a9987c; flex: 0 0 auto; }
/* Natural materials */
.materials { background: var(--sand); }
.materials-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 42px; align-items: stretch; }
.materials-mosaic { position: relative; display: grid; grid-template-columns: 1.45fr .8fr; grid-template-rows: 1fr 1fr; gap: 8px; min-height: 670px; }
.materials-mosaic img { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.materials-mosaic .mosaic-main { grid-row: 1 / 3; object-position: 45% center; }
.montage-image img, .materials-mosaic img, .terrace-card img, .location-image img, .gallery img { filter: saturate(.92) contrast(1.04) brightness(.99); }
.image-note { position: absolute; bottom: 24px; left: 20px; right: 20px; background: rgba(251,250,246,.92); padding: 13px; font: italic 1rem var(--serif); text-align: center; }
.material-copy { padding: 25px 0 10px 12px; }
.material-copy h2 { margin-bottom: 23px; }
.detail-list { margin-top: 28px; border-top: 1px solid #c9c6b9; }
.detail-list > div { display: grid; grid-template-columns: 97px minmax(0,1fr); gap: 17px; padding-block: 17px; border-bottom: 1px solid #c9c6b9; }
.detail-list dt { font: 1.2rem var(--serif); }
.detail-list dd { font-size: .86rem; color: #4c564b; }
/* Outdoor spaces */
.section-heading { display: grid; grid-template-columns: 1fr .9fr; align-items: end; gap: 65px; margin-bottom: 43px; }
.terrace-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.terrace-card a { display: block; position: relative; overflow: hidden; }
.terrace-card img { width: 100%; aspect-ratio: 4 / 4.5; object-fit: cover; transition: transform .35s; }
.terrace-card:nth-child(1) img { object-position: 65% center; }
.terrace-card:nth-child(2) img { object-position: 68% center; }
.terrace-card:nth-child(3) img { object-position: 64% center; }
.terrace-card a:hover img, .gallery-item:hover img { transform: scale(1.025); }
.terrace-caption { display: flex; gap: 17px; padding-block: 21px; border-bottom: 1px solid var(--line); }
.sequence { font: italic 1.2rem var(--serif); color: #887960; }
.terrace-caption h3 { font-size: 1.4rem; margin-bottom: 6px; }
.terrace-caption p { color: var(--muted); font-size: .8rem; }
.text-link { display: inline-flex; gap: 22px; align-items: center; font-size: .85rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid #9c9f8f; padding-block: 10px; margin-top: 24px; }
.text-link:hover { color: #7c6541; }
.text-link .icon { width: 18px; height: 18px; }
.zoom-badge { position: absolute; right: 11px; bottom: 11px; width: 36px; height: 36px; border-radius: 50%; background: rgba(251,250,246,.94); display: grid; place-items: center; color: var(--ink); opacity: 0; transition: opacity .2s; }
a:hover > .zoom-badge, a:focus-visible > .zoom-badge { opacity: 1; }
.zoom-badge .icon { width: 17px; height: 17px; }
/* Wellness graphic, deliberately no invented photograph */
.wellness { background: var(--forest); color: var(--paper); }
.wellness-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; min-height: 510px; }
.wellness-copy { padding-block: 88px; }
.wellness h2 { margin-bottom: 26px; }
.wellness .lead, .location .lead { color: #d2dbd1; }
.wellness-art { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 25px; isolation: isolate; }
.wellness-art > .icon { width: 40px; height: 49px; color: #beaf8e; }
.wellness-art > span { font: clamp(2rem, 3.5vw, 3.6rem) var(--serif); color: #efe8d9; white-space: nowrap; }
.wellness-art i { color: #bdac86; font-size: .7em; font-style: normal; }
.wellness-art small { color: #bec6b4; font: italic 1.1rem var(--serif); }
.wellness-circle { position: absolute; width: min(95%, 390px); aspect-ratio: 1; border: 1px solid #77877555; border-radius: 50%; z-index: -1; }
.wellness-circle::after { content: ''; position: absolute; inset: 13px; border: 1px solid #77877522; border-radius: 50%; }
/* Floor plan */
.plan { background: #fffefa; }
.plan-grid { display: grid; grid-template-columns: 1.07fr 1fr; align-items: center; gap: 62px; }
.plan-card { padding: 22px 15px; background: white; border: 1px solid var(--line); text-decoration: none; box-shadow: 0 22px 60px #19251e0a; }
.plan-card img { width: 100%; }
.plan-card > span { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 18px; font-size: .74rem; color: #566152; }
.plan-card .icon { width: 18px; }
.plan h2 { margin-bottom: 22px; }
.room-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 25px; margin-top: 28px; border-top: 1px solid var(--line); }
.room-grid > div { padding-block: 18px; border-bottom: 1px solid var(--line); }
.room-grid dt { font: 1.6rem var(--serif); margin-bottom: 6px; }
.room-grid dd { font-size: .81rem; color: var(--muted); }
/* Location and financing */
.location { background: var(--forest); color: var(--paper); }
.location-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.location-image { position: relative; min-height: 660px; }
.location-image img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 46% center; }
.location-image::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, #091d15b0); }
.location-image figcaption { position: absolute; left: 8%; bottom: 7%; z-index: 1; color: #fff7df; font: 1.6rem/1.3 var(--serif); }
.location-copy { padding: 65px clamp(30px, 4.5vw, 80px); }
.location-copy h2 { margin-bottom: 24px; }
.location-copy .lead { font-size: .95rem; }
.finance-box { display: flex; align-items: start; gap: 14px; border: 1px solid #7e8c70; border-radius: 4px; background: #ffffff04; padding: 22px; margin-top: 27px; font-size: .89rem; line-height: 1.7; }
.finance-box strong { font-weight: 650; }
.info-icon { font: 1rem var(--serif); border: 1px solid currentColor; border-radius: 50%; width: 23px; height: 23px; display: grid; place-items: center; flex-shrink: 0; margin-top: 2px; }
.location-points { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 28px 0 0; padding: 0; list-style: none; }
.location-points li { display: flex; align-items: center; text-align: center; flex-direction: column; gap: 13px; padding: 4px 12px; font-size: .69rem; border-right: 1px solid #7e8c7044; }
.location-points li:last-child { border: 0; }
.location-points .icon { width: 29px; height: 29px; }
.map-row { padding-block: 52px; display: grid; grid-template-columns: 1fr 1.5fr; align-items: center; gap: 65px; }
.map-row h3 { font-size: 2.1rem; margin-bottom: 15px; }
.map-row p:last-child { color: #c4cec3; font-size: .87rem; }
.map-card { position: relative; display: block; border: 5px solid #e7e4d7; }
.map-card img { width: 100%; }
/* Full gallery */
.gallery { columns: 4; column-gap: 12px; }
.gallery-item { display: block; break-inside: avoid; position: relative; margin-bottom: 12px; overflow: hidden; background: var(--sand); cursor: zoom-in; }
.gallery-item img { width: 100%; height: auto; transition: transform .3s; }
.gallery-end { display: flex; align-items: center; justify-content: center; gap: 20px; color: #776c54; font: italic 1.1rem var(--serif); margin-top: 33px; }
.gallery-end span { width: 40px; height: 1px; background: var(--line); }
/* Contact */
.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 86px; align-items: start; }
.price { font: clamp(2.8rem, 4.2vw, 4.1rem)/1.2 var(--serif); letter-spacing: -.04em; margin-top: 29px; }
.price span { font-size: .7em; }
.contact-summary { color: var(--muted); font-size: .97rem; margin-top: 19px; }
.finance-light { background: #fffaf1; border-color: #bbb69f; }
.finance-light h3 { font: 650 .85rem var(--sans); margin-bottom: 9px; }
.finance-light p { color: #414d40; }
.phone-link { display: block; margin-top: 20px; }
.contact-form-card { background: #fffefa; padding: 37px; border: 1px solid #e6e2d8; box-shadow: 0 22px 60px #19251e06; }
.contact-form-card > h3 { font-size: 2.05rem; margin-bottom: 16px; }
.form-intro { color: var(--muted); font-size: .89rem; margin-bottom: 22px; }
.availability-note { padding: 14px 16px; border-left: 2px solid #9c8561; background: #f3efe5; font-size: .8rem; color: #505748; margin-bottom: 25px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .7rem; letter-spacing: .06em; font-weight: 650; margin-bottom: 7px; }
.field input, .field textarea { width: 100%; min-width: 0; border: 1px solid #c7cbbd; background: #fbfbf7; border-radius: 2px; color: var(--ink); padding: 12px; font-size: 1rem; }
.field input { min-height: 47px; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { border-color: #355d40; outline: 2px solid #355d4044; outline-offset: 1px; }
.field input::placeholder, .field textarea::placeholder { color: #73786e; font-size: .84rem; opacity: 1; }
.field-hint { font-size: .72rem; color: #666d60; margin: -11px 0 18px; }
.field .error-message, .field-error { color: #943b2b; font-size: .8rem; margin-top: 6px; }
.field [aria-invalid="true"], .has-error input { border-color: #ad4b38; }
.honeypot { display: none; }
.submit-button { width: 100%; text-align: center; padding-inline: 13px; gap: 12px; }
.form-note { color: #62695e; font-size: .72rem; margin-top: 13px; }
.form-feedback { border: 1px solid #b8836d; background: #fff5ec; padding: 14px; font-size: .85rem; margin-bottom: 20px; }
.form-feedback.is-success { border-color: #607b50; background: #edf3e8; }
/* Footer and accessible native dialog */
.site-footer { background: #11221a; color: #d2d7c8; padding-block: 32px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.footer-row > span, .footer-row > a:last-child { font-size: .72rem; }
.site-footer .brand > span { font-size: 1.45rem; }
.site-footer .brand { font-size: .58rem; }
.lightbox { border: 0; padding: 22px 32px; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; color: #f8f4e9; background: rgba(6,16,10,.97); }
.lightbox[open] { display: grid; grid-template-rows: 48px minmax(0,1fr) auto; gap: 12px; }
.lightbox::backdrop { background: #08100b; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; font-size: .83rem; color: #cdd6c7; }
.icon-button { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #ffffff4d; border-radius: 50%; background: #ffffff0d; color: white; }
.icon-button:hover { background: #ffffff25; }
.lightbox-stage { display: flex; align-items: center; justify-content: center; gap: 24px; min-height: 0; }
.lightbox-stage img { display: block; min-width: 0; max-width: calc(100% - 144px); max-height: 100%; object-fit: contain; width: auto; height: auto; }
.lightbox-prev { flex-shrink: 0; }
.lightbox-prev .icon { transform: rotate(180deg); }
.lightbox-next { flex-shrink: 0; }
.lightbox-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; font-size: .84rem; padding: 10px 0; }
.lightbox-bottom > a { flex-shrink: 0; font-size: .74rem; color: #c5d1be; }
#lightbox-error { position: absolute; top: 75px; left: 20px; right: 20px; text-align: center; background: #12271e; padding: 12px; }
/* Tablet */
@media (max-width: 1200px) {
  .wrap { width: calc(100% - 72px); }
  .nav-links { gap: 17px; }
  .brand { font-size: .65rem; gap: 9px; }
  .nav-links .nav-cta { padding-inline: 16px; }
  .nav-cta .icon { display: none; }
  .signature-item { gap: 12px; padding-inline: 8px; }
  .signature-item > .icon { width: 34px; height: 34px; }
  .signature-item dd { font-size: 1.6rem; }
  .quality-grid { gap: 28px; }
  .quality-board { padding: 27px 22px 20px; }
  .materials-grid { gap: 30px; }
  .material-copy { padding-left: 0; }
  .plan-grid { gap: 36px; }
  .contact-grid { gap: 42px; }
  .location-copy { padding: 50px 35px; }
}
@media (max-width: 1040px) {
  .nav-row { flex-wrap: wrap; min-height: 72px; padding-block: 14px; }
  .nav-links { flex-basis: 100%; justify-content: center; flex-wrap: wrap; padding-bottom: 7px; }
  .menu-ready .menu-toggle { display: inline-flex; }
  .menu-ready .nav-links { display: none; }
  .menu-ready .nav-links.is-open { display: flex; }
  .hero { min-height: 680px; }
  .hero-copy { max-width: 570px; }
  h1 { font-size: 4.6rem; }
  .signature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 12px; }
  .signature-item { justify-content: start; gap: 14px; padding: 20px 28px; border-bottom: 1px solid var(--line); }
  .signature-item:nth-child(even) { border-right: 0; }
  .signature-item.signature-price { grid-column: 1 / -1; justify-content: center; border: 0; }
  .signature-item > .icon { width: 34px; height: 34px; }
  .signature-item dd { font-size: 1.6rem; }
  .quality-grid { grid-template-columns: 1fr; }
  .quality-montage { height: 450px; }
  .quality-intro .lead { max-width: 820px; }
  .quality-board { padding: 30px; }
  .insulation-feature h3 { max-width: none; }
  .insulation-feature > p:last-child { max-width: 600px; }
  .tech-item { padding: 22px; }
  .tech-item h3 { font-size: .92rem; }
  .tech-item p { font-size: .85rem; }
  .materials-grid { gap: 26px; }
  .materials-mosaic { min-height: 670px; grid-template-columns: 1.2fr 1fr; }
  .detail-list > div { grid-template-columns: 1fr; gap: 5px; padding-block: 12px; }
  .section-heading { gap: 35px; }
  .wellness-grid { gap: 35px; }
  .wellness-copy { padding-block: 65px; }
  .location-grid { grid-template-columns: 1fr; }
  .location-image { min-height: 480px; }
  .location-image img { object-position: center 40%; }
  .location-copy { padding: 55px 8%; }
  .contact-form-card { padding: 26px; }
}
/* Mobile and narrow portrait tablets */
@media (max-width: 700px) {
  html { scroll-padding-top: 88px; }
  .wrap { width: calc(100% - 40px); }
  .section { padding-block: 65px; }
  h2 { font-size: 2.4rem; }
  .eyebrow { font-size: .59rem; margin-bottom: 17px; }
  .nav-row { min-height: 70px; gap: 10px; }
  .brand { font-size: .55rem; letter-spacing: .16em; gap: 8px; }
  .brand > span { font-size: 1.55rem; }
  .menu-toggle { padding: 8px 10px; }
  .menu-toggle > span:first-child { font-size: .7rem; }
  .nav-links { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 2px 16px; padding: 15px 0 5px; }
  .menu-ready .nav-links.is-open { display: grid; }
  .nav-links > a { padding: 12px 5px; font-size: .7rem; }
  .nav-links .nav-cta { margin-left: 0; font-size: .73rem; padding: 12px; text-align: center; }
  .hero { min-height: 740px; align-items: end; }
  .hero-image { height: 440px; object-position: right center; }
  .hero-shade { background: linear-gradient(180deg, #10261900 130px, #12271e20 200px, #12271ef0 380px, #12271e 460px); }
  .hero-content { padding: 276px 0 39px; }
  .hero-copy { max-width: 100%; }
  h1 { font-size: clamp(2.7rem, 11vw, 4.2rem); line-height: 1.025; letter-spacing: -.045em; margin-bottom: 20px; }
  .hero-intro { font-size: .94rem; line-height: 1.7; }
  .hero .eyebrow { font-size: .61rem; }
  .hero-signature { display: none; }
  .hero-note { font-size: 1.07rem; margin-top: 23px; }
  .actions { gap: 10px; margin-top: 24px; }
  .actions .button { flex: 1 1 100%; min-height: 48px; padding: 11px 15px; justify-content: space-between; }
  .signature-grid { grid-template-columns: 1fr 1fr; padding-block: 9px; }
  .signature-item { justify-content: start; padding: 19px 10px; gap: 14px; }
  .signature-item:nth-child(2) { border: 0; }
  .signature-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .signature-item:nth-child(even) { padding-left: 20px; }
  .signature-item > .icon { width: 30px; height: 30px; }
  .signature-item dd { font-size: 1.35rem; }
  .signature-item dt { font-size: .54rem; }
  .quality h2 { font-size: 2.3rem; margin-bottom: 23px; }
  .quality-intro .lead, .lead { font-size: .96rem; }
  .quality-montage { height: 342px; grid-template-rows: repeat(3, minmax(0, 1fr)); grid-template-columns: 1.2fr 1fr; gap: 6px; }
  .montage-image figcaption { left: 6px; bottom: 7px; padding: 4px 6px; font-size: .48rem; max-width: calc(100% - 12px); letter-spacing: .045em; }
  .quality-board { padding: 26px 21px; }
  .insulation-number { font-size: 3.4rem; }
  .insulation-feature h3 { font-size: 1.6rem; }
  .tech-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .tech-item, .tech-item:nth-child(3n), .tech-item:nth-child(3n+1) { padding: 20px 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .tech-item:nth-child(odd) { padding-left: 0; }
  .tech-item:nth-child(even) { padding-right: 0; border-right: 0; }
  .tech-item:nth-last-child(-n+2) { border-bottom: 0; }
  .tech-item h3 { font-size: .82rem; }
  .tech-item p { font-size: .77rem; }
  .signoff { font-size: 1rem; }
  .materials-grid { grid-template-columns: 1fr; gap: 34px; }
  .materials-mosaic { min-height: 0; height: 450px; grid-template-columns: 1.4fr .85fr; }
  .material-copy { padding: 0; }
  .detail-list > div { grid-template-columns: 80px minmax(0,1fr); gap: 10px; padding-block: 16px; }
  .detail-list dd { font-size: .85rem; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 30px; }
  .terrace-grid { grid-template-columns: 1fr; gap: 29px; }
  .terrace-card img { aspect-ratio: 1.1; }
  .terrace-caption { padding-block: 17px; }
  .zoom-badge { opacity: 1; width: 31px; height: 31px; }
  .wellness-grid { grid-template-columns: 1fr; gap: 0; }
  .wellness-copy { padding: 60px 0 15px; }
  .wellness-art { min-height: 360px; gap: 21px; }
  .wellness-circle { width: 290px; }
  .wellness-art > span { font-size: 2.4rem; }
  .plan-grid { grid-template-columns: 1fr; gap: 36px; }
  .plan-card { order: 2; }
  .room-grid { gap: 0 18px; }
  .room-grid dd { font-size: .78rem; }
  .location-image { min-height: 400px; }
  .location-copy { padding: 49px 20px 35px; }
  .location-copy h2 { font-size: 2.4rem; }
  .finance-box { padding: 18px 16px; gap: 11px; font-size: .86rem; }
  .location-points { margin-top: 26px; }
  .location-points li { padding-inline: 8px; font-size: .65rem; }
  .map-row { grid-template-columns: 1fr; gap: 25px; padding-block: 20px 45px; }
  .map-row h3 { font-size: 1.8rem; }
  .gallery { columns: 2; column-gap: 8px; }
  .gallery-item { margin-bottom: 8px; }
  .gallery-item .zoom-badge { width: 26px; height: 26px; bottom: 7px; right: 7px; }
  .gallery-item .zoom-badge .icon { width: 14px; height: 14px; }
  .contact-grid { grid-template-columns: 1fr; gap: 37px; }
  .price { font-size: 3.15rem; }
  .contact-form-card { padding: 26px 20px; }
  .contact-form-card > h3 { font-size: 1.9rem; }
  .submit-button { font-size: .76rem; gap: 8px; }
  .site-footer { padding-block: 27px; }
  .footer-row { gap: 18px; }
  .footer-row > span { width: 100%; }
  .lightbox { padding: 12px; }
  .lightbox[open] { gap: 8px; }
  .lightbox-stage { position: relative; gap: 0; }
  .lightbox-stage img { max-width: 100%; }
  .lightbox-prev, .lightbox-next { position: absolute; bottom: 9px; background: #102015e6; z-index: 1; }
  .lightbox-prev { left: 5px; }
  .lightbox-next { right: 5px; }
  .lightbox-bottom { flex-direction: column; align-items: start; gap: 8px; font-size: .8rem; }
}
@media (max-width: 370px) {
  .wrap { width: calc(100% - 32px); }
  .brand { font-size: .5rem; gap: 6px; }
  .menu-toggle { padding-inline: 7px; }
  h1 { font-size: 2.55rem; }
  .signature-item { gap: 9px; padding-inline: 4px; }
  .signature-item:nth-child(even) { padding-left: 13px; }
  .signature-item dd { font-size: 1.2rem; }
  .insulation-number { font-size: 3rem; }
  .quality-board { padding-inline: 17px; }
  .price { font-size: 2.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .actions, .contact-form-card, .lightbox, .gallery, .site-footer { display: none !important; }
  .hero { min-height: 0; background: white; color: black; }
  .hero-image, .hero-shade, .hero-signature { display: none; }
  .hero-content { padding-block: 20px; }
  .hero-intro, .hero-note { color: black; }
  .section { padding-block: 25px; }
  .wrap { width: 100%; }
}
