:root {
  --ink: #151515;
  --muted: #646464;
  --line: #dedbd5;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --red: #c8161d;
  --red-dark: #941016;
  --gold: #d8a932;
  --green: #24493b;
  --shadow: 0 18px 60px rgba(21, 21, 21, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid rgba(21, 21, 21, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: white;
  background: var(--red);
  font-weight: 800;
  border-radius: 8px;
}

.brand strong,
.brand small { display: block; line-height: 1.1; }

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.73rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 9px 12px;
  color: #373737;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  color: white;
  background: var(--ink);
}

.nav-toggle {
  display: none;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  font: inherit;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #151515;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.18) 62%, rgba(0, 0, 0, 0.42));
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 clamp(40px, 8vw, 96px) clamp(18px, 7vw, 96px);
  color: white;
}

.hero h1,
.page-title h1,
.page-hero h1,
.contact-hero h1 {
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero p {
  max-width: 650px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.cta .eyebrow { color: var(--gold); }

.hero-actions,
.section-head,
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: white;
  background: var(--red);
  border-color: var(--red);
}

.button.ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.6);
}

.button.slim {
  min-height: 40px;
  background: white;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-band div {
  padding: clamp(22px, 4vw, 40px);
  background: white;
}

.stats-band strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1;
}

.stats-band span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 600;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) 0;
}

.split,
.prose-layout,
.image-feature,
.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3.5vw, 3.15rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  line-height: 1.2;
}

.text-link {
  color: var(--red-dark);
  font-weight: 800;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.photo-grid img,
.service-strip img,
.service-card img,
.project-list img,
.image-feature img,
.contact-hero img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.photo-grid img { aspect-ratio: 1.08 / 1; }
.photo-grid img:nth-child(2) { margin-top: 42px; }
.photo-grid img:nth-child(3) { margin-top: -42px; }

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.service-strip article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.service-strip img {
  aspect-ratio: 1.3 / 1;
  border-radius: 0;
  box-shadow: none;
}

.service-strip h3,
.service-strip p {
  padding-inline: 18px;
}

.service-strip h3 { padding-top: 18px; }
.service-strip p { margin-bottom: 20px; color: var(--muted); }

.cta {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto clamp(28px, 4vw, 54px);
  padding: clamp(30px, 5vw, 54px);
  color: white;
  background: var(--green);
  border-radius: 8px;
}

.cta h2 { max-width: 780px; margin-bottom: 0; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 54px);
  color: white;
  background: var(--ink);
  flex-wrap: wrap;
}

.site-footer p { margin: 0; }

.clients-hero {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(38px, 6vw, 70px) 0 clamp(48px, 7vw, 84px);
}

.partners-hero {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 clamp(48px, 7vw, 84px);
}

.clients-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.32fr) minmax(0, 0.68fr);
  gap: clamp(18px, 4vw, 54px);
  align-items: end;
  margin-bottom: 24px;
}

.clients-copy h2 {
  max-width: 860px;
  margin-bottom: 0;
}

.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.partner-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 320px));
  gap: 14px;
}

.client-logo-grid div,
.partner-logo-grid div {
  display: grid;
  place-items: center;
  min-height: 132px;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(21, 21, 21, 0.06);
}

.client-logo-grid img,
.partner-logo-grid img {
  width: 100%;
  max-height: 94px;
  object-fit: contain;
}

.page-hero {
  position: relative;
  min-height: 54vh;
  display: grid;
  align-items: end;
  padding: clamp(40px, 8vw, 92px);
  color: white;
  overflow: hidden;
  background: #111;
}

.page-hero.compact { min-height: 46vh; }

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.78), rgba(0,0,0,0.18));
}

.page-hero > div {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.about-hero {
  min-height: calc(100vh - 74px);
}

.about-hero > div {
  max-width: 1040px;
}

.about-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1180px, calc(100% - 48px));
  margin: -42px auto 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(23, 23, 23, 0.14);
}

.about-stats div {
  padding: clamp(22px, 3vw, 34px);
  border-right: 1px solid var(--line);
}

.about-stats div:last-child {
  border-right: 0;
}

.about-stats strong {
  display: block;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.6vw, 2.25rem);
  line-height: 1.05;
}

