/* =========================================================
   STONE EXPERIENCE — Core Stylesheet
   Palette: Charcoal / Travertine / Brass
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Manrope:wght@300;400;500;600;700&display=swap');

:root{
  --ink:        #121110;
  --ink-soft:   #1c1a17;
  --charcoal:   #26241f;
  --stone-100:  #f6f3ec;
  --stone-200:  #ece6d8;
  --stone-300:  #ddd4bf;
  --line:       rgba(246,243,236,0.14);
  --line-dark:  rgba(18,17,16,0.12);
  --brass:      #b2744b;
  --brass-light:#d3a47c;
  --brass-dark: #8a5a38;
  --white:      #ffffff;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1240px;
  --gutter: clamp(1.5rem, 5vw, 4.5rem);
  --section-pad: clamp(3rem, 6vw, 5.5rem);

  --ease: cubic-bezier(.16,.84,.44,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; overscroll-behavior-x: none; }
body{
  margin:0;
  background: var(--stone-100);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  touch-action: pan-y;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}
p{ margin: 0 0 1em; }
.container{
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
section{ position: relative; }

/* ---------- Generated stone-grain texture (no photography required) ---------- */
.stone-tex{
  position: absolute; inset: 0;
  pointer-events: none;
  background-color: var(--charcoal);
  background-image:
    radial-gradient(120% 140% at 15% 10%, rgba(182,146,79,0.22), transparent 55%),
    radial-gradient(100% 120% at 85% 90%, rgba(221,212,191,0.10), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.012 0.9' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.71  0 0 0 0 0.58  0 0 0 0 0.34  0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: auto, auto, 340px 340px;
  background-repeat: no-repeat, no-repeat, repeat;
  mix-blend-mode: normal;
}
.stone-tex.tint-light{ background-color: var(--stone-200); }
.stone-tex.tint-light::after{ content:none; }

/* ---------- Overline / eyebrow ---------- */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.6em;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.1em;
}
.eyebrow::before{
  content:"";
  width: 28px; height:1px;
  background: var(--brass);
  display:inline-block;
}
.on-dark .eyebrow{ color: var(--brass-light); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:.6em;
  padding: 0.95em 2em;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor:pointer;
  transition: all .35s var(--ease);
  white-space: nowrap;
}
.btn-primary{
  background: var(--brass);
  color: var(--ink);
  border-color: var(--brass);
}
.btn-primary:hover{ background: var(--brass-light); border-color: var(--brass-light); transform: translateY(-2px); }
.btn-outline{
  background: transparent;
  color: var(--stone-100);
  border-color: rgba(246,243,236,0.4);
}
.btn-outline:hover{ border-color: var(--stone-100); background: rgba(246,243,236,0.08); transform: translateY(-2px); }
.btn-outline.on-light{ color: var(--ink); border-color: rgba(18,17,16,0.3); }
.btn-outline.on-light:hover{ border-color: var(--ink); background: rgba(18,17,16,0.05); }
.btn-row{ display:flex; flex-wrap:wrap; gap: 1rem; align-items:center; }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 999;
  padding: 1.6rem 0;
  transition: all .45s var(--ease);
  background: transparent;
}
.site-header.is-scrolled{
  padding: 1rem 0;
  background: rgba(18,17,16,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
body.inner .site-header{
  background: rgba(18,17,16,0.96);
  padding: 1.1rem 0;
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 2rem;
}
.brand{
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--stone-100);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  line-height:1;
}
.brand img{
  height: 40px;
  width: auto;
  max-width: 100%;
  display:block;
  object-fit: contain;
}
.footer-brand .brand img{ height: 34px; margin-bottom: 1em; }
.brand small{
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 0.32em;
  color: var(--brass-light);
  margin-top: .55em;
  font-weight: 600;
}
.nav-main{
  display:flex;
  align-items:center;
  gap: 2.4rem;
}
.nav-main a{
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone-200);
  position: relative;
  padding: 0.4em 0;
  transition: color .3s;
}
.nav-main a::after{
  content:"";
  position:absolute; left:0; bottom:0;
  width:0; height:1px;
  background: var(--brass-light);
  transition: width .35s var(--ease);
}
.nav-main a:hover, .nav-main a.active{ color: var(--white); }
.nav-main a:hover::after, .nav-main a.active::after{ width:100%; }
.nav-cta{ margin-left: .5rem; }
.nav-toggle{
  display:none;
  width: 44px; height:44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--stone-100);
  align-items:center; justify-content:center;
  cursor:pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:""; display:block; width:20px; height:1px; background: var(--stone-100);
  position:relative; transition: all .3s;
}
.nav-toggle span::before{ position:absolute; top:-6px; }
.nav-toggle span::after{ position:absolute; top:6px; }

