/* ==========================================================
   Site styles — one file for every page.
   Colours, sizes and spacing live in the :root block below.
   To change the accent colour, change --accent only.
   ========================================================== */

/* Fonts: Marcellus for titles, Jost for everything else (both free, stored with the site) */
@font-face {
  font-family: "Marcellus";
  src: url("fonts/marcellus-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("fonts/jost-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand: beige + gold, taken from the Stone Square logo */
  --accent: #966627;        /* readable gold-bronze: buttons, links, labels */
  --accent-dark: #74491a;   /* deeper bronze for hover */
  --gold: #c9a063;          /* soft gold: lines, glows, numbers */
  --gold-light: #e8cc96;    /* light gold on dark backgrounds */
  --beige: #f3eadb;         /* beige panels */
  --bg: #fbf7f0;            /* warm off-white page background */
  --espresso: #2a2018;      /* deep brown: footer, phone menu */
  --ink: #33291f;
  --ink-2: #32302c;
  --dark: #2a2118;
  --white: #ffffff;
  --muted: #6e6254;
  --line: #e7dccb;
  --btn-grad: linear-gradient(135deg, #a8783a 0%, #8a5c22 55%, #74491a 100%);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --veil: #00000080;
  --caption: #33302bc7;
  --shadow-head: rgba(16, 24, 40, 0.12) 0px 5px 10px 0px;
  --shadow-soft: rgba(0, 0, 0, 0.1) 0px 2px 10px 0px;
  --radius: 3px;
  --wrap: 1200px;
  --pad: 20px;
  --head-h: 86px;
  --font: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-2: var(--font);
  --font-title: "Marcellus", Georgia, "Times New Roman", serif;
  --h-hero: 75px;
  --h-sec: 58px;   /* every page and section title */
  --h-sub: 24px;   /* every subheading */
}
@media (max-width: 1024px) {
  :root { --pad: 10px; --head-h: 78px; --h-hero: 60px; --h-sec: 48px; }
}
@media (max-width: 600px) {
  :root { --h-sec: 34px; --h-sub: 22px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; line-height: 1.15; color: var(--ink); }
p { margin: 0 0 14px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
blockquote, figure { margin: 0; }
hr.rule { border: 0; }
button { font: inherit; cursor: pointer; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--accent); color: #fff; padding: 10px 16px; }
.skip:focus { left: 10px; top: 10px; }
.todo { background: #fff3c4; color: #5b4500; padding: 0 4px; border-radius: 2px; font-weight: 400; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.label {
  display: block;
  font-size: 12px; font-weight: 400; letter-spacing: 0.5px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.h-sec { font-size: var(--h-sec); font-weight: 300; line-height: 1.12; }
.rule { display: block; width: 70px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--accent)); margin: 40px 0 0; border: 0; }

/* Buttons: gold gradient that lifts, glows and catches a light sweep on hover */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 28px;
  font-family: var(--font); font-size: 14px; font-weight: 400; letter-spacing: .3px;
  background: var(--btn-grad); color: #fff; border: 1px solid var(--accent);
  border-radius: var(--radius); text-decoration: none;
  box-shadow: 0 2px 6px rgba(116, 73, 26, .18);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -75%; width: 50%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 240, 210, .45), transparent);
  transform: skewX(-20deg); transition: left .7s var(--ease); pointer-events: none;
}
.btn:hover, .btn:focus-visible {
  transform: translateY(-3px); text-decoration: none;
  box-shadow: 0 12px 24px -6px rgba(116, 73, 26, .45), 0 0 0 1px rgba(232, 204, 150, .35);
}
.btn:hover::after, .btn:focus-visible::after { left: 125%; }
.btn:active { transform: translateY(-1px); transition-duration: .1s; }
.btn--ghost { background: rgba(255,255,255,.04); border-color: #fff; color: #fff; box-shadow: none; }
.btn--ghost:hover, .btn--ghost:focus-visible { background: rgba(255,255,255,.14); border-color: var(--gold-light); color: #fff; box-shadow: 0 12px 24px -8px rgba(0,0,0,.45); }
.btn--line { background: #ffffff00; color: var(--accent); box-shadow: none; }
.btn--line:hover, .btn--line:focus-visible { background: var(--accent); color: #fff; }
.btn--block { width: 100%; }
.link-line {
  display: inline-block; font-size: 14px; color: var(--dark);
  padding-bottom: 4px; border-bottom: 1px solid currentColor;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--head-h); background: rgba(251, 247, 240, .96); box-shadow: var(--shadow-head);
  border-bottom: 1px solid rgba(201, 160, 99, .25);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--dark); line-height: 1; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo__mark { width: 50px; height: 48px; object-fit: contain; }
.logo__text { display: flex; flex-direction: column; }
.logo__name { font-family: var(--font); font-size: 22px; font-weight: 400; letter-spacing: 1.5px; }
.logo__sub { font-size: 11px; font-weight: 300; letter-spacing: 3.6px; color: #6b6b6b; margin-top: 5px; }
.logo--light { color: #fff; }
.logo--light .logo__sub { color: var(--gold-light); }
.logo__mark { transition: transform .6s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.06); }
.logo--light .logo__mark { background: #fff; border-radius: 50%; padding: 4px; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav__list { display: flex; gap: 32px; }
.nav__item { position: relative; }
.nav__link {
  display: block; padding: 30px 0; font-family: var(--font);
  font-size: 14px; font-weight: 500; letter-spacing: 0.5px;
  text-transform: uppercase; color: var(--dark);
}
.nav__link { position: relative; transition: color .25s; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 24px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--accent); text-decoration: none; }
.nav__drop {
  position: absolute; top: 100%; left: -20px; min-width: 230px;
  background: #fff; box-shadow: var(--shadow-head); padding: 10px 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.nav__item:hover .nav__drop, .nav__item:focus-within .nav__drop { opacity: 1; visibility: visible; transform: none; }
.nav__drop a { display: block; padding: 8px 20px; font-family: var(--font); font-size: 15px; color: var(--dark); }
.nav__drop { background: var(--bg); border-top: 2px solid var(--gold); }
.nav__drop a { transition: color .2s, background .2s, padding-left .25s var(--ease); }
.nav__drop a:hover { color: var(--accent); background: var(--beige); padding-left: 26px; text-decoration: none; }

.head-tools { display: flex; align-items: center; gap: 15px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow-soft); color: var(--dark); border: 0;
}
.icon-btn { transition: transform .3s var(--ease), box-shadow .3s var(--ease), color .2s; }
.icon-btn:hover { color: var(--accent); text-decoration: none; transform: translateY(-3px); box-shadow: 0 10px 20px -6px rgba(116,73,26,.35); }
.icon-plain { display: inline-flex; color: var(--dark); background: #9b6f6f00; border: 0; padding: 2.5px; }
.icon-plain:hover { color: var(--accent); }
.head-quote { font-family: var(--font); font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: .5px; padding: 10px 18px; min-height: 40px; }
.burger { display: none; width: 40px; height: 40px; background: none; border: 0; padding: 8px; color: var(--accent); }
.burger span { display: block; height: 2px; background: currentColor; margin: 6px 0; }
.burger span:nth-child(2) { width: 80%; margin-left: auto; }

@media (max-width: 1024px) {
  .nav__list, .head-quote { display: none; }
  .burger { display: block; }
  .logo__name { font-size: 19px; }
  .logo__sub { font-size: 10px; letter-spacing: 2.9px; }
  .logo__mark { width: 44px; height: 42px; }
  .head-tools { gap: 12px; }
}

/* Mobile menu (full-screen espresso panel with gold accents) */
.menu {
  position: fixed; inset: 0; z-index: 100; color: #fff;
  background: radial-gradient(120% 60% at 100% 0%, rgba(201,160,99,.28), transparent 60%), linear-gradient(165deg, #3a2b1e, var(--espresso) 60%, #1c150f);
  padding: 15px 15px 120px; overflow-y: auto;
  transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s;
  font-family: var(--font);
}
.menu.is-open { transform: none; visibility: visible; }
.menu__list > li, .menu__contact { opacity: 0; transform: translateX(24px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.menu.is-open .menu__list > li, .menu.is-open .menu__contact { opacity: 1; transform: none; }
.menu.is-open .menu__list > li:nth-child(2) { transition-delay: .05s; }
.menu.is-open .menu__list > li:nth-child(3) { transition-delay: .1s; }
.menu.is-open .menu__list > li:nth-child(4) { transition-delay: .15s; }
.menu.is-open .menu__list > li:nth-child(5) { transition-delay: .2s; }
.menu.is-open .menu__list > li:nth-child(n+6) { transition-delay: .25s; }
.menu.is-open .menu__contact { transition-delay: .3s; }
.menu__contact .big { color: var(--gold-light); }
.menu__top { display: flex; justify-content: space-between; align-items: center; height: 48px; margin-bottom: 22px; }
.menu__icons { display: flex; align-items: center; gap: 28px; }
.menu__icons a { display: inline-flex; color: #fff; }
.menu__close { background: none; border: 0; color: #fff; padding: 4px; }
.menu a { color: #fff; }
.menu__list > li > a, .menu__group > button {
  display: flex; align-items: center; gap: 8px; width: 100%;
  padding: 7px 0; font-size: 18px; font-weight: 500; line-height: 1.55; color: #fff;
  background: none; border: 0; text-align: left;
}
.menu__group > button svg { transition: transform .2s; }
.menu__group.is-closed > button svg { transform: rotate(-90deg); }
.menu__sub a { display: block; padding: 7px 0 7px 28px; font-size: 18px; font-weight: 500; line-height: 1.55; }
.menu__group.is-closed .menu__sub { display: none; }
.menu__contact { margin-top: 36px; font-size: 16px; font-weight: 400; }
.menu__contact .big { display: block; font-size: 44px; font-weight: 500; line-height: 1.3; margin: 6px 0 14px; }
.menu__contact a { font-weight: 500; }
body.menu-open { overflow: hidden; }

/* Floating quote button (desktop) + sticky call/quote bar (phone) */
.float-quote {
  position: fixed; right: 32px; bottom: 40px; z-index: 40;
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--btn-grad); color: #fff; box-shadow: 0 10px 24px -6px rgba(116,73,26,.5);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: 7.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .3px; text-align: center;
  animation: bob 3.2s ease-in-out infinite;
  transition: box-shadow .3s var(--ease);
}
.float-quote::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--gold); animation: ring 2.6s ease-out infinite; pointer-events: none;
}
.float-quote:hover { text-decoration: none; animation: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); transform: translateY(-6px) scale(1.08); box-shadow: 0 18px 30px -8px rgba(116,73,26,.6); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.45); opacity: 0; } }
.mbar { display: none; }
@media (max-width: 1024px) {
  .float-quote { display: none; }
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    height: 56px; box-shadow: 0 -2px 10px rgba(0,0,0,.12); font-family: var(--font-2);
  }
  .mbar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    font-size: 16px; font-weight: 500; text-decoration: none;
  }
  .mbar__call { background: var(--bg); color: var(--accent); }
  .mbar__quote { background: var(--btn-grad); color: #fff; }
  .mbar a { transition: filter .2s, transform .2s; }
  .mbar a:active { filter: brightness(1.1); transform: scale(.97); }
  body { padding-bottom: 56px; }
}

/* ---------- Stone placeholders (until real photos are added) ---------- */
.ph {
  position: relative; overflow: hidden; background-color: #d9d4cc;
  background-image: url("img/veins.svg"), linear-gradient(135deg, #efebe5, #cfc8bd);
  background-size: cover; background-position: center;
}
.ph::after {
  content: attr(data-ph);
  position: absolute; left: 10px; top: 10px;
  font-family: var(--font); font-size: 11px; font-weight: 500; letter-spacing: .4px;
  color: #3d3a35; background: rgba(255,255,255,.82); padding: 3px 8px; border-radius: 2px;
  text-transform: uppercase;
}
.ph[data-ph=""]::after { display: none; }
.ph--marble    { background-image: url("img/veins.svg"), linear-gradient(135deg, #f4f2ee, #d8d3cb); }
.ph--calacatta { background-image: url("img/veins-gold.svg"), linear-gradient(135deg, #f6f3ee, #e3dcd0); }
.ph--granite   { background-image: url("img/speckle.svg"), linear-gradient(135deg, #8e8a85, #4f4c48); }
.ph--black     { background-image: url("img/veins.svg"), linear-gradient(135deg, #3a3836, #141414); background-blend-mode: overlay, normal; }
.ph--quartz    { background-image: url("img/speckle-fine.svg"), linear-gradient(135deg, #f2f1ef, #dddad5); }
.ph--quartzite { background-image: url("img/veins.svg"), linear-gradient(135deg, #dfe3e3, #a9b2b4); }
.ph--warm      { background-image: url("img/veins.svg"), linear-gradient(135deg, #e7dccb, #b9a58a); }
.ph--green     { background-image: url("img/veins.svg"), linear-gradient(135deg, #7f9a86, #2f4a3a); background-blend-mode: overlay, normal; }
.ph--blue      { background-image: url("img/veins.svg"), linear-gradient(135deg, #b8c7d3, #5e7487); background-blend-mode: overlay, normal; }
.ph--red       { background-image: url("img/veins.svg"), linear-gradient(135deg, #b0726a, #5b2a28); background-blend-mode: overlay, normal; }
.ph--kitchen   { background-image: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.25)), url("img/veins.svg"), linear-gradient(160deg, #6d6760 0%, #b9b1a5 45%, #ece8e1 62%, #4b4641 100%); }
.ph--dark      { background-image: url("img/veins.svg"), linear-gradient(160deg, #3d3934, #77706a 50%, #2a2724); background-blend-mode: soft-light, normal; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph img.pos-quartzite { object-position: 50% 42%; } /* keep the white vein in view when cropped */
.ph::after { z-index: 1; }

/* ---------- Home: hero ---------- */
.hero { position: relative; height: max(600px, min(885px, 100svh)); color: #fff; overflow: hidden; background: #2a2724; margin-bottom: -1px; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { transform: scale(1.12); transition: transform 7s linear; }
.hero__slide.is-active img { transform: scale(1); }
/* Hero video: sits above the photos once it can play; photos stay as the fallback */
.hero__video { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s; }
.hero.has-video .hero__video { opacity: 1; }
.hero__veil { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(28,20,12,.55) 0%, rgba(28,20,12,.35) 45%, rgba(42,32,24,.7) 100%); }
.hero__title, .hero__sub, .hero__ctas { animation: rise 1s var(--ease) both; }
.hero__sub { animation-delay: .2s; }
.hero__ctas { animation-delay: .4s; }
.hero__title::after { content: ""; display: block; width: 90px; height: 2px; margin: 26px auto 0; background: linear-gradient(90deg, transparent, var(--gold-light), transparent); animation: grow 1.2s .5s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__slide { background-color: var(--caption); }
.hero__slide::after { z-index: 2; top: auto; bottom: 60px; left: 50%; transform: translateX(-50%); }
.hero__inner {
  position: relative; z-index: 3; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: var(--head-h) 60px 40px;
}
.hero__title { font-size: var(--h-hero); font-weight: 200; line-height: 1.12; color: #fff; max-width: 1200px; }
.hero__sub { font-size: 14px; font-weight: 400; margin: 18px 0 30px; max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }
.hero__ctas .btn { min-width: 210px; }
@media (max-width: 600px) {
  .hero__inner { padding: var(--head-h) 30px 40px; }

}

/* ---------- Home: materials ---------- */
.mats { padding: 130px 0 120px; }
.mats__head { max-width: 600px; }
.mats__intro { font-size: 14px; max-width: 520px; margin: 0 0 22px; }
.stone-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.stones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px 16px; }
.stone[hidden] { display: none; }
.stone a { display: block; color: var(--dark); text-decoration: none; }
.stone__pic { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--beige); box-shadow: var(--shadow-soft); }
.stone__pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.stone a:hover .stone__pic img, .stone a:focus-visible .stone__pic img { transform: scale(1.06); }
.stone__name { display: block; margin-top: 10px; font-family: var(--font-title); font-size: 18px; line-height: 1.25; }
.stone__type { display: block; margin-top: 2px; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.mats__more { margin: 34px 0 0; font-size: 14px; }
.mats__more p { margin: 0; }
.mats__more a { color: var(--accent); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.mats__more a:hover { color: var(--accent-dark); }
@media (max-width: 1024px) {
  .mats { padding: 50px 0 50px; }
  .stones { grid-template-columns: repeat(6, 1fr); gap: 20px 12px; }
  .stone__name { font-size: 16px; }
}
@media (max-width: 600px) {
  .mats { padding: 40px 0 50px; }
  .mats__head .rule { display: none; }
  .stones { grid-template-columns: repeat(3, 1fr); gap: 18px 10px; }
  .stone__name { font-size: 15px; margin-top: 8px; }
  .stone__type { font-size: 10px; letter-spacing: .3px; }
}
/* ---------- Home: featured project banner ---------- */
.feature { position: relative; }
.feature__item { position: relative; height: 400px; margin: 0; }
.feature__item + .feature__item { display: none; }
.feature .ph { position: absolute; inset: 0; }
.feature__cap {
  position: absolute; left: 0; bottom: 0; z-index: 2; color: #fff; padding: 0 48px 18px;
  font-size: 14px; font-weight: 400; line-height: 1.35;
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
}
.feature__cap strong { display: block; font-size: 16px; font-weight: 400; margin-bottom: 8px; }
.feature__cap small { font-size: 12px; }
@media (max-width: 1024px) { .feature__item { height: 420px; } .feature__cap { padding: 0 24px 18px; } }
@media (max-width: 600px) { .feature__item + .feature__item { display: block; } }

/* ---------- Home: how it works ---------- */
.steps { padding: 160px 0 150px; }
.steps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; }
.step { border-top: 1px solid #ddd; padding-top: 24px; }
.step__n { display: block; font-size: 58px; font-weight: 200; color: var(--gold); line-height: 1; margin-bottom: 20px; }
.step { border-top-color: var(--line); transition: transform .4s var(--ease), border-color .4s; }
.step:hover { transform: translateY(-6px); border-top-color: var(--gold); }
.step h3 { font-size: 28px; margin-bottom: 12px; }
.step p { font-size: 14px; }
@media (max-width: 1024px) { .steps { padding: 60px 0; } .steps__grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; } }
@media (max-width: 600px) { .steps { padding: 60px 0; } .steps__grid { grid-template-columns: 1fr; gap: 30px; } .step__n { font-size: 44px; } }

/* ---------- Home: about (full-width saw video behind the text, like the hero) ---------- */
.about-teaser { position: relative; overflow: hidden; background: var(--espresso); color: #f3eadb; padding: 150px 0; min-height: 640px; }
.about-teaser__media { position: absolute; inset: 0; }
.about-teaser__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.about-teaser__veil { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(28,20,12,.10) 0%, rgba(28,20,12,.30) 38%, rgba(42,32,24,.82) 62%, rgba(42,32,24,.9) 100%); }
.about-teaser .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 460px; gap: 120px; align-items: center; }
.about-teaser__text { grid-column: 2; }
.about-teaser__text .label { color: var(--gold-light); }
.about-teaser__text .h-sec { color: #fff; margin-bottom: 18px; }
.about-teaser__text p { font-size: 14px; line-height: 1.7; margin-bottom: 22px; color: rgba(255,255,255,.86); }
@media (max-width: 1024px) {
  .about-teaser { padding: 90px 0; min-height: 520px; }
  .about-teaser .wrap { grid-template-columns: 1fr 1fr; gap: 30px; }
  .about-teaser__veil { background: linear-gradient(90deg, rgba(28,20,12,.15) 0%, rgba(42,32,24,.6) 45%, rgba(42,32,24,.9) 100%); }
}
@media (max-width: 600px) {
  /* Phones: the video runs edge to edge on top, the text sits below on the dark band */
  .about-teaser { padding: 0 0 50px; min-height: 0; }
  .about-teaser__media { position: relative; inset: auto; height: 260px; }
  .about-teaser__veil { background: linear-gradient(180deg, rgba(28,20,12,0) 55%, var(--espresso) 100%); }
  .about-teaser .wrap { grid-template-columns: 1fr; gap: 0; padding-top: 24px; }
  .about-teaser__text { grid-column: 1; }
}

/* ---------- Home: projects row ---------- */
.projects { padding: 0 0 120px; }
.about-teaser + .projects { padding-top: 110px; }
@media (max-width: 1024px) { .about-teaser + .projects { padding-top: 60px; } }
@media (max-width: 600px) { .about-teaser + .projects { padding-top: 40px; } }
.projects__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.projects__head .h-sec { max-width: 1000px; }
.arrows { display: flex; gap: 6px; flex-shrink: 0; }
.arrows button { width: 32px; height: 32px; border: 0; background: #9b6f6f00; padding: 7px; color: var(--dark); display: flex; align-items: center; justify-content: center; }
.track {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 var(--pad);
}
.track::-webkit-scrollbar { display: none; }
.card { flex: 0 0 370px; scroll-snap-align: start; }
.card .ph { height: 500px; }
.card__cap { font-size: 14px; padding-top: 15px; }
.track { list-style: none; margin: 0; }
@media (min-width: 1240px) { .track { padding-left: calc((100% - var(--wrap)) / 2 - 140px); } }
@media (max-width: 600px) { .card { flex-basis: 340px; } .card .ph { height: 440px; } .projects { padding-bottom: 60px; } }

/* ---------- Home: reviews ---------- */
.reviews { padding: 30px 0 110px; }
.reviews h2 { font-size: 18px; font-weight: 400; margin-bottom: 6px; }
.reviews p { font-size: 14px; max-width: 920px; }
.reviews__grid { columns: 3; column-gap: 20px; margin-top: 30px; }
.review { margin: 0 0 20px; border: 1px solid var(--gold); padding: 28px; font-size: 14px; color: var(--muted); break-inside: avoid; page-break-inside: avoid; }
.review__mark { color: var(--gold); display: block; margin-bottom: 14px; }
.review blockquote { margin: 0; }
.review blockquote p { font-size: 15px; line-height: 1.65; color: var(--ink, #2a2018); max-width: none; }
.review blockquote p + p { margin-top: 12px; }
.review figcaption { margin-top: 18px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.review figcaption strong { color: var(--ink, #2a2018); font-weight: 500; }
.review--more { display: flex; flex-direction: column; gap: 8px; color: var(--muted); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.review--more strong { color: var(--ink, #2a2018); font-size: 18px; font-weight: 500; }
.review--more:hover, .review--more:focus-visible { transform: translateY(-3px); box-shadow: 0 12px 24px -10px rgba(116,73,26,.35); }
.review__g { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--gold); color: var(--accent); font-weight: 600; font-size: 18px; }
.review__go { margin-top: auto; color: var(--accent); }
.review--long:not(.is-open) blockquote { max-height: 176px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.review__more { margin-top: 10px; padding: 0; background: none; border: 0; font: inherit; font-size: 14px; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
/* Tablet and phone: reviews become a swipeable row so the page stays short */
@media (max-width: 1024px) {
  .reviews__grid { columns: auto; display: flex; align-items: flex-start; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: calc(var(--pad) * -1); margin-right: calc(var(--pad) * -1); padding: 0 var(--pad) 12px; scroll-padding: 0 var(--pad); -webkit-overflow-scrolling: touch; }
  .review { flex: 0 0 44%; margin: 0; padding: 22px; scroll-snap-align: start; }
  .review--more { align-self: stretch; }
}
@media (max-width: 640px) { .review { flex-basis: 84%; } }
@media (max-width: 1024px) { .reviews { padding-bottom: 40px; } .card .ph { height: 360px; } .card { flex-basis: 280px; } .cta { padding: 100px 0 110px; } }

/* ---------- CTA band ---------- */
.cta { position: relative; padding: 140px 0 160px; text-align: center; overflow: hidden; background: var(--beige); }
.cta::before, .cta::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 160px;
  background: repeating-linear-gradient(100deg, transparent 0 18px, #eadfca 18px 20px);
  opacity: .9; pointer-events: none;
}
.cta::before { left: 0; }
.cta::after { right: 0; transform: scaleX(-1); }
.cta .wrap { position: relative; z-index: 1; max-width: 760px; }
.cta h2 { font-size: 40px; font-weight: 300; margin-bottom: 18px; }
.cta p { font-size: 18px; font-weight: 400; margin: 0 auto 20px; max-width: 520px; line-height: 1.4; }
.cta .areas { font-size: 14px; font-weight: 300; color: var(--muted); }
.cta__btns { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; margin-top: 26px; }
.cta__btns .btn { min-width: 220px; }
@media (max-width: 600px) { .cta { padding: 60px 0 80px; } .cta::before, .cta::after { width: 50px; } .cta h2 { font-size: 32px; } .cta__btns .btn { width: 100%; } }

/* ---------- Footer ---------- */
.site-footer {
  color: #f4ece0; padding: 0; margin-top: -1px; font-weight: 400;
  background: radial-gradient(70% 80% at 0% 0%, rgba(201,160,99,.22), transparent 60%), linear-gradient(165deg, #3a2b1e, var(--espresso) 55%, #1c150f);
  border-top: 3px solid var(--gold);
}
.site-footer .foot__phone { color: var(--gold-light); }
.site-footer .foot__title { color: var(--gold-light) !important; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer > .wrap { padding-top: 100px; padding-bottom: 40px; }
.site-footer a { color: #f4ece0; }
.foot { display: grid; grid-template-columns: 540px 180px 1fr auto; align-items: start; }
.foot__lead { font-size: 18px; margin: 0 0 20px; }
.foot__phone { display: block; font-size: 58px; font-weight: 500; line-height: 1.1; margin-bottom: 36px; }
.foot__phone:hover { text-decoration: none; opacity: .9; }
.foot__info { font-size: 16px; line-height: 1.5; }
.foot__info p { margin: 0 0 14px; }
.foot__info a { font-weight: 500; }
.foot__title { font-size: 16px; font-weight: 500; color: #fff; text-transform: uppercase; margin: 0 0 20px; line-height: 1.2; }
.foot ul li { margin-bottom: 5px; font-size: 16px; line-height: 1.45; }
.foot__social { display: flex; gap: 16px; }
.foot__social a { display: inline-flex; }
.foot__bottom { display: flex; justify-content: space-between; align-items: center; gap: 13px; margin-top: 90px; font-size: 13px; opacity: .95; }
.foot__bottom a.top { font-size: 16px; font-weight: 500; display: inline-flex; align-items: center; gap: 7px; }
@media (max-width: 1024px) {
  .site-footer > .wrap { padding-top: 30px; padding-bottom: 20px; }
  .foot { grid-template-columns: 1fr 130px 120px; gap: 0 20px; }
  .foot__phone { font-size: 40px; margin-bottom: 20px; }
  .foot__info { font-size: 14px; }
  .foot__title { font-size: 14px; margin-bottom: 12px; }
  .foot ul li { font-size: 14px; }
  .foot__social { grid-column: 1 / -1; margin-top: 10px; }
  .foot__bottom { margin-top: 0; }
}
@media (max-width: 600px) {
  .site-footer > .wrap { padding-top: 50px; padding-bottom: 30px; }
  .foot { grid-template-columns: 1fr 1fr; gap: 0 10px; }
  .foot__contact { grid-column: 1 / -1; }
  .foot__phone { font-size: 32px; margin-bottom: 14px; }
  .foot__info { font-size: 16px; }
  .foot__social { order: 0; grid-column: 1 / -1; margin: 10px 0 40px; gap: 20px; }
  .foot__title { font-size: 16px; margin-bottom: 14px; }
  .foot ul li { font-size: 16px; }
  .foot__bottom { flex-direction: column-reverse; align-items: flex-start; gap: 20px; margin-top: 40px; }
}

/* ---------- Inner pages ---------- */
.page { margin-top: var(--head-h); }
.page-head { padding: 85px 0 70px; }
.page-head h1 { font-size: var(--h-sec); font-weight: 300; }
.page-head p.lead { font-size: 18px; max-width: 760px; margin-top: 20px; }
@media (max-width: 1024px) { .page-head { padding: 40px 0 40px; } }
@media (max-width: 600px) { .page-head { padding: 40px 0 20px; } .page-head p.lead { font-size: 16px; } .mat-wrap .acc__btn { min-height: 50px; padding: 12px 15px; } .mat-wrap .acc__panel { padding: 0 15px 16px; } .mat-wrap .care { padding: 8px 10px; } }

/* Materials (accordion + picture) */
.mat-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; padding-bottom: 105px; }
.acc { display: flex; flex-direction: column; gap: 10px; }
.acc__item { background: #fff; box-shadow: var(--shadow-soft); border-radius: var(--radius); }
.acc__btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; min-height: 56px; background: none; border: 0; text-align: left;
  font-family: var(--font); font-size: 20px; font-weight: 300; color: var(--ink);
}
.acc__btn h3 { font-size: 20px; font-weight: 300; margin: 0; }
.acc__btn svg { transition: transform .2s; flex-shrink: 0; }
.acc__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.acc__panel { padding: 0 20px 26px; font-size: 16px; }
.acc__panel[hidden] { display: none; }
.acc__panel .tag { color: var(--ink); margin-bottom: 14px; }
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; font-size: 14px; margin: 6px 0 14px; }
.pc h3 { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; color: var(--dark); }
.pc li { position: relative; padding-left: 14px; margin-bottom: 4px; line-height: 1.45; }
.pc li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 1px; background: var(--accent); }
.care { font-size: 14px; background: #f6f5f3; padding: 10px 14px; margin-bottom: 18px; }
.acc__panel .link-line { color: var(--accent); font-size: 16px; padding: 0 16px 6px; border-bottom-width: 3px; }
.mat-pic { position: sticky; top: calc(var(--head-h) + 20px); height: 600px; border-radius: 6px; }
@media (max-width: 1024px) { .mat-pic { height: 520px; } }
@media (max-width: 600px) {
  .mat-wrap { grid-template-columns: 1fr; padding-bottom: 60px; }
  .mat-pic { display: none; }
  .pc { display: block; font-size: 13px; }
  .pc > div + div { margin-top: 8px; }
  .pc h3 { margin-bottom: 2px; }
  .pc li { margin-bottom: 2px; }
  .acc__panel { padding-bottom: 18px; }
  .care { font-size: 13px; margin-bottom: 12px; }
  .acc__panel .tag { margin-bottom: 8px; }
}

/* Category / slab grid pages */
.cat-head { padding: 85px 0 120px; }
.cat-head__in { max-width: 600px; }
.cat-head h1 { font-size: 28px; font-weight: 400; }
.cat-head .rule { margin: 14px 0 24px; width: 70px; }
.cat-head p { font-size: 14px; }
@media (max-width: 1024px) { .cat-head { padding: 30px 0 30px; } .cat-head h1 { font-size: 24px; } }
.filters {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  min-height: 61px; padding: 8px var(--pad); margin-bottom: -1px;
}
.filters__label { margin: 0; line-height: 1.2; font-size: 16px; font-weight: 500; text-transform: uppercase; letter-spacing: .5px; color: var(--dark); margin-right: 4px; }
.chip {
  font-family: var(--font); font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: .4px;
  padding: 7px 12px; background: #fff; color: var(--dark); border: 1px solid #ddd; border-radius: 20px;
}
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.filters__sep { width: 1px; height: 24px; background: var(--line); margin: 0 6px; }
.filters__sort { display: flex; align-items: center; gap: 10px; margin-left: auto; }
@media (max-width: 600px) { .filters__sort { margin-left: 0; } }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 16px; padding: 50px 10px 40px; }
.tile .ph { aspect-ratio: 457 / 319; background-color: #f4f0ea; }
.tile figure { margin: 0; }
.tile__cap h3 { font-size: 14px; font-weight: 500; line-height: 1.4; color: #333333; }
.tile__cap { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 8px 0 0; font-size: 13px; font-weight: 500; color: #333333; }
.tile__cap small { font-size: 12px; font-weight: 300; color: var(--muted); }
.tile__cap small::before { content: " \00B7  "; }
.tile[hidden] { display: none; }
.tile__cap a { color: var(--dark); flex-shrink: 0; }
.tile__cap a:hover { color: var(--accent); }
.grid__empty { grid-column: 1 / -1; text-align: center; padding: 40px 0; }
.cat-foot { text-align: center; padding: 10px 0 90px; }
.cat-foot p { font-size: 14px; margin-bottom: 18px; }
@media (max-width: 1024px) { .grid { grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 30px; } .tile .ph { aspect-ratio: 1.6; } .cat-foot { padding-bottom: 40px; } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; gap: 16px; padding: 30px 10px; } .filters { gap: 8px; } }

/* Generic content sections */
.sec { padding: 80px 0; }
.sec + .sec { padding-top: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--rev .split__pic { order: 2; }
.split__pic { height: 480px; }
.split h2 { font-size: 40px; margin-bottom: 18px; }
.split ul.ticks li, ul.ticks li { position: relative; padding-left: 22px; margin-bottom: 8px; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 2px; background: var(--accent); }
.split .btn { margin-top: 10px; }
@media (max-width: 1024px) { .split { gap: 30px; } .split h2 { font-size: 32px; } .split__pic { height: 380px; } }
@media (max-width: 600px) {
  .sec { padding: 50px 0; }
  .split { grid-template-columns: 1fr; }
  .split--rev .split__pic { order: 0; }
  .split__pic { height: 280px; }
  .split h2 { font-size: 28px; }
}
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.box { border-top: 1px solid #ddd; padding-top: 20px; }
.box h3 { font-size: 22px; margin-bottom: 10px; }
.box__pic { height: 240px; margin-bottom: 18px; }
.box p { font-size: 15px; }
@media (max-width: 1024px) { .cols3 { grid-template-columns: 1fr; gap: 30px; } }
.prose { max-width: 820px; }
.prose h2 { font-size: 28px; margin: 40px 0 12px; }
.prose h3 { font-size: 20px; margin: 24px 0 8px; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }

/* Forms */
.form-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: start; padding-bottom: 100px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.form .full { grid-column: 1 / -1; }
.field label, .field .lbl { display: block; font-size: 14px; font-weight: 400; color: var(--dark); margin-bottom: 6px; }
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; font-weight: 300; color: var(--ink);
  padding: 11px 12px; border: 1px solid #cfcac2; border-radius: var(--radius); background: #fff;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.field small { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form .consent { font-size: 13px; color: var(--muted); }
.form-msg { grid-column: 1 / -1; padding: 12px 14px; border-radius: var(--radius); font-size: 14px; }
.form-msg--err { background: #fdecec; color: #8a1c1c; }
.side-card { background: #f6f5f3; padding: 30px; }
.side-card h2 { font-size: 24px; margin-bottom: 14px; }
.side-card .big { display: block; font-size: 30px; font-weight: 400; margin: 6px 0 14px; }
.map { width: 100%; height: 320px; border: 0; margin-top: 20px; background: #e9e6e1; }
@media (max-width: 1024px) { .form-wrap { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* ==========================================================
   Brand theme touches + animations (beige / gold)
   ========================================================== */
.care, .side-card { background: var(--beige); }
.side-card { border-top: 3px solid var(--gold); }
.map { background: var(--beige); }
.review { border-color: var(--gold); background: rgba(243, 234, 219, .5); }
.acc__item { background: #fff; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.acc__item:hover { box-shadow: 0 10px 24px -10px rgba(116,73,26,.35); }
.chip { background: var(--bg); border-color: var(--line); transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s; }
.chip:hover { transform: translateY(-2px); border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--btn-grad); border-color: var(--accent); }
.field input, .field select, .field textarea { border-color: #d8cbb6; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(201,160,99,.35); }
.arrows button { transition: transform .25s var(--ease), color .2s, background .2s; }
.arrows button:hover { transform: scale(1.15); color: var(--accent); }
.link-line { transition: color .2s, border-color .2s, letter-spacing .3s var(--ease); }
.link-line:hover { color: var(--accent); text-decoration: none; letter-spacing: .6px; }

/* Photos zoom gently on hover */
.card .ph, .tile .ph, .box__pic, .split__pic { overflow: hidden; }
.card .ph img, .tile .ph img, .box__pic img, .split__pic img { transition: transform .9s var(--ease); }
.card:hover .ph img, .tile:hover .ph img, .box:hover .box__pic img, .split__pic:hover img { transform: scale(1.06); }
.card, .tile { transition: transform .4s var(--ease); }
.card:hover, .tile:hover { transform: translateY(-4px); }

/* Fade-up as sections scroll into view (added by the script, so nothing hides without it) */
.js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js-reveal .reveal { opacity: 1; transform: none; }
  .hero__slide img { transform: none; }
}
/* ==========================================================
   One size for all titles, one size for all subheadings.
   Change --h-sec / --h-sub at the top to resize them everywhere.
   ========================================================== */
.h-sec, .page-head h1, .cat-head h1, .cta h2, .split h2, .reviews h2 {
  font-size: var(--h-sec); font-weight: 300; line-height: 1.12;
}
.reviews h2 { margin-bottom: 14px; }
.h-sub, .prose h2, .side-card h2,
.step h3, .box h3, .acc__btn h3, .prose h3 {
  font-size: var(--h-sub); font-weight: 300; line-height: 1.25;
}

/* Title font: Marcellus on every title, subheading, the hero line, the step numbers and the name
   beside the logo. Small uppercase labels (stone tiles, project captions) stay in Jost. Marcellus has one weight (400), so titles use 400 only. */
h1, h2, h3, h4, .h-sec, .h-sub, .hero__title, .step__n, .logo__name {
  font-family: var(--font-title);
  letter-spacing: 0;
}
.h-sec, .page-head h1, .cat-head h1, .cta h2, .split h2, .reviews h2, .hero__title {
  font-weight: 400; line-height: 1.08;
}
.h-sub, .prose h2, .side-card h2,
.step h3, .box h3, .acc__btn h3, .prose h3 { font-weight: 400; }
.step__n { font-weight: 400; }
.logo__name { font-weight: 400; letter-spacing: 1.5px; }
.pc h3, .tile__cap h3, .feature__cap strong, .filters__label { font-family: var(--font); }