/* ============================================================
   NORTHLINE HOUSE WORKS — Premium Design System
   ============================================================ */

:root {
  /* Color System — Refined palette with depth */
  --bg-deep: #080b09;
  --bg: #0f1412;
  --bg-raised: #151c19;
  --bg-elevated: #1a2320;
  --panel: #1d2723;

  --text: #f4f4f0;
  --text-secondary: #c8cdc9;
  --muted: #9ba59e;
  --dim: #6b756e;

  --line: rgba(236, 239, 235, 0.08);
  --line-subtle: rgba(236, 239, 235, 0.05);
  --line-strong: rgba(236, 239, 235, 0.16);

  /* Accent — Warm brass/gold refined */
  --accent: #c9a254;
  --accent-hover: #d4b06a;
  --accent-muted: #8a7341;
  --accent-glow: rgba(201, 162, 84, 0.08);

  --ink: #18130c;
  --success: #7db87d;
  --error: #c87d7d;

  /* Spacing — More generous rhythm */
  --max-width: 1280px;
  --radius-xs: 3px;
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.12);

  /* Fixed z-index scale */
  --z-base: 0;
  --z-content: 10;
  --z-header: 100;
  --z-overlay: 200;
  --z-float: 300;

  /* Fluid spacing */
  --space-3xs: clamp(0.25rem, 0.22rem + 0.12vw, 0.35rem);
  --space-2xs: clamp(0.44rem, 0.4rem + 0.18vw, 0.58rem);
  --space-xs: clamp(0.7rem, 0.62rem + 0.38vw, 1rem);
  --space-sm: clamp(1rem, 0.88rem + 0.54vw, 1.4rem);
  --space-md: clamp(1.4rem, 1.2rem + 0.9vw, 2.1rem);
  --space-lg: clamp(2rem, 1.7rem + 1.4vw, 3.2rem);
  --space-xl: clamp(2.8rem, 2.3rem + 2.2vw, 4.6rem);
  --space-2xl: clamp(4rem, 3.2rem + 3.6vw, 7rem);
  --space-3xl: clamp(5.5rem, 4.4rem + 5vw, 9.5rem);
}

/* ============================================================
   BASE RESET & GLOBALS
   ============================================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  font-weight: 420;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* Subtle texture overlay for depth */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: var(--z-base);
  background-image: url("../images/grain-texture.png");
  background-size: 200px;
  opacity: 0.35;
  mix-blend-mode: overlay;
}

/* ============================================================
   TYPOGRAPHY — Refined hierarchy with tension
   ============================================================ */

h1,
h2,
h3,
h4 {
  font-family: "Bodoni Moda", "Didot", "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.6rem, 1.6rem + 4.2vw, 5.2rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(2rem, 1.5rem + 2.1vw, 3.4rem);
}

h3 {
  font-size: clamp(1.25rem, 1.15rem + 0.45vw, 1.58rem);
  font-weight: 500;
}

h4 {
  font-size: clamp(1.1rem, 1.04rem + 0.3vw, 1.3rem);
  font-weight: 600;
}

p,
li,
dt,
dd,
label,
summary,
blockquote,
cite {
  text-wrap: pretty;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 150ms ease-out;
}

button,
input,
select,
textarea {
  font: inherit;
}

ul,
ol,
dl {
  margin: 0;
  padding: 0;
}

.num {
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   SKIP LINK — Accessibility
   ============================================================ */

.skip-link {
  position: fixed;
  top: -100%;
  left: var(--space-md);
  z-index: 9999;
  background: var(--accent);
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1.2rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.skip-link:focus-visible {
  top: var(--space-md);
}

/* ============================================================
   CONTAINER
   ============================================================ */

.container {
  width: min(var(--max-width), calc(100% - 2 * var(--space-lg)));
  margin-inline: auto;
  position: relative;
  z-index: var(--z-content);
}

/* ============================================================
   SIGNAL BAR — Top status strip
   ============================================================ */

.signal-bar {
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
  position: relative;
  z-index: var(--z-header);
}

.signal-inner {
  min-height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.signal-inner p,
.signal-inner a {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--dim);
  font-size: 0.82rem;
  font-weight: 500;
}

.signal-inner a {
  color: var(--accent);
}

.signal-inner a:hover {
  color: var(--accent-hover);
}

.signal-inner i {
  width: 0.9rem;
  height: 0.9rem;
}

/* ============================================================
   HEADER — Sticky navigation
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background-color 200ms ease-out, border-color 200ms ease-out;
}

.site-header.is-scrolled {
  background: rgba(15, 20, 18, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: var(--line);
}

.nav-shell {
  min-height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

/* Brand */
.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
  line-height: 1;
}

.brand-mark {
  font-family: "Bodoni Moda", serif;
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.38rem);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--dim);
  font-weight: 500;
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.site-nav a:not(.btn) {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.4rem 0;
  position: relative;
}