@media (max-width: 960px){
  .nav-main{
    position: fixed;
    inset: 0 0 0 auto;
    width: min(360px, 84vw);
    height: 100vh;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.8rem;
    padding: 3rem var(--gutter);
    transform: translateX(100%);
    transition: transform .5s var(--ease);
    border-left: 1px solid var(--line);
  }
  .nav-main.is-open{ transform: translateX(0); }
  .nav-cta{ margin-left:0; }
  .nav-toggle{ display:flex; }
}

/* =========================================================
   SCROLL-EXPANSION HERO (home) — media grows from a small
   centered box to near-fullscreen as the visitor scrolls;
   the split title flies apart to reveal it, then the intro
   copy fades in beneath. Adapted 1:1 from the supplied
   scroll-expansion-hero.tsx / demo.tsx interaction.
   ========================================================= */
.sx-hero{
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.sx-hero-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  height: 100%;
  transition: opacity .1s linear;
}
.sx-hero-bg img{
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.14);
  filter: brightness(.6) saturate(.92) blur(1.5px);
}
.sx-hero-bg::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(18,17,16,.25) 0%, rgba(18,17,16,.5) 65%, rgba(18,17,16,.88) 100%);
}

.sx-hero-stage{
  position: relative;
  z-index: 1;
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100vh;
}

.sx-hero-media{
  position:absolute;
  z-index:0;
  top:50%; left:50%;
  transform: translate(-50%,-50%);
  width:300px; height:400px;
  max-width:95vw;
  max-height:85vh;
}
.sx-media-frame{
  position:relative;
  width:100%; height:100%;
  border-radius:16px;
  overflow:hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
}
.sx-media-frame img,
.sx-media-frame video{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  display:block;
}
.sx-media-tint{
  position:absolute; inset:0;
  background: rgba(18,17,16,1);
  opacity: .5;
  transition: opacity .2s linear;
}
.sx-media-caption{
  position:relative;
  z-index:2;
  display:flex; flex-direction:column; align-items:center; text-align:center;
  margin-top: 1rem;
}
.sx-date{
  font-family: var(--font-sans);
  font-size: clamp(.8rem, 1.6vw, 1.05rem);
  letter-spacing:.06em;
  color: var(--brass-light);
  margin: 0;
  will-change: transform;
}
.sx-cue{
  font-family: var(--font-sans);
  font-size: .68rem;
  letter-spacing:.24em;
  text-transform: uppercase;
  color: var(--stone-300);
  margin: .5em 0 0;
  will-change: transform;
}

.sx-hero-title{
  position:relative;
  z-index: 2;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  width:100%;
  padding: 0 1rem;
  pointer-events:none;
}
.sx-hero-title h1{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: .3em;
  flex-wrap: wrap;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: .015em;
  margin: 0;
}
.sx-hero-title .w1,
.sx-hero-title .w2{
  display:inline-block;
  will-change: transform;
}
.sx-hero-title .w2{
  font-style: italic;
  font-weight: 400;
  color: var(--brass-light);
}

