/* ==========================================================================
   Tasman Consulting Engineers — "Drawing Sheet"
   Design system: cool drafting paper, slate ink, brand colours as annotation.
   Brand hexes sampled from TCE logo: cyan #00B2D9, blue #2974A7,
   teal #13A89E, green #6FBA44, grey #58585A.
   ========================================================================== */

/* --- Tokens --------------------------------------------------------------- */
:root {
  /* ink + paper */
  --ink:        #16242C;
  --ink-2:      #3A4E59;
  --ink-3:      #6A7C86;
  --ink-4:      #9AA8AF;
  --paper:      #F1F4F5;
  --paper-2:    #E7ECEE;
  --surface:    #FFFFFF;
  --deep:       #0E1A20;

  /* brand */
  --cyan:       #00B2D9;
  --cyan-dark:  #0092B4;
  --blue:       #2974A7;
  --teal:       #13A89E;
  --green:      #6FBA44;
  --grey:       #58585A;

  /* lines */
  --rule:       rgba(22, 36, 44, .13);
  --rule-soft:  rgba(22, 36, 44, .07);
  --rule-ink:   rgba(22, 36, 44, .26);

  /* layered, colour-tinted shadows (base -> elevated -> floating) */
  --lift-1: 0 1px 2px rgba(14, 26, 32, .05), 0 2px 6px -2px rgba(14, 26, 32, .06);
  --lift-2: 0 1px 2px rgba(14, 26, 32, .05), 0 10px 22px -12px rgba(14, 26, 32, .18),
            0 30px 60px -40px rgba(41, 116, 167, .32);
  --lift-3: 0 1px 2px rgba(14, 26, 32, .06), 0 18px 34px -16px rgba(14, 26, 32, .24),
            0 46px 80px -50px rgba(41, 116, 167, .40);

  /* type */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body:    "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* spacing scale */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  --section-y: clamp(72px, 9vw, 124px);
  --gutter:    clamp(20px, 4.4vw, 56px);
  --maxw:      1280px;
  --radius:    14px;
  --radius-sm: 8px;

  --ease-spring: cubic-bezier(.22, 1, .36, 1);
  --ease-out:    cubic-bezier(.2, .7, .3, 1);
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--cyan); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Drafting-grid page ground: two hairline grids + soft radial light */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 620px at 78% -8%,  rgba(0, 178, 217, .10), transparent 62%),
    radial-gradient(760px 560px at 4% 34%,   rgba(19, 168, 158, .07), transparent 60%),
    radial-gradient(1000px 700px at 50% 108%, rgba(41, 116, 167, .09), transparent 64%),
    linear-gradient(to right, var(--rule-soft) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(to bottom, var(--rule-soft) 1px, transparent 1px) 0 0 / 96px 96px;
}
/* film grain for depth */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .34;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
main, header, footer { position: relative; z-index: 1; }

/* --- Layout --------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--ink { background: var(--deep); color: #E9F1F4; }
.section--ink h2, .section--ink h3 { color: #fff; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* --- Type ----------------------------------------------------------------- */
.h1, .h2, .h3 { font-family: var(--display); font-weight: 700; }
.h1 {
  font-size: clamp(2.35rem, 4.9vw, 4.05rem);
  line-height: 1.0;
  letter-spacing: -.035em;
  font-stretch: 112%;
}
.h2 {
  font-size: clamp(1.8rem, 3.1vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -.032em;
  font-stretch: 108%;
}
.h3 {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.2;
  letter-spacing: -.02em;
}
.lede {
  font-size: clamp(1.06rem, 1.5vw, 1.22rem);
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 62ch;
}
.section--ink .lede { color: #A9BFC9; }
.small { font-size: .875rem; line-height: 1.6; color: var(--ink-3); }
.mono { font-family: var(--mono); font-variant-ligatures: none; }

/* Eyebrow = drawing annotation: hairline with tick, then mono label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--s5);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 7px;
  flex: none;
  /* dimension line: horizontal rule with tick ends */
  background:
    linear-gradient(var(--cyan), var(--cyan)) 0 50% / 100% 1px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 0 0 / 1px 100% no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 100% 0 / 1px 100% no-repeat;
}
.section--ink .eyebrow { color: var(--cyan); }
.section--ink .eyebrow::before { filter: none; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--body);
  font-size: .97rem;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .32s var(--ease-spring), box-shadow .32s var(--ease-spring);
  box-shadow: var(--lift-1);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, var(--cyan), var(--teal) 58%, var(--blue));
  opacity: 0;
  transform: translateY(101%);
  transition: transform .42s var(--ease-spring), opacity .2s linear;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--lift-2); }
.btn:hover::after { transform: translateY(0); opacity: 1; }
.btn:active { transform: translateY(0) scale(.985); }