.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease-out;
}

.site-nav a:not(.btn):hover {
  color: var(--text);
}

.site-nav a:not(.btn):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--bg-raised);
  color: var(--text);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
}

.menu-toggle span {
  width: 1rem;
  height: 1.5px;
  display: block;
  background: var(--text);
  transition: transform 180ms ease-out, opacity 180ms ease-out;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ============================================================
   BUTTONS — Refined with better hover states
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  padding: 0.9rem 1.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 180ms ease-out, background-color 180ms ease-out,
    color 180ms ease-out, border-color 180ms ease-out, box-shadow 180ms ease-out;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(201, 162, 84, 0.2);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 16px rgba(201, 162, 84, 0.3);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--accent-muted);
  background: var(--accent-glow);
}

.btn-small {
  padding: 0.65rem 1.1rem;
  font-size: 0.86rem;
}

/* ============================================================
   EYEBROW — Section label
   ============================================================ */

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
}

/* ============================================================
   HERO — Asymmetric, premium layout
   ============================================================ */

.hero {
  padding-block: var(--space-2xl) var(--space-xl);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-raised) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  max-width: 14ch;
  color: var(--text);
}

.hero-copy h1 span {
  color: var(--accent);
}

.hero-lead {
  margin: var(--space-md) 0 var(--space-lg);
  color: var(--text-secondary);
  font-size: clamp(1.02rem, 0.96rem + 0.28vw, 1.18rem);
  max-width: 48ch;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-image-wrap {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-deep);
  position: relative;
}

.hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.hero-image-wrap img {
  width: 100%;
  height: clamp(28rem, 65vw, 48rem);
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
}

/* Hero Notes — Floating callouts */
.hero-note {
  position: absolute;
  max-width: 15rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  background: rgba(15, 20, 18, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
  box-shadow: var(--shadow-md);
}

.hero-note p {
  margin: 0;
}

.hero-note::before {
  content: "";
  position: absolute;
  top: var(--space-sm);
  left: calc(-1 * var(--space-xs));
  width: 3px;
  height: 1.2rem;
  background: var(--accent);
  border-radius: 2px;
}

.hero-note-top {
  left: -12%;
  top: 12%;
}

.hero-note-bottom {
  right: -8%;
  bottom: 18%;
}

/* ============================================================
   TRUST BAR — Compact metrics strip
   ============================================================ */

.trust-bar {
  background: var(--bg-raised);
  border-block: 1px solid var(--line);
  padding-block: var(--space-md);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.trust-credentials {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.trust-credentials span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: var(--bg);
}

.trust-metrics {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.trust-metric {
  text-align: center;
}

.trust-num {
  display: block;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(1.4rem, 1.2rem + 0.9vw, 2.1rem);
  font-weight: 500;
  color: var(--text);
  line-height: 1.1;
}

.trust-label {
  display: block;
  font-size: 0.74rem;
  color: var(--dim);
  margin-top: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   SECTIONS — Generous vertical rhythm
   ============================================================ */

.section {
  padding-block: var(--space-3xl);
}

.section-header {
  max-width: 54rem;
  margin-bottom: var(--space-xl);
}

.section-header .eyebrow {
  margin-bottom: var(--space-xs);
}

.section-header h2 {
  margin: 0;
}

.section-header p {
  margin-top: var(--space-sm);
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ============================================================
   SERVICES — Asymmetric featured layout
   ============================================================ */

.section--services {
  background: var(--bg);
}

.service-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.service-featured {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
}

.service-featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-muted));
}

.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.service-icon i {
  width: 1.4rem;
  height: 1.4rem;
}

.service-featured h3 {
  font-size: clamp(1.4rem, 1.25rem + 0.6vw, 1.75rem);
  margin-bottom: var(--space-xs);
}

.service-featured>p {
  color: var(--text-secondary);
  margin: 0 0 var(--space-md);
  font-size: 1rem;
  line-height: 1.7;
}

.service-featured ul {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.service-featured li {
  color: var(--muted);
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.94rem;
}

.service-featured li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-muted);
  position: absolute;
  left: 0;
  top: 0.6em;
}

/* Compact service rows */
.service-compact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.service-row {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color 200ms ease-out, transform 200ms ease-out;
}

.service-row:hover {
  border-color: var(--line-strong);
  transform: translateX(4px);
}

.service-row .service-icon {
  flex-shrink: 0;
  margin-bottom: 0;
  width: 2.5rem;
  height: 2.5rem;
}

.service-row .service-icon i {
  width: 1.2rem;
  height: 1.2rem;
}

.service-row-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.service-row-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ============================================================
   PROJECTS — Editorial gallery layout
   ============================================================ */

.section--projects {
  background: var(--bg-raised);
  border-block: 1px solid var(--line);
}

.project-layout {
  display: grid;
  gap: var(--space-lg);
}

.project-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-deep);
}

