:root{
  --ink:#1a2430; --ink-2:#232f3d; --teal:#00aeb5; --teal-d:#008c92;
  --paper:#f6f4ef; --white:#fff; --muted:#5d6874;
  --display:'Barlow Condensed',Impact,sans-serif; --body:'Inter',system-ui,sans-serif;
  --r:18px;
}
*{box-sizing:border-box;margin:0}
html{touch-action:manipulation;scroll-behavior:smooth;scroll-padding-top:76px}
body{font-family:var(--body);color:var(--ink);background:var(--paper);line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit}
h1,h2,h3{font-family:var(--display);text-transform:uppercase;line-height:1;letter-spacing:.01em}
h1{font:600 clamp(2.4rem,5.4vw,4.2rem)/1.08 var(--body);text-transform:none;letter-spacing:-.03em}
h1 em{font-style:normal;color:var(--teal)}
h2{font:600 clamp(1.8rem,3.8vw,2.7rem)/1.1 var(--body);text-transform:none;letter-spacing:-.025em}
h3{font-size:1.5rem;font-weight:700}
.eyebrow{font-family:var(--display);font-weight:700;text-transform:uppercase;letter-spacing:.18em;color:var(--teal-d);font-size:1rem;margin-bottom:.6rem}

.btn{display:inline-block;background:var(--teal);color:var(--ink);font-weight:600;text-decoration:none;padding:.9rem 1.6rem;border-radius:999px;border:0;font:600 1rem var(--body);cursor:pointer;transition:transform .2s,background .2s}
.btn:hover{background:#19c4cb;transform:translateY(-2px)}
.btn-sm{padding:.55rem 1.1rem;font-size:.9rem}
.btn-ghost{background:transparent;color:var(--white);box-shadow:inset 0 0 0 2px rgba(255,255,255,.5)}
.btn-ghost:hover{background:rgba(255,255,255,.12)}

/* nav */
.nav{position:sticky;top:0;z-index:20;display:flex;justify-content:space-between;align-items:center;padding:.7rem clamp(1rem,4vw,3rem);background:rgba(26,36,48,.92);backdrop-filter:blur(10px);color:var(--white)}
.brand{display:flex;align-items:center;gap:.7rem;text-decoration:none;font-family:var(--display);font-weight:800;font-size:1.4rem;letter-spacing:.06em}
.brand b{color:var(--teal);font-weight:800}
.nav nav{display:flex;align-items:center;gap:1.6rem;font-size:.95rem}
.nav nav a:not(.btn){text-decoration:none;opacity:.85}
.nav nav a:not(.btn):hover{opacity:1;color:var(--teal)}

/* hero */
.hero{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(1.5rem,4vw,4rem);align-items:center;background:var(--ink);color:var(--white);padding:clamp(2.5rem,6vw,5rem) clamp(1rem,4vw,3rem) clamp(3rem,7vw,6rem);overflow:hidden;position:relative}
.hero::before{content:"";position:absolute;inset:auto -10% -40% auto;width:60vw;height:60vw;border-radius:50%;background:radial-gradient(closest-side,rgba(0,174,181,.25),transparent)}
.hero-copy{position:relative}
.hero .eyebrow{color:var(--teal)}
.hero-cabin{width:clamp(150px,20vw,240px);height:auto;margin-bottom:.8rem}
.lead{font-size:1.2rem;max-width:34ch;margin:1.4rem 0 2rem;color:#d4dbe2}
.cta{display:flex;flex-wrap:wrap;gap:.8rem}
.facts{display:flex;flex-wrap:wrap;gap:1.2rem 2.4rem;list-style:none;padding:0;margin-top:2.6rem;color:#aeb9c4;font-size:.9rem}
.facts strong{display:block;font:800 1.9rem var(--display);color:var(--white)}
.hero-visual{position:relative;justify-self:center;width:min(100%,400px)}
.poster{width:100%;height:auto;aspect-ratio:9/16;object-fit:cover;border-radius:var(--r);transform:rotate(2.5deg);box-shadow:0 30px 60px rgba(0,0,0,.45)}
.logo-card{position:absolute;left:-12%;bottom:8%;background:var(--white);padding:.6rem;border-radius:14px;transform:rotate(-4deg);box-shadow:0 14px 30px rgba(0,0,0,.35)}
.logo-card img{width:clamp(90px,12vw,140px);height:auto;border-radius:6px}

/* sections */
.section{padding:clamp(3.5rem,8vw,6.5rem) clamp(1rem,4vw,3rem);max-width:1240px;margin:auto}
.section.dark{max-width:none;background:var(--ink);color:var(--white)}
.section.dark>*{max-width:1240px;margin-inline:auto}
.section.dark .eyebrow{color:var(--teal)}
.head{margin-bottom:2.4rem}

.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:1.4rem}
.card{position:relative;display:block;border-radius:var(--r);overflow:hidden;aspect-ratio:3/4;text-decoration:none;color:var(--white);isolation:isolate}
.card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .6s}
.card::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(to top,rgba(26,36,48,.92) 5%,transparent 60%)}
.card:hover img{transform:scale(1.06)}
.card div{position:absolute;left:0;right:0;bottom:0;padding:1.5rem}
.card p{color:#d4dbe2;font-size:.95rem;margin-top:.4rem}

.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:1.4rem;list-style:none;padding:0;counter-reset:s}
.steps li{background:var(--ink-2);padding:1.6rem;border-radius:var(--r);border-top:3px solid var(--teal)}
.steps span{font:800 3rem/1 var(--display);color:var(--teal);display:block;margin-bottom:.6rem}
.steps p{color:#b9c3cd;font-size:.95rem;margin-top:.4rem}
.why{display:flex;align-items:center;gap:2rem;margin-top:3rem;padding:1.8rem 2rem;border:1px dashed rgba(255,255,255,.25);border-radius:var(--r);color:#d4dbe2}
.why img{width:150px;height:auto;flex:none}
.why strong{color:var(--white)}

.gallery{columns:3 260px;column-gap:1.2rem}
.gallery figure{break-inside:avoid;margin-bottom:1.2rem;position:relative;border-radius:var(--r);overflow:hidden}
.gallery img{width:100%;height:auto;transition:transform .6s}
.gallery figure:hover img{transform:scale(1.04)}
.gallery figcaption{position:absolute;left:.8rem;bottom:.8rem;background:rgba(26,36,48,.8);color:var(--white);font-size:.8rem;padding:.3rem .8rem;border-radius:999px}
.more{margin-top:1rem;font-weight:600}
.more a{color:var(--teal-d)}

.quote{display:grid;grid-template-columns:1fr 1.1fr;gap:clamp(2rem,5vw,5rem);align-items:start}
.quote-copy p{margin-top:1rem;max-width:36ch}
.contact{list-style:none;padding:0;margin-top:1.6rem;display:grid;gap:.4rem;font-weight:600}
.contact a{text-decoration-color:var(--teal);text-underline-offset:4px}
.hours{font-size:.9rem;color:var(--muted)}
form{display:grid;gap:1rem;background:var(--white);padding:clamp(1.4rem,3vw,2.2rem);border-radius:var(--r);box-shadow:0 20px 50px rgba(26,36,48,.1)}
label{display:grid;gap:.35rem;font-weight:600;font-size:.9rem}
input,select,textarea{font:400 1rem var(--body);padding:.8rem 1rem;border:1.5px solid #d9dde1;border-radius:10px;background:var(--paper);width:100%}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--teal);box-shadow:0 0 0 3px rgba(0,174,181,.2)}
form .btn{justify-self:start}
.note{font-size:.9rem;color:var(--teal-d);min-height:1.2em}

footer{background:var(--ink);color:#aeb9c4;text-align:center;padding:2.5rem 1rem;display:grid;gap:.6rem;justify-items:center;font-size:.9rem}
footer a:hover{color:var(--teal)}

/* cookie banner */
.cookie{position:fixed;left:50%;bottom:1rem;transform:translateX(-50%);z-index:30;width:min(680px,calc(100% - 2rem));display:flex;align-items:center;justify-content:space-between;gap:1.2rem;background:var(--ink);color:#d4dbe2;padding:1rem 1.3rem;border-radius:var(--r);box-shadow:0 20px 50px rgba(0,0,0,.35);font-size:.88rem;line-height:1.45}
.cookie[hidden]{display:none}
.cookie a{color:var(--teal)}
.cookie div{display:flex;gap:.5rem;flex:none}
.btn-outline{background:transparent;color:var(--white);box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.45)}
.btn-outline:hover{background:rgba(255,255,255,.12)}
@media (max-width:600px){.cookie{flex-direction:column;align-items:stretch}.cookie div{justify-content:flex-end}}

/* reveal */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s,transform .7s}
.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}html{scroll-behavior:auto}}

@media (max-width:900px){
  .hero,.quote{grid-template-columns:1fr}
  .hero-visual{width:min(80%,340px);margin-top:1rem}
  .logo-card{left:-6%}
  .cards,.steps{grid-template-columns:1fr 1fr}
  .card{aspect-ratio:4/5}
}
@media (max-width:600px){
  .cards,.steps{grid-template-columns:1fr}
  .why{flex-direction:column;text-align:center;padding:1.4rem}
}

/* split sections (saunas, containers) */
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.5rem,5vw,4.5rem);align-items:center}
.split img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:var(--r);box-shadow:0 24px 50px rgba(26,36,48,.18)}
.split.flip .carousel{order:2}
.split h2{margin-bottom:1rem}
.split p{max-width:46ch}
.split .small{margin-top:1.2rem;font-size:.92rem;color:var(--muted)}
.split .btn{margin-top:1.6rem}
.chips{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;padding:0;margin-top:1.4rem}
.chips li{padding:.4rem 1rem;border-radius:999px;background:rgba(0,174,181,.12);color:var(--teal-d);font-weight:600;font-size:.88rem}
@media (max-width:900px){.split{grid-template-columns:1fr}.split.flip .carousel{order:0}.split img{aspect-ratio:4/3}}