.btn--primary {
  --btn-bg: linear-gradient(105deg, var(--blue), var(--teal) 62%, var(--cyan));
  box-shadow: 0 1px 2px rgba(14,26,32,.10), 0 12px 26px -12px rgba(0,178,217,.72);
}
.btn--primary::after { background: var(--ink); }
.btn--primary:hover { box-shadow: 0 1px 2px rgba(14,26,32,.12), 0 18px 34px -14px rgba(0,178,217,.62); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--rule-ink);
  box-shadow: none;
}
.btn--ghost::after { background: var(--ink); }
.btn--ghost:hover { --btn-fg: #fff; border-color: var(--ink); }

.section--ink .btn--ghost { --btn-fg: #E9F1F4; border-color: rgba(255,255,255,.28); }
.section--ink .btn--ghost::after { background: #fff; }
.section--ink .btn--ghost:hover { --btn-fg: var(--deep); border-color: #fff; }

.btn__arrow { transition: transform .34s var(--ease-spring); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* Text link with drawn underline */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--blue);
  padding-bottom: 2px;
  background: linear-gradient(var(--cyan), var(--cyan)) 0 100% / 0% 1.5px no-repeat;
  transition: background-size .38s var(--ease-spring), color .2s var(--ease-out);
}
.tlink:hover { background-size: 100% 1.5px; color: var(--cyan-dark); }
.tlink:active { transform: translateY(1px); }
.tlink svg { transition: transform .34s var(--ease-spring); }
.tlink:hover svg { transform: translateX(4px); }

/* --- Header --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(241, 244, 245, .72);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease-out), border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, .86);
  border-bottom-color: var(--rule);
  box-shadow: 0 10px 30px -22px rgba(14,26,32,.5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5px;
  width: 36px;
  flex: none;
}
.brand-mark i {
  display: block;
  aspect-ratio: 1;
  border-radius: 3.5px;
  transition: transform .4s var(--ease-spring);
}
.brand-mark i:nth-child(1) { background: var(--cyan);  transition-delay: 0ms; }
.brand-mark i:nth-child(2) { background: var(--blue);  transition-delay: 40ms; }
.brand-mark i:nth-child(3) { background: var(--green); transition-delay: 80ms; }
.brand-mark i:nth-child(4) { background: var(--teal);  transition-delay: 120ms; }
.brand:hover .brand-mark i { transform: scale(.82); }
.brand-mark--lg { width: 54px; gap: 4px; }
.brand-mark--lg i { border-radius: 6px; }

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-name b {
  font-family: var(--display);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: -.018em;
  font-stretch: 106%;
  white-space: nowrap;
}
.brand-name span {
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color .22s var(--ease-out), background-color .22s var(--ease-out);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 1.5px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .36s var(--ease-spring);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav a[aria-current="page"]::after { transform: scaleX(1); background: var(--ink); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: .84rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color .22s var(--ease-out), background-color .22s var(--ease-out);
}
.header-phone:hover { color: var(--ink); background: rgba(0,178,217,.10); }
.header-cta .btn { padding: 12px 20px; font-size: .92rem; }

.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--rule-ink); border-radius: 12px;
  cursor: pointer;
  transition: background-color .22s var(--ease-out), transform .22s var(--ease-out);
}
.burger:hover { background: rgba(255,255,255,.7); }
.burger:active { transform: scale(.94); }
.burger i {
  display: block; position: relative;
  width: 18px; height: 1.6px; background: var(--ink); border-radius: 2px;
  transition: transform .36s var(--ease-spring), opacity .2s linear;
}
.burger i::before, .burger i::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.6px;
  background: var(--ink); border-radius: 2px;
  transition: transform .36s var(--ease-spring);
}
.burger i::before { top: -6px; }
.burger i::after  { top: 6px; }
.burger[aria-expanded="true"] i { background: transparent; }
.burger[aria-expanded="true"] i::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] i::after  { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 76px 0 0;
  z-index: 88;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  padding: var(--s6) var(--gutter) var(--s8);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease-out), transform .38s var(--ease-spring), visibility .3s;
  overflow-y: auto;
}
.drawer.is-open { opacity: 1; transform: translateY(0); visibility: visible; }
.drawer a.drawer-link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--rule-soft);
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -.03em;
  font-stretch: 108%;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-spring), color .2s;
}
.drawer.is-open a.drawer-link { opacity: 1; transform: none; }
.drawer a.drawer-link:hover { color: var(--blue); }
.drawer a.drawer-link em {
  font-family: var(--mono); font-style: normal; font-size: .68rem;
  letter-spacing: .16em; color: var(--ink-4);
}
.drawer .drawer-actions { margin-top: var(--s5); display: grid; gap: 10px; }
.drawer .btn { width: 100%; }

/* Scroll progress hairline */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--cyan), var(--teal) 45%, var(--green));
  z-index: 100;
  pointer-events: none;
}

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--deep);
  color: #fff;
  padding-block: clamp(64px, 8vw, 104px) clamp(64px, 8vw, 100px);
}
.hero__media { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%;
}
/* single directional scrim — dark enough to read on at the left, opens up
   toward the right so the frame in the photograph still reads */
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,21,27,.94) 0%, rgba(11,21,27,.80) 46%, rgba(11,21,27,.50) 100%);
}
/* the drafting signature, reduced to one device: a dimension string in the
   dead space under the content */
