/* ============================================================
   SEASCAPE FENCING & RETAINING WALLS
   Design system — dark, coastal-industrial, premium
   Display: Space Grotesk · Body: Inter · Accent: teal (from logo)
   Built by Converta. No emoji anywhere — SVG/typographic symbols only.
   ============================================================ */

:root {
  /* Surfaces */
  --ink:        #0a0e12;   /* page canvas */
  --ink-2:      #0c1116;   /* alternate band */
  --panel:      #121821;   /* cards */
  --panel-2:    #18212c;   /* raised / hover */
  --line:       rgba(255,255,255,.09);
  --line-2:     rgba(255,255,255,.16);

  /* Brand — teal pulled from the Seascape logo */
  --teal:       #2bbfb0;
  --teal-br:    #52d8c8;
  --teal-deep:  #15877a;
  --teal-glow:  rgba(43,191,176,.30);
  --teal-wash:  rgba(43,191,176,.10);

  /* Ink on dark */
  --fog:        #eef3f5;   /* headings */
  --cloud:      #cdd8de;   /* body text */
  --slate:      #93a6b2;   /* muted */
  --slate-dim:  #728490;   /* dim / captions — lightened to clear WCAG AA 4.5:1 on --panel */

  /* Type */
  --display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Rhythm */
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--cloud);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;               /* clip, not hidden — keeps position:fixed working on mobile */
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--teal); color: #04110f; }

/* Focus — accessibility floor */
:focus-visible { outline: 2px solid var(--teal-br); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--teal); color: #04110f; font-weight: 600;
  padding: 10px 16px; border-radius: 8px; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* Visible to screen readers only — used for live result counts when filtering */
.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; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Typography ---------- */
h1,h2,h3,h4 { font-family: var(--display); color: var(--fog); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; }
.display { font-size: clamp(2.7rem, 6.2vw, 5.1rem); font-weight: 600; letter-spacing: -.03em; line-height: .98; }
.h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -.025em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--cloud); line-height: 1.6; }
.muted { color: var(--slate); }

/* Eyebrow — clean uppercase label, no decorative symbol */
.eyebrow {
  display: inline-block;
  font-family: var(--display); font-weight: 600;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--teal-br); margin-bottom: 18px;
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display);
  font-weight: 600; font-size: 15px; letter-spacing: .01em; padding: 15px 26px;
  border-radius: 10px; cursor: pointer; border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap; }
.btn .arw { transition: transform .25s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.btn-primary { background: var(--teal); color: #04110f; box-shadow: 0 8px 30px -10px var(--teal-glow); }
.btn-primary:hover { background: var(--teal-br); transform: translateY(-2px); box-shadow: 0 14px 40px -12px var(--teal-glow); }

.btn-ghost { background: rgba(255,255,255,.02); color: var(--fog); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-br); transform: translateY(-2px); }

.btn-light { background: var(--fog); color: #0a0e12; }
.btn-light:hover { background: #fff; transform: translateY(-2px); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 120; height: 74px;
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--gutter);
  background: rgba(10,14,18,.55); backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent; transition: background .3s var(--ease), border-color .3s var(--ease); }
.nav.scrolled { background: rgba(10,14,18,.9); border-bottom-color: var(--line); }
.nav-logo { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--fog); letter-spacing: -.01em; }
.nav-logo img { height: 46px; width: auto; }
.footer-brand .nav-logo img { height: 74px; }
@media (max-width: 760px){ .nav-logo img { height: 40px; } }
.nav-logo .mark { width: 34px; height: 34px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--cloud); transition: color .2s var(--ease);
  padding: 8px 0; }   /* padding is hit-area only — flex keeps them centred */
.nav-links a:hover { color: var(--fog); }
.nav-links a[aria-current="page"] { color: var(--fog); }
/* six items now — tighten the gap before the logo and phone start crowding */
@media (max-width: 1120px) { .nav-links { gap: 22px; } }
.nav-phone { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display);
  font-weight: 600; font-size: 14.5px; color: var(--teal-br) !important;
  border: 1px solid var(--line-2); padding: 9px 18px; border-radius: 9px; transition: all .22s var(--ease); }
