/* Coastal Carolina Interiors — production stylesheet
   All design tokens live in :root. Tweak colors/type here; layout classes are commented per section. */
:root{
  --bg:#F4F4F1; --panel:#EFEFEA; --card:#FCFCFA;
  --ink:#212A2D; --ink-strong:#1A2225; --tide:#33505A;
  --hairline:rgba(33,42,45,.16); --hairline-lt:rgba(33,42,45,.12);
  --muted:rgba(33,42,45,.65); --muted-2:rgba(33,42,45,.5); --error:#8C4A3C;
  --serif:'Cormorant Garamond',Georgia,serif; --sans:'Archivo',system-ui,sans-serif;
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);font-weight:300;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none;transition:color .15s}
a:hover{color:var(--tide)}
:focus-visible{outline:2px solid var(--tide);outline-offset:3px}
::selection{background:rgba(51,80,90,.18)}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
.wrap{max-width:1240px;margin:0 auto;padding:0 56px}
.eyebrow{font-size:11px;letter-spacing:.26em;text-transform:uppercase;color:var(--tide);font-weight:400}
.skip{position:absolute;left:-9999px;top:0;background:var(--ink);color:#fff;padding:10px 16px;z-index:200}
.skip:focus{left:0;color:#fff}

/* Masthead */
.masthead{border-bottom:1px solid var(--hairline);padding:20px 56px;display:grid;grid-template-columns:1fr auto 1fr;column-gap:36px;align-items:center;background:var(--bg)}
.mast-side{display:flex;gap:30px;align-items:center}
.mast-side.right{justify-content:flex-end}
.mast-links{display:flex;gap:30px;font-weight:500;font-size:11.5px;letter-spacing:.2em;text-transform:uppercase}
.mast-links a.active{border-bottom:1px solid currentColor;padding-bottom:2px}
.inquire-link{color:var(--tide);border-bottom:1px solid var(--tide)}
.brand{text-align:center}
.brand-name{font-family:var(--serif);font-weight:600;font-size:29px;letter-spacing:.06em;white-space:nowrap;color:var(--ink-strong);display:block}
.brand-est{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:3px}
.brand-est .rule{width:26px;height:1px;background:rgba(51,80,90,.4)}
.brand-est em{font-family:var(--serif);font-style:italic;font-size:13.5px;color:var(--tide)}
.hamburger{display:none;background:none;border:0;cursor:pointer;padding:8px 8px 8px 0;flex-direction:column;gap:5px}
.hamburger span{display:block;width:18px;height:1.5px;background:var(--ink)}
.m-inquire{display:none;font-weight:500;font-size:9.5px;letter-spacing:.18em;text-transform:uppercase;color:var(--tide);border-bottom:1px solid var(--tide)}

/* Mobile menu overlay */
.menu{position:fixed;inset:0;background:var(--bg);z-index:100;display:flex;flex-direction:column;opacity:0;transform:translateY(-10px);pointer-events:none;transition:opacity .24s ease-out,transform .24s ease-out}
.menu.open{opacity:1;transform:none;pointer-events:auto}
body.menu-open{overflow:hidden}
.menu-top{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--hairline)}
.menu-top .brand-name{font-size:15.5px}
.menu-close{background:none;border:0;font-size:26px;line-height:1;cursor:pointer;color:var(--ink);padding:4px 10px}
.menu-list{flex:1;padding:26px 24px 0;overflow-y:auto}
.menu-label{font-size:9.5px;letter-spacing:.26em;text-transform:uppercase;color:rgba(33,42,45,.45);margin-bottom:10px}
.menu-links{border-top:1px solid var(--hairline)}
.menu-link{display:flex;align-items:baseline;gap:16px;padding:19px 0;border-bottom:1px solid var(--hairline);font-family:var(--serif);font-weight:600;font-size:32px}
.menu-link .num{font-family:var(--sans);font-weight:400;font-size:10px;letter-spacing:.2em;color:var(--tide);width:24px;flex:none}
.menu-link .mark{margin-left:auto;font-family:var(--serif);font-style:italic;font-weight:400;font-size:13px;color:var(--tide)}
.menu-link .arr{margin-left:auto;color:var(--tide);font-size:16px}
.menu-link.accent{color:var(--tide)}
.menu-foot{padding:24px;border-top:1px solid var(--hairline);text-align:center}
.menu-foot .mail{font-family:var(--serif);font-weight:600;font-size:17px;color:var(--tide)}
.menu-foot .towns{font-size:9px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted-2);margin-top:10px;line-height:1.9}