.project-hero img {
  width: 100%;
  height: clamp(22rem, 45vw, 32rem);
  object-fit: cover;
  transition: transform 400ms ease-out;
}

.project-hero:hover img {
  transform: scale(1.02);
}

.project-hero-copy {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  background: linear-gradient(to top, rgba(8, 11, 9, 0.95) 0%, rgba(8, 11, 9, 0.7) 50%, transparent 100%);
}

.project-hero-copy h3 {
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
  margin-bottom: var(--space-xs);
}

.project-hero-copy p {
  margin: 0;
  color: var(--text-secondary);
  max-width: 55ch;
  font-size: 0.95rem;
}

/* Project thumbnails */
.project-thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.project-thumb {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  transition: border-color 200ms ease-out, transform 200ms ease-out;
}

.project-thumb:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

.project-thumb img {
  width: 100%;
  height: clamp(12rem, 28vw, 18rem);
  object-fit: cover;
  transition: transform 400ms ease-out;
}

.project-thumb:hover img {
  transform: scale(1.03);
}

.project-thumb-copy {
  padding: var(--space-md);
}

.project-thumb-copy h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.project-thumb-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ============================================================
   APPROACH — Numbered steps with vertical rhythm
   ============================================================ */

.section--approach {
  background: var(--bg);
}

.approach-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-xl);
  align-items: start;
}

.approach-heading {
  position: sticky;
  top: 8rem;
}

.approach-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  counter-reset: step;
}

.approach-step {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--line);
}

.approach-step:last-child {
  border-bottom: none;
}

.approach-num {
  font-family: "Bodoni Moda", serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--accent-muted);
  line-height: 1;
  min-width: 3rem;
}

.approach-step-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.approach-step-content p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ============================================================
   REVIEWS — Featured quote layout
   ============================================================ */

.section--reviews {
  background: var(--bg-raised);
  border-block: 1px solid var(--line);
}

.reviews-heading {
  max-width: 18ch;
  margin-bottom: var(--space-xl);
}

.review-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.review-featured {
  margin: 0;
  padding: var(--space-lg);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  position: relative;
}

.review-featured::before {
  content: "" ";
 position: absolute;
  top: var(--space-sm);
  left: var(--space-md);
  font-family: "Bodoni Moda", serif;
  font-size: 4rem;
  color: var(--accent-muted);
  line-height: 1;
  opacity: 0.4;
}

.review-featured p {
  margin: 0;
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  color: var(--text);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.review-featured cite {
  display: block;
  margin-top: var(--space-md);
  color: var(--muted);
  font-style: normal;
  font-size: 0.92rem;
  font-weight: 500;
}

/* Supporting reviews */
.review-supporting {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.review-small {
  margin: 0;
  padding: var(--space-md);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color 200ms ease-out;
}

.review-small:hover {
  border-color: var(--line-strong);
}

.review-small p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.6;
}

.review-small cite {
  display: block;
  margin-top: var(--space-xs);
  color: var(--muted);
  font-style: normal;
  font-size: 0.86rem;
}

/* ============================================================
   FAQ — Clean accordion
   ============================================================ */

.section--faq {
  background: var(--bg);
}

.faq-layout {
  max-width: 52rem;
}

.faq-heading {
  margin-bottom: var(--space-lg);
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-raised);
  overflow: hidden;
  transition: border-color 200ms ease-out;
}

.faq-item:hover {
  border-color: var(--line-strong);
}