.nav-phone:hover { border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-wash); }
.nav-phone svg { width: 15px; height: 15px; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 11px 10px; }
.hamburger span { width: 24px; height: 2px; background: var(--fog); border-radius: 2px; transition: .25s var(--ease); }

/* ---------- Hero (home) — editorial, edge-bleed photo ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center;
  min-height: min(92vh, 900px);
  padding: calc(74px + clamp(28px, 5vh, 52px)) 0 clamp(40px, 6vh, 72px); }

/* soft teal glow behind the copy */
.hero::before { content: ""; position: absolute; z-index: -1; top: -30%; left: -14%;
  width: 60vw; height: 82vh; background: radial-gradient(closest-side, var(--teal-wash), transparent 72%); pointer-events: none; }

/* the photo bleeds off the right edge of the viewport */
.hero-media { position: absolute; inset: 0 0 0 auto; width: 56%; z-index: -1; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%;
  animation: kenburns 22s ease-out both; }
.hero-media::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(10,14,18,.62) 26%, rgba(10,14,18,.05) 62%, transparent 100%); }
.hero-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,14,18,.5) 0%, transparent 40%); }
@keyframes kenburns { from { transform: scale(1.09); } to { transform: scale(1); } }

.hero-inner { width: 100%; }
.hero-copy { max-width: 600px; }
.hero-copy .display { font-size: clamp(2.6rem, 6vw, 5.2rem); margin-bottom: 22px; }
.hero-copy .display .accent { color: var(--teal-br); }
.hero-sub { max-width: 500px; margin-bottom: 32px; color: var(--cloud); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 13px; }

/* frosted credential card floating on the photo */
.hero-cred { position: absolute; right: clamp(18px, 3.5vw, 52px); bottom: clamp(18px, 4vh, 46px); z-index: 2;
  max-width: 264px; display: grid; gap: 13px; padding: 20px 22px;
  background: rgba(10,14,18,.5); backdrop-filter: blur(16px);
  border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 30px 70px -40px rgba(0,0,0,.9); }
.hero-cred-row { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--cloud); font-weight: 500; }
.hero-cred-row svg { width: 18px; height: 18px; flex: none; color: var(--teal-br); }

/* entrance on load */
.hero-copy > *, .hero-cred { opacity: 0; animation: heroIn .85s var(--ease) forwards; }
.hero-copy > *:nth-child(1) { animation-delay: .06s; }
.hero-copy > *:nth-child(2) { animation-delay: .15s; }
.hero-copy > *:nth-child(3) { animation-delay: .24s; }
.hero-copy > *:nth-child(4) { animation-delay: .33s; }
.hero-cred { animation-delay: .5s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; }
  .hero-copy > *, .hero-cred { opacity: 1; animation: none; }
}

/* ---------- Page hero (subpages) ---------- */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  padding: calc(74px + clamp(38px, 6vh, 68px)) 0 clamp(34px, 5vh, 56px); }
.page-hero::before { content: ""; position: absolute; z-index: -1; top: -40%; right: -10%;
  width: 55vw; height: 90vh; background: radial-gradient(closest-side, var(--teal-wash), transparent 72%); pointer-events: none; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); letter-spacing: -.025em; }
.page-hero .lead { margin-top: 16px; max-width: 640px; }
.breadcrumb { font-size: 13px; color: var(--slate); margin-bottom: 18px; }
.breadcrumb a { color: var(--slate); }
.breadcrumb a:hover { color: var(--teal-br); }
.breadcrumb .sep { color: var(--slate-dim); margin: 0 8px; }

/* ---------- Ticker (marquee of capabilities) ---------- */
.ticker { background: var(--teal); overflow: hidden; white-space: nowrap; border-block: 1px solid var(--teal-deep); }
.ticker-track { display: inline-flex; align-items: center; gap: 0; padding-block: 13px; animation: ticker 34s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; font-family: var(--display); font-weight: 600;
  font-size: 14px; letter-spacing: .04em; color: #04110f; padding-inline: 26px; text-transform: uppercase; }
.ticker-item::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgba(4,17,15,.5); margin-left: 52px; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .ticker-track{ animation: none; } }

