/* Diamonds Concrete & Plastering — v2.css
   Components from the PSantos build (floating header, ticker, about collage + seal, services carousel,
   why block, process steps, gallery marquee, stepped form + map, footer) and Ocean Bay (why-us icon row),
   recoloured to the Diamonds logo: black + gold (#efd66c), Montserrat (the logo's own type family). */

/* ---------- Fonts (Montserrat = the logo lettering) ---------- */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/montserrat-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat Fallback"; src: local("Arial"); size-adjust: 113%; ascent-override: 85%; descent-override: 22%; }

:root {
  --ink: #141414;
  --ink-soft: #57534a;
  --cream: #f6f3ec;
  --sand: #ece6d9;
  --paper: #ffffff;
  --line: #ddd5c5;
  --black: #0c0c0c;
  --charcoal: #161616;
  --charcoal-2: #222222;
  --gold: #efd66c;
  --gold-deep: #c9a93a;
  --gold-ink: #7a5f0e;
  --gold-soft: #f6ecc4;
  --stone: #b9ab92;

  --font: "Montserrat", "Montserrat Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 10px 30px -12px rgba(0, 0, 0, .22);
  --section: clamp(64px, 9vw, 120px);
  --header-h: 80px;
  --header-gap: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--header-gap) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.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-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--black); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Type ---------- */