.faq-item+.faq-item {
  margin-top: var(--space-xs);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: var(--space-md);
  font-weight: 550;
  font-size: 0.98rem;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 400;
  transition: transform 200ms ease-out;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  color: var(--text-secondary);
  padding: 0 var(--space-md) var(--space-md);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* ============================================================
   CONTACT — Split layout form
   ============================================================ */

.section--contact {
  background: var(--bg);
  padding-block: var(--space-3xl);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-copy h2 {
  margin-bottom: var(--space-xs);
}

.contact-subtitle {
  font-size: 1.15rem;
  color: var(--accent);
  margin: 0 0 var(--space-md);
  font-weight: 500;
}

.contact-copy>p {
  color: var(--text-secondary);
  margin: 0 0 var(--space-lg);
  line-height: 1.7;
}

.contact-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.contact-points li {
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.94rem;
}

.contact-points i {
  color: var(--accent);
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

/* Contact form */
.contact-form {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--bg-raised);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}

.contact-form label+label {
  margin-top: var(--space-sm);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  padding: 0.78rem 0.9rem;
  transition: border-color 200ms ease-out, box-shadow 200ms ease-out;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.contact-form textarea {
  resize: vertical;
  min-height: 7rem;
}

.contact-form select {
  cursor: pointer;
}

.contact-form button {
  margin-top: var(--space-md);
  width: 100%;
}

.form-feedback {
  margin: var(--space-sm) 0 0;
  min-height: 1.4rem;
  color: var(--dim);
  font-size: 0.88rem;
}

.form-feedback.is-error {
  color: var(--error);
}

.form-feedback.is-success {
  color: var(--success);
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  padding-block: var(--space-2xl) var(--space-xl);
}

.footer-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: var(--space-xl);
}

.brand-footer {
  margin-bottom: var(--space-sm);
}

.footer-layout>div>p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
  max-width: 32ch;
}

.footer-layout h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text);
}

.footer-layout ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-layout a {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-layout a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.footer-bottom p {
  margin: 0;
  color: var(--dim);
  font-size: 0.84rem;
}

.footer-bottom div {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
}

.footer-bottom a {
  color: var(--dim);
  font-size: 0.84rem;
}

.footer-bottom a:hover {
  color: var(--muted);
}

/* ============================================================
   FLOATING CTA
   ============================================================ */

.floating-call {
  position: fixed;
  right: calc(var(--space-md) + env(safe-area-inset-right));
  bottom: calc(var(--space-md) + env(safe-area-inset-bottom));
  z-index: var(--z-float);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: rgba(15, 20, 18, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text);
  padding: 0.8rem 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: var(--shadow-lg);
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 200ms ease-out, border-color 200ms ease-out;
}

.floating-call:hover {
  transform: translateY(-2px);
  border-color: var(--accent-muted);
}

.floating-call i {
  width: 1rem;
  height: 1rem;
  color: var(--accent);
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */

.reveal-on-scroll {
  opacity: 1;
  transform: none;
}

.js .reveal-on-scroll {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 350ms ease-out, transform 350ms ease-out;
}

.js .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   FOCUS STATES
   ============================================================ */

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ============================================================
   RESPONSIVE — Tablet breakpoint
   ============================================================ */

@media (max-width: 74rem) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .hero::before {
    width: 100%;
    height: 50%;
    top: auto;
    bottom: 0;
  }

  .hero-copy h1 {
    max-width: 16ch;
  }

  .hero-image-wrap {
    max-width: 100%;
  }

  .hero-note-top {
    left: 0;
    top: auto;
    bottom: calc(100% + var(--space-sm));
    position: relative;
  }

  .hero-note-bottom {
    right: 0;
    bottom: auto;
    position: relative;
    margin-top: var(--space-sm);
  }
}

@media (max-width: 64rem) {

  .service-layout,
  .approach-layout,
  .review-layout,
  .contact-layout,
  .footer-layout {
    grid-template-columns: 1fr;
  }

  .project-thumbs {
    grid-template-columns: 1fr;
  }

  .approach-heading {
    position: static;
  }

  .trust-bar-inner {
    flex-direction: column;
    gap: var(--space-md);
  }

  .trust-credentials {
    flex-wrap: wrap;
    justify-content: center;
  }

  .trust-metrics {
    width: 100%;
    justify-content: space-around;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
}

@media (max-width: 56rem) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: var(--space-lg);
    width: min(22rem, calc(100vw - 2 * var(--space-lg)));
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    background: rgba(29, 39, 35, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-lg);
    padding: var(--space-md);
    flex-direction: column;
    gap: var(--space-xs);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease-out, transform 180ms ease-out;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a:not(.btn) {
    width: 100%;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:not(.btn)::after {
    display: none;
  }

  .site-nav .btn {
    width: 100%;
    margin-top: var(--space-xs);
  }

  .signal-inner {
    min-height: unset;
    padding-block: 0.6rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .hero-note {
    position: static;
    max-width: 100%;
    margin-top: var(--space-sm);
  }

  .hero-note::before {
    display: none;
  }
}

@media (max-width: 40rem) {
  .container {
    width: min(var(--max-width), calc(100% - 2 * var(--space-md)));
  }

  .hero {
    padding-top: var(--space-xl);
  }

  .contact-form {
    padding: var(--space-md);
  }

  .floating-call {
    left: var(--space-md);
    right: var(--space-md);
    justify-content: center;
  }

  .service-row {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}