.hero__draw { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero__draw .dl { stroke: rgba(255,255,255,.34); stroke-width: 1; }
.hero__draw text {
  font-family: var(--mono); font-size: 11px; fill: rgba(255,255,255,.46);
  letter-spacing: .06em;
}

.hero__inner { position: relative; z-index: 2; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, .85fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}
.hero .eyebrow { color: #9FE7F8; }
.hero .eyebrow::before { background:
    linear-gradient(#9FE7F8, #9FE7F8) 0 50% / 100% 1px no-repeat,
    linear-gradient(#9FE7F8, #9FE7F8) 0 0 / 1px 100% no-repeat,
    linear-gradient(#9FE7F8, #9FE7F8) 100% 0 / 1px 100% no-repeat; }

.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.15vw, 3.5rem); }
.hero h1 .ln { display: block; overflow: hidden; }
.hero h1 .ln > span {
  display: block;
  transform: translateY(102%);
  animation: lineUp .95s var(--ease-spring) forwards;
}
.hero h1 .ln:nth-child(1) > span { animation-delay: .10s; }
.hero h1 .ln:nth-child(2) > span { animation-delay: .20s; }
.hero h1 .ln:nth-child(3) > span { animation-delay: .30s; }
@keyframes lineUp { to { transform: translateY(0); } }
.hero h1 .accent { color: #7FE3F6; }

.hero__lede { color: #C6D9E1; margin-top: var(--s5); max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s6); }
.hero__actions .btn--ghost { --btn-fg: #fff; border-color: rgba(255,255,255,.34); }
.hero__actions .btn--ghost::after { background: #fff; }
.hero__actions .btn--ghost:hover { --btn-fg: var(--deep); }

.hero__fade { opacity: 0; animation: fadeUp .9s var(--ease-spring) forwards; }
.hero__fade--1 { animation-delay: .05s; }
.hero__fade--2 { animation-delay: .48s; }
.hero__fade--3 { animation-delay: .60s; }
.hero__fade--4 { animation-delay: .74s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Hero side card — the funnel's first ask */
.hero__card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-radius: var(--radius);
  padding: var(--s5);
  box-shadow: var(--lift-3);
}
.hero__card h2 {
  font-size: 1.05rem; letter-spacing: -.02em; color: #fff; margin-bottom: 4px;
}
.hero__card p { font-size: .9rem; color: #B7CCD6; line-height: 1.6; }
.hero__card .free-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: #0E1A20; background: var(--green);
  padding: 5px 10px; border-radius: 999px; margin-bottom: 12px; font-weight: 600;
}
.hero__card ul { margin: var(--s4) 0 var(--s5); display: grid; gap: 9px; }
.hero__card li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .89rem; color: #D3E3EA; line-height: 1.5;
}
.hero__card li svg { flex: none; margin-top: 4px; }
.hero__card .btn { width: 100%; }

/* --- Trust strip ---------------------------------------------------------- */
.trust {
  background: var(--surface);
  border-block: 1px solid var(--rule);
  padding-block: clamp(28px, 4vw, 44px);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: var(--surface); padding: var(--s5) var(--s5); }
.stat b {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.04em;
  font-stretch: 110%;
  background: linear-gradient(100deg, var(--blue), var(--teal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.5;
}
.accred {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: clamp(24px, 5vw, 64px);
  margin-top: var(--s6);
  padding-top: var(--s5);
  border-top: 1px dashed var(--rule);
}
.accred img {
  height: 42px; width: auto;
  filter: grayscale(1) contrast(1.05);
  opacity: .72;
  transition: filter .4s var(--ease-out), opacity .4s var(--ease-out), transform .4s var(--ease-spring);
}
.accred img.is-tall { height: 62px; }
.accred img.is-wide { height: 46px; }
.accred a:hover img, .accred img:hover { filter: none; opacity: 1; transform: translateY(-2px); }
.accred__label {
  width: 100%; text-align: center;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-4);
}

/* --- Generic section head ------------------------------------------------- */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .78fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.sec-head--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.sec-head--center .lede { text-align: center; }
.sec-head h2 { text-wrap: balance; }

/* --- Cards ---------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: var(--s5);
  box-shadow: var(--lift-1);
  transition: transform .42s var(--ease-spring), box-shadow .42s var(--ease-spring), border-color .3s var(--ease-out);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--lift-2); border-color: rgba(0,178,217,.4); }

/* Services */
.services { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s4); }
.service { grid-column: span 2; display: flex; flex-direction: column; gap: 12px; padding: var(--s5) var(--s5) var(--s6); }
.service:nth-child(4), .service:nth-child(5) { grid-column: span 3; }
.service__ico {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  border-radius: 11px;
  background: linear-gradient(150deg, rgba(0,178,217,.14), rgba(19,168,158,.10));
  border: 1px solid rgba(0,178,217,.24);
  color: var(--blue);
  transition: transform .45s var(--ease-spring), background-color .3s;
}
.service:hover .service__ico { transform: rotate(-6deg) scale(1.06); }
.service h3 { letter-spacing: -.02em; }
.service p { font-size: .93rem; color: var(--ink-2); line-height: 1.65; }
.service__tag {
  margin-top: auto;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-4);
}
/* hairline "load path" that draws on hover */
.service::after {
  content: "";
  position: absolute; left: var(--s5); right: var(--s5); bottom: 18px;
  height: 1px; background: linear-gradient(90deg, var(--cyan), var(--teal));
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease-spring);
}
.service:hover::after { transform: scaleX(1); }

/* --- Process (a real sequence, so numbered) -------------------------------- */
/* Each step draws the connector to the next one, running from halo edge to halo edge
   (22px circle radius + 5px halo = 27px), so every joint meets its circle the same way.
   On reveal the segments fill one after another and each circle lights as the line reaches it. */
.process { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); }
.step { position: relative; }
.step:not(:last-child)::before,
.step:not(:last-child)::after {
  content: "";
  position: absolute; top: 21.25px; height: 1.5px;
  left: 49px; right: calc(5px - var(--s5));
}
/* dashed track; round keeps whole dashes, with an even gap at both ends */
.step:not(:last-child)::before {
  background: linear-gradient(90deg, transparent 25%, var(--rule-ink) 25% 75%, transparent 75%) 0 0 / 12px 100% round;
}
.step:not(:last-child)::after {
  background: linear-gradient(90deg, var(--cyan), var(--teal) 55%, var(--green)) 0 0 / 300% 100% no-repeat;
  transform: scaleX(0); transform-origin: left;
  transition: transform .55s var(--ease-out) var(--seg, 0s);
}
.step:nth-child(2)::after { background-position: 50% 0; }
.step:nth-child(3)::after { background-position: 100% 0; }
.step:nth-child(1) { --seg: .1s;  --lit: 0s; }
.step:nth-child(2) { --seg: .65s; --lit: .6s; }
.step:nth-child(3) { --seg: 1.2s; --lit: 1.15s; }
.step:nth-child(4) {              --lit: 1.7s; }
.process.is-in .step::after { transform: scaleX(1); }

.step__num {
  position: relative;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--rule-ink);
  font-family: var(--mono); font-size: .8rem; font-weight: 600;
  color: var(--ink-2);
  margin-bottom: var(--s4);
  transition: transform .5s var(--ease-spring);
}
/* lit state: halo on a layer that fades in, while the border turns cyan */
.step__num::after {
  content: "";
  position: absolute; inset: -1.5px;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(0,178,217,.12);
  opacity: 0;
  transition: opacity .4s var(--ease-out);
}
.process.is-in .step__num {
  color: var(--blue); border-color: var(--cyan);   /* border too, so no grey sliver shows under the ring on high-DPI */
  transition: transform .5s var(--ease-spring), color .4s var(--ease-out) var(--lit, 0s), border-color .4s var(--ease-out) var(--lit, 0s);
}
.process.is-in .step__num::after { opacity: 1; transition-delay: var(--lit, 0s); }
.step:hover .step__num { transform: scale(1.08); border-color: var(--cyan); }
.step:hover .step__num::after { opacity: 1; transition-delay: 0s; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--ink-2); line-height: 1.65; }

/* --- Portfolio ------------------------------------------------------------ */
.pf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.pf-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--deep);
  aspect-ratio: 4 / 5;
  box-shadow: var(--lift-1);
  transition: transform .5s var(--ease-spring), box-shadow .5s var(--ease-spring);
}
.pf-card:hover { transform: translateY(-5px); box-shadow: var(--lift-3); }
.pf-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.05s var(--ease-spring), filter .5s var(--ease-out);
  transform: scale(1.02);
}
.pf-card:hover img { transform: scale(1.09); }
.pf-card::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(14,26,32,.05) 0%, rgba(14,26,32,.30) 46%, rgba(14,26,32,.88) 100%);
}
.pf-card::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(160deg, var(--blue), var(--teal));
  mix-blend-mode: multiply;
  opacity: .18;
  transition: opacity .5s var(--ease-out);
}
.pf-card:hover::after { opacity: .04; }
.pf-card__body {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  padding: var(--s5);
  color: #fff;
}
.pf-card__body h3 { color: #fff; font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -.03em; font-stretch: 108%; }
.pf-card__body p {
  font-size: .88rem; color: #C0D5DE; margin-top: 6px;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .5s var(--ease-spring), opacity .4s var(--ease-out);
}
.pf-card:hover .pf-card__body p, .pf-card:focus-visible .pf-card__body p { max-height: 90px; opacity: 1; }
.pf-card__idx {
  position: absolute; top: var(--s5); left: var(--s5); z-index: 2;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .16em;
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.32);
  padding: 4px 9px; border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* Full gallery (portfolio page) */
.gal { columns: 3; column-gap: var(--s4); }
.gal figure { margin: 0 0 var(--s4); break-inside: avoid; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--lift-1); background: var(--paper-2); }
.gal img { width: 100%; transition: transform .9s var(--ease-spring); }
.gal figure:hover img { transform: scale(1.05); }
.gal figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--blue), var(--teal));
  mix-blend-mode: multiply; opacity: .12;
  transition: opacity .5s var(--ease-out);
  pointer-events: none;
}
.gal figure:hover::after { opacity: 0; }
.gal figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 26px 16px 12px;
  background: linear-gradient(transparent, rgba(14,26,32,.85));
  color: #fff;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  opacity: 0; transform: translateY(6px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-spring);
}
.gal figure:hover figcaption { opacity: 1; transform: none; }

/* filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--rule-ink);
  background: var(--surface);
  border-radius: 999px;
  padding: 9px 17px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: transform .3s var(--ease-spring), background-color .26s var(--ease-out), color .26s, border-color .26s, box-shadow .3s;
}
.chip:hover { transform: translateY(-2px); border-color: var(--cyan); color: var(--ink); }
.chip:active { transform: translateY(0) scale(.97); }
.chip[aria-pressed="true"] {
  background: var(--ink); border-color: var(--ink); color: #fff;
  box-shadow: 0 8px 18px -10px rgba(14,26,32,.7);
}

/* --- Pricing (the funnel's centrepiece) ----------------------------------- */
.price-panel {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--lift-2);
  overflow: hidden;
}
.price-panel__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s4);
  padding: var(--s5);
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(0,178,217,.05), transparent);
}
/* scale sits over the bar column only, so ticks line up with the dimension bars */
.price-scale {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.4fr) 168px;
  gap: var(--s4);
  padding: 12px var(--s5) 2px;
}
.price-scale > span { display: none; }
.price-scale__ruler {
  grid-column: 2;
  position: relative;
  height: 15px;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .06em; color: var(--ink-4);
}
.price-scale__ruler i {
  position: absolute; top: 0; left: var(--x);
  transform: translateX(-50%);
  white-space: nowrap;
  font-style: normal;
}
.price-scale__ruler i:first-child { transform: none; }
.price-scale__ruler i:last-child { transform: translateX(-100%); }
.price-rows { padding: var(--s2) 0 var(--s4); }
.prow {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.4fr) 168px;
  gap: var(--s4);
  align-items: center;
  padding: 15px var(--s5);
  border-bottom: 1px solid var(--rule-soft);
  transition: background-color .28s var(--ease-out);
}
.prow:last-child { border-bottom: 0; }
.prow:hover { background: rgba(0,178,217,.045); }
.prow.is-hidden { display: none; }
.prow__name { font-weight: 600; font-size: .97rem; letter-spacing: -.012em; }
.prow__name em { display: block; font-style: normal; font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-4); margin-top: 3px; }
/* the dimension bar — a drawn span with tick ends */
.prow__bar { position: relative; height: 22px; }
.prow__bar::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--rule) 0 4px, transparent 4px 8px);
}
.dim {
  position: absolute; top: 50%; height: 12px; transform: translateY(-50%);
  left: var(--lo); width: var(--wd);
  transform-origin: left;
  animation: dimIn .8s var(--ease-spring) both;
}
@keyframes dimIn { from { transform: translateY(-50%) scaleX(0); opacity: 0; } to { transform: translateY(-50%) scaleX(1); opacity: 1; } }
.dim::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: 2.5px; transform: translateY(-50%); border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--teal));
}
.dim i {
  position: absolute; top: 0; width: 1.5px; height: 100%; background: var(--blue); border-radius: 2px;
}
.dim i:first-child { left: 0; }
.dim i:last-child  { right: 0; }
.prow__val { font-family: var(--mono); font-size: .88rem; font-weight: 500; white-space: nowrap; text-align: right; }
.prow--free .prow__val { color: var(--green); font-weight: 600; }
.prow--free .dim::before { background: var(--green); }
.prow--ask .prow__val { color: var(--ink-3); }

.price-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s4);
  padding: var(--s5);
  border-top: 1px solid var(--rule);
  background: var(--paper);
}

.rates { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--s4); }
.rate {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: var(--s5); box-shadow: var(--lift-1);
  transition: transform .4s var(--ease-spring), box-shadow .4s var(--ease-spring);
}
.rate:hover { transform: translateY(-3px); box-shadow: var(--lift-2); }
.rate b {
  font-family: var(--display); font-size: 1.85rem; font-weight: 700; letter-spacing: -.04em;
  font-stretch: 108%; display: block; line-height: 1;
}
.rate span { display: block; margin-top: 8px; font-size: .89rem; color: var(--ink-2); }
.rate em { font-style: normal; font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-4); }

.note {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: .84rem; color: var(--ink-3); line-height: 1.6;
  max-width: 78ch;
}
.note svg { flex: none; margin-top: 3px; color: var(--ink-4); }

