/* Rey's Stone Works — site styles
   Brand: forest & bronze, sampled from the logo. One look, not theme-switched. */
:root{
  --forest:#152219; --forest-2:#22332A; --forest-3:#0F1A13; --line:#2A3A30;
  --bronze:#865F3F; --bronze-lt:#C4986F; --bronze-dk:#6E4C31;
  --linen:#E1D8D3; --white:#FFFFFF; --granite:#9B9FA1; --ink-2:#3E4441; --mist:#C9CCCD;
  --display:'Montserrat','Helvetica Neue',Arial,sans-serif;
  --body:'Figtree','Segoe UI',system-ui,sans-serif;
  color-scheme:light;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--linen);color:var(--forest);font-family:var(--body);font-size:16px;line-height:1.5}
img{max-width:100%}
[hidden]{display:none !important}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none !important;animation:none !important}}
a{color:inherit}
h1,h2,h3{font-family:var(--display);margin:0;text-wrap:balance}
p{margin:0}
:focus-visible{outline:3px solid var(--bronze-lt);outline-offset:3px}
.skip{position:absolute;left:-999px;top:8px;z-index:100;background:var(--white);color:var(--forest);padding:10px 16px;border-radius:8px}
.skip:focus{left:8px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}

.wrap{max-width:1320px;margin:0 auto;padding-left:max(40px,env(safe-area-inset-left,0px));padding-right:max(40px,env(safe-area-inset-right,0px))}
.sec{padding-block:104px}
.eyebrow{display:flex;align-items:center;gap:14px;font-family:var(--display);font-weight:700;font-size:13px;letter-spacing:.18em;text-transform:uppercase}
.eyebrow::before{content:"";width:40px;height:3px;background:var(--bronze)}
.eyebrow.center{justify-content:center}
.eyebrow.center::after{content:"";width:40px;height:3px;background:var(--bronze)}
.on-dark .eyebrow{color:var(--bronze-lt)}
.on-dark .eyebrow::before,.on-dark .eyebrow::after{background:var(--bronze-lt)}
.h2{font-weight:800;font-size:clamp(32px,4.4vw,60px);line-height:1.05;letter-spacing:-.02em}
.lede{font-size:17px;line-height:1.6;color:var(--ink-2);max-width:620px}
.head-c{display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:0 28px;border-radius:999px;font-family:var(--display);font-weight:700;font-size:15px;text-decoration:none;border:2px solid transparent;cursor:pointer;transition:background .2s,color .2s,transform .2s}
.btn:hover{transform:translateY(-1px)}
.btn-bronze{background:var(--bronze);color:var(--white)}
.btn-bronze:hover{background:var(--bronze-dk)}
.btn-ghost-w{border-color:var(--white);color:var(--white);background:transparent}
.btn-ghost-w:hover{background:var(--white);color:var(--forest)}
.btn-ghost{border-color:var(--forest);color:var(--forest);background:transparent}
.btn-ghost:hover{background:var(--forest);color:var(--white)}
.btn-ghost-d{border-color:var(--granite);color:var(--white);background:transparent}
.btn[disabled]{opacity:.6;cursor:wait;transform:none}