.about-stats span {
  display: block;
  margin-top: 8px;
  color: #555b61;
  font-weight: 650;
  line-height: 1.4;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(0, 0.56fr) minmax(340px, 0.44fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.about-story-copy {
  display: grid;
  gap: 18px;
}

.about-story-copy h2 {
  max-width: 620px;
  margin-bottom: 4px;
}

.about-story-copy p {
  margin: 0;
  color: #4f565c;
  font-size: 1.07rem;
  line-height: 1.68;
}

.about-story-copy p:not(.eyebrow):first-of-type {
  color: var(--ink);
  font-size: clamp(1.22rem, 2vw, 1.48rem);
  line-height: 1.5;
}

.about-story-figure {
  margin: 0;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(23, 23, 23, 0.12);
}

.about-story-image {
  width: 100%;
  aspect-ratio: 1.05 / 1;
  object-fit: cover;
}

.about-story-figure figcaption {
  padding: 16px 18px 18px;
  color: #4f565c;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.45;
}

.about-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 0;
}

.about-principles article {
  min-height: 100%;
  padding: clamp(24px, 3vw, 34px);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(23, 23, 23, 0.06);
}

.about-principles span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
  color: white;
  background: var(--red);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.about-principles h2 {
  margin-bottom: 12px;
  color: var(--red-dark);
  font-size: 1.28rem;
}

.about-principles p {
  margin: 0;
  color: #555b61;
}

.about-trust {
  margin-bottom: 22px;
}

.page-title {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) 0 clamp(30px, 5vw, 56px);
}

.page-title h1 {
  max-width: 1000px;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
}

.prose {
  font-size: 1.07rem;
}

.prose p:first-child {
  color: var(--ink);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.42;
}

