/* ===================================================================
   TERRA DESIGN & BUILD — Design System
   Palette: warm near-black + brushed brass gold, echoing the blueprint
   mark in the logo. Display serif (Fraunces) + tracked utility sans (Inter).
=================================================================== */

:root{
  --bg:        #0c0b09;
  --bg-alt:    #131110;
  --bg-elev:   #1a1714;
  --bg-elev-2: #201c18;
  --line:      #322c22;
  --line-soft: #221f1a;

  --ink:       #f3ede2;
  --ink-dim:   #b8ac97;
  --ink-faint: #7d735f;

  --gold:      #d8c49f;
  --gold-2:    #ede2c8;
  --gold-dim:  #a68f68;
  --gold-line: rgba(216,196,159,0.35);

  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--sans);
  font-weight:300;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ margin:0; font-family:var(--serif); font-weight:400; letter-spacing:0; color:var(--ink); }
p{ margin:0; }

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

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 var(--gutter);
}

/* ---------------- Texture / background ---------------- */
body{
  background-image:
    radial-gradient(1100px 620px at 82% -8%, rgba(200,163,95,0.07), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(200,163,95,0.04), transparent 55%);
  background-repeat:no-repeat;
}

/* ---------------- Eyebrow / labels ---------------- */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.65em;
  font-family:var(--sans);
  font-size:12px;
  font-weight:500;
  letter-spacing:.28em;
  text-transform:uppercase;
  color:var(--gold);
}
.eyebrow::before{
  content:"";
  width:26px; height:1px;
  background:var(--gold);
  display:block;
}

/* ---------------- Dimension-line divider (signature motif) ----------------
   Echoes the blueprint dimension lines in the logo: a hairline with
   tick marks and an architectural measurement-style label. Used to
   separate major sections instead of a generic rule. */
.dim-divider{
  --h: 34px;
  position:relative;
  display:flex;
  align-items:center;
  gap:18px;
  color:var(--ink-faint);
  font-size:11px;
  letter-spacing:.22em;
  text-transform:uppercase;
  margin:0 auto;
  width:100%;
}
.dim-divider .seg{
  position:relative;
  flex:1;
  height:1px;
  background:var(--line);
}
.dim-divider .seg::before,
.dim-divider .seg::after{
  content:"";
  position:absolute;
  top:-4px;
  width:1px;
  height:9px;
  background:var(--line);
}
.dim-divider .seg::before{ left:0; }
.dim-divider .seg::after{ right:0; }
.dim-divider .label{ white-space:nowrap; }
@media (max-width:640px){
  .dim-divider{ gap:10px; }
  .dim-divider .label{
    white-space:normal;
    text-align:center;
    font-size:10px;
    letter-spacing:.13em;
    line-height:1.7;
    max-width:230px;
  }
}

/* ---------------- Corner-bracket frame (signature motif) ----------------
   Applies blueprint registration-mark corners around image placeholders
   and feature frames — a callback to the logo's dimension marks. */
.bracket-frame{
  position:relative;
  padding:14px;
}
.bracket-frame::before,
.bracket-frame::after,
.bracket-frame .bracket-frame__inner::before,
.bracket-frame .bracket-frame__inner::after{
  content:"";
  position:absolute;
  width:22px; height:22px;
  border:1px solid var(--gold);
  opacity:.85;
}
.bracket-frame::before{ top:0; left:0; border-right:none; border-bottom:none; }
.bracket-frame::after{ top:0; right:0; border-left:none; border-bottom:none; }
.bracket-frame .corner-bl{ position:absolute; bottom:0; left:0; width:22px; height:22px; border:1px solid var(--gold); border-right:none; border-top:none; opacity:.85; }
.bracket-frame .corner-br{ position:absolute; bottom:0; right:0; width:22px; height:22px; border:1px solid var(--gold); border-left:none; border-top:none; opacity:.85; }

/* ---------------- Placeholder media block ---------------- */
.placeholder{
  position:relative;
  width:100%;
  height:100%;
  min-height:220px;
  background:
    linear-gradient(155deg, var(--bg-elev), var(--bg-elev-2));
  border:1px dashed var(--line);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  text-align:center;
  color:var(--ink-faint);
}
.placeholder .ph-icon{
  width:34px; height:34px;
  opacity:.55;
}
.placeholder .ph-label{
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--ink-faint);
}
.placeholder .ph-sub{
  font-size:11px;
  color:var(--ink-faint);
  opacity:.7;
  max-width:220px;
}