.h2 { font-size: clamp(1.9rem, 1.25rem + 2.3vw, 3rem); font-weight: 400; }
.h2 strong, .h1 strong { font-weight: 800; }
.lead { font-size: clamp(1.02rem, .95rem + .3vw, 1.15rem); color: var(--ink-soft); text-wrap: pretty; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.kicker::before { content: ""; width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); }
.why .kicker, .cta-band .kicker { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: 999px; border: 2px solid transparent; font-size: .95rem; font-weight: 700; letter-spacing: .01em; line-height: 1.2; text-decoration: none; text-align: center; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn .icon { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--primary { background: var(--charcoal); color: #fff; }
.btn--primary:hover { background: var(--black); }
.btn--accent { background: var(--gold); color: var(--black); }
.btn--accent:hover { background: #f6e391; }
.btn--ghost { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.btn--ghost:hover { background: var(--charcoal); color: #fff; }
.btn--ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--black); border-color: #fff; }
.btn--sm { min-height: 46px; padding: 10px 20px; font-size: .88rem; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- Header (floating dark pill) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding-top: var(--header-gap); pointer-events: none; }
.has-overlay-header .site-header { margin-bottom: calc(-1 * (var(--header-h) + var(--header-gap))); }
.header-inner { position: relative; pointer-events: auto; display: flex; align-items: center; gap: 24px; height: var(--header-h); padding: 0 12px 0 26px; background: rgba(14, 14, 14, .9); border-radius: 999px; backdrop-filter: blur(12px); box-shadow: 0 14px 34px -16px rgba(0, 0, 0, .6); transition: background-color .25s, box-shadow .25s; }
.site-header.is-scrolled .header-inner { background: rgba(12, 12, 12, .97); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .7); }
.brand { display: block; flex: none; }
.brand img { height: 42px; width: auto; }
.nav { margin-inline: auto; }
.nav ul { display: flex; gap: 28px; }
.nav a { position: relative; padding: 8px 0; font-size: .88rem; font-weight: 600; color: rgba(255, 255, 255, .78); text-decoration: none; transition: color .2s; }
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
/* Every nav item centred on the same line (the Services item carries the arrow button) */
@media (min-width: 961px) { .nav ul { align-items: center; } .nav li { display: flex; align-items: center; } }

/* Services dropdown */
.nav .has-drop { position: relative; display: flex; align-items: center; gap: 2px; }
.drop-toggle { display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .78); cursor: pointer; }
.drop-toggle .icon { width: 14px; height: 14px; transform: rotate(90deg); transition: transform .2s; }
.drop { position: absolute; top: calc(100% + 26px); left: 50%; z-index: 5; display: grid; grid-template-columns: repeat(3, minmax(190px, auto)); gap: 22px 34px; width: max-content; padding: 28px 30px 24px; background: rgba(14, 14, 14, .98); border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .2s, visibility .2s; }
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -30px; height: 30px; } /* hover bridge */
.has-drop:hover .drop, .has-drop:focus-within .drop, .has-drop.is-open .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-drop:hover .drop-toggle .icon, .has-drop.is-open .drop-toggle .icon { transform: rotate(-90deg); }
.drop-title { margin-bottom: 10px; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.nav .drop-title a { padding: 0; font-size: inherit; color: var(--gold); }
.drop ul { display: grid; gap: 2px; }
.nav .drop li a { display: block; padding: 6px 0; font-size: .92rem; font-weight: 500; color: rgba(255, 255, 255, .86); }
.nav .drop a::after { display: none; }
.nav .drop li a:hover, .nav .drop li a[aria-current] { color: var(--gold); }
.nav .drop-all { grid-column: 1 / -1; justify-self: start; padding: 14px 0 0; border-top: 1px solid rgba(255, 255, 255, .1); width: 100%; font-size: .82rem; font-weight: 700; color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav + .header-actions { margin-left: 0; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 700; color: #fff; text-decoration: none; white-space: nowrap; }
.header-phone .icon { width: 36px; height: 36px; padding: 9px; border-radius: 50%; background: rgba(239, 214, 108, .14); color: var(--gold); }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); color: #fff; align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }
@media (max-width: 1140px) { .nav ul { gap: 20px; } .header-phone span { display: none; } }
@media (max-width: 960px) {
  :root { --header-h: 68px; --header-gap: 12px; }
  .header-inner { padding: 0 8px 0 18px; gap: 12px; }
  .brand img { height: 34px; }
  .menu-toggle { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: calc(100% + 10px); display: none; background: var(--charcoal); border-radius: 22px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7); }
  .menu-open .nav { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 22px 12px; }
  .nav a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 1rem; }
  .nav li:last-child a { border-bottom: 0; }
  .nav a::after { display: none; }
  /* dropdown becomes an accordion inside the mobile menu */
  .nav { max-height: calc(100svh - var(--header-h) - var(--header-gap) - 24px); overflow-y: auto; }
  .nav .has-drop { flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav .has-drop > a { flex: 1; border-bottom: 0; }
  .drop-toggle { width: 44px; height: 44px; }
  .drop { position: static; display: none; grid-template-columns: 1fr; gap: 14px; width: 100%; padding: 4px 0 16px 12px; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .drop::before { display: none; }
  .has-drop .drop, .has-drop:hover .drop, .has-drop:focus-within .drop, .has-drop.is-open .drop { transform: none; }
  .has-drop.is-open .drop { display: grid; }
  .nav .drop li a { padding: 9px 0; border-bottom: 0; font-size: .95rem; }
  .header-actions, .nav + .header-actions { margin-left: auto; }
}
@media (max-width: 600px) { .header-actions .btn { display: none; } .brand img { height: 30px; } }

/* ---------- Hero (video) ---------- */
.h1 { font-size: clamp(2.2rem, 1.2rem + 3.2vw, 3.9rem); font-weight: 400; line-height: 1.04; letter-spacing: -.03em; }
.hero { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: min(100svh, 880px); padding: calc(var(--header-h) + var(--header-gap) + clamp(48px, 7vw, 96px)) 0 clamp(72px, 10vw, 128px); color: #fff; background: var(--black); }
.hero-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
/* Overlay only behind the copy (left), fading out; the right side of the video stays clear */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 8, 8, .86) 0%, rgba(8, 8, 8, .78) 42%, rgba(8, 8, 8, .35) 56%, rgba(8, 8, 8, 0) 70%); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.hero .h1 { max-width: 12.5em; color: #fff; }
.hero .h1 strong { color: #fff; }
.hero .hl { color: var(--gold); padding-bottom: .1em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 24' preserveAspectRatio='none'%3E%3Cpath d='M4 15C92 6 236 2 396 9' fill='none' stroke='%23c9a93a' stroke-width='7' stroke-linecap='round'/%3E%3Cpath d='M30 20C140 13 260 11 360 15' fill='none' stroke='%23efd66c' stroke-width='2.5' stroke-linecap='round' opacity='.8'/%3E%3C/svg%3E") no-repeat left 100% / 100% .34em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero-sub { max-width: 34em; margin-top: 24px; color: rgba(255, 255, 255, .9); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: rgba(255, 255, 255, .88); }
.hero-trust .icon { width: 18px; height: 18px; color: var(--gold); }
.hero-badge { position: relative; display: inline-block; width: 230px; margin-top: 30px; border-radius: 6px; box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .7); transition: transform .2s; }
.hero-badge:hover { transform: translateY(-2px); }
.hero-badge img { width: 230px; height: auto; }
.hero-badge__cat { position: absolute; left: 4px; right: 4px; bottom: 3px; display: block; padding: 2px 0; background: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; line-height: 1.2; text-align: center; text-transform: uppercase; color: #3b3b3b; text-decoration: none; }
.hero-badge__cat:hover { color: #0b8fd0; }
.video-toggle { position: absolute; right: var(--gutter); bottom: clamp(24px, 4vw, 44px); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .45); color: #fff; display: grid; place-items: center; cursor: pointer; }
.video-toggle .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.video-toggle .i-play { display: none; }
.video-toggle[aria-pressed="true"] .i-play { display: block; }
.video-toggle[aria-pressed="true"] .i-pause { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero .hl { background-size: 0% .34em; animation: hl-draw 1s cubic-bezier(.65, 0, .25, 1) .7s forwards; }
  .hero .h1, .hero-sub, .hero-ctas, .hero-trust { opacity: 0; transform: translateY(26px); animation: hero-up .8s cubic-bezier(.22, .8, .2, 1) forwards; }
  .hero .h1 { animation-delay: .1s; }
  .hero-sub { animation-delay: .25s; }
  .hero-ctas { animation-delay: .38s; }
  .hero-trust { animation-delay: .5s; }
  .hero-badge { opacity: 0; animation: hero-up .8s cubic-bezier(.22, .8, .2, 1) .62s forwards; }
}
@keyframes hl-draw { to { background-size: 100% .34em; } }
@keyframes hero-up { to { opacity: 1; transform: none; } }
@media (max-width: 980px) { .hero::before { background: rgba(8, 8, 8, .68); } }
@media (max-width: 640px) {
  .hero { min-height: 0; padding: calc(var(--header-h) + var(--header-gap) + 40px) 0 64px; }
  .hero-sub { margin-top: 18px; font-size: .98rem; }
  .hero-ctas { width: 100%; margin-top: 28px; }
  .hero-ctas .btn { width: 100%; }
}

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; background: var(--black); color: #fff; }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker ul { display: flex; align-items: center; }
.ticker li { display: inline-flex; align-items: center; gap: 30px; padding: 22px 0 22px 30px; font-size: .92rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.ticker li svg { width: 20px; height: 20px; color: var(--gold); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--sand { background: var(--sand); }
.section--white { background: var(--paper); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head .h2 { max-width: 16em; }
.section-head--center .h2 { max-width: 22em; }
.section-head p { max-width: 40em; color: var(--ink-soft); }
.section-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: clamp(36px, 5vw, 56px); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
/* About collage: faceted photos (cut corners like a cut diamond), blueprint grid behind,
   construction-drawing dimension lines that read "From the footing → To the finish coat". */
.about-media { --facet: 38px; position: relative; padding: 46px 58px 92px 0; }
.about-blueprint { position: absolute; z-index: 0; inset: 22px 18px 34px 46px; background-image: linear-gradient(rgba(201, 169, 58, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(201, 169, 58, .16) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(135deg, transparent 8%, #000 45%); mask-image: linear-gradient(135deg, transparent 8%, #000 45%); }
.about-media .main { position: relative; z-index: 1; aspect-ratio: 4 / 3.15; clip-path: polygon(var(--facet) 0, 100% 0, 100% calc(100% - var(--facet)), calc(100% - var(--facet)) 100%, 0 100%, 0 var(--facet)); }
.about-media .main img, .about-media .inset img { width: 100%; height: 100%; object-fit: cover; }
.about-media .inset { --facet: 24px; position: absolute; z-index: 2; right: 36px; bottom: 0; width: 52%; aspect-ratio: 4 / 3; padding: 7px; background: var(--cream); filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .22)); clip-path: polygon(var(--facet) 0, 100% 0, 100% calc(100% - var(--facet)), calc(100% - var(--facet)) 100%, 0 100%, 0 var(--facet)); }
.about-media .inset img { clip-path: polygon(calc(var(--facet) - 4px) 0, 100% 0, 100% calc(100% - var(--facet) + 4px), calc(100% - var(--facet) + 4px) 100%, 0 100%, 0 calc(var(--facet) - 4px)); }
.about-tag { position: absolute; z-index: 2; left: calc(var(--facet) + 10px); top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; background: rgba(12, 12, 12, .82); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.about-tag i { width: 8px; height: 8px; border-radius: 50%; background: #e8a23a; box-shadow: 0 0 0 3px rgba(232, 162, 58, .25); }
.about-tag--gold { background: var(--gold); color: var(--black); }
.about-tag--gold i { background: var(--black); box-shadow: none; }
/* Dimension lines (drawing style): tick at each end, label sitting on the line */
.about-dim { position: absolute; z-index: 1; top: 12px; left: 0; right: 58px; height: 15px; border-inline: 1.5px solid var(--gold-deep); }
.about-dim::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--gold-deep); }
.about-dim > span { position: absolute; left: 50%; top: 50%; padding: 0 12px; background: var(--cream); font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; color: var(--gold-ink); transform: translate(-50%, -50%); }
.about-dim--v { top: 46px; bottom: 92px; left: auto; right: 14px; width: 15px; height: auto; border-inline: 0; border-block: 1.5px solid var(--gold-deep); }
.about-dim--v::before { left: 50%; right: auto; top: 0; bottom: 0; width: 1.5px; height: auto; }
.about-dim--v > span { padding: 12px 0; writing-mode: vertical-rl; transform: translate(-50%, -50%) rotate(180deg); }
.seal { position: absolute; z-index: 3; left: calc(48% - 72px); bottom: 42px; display: grid; place-items: center; width: 136px; height: 136px; border-radius: 50%; background: var(--black); box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .6); }
.seal svg.ring { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); animation: spin 26s linear infinite; }
.seal svg.ring text { fill: var(--gold); font: 700 9.6px var(--font); letter-spacing: .2em; text-transform: uppercase; }
.seal img { width: 58px; height: auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.about-copy .h2 { margin-bottom: 26px; }
.about-copy p { color: var(--ink-soft); }
.about-copy p + p { margin-top: 16px; }
.about-copy p.intro { color: var(--ink); font-size: 1.1rem; font-weight: 600; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 30px 0 34px; }
.about-points li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--paper); box-shadow: 0 8px 20px -16px rgba(0, 0, 0, .35); font-size: .9rem; font-weight: 600; line-height: 1.35; color: var(--ink); }
.about-points .icon { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); }
@media (max-width: 920px) { .about-grid { grid-template-columns: 1fr; } .about-media { max-width: 640px; } }
@media (max-width: 520px) {
  .about-points { grid-template-columns: 1fr; }
  .about-media { --facet: 26px; padding: 40px 34px 70px 0; }
  .about-media .inset { --facet: 18px; width: 56%; right: 24px; }
  .about-dim { right: 34px; }
  .about-dim--v { top: 40px; bottom: 70px; right: 6px; }
  .about-dim > span { font-size: .6rem; letter-spacing: .14em; padding-inline: 8px; }
  .about-blueprint { inset: 18px 8px 26px 24px; }
  .about-tag { font-size: .66rem; padding: 6px 10px; }
  .seal { width: 92px; height: 92px; left: -6px; bottom: 28px; }
  .seal img { width: 40px; }
}

/* ---------- Services: centred focus carousel (Ocean Bay pattern) ----------
   Wide cards, copy left / photo right. The active card sits in the middle, sharp and full size;
   neighbours are blurred, faded and slightly smaller (JS sets --d = distance from centre, 0..1).
   The track bleeds the full viewport so the side cards peek in from the edges. */
.services__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.services__head .h2 { max-width: 18ch; }
.services__intro { max-width: 24rem; color: var(--ink-soft); }
#services { overflow-x: clip; } /* the full-bleed track is 100vw, which includes the scrollbar width */
.services__wrap { position: relative; --card-w: min(50rem, 88vw); }
.services__arrow { position: absolute; top: 50%; z-index: 2; display: inline-grid; place-items: center; width: 3.5rem; height: 3.5rem; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); transform: translateY(-50%); cursor: pointer; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .45); transition: background-color .2s, color .2s, border-color .2s; }
/* Arrows hug the centred card (one arrow width + 16px outside its edges), never closer than the gutter to the screen edge */
.services__arrow--prev { left: max(calc(50% - 50vw + var(--gutter)), calc(50% - var(--card-w) / 2 - 3.5rem - 16px)); }
.services__arrow--next { right: max(calc(50% - 50vw + var(--gutter)), calc(50% - var(--card-w) / 2 - 3.5rem - 16px)); }
.services__arrow .icon { width: 1.3rem; height: 1.3rem; }
.services__arrow:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--gold); }
.services__track { display: flex; align-items: stretch; gap: 24px; width: 100vw; margin-left: calc(50% - 50vw); padding: 16px calc(50vw - var(--card-w) / 2) 28px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.services__track::-webkit-scrollbar { display: none; }
.svc-card { --d: 0; display: grid; grid-template-columns: minmax(0, 1fr) 54%; flex: 0 0 auto; width: var(--card-w); min-height: 26rem; overflow: hidden; scroll-snap-align: center; background: var(--paper); border-radius: 6px; box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .45); opacity: calc(1 - var(--d) * .6); filter: blur(calc(var(--d) * 4px)); transform: scale(calc(1 - var(--d) * .08)); transition: opacity .35s ease, filter .35s ease, transform .35s ease; }
.svc-card__content { display: flex; flex-direction: column; gap: 16px; padding: clamp(1.5rem, 2.4vw, 2.125rem); }
.svc-card__num { display: inline-flex; align-items: center; justify-content: center; width: clamp(3.875rem, 6vw, 5.25rem); height: clamp(3.875rem, 6vw, 5.25rem); border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); font-size: clamp(1.4rem, 2.2vw, 1.85rem); font-weight: 400; letter-spacing: -.02em; }
.svc-card h3 { font-size: clamp(1.45rem, 2.1vw, 1.8rem); font-weight: 800; line-height: 1.14; color: var(--ink); }
.svc-card p { color: var(--ink-soft); text-wrap: pretty; }
.svc-card .link-rule { align-self: flex-start; margin-top: auto; }
.svc-card__image { width: 100%; height: 100%; object-fit: cover; }
.link-rule { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 6px; border-bottom: 2px solid var(--gold-deep); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); text-decoration: none; transition: color .2s, border-color .2s; }
.link-rule:hover { color: var(--gold-ink); }
@media (max-width: 47.5em) {
  .services__head { flex-direction: column; align-items: flex-start; }
  .services__arrow { display: none; }
  .services__track { gap: 16px; }
  .svc-card { grid-template-columns: 1fr; min-height: 0; border-radius: 8px; }
  .svc-card__image { order: -1; height: 12rem; }
  .svc-card__content { padding: 22px; }
  .svc-card h3 { font-size: 1.55rem; }
}
@media (prefers-reduced-motion: reduce) { .svc-card { transition: none; } }

/* ---------- Why (dark) + Ocean Bay icon row ---------- */
.why { color: #fff; background-color: var(--charcoal); background-image: radial-gradient(rgba(239, 214, 108, .07) 1.3px, transparent 1.5px); background-size: 22px 22px; }
.why-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.why-media { position: relative; }
.why-photo { position: relative; z-index: 1; overflow: hidden; aspect-ratio: 4 / 3.3; border-radius: var(--r-lg); background: var(--black); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-tag { position: absolute; z-index: 2; right: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--black); font-size: .78rem; font-weight: 700; }
.why-tag .icon { width: 15px; height: 15px; color: var(--gold-deep); }
.why .h2 { margin-bottom: 26px; color: #fff; }
.why .h2 strong { color: var(--gold); }
.why p { color: rgba(255, 255, 255, .82); }
.why p + p { margin-top: 16px; }
.why .btn { margin-top: 34px; }
.why-icons { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; margin-top: clamp(56px, 7vw, 88px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid rgba(255, 255, 255, .1); }
.why-icons li { text-align: center; }
.why-icons .icon { width: 76px; height: 76px; margin: 0 auto 18px; padding: 21px; border-radius: 50%; background: rgba(239, 214, 108, .12); color: var(--gold); stroke-width: 1.6; }
.why-icons h3 { margin-bottom: 8px; font-size: 1.02rem; font-weight: 700; color: #fff; }
.why-icons p { font-size: .88rem; line-height: 1.55; color: rgba(255, 255, 255, .7); }
@media (max-width: 980px) { .why-grid { grid-template-columns: 1fr; } .why-icons { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .why-icons { grid-template-columns: 1fr 1fr; gap: 28px 16px; } .why-icons li:last-child { grid-column: 1 / -1; } }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 6vw, 88px); align-items: stretch; }
.process-media { position: relative; min-height: 520px; overflow: hidden; border-radius: var(--r-lg); }
.process-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.process-media .badge { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: rgba(12, 12, 12, .86); color: #fff; font-size: .85rem; font-weight: 700; }
.process-media .badge .icon { color: var(--gold); }
.process-copy { display: flex; flex-direction: column; justify-content: center; }
.steps { display: flex; flex-direction: column; margin: 30px 0 0; }
.step { position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 22px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); }
.step:first-child { padding-top: 6px; }
.step h3 { margin-bottom: 8px; font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.step p { color: var(--ink-soft); text-wrap: pretty; }
.step-icon { position: relative; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--charcoal); color: var(--gold); box-shadow: 0 12px 24px -14px rgba(0, 0, 0, .6); }
.step-icon .icon { width: 30px; height: 30px; stroke-width: 1.8; }
.step-icon i { position: absolute; right: -8px; top: -6px; min-width: 28px; height: 28px; padding: 0 6px; border: 3px solid var(--cream); border-radius: 999px; background: var(--gold); color: var(--black); font: 800 .72rem/22px var(--font); font-style: normal; text-align: center; }
.process-copy .btn { align-self: flex-start; margin-top: 34px; }
@media (max-width: 920px) { .process-grid { grid-template-columns: 1fr; } .process-media { min-height: 0; aspect-ratio: 4 / 3; } }
@media (max-width: 460px) { .step { grid-template-columns: 62px 1fr; gap: 14px; } .step-icon { width: 54px; height: 54px; } .step-icon .icon { width: 24px; height: 24px; } }

/* ---------- Gallery (two-row marquee) ---------- */
#projects .container { max-width: none; padding-inline: 0; }
#projects .section-head, #projects .section-cta { padding-inline: var(--gutter); }
.gallery { columns: 3 300px; column-gap: 18px; padding-inline: var(--gutter); }
.gallery-item { position: relative; display: block; width: 100%; margin: 0 0 18px; padding: 0; overflow: hidden; break-inside: avoid; border: 0; border-radius: var(--r); background: var(--sand); cursor: zoom-in; }
.gallery-item img { width: 100%; transition: transform .6s; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0); transition: background-color .3s; }
.gallery-item:hover::after { background: rgba(0, 0, 0, .12); }
.gallery-item .play { position: absolute; z-index: 1; left: 50%; top: 50%; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--gold); color: var(--black); transform: translate(-50%, -50%); box-shadow: var(--shadow); }
.gallery-item .play .icon { width: 28px; height: 28px; margin-left: 4px; fill: currentColor; stroke: none; }
.gallery-item .tag { position: absolute; z-index: 1; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--black); font-size: .75rem; font-weight: 700; }
.gallery-item[data-video] { cursor: pointer; }
.gallery.is-marquee { display: flex; flex-direction: column; gap: 14px; overflow: hidden; columns: auto; padding-inline: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.gallery-row { overflow: hidden; }
.gallery-track { display: flex; gap: 14px; width: max-content; animation: gal-scroll var(--dur, 42s) linear infinite; }
.gallery-row.is-reverse .gallery-track { animation-direction: reverse; }
.gallery.is-marquee:hover .gallery-track, .gallery.is-marquee:focus-within .gallery-track { animation-play-state: paused; }
@keyframes gal-scroll { to { transform: translateX(calc(-50% - 7px)); } }
.gallery.is-marquee .gallery-item { flex: none; width: auto; height: clamp(220px, 24vw, 340px); margin: 0; }
.gallery.is-marquee .gallery-item img { width: auto; height: 100%; max-width: none; object-fit: cover; }
@media (max-width: 640px) { .gallery { columns: 2; column-gap: 10px; } .gallery-item { margin-bottom: 10px; border-radius: var(--r-sm); } .gallery.is-marquee, .gallery-track { gap: 10px; } .gallery.is-marquee .gallery-item { height: 190px; } .gallery-item .play { width: 54px; height: 54px; } @keyframes gal-scroll { to { transform: translateX(calc(-50% - 5px)); } } }

.lightbox { width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; padding: 0; border: 0; background: transparent; }
.lightbox::backdrop { background: rgba(6, 6, 6, .93); }
.lightbox-inner { position: relative; display: grid; place-items: center; width: 100%; height: 100%; padding: 64px 16px; }
.lightbox img, .lightbox video { width: auto; height: auto; max-width: min(1400px, 100%); max-height: calc(100vh - 128px); border-radius: var(--r-sm); }
.lightbox-btn { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.lightbox-btn:hover { background: rgba(255, 255, 255, .24); }
.lightbox-btn .icon { width: 24px; height: 24px; }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox-prev, .lightbox-next { top: auto; bottom: 16px; transform: none; } }

/* ---------- Reviews ---------- */
.reviews-summary { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px; border-radius: 999px; background: var(--paper); box-shadow: 0 8px 20px -16px rgba(0, 0, 0, .35); font-size: .9rem; font-weight: 600; }
.stars { display: inline-flex; gap: 2px; color: #f4b400; }
.stars svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 28px; border-radius: var(--r); background: var(--paper); box-shadow: 0 18px 40px -30px rgba(0, 0, 0, .4); }
.review-card blockquote { flex: 1; margin: 0; font-size: 1rem; line-height: 1.65; color: var(--ink); }
.review-card figcaption { display: flex; align-items: center; gap: 12px; font-size: .9rem; font-weight: 700; }
.review-card figcaption span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--charcoal); color: var(--gold); font-weight: 800; }
.review-card small { display: block; font-size: .78rem; font-weight: 500; color: var(--ink-soft); }
@media (max-width: 920px) { .review-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 860px; margin-inline: auto; }
.faq-item { background: var(--paper); border-radius: var(--r); box-shadow: 0 10px 24px -22px rgba(0, 0, 0, .4); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; font-size: 1.05rem; font-weight: 700; line-height: 1.4; color: var(--ink); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); transition: transform .25s, background-color .2s; }
.faq-item[open] summary .icon { transform: rotate(45deg); background: var(--charcoal); color: var(--gold); }
.faq-item .answer { padding: 0 24px 24px; color: var(--ink-soft); }
@media (max-width: 520px) { .faq-item summary { padding: 18px; font-size: 1rem; } .faq-item .answer { padding: 0 18px 20px; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; padding: clamp(64px, 9vw, 120px) clamp(20px, 6vw, 80px); border-radius: var(--r-lg); color: #fff; text-align: center; }
.cta-band > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 10, 10, .74); }
.cta-band .h2 { max-width: 15em; margin: 0 auto 22px; color: #fff; }
.cta-band p { max-width: 40em; margin: 0 auto; font-size: 1.05rem; color: rgba(255, 255, 255, .88); }
.cta-band .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }

/* ---------- Contact (Diamonds Contractors pattern: info + small map left, outlined form right) ---------- */
.contact-dc { --cpad: clamp(64px, 9vw, 110px); padding-block: var(--cpad); background: #f5f4ef; overflow-x: clip; }
.contact-dc__grid { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: stretch; max-width: calc(1080px + var(--gutter) * 2); }
.contact-dc__info { display: flex; flex-direction: column; }
.contact-dc__eyebrow { display: block; margin-bottom: 14px; font-size: .9rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--ink); }
.contact-dc__title { font-size: clamp(2.1rem, 1.5rem + 2vw, 2.9rem); font-weight: 300; letter-spacing: .04em; line-height: 1.1; color: var(--ink); }
.contact-dc__rule { display: block; width: 56px; height: 2px; margin: 26px 0 24px; background: var(--gold-deep); }
.contact-dc__info > p { max-width: 30rem; color: var(--ink-soft); }
.contact-dc__lines { display: grid; gap: 10px; margin: 24px 0 28px; }
.contact-dc__lines li { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.contact-dc__lines a { color: inherit; text-decoration: none; }
.contact-dc__lines a:hover { color: var(--gold-ink); }
.contact-dc__lines .icon { width: 17px; height: 17px; color: var(--gold-ink); }
/* Map stays inside the text column and grows so its bottom lines up with the bottom of the form box */
.contact-dc__map { position: relative; flex: 1 0 200px; overflow: hidden; background: var(--sand); }
.contact-dc__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.3); }
.contact-dc__form { padding: clamp(22px, 3vw, 32px); border: 1px solid var(--ink); }
.contact-dc__label { display: block; margin: 0 0 10px; font-size: 1.12rem; font-weight: 500; color: var(--ink); }
.contact-dc__form select, .contact-dc__form input, .contact-dc__form textarea { width: 100%; min-height: 46px; padding: 8px 14px; background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; font-size: 1rem; color: var(--ink); transition: border-color .2s, background-color .2s; }
.contact-dc__form select { appearance: none; margin-bottom: 28px; padding-right: 34px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141414' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center / 11px; cursor: pointer; }
.contact-dc__form textarea { min-height: 96px; resize: vertical; }
.contact-dc__form ::placeholder { color: #8b867c; }
.contact-dc__form select:focus, .contact-dc__form input:focus, .contact-dc__form textarea:focus { outline: none; border-bottom-color: var(--gold-deep); background: rgba(239, 214, 108, .08); }
.contact-dc__form input:user-invalid, .contact-dc__form select:user-invalid { border-bottom-color: #b3261e; }
.contact-dc__fields { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px 22px; }
.contact-dc__fields .is-full { grid-column: 1 / -1; }
.contact-dc__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: 24px; }
.contact-dc__foot p { max-width: 24rem; font-size: .76rem; color: var(--ink-soft); }
.contact-dc__foot a { color: inherit; }
.contact-dc__send { flex: none; min-width: 118px; height: 46px; padding: 0 28px; border: 0; border-radius: 0; background: var(--gold); color: var(--black); font-size: .95rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background-color .2s; }
.contact-dc__send:hover { background: var(--charcoal); color: var(--gold); }
.contact-dc__send[disabled] { opacity: .7; cursor: progress; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 900px) {
  .contact-dc__grid { grid-template-columns: 1fr; }
  .contact-dc__form { order: -1; }
  .contact-dc__map { flex-basis: 260px; }
}
@media (max-width: 520px) { .contact-dc__fields { grid-template-columns: 1fr; } .contact-dc__foot { flex-direction: column; align-items: stretch; } .contact-dc__send { width: 100%; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; padding-top: clamp(48px, 6vw, 72px); background: var(--black); color: rgba(255, 255, 255, .72); font-size: .93rem; }
.footer-mark { position: absolute; right: -80px; bottom: -60px; width: 440px; height: auto; opacity: .05; pointer-events: none; }
.site-footer .container { position: relative; }
.site-footer a { color: rgba(255, 255, 255, .88); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--gold); }
.site-footer h4 { margin-bottom: 20px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1.2fr; gap: 40px; padding-bottom: clamp(40px, 5vw, 60px); }
.footer-brand img { width: 230px; height: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 24em; }
.footer-list li + li { margin-top: 12px; }
.footer-list a { display: inline-flex; align-items: center; gap: 10px; }
.footer-list .icon { width: 12px; height: 12px; color: var(--gold); }
.footer-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-chips li { padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .07); font-size: .84rem; font-weight: 500; color: rgba(255, 255, 255, .9); }
.footer-contact li { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.footer-contact .icon { width: 16px; height: 16px; color: var(--gold); }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); transition: background-color .2s, color .2s; }
.social a:hover { background: var(--gold); color: var(--black); }
.social .icon { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-left: auto; }
.credit a { font-weight: 700; color: #fff; }
.to-top { display: grid; flex: none; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: var(--black) !important; transition: transform .2s; }
.to-top:hover { transform: translateY(-3px); }
.to-top .icon { width: 18px; height: 18px; transform: rotate(-90deg); }
@media (max-width: 1080px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { gap: 32px 20px; } .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; } .footer-bottom { flex-direction: column; align-items: flex-start; } .footer-bottom nav { margin-left: 0; } .to-top { position: absolute; right: var(--gutter); bottom: 22px; } }

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  body.has-mobile-bar { padding-bottom: 76px; }
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--black); box-shadow: 0 -12px 28px -16px rgba(0, 0, 0, .7); transition: transform .3s; }
  .mobile-bar.is-hidden { transform: translateY(110%); }
  .mobile-bar .btn { min-height: 50px; padding: 10px 14px; font-size: .92rem; }
  .mobile-bar .btn--ghost-light { border-color: rgba(255, 255, 255, .4); }
}