/* --- Team ----------------------------------------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--s4); }
.person {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--lift-1);
  transition: transform .45s var(--ease-spring), box-shadow .45s var(--ease-spring);
}
.person:hover { transform: translateY(-5px); box-shadow: var(--lift-2); }
.person__pic { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--paper-2); }
.person__pic img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%;
  filter: grayscale(.85) contrast(1.03);
  transition: filter .55s var(--ease-out), transform .9s var(--ease-spring);
}
.person:hover .person__pic img { filter: grayscale(0); transform: scale(1.05); }
.person__pic::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(165deg, var(--blue), var(--teal));
  mix-blend-mode: multiply; opacity: .17;
  transition: opacity .55s var(--ease-out);
}
.person:hover .person__pic::after { opacity: 0; }
.person__body { padding: var(--s4) var(--s5) var(--s5); }
.person__body h3 { font-size: 1.08rem; letter-spacing: -.024em; }
.person__role { font-size: .86rem; color: var(--blue); font-weight: 600; margin-top: 2px; }
.person__quals { font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; color: var(--ink-4); margin-top: 8px; line-height: 1.5; }
.person__bio { font-size: .89rem; color: var(--ink-2); line-height: 1.6; margin-top: 12px; }
.person__mail {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 14px; font-family: var(--mono); font-size: .76rem; color: var(--ink-2);
  background: linear-gradient(var(--cyan), var(--cyan)) 0 100% / 0% 1px no-repeat;
  transition: background-size .38s var(--ease-spring), color .2s;
}
.person__mail:hover { background-size: 100% 1px; color: var(--blue); }
.person__ride {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 14px; padding: 6px 11px; border-radius: 999px;
  background: rgba(111,186,68,.12); border: 1px solid rgba(111,186,68,.3);
  font-family: var(--mono); font-size: .6rem; letter-spacing: .08em; line-height: 1.45;
  text-transform: uppercase; color: #4B8A28;
}
.person__ride svg { flex: none; }

/* --- CTA band ------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(96deg, rgba(14,26,32,.95) 22%, rgba(14,26,32,.72) 62%, rgba(41,116,167,.55));
}
.cta-band__tint {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, var(--blue), var(--teal));
  mix-blend-mode: multiply; opacity: .38;
}
.cta-band__inner {
  display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.95fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
}
.cta-band h2 { color: #fff; }
.cta-band .lede { color: #BDD3DC; }
.cta-band .eyebrow { color: #9FE7F8; }
.cta-band .eyebrow::before { background:
    linear-gradient(#9FE7F8, #9FE7F8) 0 50% / 100% 1px no-repeat,
    linear-gradient(#9FE7F8, #9FE7F8) 0 0 / 1px 100% no-repeat,
    linear-gradient(#9FE7F8, #9FE7F8) 100% 0 / 1px 100% no-repeat; }
.cta-band .btn--ghost { --btn-fg: #fff; border-color: rgba(255,255,255,.36); }
.cta-band .btn--ghost::after { background: #fff; }
.cta-band .btn--ghost:hover { --btn-fg: var(--deep); border-color: #fff; }

/* --- Contact -------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.form { display: grid; gap: var(--s4); }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--mono); font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .97rem;
  padding: 13px 15px;
  border: 1px solid var(--rule-ink);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  width: 100%;
  transition: border-color .26s var(--ease-out), box-shadow .26s var(--ease-out), transform .26s var(--ease-out);
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-4); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0,178,217,.14);
}
.field--2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.form__note { font-size: .8rem; color: var(--ink-3); }

.info-card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--lift-1); overflow: hidden; }
.info-row {
  display: flex; gap: var(--s4); align-items: flex-start;
  padding: var(--s5);
  border-bottom: 1px solid var(--rule-soft);
  transition: background-color .26s var(--ease-out);
}
.info-row:last-child { border-bottom: 0; }
a.info-row:hover { background: rgba(0,178,217,.05); }
.info-row__ico {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center;
  border-radius: 10px; background: rgba(0,178,217,.10); color: var(--blue);
  border: 1px solid rgba(0,178,217,.2);
  transition: transform .4s var(--ease-spring);
}
a.info-row:hover .info-row__ico { transform: scale(1.07) rotate(-5deg); }
.info-row h3 { font-size: .78rem; font-family: var(--mono); font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-3); }
.info-row p { margin-top: 5px; font-size: 1rem; line-height: 1.55; }
.info-row p span { display: block; font-size: .86rem; color: var(--ink-3); }

/* --- Footer --------------------------------------------------------------- */
.site-footer { background: var(--deep); color: #A9BFC9; padding-block: clamp(48px, 6vw, 80px) var(--s6); }
.footer-grid { display: grid; grid-template-columns: minmax(0,1.4fr) repeat(3, minmax(0,.8fr)); gap: var(--s6); }
.site-footer h4 {
  font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; color: #63808E; margin-bottom: var(--s4);
}
.site-footer .brand-name b { color: #fff; }
.site-footer .brand-name span { color: #63808E; }
.site-footer p { font-size: .92rem; line-height: 1.7; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer address { font-style: normal; }
.site-footer li a, .site-footer address a {
  font-size: .93rem; color: #A9BFC9; font-style: normal;
  background: linear-gradient(var(--cyan), var(--cyan)) 0 100% / 0% 1px no-repeat;
  transition: background-size .38s var(--ease-spring), color .22s var(--ease-out);
}
.site-footer li a:hover, .site-footer address a:hover { color: #fff; background-size: 100% 1px; }
.footer-bottom {
  margin-top: var(--s7); padding-top: var(--s5);
  border-top: 1px solid rgba(255,255,255,.10);
  display: flex; flex-wrap: wrap; gap: var(--s4); justify-content: space-between;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; color: #5E7A88;
}

/* --- Mobile sticky action bar --------------------------------------------- */
.mobile-bar {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 95;
  display: none;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--rule);
  box-shadow: var(--lift-3);
  transform: translateY(130%);
  transition: transform .55s var(--ease-spring);
}
.mobile-bar.is-up { transform: translateY(0); }
.mobile-bar a {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 10px;
  border-radius: 999px;
  font-size: .92rem; font-weight: 600;
  transition: transform .3s var(--ease-spring), background-color .26s;
}
.mobile-bar a:active { transform: scale(.97); }
.mobile-bar .mb-call { background: var(--ink); color: #fff; }
.mobile-bar .mb-call:hover { background: #000; }
.mobile-bar .mb-quote { background: linear-gradient(105deg, var(--blue), var(--teal) 60%, var(--cyan)); color: #fff; }

/* --- Scroll reveal -------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease-out), transform .85s var(--ease-spring);
  transition-delay: var(--d, 0ms);
}

/* --- Page header (inner pages) -------------------------------------------- */
.page-head {
  position: relative;
  padding-block: clamp(56px, 8vw, 104px) clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.page-head::after {
  content: "";
  position: absolute; right: -140px; top: -120px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,178,217,.18), transparent 66%);
  pointer-events: none;
}
.page-head + .section { padding-top: clamp(40px, 5vw, 66px); }
.crumbs { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-4); margin-bottom: var(--s5); }
.crumbs a:hover { color: var(--blue); }

/* --- Service detail lists (services page) --------------------------------- */
.service__list {
  display: grid;
  gap: 6px;
  margin-top: 2px;
  font-size: .89rem;
  color: var(--ink-2);
}
.service__list li {
  position: relative;
  padding-left: 18px;
  line-height: 1.55;
}
.service__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 7px; height: 1.5px;
  background: var(--cyan);
}

/* --- Charge-out rates card (rates now live on Facebook) ------------------- */
.fb-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  padding: clamp(22px, 3vw, 34px);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--lift-1);
}
.fb-card__ico {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 16px;
  color: var(--blue);
  background: linear-gradient(150deg, rgba(41,116,167,.16), rgba(0,178,217,.10));
  transition: transform .5s var(--ease-spring);
}
.fb-card:hover .fb-card__ico { transform: rotate(-6deg) scale(1.05); }
.fb-card__body h3 { letter-spacing: -.025em; }
.fb-card__body p { margin-top: 10px; font-size: .93rem; color: var(--ink-2); line-height: 1.65; max-width: 62ch; }
.fb-card__btn { white-space: nowrap; }

/* --- Reading column (FAQ) ------------------------------------------------- */
.wrap--reading { max-width: 940px; }

/* --- FAQ accordion -------------------------------------------------------- */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--lift-1);
  overflow: hidden;
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.faq__item[open] { border-color: rgba(0,178,217,.42); box-shadow: var(--lift-2); }
.faq__item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s4);
  padding: clamp(18px, 2.2vw, 24px) clamp(18px, 2.4vw, 28px);
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  letter-spacing: -.022em;
  line-height: 1.35;
  transition: background-color .22s var(--ease-out), color .22s var(--ease-out);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { background: rgba(0,178,217,.05); }