/* ---------------- Buttons ---------------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:15px 30px;
  font-family:var(--sans);
  font-size:12px;
  font-weight:600;
  letter-spacing:.18em;
  text-transform:uppercase;
  border:1px solid var(--gold);
  background:transparent;
  color:var(--ink);
  transition:background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space:nowrap;
}
.btn:hover{ background:var(--gold); color:#151109; }
.btn-solid{
  background:var(--gold);
  color:#151109;
  border-color:var(--gold);
}
.btn-solid:hover{ background:var(--gold-2); border-color:var(--gold-2); color:#151109; }
.btn-ghost{
  border-color:var(--line);
  color:var(--ink-dim);
}
.btn-ghost:hover{ border-color:var(--gold); color:var(--ink); background:transparent; }
.btn-sm{ padding:11px 22px; font-size:11px; }

/* ===================================================================
   HEADER
=================================================================== */
.site-header{
  position:fixed;
  top:0; left:0; right:0;
  z-index:200;
  padding:22px 0;
  background:transparent;
  border-bottom:1px solid transparent;
  transition:background .4s var(--ease), border-color .4s var(--ease), padding .4s var(--ease);
}
.site-header.is-scrolled{
  background:rgba(12,11,9,0.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line-soft);
  padding:14px 0;
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  max-width:1480px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand img{ height:56px; width:auto; transition:height .4s var(--ease); }
.site-header.is-scrolled .brand img{ height:42px; }

/* Home page: oversized logo sits directly on the hero slideshow, then
   settles down to the normal header size once the page is scrolled. */
.home-page .site-header{ padding:34px 0; }
.home-page .site-header:not(.is-scrolled) .brand img{ height:140px; }
.home-page .site-header:not(.is-scrolled) .brand-text{ margin-top:26px; }
.home-page .site-header:not(.is-scrolled) .brand-text .name{ font-size:45px; }
.home-page .site-header:not(.is-scrolled) .brand-text .tag{ font-size:16.5px; }
@media (max-width:640px){
  .home-page .site-header{ padding:22px 0; }
  .home-page .site-header:not(.is-scrolled) .brand img{ height:88px; }
  .home-page .site-header:not(.is-scrolled) .brand-text .name{ font-size:33px; }
}
.brand-text{ display:flex; flex-direction:column; line-height:1.15; margin-top:10px; }
.brand-text .name{
  font-family:var(--serif);
  font-size:30px;
  letter-spacing:.12em;
  color:var(--ink);
  transition:font-size .4s var(--ease);
}
.brand-text .tag{
  font-size:13.5px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--ink-faint);
  white-space:nowrap;
  transition:font-size .4s var(--ease);
  margin-top:3px;
}
.brand-text .tag .lic{ color:var(--gold); text-decoration:none; border-bottom:none; box-shadow:none; }
.brand-text .lic-line{
  font-size:10px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--gold);
  margin-top:2px;
  transition:font-size .4s var(--ease);
}
.home-page .site-header:not(.is-scrolled) .brand-text .lic-line{ font-size:12.5px; }

.main-nav{ display:flex; align-items:center; gap:36px; margin-left:64px; }
.main-nav a{
  font-size:13.5px;
  font-weight:500;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--ink-dim);
  position:relative;
  padding:4px 0;
  transition:color .3s var(--ease);
}
.main-nav a::after{
  content:"";
  position:absolute; left:0; bottom:0;
  width:0; height:1px;
  background:var(--gold);
  transition:width .3s var(--ease);
}
.main-nav a:hover{ color:var(--ink); }
.main-nav a:hover::after, .main-nav a.active::after{ width:100%; }
.main-nav a.active{ color:var(--gold); }

.header-actions{ display:flex; align-items:center; gap:18px; margin-left:auto; }
.icon-link{
  width:34px; height:34px;
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--line);
  border-radius:50%;
  color:var(--ink-dim);
  transition:border-color .3s var(--ease), color .3s var(--ease);
}
.icon-link:hover{ border-color:var(--gold); color:var(--gold); }
.icon-link svg{ width:15px; height:15px; }

/* Header Instagram icon — larger per request */
.header-actions .icon-link{ width:56px; height:56px; }
.header-actions .icon-link svg{ width:25px; height:25px; }

/* ---------------- Header phone button (call/text) ---------------- */
.phone-btn-wrap{ position:relative; }
.phone-btn{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:11px 18px;
  border:1px solid var(--gold-line);
  background:transparent;
  color:var(--ink);
  font-family:var(--sans);
  font-size:12.5px;
  font-weight:500;
  letter-spacing:.05em;
  white-space:nowrap;
  flex-shrink:0;
  transition:border-color .3s var(--ease), background .3s var(--ease);
}
.phone-btn:hover{ border-color:var(--gold); background:rgba(216,196,159,0.07); }
.phone-btn svg{ width:15px; height:15px; color:var(--gold); flex-shrink:0; }
.phone-btn span{ white-space:nowrap; }
.phone-popover{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  min-width:170px;
  background:var(--bg-elev);
  border:1px solid var(--line);
  box-shadow:0 18px 40px rgba(0,0,0,.45);
  opacity:0;
  visibility:hidden;
  transform:translateY(-6px);
  transition:opacity .25s var(--ease), transform .25s var(--ease), visibility .25s var(--ease);
  z-index:50;
}
.phone-popover.is-open{ opacity:1; visibility:visible; transform:translateY(0); }
.phone-popover a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:13px 16px;
  font-size:13px;
  color:var(--ink-dim);
  border-bottom:1px solid var(--line-soft);
  transition:color .25s var(--ease), background .25s var(--ease);
}
.phone-popover a:last-child{ border-bottom:none; }
.phone-popover a:hover{ color:var(--gold-2); background:rgba(216,196,159,0.06); }
.phone-popover a svg{ width:14px; height:14px; color:var(--gold); flex-shrink:0; }

.nav-toggle{
  display:none;
  width:34px; height:34px;
  border:1px solid var(--line);
  border-radius:50%;
  align-items:center;
  justify-content:center;
  background:transparent;
  color:var(--ink);
}
.nav-toggle svg{ width:16px; height:16px; }