/* ---------- Section shell ---------- */
.section { padding: clamp(76px, 11vh, 132px) 0; position: relative; }
.section.alt { background: var(--ink-2); }
.section-head { max-width: 660px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 18px; }

/* ---------- Services (photo cards) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--panel); transition: border-color .3s var(--ease), transform .3s var(--ease); isolation: isolate; }
.svc-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.svc-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.svc-card:hover .svc-media img { transform: scale(1.05); }
.svc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,14,18,.55) 100%); }
/* signature micro-interaction: a teal rail installs itself across the top on hover */
.svc-card::before { content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 100%; z-index: 3;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-body { padding: 22px 22px 26px; }
.svc-body h3 { font-size: 1.35rem; margin-bottom: 8px; }
.svc-body p { font-size: 14.5px; color: var(--slate); line-height: 1.6; }
.svc-num { position: absolute; top: 14px; left: 16px; z-index: 3; font-family: var(--display);
  font-weight: 600; font-size: 13px; letter-spacing: .05em; color: var(--fog);
  background: rgba(10,14,18,.5); backdrop-filter: blur(6px); border: 1px solid var(--line-2);
  padding: 5px 11px; border-radius: 20px; }
.svc-tag { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-family: var(--display);
  font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-br); }
.svc-tag .arw { transition: transform .25s var(--ease); }
.svc-card:hover .svc-tag .arw { transform: translateX(4px); }

/* CTA card that closes the grid */
.svc-cta { display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 34px; background: linear-gradient(150deg, var(--panel-2), var(--panel)); border-color: var(--line-2); }
.svc-cta h3 { font-size: 1.5rem; margin-bottom: 10px; }
.svc-cta p { color: var(--slate); font-size: 14.5px; margin-bottom: 22px; }
.svc-cta .svc-tag { margin-top: 0; }   /* the paragraph already carries the gap */

/* ---------- Split / Why ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.why-list { display: grid; gap: 0; }
.why-item { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 26px 0; border-top: 1px solid var(--line); }
.why-item:last-child { border-bottom: 1px solid var(--line); }
.why-ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 11px;
  background: var(--teal-wash); border: 1px solid rgba(43,191,176,.25); color: var(--teal-br); }
.why-ico svg { width: 22px; height: 22px; }
.why-item h3 { font-size: 1.2rem; margin-bottom: 5px; }
.why-item p { font-size: 14.5px; color: var(--slate); }

.figure { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.figure-badge { position: absolute; left: 18px; bottom: 18px; right: 18px; display: flex; align-items: center; gap: 14px;
  background: rgba(10,14,18,.66); backdrop-filter: blur(10px); border: 1px solid var(--line-2);
  border-radius: 12px; padding: 15px 18px; }
.figure-badge .n { font-family: var(--display); font-weight: 600; font-size: 1.6rem; color: var(--teal-br); line-height: 1; }
.figure-badge .t { font-size: 13px; color: var(--cloud); line-height: 1.35; }

/* ---------- Area ---------- */
.area-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.area-region { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; background: var(--panel); transition: border-color .3s var(--ease); }
.area-region:hover { border-color: var(--line-2); }
.area-region h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 16px; }
.area-region h3 svg { width: 17px; height: 17px; color: var(--teal-br); }
.area-region ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.area-region li { font-size: 13px; color: var(--slate); border: 1px solid var(--line); border-radius: 7px; padding: 5px 11px; }
.area-note { margin-top: 26px; font-size: 14px; color: var(--slate-dim); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.contact-lines { display: grid; gap: 0; }
.contact-row { padding: 22px 0; border-top: 1px solid var(--line); }
.contact-row:last-child { border-bottom: 1px solid var(--line); }
.contact-row .k { font-family: var(--display); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-br); margin-bottom: 8px; }
.contact-row .v { font-family: var(--display); font-weight: 500; font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--fog); letter-spacing: -.01em; }
.contact-row a.v:hover { color: var(--teal-br); }
.contact-row .n { font-size: 13.5px; color: var(--slate-dim); margin-top: 5px; }
.socials { display: flex; gap: 12px; margin-top: 26px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-2);
  border-radius: 10px; color: var(--cloud); transition: all .22s var(--ease); }