/* Buttons & links */
.btn{display:inline-block;background:var(--ink);color:#F4F4F1;font-family:var(--sans);font-weight:500;font-size:11px;letter-spacing:.2em;text-transform:uppercase;padding:17px 30px;border:0;cursor:pointer;transition:background .15s}
.btn:hover{background:var(--tide);color:#F4F4F1}
.btn-light{background:#F4F4F1;color:var(--ink)}
.btn-light:hover{background:#fff;color:var(--ink)}
.btn-block{width:100%;padding:18px 0;font-size:11.5px}
.link-cta{font-weight:500;font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--tide);border-bottom:1px solid rgba(51,80,90,.4);padding-bottom:3px}
.text-btn{background:none;border:0;cursor:pointer;font-family:var(--sans);font-weight:500;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--tide);border-bottom:1px solid rgba(51,80,90,.4);padding:0 0 3px}

/* Hero (home) */
.hero{position:relative;height:640px;background-position:center;background-size:cover}
.hero-scrim{position:absolute;inset:0;background:linear-gradient(to top,rgba(33,42,45,.55),rgba(33,42,45,0) 55%)}
.hero-inner{position:absolute;left:56px;right:56px;bottom:52px;display:flex;align-items:flex-end;justify-content:space-between;gap:40px;color:#F4F4F1}
.hero-inner .eyebrow{color:rgba(244,244,241,.85);display:block;margin-bottom:16px}
.hero-title{font-family:var(--serif);font-weight:600;font-size:82px;line-height:1.04;max-width:820px;margin:0}

/* Section heads, masonry, service index (home) */
.sec-head{display:flex;align-items:baseline;justify-content:space-between;padding:64px 0 24px}
.sec-title{font-family:var(--serif);font-weight:600;font-size:40px;margin:0}
.masonry{display:flex;gap:22px;padding-bottom:72px}
.m-col{flex:1;display:flex;flex-direction:column;gap:22px}
.tile{margin:0}
.tile img{width:100%;object-fit:cover}
.tile figcaption{font-size:12px;letter-spacing:.08em;margin-top:10px;color:rgba(33,42,45,.7)}
.svc-list{border-top:1px solid var(--hairline);margin-bottom:72px}
.svc-row{display:grid;grid-template-columns:80px 1fr 1fr 40px;align-items:center;padding:28px 0;border-bottom:1px solid var(--hairline)}
.svc-num{font-size:11px;letter-spacing:.2em;color:var(--tide)}
.svc-name{font-family:var(--serif);font-weight:600;font-size:30px}
.svc-desc{font-size:14.5px;line-height:1.55;color:var(--muted)}
.svc-arr{text-align:right;color:var(--tide)}

/* Quote band, studio teaser */
.band{border-top:1px solid var(--hairline);border-bottom:1px solid var(--hairline);padding:72px 56px;text-align:center;background:var(--panel)}
.band .label{font-size:11px;letter-spacing:.26em;text-transform:uppercase;color:rgba(33,42,45,.55);margin-bottom:22px}
.quote{font-family:var(--serif);font-style:italic;font-weight:500;font-size:34px;line-height:1.4;max-width:860px;margin:0 auto 20px;text-wrap:pretty}
.attr{font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:var(--tide)}
.teaser{display:grid;grid-template-columns:1fr 1.1fr;gap:64px;align-items:center;padding:80px 0}
.teaser img{width:100%;height:460px;object-fit:cover}
.teaser h2{font-family:var(--serif);font-weight:600;font-size:44px;line-height:1.15;margin:0 0 22px}
.teaser p{font-size:16.5px;line-height:1.7;color:var(--muted);margin:0 0 30px;max-width:520px;text-wrap:pretty}
.teaser .eyebrow{display:block;margin-bottom:18px}

/* Sunset inquiries footer (pure CSS scene) */
.sunset{border-top:1px solid var(--hairline);padding:88px 48px 110px;text-align:center;position:relative;overflow:hidden;background:linear-gradient(180deg,#F7F5F0 0%,#F6EEE3 34%,rgba(242,219,190,.55) 56%,rgba(198,205,199,.3) 59%,rgba(172,192,191,.16) 78%,rgba(233,218,191,.5) 80%,#EDE4D2 100%)}
.sunset i{position:absolute;display:block}
.sun-glow{right:18%;top:44%;width:280px;height:280px;margin:-140px -140px 0 0;border-radius:50%;background:radial-gradient(circle,rgba(238,196,146,.32),rgba(238,196,146,0) 74%)}
.sun{right:18%;top:44%;width:44px;height:44px;margin:-22px -22px 0 0;border-radius:50%;background:rgba(242,206,152,.5)}
.shim{right:18%;height:1.5px;background:rgba(214,168,120,.3)}
.shim.s1{top:61%;width:150px;margin-right:-75px}
.shim.s2{top:67%;width:92px;margin-right:-46px;background:rgba(214,168,120,.24)}
.shim.s3{top:73%;width:50px;margin-right:-25px;background:rgba(214,168,120,.18)}
.dune-l{left:-260px;bottom:-190px;width:1150px;height:300px;border-radius:50%;background:rgba(234,219,192,.7)}
.dune-r{right:-240px;bottom:-200px;width:1000px;height:280px;border-radius:50%;background:rgba(226,208,175,.65)}
.sunset-inner{position:relative}
.sunset .label{font-size:11px;letter-spacing:.26em;text-transform:uppercase;color:rgba(33,42,45,.55);margin-bottom:18px}
.sunset-mail{font-family:var(--serif);font-weight:600;font-size:43px;color:var(--tide)}
.sunset .towns{font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--muted-2);margin-top:22px}

/* Subfooter */
.subfooter{border-top:1px solid var(--hairline);padding:22px 56px;display:flex;align-items:center;justify-content:space-between;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:rgba(33,42,45,.55)}
.subfooter nav{display:flex;gap:26px}

/* Interior page headers */
.page-head{padding:72px 0 56px}
.page-head .eyebrow{display:block;margin-bottom:16px}
.page-head .split{display:flex;align-items:flex-end;justify-content:space-between;gap:40px}
.page-title{font-family:var(--serif);font-weight:600;font-size:66px;line-height:1.05;margin:0}
.page-head p{font-size:16px;line-height:1.6;color:var(--muted);max-width:440px;margin:0;text-wrap:pretty}

/* Portfolio */
.proj{border-top:1px solid var(--hairline);padding:48px 0;display:grid;grid-template-columns:360px 1fr;gap:56px}
.p-num{font-size:11px;letter-spacing:.2em;color:var(--tide)}
.proj-name{font-family:var(--serif);font-weight:600;font-size:36px;line-height:1.1;margin:14px 0 8px}
.proj-town{font-family:var(--serif);font-style:italic;font-size:17px;color:var(--tide);margin-bottom:20px}
.proj-copy p{font-size:14.5px;line-height:1.65;color:var(--muted);margin:0 0 24px;text-wrap:pretty}
.proj-rooms{font-size:10.5px;letter-spacing:.18em;text-transform:uppercase;color:var(--muted-2);margin-bottom:26px}
.proj-imgs{display:flex;flex-direction:column;gap:20px}
.proj-imgs .lead{height:460px;width:100%;object-fit:cover}
.duo{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.duo img{height:250px;width:100%;object-fit:cover}
.cta-band{border-top:1px solid var(--hairline);padding:64px 56px;text-align:center}
.cta-band h2{font-family:var(--serif);font-weight:600;font-size:36px;margin:0 0 20px}
.cta-band p{font-size:15.5px;color:var(--muted);margin:0 0 28px}

/* Services & packages */
.pkg{border-top:1px solid var(--hairline);padding:52px 0;display:grid;grid-template-columns:380px 1fr 360px;gap:56px}
.pkg-name{font-family:var(--serif);font-weight:600;font-size:38px;line-height:1.1;margin:14px 0}
.price-tag{display:inline-block;border:1px solid rgba(51,80,90,.4);padding:7px 14px;font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--tide)}
.pkg-copy{font-size:16px;line-height:1.75;color:var(--muted);margin:0;text-wrap:pretty}
.inc-label{font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;color:var(--muted-2);padding-bottom:12px;border-bottom:1px solid var(--hairline)}
.inc-row{font-size:14px;padding:12px 0;border-bottom:1px solid var(--hairline-lt)}

/* About */
.about-grid{display:grid;grid-template-columns:440px 1fr;gap:72px;align-items:start;padding:80px 0}
.portrait-ph{width:100%;height:560px;border:1px dashed rgba(33,42,45,.3);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--muted-2);font-size:13px;text-align:center;background:repeating-linear-gradient(45deg,rgba(33,42,45,.03) 0 10px,transparent 10px 20px)}
.ph-cap{font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:rgba(33,42,45,.45);margin-top:12px;text-align:center}
.about-title{font-family:var(--serif);font-weight:600;font-size:54px;line-height:1.1;margin:0 0 28px;text-wrap:balance}
.about-copy p{font-size:17px;line-height:1.75;color:rgba(33,42,45,.75);margin:0 0 20px;max-width:600px;text-wrap:pretty}
.sig{font-family:var(--serif);font-style:italic;font-size:20px;color:var(--tide)}
.values{border-top:1px solid var(--hairline);padding:48px 0 80px;display:grid;grid-template-columns:repeat(3,1fr);gap:56px}
.values h3{font-family:var(--serif);font-weight:600;font-size:27px;margin:12px 0 10px}
.values p{font-size:14.5px;line-height:1.65;color:var(--muted);margin:0;text-wrap:pretty}
.towns-big{font-family:var(--serif);font-weight:600;font-size:30px;line-height:1.5;max-width:800px;margin:0 auto}
.band .btn{margin-top:30px}

/* Contact */
.contact-grid{display:grid;grid-template-columns:1fr 560px;gap:80px;align-items:start;padding:72px 0 88px}
.contact-title{font-family:var(--serif);font-weight:600;font-size:56px;line-height:1.08;margin:0 0 24px;text-wrap:balance}
.contact-lede{font-size:16.5px;line-height:1.7;color:var(--muted);margin:0 0 36px;max-width:460px;text-wrap:pretty}
.info-row{border-top:1px solid var(--hairline);padding:20px 0;display:flex;gap:24px;align-items:baseline}
.info-row.last{border-bottom:1px solid var(--hairline)}
.info-key{font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;color:var(--muted-2);width:80px;flex:none}
.info-val{font-size:15px;line-height:1.7;color:rgba(33,42,45,.75)}
.info-mail{font-family:var(--serif);font-weight:600;font-size:22px;color:var(--tide);overflow-wrap:anywhere}
.form-card{background:var(--card);border:1px solid var(--hairline);padding:44px 44px 40px}
.form-title{font-family:var(--serif);font-weight:600;font-size:28px;margin:0 0 6px}
.form-sub{font-size:13px;color:rgba(33,42,45,.55);margin:0 0 28px}
.fields{display:flex;flex-direction:column;gap:18px}
.f2{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.field label{display:block;font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:rgba(33,42,45,.6);margin-bottom:8px;font-weight:400}
.field input,.field select,.field textarea{width:100%;padding:13px 14px;border:1px solid rgba(33,42,45,.25);background:#fff;font-family:var(--sans);font-weight:300;font-size:15px;color:var(--ink);outline:none;border-radius:0}
.field textarea{line-height:1.6;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--tide)}
.form-error{font-size:13px;color:var(--error)}
.form-note{font-size:12.5px;color:var(--muted-2);text-align:center}
.hp{position:absolute;left:-9999px;opacity:0;height:0;overflow:hidden}
.success{text-align:center;padding:60px 0}
.success .check{width:52px;height:52px;border-radius:50%;border:1px solid var(--tide);color:var(--tide);font-size:22px;display:flex;align-items:center;justify-content:center;margin:0 auto 24px}
.success h3{font-family:var(--serif);font-weight:600;font-size:32px;margin:0 0 14px}
.success p{font-size:15px;line-height:1.7;color:var(--muted);margin:0 0 30px}
[hidden]{display:none!important}

/* ------- Mid (tablet / narrow desktop) ------- */
@media (max-width:1150px){
  .masthead{padding:18px 28px;column-gap:20px}
  .brand-name{font-size:21px}
  .brand-est em{font-size:12px}
  .brand-est .rule{width:18px}
  .mast-links{gap:18px;font-size:10.5px;letter-spacing:.16em}
  .hero-title{font-size:60px}
  .contact-grid{grid-template-columns:1fr;gap:48px}
  .form-card{max-width:640px}
  .pkg{grid-template-columns:1fr;gap:0}
  .pkg-copy{margin:18px 0 24px}
  .proj{grid-template-columns:1fr;gap:0}
  .proj-imgs{margin-top:20px}
  .about-grid{grid-template-columns:1fr;gap:40px}
  .portrait-ph{max-width:440px}
  .teaser{grid-template-columns:1fr;gap:28px}
  .teaser img{height:340px}
  .page-title{font-size:52px}
}

/* ------- Mobile ------- */
@media (max-width:720px){
  .wrap{padding:0 20px}
  .masthead{padding:14px 18px;column-gap:10px}
  .mast-links{display:none}
  .hamburger{display:flex}
  .m-inquire{display:block}
  .brand-name{font-size:15.5px}
  .brand-est{gap:7px;margin-top:2px}
  .brand-est em{font-size:10.5px}
  .brand-est .rule{width:16px}
  .hero{height:430px}
  .hero-inner{left:20px;right:20px;bottom:24px;flex-direction:column;align-items:flex-start;gap:16px}
  .hero-title{font-size:36px;line-height:1.08}
  .sec-head{padding:38px 0 18px}
  .sec-title{font-size:27px}
  .masonry{flex-direction:column;padding-bottom:44px}
  .svc-list{margin-bottom:44px}
  .svc-row{grid-template-columns:24px 1fr auto;row-gap:6px;padding:18px 0;align-items:baseline}
  .svc-name{font-size:22px}
  .svc-desc{grid-column:2/4;font-size:13px}
  .band{padding:44px 24px}
  .quote{font-size:22px;line-height:1.45}
  .teaser{grid-template-columns:1fr;gap:22px;padding:44px 0}
  .teaser img{height:240px}
  .teaser h2{font-size:30px}
  .teaser p{font-size:14.5px}
  .sunset{padding:60px 24px 90px}
  .sunset-mail{font-size:19px}
  .sun-glow{right:24%;top:42%;width:170px;height:170px;margin:-85px -85px 0 0}
  .sun{right:24%;top:42%;width:34px;height:34px;margin:-17px -17px 0 0}
  .shim{right:24%}
  .shim.s1{top:58%;width:110px;margin-right:-55px}
  .shim.s2{top:64%;width:70px;margin-right:-35px}
  .shim.s3{top:70%;width:40px;margin-right:-20px}
  .dune-l{left:-160px;bottom:-110px;width:560px;height:170px}
  .dune-r{right:-140px;bottom:-120px;width:500px;height:160px}
  .subfooter{flex-direction:column;gap:10px;padding:18px 20px;text-align:center}
  .subfooter nav{gap:18px;flex-wrap:wrap;justify-content:center}
  .page-head{padding:40px 0 32px}
  .page-head .split{flex-direction:column;align-items:flex-start;gap:14px}
  .page-title{font-size:44px}
  .proj{grid-template-columns:1fr;gap:0;padding:32px 0 36px}
  .proj-imgs{margin-top:16px}
  .proj-imgs .lead{height:280px}
  .duo{gap:14px}
  .duo img{height:140px}
  .cta-band{padding:44px 24px}
  .cta-band h2{font-size:26px}
  .pkg{grid-template-columns:1fr;gap:0;padding:32px 0 36px}
  .pkg-name{font-size:30px;margin:10px 0 14px}
  .pkg-copy{margin:16px 0 20px;font-size:14.5px}
  .about-grid{grid-template-columns:1fr;gap:32px;padding:40px 0}
  .portrait-ph{height:430px}
  .about-title{font-size:36px}
  .about-copy p{font-size:15px}
  .values{grid-template-columns:1fr;gap:28px;padding:32px 0 40px}
  .towns-big{font-size:21px}
  .contact-grid{grid-template-columns:1fr;gap:32px;padding:40px 0 44px}
  .contact-title{font-size:38px}
  .form-card{padding:28px 24px}
  .f2{grid-template-columns:1fr}
  .info-mail{font-size:16.5px}
}
/* Performance: below-fold sections render lazily; no visual change */
.band,.teaser,.sunset,.proj,.pkg,.values{content-visibility:auto;contain-intrinsic-size:auto 600px}

/* A11y: larger tap targets on mobile menu rows already 19px pad; ensure close button target */
.menu-close{min-width:44px;min-height:44px}
.hamburger{min-height:34px;min-width:34px}

/* Instagram page */
.ig-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;padding-bottom:64px}
.ig-tile img{width:100%;aspect-ratio:1;object-fit:cover}
.ig-tile{display:block;transition:opacity .15s}
.ig-tile:hover{opacity:.88}
.ig-handle{font-family:var(--serif);font-weight:600;font-size:38px;color:var(--tide)}
@media (max-width:720px){.ig-grid{grid-template-columns:repeat(2,1fr);gap:14px;padding-bottom:40px}.ig-handle{font-size:22px}}