/* Mobile nav drawer */
.mobile-nav{
  position:fixed;
  inset:0;
  z-index:300;
  background:rgba(10,9,8,0.98);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:28px;
  opacity:0;
  visibility:hidden;
  transition:opacity .35s var(--ease), visibility .35s var(--ease);
}
.mobile-nav.is-open{ opacity:1; visibility:visible; }
.mobile-nav a{
  font-family:var(--sans);
  font-size:14px;
  font-weight:500;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--ink);
  border:1px solid var(--line);
  border-radius:8px;
  padding:16px 0;
  width:220px;
  text-align:center;
  transition:border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease);
}
.mobile-nav a:hover, .mobile-nav a:active{
  border-color:var(--gold);
  color:var(--gold-2);
  background:rgba(198,161,91,.08);
}
.mobile-nav .mobile-nav-close{
  position:absolute; top:24px; right:var(--gutter);
  width:40px;height:40px;
  background:var(--bg);
  border:1px solid var(--line);
  border-radius:8px;
  display:flex;align-items:center;justify-content:center;
  color:var(--ink);
  transition:border-color .25s var(--ease), color .25s var(--ease);
}
.mobile-nav .mobile-nav-close:hover{ border-color:var(--gold); color:var(--gold-2); }
.mobile-nav .mobile-meta{
  margin-top:12px;
  display:flex; gap:18px; align-items:center;
  color:var(--ink-faint); font-size:12px; letter-spacing:.1em;
}
.mobile-meta-ig{
  width:34px; height:34px;
  border:1px solid var(--line);
  border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  color:var(--ink-faint);
  transition:border-color .25s var(--ease), color .25s var(--ease);
}
.mobile-meta-ig:hover{ border-color:var(--gold); color:var(--gold-2); }
.mobile-meta-ig svg{ width:17px; height:17px; }

/* ===================================================================
   STICKY CONSULTATION WIDGET
=================================================================== */
.consult-tab{
  position:fixed;
  right:0;
  top:60%;
  transform:translateY(-50%);
  z-index:250;
  background:var(--gold);
  color:#151109;
  border:none;
  padding:18px 12px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  cursor:pointer;
  box-shadow:-6px 0 24px rgba(0,0,0,.35);
  transition:background .3s var(--ease), padding .3s var(--ease);
}
.consult-tab:hover{ background:var(--gold-2); padding-right:16px; }
.consult-tab span{
  writing-mode:vertical-rl;
  transform:rotate(180deg);
  font-size:11px;
  font-weight:600;
  letter-spacing:.22em;
  text-transform:uppercase;
  white-space:nowrap;
}
.consult-tab svg{ width:16px; height:16px; }

@media (max-width:768px){
  .consult-tab{
    top:60%;
    transform:none;
    padding:14px;
    gap:0;
  }
  .consult-tab span{ display:none; }
  .consult-tab svg{ width:22px; height:22px; }
}

.consult-overlay{
  position:fixed; inset:0;
  background:rgba(8,7,6,0.72);
  backdrop-filter:blur(3px);
  z-index:400;
  opacity:0; visibility:hidden;
  transition:opacity .4s var(--ease), visibility .4s var(--ease);
}
.consult-overlay.is-open{ opacity:1; visibility:visible; }

.consult-panel{
  position:fixed;
  top:0; right:0;
  height:100%;
  width:min(440px, 92vw);
  background:var(--bg-alt);
  border-left:1px solid var(--line);
  z-index:401;
  transform:translateX(100%);
  transition:transform .45s var(--ease);
  overflow-y:auto;
  padding:56px 40px 40px;
}
.consult-panel.is-open{ transform:translateX(0); }
.consult-panel .close-btn{
  position:absolute; top:22px; right:22px;
  width:36px; height:36px;
  border:1px solid var(--line);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:var(--ink-dim);
}
.consult-panel .close-btn:hover{ border-color:var(--gold); color:var(--gold); }
.consult-panel .eyebrow{ margin-bottom:14px; }
.consult-panel h3{ font-size:26px; margin-bottom:10px; }
.consult-panel .sub{ color:var(--ink-dim); font-size:14px; margin-bottom:30px; }

/* ===================================================================
   FORM ELEMENTS
=================================================================== */
.field{ margin-bottom:18px; }
.field label{
  display:block;
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--ink-faint);
  margin-bottom:8px;
}
.field input,
.field select,
.field textarea{
  width:100%;
  background:var(--bg-elev);
  border:1px solid var(--line);
  color:var(--ink);
  padding:13px 14px;
  font-family:var(--sans);
  font-size:14px;
  font-weight:300;
  transition:border-color .3s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  outline:none;
  border-color:var(--gold);
}
.field textarea{ resize:vertical; min-height:90px; }
.field select{ appearance:none; -webkit-appearance:none;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8a35f' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat:no-repeat; background-position:right 14px center; background-size:14px;
}
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
@media (max-width:520px){ .field-row{ grid-template-columns:1fr; } }

.form-note{ font-size:11px; color:var(--ink-faint); margin-top:6px; }
.form-success{
  display:none;
  border:1px solid var(--gold-line);
  padding:16px 18px;
  color:var(--gold-2);
  font-size:13px;
  letter-spacing:.02em;
  margin-top:16px;
}
.form-success.is-visible{ display:block; }