/* header */
body.has-hdr::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:30;background:var(--forest)}
.hdr{position:sticky;top:env(safe-area-inset-top,0px);z-index:20;background:var(--forest);border-bottom:1px solid var(--line)}
.hdr .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-block:14px}
.hdr .logo img{height:44px;width:auto;display:block}
.nav{display:flex;gap:32px;font-family:var(--display);font-weight:600;font-size:15px}
.nav a{color:var(--white);text-decoration:none;padding-bottom:6px;border-bottom:2px solid transparent}
.nav a:hover,.nav a[aria-current]{border-color:var(--bronze-lt)}
.hdr-r{display:flex;align-items:center;gap:16px}
.hdr-phone{color:var(--white);text-decoration:none;font-weight:600;white-space:nowrap}
.hdr .btn{min-height:48px;padding:0 24px;font-size:14px;white-space:nowrap}
.round{display:none;width:48px;height:48px;border:1px solid #4A5A50;border-radius:999px;background:transparent;color:var(--white);align-items:center;justify-content:center;cursor:pointer}

/* mobile menu */
.menu{position:fixed;inset:0;z-index:40;background:var(--forest);color:var(--white);display:flex;flex-direction:column;gap:28px;overflow-y:auto;padding:calc(18px + env(safe-area-inset-top,0px)) max(20px,env(safe-area-inset-right,0px)) calc(24px + env(safe-area-inset-bottom,0px)) max(20px,env(safe-area-inset-left,0px))}
.menu-top{display:flex;justify-content:space-between;align-items:center}
.menu-top img{height:34px;width:auto}
.menu .round{display:flex}
.menu nav{display:flex;flex-direction:column}
.menu nav a{font-family:var(--display);font-weight:700;font-size:32px;text-decoration:none;padding:14px 0;border-bottom:1px solid var(--line)}
.menu .meta{margin-top:auto;display:flex;flex-direction:column;gap:6px;color:var(--mist);font-size:15px}

/* hero */
.hero{position:relative;min-height:720px;display:flex;align-items:center;padding-bottom:140px;background:url(/img/hero.jpg) center 60%/cover no-repeat var(--forest);color:var(--white)}
.hero::before{content:"";position:absolute;inset:0;background:rgba(21,34,25,.62)}
.hero .wrap{position:relative;width:100%;padding-top:72px;display:flex;flex-direction:column;gap:26px}
.hero .eyebrow{color:#E6C9AC}
.hero .eyebrow::before{background:var(--bronze-lt)}
.hero h1{max-width:860px;font-weight:800;font-size:clamp(42px,7vw,96px);line-height:.98;letter-spacing:-.025em}
.hero p{max-width:560px;font-size:clamp(16px,1.6vw,19px);line-height:1.6;color:#E4E6E6}
.row{display:flex;flex-wrap:wrap;gap:12px}

/* bronze cards */
.cards{margin-top:-96px;position:relative}
.grid3{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:16px}
.card-b{background:var(--bronze);color:var(--white);padding:32px;display:flex;flex-direction:column;gap:14px}
.card-b h2{font-weight:700;font-size:22px;line-height:1.2}
.card-b p{font-size:15px;line-height:1.55;color:#F3E9E0}

/* about */
.about{max-width:1000px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:24px}
.about h2{font-weight:800;font-size:clamp(30px,4vw,52px);line-height:1.1;letter-spacing:-.02em}
.about .lede{font-size:18px;max-width:680px}
.about .grid3{width:100%;margin-top:24px;text-align:left}
.val{background:var(--white);padding:28px;display:flex;flex-direction:column;gap:10px}
.val h3{font-weight:700;font-size:19px}
.val p{font-size:15px;line-height:1.55;color:var(--ink-2)}

/* services */
.services{padding-bottom:104px;display:flex;flex-direction:column;gap:40px}
.svc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(520px,100%),1fr));gap:20px}
.svc{display:flex;flex-wrap:wrap;background:var(--forest);color:var(--white);text-decoration:none;overflow:hidden}
.svc img{flex:1 1 220px;min-width:0;height:auto;min-height:280px;max-height:420px;object-fit:cover;display:block;transition:transform .5s}
.svc:hover img{transform:scale(1.04)}
.svc div{flex:1 1 240px;min-width:0;padding:32px;display:flex;flex-direction:column;justify-content:center;gap:12px}
.svc h3{font-weight:700;font-size:26px;line-height:1.15;color:var(--bronze-lt)}
.svc p{font-size:15px;line-height:1.6;color:#D5D8D9}
.svc span{font-family:var(--display);font-weight:700;font-size:14px}
.more{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;background:var(--white);padding:32px}
.more div{flex:1 1 320px;display:flex;flex-direction:column;gap:6px}
.more h3{font-weight:700;font-size:24px}
.more p{color:var(--ink-2)}

/* projects */
.work{background:var(--white)}
.work .wrap{display:flex;flex-direction:column;gap:32px}
.work-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:20px}
.work-head > div:first-child{display:flex;flex-direction:column;gap:14px}
.filters{display:flex;gap:8px;overflow-x:auto;max-width:100%;padding-bottom:4px}
.chip{flex:none;min-height:44px;padding:0 20px;border:1px solid var(--forest);border-radius:999px;background:transparent;color:var(--forest);font-family:var(--display);font-weight:600;font-size:14px;cursor:pointer}
.chip[aria-pressed="true"]{background:var(--forest);color:var(--white)}
.proj-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:16px}
.proj{display:flex;flex-direction:column;gap:10px;margin:0}
.proj img{width:100%;max-width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;display:block}
.proj figcaption{display:flex;justify-content:space-between;gap:12px;font-size:14px}
.proj figcaption b{font-weight:600}
.proj figcaption span{color:var(--ink-2)}

