:root {
  --cream: #faf8f5;
  --linen: #ece5dc;
  --ink: #36312d;
  --muted: #6b635c;
  --gold: #8a7462;
  --gold-soft: #d9cec2;
  --line: #e3dbd1;
  --card: #ffffff;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 300 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; }
h1 em, h2 em, .brand-text em { font-style: italic; color: var(--gold); font-weight: 400; }
.eyebrow { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin: 0 0 18px; }

.btn { display: inline-block; background: var(--ink); color: var(--cream); text-decoration: none; padding: 15px 30px; font: 400 13px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; border: 1px solid var(--ink); cursor: pointer; transition: background .25s, color .25s; }
.btn:hover { background: var(--gold); border-color: var(--gold); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { color: var(--cream); }
.btn-small { padding: 11px 18px; font-size: 11px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 16px clamp(16px, 4vw, 56px); background: rgba(250,248,245,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; font: italic 500 24px/1 var(--serif); color: var(--gold); }
.brand-text { font: 500 23px/1 var(--serif); white-space: nowrap; }
.menu { display: flex; align-items: center; gap: 30px; }
.menu a:not(.btn) { text-decoration: none; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.menu a:not(.btn):hover { color: var(--gold); }
.menu-btn { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--ink); transition: transform .25s; }
.menu-btn span:first-child { top: 16px; } .menu-btn span:last-child { top: 23px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; padding: clamp(48px, 8vw, 110px) clamp(16px, 6vw, 96px); max-width: 1320px; margin: 0 auto; }
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); font-weight: 400; }
.lede { font-size: 19px; color: var(--muted); max-width: 560px; margin: 0 0 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.room { width: 100%; max-width: 500px; display: block; margin: 0 auto; }
.room .arch { fill: var(--linen); stroke: var(--gold-soft); }
.room .line { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.room .gold { fill: var(--gold); }
.room .line * { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.6s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; padding: 24px 16px; background: var(--ink); color: var(--cream); font: italic 400 22px/1.2 var(--serif); }
.strip i { color: var(--gold); font-style: normal; font-size: 11px; align-self: center; }

/* sections */
.section { padding: clamp(64px, 9vw, 120px) clamp(16px, 6vw, 96px); }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head h2, .details h2, .insta h2, .contact h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 400; }
.section-head p:not(.eyebrow) { color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1240px; margin: 0 auto; }
.card { background: var(--card); border: 1px solid var(--line); padding: 34px 28px; transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(54,49,45,.35); }
.num { font: italic 400 36px/1 var(--serif); color: var(--gold); }
.card h3 { font-size: 27px; margin-top: 16px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }

.services { background: var(--linen); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1240px; margin: 0 auto; }
.service { background: var(--card); padding: 44px 36px; border-top: 2px solid var(--gold); }
.service.featured { background: var(--ink); color: var(--cream); }
.service.featured p, .service.featured li { color: #ddd5cb; }
.service h3 { font-size: 32px; margin-bottom: 4px; }
.tag { font: italic 400 19px/1.3 var(--serif); color: var(--gold) !important; margin: 0 0 18px; }
.service p { color: var(--muted); font-size: 16px; }
.service ul { list-style: none; padding: 0; margin: 22px 0 0; border-top: 1px solid rgba(138,116,98,.35); }
.service li { padding: 11px 0 11px 22px; border-bottom: 1px solid rgba(138,116,98,.25); font-size: 15px; position: relative; }
.service li::before { content: "◆"; position: absolute; left: 0; color: var(--gold); font-size: 9px; top: 15px; }

.details-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); max-width: 1240px; margin: 0 auto; align-items: start; }
.details-copy { position: sticky; top: 110px; }
.details-copy p:not(.eyebrow) { color: var(--muted); }
.detail-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.detail-list li { padding: 26px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 16px; }
.detail-list strong { display: block; font: 500 24px/1.2 var(--serif); color: var(--ink); margin-bottom: 6px; }

.process { background: var(--ink); color: var(--cream); }
.process .section-head h2 { color: var(--cream); }
.steps { list-style: none; padding: 0; margin: 0 auto; max-width: 1240px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: s; }
.steps li { border-top: 1px solid rgba(217,206,194,.4); padding-top: 24px; }
.steps span { font: italic 400 48px/1 var(--serif); color: var(--gold); }
.steps h3 { font-size: 27px; margin: 14px 0 8px; }
.steps p { color: #cfc6bb; font-size: 16px; margin: 0; }

.insta { text-align: center; background: radial-gradient(ellipse at center, var(--linen), var(--cream) 70%); }
.insta-inner { max-width: 680px; margin: 0 auto; }
.insta-inner p:not(.eyebrow) { color: var(--muted); }
.insta-handle { display: inline-flex; align-items: center; gap: 12px; font: italic 500 clamp(28px, 5vw, 40px)/1.2 var(--serif); text-decoration: none; margin: 18px 0 30px; color: var(--ink); overflow-wrap: anywhere; }
.insta-handle:hover { color: var(--gold); }
.insta-handle svg { width: 36px; height: 36px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.6; }
.insta-handle .dot { fill: var(--gold); stroke: none; }

.contact { background: var(--linen); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); max-width: 1240px; margin: 0 auto; }
.contact-copy p:not(.eyebrow) { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; }
.contact-list li { padding: 16px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.contact-list span { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.contact-list a { font: 500 24px/1.3 var(--serif); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--gold); }
.form { background: var(--card); padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea { font: 300 16px/1.4 var(--sans); color: var(--ink); background: var(--cream); border: 1px solid var(--line); padding: 13px 14px; border-radius: 0; width: 100%; letter-spacing: 0; text-transform: none; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-size: 15px; min-height: 1.4em; }
.form-status.ok { color: #4f7a52; } .form-status.err { color: #a2412f; }

.footer { background: var(--ink); color: #cfc6bb; text-align: center; padding: 56px 16px 40px; }
.footer-brand { justify-content: center; color: var(--cream); margin-bottom: 8px; }
.footer p { margin: 6px 0; font-size: 15px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-top: 18px !important; }
.footer-links a { text-decoration: none; color: var(--gold-soft); overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--cream); }
.copy { font-size: 13px !important; opacity: .7; margin-top: 24px !important; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1080px) {
  .menu-btn { display: block; }
  .menu { position: fixed; inset: 73px 0 auto 0; flex-direction: column; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 16px 24px; transform: translateY(-120%); transition: transform .3s; z-index: -1; }
  .menu.open { transform: none; }
  .menu a:not(.btn) { width: 100%; padding: 15px 0; border-bottom: 1px solid var(--line); }
  .menu .btn { margin-top: 18px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .room { max-width: 300px; }
  .service-grid, .details-inner, .contact-inner { grid-template-columns: 1fr; }
  .details-copy { position: static; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand-text { font-size: 20px; }
  .cards, .steps, .detail-list, .form .row { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .room .line * { animation: none; stroke-dashoffset: 0; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Brand (matches the Instagram logo: roofline + script wordmark) */
.brand { gap: 10px; }
.brand-roof { width: 46px; height: 30px; flex: none; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.brand-roof rect { fill: var(--ink); stroke: none; }
.brand-script { font: 400 34px/1 "Allura", cursive; color: var(--ink); white-space: nowrap; padding-top: 4px; }
.footer .brand-roof { stroke: var(--cream); } .footer .brand-roof rect { fill: var(--cream); }
.footer .brand-script { color: var(--cream); font-size: 44px; }
.tagline { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-soft); margin-top: 4px !important; }
.process .steps span, .strip i, .service.featured .tag { color: var(--gold-soft) !important; }
.service.featured li::before { color: var(--gold-soft); }
.hero h1 em, .section h2 em { color: var(--gold); }
@media (max-width: 600px) { .brand-script { font-size: 28px; } .brand-roof { width: 38px; } }

/* Hero photo (Lili's own staging) */
.hero-photo { margin: 0; position: relative; }
.hero-photo img { display: block; width: 100%; height: clamp(360px, 46vw, 600px); object-fit: cover; object-position: 35% 50%; border-radius: 999px 999px 4px 4px; box-shadow: 0 30px 60px -36px rgba(54,49,45,.5); }
.hero-photo figcaption { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); background: rgba(250,248,245,.92); padding: 8px 16px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; }

/* Gallery */
.gallery { list-style: none; margin: 0 auto; padding: 0; max-width: 1240px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery li:first-child { grid-column: span 2; grid-row: span 2; }
.gallery li:last-child { grid-column: span 2; }
.gallery li:last-child img { aspect-ratio: auto; height: 100%; min-height: 0; }
.gallery button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; overflow: hidden; }
.gallery img { display: block; width: 100%; height: 100%; aspect-ratio: 762 / 496; object-fit: cover; transition: transform .6s ease; }
.gallery button:hover img { transform: scale(1.04); }
.gallery span { position: absolute; left: 12px; bottom: 12px; background: rgba(250,248,245,.92); color: var(--ink); padding: 6px 12px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(30,27,25,.94); display: flex; align-items: center; justify-content: center; padding: 16px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox img { max-width: 100%; max-height: 80vh; display: block; margin: 0 auto; }
.lightbox figcaption { color: var(--gold-soft); margin-top: 12px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--cream); font: 300 48px/1 var(--serif); cursor: pointer; padding: 10px 16px; }
.lb-close { top: 10px; right: 10px; } .lb-prev { left: 4px; top: 50%; transform: translateY(-50%); } .lb-next { right: 4px; top: 50%; transform: translateY(-50%); }
@media (max-width: 900px) { .hero-photo img { height: 360px; } }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr 1fr; gap: 8px; } .gallery li:first-child { grid-row: auto; } .gallery li:last-child { grid-column: auto; } .gallery li:last-child img { aspect-ratio: 762 / 496; } .gallery span { font-size: 9px; left: 6px; bottom: 6px; padding: 4px 8px; } .hero-photo img { height: 300px; } }

/* By the numbers */
.numbers { background: var(--ink); color: var(--cream); }
.numbers .section-head h2 { color: var(--cream); }
.numbers .section-head h2 em, .numbers .eyebrow { color: var(--gold-soft); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; max-width: 1240px; margin: 0 auto; }
.stat { border-top: 1px solid rgba(217,206,194,.4); padding-top: 26px; }
.stat-num { font: 400 clamp(48px, 5vw, 68px)/1 var(--serif); margin: 0; color: var(--cream); white-space: nowrap; }
.stat-num span { font-size: .6em; color: var(--gold-soft); margin-left: 2px; }
.stat-label { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-soft); margin: 14px 0 10px; }
.stat p:last-child { color: #cfc6bb; font-size: 15px; margin: 0; }
.stat sup a { color: var(--gold-soft); text-decoration: none; margin-left: 2px; }
.sources { max-width: 1240px; margin: 48px auto 0; padding: 22px 0 0 18px; border-top: 1px solid rgba(217,206,194,.2); font-size: 13px; color: #a89e94; }
.sources li { margin: 4px 0; }
.sources a { color: var(--gold-soft); }
@media (max-width: 1080px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .stats { grid-template-columns: 1fr; } }

/* Before / after */
.ba { max-width: 1100px; margin: 0 auto 56px; }
.ba-frame { position: relative; aspect-ratio: 762 / 496; overflow: hidden; user-select: none; box-shadow: 0 30px 60px -36px rgba(54,49,45,.5); }
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--cream); pointer-events: none; }
.ba-handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 50%; background: var(--cream); color: var(--ink); display: grid; place-items: center; font: 400 20px/1 var(--serif); letter-spacing: 4px; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-tag { position: absolute; top: 14px; background: rgba(250,248,245,.92); color: var(--ink); padding: 6px 12px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; pointer-events: none; }
.ba-tag-before { left: 14px; } .ba-tag-after { right: 14px; }
.ba figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }
@media (max-width: 600px) { .ba-tag { font-size: 9px; top: 8px; padding: 4px 8px; } .ba-tag-before { left: 8px; } .ba-tag-after { right: 8px; } .ba-handle::after { width: 38px; height: 38px; font-size: 16px; } }

.service-area { display: flex; align-items: center; gap: 8px; margin: 26px 0 0; font-size: 14px; letter-spacing: .04em; color: var(--muted); }
.service-area svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.6; }
