/* ---------- CDM Graphics — global tokens & base ---------- */
:root {
  --c-black: #151719;
  --c-ink: #0b1013;
  --c-band: #0d0f11;
  --c-topbar: #0f1114;
  --c-line: #e4e6e9;
  --c-hairline: #c9cdd3;
  --c-mute: #7c8189;
  --c-body: #35393e;
  --c-blue-dark: #0e343f;
  --c-blue: #185568;
  --c-blue-alt: #1c6a7f;
  --c-teal: #4bb3c4;
  --c-yellow: #f4b400;
  --c-yellow-band: #f4b300;
  --c-orange: #e77f26;
  --c-red: #d63c3c;
  --c-green: #6b7f2c;
  --c-cream: #faf9f7;
  --c-panel: #f6f7f8;
  --c-white: #ffffff;

  --f-sans: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --f-thin: 300;
  --f-reg: 400;
  --f-med: 500;
  --f-bold: 700;

  --shell: 1180px;
  --gutter: 24px;
  --topbar-h: 34px;
  --header-h: 68px;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow-1: 0 1px 2px rgba(15,17,20,.06), 0 6px 22px rgba(15,17,20,.06);
  --shadow-2: 0 6px 30px rgba(15,17,20,.10);
  --ease: cubic-bezier(.4,.14,.3,1);
}

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

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-weight: var(--f-reg);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-body);
  background: var(--c-white);
  min-height: 100vh;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: var(--c-blue); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--c-blue-dark); }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: var(--f-thin); color: var(--c-ink); line-height: 1.15; }
h1 { font-size: clamp(38px, 6vw, 59px); }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: clamp(22px, 2.6vw, 30px); }
h4 { font-size: 20px; }
p { margin: 0 0 1em; }

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Topbar (tagline) ---------- */
.topbar {
  position: relative;
  z-index: 30;
  background: #fff;
  color: var(--c-blue-dark);
  font-size: 18px;
  letter-spacing: .14em;
  min-height: 52px;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  border-bottom: 1px solid var(--c-line);
  transition: background .25s var(--ease);
}
.topbar__tagline {
  display: inline-block;
  font-family: robotothin, "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-style: normal;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--c-black);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: background .25s var(--ease);
}
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0;
  text-transform: uppercase;
}
.brand__mark {
  width: 34px;
  height: 48px;
  background: url("../images/logo-mark.png") no-repeat 0 0;
  background-size: 34px 96px;
  flex: 0 0 34px;
}
.brand:hover .brand__mark { background-position: 0 -48px; }
.brand__wordmark { display: inline-flex; align-items: baseline; line-height: 1; }
.brand__wordmark strong { font-family: Arial, Helvetica, sans-serif; font-weight: 700; }
.brand__wordmark-light { font-family: "Roboto", "Helvetica Neue", Arial, sans-serif; font-weight: 300; }

.nav-primary { margin-left: auto; }
.nav-primary__list {
  display: flex; align-items: center; gap: 0;
  margin: 0; padding: 0; list-style: none;
}
.nav-primary__list > li {
  display: flex; align-items: center;
  padding: 0 18px;
  border-right: 1px solid rgba(255,255,255,.22);
}
.nav-primary__list > li:last-child { border-right: 0; padding-right: 0; }
.nav-primary__list > li:first-child { padding-left: 0; }
.nav-primary__link {
  color: rgba(255,255,255,.82);
  font-weight: var(--f-reg);
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 8px 0;
  position: relative;
  transition: color .18s var(--ease);
}
.nav-primary__link:hover,
.nav-primary__link.is-active {
  color: #527f8e;
}