/* ===================================================================
   SHARED SECTION LAYOUT
=================================================================== */
main{ padding-top:0; }
.section{ padding:110px 0; position:relative; }
.reviews-strip-section{ padding-top:50px; padding-bottom:50px; }
.services-preview-section{ padding-top:50px; }
.about-desc{ padding-bottom:50px; }
.meet-owner{ padding-top:50px; }
.why-us-section{ padding-bottom:50px; }
.about-teaser{ padding-top:50px; padding-bottom:50px; }
.section-alt{ background:var(--bg-alt); }
.section-tight{ padding:70px 0; }
.section-head{
  max-width:640px;
  margin-bottom:56px;
}
.section-head h2{ font-size:clamp(30px,4vw,44px); margin-top:16px; }
.section-head p{ color:var(--ink-dim); margin-top:18px; font-size:16px; line-height:1.75; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head.center .eyebrow{ justify-content:center; }
.section-head.center .eyebrow::before{ display:none; }

/* ===================================================================
   PAGE HERO (interior pages)
=================================================================== */
.page-hero{
  padding:190px 0 80px;
  position:relative;
  border-bottom:1px solid var(--line-soft);
}
.page-hero-short{
  padding:150px 0 40px;
}
.page-hero-short p{ display:none; }
.services-detail{ padding-top:50px; }
.page-hero .eyebrow{ margin-bottom:20px; }
.page-hero h1{ font-size:clamp(36px,5.5vw,60px); max-width:800px; }
.page-hero p{ margin-top:20px; max-width:560px; color:var(--ink-dim); font-size:16px; line-height:1.75; }

/* ===================================================================
   FOOTER
=================================================================== */
.site-footer{
  background:var(--bg-alt);
  border-top:1px solid var(--line-soft);
  padding:80px 0 0;
}
.footer-top{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1.1fr;
  gap:40px;
  padding-bottom:56px;
}
@media (max-width:900px){ .footer-top{ grid-template-columns:1fr 1fr; row-gap:40px; } }
@media (max-width:560px){ .footer-top{ grid-template-columns:1fr; } }

.footer-brand .brand{ margin-bottom:16px; }
.footer-brand p{ color:var(--ink-dim); font-size:14px; line-height:1.75; max-width:280px; }
.footer-lic{ margin-top:16px; font-size:11px; letter-spacing:.1em; color:var(--ink-faint); }
.footer-lic .gold{ color:var(--gold); }

.footer-col h4{
  font-family:var(--sans);
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--ink-faint);
  margin-bottom:20px;
  font-weight:600;
}
.footer-col ul li{ margin-bottom:12px; }
.footer-col a{
  font-size:14px;
  color:var(--ink-dim);
  transition:color .3s var(--ease);
}
.footer-col a:hover{ color:var(--gold); }

.footer-social{ display:flex; gap:12px; margin-top:22px; }

.footer-bottom{
  border-top:1px solid var(--line-soft);
  padding:24px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.footer-bottom p{ font-size:12px; color:var(--ink-faint); }
.footer-bottom .legal-links{ display:flex; gap:20px; }
.footer-bottom .legal-links a{ font-size:12px; color:var(--ink-faint); }
.footer-bottom .legal-links a:hover{ color:var(--gold); }

/* ===================================================================
   HOME — HERO
=================================================================== */
.hero{
  position:relative;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  overflow:hidden;
}
.hero-overlay{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(9,8,7,.62) 0%, rgba(9,8,7,.78) 55%, var(--bg) 100%);
  z-index:1;
}

/* ---------------- Hero slideshow ---------------- */
.hero-slideshow{ background:var(--bg); }
.hero-slides{ position:absolute; inset:0; overflow:hidden; }
.hero-slide{
  position:absolute; inset:0;
  opacity:0;
  transition:opacity 1.8s ease;
}
.hero-slide.is-active{ opacity:1; }
.hero-slide .placeholder{
  transform:scale(1);
  animation:none;
}
.hero-slide.is-active .placeholder{
  animation:kenburns 9s ease-out forwards;
}
.hero-slide-img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  object-position:center;
  transform:scale(1);
}
.hero-slide.is-active .hero-slide-img{
  animation:kenburns 9s ease-out forwards;
}
@keyframes kenburns{
  from{ transform:scale(1); }
  to{ transform:scale(1.08); }
}
.hero-slide-dots{
  position:absolute;
  bottom:100px;
  left:50%;
  transform:translateX(-50%);
  z-index:3;
  display:flex;
  gap:10px;
}
.hero-slide-dots .dot{
  width:7px; height:7px;
  border-radius:50%;
  background:rgba(243,237,226,0.35);
  transition:background .3s var(--ease), transform .3s var(--ease);
  cursor:pointer;
  border:none;
  padding:0;
}
.hero-slide-dots .dot.is-active{ background:var(--gold-2); transform:scale(1.3); }
@media (max-width:640px){
  .hero-slide-dots{
    position:relative;
    bottom:auto;
    left:auto;
    transform:none;
    justify-content:center;
    margin-top:36px;
  }
}
.hero-inner{
  position:relative;
  z-index:2;
  padding-top:120px;
  padding-bottom:90px;
}
.home-page .hero-inner{ padding-top:190px; }
@media (max-width:640px){
  .home-page .hero-inner{ padding-top:150px; }
}
.hero-inner h1{
  font-size:clamp(26px, 3vw, 42px);
  line-height:1.25;
  font-weight:400;
  margin-top:18px;
  max-width:620px;
  letter-spacing:.005em;
}
.hero-copy{
  margin-top:26px;
  max-width:540px;
  color:var(--ink-dim);
  font-size:16.5px;
  line-height:1.8;
}
.hero-actions{
  display:flex;
  gap:18px;
  margin-top:42px;
  flex-wrap:wrap;
}
.hero-dim{
  position:relative;
  z-index:2;
  padding-bottom:44px;
}