.sx-hero-content{
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity .7s var(--ease);
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) clamp(4rem, 9vw, 7rem);
  max-width: var(--container);
  margin: 0 auto;
  text-align:center;
}
.sx-hero-content.is-visible{ opacity: 1; }
.sx-hero-content .lede{
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--stone-200);
  max-width: 560px;
  margin: 0 auto 1.6em;
  font-weight: 300;
}
.sx-hero-content .btn-row{ justify-content:center; }

@media (prefers-reduced-motion: reduce){
  .sx-hero-media, .sx-hero-title .w1, .sx-hero-title .w2, .sx-hero-content, .sx-date, .sx-cue{ transition:none !important; }
}

/* ---------- Inner page hero (smaller) ---------- */
.page-hero{
  position: relative;
  min-height: 56vh;
  display:flex;
  align-items:flex-end;
  color: var(--stone-100);
  background: var(--ink);
  overflow:hidden;
}
.page-hero img.hero-bg{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit: cover;
  z-index:0;
}
.page-hero::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(18,17,16,.45) 0%, rgba(18,17,16,.85) 100%);
  z-index:1;
}
.page-hero .container{ position:relative; z-index:2; padding-bottom: 3.5rem; padding-top: 9rem; }
.page-hero h1{ font-size: clamp(2.4rem, 5vw, 4rem); color:var(--white); }
.page-hero .crumb{
  font-size: 0.7rem; letter-spacing:.2em; text-transform:uppercase;
  color: var(--brass-light); margin-bottom: 1em; display:block;
}

/* =========================================================
   PLACEHOLDER MEDIA BLOCKS
   ========================================================= */
.ph{
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  display:flex;
  align-items:flex-end;
  width: 100%;
  min-height: 260px;
  border: 1px solid var(--line);
}
.ph .stone-tex{ position:absolute; inset:0; }
.ph img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit: cover;
  display:block;
}
.ph .service-map{
  position:absolute; inset:0;
  width:100%; height:100%;
  display:block;
  z-index: 1;
}
.ph::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(18,17,16,0) 40%, rgba(18,17,16,.85) 100%);
}
.ph-label{
  position: relative; z-index: 2;
  padding: 1.1rem 1.3rem;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone-200);
  display:flex; align-items:center; gap:.6em;
}
.ph-label svg{ width:14px; height:14px; flex:none; opacity:.75; }
.ph-square{ aspect-ratio: 1/1; }
.ph-portrait{ aspect-ratio: 3/4; }
.ph-wide{ aspect-ratio: 16/9; }
.ph-tall{ aspect-ratio: 4/5; }

/* Row gallery — flex row of photos, narrow at rest, the hovered
   one grows to reveal detail while its neighbors yield space. */
.row-gallery{ display:flex; gap:.5rem; height:400px; width:100%; }
.row-gallery .row-item{
  position:relative;
  flex: 1 1 0;
  min-width:0;
  overflow:hidden;
  border-radius:8px;
  transition: flex 0.6s var(--ease);
}
.row-gallery .row-item:hover{ flex: 5 1 0; }
.row-gallery .row-item img{
  width:100%; height:100%; object-fit:cover; object-position:center; display:block;
}
@media (max-width: 760px){
  .row-gallery{ height:auto; flex-wrap:wrap; }
  .row-gallery .row-item{ flex: 1 1 45%; height:220px; }
  .row-gallery .row-item:hover{ flex: 1 1 45%; }
}

/* Grid gallery — wrapped square photos; a dark overlay with a
   title and "Show More" link rises on hover. */