/* carousel */
.carousel{position:relative;border-radius:var(--r);overflow:hidden;box-shadow:0 24px 50px rgba(26,36,48,.18);background:var(--ink);min-width:0}
.track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;scroll-behavior:smooth}
.track::-webkit-scrollbar{display:none}
.split .track img{flex:none;width:100%;scroll-snap-align:center;border-radius:0;box-shadow:none}
.car-btn{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;border:0;background:rgba(26,36,48,.7);color:var(--white);font-size:1.6rem;line-height:1;cursor:pointer;backdrop-filter:blur(4px);transition:background .2s}
.car-btn:hover{background:var(--teal);color:var(--ink)}
.car-btn.prev{left:.7rem}.car-btn.next{right:.7rem}
.dots{position:absolute;left:0;right:0;bottom:.9rem;display:flex;justify-content:center;gap:.4rem}
.dots i{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.5);transition:all .25s}
.dots i.on{background:var(--teal);width:22px;border-radius:999px}

/* instagram */
.head .sub{margin-top:.6rem;color:var(--muted)}
.head h2 a{text-decoration:none}
.head h2 a:hover{color:var(--teal-d)}
.ig-profile{position:relative;height:152px;background:var(--white);border-radius:14px;overflow:hidden;border:1px solid #e3e6e9}
.ig-profile iframe{position:absolute;inset:0 0 auto 0;width:100%;height:480px;border:0;pointer-events:none}
.ig-follow{position:absolute;right:18px;top:50%;transform:translateY(-50%);background:#0095f6;color:#fff;font:600 .95rem var(--body);padding:9px 26px;border-radius:8px;text-decoration:none;transition:background .15s}
.ig-follow:hover{background:#1877f2}
.ig-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;align-items:start;margin-top:1.2rem}
.ig-grid>*{min-width:0}
.ig-card{position:relative;aspect-ratio:4/5;overflow:hidden;border-radius:14px;background:var(--white);border:1px solid #e3e6e9}
.ig-card iframe{position:absolute;left:0;top:-56px;width:100%;height:180%;border:0}
#ig-grid:not(.all) .ig-more{display:none}
.center{text-align:center}
.btn-dark{background:var(--ink);color:var(--white)}
.btn-dark:hover{background:var(--ink-2)}
@media (max-width:1000px){.ig-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:620px){.ig-grid{grid-template-columns:1fr}.ig-follow{right:12px;top:auto;bottom:14px;transform:none}.ig-profile{height:140px}}

/* gallery: even grid instead of columns (avoids gaps) */
.gallery{columns:auto;display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.gallery figure{margin:0}
.gallery img{aspect-ratio:3/4;object-fit:cover}
@media (max-width:900px){.gallery{grid-template-columns:repeat(2,1fr)}}

/* tighter gap between Instagram and the quote form */
#instagram{padding-bottom:clamp(1.5rem,3vw,2.5rem)}
#quote{padding-top:clamp(1.5rem,3vw,2.5rem)}
#instagram .more{margin-top:1.2rem}

/* burger menu (mobile) */
.burger{display:none;width:44px;height:44px;border:0;background:transparent;cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:5px;margin-right:-8px}
.burger span{display:block;width:24px;height:2px;background:var(--white);border-radius:2px;transition:transform .25s,opacity .2s}
.burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
@media (max-width:760px){
  .burger{display:flex}
  .nav nav{position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;gap:0;background:var(--ink);padding:.4rem clamp(1rem,4vw,3rem) 1.2rem;border-top:1px solid rgba(255,255,255,.1);box-shadow:0 20px 40px rgba(0,0,0,.35);opacity:0;visibility:hidden;transform:translateY(-8px);transition:opacity .2s,transform .2s,visibility .2s}
  .nav nav.open{opacity:1;visibility:visible;transform:none}
  .nav nav a:not(.btn){padding:.95rem 0;font-size:1.05rem;border-bottom:1px solid rgba(255,255,255,.08);opacity:1}
  .nav nav .btn{margin-top:1rem;text-align:center;padding:.85rem}
}

/* shop fit photos are a mix of landscape and portrait: square crop suits both */
#shopfits .track img{aspect-ratio:1/1}

/* gallery filters, lightbox, live instagram */
.filters{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1.2rem}
.filters button{font:600 .85rem var(--body);padding:.45rem 1rem;border-radius:999px;border:1.5px solid #d9dde1;background:var(--white);color:var(--ink);cursor:pointer}
.filters button.on,.filters button:hover{background:var(--ink);color:var(--white);border-color:var(--ink)}
.gallery figure a{display:block}
.gallery figure[hidden]{display:none}
.more.center{text-align:center}
.lightbox{border:0;padding:0;background:transparent;max-width:min(96vw,1200px);max-height:94vh;overflow:visible}
.lightbox::backdrop{background:rgba(10,14,20,.88)}
.lightbox img{display:block;max-width:100%;max-height:92vh;border-radius:10px;margin:auto}
.lb-x{position:absolute;right:-6px;top:-44px;width:40px;height:40px;border:0;border-radius:50%;background:var(--white);font-size:1.5rem;line-height:1;cursor:pointer}
.ig-live{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:1.2rem}
.ig-live a{position:relative;display:block;aspect-ratio:1;overflow:hidden;border-radius:14px;background:#e3e6e9}
.ig-live img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.ig-live a:hover img{transform:scale(1.05)}
.ig-live .cap{position:absolute;inset:auto 0 0 0;padding:1.6rem .8rem .7rem;color:#fff;font-size:.8rem;background:linear-gradient(transparent,rgba(0,0,0,.7));display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;opacity:0;transition:opacity .25s}
.ig-live a:hover .cap,.ig-live a:focus-visible .cap{opacity:1}
.ig-live .badge{position:absolute;top:.6rem;right:.6rem;background:rgba(0,0,0,.55);color:#fff;font-size:.7rem;padding:.15rem .5rem;border-radius:999px}
@media (max-width:760px){.ig-live{grid-template-columns:repeat(2,1fr)}.ig-live a:nth-child(n+7){display:none}}
.split .track img.fit{object-fit:contain;background:var(--ink)}
.gallery img.fit{object-fit:contain;background:var(--ink)}
/* instagram: single extended profile embed */
.ig-profile{height:auto;max-width:640px;margin:1.2rem auto 0;background:transparent;border:0;overflow:visible}
.ig-profile iframe{position:static;display:block;width:100%;height:1000px;border:1px solid #e3e6e9;border-radius:14px;background:var(--white);pointer-events:auto}
@media (max-width:760px){.ig-profile iframe{height:820px}}
.lightbox{margin:auto;inset:0;width:fit-content;height:fit-content}
/* instagram embed: full content width, height follows the 2 rows of 3 posts */
.ig-profile{max-width:none;position:relative;height:0;padding-top:calc(66.7% + 200px)}
.ig-profile iframe{position:absolute;inset:0;height:100%}
@media (max-width:760px){.ig-profile{padding-top:calc(66.7% + 190px)}.ig-profile iframe{height:100%}}
/* larger hero poster */
.hero-visual{width:min(100%,480px)}
@media (max-width:900px){.hero-visual{width:min(90%,400px)}}
/* tighter gap between the gallery and Instagram; embed not scrollable */
#work{padding-bottom:clamp(1rem,2vw,1.8rem)}
#instagram{padding-top:clamp(1rem,2vw,1.8rem)}
.ig-profile iframe{overflow:hidden}
/* header wordmark with "Living Spaces" underneath */
.brand-text{display:flex;flex-direction:column;line-height:1}
.brand-text small{display:flex;justify-content:space-between;width:0;min-width:100%;font:600 .62rem var(--body);color:#aeb9c4;margin-top:.35rem}
.brand-text small i{font-style:normal}
.brand-text small .gap{width:.7em}
/* larger header wordmark */
.brand{font-size:1.9rem}
.brand-text small{font-size:.8rem;margin-top:.4rem}
@media (max-width:760px){.brand{font-size:1.55rem}.brand-text small{font-size:.66rem}}
/* header wordmark (text) with "Living Spaces" matched to its width, enlarged */
.brand{font-size:2.6rem;line-height:1}
.brand-text small{font-size:1.02rem;margin-top:.45rem}
@media (max-width:760px){.brand{font-size:1.9rem}.brand-text small{font-size:.78rem}}