/* Small galleries (3 photos, no marquee): even grid inside the container */
.gallery:not(.is-marquee) { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; columns: auto; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; }
.gallery:not(.is-marquee) .gallery-item { margin: 0; aspect-ratio: 4 / 3; }
.gallery:not(.is-marquee) .gallery-item img { height: 100%; object-fit: cover; }
@media (max-width: 640px) { .gallery:not(.is-marquee) { grid-template-columns: 1fr 1fr; gap: 10px; } .gallery:not(.is-marquee) .gallery-item:first-child { grid-column: 1 / -1; } }
img[src*="pool-deck-pavers-lanai"] { object-position: 50% 12%; } /* keeps the orange site fence out of the crop */

/* ---------- Inner pages ---------- */
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero--page { min-height: min(86svh, 760px); }
.breadcrumb { margin-bottom: 22px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--gold); }
.breadcrumb a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current] { color: #fff; }
.solid-top { padding-top: calc(var(--header-h) + var(--header-gap) + 48px); }

.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin: 26px 0 32px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; font-weight: 600; line-height: 1.45; color: var(--ink); }
.check-list .icon { width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); stroke-width: 2.6; }
@media (max-width: 520px) { .check-list { grid-template-columns: 1fr; } }

.why--compact .section-head p { color: rgba(255, 255, 255, .72); }
.why--compact .h2 { color: #fff; }
.why-icons--3 { grid-template-columns: repeat(3, 1fr); margin-top: 0; padding-top: 0; border-top: 0; }
.why-icons--3 li { padding: 34px 28px; border-radius: var(--r); background: rgba(255, 255, 255, .05); }
@media (max-width: 860px) { .why-icons--3 { grid-template-columns: 1fr; } .why-icons--3 li:last-child { grid-column: auto; } }

.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rel-card { display: flex; flex-direction: column; overflow: hidden; background: var(--paper); border-radius: 6px; box-shadow: 0 14px 34px -28px rgba(0, 0, 0, .45); text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; }
.rel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.rel-card__media { overflow: hidden; aspect-ratio: 4 / 3; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%); }
.rel-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.rel-card:hover .rel-card__media img { transform: scale(1.04); }
.rel-card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px 24px 26px; }
.rel-card__body h3 { font-size: 1.25rem; font-weight: 800; }
.rel-card__body p { flex: 1; font-size: .93rem; color: var(--ink-soft); }
.rel-card .link-rule { align-self: flex-start; margin-top: 8px; }
@media (max-width: 920px) { .rel-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .rel-grid { grid-template-columns: 1fr; } }
.group-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin: 0 0 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.group-head p { max-width: 30rem; color: var(--ink-soft); }
.service-group + .service-group { margin-top: clamp(48px, 6vw, 72px); }