/* before / after */
.ba-band{background:var(--forest);color:var(--white)}
.ba-wrap{display:flex;flex-wrap:wrap;gap:48px;align-items:center}
.ba-copy{flex:1 1 300px;display:flex;flex-direction:column;gap:18px}
.ba-copy h2{font-weight:800;font-size:clamp(30px,3.8vw,52px);line-height:1.05;letter-spacing:-.02em}
.ba-copy p{color:var(--mist);line-height:1.6}
.ba{flex:999 1 520px;min-width:0;max-width:100%;position:relative;aspect-ratio:4/3;overflow:hidden;background:var(--forest-3);touch-action:pan-y;--pos:50%}
.ba img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;user-select:none;-webkit-user-drag:none}
.ba .before{clip-path:inset(0 calc(100% - var(--pos)) 0 0)}
.ba .lay{position:absolute;inset:0;pointer-events:none;z-index:2}
.ba .lay-b{clip-path:inset(0 calc(100% - var(--pos)) 0 0)}
.ba .lay-a{clip-path:inset(0 0 0 var(--pos))}
.ba .tag{position:absolute;top:14px;padding:6px 12px;border-radius:999px;font-family:var(--display);font-weight:700;font-size:11px;letter-spacing:.14em;color:var(--white)}
.ba .t-b{left:14px;background:rgba(15,26,19,.82)}
.ba .t-a{right:14px;background:rgba(134,95,63,.92)}
.ba .bar{position:absolute;top:0;bottom:0;left:var(--pos);width:3px;margin-left:-1.5px;background:var(--white);pointer-events:none}
.ba .knob{position:absolute;top:50%;left:var(--pos);transform:translate(-50%,-50%);width:52px;height:52px;border-radius:999px;background:var(--white);color:var(--forest);display:flex;align-items:center;justify-content:center;box-shadow:0 4px 16px rgba(0,0,0,.3);pointer-events:none}
.ba input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize;z-index:3}
.ba input:focus-visible ~ .knob{outline:3px solid var(--bronze-lt);outline-offset:3px}

/* process */
.process{display:flex;flex-direction:column;gap:40px}
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:16px}
.steps li{background:var(--white);padding:28px;display:flex;flex-direction:column;gap:12px}
.steps .n{width:44px;height:44px;border-radius:999px;background:var(--forest);color:var(--white);display:flex;align-items:center;justify-content:center;font-family:var(--display);font-weight:700}
.steps h3{font-weight:700;font-size:21px}
.steps p{font-size:15px;line-height:1.55;color:var(--ink-2)}

/* estimate section */
.est{background:var(--forest);color:var(--white)}
.est .wrap{display:flex;flex-wrap:wrap;gap:56px}
.est-copy{flex:1 1 320px;display:flex;flex-direction:column;gap:20px}
.est-copy h2{font-weight:800;font-size:clamp(34px,4.8vw,64px);line-height:1.02;letter-spacing:-.02em}
.est-copy p{color:var(--mist);font-size:17px;line-height:1.6}
.callbox{display:flex;flex-direction:column;gap:6px;padding-top:16px;border-top:1px solid var(--line)}
.callbox small{color:var(--granite);font-size:14px}
.callbox a{font-family:var(--display);font-weight:800;font-size:clamp(26px,3vw,32px);text-decoration:none}

/* estimate form (shared by homepage and coming-soon sheet) */
.form{flex:999 1 480px;min-width:0;display:flex;flex-direction:column;gap:20px;color:var(--white)}
.prog{list-style:none;margin:0 0 8px;padding:0;display:flex;align-items:center;gap:10px}
.prog li{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--mist)}
.prog .dot{width:32px;height:32px;flex:none;border-radius:999px;border:1px solid var(--granite);display:flex;align-items:center;justify-content:center;font-weight:700;color:var(--white)}
.prog li.on{color:var(--white);font-weight:600}
.prog li.on .dot{background:var(--bronze-lt);border-color:var(--bronze-lt);color:var(--forest)}
.prog .ln{flex:1;min-width:12px;height:1px;background:#4A5A50}
.step{display:flex;flex-direction:column;gap:20px}
.field{display:flex;flex-direction:column;gap:8px;min-width:0}
.field label{font-size:14px;font-weight:500}
.field .opt{color:var(--mist);font-weight:400}
.field input,.field select,.field textarea{width:100%;min-height:52px;padding:0 22px;border:1px solid var(--granite);border-radius:999px;background:transparent;color:var(--white);font-family:var(--body);font-size:16px}
.field select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23C9CCCD' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 20px center;padding-right:48px}
.field textarea{border-radius:22px;padding:14px 22px;min-height:110px;resize:vertical}
.field select option{color:#152219}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--bronze-lt);box-shadow:0 0 0 3px rgba(196,152,111,.3)}
.pair{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(140px,100%),1fr));gap:16px}
.hp{position:absolute !important;left:-9999px !important;width:1px;height:1px;overflow:hidden}
.form-nav{display:flex;gap:12px}
.form-nav .btn{flex:1}
.err{color:#F2B8A0;font-size:14px;min-height:1em}
.done{background:var(--forest-2);padding:28px;display:flex;flex-direction:column;gap:10px;border-left:3px solid var(--bronze-lt)}
.done h3{font-size:22px;font-weight:700}
.done p{color:var(--mist);line-height:1.6}

/* footer */
.ftr{background:var(--forest-3);color:var(--white)}
.ftr .wrap{padding-block:72px 32px;display:flex;flex-direction:column;gap:48px}
.ftr-top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:40px}
.ftr-brand{flex:1 1 280px;display:flex;flex-direction:column;gap:20px}
.ftr-brand img{width:min(300px,100%);height:auto}
.socials{display:flex;gap:10px}
.socials a{width:44px;height:44px;border-radius:999px;border:1px solid var(--granite);display:flex;align-items:center;justify-content:center}
.ftr-cols{flex:2 1 480px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(170px,100%),1fr));gap:32px;font-size:15px;line-height:1.8}
.ftr-cols div{display:flex;flex-direction:column;min-width:0}
.ftr-cols b{font-family:var(--display);color:var(--bronze-lt);margin-bottom:8px}
.ftr-cols a{word-break:break-word}
.legal{border-top:1px solid var(--line);padding-top:24px;font-size:13px;color:var(--granite)}