/* ===================================================================
   ABOUT TEASER (home)
=================================================================== */
.about-teaser-grid{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:72px;
  align-items:center;
}
@media (max-width:860px){ .about-teaser-grid{ grid-template-columns:1fr; gap:44px; } }
.about-teaser-copy{
  color:var(--ink-dim);
  font-size:15.5px;
  line-height:1.85;
  margin-top:20px;
}
.about-teaser h2{ margin-top:14px; font-size:clamp(28px,3.6vw,40px); }

/* ===================================================================
   SERVICES GRID
=================================================================== */
.services-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
@media (max-width:860px){ .services-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .services-grid{ grid-template-columns:1fr; } }
.service-card{
  background:var(--bg-alt);
  padding:38px 30px;
  display:flex;
  flex-direction:column;
  gap:14px;
  min-height:190px;
  transition:background .35s var(--ease);
}
.service-card:hover{ background:var(--bg-elev); }
.service-card .service-num{
  font-family:var(--serif);
  font-size:19px;
  color:var(--ink);
  letter-spacing:.01em;
}
.service-card p{ color:var(--ink-dim); font-size:14px; line-height:1.7; }

/* ===================================================================
   HOME GALLERY PREVIEW
=================================================================== */
.home-gallery-carousel{
  overflow-x:auto;
  overflow-y:visible;
  padding:24px 4px 20px;
  scrollbar-width:thin;
  scrollbar-color:var(--gold) transparent;
}
.home-gallery-track{
  display:flex;
  gap:24px;
  width:max-content;
}
.gallery-carousel-tile{
  flex:0 0 500px;
  height:620px;
  overflow:hidden;
  cursor:pointer;
  transition:transform .4s var(--ease), box-shadow .4s var(--ease);
  will-change:transform;
}
.gallery-carousel-tile img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .5s var(--ease);
}
.gallery-carousel-tile:hover{
  transform:scale(1.06);
  z-index:5;
  box-shadow:0 24px 48px rgba(0,0,0,.45);
}
.gallery-carousel-tile:hover img{ transform:scale(1.08); }
@media (max-width:640px){
  .gallery-carousel-tile{ flex:0 0 320px; height:420px; }
}

/* ---------------- Gallery page: per-project carousels (larger tiles) ---------------- */
.gallery-project{ margin-bottom:64px; }
.gallery-project:last-child{ margin-bottom:0; }
.gallery-project-title{
  font-family:var(--serif);
  font-size:clamp(22px,2.4vw,28px);
  color:var(--ink);
  margin-bottom:6px;
}
.gallery-carousel-tile-lg{
  flex:0 0 62vw;
  max-width:820px;
  height:78vh;
  max-height:760px;
  min-height:460px;
}
.gallery-carousel-tile-lg:hover{
  transform:scale(1.1);
}
.gallery-carousel-tile-lg:hover img{ transform:scale(1.1); }
@media (max-width:860px){
  .gallery-carousel-tile-lg{ flex:0 0 78vw; height:58vh; min-height:380px; }
}
@media (max-width:640px){
  .gallery-carousel-tile-lg{ flex:0 0 86vw; height:52vh; min-height:340px; }
}

/* ===================================================================
   CONSULT SECTION (home)
=================================================================== */
.consult-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:72px;
  align-items:start;
}
@media (max-width:860px){ .consult-grid{ grid-template-columns:1fr; gap:44px; } }
.consult-section h2{ margin-top:14px; font-size:clamp(28px,3.6vw,40px); }
.consult-points{ margin-top:22px; display:flex; flex-direction:column; gap:12px; }
.consult-points li{
  color:var(--ink-dim);
  font-size:14px;
  padding-left:22px;
  position:relative;
}
.consult-points li::before{
  content:"";
  position:absolute; left:0; top:8px;
  width:10px; height:1px;
  background:var(--gold);
}
.consult-form-inline{
  background:var(--bg-elev);
  border:1px solid var(--line);
  padding:36px;
}
@media (max-width:480px){ .consult-form-inline{ padding:24px; } }

/* ===================================================================
   GALLERY PAGE
=================================================================== */
.gallery-tabbar{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  border-bottom:1px solid var(--line);
  margin-bottom:40px;
}
.gallery-tab{
  background:transparent;
  border:none;
  color:var(--ink-faint);
  padding:14px 6px;
  margin-right:34px;
  font-family:var(--sans);
  font-size:14px;
  font-weight:600;
  letter-spacing:.1em;
  text-transform:uppercase;
  position:relative;
  transition:color .3s var(--ease);
}
.gallery-tab::after{
  content:"";
  position:absolute; left:0; bottom:-1px;
  width:100%; height:2px;
  background:var(--gold);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .3s var(--ease);
}
.gallery-tab:hover{ color:var(--ink-dim); }
.gallery-tab.is-active{ color:var(--gold); }
.gallery-tab.is-active::after{ transform:scaleX(1); }

.gallery-panel{ display:none; }
.gallery-panel.is-active{ display:block; }
.gallery-panel-copy{
  color:var(--ink-dim);
  font-size:15px;
  max-width:560px;
  margin-bottom:40px;
}