.value-panel {
  padding: clamp(26px, 4vw, 42px);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.value-panel h2 {
  margin-top: 0;
  color: var(--red-dark);
  font-size: 1.2rem;
}

.value-panel p + h2 { margin-top: 28px; }

.image-feature img { aspect-ratio: 1.45 / 1; }

.service-mosaic,
.project-list,
.contact-grid,
.gallery-grid,
.portfolio-intro,
.portfolio-sections {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.portfolio-intro {
  padding-bottom: 28px;
}

.portfolio-intro p {
  max-width: 850px;
  margin-top: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.portfolio-intro.compact {
  padding-bottom: 14px;
}

.portfolio-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.portfolio-jump a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.portfolio-jump span {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 26px;
  padding: 0 8px;
  color: white;
  background: var(--red);
  border-radius: 999px;
}

.service-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: clamp(54px, 8vw, 96px);
}

.service-card {
  min-height: 100%;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card.wide { grid-column: span 2; }

.service-card img {
  height: 300px;
  border-radius: 0;
  box-shadow: none;
}

.service-card div { padding: 22px; }
.service-card h2 { font-size: 1.35rem; }
.service-card p { color: var(--muted); }

.project-list {
  display: grid;
  gap: 34px;
  padding-bottom: clamp(54px, 8vw, 96px);
}

.project-list article {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
}

.project-list article:nth-child(even) img { order: 2; }
.project-list img { aspect-ratio: 1.5 / 1; }

.portfolio-sections {
  padding-bottom: clamp(54px, 8vw, 96px);
}

.portfolio-section {
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 96px;
}

.portfolio-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.portfolio-heading h2 {
  max-width: 850px;
}

.portfolio-heading strong {
  white-space: nowrap;
  color: var(--red-dark);
}

.portfolio-grid {
  columns: 4 220px;
  column-gap: 12px;
}

.portfolio-grid button {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 12px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #eee;
  cursor: zoom-in;
  break-inside: avoid;
}

.portfolio-grid img {
  width: 100%;
  border-radius: 8px 8px 0 0;
  transition: transform 180ms ease, filter 180ms ease;
}

.portfolio-grid button:not(:has(.portfolio-caption)) img {
  border-radius: 8px;
}

.portfolio-grid button:hover img {
  transform: scale(1.025);
  filter: saturate(1.06) contrast(1.03);
}

.portfolio-caption {
  display: block;
  padding: 10px 11px 12px;
  color: #343434;
  background: white;
  border-top: 1px solid rgba(21, 21, 21, 0.08);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
}

.gallery-grid {
  columns: 3 260px;
  column-gap: 14px;
  padding-bottom: clamp(54px, 8vw, 96px);
}

.gallery-grid button {
  display: block;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: zoom-in;
}

.gallery-grid img {
  width: 100%;
  border-radius: 8px;
  transition: transform 180ms ease, filter 180ms ease;
}

.gallery-grid button:hover img {
  transform: scale(1.025);
  filter: saturate(1.05) contrast(1.03);
}

.lightbox {
  width: min(1120px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  padding: 14px;
  border: 0;
  border-radius: 8px;
  background: white;
}

.lightbox::backdrop { background: rgba(0,0,0,0.78); }

.lightbox img {
  max-height: calc(100vh - 96px);
  width: 100%;
  object-fit: contain;
}

.lightbox-caption {
  margin: 12px 4px 2px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.45;
}

.close-lightbox {
  float: right;
  margin-bottom: 10px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  font: inherit;
  font-weight: 800;
}

.contact-hero {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) 0 clamp(28px, 5vw, 56px);
}

.contact-hero img { aspect-ratio: 1.35 / 1; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-bottom: clamp(54px, 8vw, 96px);
}

.contact-grid article {
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-grid h2 {
  font-size: 1rem;
  color: var(--red-dark);
}

.contact-grid p { margin-bottom: 0; color: var(--muted); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; }
  .site-nav {
    position: absolute;
    inset: 74px 18px auto 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .stats-band,
  .service-strip,
  .service-mosaic,
  .contact-grid,
  .client-logo-grid,
  .partner-logo-grid { grid-template-columns: repeat(2, 1fr); }
  .split,
  .prose-layout,
  .image-feature,
  .contact-hero,
  .project-list article { grid-template-columns: 1fr; }
  .project-list article:nth-child(even) img { order: 0; }
  .service-card.wide { grid-column: span 1; }
  .portfolio-heading { align-items: start; flex-direction: column; }
}

@media (max-width: 620px) {
  .brand { min-width: auto; }
  .brand small { display: none; }
  .hero { min-height: 680px; }
  .hero-copy { margin: 0 auto 38px; }
  .hero::after { background: linear-gradient(0deg, rgba(0,0,0,0.82), rgba(0,0,0,0.24)); }
  .stats-band,
  .service-strip,
  .service-mosaic,
  .contact-grid,
  .clients-copy,
  .photo-grid { grid-template-columns: 1fr; }
  .client-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-logo-grid { grid-template-columns: 1fr; }
  .client-logo-grid div,
  .partner-logo-grid div { min-height: 112px; padding: 14px; }
  .photo-grid img:nth-child(n) { margin-top: 0; }
  .site-footer { display: block; }
  .site-footer p + p { margin-top: 10px; }
  .service-card img { height: 240px; }
}

/* Professional presentation pass */
:root {
  --ink: #171717;
  --muted: #5d6268;
  --line: #e3e0da;
  --paper: #f5f3ee;
  --panel: #ffffff;
  --red: #b9141a;
  --red-dark: #861015;
  --gold: #c99a2f;
  --green: #1f4438;
  --charcoal: #202325;
  --shadow: 0 22px 70px rgba(24, 25, 26, 0.13);
}

body {
  background:
    linear-gradient(180deg, #faf9f5 0, #f5f3ee 680px, #f7f6f2 100%);
  color: var(--ink);
}

.site-header {
  min-height: 82px;
  padding-inline: 48px;
  background: rgba(255, 255, 252, 0.94);
  box-shadow: 0 10px 35px rgba(23, 23, 23, 0.06);
}

.brand-mark {
  width: 46px;
  height: 46px;
  background: linear-gradient(145deg, #d82027, #8f1015);
  box-shadow: 0 10px 24px rgba(185, 20, 26, 0.22);
}

.brand strong {
  font-size: 1.04rem;
}

.site-nav {
  gap: 4px;
}

.site-nav a {
  border-radius: 999px;
  color: #2e3133;
  font-size: 0.9rem;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--red);
}

.hero {
  min-height: 720px;
  align-items: center;
}

.hero img {
  opacity: 0.82;
  filter: saturate(0.96) contrast(1.04);
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(10, 12, 13, 0.9) 0%, rgba(10, 12, 13, 0.72) 38%, rgba(10, 12, 13, 0.18) 76%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.02) 55%);
}

.hero-copy {
  width: min(720px, calc(100% - 48px));
  margin: 24px 0 0 7vw;
}

.hero h1,
.page-title h1,
.page-hero h1,
.contact-hero h1 {
  font-size: 4.8rem;
  line-height: 0.98;
  font-weight: 800;
}

.hero p {
  max-width: 620px;
  margin-block: 22px 0;
  font-size: 1.12rem;
  line-height: 1.7;
}

.eyebrow {
  color: var(--red);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
}

.hero .eyebrow {
  color: var(--gold);
}

.hero-actions {
  justify-content: flex-start;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  padding-inline: 20px;
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(145deg, #d91c23, #a81016);
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(185, 20, 26, 0.28);
}

.button.ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.stats-band {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: -58px auto 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.stats-band div {
  padding: 28px 26px;
  border-right: 1px solid var(--line);
}

.stats-band div:last-child {
  border-right: 0;
}

.stats-band strong {
  color: var(--red-dark);
  font-size: 2.05rem;
}

.stats-band span {
  color: #555b61;
  font-size: 0.9rem;
  line-height: 1.45;
}

.section {
  padding-block: 92px;
}

.split {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

h2 {
  font-size: 2.75rem;
  line-height: 1.06;
}

.section.split > div:first-child p:not(.eyebrow) {
  color: #545b60;
  font-size: 1.06rem;
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--red-dark);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.photo-grid {
  gap: 14px;
}

.photo-grid img,
.service-card img,
.project-list img,
.image-feature img,
.contact-hero img {
  border-radius: 8px;
  box-shadow: 0 16px 46px rgba(22, 24, 25, 0.14);
}

.clients-hero,
.partners-hero,
.page-title,
.portfolio-intro,
.portfolio-sections,
.cta {
  width: min(1180px, calc(100% - 48px));
}

.clients-hero,
.partners-hero {
  position: relative;
  padding: 48px;
  background: var(--panel);
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(23, 23, 23, 0.08);
}

.clients-hero {
  margin-top: 0;
  margin-bottom: 22px;
}

.partners-hero {
  margin-bottom: 84px;
}

.clients-copy {
  margin-bottom: 28px;
}

.clients-copy h2 {
  font-size: 2.2rem;
  line-height: 1.12;
}

.client-logo-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.partner-logo-grid {
  grid-template-columns: repeat(2, minmax(220px, 300px));
}

.client-logo-grid div,
.partner-logo-grid div {
  min-height: 122px;
  padding: 20px;
  border-color: #ece8df;
  background: linear-gradient(180deg, #fff, #fbfaf6);
  box-shadow: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.client-logo-grid div:hover,
.partner-logo-grid div:hover {
  transform: translateY(-2px);
  border-color: rgba(185, 20, 26, 0.22);
  box-shadow: 0 14px 34px rgba(23, 23, 23, 0.08);
}

.client-logo-grid img,
.partner-logo-grid img {
  max-height: 86px;
}

.page-title {
  padding: 0 0 24px;
}

.page-title h1 {
  max-width: 900px;
  font-size: 3.7rem;
  line-height: 1.02;
}

.portfolio-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.22fr);
  gap: 28px;
  align-items: start;
  padding-bottom: 34px;
}

.portfolio-intro p {
  max-width: 780px;
  color: #545b60;
  font-size: 1.02rem;
  line-height: 1.65;
}

.portfolio-jump {
  justify-content: flex-end;
}

.portfolio-jump a {
  min-height: 38px;
  padding-inline: 12px;
  background: #fff;
  border-color: #e7e2d8;
  border-radius: 999px;
  font-size: 0.8rem;
  box-shadow: 0 8px 20px rgba(23, 23, 23, 0.04);
}

.portfolio-jump span {
  min-width: 26px;
  height: 24px;
  background: var(--charcoal);
}

.portfolio-section {
  margin-bottom: 34px;
  padding: 36px;
  background: var(--panel);
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(23, 23, 23, 0.07);
}

.portfolio-heading {
  align-items: center;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.portfolio-heading h2 {
  font-size: 2rem;
}

.portfolio-heading strong {
  padding: 8px 12px;
  color: var(--red-dark);
  background: #f8ece9;
  border-radius: 999px;
  font-size: 0.86rem;
}

.portfolio-grid {
  columns: 3 285px;
  column-gap: 16px;
}

.portfolio-grid button {
  margin-bottom: 16px;
  border-radius: 8px;
  background: white;
  border: 1px solid #e8e4dc;
  box-shadow: 0 10px 28px rgba(23, 23, 23, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.portfolio-grid button:hover {
  transform: translateY(-2px);
  border-color: rgba(185, 20, 26, 0.2);
  box-shadow: 0 18px 42px rgba(23, 23, 23, 0.13);
}

.portfolio-grid img {
  background: #eee;
}

.portfolio-grid button:hover img {
  transform: none;
  filter: saturate(1.04) contrast(1.02);
}

.portfolio-caption {
  padding: 13px 14px 15px;
  color: #3c4145;
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cta {
  margin-top: 28px;
  padding: 46px 50px;
  background:
    linear-gradient(135deg, rgba(31, 68, 56, 0.96), rgba(22, 33, 34, 0.96)),
    url("gallery/workshop.jpg") center / cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cta h2 {
  font-size: 2.2rem;
}

.site-footer {
  display: block;
  margin-top: 64px;
  padding: 54px 0 26px;
  color: white;
  background:
    linear-gradient(135deg, rgba(19, 27, 26, 0.98), rgba(18, 19, 21, 0.98)),
    url("gallery/workshop.jpg") center / cover;
}

.footer-overview {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-overview .eyebrow {
  color: var(--gold);
}

.footer-overview h2 {
  max-width: 900px;
  margin: 0 0 14px;
  color: white;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  line-height: 1.12;
}

.footer-overview p:last-child {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.55;
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.footer-contact article {
  min-height: 185px;
  padding: 22px;
  color: #555c63;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.footer-contact h2 {
  margin: 0 0 14px;
  color: var(--red-dark);
  font-size: 1rem;
  line-height: 1.2;
}

.footer-contact p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.48;
}

.footer-contact a {
  color: inherit;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 48px));
  margin: 24px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

@media (max-width: 1000px) {
  .site-header {
    padding-inline: 22px;
  }

  .hero h1,
  .page-title h1 {
    font-size: 3.6rem;
  }

  .portfolio-intro {
    grid-template-columns: 1fr;
  }

  .about-story,
  .about-principles {
    grid-template-columns: 1fr;
  }

  .about-story-image {
    width: 100%;
    max-height: 420px;
  }

  .about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-stats div:nth-child(2) {
    border-right: 0;
  }

  .about-stats div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .portfolio-jump {
    justify-content: flex-start;
  }

  .footer-contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 900px) {
  .hero {
    min-height: 680px;
  }

  .stats-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-band div:nth-child(2) {
    border-right: 0;
  }

  .clients-hero,
  .partners-hero,
  .portfolio-section {
    padding: 28px;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 74px;
    padding-inline: 18px;
  }

  .hero {
    min-height: 650px;
    align-items: end;
  }

  .hero-copy {
    width: calc(100% - 36px);
    margin: 0 auto 38px;
  }

  .hero h1,
  .page-title h1 {
    font-size: 2.5rem;
    line-height: 1.02;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-actions {
    gap: 10px;
  }

  .button {
    width: 100%;
  }

  .stats-band,
  .clients-hero,
  .partners-hero,
  .page-title,
  .portfolio-intro,
  .portfolio-sections,
  .cta {
    width: min(100% - 28px, 1180px);
  }

  .stats-band {
    margin-top: -34px;
    grid-template-columns: 1fr;
  }

  .about-hero {
    min-height: 640px;
    padding: 32px 22px;
  }

  .about-hero h1 {
    font-size: 2.55rem;
    line-height: 1.02;
  }

  .about-hero p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 1.55;
  }

  .about-stats {
    width: min(100% - 28px, 1180px);
    grid-template-columns: 1fr;
    margin-top: -28px;
  }

  .about-stats div,
  .about-stats div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .about-stats div:last-child {
    border-bottom: 0;
  }

  .about-principles {
    width: min(100% - 28px, 1180px);
  }

  .stats-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats-band div:last-child {
    border-bottom: 0;
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding-block: 64px;
  }

  h2,
  .clients-copy h2,
  .cta h2 {
    font-size: 1.95rem;
  }

  .clients-hero,
  .partners-hero,
  .portfolio-section {
    padding: 22px;
  }

  .client-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-logo-grid {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    grid-template-columns: 1fr;
    width: min(100% - 28px, 1180px);
  }

  .footer-overview {
    width: min(100% - 28px, 1180px);
  }

  .footer-contact article {
    padding: 20px;
    min-height: auto;
  }

  .footer-bottom {
    display: grid;
    width: min(100% - 28px, 1180px);
  }

  .portfolio-jump a {
    width: 100%;
    justify-content: space-between;
  }

  .portfolio-heading h2 {
    font-size: 1.55rem;
  }

  .portfolio-grid {
    columns: 1;
  }

  .portfolio-caption {
    -webkit-line-clamp: 5;
  }

  .cta {
    padding: 28px 22px;
  }
}

/* Centered trust and portfolio intro refinement */
.clients-copy {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.clients-copy .eyebrow {
  margin-bottom: 0;
}

.clients-copy h2 {
  margin-inline: auto;
}

.client-logo-grid {
  max-width: 1080px;
  margin-inline: auto;
}

.partner-logo-grid {
  justify-content: center;
  max-width: 640px;
  margin-inline: auto;
}

.page-title {
  text-align: center;
}

.page-title h1 {
  margin-inline: auto;
}

.portfolio-intro {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.portfolio-intro p {
  margin-inline: auto;
}

.portfolio-jump {
  justify-content: center;
  max-width: 760px;
}

/* Portfolio card spacing refinement */
.portfolio-grid {
  display: block;
  columns: 3 300px;
  column-gap: 24px;
}

.portfolio-grid button {
  display: block;
  width: 100%;
  margin: 0 0 24px;
  padding: 0;
  overflow: hidden;
  background: white;
  text-align: left;
  cursor: zoom-in;
  break-inside: avoid;
  border: 1px solid #e8e4dc;
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(23, 23, 23, 0.1);
}

.portfolio-grid button[hidden] {
  display: none;
}

.portfolio-grid img,
.portfolio-grid button:not(:has(.portfolio-caption)) img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 8px 8px 0 0;
}

.portfolio-grid button:not(:has(.portfolio-caption)) img {
  border-radius: 8px;
}

.portfolio-caption {
  position: static;
  display: block;
  margin: 0;
  padding: 10px 12px 12px;
  border-top: 1px solid rgba(21, 21, 21, 0.08);
  color: #3d4247;
  background: white;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.32;
  text-transform: none;
  text-shadow: none;
  overflow: visible;
  overflow-wrap: anywhere;
}

.portfolio-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

.portfolio-more {
  min-height: 42px;
  padding: 10px 20px;
  border: 1px solid rgba(185, 20, 26, 0.22);
  border-radius: 999px;
  color: white;
  background: var(--red);
  box-shadow: 0 12px 28px rgba(185, 20, 26, 0.18);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.portfolio-more:hover {
  transform: translateY(-1px);
  background: var(--red-dark);
  box-shadow: 0 16px 34px rgba(185, 20, 26, 0.24);
}

.portfolio-more:focus-visible {
  outline: 3px solid rgba(185, 20, 26, 0.28);
  outline-offset: 4px;
}

.portfolio-grid button:focus {
  outline: none;
}

.portfolio-grid button:focus-visible {
  outline: 3px solid rgba(185, 20, 26, 0.35);
  outline-offset: 4px;
}

/* Contact page refinement */
.contact-hero-pro {
  align-items: stretch;
  padding-top: clamp(54px, 7vw, 92px);
}

.contact-hero-pro > div {
  align-self: center;
}

.contact-hero-pro h1 {
  max-width: 560px;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 0.98;
}

.contact-hero-pro > div > p:not(.eyebrow) {
  max-width: 680px;
  color: #596066;
  font-size: 1.08rem;
}

.contact-hero-pro img {
  min-height: 520px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.contact-actions .button.ghost {
  color: var(--red-dark);
  background: white;
  border-color: rgba(185, 20, 26, 0.28);
}

.contact-panel,
.contact-map-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.32fr) minmax(0, 0.68fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
  padding: clamp(54px, 7vw, 82px) 0;
}

.contact-panel-intro {
  position: sticky;
  top: 110px;
}

.contact-panel-intro h2,
.contact-map-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.7rem);
}

.contact-panel-intro p:not(.eyebrow),
.contact-map-copy p {
  color: #596066;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-card-grid article {
  min-height: 190px;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(23, 23, 23, 0.06);
}

.contact-card-grid h2 {
  margin-bottom: 14px;
  color: var(--red-dark);
  font-size: 1.05rem;
}

.contact-card-grid p {
  margin: 0;
  color: #596066;
  line-height: 1.55;
}

.contact-card-grid a {
  color: inherit;
  text-underline-offset: 3px;
}

.contact-map-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: stretch;
  margin-bottom: clamp(56px, 8vw, 92px);
  padding: clamp(24px, 4vw, 38px);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(23, 23, 23, 0.08);
}

.contact-map-copy {
  align-self: center;
}

.contact-map {
  min-height: 440px;
  overflow: hidden;
  background: #e7e4de;
  border-radius: 8px;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 0;
}

@media (max-width: 620px) {
  .portfolio-grid {
    columns: 1;
  }

  .portfolio-grid button {
    margin-bottom: 18px;
    padding: 0;
  }

  .portfolio-caption {
    padding: 9px 11px 11px;
    font-size: 0.7rem;
  }
}

@media (max-width: 1000px) {
  .contact-panel,
  .contact-map-section {
    grid-template-columns: 1fr;
  }

  .contact-panel-intro {
    position: static;
  }
}

@media (max-width: 620px) {
  .contact-hero-pro {
    width: min(100% - 28px, 1180px);
    padding-top: 46px;
  }

  .contact-hero-pro img {
    min-height: auto;
  }

  .contact-actions .button {
    width: 100%;
  }

  .contact-panel,
  .contact-map-section {
    width: min(100% - 28px, 1180px);
  }

  .contact-panel {
    padding: 54px 0;
  }

  .contact-card-grid {
    grid-template-columns: 1fr;
  }

  .contact-card-grid article {
    min-height: auto;
    padding: 20px;
  }

  .contact-map-section {
    padding: 20px;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 360px;
  }
}

/* Services page refinement */
.services-hero {
  min-height: calc(100vh - 74px);
}

.services-hero > div {
  max-width: 980px;
}

.services-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.service-overview,
.service-showcase,
.service-process,
.service-cta {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.service-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(260px, 0.38fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  margin-top: clamp(44px, 7vw, 82px);
  margin-bottom: clamp(28px, 5vw, 54px);
  padding: clamp(34px, 5vw, 56px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 246, 240, 0.96)),
    url("gallery/control-panel.jpg") right center / 42% auto no-repeat;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(23, 23, 23, 0.08);
}

.service-overview h2 {
  margin-bottom: 0;
}

.service-overview > p {
  margin: 0;
  color: #596066;
  font-size: 1.06rem;
  line-height: 1.68;
}

.service-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 0 clamp(54px, 8vw, 92px);
}

.service-feature {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(23, 23, 23, 0.07);
}

.service-feature.large {
  grid-column: span 2;
}

.service-feature img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.service-feature.large img {
  height: 360px;
}

.service-feature div {
  padding: 22px;
}

.service-feature span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: white;
  background: var(--red);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.service-feature h2 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1.15;
}

.service-feature p {
  margin: 0;
  color: #596066;
}

.service-process {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: start;
  padding: clamp(34px, 6vw, 64px);
  background: #1f4438;
  border-radius: 8px;
  color: white;
}

.service-process .eyebrow {
  color: var(--gold);
}

.service-process h2 {
  margin-bottom: 0;
  color: white;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.service-process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-process-grid article {
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.service-process-grid strong {
  display: block;
  margin-bottom: 8px;
  color: white;
  font-size: 1.05rem;
}

.service-process-grid span {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.55;
}

.service-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  padding: clamp(56px, 8vw, 92px) 0;
}

.service-cta img {
  width: 100%;
  aspect-ratio: 1.15 / 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(23, 23, 23, 0.12);
}

.service-cta p:not(.eyebrow) {
  color: #596066;
}

@media (max-width: 1000px) {
  .service-overview,
  .service-process,
  .service-cta {
    grid-template-columns: 1fr;
  }

  .service-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .services-hero {
    min-height: 640px;
    padding: 32px 22px;
  }

  .services-hero h1 {
    font-size: 2.55rem;
    line-height: 1.02;
  }

  .services-hero p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 1.55;
  }

  .service-overview,
  .service-showcase,
  .service-process,
  .service-cta {
    width: min(100% - 28px, 1180px);
  }

  .service-overview {
    padding: 28px 20px;
    background: white;
  }

  .service-showcase,
  .service-process-grid {
    grid-template-columns: 1fr;
  }

  .service-feature.large {
    grid-column: span 1;
  }

  .service-feature img,
  .service-feature.large img {
    height: 230px;
  }

  .service-process {
    padding: 28px 20px;
  }
}