.socials a:hover { border-color: var(--teal); color: var(--teal-br); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Form ---------- */
.form-card { background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); padding: clamp(24px, 3vw, 38px); position: relative; }
.form-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--teal), var(--teal-deep) 70%, transparent); }
.form-card h2 { font-size: 1.6rem; margin-bottom: 6px; }
.form-card .form-intro { font-size: 14px; color: var(--slate); margin-bottom: 26px; }
.form-card .form-intro a { color: var(--teal-br); font-weight: 600; }
.field { margin-bottom: 15px; }
.field.row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 0; }
label { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--cloud); margin-bottom: 8px; }
input, select, textarea { width: 100%; font-family: var(--body); font-size: 16px; /* 16px stops iOS zoom */
  color: var(--fog); background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 10px;
  padding: 13px 15px; outline: none; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); -webkit-appearance: none; appearance: none; }
input::placeholder, textarea::placeholder { color: var(--slate-dim); }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2393a6b2' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }
select:invalid { color: var(--slate-dim); }
input:focus, select:focus, textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-wash); }
textarea { min-height: 108px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--slate-dim); margin-top: 14px; line-height: 1.55; }
label .opt { font-weight: 400; color: var(--slate-dim); text-transform: none; letter-spacing: 0; }
.field-hint { font-size: 12.5px; color: var(--slate-dim); margin-top: 7px; line-height: 1.5; }
.field-hint a { color: var(--teal-br); font-weight: 600; }
/* highlights the colour field when it arrives pre-filled from the chart */
.field-prefilled input { border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-wash); }
/* honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; animation: fade .5s var(--ease); }
.form-success .tick { width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; background: var(--teal-wash); border: 1px solid rgba(43,191,176,.4); color: var(--teal-br); }
.form-success .tick svg { width: 28px; height: 28px; }
.form-success h3, .form-success h4 { font-size: 1.5rem; margin-bottom: 8px; }
.form-success p { font-size: 14.5px; color: var(--slate); }
.form-success a { color: var(--teal-br); font-weight: 600; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Popup ---------- */
.overlay { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px;
  background: rgba(4,8,11,.72); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.overlay.show { opacity: 1; pointer-events: auto; }
.modal { width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto; background: var(--panel);
  border: 1px solid var(--line-2); border-radius: 16px; padding: clamp(26px, 4vw, 40px); position: relative;
  transform: translateY(22px) scale(.98); transition: transform .4s var(--ease); box-shadow: 0 40px 120px -30px rgba(0,0,0,.8); }
.modal::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; border-radius: 16px 16px 0 0; background: linear-gradient(90deg, var(--teal), var(--teal-deep)); }
.overlay.show .modal { transform: none; }
.modal-close { position: absolute; top: 15px; right: 15px; width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 9px; color: var(--slate); cursor: pointer; transition: all .2s var(--ease); }
.modal-close:hover { color: var(--fog); border-color: var(--teal); }
.modal-close svg { width: 16px; height: 16px; }
.modal .eyebrow { margin-bottom: 14px; }
.modal h3 { font-size: 1.7rem; margin-bottom: 6px; }
.modal .modal-sub { font-size: 14px; color: var(--slate); margin-bottom: 24px; }
.modal .modal-sub strong { color: var(--teal-br); font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-2); border-top: 1px solid var(--line); padding: 72px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: var(--slate); max-width: 280px; margin-bottom: 18px; }
.footer-brand .fphone { font-family: var(--display); font-weight: 600; font-size: 1.25rem; color: var(--teal-br); }
.footer-col h3 { font-family: var(--display); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--slate-dim); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { font-size: 14px; color: var(--slate); transition: color .2s var(--ease); display: inline-block; padding: 3px 0; }
.footer-col a:hover { color: var(--teal-br); }
.footer-bottom { padding-top: 26px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-bottom p { font-size: 12.5px; color: var(--slate-dim); }
.footer-bottom .by { color: var(--slate); }
.footer-bottom .by a { color: var(--teal-br); }

/* ---------- Mobile menu ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 130; background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: var(--gutter);
  transform: translateX(100%); transition: transform .4s var(--ease); }
.mobile-menu.open { transform: none; }
.mobile-menu a { font-family: var(--display); font-weight: 600; font-size: clamp(1.9rem, 8vw, 2.6rem);
  color: var(--fog); padding: 10px 0; border-bottom: 1px solid var(--line); }
.mobile-menu a.accent { color: var(--teal-br); border-bottom: 0; margin-top: 20px; }
.mobile-close { position: absolute; top: 22px; right: var(--gutter); width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px; color: var(--fog); cursor: pointer; }
.mobile-close svg { width: 20px; height: 20px; }

/* ---------- Sticky mobile call bar ---------- */
.call-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
  background: rgba(10,14,18,.92); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); gap: 10px; }