.photo-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:28px;
}
@media (max-width:860px){ .photo-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .photo-grid{ grid-template-columns:1fr; } }
.photo-tile .placeholder{ aspect-ratio:4/3; min-height:0; }
.gallery-photo-img{
  width:100%; height:100%;
  object-fit:cover;
  cursor:zoom-in;
  display:block;
  transition:opacity .3s var(--ease);
}
.gallery-photo-img:hover{ opacity:.88; }

.gallery-subhead{
  font-family:var(--serif);
  font-size:22px;
  color:var(--ink);
  margin:52px 0 24px;
  padding-bottom:12px;
  border-bottom:1px solid var(--line-soft);
}
.gallery-subhead:first-of-type{ margin-top:0; }

/* ---------------- Lightbox ---------------- */
.lightbox{
  position:fixed; inset:0;
  z-index:500;
  background:rgba(6,5,4,0.96);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  visibility:hidden;
  transition:opacity .35s var(--ease), visibility .35s var(--ease);
}
.lightbox.is-open{ opacity:1; visibility:visible; }
.lightbox-img{
  max-width:88vw;
  max-height:84vh;
  object-fit:contain;
  box-shadow:0 30px 80px rgba(0,0,0,.6);
}
.lightbox-close{
  position:absolute; top:24px; right:var(--gutter);
  width:42px; height:42px;
  border:1px solid var(--line);
  border-radius:50%;
  background:transparent;
  color:var(--ink);
  display:flex; align-items:center; justify-content:center;
  transition:border-color .3s var(--ease), color .3s var(--ease);
}
.lightbox-close:hover{ border-color:var(--gold); color:var(--gold); }
.lightbox-close svg{ width:18px; height:18px; }
.lightbox-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:52px; height:52px;
  border:1px solid var(--line);
  border-radius:50%;
  background:rgba(12,11,9,0.5);
  color:var(--ink);
  display:flex; align-items:center; justify-content:center;
  transition:border-color .3s var(--ease), color .3s var(--ease);
}
.lightbox-nav:hover{ border-color:var(--gold); color:var(--gold); }
.lightbox-nav svg{ width:20px; height:20px; }
.lightbox-prev{ left:var(--gutter); }
.lightbox-next{ right:var(--gutter); }
.lightbox-counter{
  position:absolute; bottom:26px; left:50%; transform:translateX(-50%);
  font-size:12px; letter-spacing:.1em; color:var(--ink-faint);
}
@media (max-width:640px){
  .lightbox-nav{ width:40px; height:40px; }
  .lightbox-prev{ left:12px; }
  .lightbox-next{ right:12px; }
}

.ba-grid{ display:flex; flex-direction:column; gap:56px; }
.ba-pair-title{
  font-family:var(--serif);
  font-size:19px;
  margin-bottom:18px;
  color:var(--ink);
}
.ba-pair-imgs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}
@media (max-width:640px){ .ba-pair-imgs{ grid-template-columns:1fr; } }
.ba-pair-imgs .placeholder{ aspect-ratio:4/3; min-height:0; position:relative; }
.ba-tag{
  position:absolute;
  top:14px; left:14px;
  font-size:10px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--gold);
  border:1px solid var(--gold-line);
  padding:5px 10px;
}
.ba-tag-after{ color:var(--gold-2); border-color:var(--gold-2); }

/* ---------------- CTA strip (gallery / services) ---------------- */
.cta-strip-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
}
.cta-strip-inner h2{ font-size:clamp(24px,3vw,34px); margin-top:10px; }

/* ===================================================================
   SERVICES DETAIL PAGE
=================================================================== */
.svc-row{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:72px;
  align-items:center;
  padding:56px 0;
  border-bottom:1px solid var(--line-soft);
}
.svc-row:first-child{ padding-top:0; }
.svc-row:last-child{ border-bottom:none; padding-bottom:0; }
.svc-row.reverse .svc-row-media{ order:2; }
.svc-row.reverse .svc-row-copy{ order:1; }
@media (max-width:860px){
  .svc-row, .svc-row.reverse{ grid-template-columns:1fr; gap:32px; }
  .svc-row.reverse .svc-row-media{ order:1; }
  .svc-row.reverse .svc-row-copy{ order:2; }
}
.svc-row-media .placeholder{ aspect-ratio:5/4; min-height:0; }
.svc-row-copy h2{ font-size:clamp(24px,3vw,32px); margin-top:10px; margin-bottom:18px; }
.svc-row-copy p{ color:var(--ink-dim); font-size:15px; line-height:1.85; }
.svc-points{ margin-top:22px; display:flex; flex-direction:column; gap:10px; }
.svc-points li{
  font-size:13.5px;
  color:var(--ink-dim);
  padding-left:20px;
  position:relative;
}
.svc-points li::before{
  content:"";
  position:absolute; left:0; top:8px;
  width:9px; height:1px;
  background:var(--gold);
}

/* ---------------- Process grid ---------------- */
.process-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
@media (max-width:860px){ .process-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .process-grid{ grid-template-columns:1fr; } }
.process-step{
  background:var(--bg-alt);
  padding:34px 28px;
  min-height:150px;
}
.process-step-index{
  display:block;
  font-family:var(--serif);
  font-size:17px;
  color:var(--gold-2);
  margin-bottom:12px;
}
.process-step p{ color:var(--ink-dim); font-size:13.5px; line-height:1.7; }

