/* Nest Living Space — site styles */
@font-face { font-family: "Fraunces"; font-weight: 500; font-display: swap; src: url("../fonts/fraunces-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 600; font-display: swap; src: url("../fonts/fraunces-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 600; font-style: italic; font-display: swap; src: url("../fonts/fraunces-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 400; font-display: swap; src: url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 500; font-display: swap; src: url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 700; font-display: swap; src: url("../fonts/dm-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  --nls-plum: #3d2240;
  --nls-plum-2: #2a1530;
  --nls-plum-3: #5a3560;
  --nls-blush: #f2d4c9;
  --nls-blush-2: #f8e7e0;
  --nls-rose: #c96f59;
  --nls-brass: #c8963e;
  --nls-brass-2: #e2b866;
  --nls-cream: #fdf8f3;
  --nls-linen: #f4e9dc;
  --nls-sage: #5f7a5c;
  --nls-ink: #2a1d2b;
  --nls-muted: #6c5d6b;
  --nls-line: #e6d6cc;
  --nls-shadow: 0 24px 50px -28px rgba(61, 34, 64, .45);
  --bs-link-color: var(--nls-plum-3);
  --bs-link-hover-color: var(--nls-rose);
}

html { scroll-behavior: smooth; }
body {
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--nls-ink);
  background: var(--nls-cream);
  line-height: 1.7;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, .serif {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  color: var(--nls-plum);
  letter-spacing: -.01em;
  line-height: 1.2;
}
em.accent, .accent { font-style: italic; color: var(--nls-rose); }
a { color: var(--nls-rose); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--nls-plum); }
img { max-width: 100%; height: auto; }
::selection { background: var(--nls-blush); color: var(--nls-plum); }

/* ---------- buttons ---------- */
.btn-nls, .btn-nls-ghost, .btn-nls-light {
  font-weight: 700; border-radius: 999px; padding: .75rem 1.6rem;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn-nls { background: var(--nls-plum); color: #fff; border: 2px solid var(--nls-plum); }
.btn-nls:hover, .btn-nls:focus-visible { background: var(--nls-rose); border-color: var(--nls-rose); color: #fff; transform: translateY(-2px); box-shadow: var(--nls-shadow); }
.btn-nls-ghost { background: transparent; color: var(--nls-plum); border: 2px solid var(--nls-plum); }
.btn-nls-ghost:hover, .btn-nls-ghost:focus-visible { background: var(--nls-plum); color: #fff; }
.btn-nls-light { background: var(--nls-brass-2); color: var(--nls-plum-2); border: 2px solid var(--nls-brass-2); }
.btn-nls-light:hover, .btn-nls-light:focus-visible { background: #fff; border-color: #fff; color: var(--nls-plum); transform: translateY(-2px); }
.btn-lg { padding: .9rem 2rem; font-size: 1.02rem; }

/* ---------- top ribbon + nav ---------- */
.nls-ribbon { background: var(--nls-plum); color: var(--nls-blush); font-size: .88rem; padding: .45rem 0; }
.nls-ribbon a { color: var(--nls-brass-2); text-decoration: none; }
.nls-ribbon a:hover { color: #fff; }
.nls-nav { background: rgba(253, 248, 243, .92); backdrop-filter: saturate(150%) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease; }
.nls-nav.scrolled { box-shadow: 0 10px 30px -22px rgba(61, 34, 64, .6); border-color: var(--nls-line); }
.nls-logo img { height: 46px; width: auto; display: block; }
.nls-nav .nav-link { font-weight: 500; color: var(--nls-ink); padding: .5rem .9rem !important; position: relative; }
.nls-nav .nav-link::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .25rem; height: 2px; background: var(--nls-rose); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nls-nav .nav-link:hover::after, .nls-nav .nav-link.active::after { transform: scaleX(1); }
.nls-nav .nav-link.active { color: var(--nls-plum); }
.navbar-toggler { border: 0; color: var(--nls-plum); }
.navbar-toggler:focus { box-shadow: 0 0 0 3px var(--nls-blush); }
@media (max-width: 575.98px) { .nls-logo img { height: 36px; } }
@media (max-width: 991.98px) { .nls-nav .navbar-collapse { padding: .75rem 0 1rem; } }

/* ---------- section helpers ---------- */
.nls-section { padding: 6rem 0; }
.nls-section-sm { padding: 4rem 0; }
@media (max-width: 767.98px) { .nls-section { padding: 4rem 0; } }
.bg-blush { background: var(--nls-blush-2); }
.bg-linen { background: var(--nls-linen); }
.bg-plum { background: var(--nls-plum); color: #eadbe6; }
.bg-plum h1, .bg-plum h2, .bg-plum h3, .bg-plum h4 { color: #fff; }
.nls-eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--nls-rose); }
.nls-eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.bg-plum .nls-eyebrow { color: var(--nls-brass-2); }
.nls-title { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
.nls-lead { font-size: 1.12rem; color: var(--nls-muted); }
.bg-plum .nls-lead { color: #d9c6d5; }

/* arch-shaped image frame — the brand's signature motif */
.arch { border-radius: 999px 999px 24px 24px; overflow: hidden; }
.arch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.arch-outline { position: relative; }
.arch-outline::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 2px solid var(--nls-brass); border-radius: 999px 999px 24px 24px; z-index: -1; }

/* ---------- hero ---------- */
.nls-hero { position: relative; padding: 4.5rem 0 6rem; background: radial-gradient(120% 90% at 100% 0%, var(--nls-blush) 0%, var(--nls-cream) 60%); overflow: hidden; isolation: isolate; }
.nls-hero h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); line-height: 1.08; }
.nls-hero .lead { color: var(--nls-muted); font-size: 1.15rem; max-width: 34rem; }
.nls-hero-img { aspect-ratio: 4 / 5; max-width: 470px; margin-left: auto; }
.nls-hero-img img { object-position: 58% 50%; }
.nls-hero-badge { position: absolute; left: -1rem; bottom: 2.5rem; background: #fff; border-radius: 18px; padding: .9rem 1.1rem; display: flex; gap: .8rem; align-items: center; box-shadow: var(--nls-shadow); max-width: 260px; }
.nls-hero-badge i { font-size: 1.5rem; color: var(--nls-brass); }
.nls-hero-badge strong { display: block; font-family: "Fraunces", serif; color: var(--nls-plum); }
.nls-hero-badge span { font-size: .85rem; color: var(--nls-muted); }
.nls-ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.nls-ticks li { display: flex; align-items: center; gap: .45rem; font-weight: 500; }
.nls-ticks i { color: var(--nls-sage); }
@media (max-width: 991.98px) {
  .nls-hero-img { margin: 0 auto; max-width: 380px; }
  .nls-hero-badge { left: 0; }
}

/* scrolling service names */
.nls-marquee { background: var(--nls-plum); color: var(--nls-blush); overflow: hidden; padding: 1rem 0; white-space: nowrap; }
.nls-marquee-track { display: inline-flex; gap: 2.5rem; animation: nls-scroll 40s linear infinite; padding-left: 2.5rem; }
.nls-marquee span { font-family: "Fraunces", serif; font-style: italic; font-size: 1.25rem; display: inline-flex; align-items: center; gap: 2.5rem; }
.nls-marquee span::after { content: "\2726"; color: var(--nls-brass-2); font-style: normal; font-size: .9rem; }
@keyframes nls-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .nls-marquee-track { animation: none; } }

/* ---------- feature tiles ---------- */
.nls-feature { background: #fff; border: 1px solid var(--nls-line); border-radius: 22px; padding: 2rem 1.75rem; height: 100%; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.nls-feature:hover { transform: translateY(-6px); box-shadow: var(--nls-shadow); border-color: transparent; }
.nls-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 999px 999px 14px 14px; background: var(--nls-blush); color: var(--nls-plum); font-size: 1.45rem; margin-bottom: 1.2rem; }
.nls-feature h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.nls-feature p { color: var(--nls-muted); margin: 0; }

/* ---------- service cards ---------- */
.nls-card { background: #fff; border-radius: 26px; overflow: hidden; height: 100%; display: flex; flex-direction: column; border: 1px solid var(--nls-line); transition: transform .3s ease, box-shadow .3s ease; }
.nls-card:hover { transform: translateY(-8px); box-shadow: var(--nls-shadow); }
.nls-card-img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; margin: .8rem .8rem 0; border-radius: 160px 160px 16px 16px; background: var(--nls-blush); }
.nls-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.nls-card:hover .nls-card-img img { transform: scale(1.06); }
.nls-card-tag { position: absolute; top: 1rem; left: 50%; transform: translateX(-50%); background: rgba(255, 255, 255, .92); color: var(--nls-plum); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 1.15rem; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4); }
.nls-card-body { padding: 1.5rem 1.6rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.nls-card-body h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.nls-card-body p { color: var(--nls-muted); flex: 1; }
.nls-card-body .btn { align-self: flex-start; }

/* ---------- split / about ---------- */
.nls-checks { list-style: none; padding: 0; margin: 0; }
.nls-checks li { display: flex; gap: .75rem; padding: .5rem 0; }
.nls-checks i { color: var(--nls-rose); font-size: 1.2rem; line-height: 1.5; }
.nls-quote-card { background: var(--nls-blush-2); border-radius: 26px; padding: 2rem; height: 100%; position: relative; }
.nls-quote-card::before { content: "\201C"; font-family: "Fraunces", serif; font-size: 5rem; color: var(--nls-rose); position: absolute; top: -.5rem; right: 1.4rem; line-height: 1; opacity: .5; }
.nls-quote-card p { font-family: "Fraunces", serif; font-size: 1.12rem; color: var(--nls-plum); }
.nls-quote-card footer { font-weight: 700; color: var(--nls-ink); }
.nls-quote-card footer span { display: block; font-weight: 400; color: var(--nls-muted); font-size: .9rem; }

/* process (icon-led, no numbering) */
.nls-step { text-align: center; padding: 0 .75rem; position: relative; }
.nls-step .nls-icon { margin: 0 auto 1.2rem; background: var(--nls-plum-3); color: var(--nls-brass-2); width: 72px; height: 72px; font-size: 1.7rem; }
.nls-step h3 { font-size: 1.2rem; color: #fff; }
.nls-step p { color: #d9c6d5; margin: 0; }
@media (min-width: 992px) {
  .nls-step:not(:last-child)::after { content: ""; position: absolute; top: 36px; left: calc(50% + 52px); right: calc(-50% + 52px); border-top: 2px dashed rgba(226, 184, 102, .5); }
}

/* ---------- blog ---------- */
.nls-post { background: #fff; border-radius: 24px; overflow: hidden; height: 100%; display: flex; flex-direction: column; border: 1px solid var(--nls-line); transition: transform .3s ease, box-shadow .3s ease; }
.nls-post:hover { transform: translateY(-6px); box-shadow: var(--nls-shadow); }
.nls-post-img { aspect-ratio: 3 / 2; overflow: hidden; }
.nls-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.nls-post:hover .nls-post-img img { transform: scale(1.05); }
.nls-post-body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.nls-post-cat { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--nls-sage); }
.nls-post-body h3 { font-size: 1.3rem; margin: .5rem 0 .75rem; }
.nls-post-body h3 a { color: inherit; text-decoration: none; }
.nls-post-body h3 a:hover { color: var(--nls-rose); }
.nls-post-body p { color: var(--nls-muted); flex: 1; }
.nls-more { font-weight: 700; color: var(--nls-plum); text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.nls-more i { transition: transform .2s ease; }
.nls-more:hover { color: var(--nls-rose); }
.nls-more:hover i { transform: translateX(4px); }

.nls-article { font-size: 1.08rem; }
.nls-article h2 { font-size: 1.7rem; margin: 2.4rem 0 1rem; }
.nls-article p, .nls-article li { color: #3d3240; }
.nls-article ul { padding-left: 1.2rem; }
.nls-article li { margin-bottom: .5rem; }
.nls-article li::marker { color: var(--nls-rose); }
.nls-article blockquote { border-left: 4px solid var(--nls-brass); background: var(--nls-blush-2); padding: 1.25rem 1.5rem; border-radius: 0 18px 18px 0; font-family: "Fraunces", serif; font-size: 1.2rem; color: var(--nls-plum); margin: 2rem 0; }
.nls-article-hero { border-radius: 28px; overflow: hidden; margin-bottom: 2.5rem; box-shadow: var(--nls-shadow); }
.nls-side { position: sticky; top: 110px; }
.nls-side-box { background: #fff; border: 1px solid var(--nls-line); border-radius: 22px; padding: 1.6rem; margin-bottom: 1.5rem; }
.nls-side-box h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.nls-side-box ul { list-style: none; padding: 0; margin: 0; }
.nls-side-box li { padding: .45rem 0; border-bottom: 1px dashed var(--nls-line); }
.nls-side-box li:last-child { border: 0; }
.nls-side-box li a { text-decoration: none; color: var(--nls-ink); }
.nls-side-box li a:hover { color: var(--nls-rose); }
.nls-side-cta { background: var(--nls-plum); color: #eadbe6; }
.nls-side-cta h3 { color: #fff; }

/* ---------- page header ---------- */
.nls-page-head { padding: 4.5rem 0 4rem; background: radial-gradient(90% 120% at 0% 100%, var(--nls-blush) 0%, var(--nls-cream) 65%); position: relative; overflow: hidden; }
.nls-page-head::after { content: ""; position: absolute; right: -60px; bottom: -120px; width: 320px; height: 420px; border: 2px solid var(--nls-brass); border-radius: 999px 999px 0 0; opacity: .45; }
.nls-page-head h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.nls-crumb { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem; font-size: .9rem; color: var(--nls-muted); }
.nls-crumb li + li::before { content: "/"; margin-right: .5rem; color: var(--nls-brass); }
.nls-crumb a { color: var(--nls-plum-3); text-decoration: none; }

/* ---------- CTA band ---------- */
.nls-cta { background: var(--nls-plum); border-radius: 32px; padding: 3.5rem; position: relative; overflow: hidden; color: #eadbe6; }
.nls-cta::before { content: ""; position: absolute; right: 6%; top: 18%; width: 210px; height: 300px; border-radius: 999px 999px 0 0; background: var(--nls-plum-3); opacity: .6; }
.nls-cta::after { content: ""; position: absolute; right: calc(6% + 40px); top: calc(18% + 50px); width: 130px; height: 250px; border-radius: 999px 999px 0 0; border: 2px solid var(--nls-brass-2); }
.nls-cta > * { position: relative; z-index: 1; }
.nls-cta h2 { color: #fff; }
@media (max-width: 767.98px) { .nls-cta { padding: 2.5rem 1.6rem; } .nls-cta::before, .nls-cta::after { display: none; } }

/* ---------- forms ---------- */
.nls-form-card { background: #fff; border-radius: 28px; padding: 2.5rem; box-shadow: var(--nls-shadow); border: 1px solid var(--nls-line); }
@media (max-width: 575.98px) { .nls-form-card { padding: 1.6rem; } }
.form-label { font-weight: 700; font-size: .92rem; color: var(--nls-plum); }
.form-control, .form-select { border-radius: 14px; border: 1.5px solid var(--nls-line); padding: .75rem 1rem; background-color: var(--nls-cream); }
.form-control:focus, .form-select:focus { border-color: var(--nls-rose); box-shadow: 0 0 0 4px rgba(201, 111, 89, .15); background-color: #fff; }
.form-check-input:checked { background-color: var(--nls-plum); border-color: var(--nls-plum); }
.form-check-input:focus { box-shadow: 0 0 0 4px rgba(61, 34, 64, .15); }
.nls-success { display: none; background: #e8f0e6; color: #2f4a2d; border-radius: 14px; padding: 1rem 1.2rem; margin-bottom: 1.4rem; font-weight: 500; }
.nls-success.show { display: block; }
.nls-info { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 0; border-bottom: 1px dashed rgba(234, 219, 230, .25); }
.nls-info:last-of-type { border: 0; }
.nls-info .nls-icon { margin: 0; flex-shrink: 0; width: 50px; height: 50px; font-size: 1.2rem; background: var(--nls-plum-3); color: var(--nls-brass-2); }
.nls-info h3 { font-size: 1rem; margin: 0 0 .2rem; font-family: "DM Sans", sans-serif; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--nls-brass-2) !important; }
.nls-info p, .nls-info a { margin: 0; color: #fff; text-decoration: none; }
.nls-info a:hover { color: var(--nls-blush); }
.nls-map { width: 100%; height: 380px; border: 0; display: block; filter: saturate(.75); background: var(--nls-linen); }

.nls-news-panel { background: var(--nls-blush-2); border-radius: 32px; overflow: hidden; }
.nls-news-panel .arch { aspect-ratio: 4 / 5; max-width: 360px; margin: 0 auto; }

/* ---------- legal ---------- */
.nls-legal h2 { font-size: 1.45rem; margin: 2.2rem 0 .8rem; }
.nls-legal p, .nls-legal li { color: #3d3240; }
.nls-legal li { margin-bottom: .4rem; }
.nls-toc { background: #fff; border-radius: 22px; padding: 1.5rem; border: 1px solid var(--nls-line); position: sticky; top: 110px; }
.nls-toc a { display: block; padding: .35rem 0; color: var(--nls-ink); text-decoration: none; }
.nls-toc a:hover { color: var(--nls-rose); }

/* ---------- footer ---------- */
.nls-footer { background: var(--nls-plum-2); color: #cdb8c9; padding: 5rem 0 2rem; position: relative; overflow: hidden; }
.nls-footer h3 { color: #fff; font-size: 1.1rem; margin-bottom: 1.1rem; }
.nls-footer a { color: #cdb8c9; text-decoration: none; }
.nls-footer a:hover { color: var(--nls-brass-2); }
.nls-footer ul { list-style: none; padding: 0; margin: 0; }
.nls-footer li { padding: .3rem 0; }
.nls-footer .nls-logo img { height: 42px; }
.nls-social { display: flex; gap: .6rem; }
.nls-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(205, 184, 201, .35); }
.nls-social a:hover { background: var(--nls-brass-2); color: var(--nls-plum-2); border-color: var(--nls-brass-2); }
.nls-footer-bottom { border-top: 1px solid rgba(205, 184, 201, .2); margin-top: 3rem; padding-top: 1.6rem; font-size: .9rem; }

.nls-top { position: fixed; right: 1.2rem; bottom: 1.2rem; width: 48px; height: 48px; border-radius: 999px 999px 12px 12px; border: 0; background: var(--nls-rose); color: #fff; font-size: 1.2rem; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s ease; z-index: 1030; box-shadow: var(--nls-shadow); }
.nls-top.show { opacity: 1; visibility: visible; transform: none; }
.nls-top:hover { background: var(--nls-plum); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

:focus-visible { outline: 3px solid var(--nls-brass); outline-offset: 2px; }

/* keep wide gutters from pushing past the viewport on phones */
@media (max-width: 767.98px) { .g-5, .gx-5 { --bs-gutter-x: 1.5rem; } }
@media (max-width: 767.98px) { .nls-page-head::after { display: none; } }