.faq__item summary:active { background: rgba(0,178,217,.09); }
.faq__chev {
  flex: none;
  margin-top: 2px;
  color: var(--ink-3);
  transition: transform .4s var(--ease-spring), color .22s var(--ease-out);
}
.faq__item[open] .faq__chev { transform: rotate(180deg); color: var(--cyan-dark); }
.faq__item summary:hover .faq__chev { color: var(--cyan-dark); }
.faq__body {
  padding: 0 clamp(18px, 2.4vw, 28px) clamp(22px, 2.6vw, 30px);
  border-top: 1px dashed var(--rule);
  padding-top: clamp(18px, 2.2vw, 24px);
  display: grid;
  gap: var(--s4);
}
.faq__body p { font-size: .95rem; color: var(--ink-2); line-height: 1.75; }
.faq__body b { color: var(--ink); }
.faq__sub {
  font-family: var(--display);
  font-size: 1.02rem;
  letter-spacing: -.02em;
  margin-top: 6px;
}
.faq__links { display: grid; gap: 8px; font-size: .9rem; }
.faq__links a { display: inline-flex; align-items: center; gap: 7px; }
.faq__item[open] .faq__body > * {
  animation: fadeUp .5s var(--ease-spring) both;
}

/* --- Council fee table ---------------------------------------------------- */
.fee-table__scroll { overflow-x: auto; border-radius: var(--radius-sm); }
.fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
}
.fee-table th, .fee-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--rule-soft);
  vertical-align: top;
}
.fee-table thead th {
  font-family: var(--mono);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}
.fee-table thead th span {
  display: block;
  letter-spacing: .1em;
  color: var(--ink-4);
  margin-top: 3px;
}
.fee-table tbody th {
  font-family: var(--body);
  font-weight: 600;
  color: var(--ink);
  font-size: .9rem;
}
.fee-table tbody th span {
  display: block;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .1em;
  color: var(--ink-4);
  font-weight: 400;
  margin-top: 3px;
}
.fee-table tbody td {
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--ink-2);
}
.fee-table tbody tr:last-child th, .fee-table tbody tr:last-child td { border-bottom: 0; }
.fee-table tbody tr { transition: background-color .2s var(--ease-out); }
.fee-table tbody tr:hover { background: rgba(0,178,217,.05); }

.callout {
  display: flex;
  gap: 11px;
  padding: 14px 16px;
  font-size: .89rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: rgba(176,118,22,.075);
  border: 1px solid rgba(176,118,22,.28);
  border-radius: var(--radius-sm);
}
.callout svg { flex: none; margin-top: 3px; color: #A06A14; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- Find us (contact page: access plan + office photo) -------------------- */
.find-map, .find-photo {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--lift-1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.find-map figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s3);
  padding: var(--s3) var(--s4);
  border-top: 1px solid var(--rule);
  font-size: .84rem;
  color: var(--ink-2);
}
.find-map figcaption .btn { padding: 9px 16px; font-size: .84rem; }
.office-band { align-items: center; }
.find-photo { position: relative; }
.find-photo img {
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: cover;
  transition: transform .9s var(--ease-spring);
}
.find-photo:hover img { transform: scale(1.04); }
.find-photo figcaption {
  padding: var(--s4) var(--s5);
  border-top: 1px solid var(--rule);
  font-size: .86rem;
  color: var(--ink-2);
  line-height: 1.55;
}

/* --- Access plan (animated route to the office) -------------------------- */
/* A drafting-style site plan: roads draw in, the pin drops on the office,
   then the route traces off Wensley Rd, up John Wesley Lane, into the door.
   Everything keys off .am-play, which app.js adds when the plan scrolls in. */