.call-bar a { flex: 1; justify-content: center; padding: 14px; font-size: 15px; }

/* ---------- Form section labels (in-depth quote form) ---------- */
.form-section-label { font-family: var(--display); font-weight: 600; font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal-br); margin: 24px 0 12px; }
.form-section-label:first-child { margin-top: 0; }

/* ---------- Floating "re-open quote" button ---------- */
.quote-fab { position: fixed; left: 22px; bottom: 22px; z-index: 115;
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--teal); color: #04110f; font-family: var(--display); font-weight: 600; font-size: 14px;
  padding: 12px 18px 12px 16px; border: 0; border-radius: 9999px; cursor: pointer;
  box-shadow: 0 14px 36px -10px var(--teal-glow); transition: transform .25s var(--ease), background .25s var(--ease);
  animation: fabIn .5s var(--ease) both; }
.quote-fab:hover { background: var(--teal-br); transform: translateY(-2px); }
.quote-fab svg { width: 17px; height: 17px; flex: none; }
@keyframes fabIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) { .quote-fab { display: none; } }   /* sticky call bar covers this on phones */
@media (prefers-reduced-motion: reduce) { .quote-fab { animation: none; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; transition: none; } .scroll-cue .line { animation: none; } }

/* ---------- Service / content pages ---------- */
.service-layout { display: grid; grid-template-columns: 1.5fr .5fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.service-lead-img { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 30px; }
.service-lead-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.prose > p { color: var(--cloud); margin-bottom: 16px; max-width: 680px; }
.prose h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin: 36px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose a.inline { color: var(--teal-br); font-weight: 600; }

.checklist { list-style: none; display: grid; gap: 13px; margin: 6px 0 8px; }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: 13px; align-items: start; color: var(--cloud); font-size: 15px; }
.checklist svg { width: 20px; height: 20px; flex: none; color: var(--teal-br); margin-top: 2px; }

.aside-card { position: sticky; top: 96px; border: 1px solid var(--line-2); border-radius: 14px;
  background: var(--panel); padding: 26px 24px; }