/* ===================================================================
   ABOUT PAGE
=================================================================== */
.about-desc-grid{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:72px;
  align-items:center;
}
@media (max-width:860px){ .about-desc-grid{ grid-template-columns:1fr; gap:40px; } }
.about-desc h2{ margin-top:14px; font-size:clamp(26px,3.4vw,36px); }
.about-desc-copy{ color:var(--ink-dim); font-size:15px; line-height:1.9; margin-top:18px; }
.about-desc-copy em{ color:var(--gold-2); font-style:normal; }

.values-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
@media (max-width:860px){ .values-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .values-grid{ grid-template-columns:1fr; } }
.value-card{
  background:var(--bg-alt);
  padding:36px 28px;
  min-height:170px;
}
.value-card h3{ font-size:18px; margin-bottom:12px; }
.value-card p{ color:var(--ink-dim); font-size:13.5px; line-height:1.75; }

.meet-owner-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:72px;
  align-items:center;
}
@media (max-width:860px){
  .meet-owner-grid{ grid-template-columns:1fr; gap:40px; }
  .meet-owner-grid > div:first-child{ order:2; }
  .meet-owner-grid > div:last-child{ order:1; }
}
.meet-owner h2{ font-size:clamp(28px,3.6vw,42px); margin-top:12px; }
.owner-title{
  color:var(--gold);
  font-size:13px;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-top:10px;
}
.owner-lic{
  margin-top:26px;
  font-size:12px;
  letter-spacing:.06em;
  color:var(--ink-faint);
}
.owner-lic .gold{ color:var(--gold); }

/* ===================================================================
   CONTACT PAGE
=================================================================== */
.contact-grid{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:72px;
  align-items:start;
}
@media (max-width:860px){ .contact-grid{ grid-template-columns:1fr; gap:44px; } }
.contact-info h2{ margin-top:14px; font-size:clamp(26px,3.2vw,34px); margin-bottom:36px; }
.contact-line{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:16px 0;
  border-bottom:1px solid var(--line-soft);
}
.contact-line:first-of-type{ padding-top:0; }
.contact-line-label{
  font-size:10.5px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--ink-faint);
}
.contact-line a, .contact-line span{ font-size:16px; color:var(--ink); }
.contact-line a{ transition:color .3s var(--ease); }
.contact-line a:hover{ color:var(--gold); }
.gold-link{ color:var(--gold) !important; }
.contact-social{ display:flex; gap:12px; margin-top:32px; }

.contact-form-wrap{
  background:var(--bg-elev);
  border:1px solid var(--line);
  padding:40px;
}
@media (max-width:480px){ .contact-form-wrap{ padding:24px; } }

.map-section .placeholder{ min-height:0; }

/* ===================================================================
   TESTIMONIALS PAGE
=================================================================== */
.section-head p em{ color:var(--ink-faint); font-style:italic; }

.testimonial-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:28px;
}
@media (max-width:860px){ .testimonial-grid{ grid-template-columns:1fr; } }
.testimonial-card{
  background:var(--bg-alt);
  border:1px solid var(--line-soft);
  padding:34px 30px;
  display:flex;
  flex-direction:column;
}
.quote-mark{ width:30px; height:22px; color:var(--gold-dim); margin-bottom:18px; }
.testimonial-quote{
  color:var(--ink-dim);
  font-size:14.5px;
  line-height:1.85;
  font-style:italic;
  flex:1;
}
.testimonial-meta{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:26px;
  padding-top:22px;
  border-top:1px solid var(--line-soft);
}
.testimonial-avatar{ padding:6px; flex-shrink:0; }
.testimonial-avatar .placeholder{ width:52px; height:52px; min-height:0; }
.testimonial-avatar .ph-label{ font-size:8px; }
.testimonial-name{ display:block; font-size:14px; color:var(--ink); }
.testimonial-project{ display:block; font-size:11.5px; color:var(--ink-faint); margin-top:3px; }

.testimonial-video-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:28px;
}
@media (max-width:860px){ .testimonial-video-grid{ grid-template-columns:1fr; } }
.testimonial-video-tile .placeholder{ aspect-ratio:9/16; min-height:0; }

.reviews-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
}
@media (max-width:760px){ .reviews-grid{ grid-template-columns:1fr; } }
.review-platform-card{
  background:var(--bg-elev);
  border:1px solid var(--line);
  padding:32px;
}
.review-platform-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:20px;
}
.review-platform-name{ font-family:var(--serif); font-size:19px; color:var(--ink); }
.review-platform-stars{ color:var(--gold); font-size:15px; letter-spacing:2px; }
.review-carousel{ position:relative; overflow:hidden; }
.review-carousel-track{
  display:flex;
  transition:transform .5s var(--ease);
}
.review-carousel-slide{
  flex:0 0 100%;
  min-width:0;
}
.google-review-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; gap:12px; }
.google-review-name{ font-size:13.5px; color:var(--ink); font-weight:500; }
.google-review-stars{ color:var(--gold); font-size:12px; letter-spacing:1.5px; white-space:nowrap; }
.google-review-text{ color:var(--ink-dim); font-size:13.5px; line-height:1.75; min-height:190px; }
.review-carousel-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  margin-top:22px;
}
.review-carousel-btn{
  width:34px; height:34px;
  border:1px solid var(--line);
  background:transparent;
  color:var(--ink-dim);
  display:flex; align-items:center; justify-content:center;
  transition:border-color .25s var(--ease), color .25s var(--ease);
}
.review-carousel-btn:hover{ border-color:var(--gold); color:var(--gold); }
.review-carousel-btn svg{ width:16px; height:16px; }
.review-carousel-dots{ display:flex; gap:8px; }
.review-carousel-dots .dot{
  width:7px; height:7px; border-radius:50%;
  background:var(--line);
  border:none; padding:0;
  transition:background .25s var(--ease);
}
.review-carousel-dots .dot.is-active{ background:var(--gold); }
.reviews-setup-note{
  margin-top:36px;
  text-align:center;
  font-size:12.5px;
  color:var(--ink-faint);
  max-width:640px;
  margin-left:auto;
  margin-right:auto;
  line-height:1.8;
}

