/* ============================================================
   Mahon Glazing & Exteriors — refresh
   Palette: deep navy, bright blue, brushed silver (unchanged)
   ============================================================ */

:root {
  --bg: #080b12;
  --bg-2: #0b101b;
  --surface: #111a2b;
  --surface-2: #16223a;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);

  --blue: #2b8cf0;
  --blue-2: #1f6fe0;
  --blue-soft: rgba(43, 140, 240, 0.14);
  --silver: #c8d1de;
  --silver-2: #8b97a8;

  --text: #eef2f8;
  --muted: #9aa6b8;

  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --grad: linear-gradient(120deg, #7cc0ff 0%, #2b8cf0 50%, #e2e9f2 100%);
  --font-display: "Outfit", sans-serif;
  --font-body: "Figtree", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
}
.skip-link:focus { left: 0; top: 0; }

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark svg { display: block; }
.mark-roof { fill: var(--blue); }
.mark-house { fill: none; stroke: var(--silver); stroke-width: 2; stroke-linejoin: round; }
.mark-m {
  fill: var(--silver);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong {
  font-family: var(--font-display);
  font-size: 1.12rem;
  letter-spacing: 0.16em;
  color: #fff;
}
.brand__text small {
  font-size: 0.54rem;
  letter-spacing: 0.24em;
  color: var(--silver-2);
  margin-top: 4px;
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 18px 0;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s, padding 0.35s, backdrop-filter 0.35s;
}
.nav.is-scrolled {
  padding: 12px 0;
  background: rgba(8, 11, 18, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav__links a:hover { color: #fff; }
.nav__cta {
  color: #fff !important;
  background: var(--blue);
  padding: 10px 18px !important;
  font-weight: 600 !important;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: background 0.2s, transform 0.2s var(--ease) !important;
}
.nav__cta:hover { background: var(--blue-2); transform: translateY(-1px); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: 0.3s var(--ease);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 28px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn svg { fill: currentColor; }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 16px 36px -16px rgba(43, 140, 240, 0.85);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -16px rgba(43, 140, 240, 0.95);
}
.btn--ghost {
  color: #fff;
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}
.btn--light {
  color: var(--blue-2);
  background: #fff;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.btn--light:hover { background: #eaf2ff; transform: translateY(-2px); }
.btn--block { width: 100%; clip-path: none; }
.btn:disabled { opacity: 0.65; cursor: wait; transform: none; }

/* ============================================================
   HERO — full-bleed, brand-first composition
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 120px 0 72px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bg);
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  transform: scale(1.08);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to { transform: scale(1.02); }
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 11, 18, 0.94) 0%, rgba(8, 11, 18, 0.72) 42%, rgba(8, 11, 18, 0.28) 72%, rgba(8, 11, 18, 0.55) 100%),
    linear-gradient(180deg, rgba(8, 11, 18, 0.55) 0%, transparent 28%, transparent 58%, rgba(8, 11, 18, 0.92) 100%);
}
.hero__glass {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 160px 160px;
  -webkit-mask-image: radial-gradient(90% 80% at 78% 35%, #000 0%, transparent 68%);
  mask-image: radial-gradient(90% 80% at 78% 35%, #000 0%, transparent 68%);
  animation: glassDrift 22s linear infinite;
}
@keyframes glassDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 160px 80px, 80px 160px; }
}

.hero__inner { max-width: 720px; }
.hero__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 11vw, 7.5rem);
  letter-spacing: 0.08em;
  line-height: 0.9;
  color: #fff;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}
.hero__subbrand {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(0.78rem, 1.5vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--silver);
}
.hero h1 {
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4.2vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.hero__lead {
  margin-top: 18px;
  max-width: 42ch;
  color: #d4dbe6;
  font-size: 1.08rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* Trust strip — below first viewport */
.trust {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17, 26, 43, 0.75), rgba(8, 11, 18, 0.4));
}
.trust__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 28px 0;
}
.trust__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 16px;
  border-left: 2px solid var(--blue);
}
.trust__item strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}
.trust__item span {
  font-size: 0.84rem;
  color: var(--muted);
}

/* ---------- sections ---------- */
.section { padding: 104px 0; position: relative; }
.section--why,
.section--work,
.section--testimonials {
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(43, 140, 240, 0.08), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
  border-block: 1px solid var(--line);
}
.section__head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}
.section__head--left {
  margin-left: 0;
  text-align: left;
  max-width: 560px;
}
.section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.section__head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---------- services (interactive tiles) ---------- */
.service-list {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.service-tile {
  position: relative;
  grid-column: span 3;
  min-height: 280px;
  overflow: hidden;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
  background: var(--surface);
  isolation: isolate;
}
.service-tile--featured { grid-column: span 6; grid-row: span 2; min-height: 100%; }
.service-tile--wide { grid-column: span 6; }

.service-tile__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--img) center / cover no-repeat;
  transform: scale(1.04);
  transition: transform 0.7s var(--ease);
}
.service-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 11, 18, 0.15) 0%, rgba(8, 11, 18, 0.55) 45%, rgba(8, 11, 18, 0.94) 100%);
  transition: background 0.4s;
}
.service-tile__copy {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
}
.service-tile__label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--blue);
}
.service-tile h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}
.service-tile--featured h3 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); }
.service-tile p {
  color: #c4cdd9;
  font-size: 0.92rem;
  max-width: 34ch;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.35s, max-height 0.35s;
}
.service-tile--featured p,
.service-tile:hover p,
.service-tile:focus-visible p {
  opacity: 1;
  max-height: 90px;
}
.service-tile__go {
  margin-top: 6px;
  width: fit-content;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background: var(--blue);
  padding: 7px 12px;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  opacity: 0;
  transform: translateY(8px);
  transition: 0.35s var(--ease);
}
.service-tile:hover .service-tile__media,
.service-tile:focus-visible .service-tile__media { transform: scale(1.1); }
.service-tile:hover::after,
.service-tile:focus-visible::after {
  background: linear-gradient(180deg, rgba(31, 111, 224, 0.22) 0%, rgba(8, 11, 18, 0.55) 48%, rgba(8, 11, 18, 0.96) 100%);
}
.service-tile:hover .service-tile__go,
.service-tile:focus-visible .service-tile__go {
  opacity: 1;
  transform: none;
}
.service-tile:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ---------- why list (no cards) ---------- */
.why-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  border-top: 1px solid var(--line);
}
.why-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.why-item__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
  padding-top: 4px;
}
.why-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.why-item p { color: var(--muted); font-size: 0.95rem; }