.aside-card::before { content: ""; display: block; height: 3px; border-radius: 3px; width: 40px; background: var(--teal); margin-bottom: 18px; }
.aside-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.aside-card p { font-size: 14px; color: var(--slate); margin-bottom: 18px; }
.aside-card .aside-phone { font-family: var(--display); font-weight: 600; font-size: 1.5rem; color: var(--teal-br); display: block; margin-bottom: 16px; }
.aside-list { list-style: none; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.aside-list a { font-size: 14px; color: var(--slate); display: flex; justify-content: space-between; align-items: center; gap: 10px; transition: color .2s var(--ease); padding: 3px 0; }
.aside-list a:hover { color: var(--teal-br); }
.aside-list a[aria-current="page"] { color: var(--fog); font-weight: 600; }

/* CTA band */
.cta-band { background: linear-gradient(150deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2);
  border-radius: 16px; padding: clamp(28px, 4vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { color: var(--slate); margin-top: 6px; }
.cta-band .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Related services chips */
.related { display: flex; flex-wrap: wrap; gap: 10px; }
.related a { border: 1px solid var(--line-2); border-radius: 9px; padding: 11px 17px; font-family: var(--display);
  font-weight: 500; font-size: 14px; color: var(--cloud); transition: border-color .2s var(--ease), color .2s var(--ease); }
.related a:hover { border-color: var(--teal); color: var(--teal-br); }

/* ============================================================
   Gallery
   ============================================================ */

/* Filter bar — sticks under the fixed 74px nav */
.gal-bar { position: sticky; top: 74px; z-index: 90; background: rgba(10,14,18,.88);
  backdrop-filter: blur(16px) saturate(1.2); border-bottom: 1px solid var(--line); }
.gal-bar-inner { display: flex; align-items: center; gap: 10px; overflow-x: auto; padding: 14px 0;
  scrollbar-width: none; -ms-overflow-style: none; }
.gal-bar-inner::-webkit-scrollbar { display: none; }

.gal-chip { flex: none; display: inline-flex; align-items: baseline; gap: 8px; cursor: pointer;
  font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: .01em;
  color: var(--cloud); background: rgba(255,255,255,.02); border: 1px solid var(--line-2);
  border-radius: 9999px; padding: 10px 18px; white-space: nowrap;
  transition: color .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease); }
.gal-chip .n { font-size: 11.5px; font-weight: 500; color: var(--slate-dim); font-variant-numeric: tabular-nums; }
.gal-chip:hover { border-color: var(--teal); color: var(--teal-br); }
.gal-chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #04110f; }
.gal-chip[aria-pressed="true"] .n { color: rgba(4,17,15,.6); }

/* Masonry — CSS columns handles the mix of portrait and landscape job photos
   without cropping either into a uniform box. */
.gal-grid { columns: 3; column-gap: 20px; }
.gal-item { break-inside: avoid; margin: 0 0 20px; }
.gal-item[hidden] { display: none; }

.gal-card { position: relative; display: block; width: 100%; padding: 0; cursor: zoom-in;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; isolation: isolate; text-align: left;
  transition: border-color .3s var(--ease), transform .3s var(--ease); }
.gal-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.gal-card img { width: 100%; height: auto; display: block; transition: transform .7s var(--ease); }
.gal-card:hover img { transform: scale(1.045); }
/* same teal rail that installs itself across the service cards */
.gal-card::before { content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 100%; z-index: 3;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.gal-card:hover::before, .gal-card:focus-visible::before { transform: scaleX(1); }

.gal-cap { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 34px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(10,14,18,.82) 55%);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.gal-cap .s { font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--fog); line-height: 1.25; }
.gal-cap .c { display: block; font-family: var(--display); font-weight: 600; font-size: 10.5px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal-br); margin-bottom: 4px; }
.gal-cap .z { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px;
  background: rgba(10,14,18,.55); border: 1px solid var(--line-2); color: var(--fog);
  opacity: 0; transform: translateY(4px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.gal-card:hover .z, .gal-card:focus-visible .z { opacity: 1; transform: none; }
.gal-cap .z svg { width: 15px; height: 15px; }

.gal-empty { display: none; padding: 60px 0; text-align: center; color: var(--slate); }
.gal-empty.show { display: block; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 250; display: grid; grid-template-rows: 1fr auto;
  background: rgba(4,8,11,.94); backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.lb.show { opacity: 1; pointer-events: auto; }
.lb-stage { position: relative; display: grid; place-items: center; padding: 62px 68px 10px; min-height: 0; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  border-radius: 8px; box-shadow: 0 40px 120px -30px rgba(0,0,0,.9); }
.lb-foot { padding: 16px clamp(20px, 5vw, 68px) calc(20px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  border-top: 1px solid var(--line); }
.lb-meta .c { font-family: var(--display); font-weight: 600; font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--teal-br); margin-bottom: 5px; }
.lb-meta .s { font-family: var(--display); font-weight: 600; font-size: clamp(1.05rem, 2.2vw, 1.35rem); color: var(--fog); }
.lb-meta .a { font-size: 13.5px; color: var(--slate); margin-top: 4px; max-width: 60ch; }
.lb-count { font-family: var(--display); font-size: 13px; color: var(--slate-dim); font-variant-numeric: tabular-nums; }

.lb-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px;
  display: grid; place-items: center; background: rgba(18,24,33,.8); border: 1px solid var(--line-2);
  border-radius: 50%; color: var(--fog); cursor: pointer; transition: all .22s var(--ease); }
.lb-btn:hover { border-color: var(--teal); color: var(--teal-br); background: var(--panel-2); }
/* JS hides prev/next when a filter leaves a single photo. Author `display` beats
   the UA [hidden] rule, so this guard is what actually makes .hidden work. */
.lb-btn[hidden] { display: none; }
.lb-btn svg { width: 20px; height: 20px; }
.lb-prev { left: clamp(8px, 1.6vw, 18px); }
.lb-next { right: clamp(8px, 1.6vw, 18px); }
.lb-close { position: absolute; top: 14px; right: clamp(8px, 1.6vw, 18px); transform: none;
  width: 42px; height: 42px; border-radius: 10px; }
.lb-close svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) { .lb { transition: none; } }

/* ============================================================
   Colorbond colour chart
   ============================================================ */
.cc-bar { position: sticky; top: 74px; z-index: 90; background: rgba(10,14,18,.9);
  backdrop-filter: blur(16px) saturate(1.2); border-bottom: 1px solid var(--line); }
.cc-bar-row { display: flex; align-items: center; gap: 10px; padding: 14px 0;
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.cc-bar-row::-webkit-scrollbar { display: none; }
.cc-search { flex: none; margin-left: auto; width: clamp(150px, 20vw, 220px);
  padding: 9px 16px; font-size: 14px; border-radius: 9999px; background: rgba(255,255,255,.02); }

/* Selection strip — appears under the filters once a colour is picked */
.cc-sel { display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 0 0 14px; animation: fade .35s var(--ease); }
.cc-sel[hidden] { display: none; }
.cc-sel-dot { width: 38px; height: 38px; flex: none; border-radius: 10px; border: 1px solid var(--line-2); }
.cc-sel-txt { font-size: 13.5px; color: var(--slate); }
.cc-sel-txt strong { display: block; font-family: var(--display); font-weight: 600;
  font-size: 16px; color: var(--fog); letter-spacing: -.01em; }
.cc-sel .btn { margin-left: auto; padding: 12px 20px; font-size: 14px; }
.cc-sel-clear { background: none; border: 0; cursor: pointer; font-family: var(--body);
  font-size: 13px; color: var(--slate-dim); text-decoration: underline; text-underline-offset: 3px;
  padding: 6px 4px; }
.cc-sel-clear:hover { color: var(--teal-br); }

/* Swatch grid */
/* align-items:start stops cards stretching to the tallest in the row — otherwise
   a colour with no alternative names grows its swatch and the 5:4 ratio breaks,
   leaving swatches at different heights side by side. */
.cc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(212px, 1fr));
  gap: 18px; align-items: start; }
.cc-card { display: block; width: 100%; padding: 0; cursor: pointer; text-align: left;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.cc-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.cc-card[aria-pressed="true"] { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-wash); }
.cc-card[hidden] { display: none; }

/* these are spans inside the button — blockify them or aspect-ratio and the
   vertical rhythm are both ignored on inline boxes */
.cc-swatch, .cc-body, .cc-name, .cc-alt { display: block; }
.cc-swatch { position: relative; aspect-ratio: 5 / 4; }
/* a hairline keeps near-white swatches from bleeding into the card */
.cc-swatch::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.16); }
.cc-tick { position: absolute; top: 10px; right: 10px; z-index: 2; width: 27px; height: 27px;
  display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--teal-br);
  opacity: 0; transform: scale(.7); transition: opacity .22s var(--ease), transform .22s var(--ease); }