.contact-dc--page .contact-dc__grid { grid-template-columns: 1fr; max-width: calc(820px + var(--gutter) * 2); }
.contact-dc__choices { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 6px 0 4px; }
.contact-dc__choices label { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; cursor: pointer; }
.contact-dc__choices input { width: 18px; min-height: 0; height: 18px; accent-color: var(--charcoal); }
.contact-dc__fields select { margin-bottom: 0; }
.contact-dc__fields .field-label { grid-column: 1 / -1; margin: 10px 0 -4px; font-size: .9rem; font-weight: 600; color: var(--ink); }

.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-form.contact-dc__form { background: #f5f4ef; border-color: transparent; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7); color: var(--ink); }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

.center-page { display: grid; place-items: center; min-height: 100svh; padding: calc(var(--header-h) + var(--header-gap) + 56px) var(--gutter) 72px; text-align: center; color: #fff; background: var(--charcoal); background-image: radial-gradient(rgba(239, 214, 108, .07) 1.3px, transparent 1.5px); background-size: 22px 22px; }
.center-page .h1 { color: #fff; }
.center-page .kicker { color: var(--gold); }
.center-page .lead { max-width: 34em; margin: 20px auto 0; color: rgba(255, 255, 255, .82); }
.center-page .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.center-page .check { display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto 28px; border-radius: 50%; background: var(--gold); color: var(--black); }
.center-page .check .icon { width: 42px; height: 42px; stroke-width: 2.6; }
.big-404 { font-size: clamp(5rem, 3rem + 10vw, 10rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; color: var(--gold); }
.link-hub { display: grid; gap: 12px; width: min(100%, 26rem); margin: 34px auto 0; }
.link-hub .btn { width: 100%; }

.page-head { padding: calc(var(--header-h) + var(--header-gap) + clamp(48px, 7vw, 88px)) 0 clamp(40px, 6vw, 72px); color: #fff; background: var(--charcoal); background-image: radial-gradient(rgba(239, 214, 108, .07) 1.3px, transparent 1.5px); background-size: 22px 22px; }
.page-head .h1 { color: #fff; }
.legal { padding-block: clamp(48px, 7vw, 88px) var(--section); }
.legal-body { max-width: 820px; margin-inline: auto; padding: clamp(24px, 5vw, 56px); background: var(--paper); border-radius: var(--r-lg); box-shadow: 0 20px 50px -40px rgba(0, 0, 0, .4); }
.legal-body h2 { margin: 32px 0 10px; font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--ink-soft); }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { margin-top: 10px; padding-left: 22px; list-style: disc; }
.legal-body li + li { margin-top: 6px; }
.legal-body a { color: var(--gold-ink); }

/* =====================================================================
   BRAND DETAILS — elements that only make sense for this client
   Logo  → faceted photo corners, glint on the logo
   Trade → concrete grain on dark/sand sections, CMU running-bond pattern, the "pour" line in the process
   ===================================================================== */
:root {
  --facet-lg: polygon(34px 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%, 0 34px);
  --facet-sm: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  --grain-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .16 0 0 0 -.02'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .09 0 0 0 -.015'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --cmu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='64'%3E%3Cpath d='M0 .5h128M0 32.5h128M.5 0v32M64.5 0v32M32.5 32v32M96.5 32v32' fill='none' stroke='%23141414' stroke-opacity='.07'/%3E%3C/svg%3E");
}

/* Faceted photo corners (cut like the stone) */
.why-media { filter: drop-shadow(0 30px 34px rgba(0, 0, 0, .45)); }
.why-photo { border-radius: 0; box-shadow: none; clip-path: var(--facet-lg); }
.process-media { border-radius: 0; clip-path: var(--facet-lg); }
.cta-band { border-radius: 0; clip-path: polygon(48px 0, 100% 0, 100% calc(100% - 48px), calc(100% - 48px) 100%, 0 100%, 0 48px); }
.gallery-item { border-radius: 0; clip-path: var(--facet-sm); }
@media (max-width: 640px) { .gallery-item { border-radius: 0; } }

/* Concrete grain on dark sections and on sand (light aggregate speckle) */
.why, .center-page, .page-head { background-image: var(--grain-light); background-size: 240px 240px; }
.ticker, .site-footer { background-image: var(--grain-light); background-size: 240px 240px; }
.section--sand, .contact-dc { background-image: var(--grain-dark); background-size: 240px 240px; }

/* CMU running-bond pattern behind the process (block walls are the trade) */
#process { position: relative; isolation: isolate; }
#process::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cmu) 0 0 / 128px 64px; -webkit-mask-image: linear-gradient(100deg, transparent 0%, #000 45%, transparent 100%); mask-image: linear-gradient(100deg, transparent 0%, #000 45%, transparent 100%); pointer-events: none; }

/* "Pour" line: the connector between process steps fills with gold as you scroll (JS sets --pour 0..1) */
.process-copy { position: relative; }
.pour { position: absolute; z-index: 0; width: 3px; margin-left: -1.5px; border-radius: 3px; background: rgba(20, 20, 20, .1); pointer-events: none; }
.pour::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(var(--pour, 0) * 100%); border-radius: inherit; background: linear-gradient(var(--gold-deep), var(--gold)); }
.step-icon { z-index: 1; }

/* Glint across the logo (masked to the logo shape): once on load, again on hover */
.brand { position: relative; }
.brand::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .9) 50%, transparent 58%) no-repeat; background-size: 260% 100%; background-position: 170% 0; -webkit-mask: url("/img/logo-horizontal.webp") center / contain no-repeat; mask: url("/img/logo-horizontal.webp") center / contain no-repeat; }
@media (prefers-reduced-motion: no-preference) {
  .brand::after { animation: glint 1.5s ease .9s 1 both; }
  .brand:hover::after { animation: glint-hover 1.1s ease 1 both; }
}
@keyframes glint { from { background-position: 170% 0; } to { background-position: -70% 0; } }
@keyframes glint-hover { from { background-position: 170% 0; } to { background-position: -70% 0; } }

/* ---------- Title Case on headings and UI labels (copy in the HTML stays untouched; paragraphs stay normal) ---------- */
h1, h2, h3, .step-title, .btn, .nav a, .faq-item summary, .svc-option span, .field label,
.hero-trust li, .about-points li, .why-tag, .process-media .badge, .gallery-item .tag,
.footer-list a, .footer-chips li, .footer-bottom nav a { text-transform: capitalize; }

/* ---------- Reveal (only when JS runs, so nothing is hidden without it) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
#services .container.reveal { transform: none; } /* a transform here would break the full-bleed track (100vw) */
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .gallery-track, .seal svg.ring { animation: none; }
  .gallery-row { overflow-x: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