/* mobile dock (phones only) */
.dock{display:none}
.dock a,.dock button{min-height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-radius:14px;text-decoration:none;color:var(--white);font-family:var(--body);font-size:11px;letter-spacing:.03em;cursor:pointer}
.dock .call{flex:1 1 0;background:var(--forest-2)}
.dock .go{flex:2 1 0;background:var(--bronze);font-size:12px;font-weight:500}

/* coming soon */
.cs{min-height:100vh;min-height:100dvh;background:var(--forest);color:var(--white);display:flex;flex-direction:column}
.cs-main{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:36px;padding:56px max(24px,env(safe-area-inset-right,0px)) 56px max(24px,env(safe-area-inset-left,0px))}
.cs-logo{width:min(380px,72vw);height:auto;display:block;animation:rise .9s ease-out both}
.cs h1{font-family:var(--display);font-weight:600;font-size:clamp(18px,2.6vw,28px);letter-spacing:.42em;margin-right:-.42em;text-transform:uppercase;animation:rise .9s .15s ease-out both}
.cs-note{max-width:440px;color:var(--mist);font-size:16px;line-height:1.6;animation:rise .9s .25s ease-out both}
.cs-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;animation:rise .9s .35s ease-out both}
.cs-ig{width:56px;height:56px;border-radius:999px;background:var(--bronze);color:var(--white);display:flex;align-items:center;justify-content:center;transition:background .2s}
.cs-ig:hover{background:var(--bronze-dk)}
.cs-foot{text-align:center;color:var(--granite);font-size:13px;padding:0 24px 28px}
@keyframes rise{from{opacity:.001;transform:translateY(12px)}to{opacity:1;transform:none}}

/* estimate sheet (coming soon) */
.sheet{border:0;padding:0;width:min(640px,100%);max-width:100%;max-height:min(92dvh,900px);background:var(--forest);color:var(--white);border-radius:20px;box-shadow:0 30px 80px rgba(0,0,0,.5)}
.sheet::backdrop{background:rgba(6,12,8,.7)}
.sheet-in{padding:28px;display:flex;flex-direction:column;gap:20px}
.sheet-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.sheet-top h2{font-weight:800;font-size:28px;line-height:1.1}
.sheet-top p{color:var(--mist);margin-top:6px}
.sheet .round{display:flex;flex:none}

@media (max-width:1024px){.nav{display:none}.hdr .round{display:flex}}
@media (max-width:640px){
  .wrap{padding-left:max(20px,env(safe-area-inset-left,0px));padding-right:max(20px,env(safe-area-inset-right,0px))}
  .sec{padding-block:64px}
  .services{padding-bottom:64px}
  .hdr .btn,.hdr-phone{display:none}
  .hdr .logo img{height:34px}
  .hero{min-height:600px;padding-bottom:110px}
  .cards{margin-top:-64px}
  .dock{display:flex;position:sticky;bottom:0;z-index:30;gap:10px;background:var(--forest);border-top:3px solid var(--bronze);box-shadow:0 -8px 24px rgba(15,26,19,.35);padding:10px max(16px,env(safe-area-inset-right,0px)) calc(10px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px))}
  .cs .dock{position:sticky}
  .cs-actions .btn{display:none}
  .prog li:not(.on) span:not(.dot){display:none}
  .sheet{width:100%;margin:auto 0 0;border-radius:20px 20px 0 0;max-height:94dvh}
  .sheet-in{padding:22px 20px calc(22px + env(safe-area-inset-bottom,0px))}
}