.cc-card[aria-pressed="true"] .cc-tick { opacity: 1; transform: none; }
.cc-tick svg { width: 15px; height: 15px; }

.cc-body { padding: 15px 16px 17px; }
.cc-name { font-family: var(--display); font-weight: 600; font-size: 14.5px; color: var(--fog);
  text-transform: uppercase; letter-spacing: .05em; line-height: 1.3; }
.cc-name sup { font-size: 9px; letter-spacing: 0; vertical-align: super; color: var(--slate-dim); }
.cc-alt { font-size: 12.5px; color: var(--slate-dim); margin-top: 6px; line-height: 1.5; font-style: italic; }
.cc-hex { display: inline-block; margin-top: 10px; font-family: var(--display); font-size: 10.5px;
  font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-dim);
  border: 1px solid var(--line); border-radius: 5px; padding: 3px 8px; }

.cc-empty { display: none; padding: 56px 0; text-align: center; color: var(--slate); }
.cc-empty.show { display: block; }

/* Disclaimer — every Colorbond chart needs one; screens misrepresent these badly */
.cc-note { margin-top: 44px; padding: 22px 24px; border: 1px solid var(--line);
  border-left: 3px solid var(--teal); border-radius: var(--radius-sm); background: var(--panel); }
.cc-note p { font-size: 13.5px; color: var(--slate); line-height: 1.65; }
.cc-note p + p { margin-top: 10px; }
.cc-note strong { color: var(--cloud); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .gal-grid { columns: 2; }
  .cc-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .cc-search { margin-left: 0; }
  .cc-sel .btn { margin-left: 0; width: 100%; justify-content: center; }
  .lb-stage { padding: 58px 14px 8px; }
  .lb-btn { width: 42px; height: 42px; }
}
@media (max-width: 620px) {
  .gal-grid { columns: 1; }
  .gal-bar { top: 74px; }
  .lb-foot { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }  /* clears the sticky call bar */
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  /* hero stacks: copy first, photo banner below. The photo dissolves out of
     the page canvas at both edges instead of butting against a hard cut —
     multi-stop gradients so there is no visible line where the fade ends. */
  .hero { display: block; min-height: 0; padding-bottom: 0; }
  .hero-copy { max-width: 640px; }
  .hero-media { position: relative; inset: auto; width: 100%;
    height: 54vh; min-height: 340px; max-height: 560px; margin-top: 8px; }
  .hero-media img { object-position: center 42%; }
  .hero-media::before { background: linear-gradient(180deg,
      var(--ink) 0%,
      rgba(10,14,18,.955) 5%,
      rgba(10,14,18,.84)  10%,
      rgba(10,14,18,.63)  16%,
      rgba(10,14,18,.40)  22%,
      rgba(10,14,18,.20)  28%,
      rgba(10,14,18,.07)  34%,
      rgba(10,14,18,0)    40%); }
  .hero-media::after { background: linear-gradient(0deg,
      var(--ink) 0%,
      rgba(10,14,18,.90) 4%,
      rgba(10,14,18,.72) 8%,
      rgba(10,14,18,.48) 13%,
      rgba(10,14,18,.26) 18%,
      rgba(10,14,18,.09) 22%,
      rgba(10,14,18,0)   26%); }
  .hero-cred { right: 14px; bottom: 16px; max-width: 250px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .figure { order: -1; }
  .figure img { aspect-ratio: 16 / 10; }
  .service-layout { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .area-cols { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .call-bar { display: flex; }
  body { padding-bottom: 72px; }          /* room for the sticky bar */
  .svc-grid { grid-template-columns: 1fr; }
  .field.row { grid-template-columns: 1fr; gap: 0; }
  .hero-media { height: 50vh; min-height: 300px; max-height: 480px; }
  .hero-btns .btn { flex: 1; justify-content: center; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .nav-phone { display: none; }   /* sticky call bar covers calling on phones */
}
@media (max-width: 420px) {
  /* full-width on small phones — tightened so it does not swallow the part
     of the photo left clear between the two edge fades */
  .hero-cred { left: 14px; right: 14px; bottom: 18px; max-width: none;
    padding: 15px 17px; gap: 10px; border-radius: 14px; }
}