.burger {
  margin-left: auto;
  display: none;
  width: 40px; height: 40px;
  padding: 0;
  background: none;
  border: 0;
  color: #fff;
  position: relative;
}
.burger span,
.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 8px; right: 8px;
  height: 2px;
  background: currentColor;
  transition: transform .28s var(--ease), opacity .18s var(--ease);
}
.burger::before { top: 12px; }
.burger span    { top: 19px; }
.burger::after  { top: 26px; }
.burger[aria-expanded="true"]::before { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"]::after  { top: 19px; transform: rotate(-45deg); }
.burger[aria-expanded="true"] span    { opacity: 0; }

/* Mobile drawer */
.mobile-nav {
  display: none;
  overflow: hidden;
  max-height: 0;
  background: var(--c-black);
  color: #fff;
  transition: max-height .35s var(--ease);
  border-top: 1px solid rgba(255,255,255,.06);
}
.mobile-nav__list {
  margin: 0; padding: 16px 0;
  list-style: none;
}
.mobile-nav__link {
  display: block;
  padding: 14px var(--gutter);
  color: rgba(255,255,255,.88);
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.mobile-nav__link.is-active { color: var(--c-teal); }

body.menu-open .mobile-nav {
  max-height: calc(100vh - var(--header-h) - var(--topbar-h));
  overflow-y: auto;
}
body.menu-open .header { background: var(--c-band); }

/* ---------- Sub-nav (product tabs) ---------- */
.subnav {
  position: relative;
  z-index: 20;
  background: #fff;
}
.subnav__inner {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 14px 0;
  scrollbar-width: none;
}
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav__link {
  flex: 0 0 auto;
  min-width: 96px;
  padding: 10px 14px;
  border: 1px solid #185568;
  border-radius: var(--radius);
  color: #185568;
  font-size: 14px;
  font-weight: var(--f-med);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
  background: #fff;
  transition: all .18s var(--ease);
  white-space: nowrap;
}
.subnav__link:hover {
  background: #185568;
  border-color: #185568;
  color: #fff;
}
.subnav__link.is-active {
  color: var(--c-blue-dark);
  border-color: var(--c-blue-dark);
  border-width: 2px;
  font-weight: var(--f-bold);
  box-shadow: inset 0 -3px 0 var(--c-teal);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border: 0;
  border-radius: var(--radius);
  font-family: var(--f-sans);
  font-weight: var(--f-med);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  transition: transform .12s var(--ease), background .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn--primary { background: var(--c-blue-dark); color: #fff; }
.btn--primary:hover { background: var(--c-blue); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-1); }
.btn--yellow { background: #fff; color: var(--c-blue-dark); border: 2px solid var(--c-blue-dark); }
.btn--yellow:hover { background: var(--c-blue-dark); color: #fff; }
.btn--cta { background: var(--c-red); color: #fff; padding: 14px 30px; }
.btn--cta:hover { background: #c22; color: #fff; }
.btn--pill { background: var(--c-red); color: #fff; padding: 10px 20px; font-size: 11px; border-radius: 999px; }
.btn--pill:hover { background: #c22; color: #fff; }

/* ---------- Home Hero ---------- */
.hero {
  position: relative;
  min-height: 460px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  background: #1a2530 url("../images/6a6e6_homepage-image.jpg") center/cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(21,23,25,.58) 0%, rgba(21,23,25,.28) 55%, rgba(21,23,25,.05) 100%);
  z-index: 1;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0 72px;
}
.pillars {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pillar {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 22px;
  align-items: center;
}
.pillar__badge {
  width: 92px; height: 92px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-sans);
  font-weight: var(--f-med);
  font-size: 46px;
  color: #fff;
  box-shadow: 0 6px 22px rgba(0,0,0,.32), inset 0 0 0 2px rgba(255,255,255,.08);
}
.pillar__badge--y { background: var(--c-yellow); color: #6b4400; }
.pillar__badge--g { background: var(--c-green); }
.pillar__badge--r { background: var(--c-red); }
.pillar__title {
  font-size: 22px;
  font-weight: var(--f-bold);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 8px;
}
.pillar__rule {
  display: block;
  width: 56px;
  height: 2px;
  background: rgba(255,255,255,.7);
  margin: 0 0 10px;
}
.pillar__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.pillar__copy {
  font-size: 18px;
  font-weight: var(--f-thin);
  line-height: 1.5;
  color: rgba(255,255,255,.9);
  margin: 0;
  flex: 1 1 auto;
}
.pillar__cta {
  flex: 0 0 auto;
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  padding: 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: filter .18s var(--ease);
}
.pillar__badge--y ~ div .pillar__cta,
.pillar:has(.pillar__badge--y) .pillar__cta { background: var(--c-yellow); color: #6b4400; }
.pillar__badge--g ~ div .pillar__cta,
.pillar:has(.pillar__badge--g) .pillar__cta { background: var(--c-green); }
.pillar__badge--r ~ div .pillar__cta,
.pillar:has(.pillar__badge--r) .pillar__cta { background: var(--c-red); }
.pillar__cta:hover { filter: brightness(.9); color: inherit; }

.hero__mock {
  position: relative;
  justify-self: end;
  max-width: 380px;
  padding: 0;
  background: transparent;
  color: var(--c-body);
}
.hero__mock img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 380px;
  height: auto;
  filter: drop-shadow(0 22px 40px rgba(0,0,0,.4));
}

/* ---------- Section chrome ---------- */
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--band {
  background: #fff;
}
.section__title {
  text-align: center;
  color: var(--c-blue-dark);
  font-family: var(--f-sans);
  font-weight: var(--f-thin);
  font-size: clamp(30px, 4vw, 49px);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.section__title strong { font-weight: var(--f-med); color: var(--c-ink); }
.section__lede {
  max-width: 780px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--c-body);
  font-weight: var(--f-thin);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
}

/* ---------- Service tile grid (home) ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tile {
  background: #fff;
  border: 1px solid #d6d6d6;
  padding: 20px;
  text-align: center;
  overflow: hidden;
}
.tile > a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.tile__sprite {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 282 / 267;
  background-image: var(--sprite);
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 100% 200%;
}
.tile__sprite::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--sprite);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 200%;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.tile > a:hover .tile__sprite::after { opacity: 1; }
.tile--websites       { --sprite: url("../images/tiles/websites.png"); }
.tile--ecommerce      { --sprite: url("../images/tiles/ecommerce.png"); }
.tile--auto-responder { --sprite: url("../images/tiles/auto-responder.png"); }
.tile--crm            { --sprite: url("../images/tiles/crm.png"); }
.tile--invoicing      { --sprite: url("../images/tiles/invoicing.png"); }
.tile--hosting        { --sprite: url("../images/tiles/hosting.png"); }
.tile--live-help      { --sprite: url("../images/tiles/live-help.png"); }
.tile--support        { --sprite: url("../images/tiles/support.png"); }
.tile--printing       { --sprite: url("../images/tiles/printing.png"); }
.tile__name {
  font-family: var(--f-sans);
  font-weight: var(--f-thin);
  font-size: 18px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-body);
  margin: 0;
  padding: 18px 12px 22px;
}

/* ---------- Page hero (interior) ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  padding: 60px 0 44px;
  overflow: hidden;
  background: #0f1114 center/cover no-repeat;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,17,20,.55) 0%, rgba(15,17,20,.35) 100%);
  z-index: 1;
}
.page-hero__inner { position: relative; z-index: 2; }
.page-hero__title {
  font-family: var(--f-sans);
  font-weight: var(--f-med);
  font-size: clamp(38px, 6vw, 59px);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0 0 12px;
  color: #fff;
}
.page-hero__lede {
  font-weight: var(--f-thin);
  font-size: clamp(18px, 2.4vw, 24px);
  color: rgba(255,255,255,.9);
  max-width: 640px;
  margin: 0;
}

/* Per-page hero backgrounds */
.page-hero--about       { background-image: linear-gradient(90deg, rgba(15,17,20,.7), rgba(15,17,20,.3)), url("../images/hero-about.jpg"); }
.page-hero--contact     { background-image: linear-gradient(90deg, rgba(15,17,20,.7), rgba(15,17,20,.35)), url("../images/hero-contact.jpg"); }
.page-hero--gallery     { background-image: linear-gradient(90deg, rgba(15,17,20,.55), rgba(15,17,20,.2)), url("../images/hero-gallery.jpg"); }
.page-hero--websites    { background-image: linear-gradient(90deg, rgba(15,17,20,.5), rgba(15,17,20,.15)), url("../images/hero-websites.jpg"); }
.page-hero--ecommerce   { background-image: linear-gradient(90deg, rgba(15,17,20,.55), rgba(15,17,20,.2)), url("../images/hero-ecommerce.jpg"); }
.page-hero--ar          { background-image: linear-gradient(90deg, rgba(15,17,20,.6), rgba(15,17,20,.2)), url("../images/hero-autoresponder.jpg"); }
.page-hero--crm         { background-image: linear-gradient(90deg, rgba(15,17,20,.6), rgba(15,17,20,.25)), url("../images/hero-crm.jpg"); }
.page-hero--invoicing   { background-image: linear-gradient(90deg, rgba(15,17,20,.6), rgba(15,17,20,.2)), url("../images/hero-invoicing.jpg"); }
.page-hero--hosting     { background-image: linear-gradient(90deg, rgba(15,17,20,.55), rgba(15,17,20,.2)), url("../images/hero-hosting.jpg"); }
.page-hero--live-help   { background-image: linear-gradient(90deg, rgba(15,17,20,.6), rgba(15,17,20,.25)), url("../images/hero-live-help.jpg"); }
.page-hero--support     { background-image: linear-gradient(90deg, rgba(15,17,20,.6), rgba(15,17,20,.25)), url("../images/hero-support.jpg"); }
.page-hero--printing    { background-image: linear-gradient(90deg, rgba(15,17,20,.6), rgba(15,17,20,.2)), url("../images/hero-printing.jpg"); }

/* ---------- Feature strips ---------- */
.strip {
  padding: 68px 0;
  color: #fff;
}
.strip__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.strip--reverse .strip__inner { direction: rtl; }
.strip--reverse .strip__inner > * { direction: ltr; }
.strip--yellow    { background: var(--c-yellow); color: #4a3300; }
.strip--yellow h2 { color: #4a3300; }
.strip--orange    { background: var(--c-orange); }
.strip--orange h2 { color: #fff; }
.strip--teal      { background: #1b6373; }
.strip--teal h2   { color: #fff; }
.strip--green     { background: #6b7f2c; }
.strip--green h2  { color: #fff; }
.strip--red       { background: var(--c-red); }
.strip--red h2    { color: #fff; }
.strip__title {
  font-family: var(--f-sans);
  font-weight: var(--f-thin);
  font-size: clamp(30px, 4vw, 42px);
  margin: 0 0 16px;
  letter-spacing: .02em;
}
.strip__body { font-weight: var(--f-thin); font-size: 17px; line-height: 1.6; }
.strip__media { text-align: center; }
.strip__media svg,
.strip__media img { max-height: 200px; margin: 0 auto; }

/* ---------- Feature triple (3 icons row) ---------- */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 60px 0;
}
.trio__item { text-align: center; }
.trio__icon { width: 82px; height: 82px; margin: 0 auto 18px; color: var(--c-blue); }
.trio__icon svg { width: 100%; height: 100%; }
.trio__title { font-weight: var(--f-med); font-size: 20px; color: var(--c-blue-dark); margin: 0 0 8px; }
.trio__copy { color: var(--c-body); font-size: 15px; line-height: 1.55; margin: 0; max-width: 320px; margin-left: auto; margin-right: auto; }

/* ---------- Text sections ---------- */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { color: var(--c-blue-dark); margin-top: 40px; font-weight: var(--f-thin); font-size: 30px; letter-spacing: .01em; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 16px; line-height: 1.65; color: var(--c-body); }
.prose ul { line-height: 1.65; padding-left: 22px; color: var(--c-body); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}
.about-grid__media {
  position: sticky; top: calc(var(--topbar-h) + var(--header-h) + 20px);
}
.about-grid__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-1); }

/* CTA band */
.cta-band {
  background: var(--c-blue-dark);
  color: #fff;
  padding: 34px 0;
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band__copy {
  font-weight: var(--f-thin);
  font-size: 18px;
  line-height: 1.4;
  color: #fff;
  margin: 0;
  max-width: 780px;
}
.cta-band--yellow { background: var(--c-yellow); color: var(--c-blue-dark); }
.cta-band--yellow .cta-band__copy { color: var(--c-blue-dark); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
.form { display: grid; gap: 18px; }
.form__field { display: block; }
.form__label {
  display: block;
  font-size: 12px;
  font-weight: var(--f-med);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-body);
  margin-bottom: 6px;
}
.form__input,
.form__textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--c-hairline);
  border-radius: var(--radius);
  font: inherit;
  color: var(--c-ink);
  background: #fff;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.form__input:focus,
.form__textarea:focus {
  outline: 0;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(24,85,104,.15);
}
.form__textarea { min-height: 140px; resize: vertical; }
.honeypot {
  position: absolute; left: -10000px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.form__note {
  color: var(--c-mute); font-size: 12px;
}
.form__actions { display: flex; justify-content: flex-start; }
.form__msg { display: none; padding: 12px 16px; border-radius: var(--radius); font-size: 14px; margin-top: 8px; }
.form__msg.is-ok { display: block; background: #edf7ee; color: #1e6b34; border: 1px solid #b6dcbb; }
.form__msg.is-err { display: block; background: #fdecec; color: #8a1c1c; border: 1px solid #f0c0c0; }

.contact-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-1);
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
.contact-list__row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: center;
}
.contact-list__icon {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: rgba(24,85,104,.08);
  color: var(--c-blue-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-list__icon svg { width: 20px; height: 20px; }
.contact-list__label {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-mute);
  margin: 0 0 2px;
}
.contact-list__value {
  color: var(--c-ink);
  font-size: 16px;
  font-weight: var(--f-med);
  margin: 0;
}
.contact-list__value a { color: var(--c-ink); }
.contact-list__value a:hover { color: var(--c-blue); }

/* ---------- Gallery ---------- */
.gallery-tabs {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center; margin: 0 0 32px; padding: 0;
  list-style: none;
}
.gallery-tabs__btn {
  padding: 10px 22px;
  border: 1px solid var(--c-blue);
  color: var(--c-blue);
  background: #fff;
  border-radius: var(--radius);
  font-weight: var(--f-med);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: all .18s var(--ease);
}
.gallery-tabs__btn:hover,
.gallery-tabs__btn.is-active {
  background: var(--c-blue-dark);
  border-color: var(--c-blue-dark);
  color: #fff;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gallery-item {
  aspect-ratio: 4 / 3;
  background: #eef1f3;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-1);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.gallery-item__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s var(--ease);
}
.gallery-item:hover .gallery-item__img { transform: scale(1.04); }
.gallery-item__label {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.65));
  color: #fff;
  padding: 24px 14px 12px;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .22s var(--ease);
}
.gallery-item:hover .gallery-item__label { opacity: 1; }

/* ---------- Footer ---------- */
.footer {
  background: var(--c-band);
  color: #fff;
  padding: 20px 0;
  text-align: center;
}
.footer__copy {
  margin: 0;
  font-size: 14px;
  line-height: 30px;
  color: #fff;
}

/* ---------- Layout ---------- */
main { display: block; }

/* ---------- Utilities ---------- */
.centered { text-align: center; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 48px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  :root { --header-h: 62px; }
  .nav-primary { display: none; }
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  .mobile-nav { display: block; }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0 60px;
  }
  .hero__mock { max-width: 300px; justify-self: center; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .strip__inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .strip--reverse .strip__inner { direction: ltr; }
  .strip__media { order: -1; }
  .trio { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-grid__media { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}

@media (max-width: 620px) {
  :root { --gutter: 18px; }
  .section { padding: 48px 0; }
  .strip { padding: 48px 0; }
  .pillar { grid-template-columns: 76px 1fr; gap: 16px; }
  .pillar__badge { width: 76px; height: 76px; font-size: 40px; }
  .pillar__title { font-size: 18px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile { padding: 32px 12px 24px; }
  .tile__icon { width: 60px; height: 60px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 400px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