/* ---------- process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
  border-top: 1px solid var(--line);
}
.step {
  position: relative;
  padding: 36px 24px 8px 0;
  border-right: 1px solid var(--line);
}
.step:last-child { border-right: 0; padding-right: 0; }
.step__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(43, 140, 240, 0.55);
  margin-bottom: 22px;
  transition: color 0.3s, -webkit-text-stroke 0.3s;
}
.step:hover .step__num {
  color: var(--blue);
  -webkit-text-stroke: 0;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.step p { color: var(--muted); font-size: 0.92rem; max-width: 28ch; }

/* ---------- work gallery ---------- */
.work-spotlight {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  margin-bottom: 28px;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.work-spotlight__media { min-height: 280px; }
.work-spotlight__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-spotlight__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 32px;
  border-left: 1px solid var(--line);
}
.work-spotlight__tag {
  width: fit-content;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.work-spotlight__body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.2;
  margin-bottom: 12px;
}
.work-spotlight__body p { color: var(--muted); }
.work-spotlight__cta {
  margin-top: 24px;
  width: fit-content;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--blue);
}
.work-spotlight__cta:hover { color: #fff; }

.work-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.work-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.work-filter {
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}
.work-filter:hover,
.work-filter.is-active {
  color: #fff;
  border-color: rgba(43, 140, 240, 0.45);
  background: var(--blue-soft);
}
.work-count { color: var(--silver-2); font-size: 0.82rem; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.work-card {
  position: relative;
  grid-column: span 4;
  min-height: 230px;
  overflow: hidden;
  border: 1px solid var(--line);
  padding: 0;
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.35s, transform 0.35s var(--ease);
}
.work-card--wide { grid-column: span 8; min-height: 280px; }
.work-card--tall { grid-row: span 2; min-height: 100%; }
.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}
.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 11, 18, 0.9));
}
.work-card__meta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
}
.work-card__tag {
  display: block;
  margin-bottom: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}