/* ---------------- Why Terra (stats + benefits) ---------------- */
.why-us-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
@media (max-width:860px){ .why-us-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .why-us-grid{ grid-template-columns:1fr; } }
.why-us-card{
  background:var(--bg-alt);
  padding:40px 30px;
  min-height:180px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.why-us-stat{
  align-items:center;
  text-align:center;
  background:var(--bg-elev);
}
.why-us-number{
  font-family:var(--sans);
  font-weight:600;
  font-size:48px;
  color:var(--gold-2);
  line-height:1;
  letter-spacing:-.01em;
}
.why-us-label{
  margin-top:12px;
  font-size:11.5px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--ink-faint);
}
.why-us-card h3{ font-size:18px; margin-bottom:12px; }
.why-us-card p{ color:var(--ink-dim); font-size:13.5px; line-height:1.75; }

/* ---------------- Reviews strip (home) ---------------- */
.reviews-strip-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
}
@media (max-width:760px){ .reviews-strip-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:460px){ .reviews-strip-grid{ grid-template-columns:1fr; } }
.reviews-strip-card{
  background:var(--bg-alt);
  border:1px solid var(--line-soft);
  padding:32px 24px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  text-align:center;
  transition:border-color .3s var(--ease), background .3s var(--ease);
}
.reviews-strip-card:hover{ border-color:var(--gold-line); background:var(--bg-elev); }
.reviews-strip-name{ font-family:var(--serif); font-size:19px; color:var(--ink); }
.reviews-strip-stars{ color:var(--gold); font-size:14px; letter-spacing:2px; }
.reviews-strip-link{ font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-faint); margin-top:6px; }
.reviews-strip-card:hover .reviews-strip-link{ color:var(--gold-2); }

/* ---------------- $1,500 credit banner ---------------- */
.credit-banner{
  position:relative;
  border:1px solid var(--gold-line);
  padding:56px 60px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  flex-wrap:wrap;
  background:
    radial-gradient(700px 280px at 15% 0%, rgba(216,196,159,0.08), transparent 60%);
}
@media (max-width:640px){ .credit-banner{ padding:40px 28px; } }
.credit-banner h2{ font-size:clamp(24px,3vw,32px); margin-top:10px; }
.credit-banner-copy p{ color:var(--ink-dim); font-size:14.5px; margin-top:12px; max-width:440px; }

.gallery-section{ padding-top:20px; }

/* ---------------- How We Work (about page) ---------------- */
.how-grid{
  display:grid;
  grid-template-columns:repeat(6, 1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
@media (max-width:1180px){ .how-grid{ grid-template-columns:repeat(3, 1fr); } }
@media (max-width:980px){ .how-grid{ grid-template-columns:repeat(3, 1fr); } }
@media (max-width:640px){ .how-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:420px){ .how-grid{ grid-template-columns:1fr; } }
.how-step{
  background:var(--bg-alt);
  padding:32px 24px;
  min-height:170px;
}
.how-step-index{
  display:block;
  font-family:var(--serif);
  font-size:15px;
  color:var(--gold);
  margin-bottom:14px;
}
.how-step h3{ font-size:16px; margin-bottom:10px; }
.step-placeholder{
  font-size:12.5px;
  font-style:italic;
  color:var(--ink-faint);
  line-height:1.7;
}

/* ---------------- Reveal on scroll ---------------- */
.reveal{
  opacity:0;
  transform:translateY(34px) scale(.985);
  transition:opacity 1.1s cubic-bezier(.16,.8,.24,1), transform 1.1s cubic-bezier(.16,.8,.24,1);
  will-change:opacity, transform;
}
.reveal.is-visible{ opacity:1; transform:translateY(0) scale(1); }

/* ===================================================================
   RESPONSIVE — HEADER NAV
=================================================================== */
@media (max-width:980px){
  .main-nav{ display:none; }
  .header-actions .icon-link.ig-desktop{ display:none; }
  .nav-toggle{ display:flex; }
}
@media (max-width:1240px){
  .main-nav{ gap:22px; margin-left:28px; }
  .home-page .site-header:not(.is-scrolled) .brand img{ height:90px; }
  .home-page .site-header:not(.is-scrolled) .brand-text{ margin-top:14px; }
  .home-page .site-header:not(.is-scrolled) .brand-text .name{ font-size:32px; }
  .home-page .site-header:not(.is-scrolled) .brand-text .tag{ font-size:13px; }
}
@media (max-width:460px){
  .phone-btn span{ display:none; }
  .phone-btn{ padding:11px; }
  .phone-popover{ right:auto; left:0; }
}