.grid-gallery{ display:flex; flex-wrap:wrap; justify-content:center; gap:1rem; }
.grid-gallery .grid-item{
  position:relative;
  width:14rem; height:14rem;
  overflow:hidden;
  border-radius:8px;
}
.grid-gallery .grid-item img{
  width:100%; height:100%; object-fit:cover; object-position:top; display:block;
}
.grid-gallery .overlay{
  position:absolute; inset:0;
  display:flex; flex-direction:column; justify-content:flex-end;
  padding:1rem;
  color: var(--stone-100);
  background: rgba(18,17,16,.55);
  opacity:0;
  transition: opacity .3s var(--ease);
}
.grid-gallery .grid-item:hover .overlay{ opacity:1; }
.grid-gallery .overlay h3{
  font-family: var(--font-serif); font-size:1.25rem; font-weight:500; margin:0 0 .2em;
}
.grid-gallery .overlay a{
  display:flex; align-items:center; gap:.4em;
  font-size:.8rem; color: var(--brass-light);
}
@media (max-width: 640px){
  .grid-gallery{ gap: 1.2rem; }
  .grid-gallery .grid-item{ width: 100%; height: auto; aspect-ratio: 1/1; }
}

/* =========================================================
   SECTIONS — shared
   ========================================================= */
.section{ padding: var(--section-pad) 0; }
.section-dark{ background: var(--ink); color: var(--stone-100); }
.section-charcoal{ background: var(--charcoal); color: var(--stone-100); }
.section-tight{ padding-top: clamp(2rem,4vw,3rem); padding-bottom: clamp(2rem,4vw,3rem); }

/* A "header-only" section — one whose entire content is a single
   .section-head (eyebrow + heading + intro paragraph, nothing else)
   used purely to introduce the section right after it — was stacking
   its own bottom padding with that next section's top padding,
   producing an oversized blank gap. Collapse only THAT specific
   pairing: a real-content section (founders bios, a timeline, a
   pull-quote, a split image+text step, etc.) keeps its normal
   breathing room from whatever comes after it. */
.section:has(> .container > .section-head:only-child) + .section{
  padding-top: 0;
}

/* =========================================================
   AMBIENT MOTION — light (travertine) sections
   A slow brass-toned light sweep + a very faint drifting grain,
   so the cream sections feel alive instead of flat. Purely
   decorative, sits behind the content, ignored by reduced-motion.
   ========================================================= */