.work-card__cap {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}
.work-card__zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-2);
  background: rgba(8, 11, 18, 0.55)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E")
    center / 15px no-repeat;
  opacity: 0;
  transform: scale(0.9);
  transition: 0.3s var(--ease);
}
.work-card:hover,
.work-card:focus-visible {
  border-color: rgba(43, 140, 240, 0.5);
  transform: translateY(-3px);
  outline: none;
}
.work-card:hover img,
.work-card:focus-visible img { transform: scale(1.06); }
.work-card:hover .work-card__zoom,
.work-card:focus-visible .work-card__zoom {
  opacity: 1;
  transform: none;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
}
.cta-band__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.cta-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.cta-band__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 11, 18, 0.92), rgba(8, 11, 18, 0.72) 55%, rgba(8, 11, 18, 0.85)),
    linear-gradient(180deg, rgba(8, 11, 18, 0.35), rgba(8, 11, 18, 0.55));
}
.cta-band__inner { max-width: 620px; }
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
}
.cta-band p {
  margin-top: 14px;
  color: #d4dbe6;
  font-size: 1.05rem;
  max-width: 46ch;
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}
.contact__info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.contact__info > p {
  margin-top: 16px;
  color: var(--muted);
  max-width: 42ch;
}
.contact__details {
  margin-top: 36px;
  display: grid;
  gap: 18px;
}
.contact__details li {
  display: grid;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.contact__details small {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}
.contact__details a,
.contact__details span {
  font-size: 1.05rem;
  color: #fff;
}
.contact__details a:hover { color: var(--blue); }

.contact__form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(17, 26, 43, 0.9), rgba(11, 16, 27, 0.7));
  border: 1px solid var(--line);
}
.field { display: grid; gap: 8px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver-2);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-2);
  background: rgba(8, 11, 18, 0.55);
  color: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}
.field textarea { resize: vertical; min-height: 110px; }
.field select option { background: var(--bg-2); }
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}
.form__note {
  min-height: 1.4em;
  font-size: 0.9rem;
  color: var(--silver);
}

/* ---------- testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.testimonial {
  display: flex;
  flex-direction: column;
  padding: 8px 0 0;
  border-top: 1px solid var(--line);
}
.testimonial--featured {
  padding-right: 12px;
  border-top-color: rgba(43, 140, 240, 0.55);
}
.testimonial__stars {
  color: #f5c451;
  letter-spacing: 0.08em;
  margin: 18px 0 14px;
  font-size: 0.95rem;
}
.testimonial__quote { flex: 1; }
.testimonial__quote p {
  color: #dce3ee;
  font-size: 1rem;
  line-height: 1.7;
}
.testimonial--featured .testimonial__quote p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.01em;
}
.testimonial__author {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.testimonial__author cite {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  color: #fff;
}
.testimonial__tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding-top: 48px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer__brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.footer__brand strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  font-size: 1.05rem;
}
.footer__brand small {
  display: block;
  margin-top: 4px;
  font-size: 0.54rem;
  letter-spacing: 0.22em;
  color: var(--silver-2);
}
.footer__brand p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer__links {
  display: grid;
  gap: 10px;
  align-content: start;
}
.footer__links a { color: var(--muted); transition: color 0.2s; }
.footer__links a:hover { color: #fff; }
.footer__contact {
  display: grid;
  gap: 10px;
  align-content: start;
}
.footer__contact a {
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff;
}
.footer__contact a:hover { color: var(--blue); }
.footer__base {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  color: var(--silver-2);
  font-size: 0.82rem;
}
.footer__base .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__base a { color: var(--silver); }
.footer__base a:hover { color: var(--blue); }

/* ---------- mobile call FAB ---------- */
.fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: none;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  box-shadow: 0 16px 32px -12px rgba(43, 140, 240, 0.8);
}
.fab svg { fill: currentColor; }

/* ---------- service modal ---------- */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.service-modal.is-open { opacity: 1; visibility: visible; }
.service-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 11, 0.88);
  backdrop-filter: blur(8px);
}
.service-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
  max-height: min(90vh, 900px);
  overflow: auto;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  padding: 28px 24px 24px;
  transform: translateY(16px);
  transition: transform 0.35s var(--ease);
}
.service-modal.is-open .service-modal__panel { transform: none; }
.service-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-2);
  background: rgba(8, 11, 18, 0.7);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.service-modal__close:hover { background: var(--blue); border-color: var(--blue); }