.am {
  display: block;
  width: 100%;
  height: auto;
  background:
    linear-gradient(to right, var(--rule-soft) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(to bottom, var(--rule-soft) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--paper);
}
.am-blocks polygon { fill: #DCE3E6; stroke: rgba(22,36,44,.10); stroke-width: 1.5; }
.am-tree { fill: rgba(19,168,158,.13); stroke: rgba(19,168,158,.25); stroke-width: 1.5; }
.am-case { fill: none; stroke: #C9D3D8; stroke-width: 56; stroke-linejoin: round; }
.am-case--lane { stroke-width: 32; }
.am-case--minor { stroke-width: 46; }
.am-road { fill: none; stroke: #FFFFFF; stroke-width: 50; stroke-linejoin: round; }
.am-road--lane { stroke-width: 26; }
.am-road--minor { stroke-width: 40; }
.am-lot { fill: rgba(176,146,96,.10); stroke: rgba(176,146,96,.28); stroke-width: 1.5; stroke-dasharray: 6 5; }
.am-roundabout { fill: #DCE3E6; stroke: #C9D3D8; stroke-width: 2; }
.am-labels text {
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: .16em;
  fill: var(--ink-3);
  text-anchor: middle;
  dominant-baseline: central;
}
.am-labels .am-label--lane { font-size: 15px; letter-spacing: .12em; }
.am-labels .am-label--minor { font-size: 16px; fill: var(--ink-4); }
.am-office { fill: rgba(0,178,217,.22); stroke: var(--cyan-dark); stroke-width: 2.5; stroke-linejoin: round; }

.am-route {
  fill: none; stroke: var(--cyan); stroke-width: 11;
  stroke-linecap: round; stroke-linejoin: round;
}
.am-route-ants {
  fill: none; stroke: #fff; stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: .018 .03;
  opacity: .9;
}
.am-arrow { fill: var(--cyan); }
.am-start__halo { fill: rgba(0,178,217,.20); }
.am-start__dot { fill: var(--cyan-dark); stroke: #fff; stroke-width: 3; }

.am-pin path { fill: var(--blue); stroke: #fff; stroke-width: 2.5; }
.am-pin circle { fill: #fff; }
.am-pulse { fill: rgba(41,116,167,.28); }

.am-card rect {
  fill: var(--surface);
  stroke: var(--rule);
  stroke-width: 1.5;
  filter: drop-shadow(0 10px 18px rgba(14,26,32,.14));
}
.am-card--address rect { stroke: rgba(41,116,167,.45); }
.am-card--access rect { stroke: rgba(0,178,217,.55); }
.am-card__big { font-family: var(--display); font-weight: 700; font-size: 23px; letter-spacing: -.02em; fill: var(--ink); }
.am-card__small { font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em; fill: var(--ink-3); }

.am-pin, .am-pulse, .am-card, .am-start, .am-arrow {
  transform-box: fill-box;
}
.am-pin { transform-origin: 50% 100%; }
.am-pulse, .am-start, .am-arrow { transform-origin: 50% 50%; }
.am-card { transform-origin: 0% 100%; }

/* --- the sequence --- */
.am-play .am-case,
.am-play .am-road { stroke-dasharray: 1; animation: amDraw 1s var(--ease-out) both; }
.am-play .am-roads > :nth-child(2),
.am-play .am-roads > :nth-child(6) { animation-delay: .15s; }
.am-play .am-roads > :nth-child(3),
.am-play .am-roads > :nth-child(7) { animation-delay: .35s; }
.am-play .am-roads > :nth-child(4),
.am-play .am-roads > :nth-child(8) { animation-delay: .25s; }
.am-play .am-roundabout,
.am-play .am-blocks,
.am-play .am-lot,
.am-play .am-tree { animation: amFade .6s var(--ease-out) .45s both; }
.am-play .am-labels { animation: amFade .6s var(--ease-out) .8s both; }
.am-play .am-office { animation: amFade .5s var(--ease-out) 1s both; }
.am-play .am-pin { animation: amDrop .75s var(--ease-spring) 1.05s both; }
.am-play .am-pulse { animation: amPulse 2.2s var(--ease-out) 1.6s infinite both; }
.am-play .am-card--address { animation: amPop .6s var(--ease-spring) 1.4s both; }
.am-play .am-start { animation: amPop .5s var(--ease-spring) 1.75s both; }
.am-play .am-card--access { animation: amPop .6s var(--ease-spring) 1.9s both; }
.am-play .am-route { stroke-dasharray: 1; animation: amDraw 1.5s cubic-bezier(.45,0,.2,1) 2s both; }
.am-play .am-arrow { animation: amPop .45s var(--ease-spring) 3.4s both; }
.am-play .am-route-ants { animation: amFade .4s linear 3.5s both, amMarch 1.1s linear 3.5s infinite; }

/* pedestrian route: green footsteps, revealed by a mask that draws in */
.am-walk {
  fill: none; stroke: #4E9A2A; stroke-width: 8;
  stroke-linecap: round; stroke-dasharray: 0 .03;
}
.am-walk-reveal { fill: none; stroke: #fff; stroke-width: 30; stroke-linecap: round; stroke-linejoin: round; }
.am-walk-arrow { fill: #4E9A2A; }
.am-walk-start__halo { fill: rgba(111,186,68,.22); }
.am-walk-start__dot { fill: #4E9A2A; stroke: #fff; stroke-width: 3; }
.am-leader { stroke: rgba(78,154,42,.55); stroke-width: 2; stroke-dasharray: 4 5; }
.am-card--walk rect { stroke: rgba(78,154,42,.55); }
.am-walk-start, .am-walk-arrow { transform-box: fill-box; transform-origin: 50% 50%; }

.am-play .am-card--walk { animation: amPop .6s var(--ease-spring) 3.6s both; }
.am-play .am-leader { animation: amFade .4s var(--ease-out) 3.8s both; }
.am-play .am-walk-start { animation: amPop .5s var(--ease-spring) 3.9s both; }
.am-play .am-walk-reveal { stroke-dasharray: 1; animation: amDraw 1s cubic-bezier(.45,0,.2,1) 4s both; }
.am-play .am-walk-arrow { animation: amPop .45s var(--ease-spring) 4.9s both; }

@keyframes amDraw  { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes amFade  { from { opacity: 0; } }
@keyframes amDrop  { 0% { opacity: 0; transform: translateY(-46px) scale(.8); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes amPop   { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes amPulse { 0% { opacity: .9; transform: scale(.5); } 100% { opacity: 0; transform: scale(2.1); } }
@keyframes amMarch { to { stroke-dashoffset: -.048; } }

.am-actions { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.am-replay {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 14px;
  border: 0; border-radius: 999px;
  background: transparent;
  font-size: .84rem; font-weight: 600; color: var(--ink-2);
  cursor: pointer;
  transition: background-color .22s var(--ease-out), color .22s var(--ease-out), transform .3s var(--ease-spring);
}
.am-replay svg { transition: transform .5s var(--ease-spring); }
.am-replay:hover { background: rgba(0,178,217,.10); color: var(--ink); }
.am-replay:hover svg { transform: rotate(-160deg); }
.am-replay:active { transform: scale(.96); }

/* --- Responsive ----------------------------------------------------------- */
/* Six tabs now sit here instead of five, and the header CTA button is gone.
   The phone number is the first thing to give up its space. */
@media (max-width: 1140px) {
  .header-phone { display: none; }
  .nav a { padding: 9px 11px; font-size: .92rem; }
  .header-inner { gap: var(--s4); }
}

@media (max-width: 1000px) {
  /* below this the six links cannot sit next to the wordmark */
  .nav { display: none; }
  .burger { display: flex; }
  .header-inner { min-height: 66px; gap: 12px; }
  .brand-mark { width: 30px; }
  .brand-name b { font-size: .86rem; }
  .drawer { inset: 66px 0 0; }

  .services { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .service { grid-column: span 2; }
  .service:nth-child(4), .service:nth-child(5) { grid-column: span 2; }
  .service:nth-child(5) { grid-column: span 4; }
  .team-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .rates { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gal { columns: 2; }
  .find-photo img { max-height: 360px; }
}

@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .sec-head { grid-template-columns: 1fr; align-items: start; }
  .cta-band__inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  /* process becomes a vertical timeline: circle on the left, connector running down */
  .process { grid-template-columns: minmax(0, 1fr); gap: var(--s6); max-width: 640px; }
  .step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: var(--s4); }
  .step__num { grid-row: 1 / span 2; margin-bottom: 0; }
  .step h3 { min-height: 44px; display: flex; align-items: center; margin-bottom: 2px; }
  .step:not(:last-child)::before,
  .step:not(:last-child)::after {
    top: 49px; bottom: calc(5px - var(--s6));
    left: 21.25px; right: auto; width: 1.5px; height: auto;
  }
  .step:not(:last-child)::before {
    background: linear-gradient(180deg, transparent 25%, var(--rule-ink) 25% 75%, transparent 75%) 0 0 / 100% 12px round;
  }
  .step:not(:last-child)::after {
    background: linear-gradient(180deg, var(--cyan), var(--teal) 55%, var(--green)) 0 0 / 100% 300% no-repeat;
    transform: scaleY(0); transform-origin: top;
  }
  .step:nth-child(2)::after { background-position: 0 50%; }
  .step:nth-child(3)::after { background-position: 0 100%; }
  .process.is-in .step::after { transform: scaleY(1); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s6); }
  .pf-grid { grid-template-columns: 1fr; }
  .pf-card { aspect-ratio: 16/11; }
  .pf-card__body p { max-height: 90px; opacity: 1; }
  .fb-card { grid-template-columns: auto minmax(0, 1fr); }
  .fb-card__btn { grid-column: 1 / -1; justify-content: center; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .trust__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .services { grid-template-columns: 1fr; }
  .service, .service:nth-child(4), .service:nth-child(5) { grid-column: span 1; }
  .team-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gal { columns: 1; }
  .mobile-bar { display: flex; }
  .site-footer { padding-bottom: 96px; }

  /* the wordmark and the CTA cannot both fit, and the sticky bar at the foot
     already carries "Free estimate" — so the header keeps the brand */
  .brand-name b { font-size: .84rem; }
  .brand-name span { display: none; }
  .header-cta .btn { display: none; }

  /* the dimension string is set out for a landscape crop — hide it rather
     than let it stretch across a portrait hero */
  .hero__draw { display: none; }

  /* a portrait crop puts the photograph behind the headline, not beside it,
     so the scrim has to run top-to-bottom here */
  .hero__media::after {
    background: linear-gradient(180deg, rgba(11,21,27,.86) 0%, rgba(11,21,27,.74) 55%, rgba(11,21,27,.88) 100%);
  }

  /* pricing rows stack: full-width name, then bar and value share a line */
  .prow {
    grid-template-columns: minmax(0,1fr) auto;
    grid-template-areas: "name name" "bar val";
    gap: 6px var(--s3);
    padding: 15px var(--s4);
  }
  .prow__name { grid-area: name; font-size: .95rem; }
  .prow__name em { font-size: .58rem; letter-spacing: .1em; }
  .prow__val  { grid-area: val; font-size: .82rem; }
  .prow__bar  { grid-area: bar; height: 18px; }
  /* the bar column no longer spans the full row here, so a labelled ruler
     above it would point at the wrong dollar figures — drop it and let the
     printed range next to each bar carry the numbers */
  .price-scale { display: none; }
  .price-panel__head, .price-foot { padding: var(--s4); }
  .price-foot .btn { width: 100%; }

  .field--2 { grid-template-columns: 1fr; }
  .accred img { height: 36px; }
  .accred img.is-wide { height: 38px; }

  /* three columns of dollar figures do not fit a phone — each row becomes its
     own small card with the council name printed against its figure */
  .fee-table, .fee-table thead, .fee-table tbody, .fee-table tr,
  .fee-table th, .fee-table td { display: block; }
  .fee-table thead { display: none; }
  .fee-table tbody tr {
    border: 1px solid var(--rule);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    background: var(--surface);
  }
  .fee-table tbody tr:last-child { margin-bottom: 0; }
  .fee-table tbody th { border-bottom: 1px solid var(--rule-soft); }
  .fee-table tbody td {
    display: flex;
    justify-content: space-between;
    gap: var(--s4);
    text-align: right;
  }
  .fee-table tbody td::before {
    content: attr(data-label);
    font-family: var(--mono);
    font-size: .6rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-4);
    text-align: left;
    flex: none;
    align-self: center;
  }
  .fee-table tbody tr:last-child td { border-bottom: 0; }

  .fb-card { grid-template-columns: 1fr; text-align: left; }
  .fb-card__btn { width: 100%; }
  .find-map figcaption { flex-direction: column; align-items: flex-start; }
  .find-map figcaption .btn { width: 100%; }
}

@media (max-width: 560px) {
  /* at this width a dollar range and its council label cannot share a line
     without the figure breaking mid-range — stack the label above it */
  .fee-table tbody td {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    text-align: left;
  }
  .fee-table tbody td::before { align-self: flex-start; }

  /* people read better as a single column of horizontal cards than as
     two cramped columns where every name wraps */
  .team-grid { grid-template-columns: 1fr; }
  .person { display: grid; grid-template-columns: 118px minmax(0, 1fr); align-items: stretch; }
  .person__pic { aspect-ratio: auto; height: 100%; min-height: 158px; }
  .person__pic img { object-position: 50% 18%; }
  .person__body { padding: var(--s4); }
  .person__body h3 { font-size: 1rem; }
  .person__role { font-size: .8rem; }
  .person__bio { font-size: .84rem; margin-top: 9px; }
  .person__mail { margin-top: 10px; font-size: .72rem; }
  .person__ride { margin-top: 10px; }
}

@media (max-width: 460px) {
  .hero__actions .btn { width: 100%; }
}

/* --- Reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .step::after, .step__num, .step__num::after { transition-delay: 0s !important; }
  .hero h1 .ln > span { transform: none; }
  .hero__fade { opacity: 1; }
}

/* --- Print ---------------------------------------------------------------- */
@media print {
  .site-header, .mobile-bar, .progress, .hero__draw { display: none; }
  body::before, body::after { display: none; }
}