.section-motion{ position:relative; overflow:hidden; }
.section-motion > .ambient{ position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.section-motion > .container{ position:relative; z-index:1; }

.ambient-sweep{
  position:absolute;
  inset:-25% -15%;
  background: linear-gradient(115deg,
    transparent 32%,
    rgba(178,116,75,0.08) 45%,
    rgba(211,164,124,0.14) 50%,
    rgba(178,116,75,0.08) 55%,
    transparent 68%);
  background-size: 240% 240%;
  animation: ambientSweep 26s ease-in-out infinite;
  will-change: background-position;
}
@keyframes ambientSweep{
  0%{ background-position: 10% 20%; }
  50%{ background-position: 90% 70%; }
  100%{ background-position: 10% 20%; }
}

.ambient-grain{
  position:absolute; inset:-20%;
  opacity:.55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.014 0.9' numOctaves='2' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.46  0 0 0 0 0.35  0 0 0 0 0.19  0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 380px 380px;
  background-repeat: repeat;
  transform: translateY(0);
  will-change: transform;
}

/* Parallax photos: image sits larger than its frame and drifts
   opposite the scroll, revealing/hiding its edges as you pass it. */
.parallax-frame{ overflow:hidden; }
.parallax-frame img{
  will-change: transform;
  transform: translateY(0) scale(1.16);
}

@media (prefers-reduced-motion: reduce){
  .ambient-sweep{ animation:none; }
  .ambient-grain, .parallax-frame img{ transform:none !important; }
}

.section-head{ max-width: 680px; margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(2rem, 4vw, 3.1rem); }
.section-head p{ font-size: 1.05rem; opacity:.82; max-width: 620px; }
.section-head.center p{ margin-left:auto; margin-right:auto; }

.kicker-row{ display:flex; align-items:flex-end; justify-content:space-between; gap:2rem; flex-wrap:wrap; }

/* Grids */
.grid{ display:grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-6{ grid-template-columns: repeat(6, 1fr); }
@media (max-width: 900px){
  .grid-3, .grid-4{ grid-template-columns: repeat(2,1fr); }
  .grid-6{ grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 600px){
  .grid-2, .grid-3, .grid-4, .grid-6{ grid-template-columns: 1fr; }
}

/* Feature split (image + text) */
.split{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items:center;
}
.split.reverse{ grid-template-columns: 0.95fr 1.05fr; }
.split.reverse .split-media{ order:2; }
@media (max-width: 880px){
  .split, .split.reverse{ grid-template-columns: 1fr; }
  .split.reverse .split-media{ order:0; }
}
.split-copy .num{
  font-family: var(--font-serif);
  font-size: 3.2rem;
  color: var(--brass);
  line-height:1;
  margin-bottom:.2em;
  display:block;
}

/* Cards */
.card{
  background: var(--white);
  border: 1px solid var(--line-dark);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover{ transform: translateY(-6px); box-shadow: 0 24px 48px rgba(18,17,16,0.12); }
.card-body{ padding: 1.6rem 1.7rem 1.9rem; }
.card-body h3{ font-size: 1.4rem; margin-bottom:.3em; }
.card-body p{ font-size: .93rem; opacity:.75; margin-bottom: 1.1em; }
.card-link{
  font-size: .72rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  color: var(--brass-dark);
  display:inline-flex; align-items:center; gap:.5em;
}
.card-link svg{ width:12px; height:12px; transition: transform .3s; }
.card:hover .card-link svg{ transform: translateX(4px); }

.on-dark .card{ background: rgba(246,243,236,0.04); border-color: var(--line); }
.on-dark .card-body p{ opacity:.68; }
.on-dark .card-body h3{ color: var(--stone-100); }
.on-dark .card-link{ color: var(--brass-light); }

/* Process steps (3-up, home teaser) */
.step-card{ padding: 2.2rem 1.8rem; border-top: 1px solid var(--line); }
.step-card .step-index{
  font-family: var(--font-serif); font-size: 1rem; color: var(--brass-light);
  letter-spacing: .1em; margin-bottom: 1.4em; display:block;
}
.step-card h3{ font-size: 1.5rem; color: var(--stone-100); margin-bottom:.4em; }
.step-card p{ opacity:.72; font-size: .95rem; }

/* Pull quote */
.pull-quote{
  max-width: 880px; margin: 0 auto; text-align:center;
}
.pull-quote blockquote{
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.35;
  margin: 0 0 1.1em;
  color: var(--stone-100);
}
.pull-quote cite{
  font-style:normal; font-size:.75rem; letter-spacing:.18em; text-transform:uppercase; color: var(--brass-light);
}

/* Testimonials (home) */
.testimonial-grid{
  display:grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem);
}
@media (max-width: 760px){ .testimonial-grid{ grid-template-columns: 1fr; } }
.testimonial-card{
  padding: clamp(2rem, 4vw, 2.8rem);
  border: 1px solid var(--line-dark);
  background: var(--white);
}
.testimonial-card blockquote{
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.4;
  margin: 0 0 1em; color: var(--ink);
}
.testimonial-card cite{
  font-style: normal; font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brass-dark);
}
.on-dark .testimonial-card{ background: rgba(246,243,236,0.04); border-color: var(--line); }
.on-dark .testimonial-card blockquote{ color: var(--stone-100); }
.on-dark .testimonial-card cite{ color: var(--brass-light); }

/* Stat row */
.stat-row{ display:grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.7rem,2vw,1.2rem); }
.stat-row .stat{
  border: 1px solid var(--brass);
  padding: 1.3rem 1.1rem;
}
.stat-row .stat b{
  display:block; font-family: var(--font-serif); font-size: clamp(1.7rem,3vw,2.5rem);
  color: var(--brass); line-height:1; margin-bottom:.4em;
}
.stat-row .stat span{
  display:block; font-size:.7rem; letter-spacing:.06em; text-transform:uppercase; opacity:.7;
  line-height:1.4;
}
@media (max-width: 420px){
  .stat-row{ grid-template-columns: 1fr; }
}

/* Area list (service area) */
.area-list{ display:flex; flex-wrap:wrap; gap: .6rem .9rem; }
.area-list li{
  font-size: .82rem; letter-spacing:.05em; text-transform:uppercase;
  padding: .55em 1.1em; border: 1px solid var(--line-dark); color: var(--charcoal);
}
.on-dark .area-list li{ border-color: var(--line); color: var(--stone-200); }

/* Divider texture strip */
.tex-strip{ position:relative; height: 120px; overflow:hidden; }
.tex-strip .stone-tex{ position:absolute; inset:0; opacity:.5; }

/* CTA band */
.cta-band{
  background: var(--ink);
  color: var(--stone-100);
  padding: clamp(3.5rem,8vw,6rem) 0;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.cta-band h2{ font-size: clamp(1.9rem,4vw,3rem); max-width: 720px; margin:0 auto .5em; }
.cta-band p{ opacity:.75; max-width: 560px; margin: 0 auto 2em; }
.cta-band .btn-row{ justify-content:center; }

/* Gallery masonry */
.masonry{
  columns: 3 220px; column-gap: 1.4rem;
}
.masonry .ph{ margin-bottom: 1.4rem; break-inside: avoid; width:100%; }
@media (max-width: 700px){ .masonry{ columns: 2 160px; } }

/* Materials list */
.material-row{
  display:grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(1.5rem,4vw,3.5rem);
  padding: clamp(2.5rem,5vw,3.5rem) 0; border-top: 1px solid var(--line-dark);
  align-items:center;
}
.material-row:last-child{ border-bottom: 1px solid var(--line-dark); }
.material-row .mat-index{ font-family:var(--font-serif); font-size:.95rem; color:var(--brass-dark); letter-spacing:.14em; }
.material-row h3{ font-size: clamp(1.6rem,3vw,2.2rem); }
.material-tags{ display:flex; flex-wrap:wrap; gap:.5em; margin-top:1em; }
.material-tags span{
  font-size:.68rem; letter-spacing:.1em; text-transform:uppercase;
  border:1px solid var(--line-dark); padding:.4em .8em; opacity:.75;
}
@media (max-width: 760px){ .material-row{ grid-template-columns: 1fr; } }

/* Stone library swatch grid */
.swatch-grid{ display:grid; grid-template-columns: repeat(6, 1fr); gap: 1.6rem 1.1rem; }
.swatch-card{ text-align:center; }
.swatch-card .swatch-photo{
  position:relative; aspect-ratio:1/1; overflow:hidden; border-radius:6px;
  border:1px solid var(--line); background: var(--charcoal);
  cursor: zoom-in;
}
.swatch-card .swatch-photo img{
  width:100%; height:100%; object-fit:cover; display:block;
  transition: transform .5s var(--ease);
}
.swatch-card:hover .swatch-photo img{ transform: scale(1.08); }
.swatch-card .swatch-name{
  display:block; margin-top:.75em; font-size:.8rem; letter-spacing:.02em; color: var(--stone-100);
}
.swatch-card .swatch-cat{
  display:block; font-size:.6rem; letter-spacing:.16em; text-transform:uppercase;
  color: var(--brass-light); margin-top:.25em;
}
@media (max-width: 900px){ .swatch-grid{ grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px){ .swatch-grid{ grid-template-columns: repeat(3, 1fr); gap: 1.2rem .8rem; } }

/* Stone library — click-to-zoom lightbox */
.se-lightbox{
  position: fixed; inset: 0; z-index: 999;
  background: rgba(18,17,16,0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease);
}
.se-lightbox.is-open{ opacity: 1; visibility: visible; }
.se-lightbox img{
  max-width: min(92vw, 1200px);
  max-height: 88vh;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.se-lightbox .se-lightbox-caption{
  position: absolute; bottom: 2rem; left: 0; right: 0;
  text-align: center; color: var(--stone-100);
  font-family: var(--font-sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  pointer-events: none;
}
.se-lightbox .se-lightbox-close{
  position: absolute; top: 1.4rem; right: 1.6rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(246,243,236,0.12); border: 1px solid rgba(246,243,236,0.3);
  color: var(--stone-100); font-size: 1.4rem; line-height: 1;
  display: flex; align-items:center; justify-content:center;
  cursor: pointer;
}
@media (max-width:600px){
  .se-lightbox{ padding: 1rem; }
  .se-lightbox .se-lightbox-close{ top: .8rem; right: .8rem; }
}

/* Founders */
.founder{ display:grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(1.5rem,4vw,3rem); align-items:center; }
.founder + .founder{ margin-top: clamp(3rem,6vw,5rem); }
.founder.reverse{ grid-template-columns: 1.25fr 0.75fr; }
.founder.reverse .ph{ order:2; }
@media (max-width: 780px){ .founder, .founder.reverse{ grid-template-columns:1fr; } .founder.reverse .ph{ order:0; } }
.founder h3{ font-size: 1.8rem; }
.founder .role{ display:block; font-size:.72rem; letter-spacing:.2em; text-transform:uppercase; color: var(--brass-dark); margin-bottom: .8em; }

/* Timeline (about / story) */
.timeline{ border-left: 1px solid var(--line-dark); padding-left: clamp(1.5rem,4vw,3rem); }
.timeline-item{ position:relative; padding-bottom: clamp(2.2rem,4vw,3.2rem); }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-item::before{
  content:""; position:absolute; left: calc(-1 * clamp(1.5rem,4vw,3rem) - 5px); top:.35em;
  width:9px; height:9px; border-radius:50%; background: var(--brass);
}
.timeline-item h4{ font-size: 1.3rem; margin-bottom:.3em; }
.timeline-item p{ opacity:.75; }

/* Contact */
.contact-grid{ display:grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem,5vw,4rem); }
@media (max-width: 880px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-info dt{ font-size:.68rem; letter-spacing:.18em; text-transform:uppercase; color: var(--brass-dark); margin-top:1.6em; }
.contact-info dt:first-child{ margin-top:0; }
.contact-info dd{ margin:.3em 0 0; font-size:1.15rem; }

.ghl-embed-wrap{
  background: var(--white);
  border: 1px solid var(--line-dark);
  padding: 1.2rem;
  box-shadow: 0 24px 48px rgba(18,17,16,0.08);
}
.ghl-embed-wrap iframe{ display:block; }
.ghl-embed-slot{
  border: 1px dashed var(--line-dark);
  background: var(--stone-200);
  padding: 2.5rem 1.8rem;
  text-align:center;
  font-size:.8rem;
  color: var(--charcoal);
  opacity:.8;
  margin-bottom: 1.6rem;
}

/* Service-area map (Google Maps embed, contact page) */
.map-embed{
  height: 460px;
  border-radius: 4px;
  border: 1px solid var(--line-dark);
  box-shadow: 0 24px 48px rgba(18,17,16,0.08);
  background: var(--stone-200);
  overflow: hidden;
}
.map-embed iframe{ width:100%; height:100%; border:0; display:block; }
@media (max-width: 600px){ .map-embed{ height: 360px; } }

.form-fallback{ display:grid; gap: 1.1rem; }
.form-fallback .row-2{ display:grid; grid-template-columns:1fr 1fr; gap:1.1rem; }
@media (max-width: 560px){ .form-fallback .row-2{ grid-template-columns:1fr; } }
.form-fallback label{ display:block; font-size:.7rem; letter-spacing:.12em; text-transform:uppercase; margin-bottom:.5em; color: var(--charcoal); opacity:.75; }
.form-fallback input, .form-fallback select, .form-fallback textarea{
  width:100%; padding: .9em 1em; border: 1px solid var(--line-dark); background: var(--white);
  font-family: var(--font-sans); font-size: .95rem; color: var(--ink);
}
.form-fallback input:focus, .form-fallback select:focus, .form-fallback textarea:focus{
  outline: none; border-color: var(--brass);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  background: var(--ink);
  color: var(--stone-300);
  padding: clamp(3.5rem,7vw,5.5rem) 0 2rem;
}
.footer-top{
  display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(2rem,4vw,3rem);
  padding-bottom: clamp(2.5rem,5vw,3.5rem); border-bottom: 1px solid var(--line);
}
@media (max-width: 860px){ .footer-top{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-top{ grid-template-columns: 1fr; } }
.footer-brand .brand{ margin-bottom: 1em; }
.footer-brand p{ font-size:.88rem; opacity:.7; max-width: 320px; }
.footer-col h5{
  font-size:.7rem; letter-spacing:.18em; text-transform:uppercase; color: var(--brass-light);
  margin-bottom: 1.2em;
}
.footer-col li{ margin-bottom: .7em; font-size:.9rem; }
.footer-col a:hover{ color: var(--white); }
.footer-social{ display:flex; gap: 1rem; margin-top: 1.4em; }
.footer-social a{
  width: 38px; height:38px; border:1px solid var(--line); display:flex; align-items:center; justify-content:center;
  transition: all .3s;
}
.footer-social a:hover{ border-color: var(--brass-light); color: var(--brass-light); }
.footer-social svg{ width:15px; height:15px; }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap: 1rem;
  padding-top: 1.8rem; font-size:.76rem; opacity:.55;
}

/* =========================================================
   PHILOSOPHY IMAGE CAROUSEL (home page)
   ========================================================= */
.philosophy-carousel .carousel-slide{
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}
.philosophy-carousel .carousel-slide.is-active{
  opacity: 1;
  z-index: 1;
}
.carousel-nav{
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(18,17,16,.4);
  border: 1px solid rgba(255,255,255,.4);
  color: var(--stone-100);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s;
  padding: 0;
}
.carousel-nav:hover{ background: var(--brass); border-color: var(--brass); color: var(--charcoal); }
.carousel-nav svg{ width: 17px; height: 17px; }
.carousel-nav.prev{ left: .9rem; }
.carousel-nav.next{ right: .9rem; }

/* =========================================================
   LEGAL PAGES (Privacy Policy / Terms of Use)
   ========================================================= */
.legal-body{ max-width: 760px; }
.legal-body .updated{ font-size:.78rem; letter-spacing:.1em; text-transform:uppercase; color: var(--brass-dark); margin-bottom: 2.2em; }
.legal-body h2{ font-size: 1.55rem; margin-top: 2.2em; }
.legal-body h2:first-of-type{ margin-top: 0; }
.legal-body h3{ font-size: 1.1rem; margin-top: 1.6em; }
.legal-body p, .legal-body li{ opacity:.8; font-size: .98rem; }
.legal-body ul{ list-style: disc; padding-left: 1.4em; margin: 0 0 1em; }
.legal-body li{ margin-bottom: .5em; }
.legal-body a{ text-decoration: underline; text-decoration-color: var(--line-dark); }
.legal-body a:hover{ color: var(--brass-dark); }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal{ opacity:0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible{ opacity:1; transform:none; }
.reveal-stagger > *{ opacity:0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-stagger.is-visible > *{ opacity:1; transform:none; }
.reveal-stagger.is-visible > *:nth-child(1){ transition-delay: .05s; }
.reveal-stagger.is-visible > *:nth-child(2){ transition-delay: .15s; }
.reveal-stagger.is-visible > *:nth-child(3){ transition-delay: .25s; }
.reveal-stagger.is-visible > *:nth-child(4){ transition-delay: .35s; }
.reveal-stagger.is-visible > *:nth-child(5){ transition-delay: .45s; }
.reveal-stagger.is-visible > *:nth-child(6){ transition-delay: .55s; }

@media (prefers-reduced-motion: reduce){
  .reveal, .reveal-stagger > *{ opacity:1 !important; transform:none !important; transition:none !important; }
  html{ scroll-behavior:auto; }
}