.service-modal__head { padding-right: 44px; margin-bottom: 24px; }
.service-modal__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-top: 4px;
}
.service-modal__head p { color: var(--muted); margin-top: 12px; max-width: 60ch; }
.service-modal__section { margin-bottom: 26px; }
.service-modal__section h3 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.service-modal__choices {
  display: grid;
  gap: 10px;
}
.service-modal__styles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.service-choices-note,
.service-spec-note {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 14px;
  max-width: 62ch;
}
.service-spec-note {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-left: 2px solid var(--blue);
  background: var(--blue-soft);
  color: #dce3ee;
  font-family: var(--font-display);
  font-weight: 500;
}
.choice-group {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.choice-group__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.choice-group__summary::-webkit-details-marker { display: none; }
.choice-group__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}
.choice-group__hint {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}
.choice-group.is-open .choice-group__hint,
.choice-group[open] .choice-group__hint {
  transform: rotate(-135deg);
  margin-top: 6px;
}
.choice-group__options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 14px 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.service-style {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(8, 11, 18, 0.35);
}
.service-style__img {
  width: 88px;
  height: 72px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.service-style strong { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.service-style span { color: var(--muted); font-size: 0.82rem; line-height: 1.45; }
.service-modal__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.service-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
}
.service-shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.service-shot figcaption {
  padding: 10px 12px;
  font-size: 0.84rem;
  color: var(--silver);
  border-top: 1px solid var(--line);
}
.service-modal__foot {
  display: flex;
  justify-content: flex-end;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 4vw;
  background: rgba(4, 6, 11, 0.92);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__stage { margin: 0; max-width: 1000px; width: 100%; text-align: center; }
.lightbox__stage img {
  max-width: 100%;
  max-height: 80vh;
  margin: 0 auto;
  border: 1px solid var(--line-2);
  transform: scale(0.96);
  transition: transform 0.3s var(--ease);
}
.lightbox.is-open .lightbox__stage img { transform: scale(1); }
.lightbox__stage figcaption {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: background 0.2s, border-color 0.2s;
}
.lightbox__close { top: 20px; right: 20px; width: 46px; height: 46px; font-size: 1.7rem; }
.lightbox__nav { top: 50%; width: 48px; height: 48px; font-size: 1.8rem; transform: translateY(-50%); }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--blue); border-color: var(--blue); }

/* ---------- reveals ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.hero .reveal:nth-child(1) { transition-delay: 0.05s; }
.hero .reveal:nth-child(2) { transition-delay: 0.12s; }
.hero .reveal:nth-child(3) { transition-delay: 0.2s; }
.hero .reveal:nth-child(4) { transition-delay: 0.28s; }
.hero .reveal:nth-child(5) { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__bg img { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .service-tile,
  .service-tile--featured,
  .service-tile--wide { grid-column: span 6; }
  .service-tile--featured { grid-row: span 1; min-height: 320px; }
  .why-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
    padding-bottom: 28px;
  }
  .work-spotlight { grid-template-columns: 1fr; }
  .work-spotlight__body { border-left: 0; border-top: 1px solid var(--line); }
  .contact { grid-template-columns: 1fr; gap: 36px; }
  .testimonials { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    inset: 72px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: rgba(8, 11, 18, 0.96);
    border: 1px solid var(--line);
    backdrop-filter: blur(16px);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
  }
  .nav__cta {
    margin-top: 8px;
    text-align: center;
    clip-path: none;
  }

  .hero { padding: 110px 0 56px; align-items: center; }
  .hero__brand { letter-spacing: 0.06em; }
  .trust__inner { grid-template-columns: 1fr 1fr; gap: 18px; }
  .service-tile,
  .service-tile--featured,
  .service-tile--wide { grid-column: span 12; min-height: 240px; }
  .service-tile p { opacity: 1; max-height: 90px; }
  .service-tile__go { opacity: 1; transform: none; }
  .steps { grid-template-columns: 1fr; }
  .step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 24px 0;
  }
  .step:last-child { border-bottom: 0; }
  .work-card,
  .work-card--wide { grid-column: span 12; min-height: 220px; }
  .work-card--tall { grid-row: span 1; }
  .field-row { grid-template-columns: 1fr; }
  .choice-group__options,
  .service-modal__styles,
  .service-modal__gallery { grid-template-columns: 1fr; }
  .fab { display: grid; }
  .lightbox__nav { display: none; }
}

@media (max-width: 480px) {
  .trust__inner { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; clip-path: none; }
  .cta-band__actions .btn { width: 100%; clip-path: none; }
}
