/* ============================================================
   ADALINE PAGE — loaded ONLY by adaline.html.
   Every rule is scoped to body.adaline-page so nothing here
   can affect the rest of the Jetton site.
   Page keeps the site's original fonts and colors; these rules
   style the new site plan, two homes, fully custom and
   Why Adaline sections.
   ============================================================ */

.adaline-page .ad-label { font: 500 .68rem var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--tan); }

/* ---------- Site plan: original plat; "move-in ready" marker ---------- */
.adaline-page .pin--ready { background: var(--tan); }
.adaline-page .dot--ready { background: var(--tan); }

/* ---------- Two homes ---------- */
.adaline-page .homes { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); max-width: 1240px; }
.adaline-page .home-card__img { aspect-ratio: 3/2; }

/* ---------- Fully custom ---------- */
.split--ad { align-items: start; }
.ad-draw { display: block; height: 76px; width: auto; margin-bottom: 1.6rem; opacity: .9; }
.adaline-page #build .chapter__head p { color: #cdbfae; }
.adaline-page #build .chapter__head p + p { color: #e3d1ac; font: italic 400 1.25rem var(--serif); margin-top: 1.6rem; }
.ad-paths { display: grid; gap: 1px; background: rgba(246,241,233,.15); border: 1px solid rgba(246,241,233,.15); }
.ad-path { display: block; position: relative; padding: clamp(1.6rem, 3vw, 2.4rem); background: var(--ink); color: var(--cream); text-decoration: none; transition: background .3s; }
.ad-path:hover { background: #2b2a26; }
.ad-path__num { position: absolute; top: clamp(1.6rem, 3vw, 2.4rem); right: clamp(1.6rem, 3vw, 2.4rem); font: 400 1.1rem var(--serif); color: #8f8783; }
.ad-path .ad-label { color: #d9c4a3; }
.ad-path strong { display: block; font: 400 clamp(2rem, 3.2vw, 2.7rem) var(--serif); margin: .6rem 0 .5rem; }
.ad-path p { margin: 0 0 1.2rem; color: #cdbfae; }
.ad-path__go { font: 500 .62rem var(--sans); letter-spacing: .3em; text-transform: uppercase; color: #d9c4a3; }
.ad-path__go::after { content: " ⟶"; letter-spacing: 0; }

/* ---------- Why Adaline ---------- */
.ad-icon { display: block; height: 64px; width: auto; margin-bottom: 1.2rem; }

/* ---------- Beauty in Progress: photo mosaic ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 16vw, 250px); gap: clamp(.5rem, 1vw, .9rem); }
.pg { position: relative; margin: 0; overflow: hidden; background: var(--sand); }
.pg img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform 1.2s ease; }
.pg:hover img { transform: scale(1.03); }
.pg figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem 1rem .8rem; background: linear-gradient(transparent, rgba(20,16,12,.65)); color: #f4f1eb; font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; opacity: 0; transition: opacity .4s; }
.pg:hover figcaption { opacity: 1; }
.pg--a { grid-column: 1 / 3; grid-row: span 2; }
.pg--b, .pg--c { grid-row: span 2; }
.pg--d { grid-column: 1; grid-row: span 2; }
.pg--e { grid-column: 2 / 4; }
.pg--f { grid-column: 4; grid-row: span 2; }
.pg--g { grid-column: 2 / 4; }
@media (max-width: 760px) {
  .pgrid { grid-template-columns: 1fr 1fr; grid-auto-rows: 46vw; }
  .pg--a, .pg--e, .pg--g { grid-column: 1 / -1; grid-row: span 1; }
  .pg--b, .pg--c, .pg--d, .pg--f { grid-column: auto; grid-row: span 1; }
  .pg figcaption { opacity: 1; }
}


/* ---------- Subtle lot markers ---------- */
.adaline-page .pin { width: clamp(17px, 1.6vw, 23px); height: clamp(17px, 1.6vw, 23px); border: 1px solid rgba(255,255,255,.85); font: 500 clamp(.5rem, .62vw, .62rem) var(--sans); box-shadow: 0 1px 3px rgba(0,0,0,.25); opacity: .92; }
.adaline-page .pin--estate { width: clamp(22px, 2vw, 30px); height: clamp(22px, 2vw, 30px); }
.adaline-page .pin--available { background: rgba(95,122,78,.88); }
.adaline-page .pin--reserved { background: rgba(246,243,235,.82); color: var(--ink); border-color: rgba(32,32,29,.45); }
.adaline-page .pin--ready { background: rgba(168,145,111,.92); }
.adaline-page .pin:hover, .adaline-page .pin:focus-visible { opacity: 1; transform: translate(-50%, -50%) scale(1.25); }
.adaline-page .pin.is-active { opacity: 1; transform: translate(-50%, -50%) scale(1.3); box-shadow: 0 0 0 3px rgba(168,145,111,.45), 0 1px 4px rgba(0,0,0,.3); }

/* Mobile: let the plat scroll sideways so markers never overlap */
.plat__swipe { display: none; }
@media (max-width: 760px) {
  .adaline-page .plat__map { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .adaline-page .plat__canvas { width: 760px; max-width: none; }
  .adaline-page .pin { width: 20px; height: 20px; font-size: .56rem; }
  .adaline-page .pin--estate { width: 26px; height: 26px; }
  .plat__swipe { display: block; margin: .6rem 0 0; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
  .plat__swipe::after { content: " ⟶"; letter-spacing: 0; }
}
/* Markers: slightly larger; charcoal = reserved, gold = available home, green = available homesite */
.adaline-page .pin { width: clamp(19px, 1.9vw, 27px); height: clamp(19px, 1.9vw, 27px); font-size: clamp(.54rem, .7vw, .68rem); }
.adaline-page .pin--estate { width: clamp(25px, 2.4vw, 34px); height: clamp(25px, 2.4vw, 34px); }
.adaline-page .pin--reserved { background: rgba(52,51,48,.9); color: #F4F1EB; border-color: rgba(255,255,255,.8); }
.adaline-page .dot--reserved { background: #343330; box-shadow: none; }
.adaline-page .pin--ready { background: rgba(168,145,111,.95); color: #fff; }
.adaline-page .pin--available { background: rgba(95,122,78,.92); color: #fff; }
@media (max-width: 760px) { .adaline-page .pin { width: 22px; height: 22px; font-size: .6rem; } .adaline-page .pin--estate { width: 28px; height: 28px; } }
.adaline-page .home-card__price { font: 500 1.05rem var(--serif); color: var(--ink); margin: .2rem 0 .6rem; }

/* ---------- Residence teaser + detail overlay ---------- */
.adaline-page .plat__home--teaser img { aspect-ratio: 16/9; }
.res { position: fixed; inset: 0; z-index: 70; background: rgba(20,18,16,.72); display: grid; place-items: center; padding: clamp(.8rem, 3vw, 2.5rem); }
.res[hidden] { display: none; }
.res__panel { position: relative; width: min(1080px, 100%); max-height: 92vh; overflow: auto; background: var(--cream); box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); }
.res__body { display: grid; grid-template-columns: 1.25fr 1fr; align-items: stretch; }
.res__img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; display: block; }
.res__info { padding: clamp(1.6rem, 3.5vw, 2.8rem); }
.res__info h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin: 0; }
.res__city { margin: .3rem 0 1.4rem; color: var(--muted); }
.res__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.6rem; margin: 0 0 1.4rem; padding: 1.2rem 0; border-top: 1px solid rgba(132,109,93,.25); border-bottom: 1px solid rgba(132,109,93,.25); }
.res__facts dt { font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.res__facts dd { margin: .2rem 0 0; font: 500 1.15rem var(--serif); color: var(--ink); }
.res__note { font-size: .88rem; margin: 0 0 .5rem; color: #4a3d31; }
.res__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 1.6rem; }
.res__ctas .link-arrow { background: none; border: 0; cursor: pointer; }
.res__close { position: absolute; top: .9rem; right: 1rem; z-index: 2; background: rgba(246,243,235,.92); border: 0; padding: .45rem .8rem; font: 500 .64rem var(--sans); letter-spacing: .22em; text-transform: uppercase; cursor: pointer; }
.adaline-page .home-card .link-arrow { margin-top: .4rem; }
@media (max-width: 800px) { .res__body { grid-template-columns: 1fr; } .res__img { min-height: 0; aspect-ratio: 16/10; } }
.adaline-page .plat__link { background: none; border: 0; padding: .4rem 0; cursor: pointer; }
.res__info h3 + .res__facts { margin-top: 1.4rem; }

/* Quiet hero: smaller, restrained type over the photo (Adaline page only) */
.hero--quiet .hero__shade { background: linear-gradient(180deg, rgba(20,16,12,.38) 0%, rgba(20,16,12,.08) 30%, rgba(20,16,12,.18) 60%, rgba(20,16,12,.5) 100%), radial-gradient(ellipse at center, rgba(20,16,12,.28) 0%, rgba(20,16,12,0) 65%); }
.hero--quiet .hero__content { padding-top: 2rem; }
.hero--quiet .hero__crest { width: 52px; height: 52px; margin-bottom: 1.3rem; opacity: .92; }
.hero--quiet .hero__sub { font-size: clamp(1rem, 1.6vw, 1.25rem); margin: 0 0 .7rem; opacity: .95; }
.hero--quiet .hero__tags { font-size: .62rem; letter-spacing: .32em; margin: 0; opacity: .8; }
.hero--quiet .hero__sub, .hero--quiet .hero__tags { text-shadow: 0 1px 18px rgba(0,0,0,.35); }
/* Hero: single still photo with a very slow, mild pan */
.hero--quiet .hero__img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; animation: adaline-pan 40s ease-in-out infinite alternate; }
@keyframes adaline-pan { from { transform: scale(1.07) translateX(-1.5%); } to { transform: scale(1.07) translateX(1.5%); } }
@media (prefers-reduced-motion: reduce) { .hero--quiet .hero__img { animation: none; transform: none; } }
.hero--quiet .hero__foot { position: absolute; left: 0; right: 0; bottom: clamp(2rem, 6vh, 3.5rem); padding: 0 clamp(4rem, 10vw, 8rem); text-align: center; }
.hero--quiet h1 { font-size: clamp(2.8rem, 9vw, 6.4rem); }
.hero--quiet .hero__tags { color: #e3d1ac; opacity: .95; }
/* Placeholder when a residence has no rendering yet */
.img-soon { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 16/9; margin-bottom: 1rem; background: #ece6da; border: 1px solid #ddd3c2; color: #8f8783; font: italic 400 1.15rem var(--serif); letter-spacing: .02em; }
.res__img.img-soon { aspect-ratio: auto; margin: 0; }
