:root {
  --ink: #0f172a;
  --body: #334155;
  --muted: #64748b;

  /* brand — light blue */
  --accent: #38bdf8;        /* fills: buttons, rules, mark */
  --accent-hover: #0ea5e9;  /* button hover */
  --accent-text: #0369a1;   /* accent text on white, keeps contrast */
  --btn-ink: #082f49;       /* text on an accent fill */
  --accent-wash: #e0f2fe;   /* tinted surfaces */

  --surface: #ffffff;
  --subtle: #f8fafc;
  --line: #e2e8f0;
  --radius: 12px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--body);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5.2vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1rem; }
a { color: var(--accent-text); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.center { text-align: center; }

/* icon sprite holder — never rendered */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

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

.lede { font-size: 1.08rem; color: var(--body); }

/* ---------- top bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 12px; height: 12px; border-radius: 3px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2);
}
.brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700; font-size: 0.98rem;
  letter-spacing: 0.1em; color: var(--ink);
  white-space: nowrap;
}
.brand-name span { color: var(--muted); font-weight: 500; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--btn-ink);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 12px 20px;
  border: 1px solid var(--accent);
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
  white-space: nowrap;
}
.btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--btn-ink);
  transform: translateY(-1px);
}
.btn-sm { padding: 8px 14px; font-size: 0.9rem; }
.btn-lg { padding: 15px 26px; font-size: 1.05rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--accent-wash); border-color: var(--accent); color: var(--ink); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.center-row { justify-content: center; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(56, 189, 248, 0.16), transparent 70%),
    var(--subtle);
  border-bottom: 1px solid var(--line);
}
.hero-in { padding: 60px 20px 68px; }
.hero h1 { margin-bottom: 1.1rem; }
.hero .lede { font-size: 1.12rem; max-width: 56ch; }

/* hero photo mosaic — one tall shot beside two stacked.
   On phones it sits below the call buttons so the CTA stays high. */
.hero-art {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  aspect-ratio: 5 / 4;
  margin-top: 34px;
}
.hero-art figure {
  margin: 0; overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 14px 34px -16px rgba(15, 23, 42, 0.35);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-main { grid-row: 1 / 3; }

/* recent work gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.gallery figure {
  margin: 0; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.gallery img {
  width: 100%; height: auto;   /* beat the intrinsic height attribute */
  aspect-ratio: 1 / 1;
  object-fit: cover; display: block;
  background: var(--subtle);
}
.gallery figcaption {
  padding: 10px 12px;
  font-size: 0.85rem; line-height: 1.45;
  color: var(--muted);
}

.trust {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin: 34px 0 0; padding: 0;
  font-size: 0.93rem; font-weight: 500; color: var(--ink);
}
.trust li { position: relative; padding-left: 22px; }
.trust li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 11px; height: 6px;
  border-left: 2px solid var(--accent-text);
  border-bottom: 2px solid var(--accent-text);
  transform: rotate(-45deg);
}

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section.alt { background: var(--subtle); border-block: 1px solid var(--line); }
.section h2 { margin-bottom: 2.5rem; }

/* ---------- service cards ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  border-top: 3px solid var(--accent);
}
.card-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: 16px;
  border-radius: 10px;
  background: var(--accent-wash);
  color: var(--accent-text);
}
.card-ico svg {
  width: 26px; height: 26px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.card h3 { margin-bottom: 0.5rem; }
.card > p { color: var(--muted); font-size: 0.97rem; margin-bottom: 1rem; }
.card ul { margin: 0; padding-left: 1.1rem; font-size: 0.97rem; }
.card li { margin-bottom: 0.4rem; }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: #fff;
  font-family: "Space Grotesk", sans-serif; font-weight: 700;
  margin-bottom: 14px;
}
.steps h3 { margin-bottom: 0.4rem; }
.steps p { margin: 0; font-size: 0.97rem; }

/* ---------- who you are calling ---------- */
.owner {
  margin-top: 40px;
  background: var(--subtle);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.owner-copy { max-width: 58ch; margin: 0 auto; }
.owner-copy h3 { margin-bottom: 0.5rem; }
.owner-copy p { margin: 0; font-size: 0.97rem; }

/* ---------- cta band ---------- */
.cta-band { background: var(--ink); }
.cta-band h2, .cta-band .lede { color: #fff; }
.cta-band .lede { opacity: 0.82; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.3); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--accent); color: #fff; }
.fineprint { margin-top: 24px; font-size: 0.95rem; }
.cta-band .fineprint a { color: var(--accent); }

/* ---------- footer ---------- */
.foot { background: var(--subtle); border-top: 1px solid var(--line); padding: 36px 0 96px; }
.foot-in { font-size: 0.93rem; }
.foot p { margin: 0 0 0.4rem; }
.foot .muted { color: var(--muted); }
.foot a { color: var(--muted); }

/* ---------- mobile sticky call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center;
  height: 60px;
  background: var(--accent); color: var(--btn-ink);
  font-weight: 700; font-size: 1.05rem; text-decoration: none;
  border-top: 1px solid var(--accent-hover);
  padding-bottom: env(safe-area-inset-bottom);
}

/* ---------- responsive ---------- */
@media (max-width: 420px) {
  .brand-name span { display: none; }
  .btn-sm { padding: 8px 12px; font-size: 0.86rem; }
}

@media (min-width: 700px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .owner { padding: 36px; }
  .section { padding: 88px 0; }
}

@media (min-width: 960px) {
  .hero-in {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 56px;
    padding: 92px 20px 100px;
  }
  .hero-art { margin-top: 0; gap: 14px; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 900px) {
  .callbar { display: none; }
  .foot { padding-bottom: 36px; }
}

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