/* DYMO interiors & upgrades — site styles */
:root {
  /* Aligned with supplied brand logo red */
  --red: #a61919;
  --red-dark: #7a0f18;
  --red-muted: #9a1a24;
  --black: #141414;
  --grey-900: #2a2a2a;
  --grey-600: #5a5a5a;
  --grey-400: #9a9a9a;
  --grey-100: #f4f4f5;
  --white: #ffffff;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Outfit", var(--font-sans);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --radius: 4px;
  --max: 1140px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--grey-900);
  background: var(--white);
}

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

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--red);
  color: var(--white);
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(8px);
}

.header-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.logo-link:hover {
  text-decoration: none;
}

.site-logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--red);
}

.logo-tag {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--grey-600);
  text-transform: lowercase;
  margin-top: 2px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--red);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 1.25rem;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--grey-900);
  text-decoration: none;
  padding: 0.35rem 0;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--red);
  text-decoration: none;
}

.nav-cta {
  margin-left: 0.5rem;
}

.nav-cta .btn {
  padding: 0.72rem 1.85rem;
  min-height: 2.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn:hover {
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--red-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}

.btn-outline:hover {
  background: var(--red);
  color: var(--white);
}

.btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(62vh, 580px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

/* Abstract hero (no photography — brand gradients + subtle geometry) */
.hero-bg--brand {
  background-color: #161616;
  background-image:
    linear-gradient(145deg, rgba(166, 25, 25, 0.35) 0%, transparent 42%),
    linear-gradient(320deg, rgba(90, 90, 90, 0.2) 0%, transparent 45%),
    linear-gradient(180deg, #1e1e1e 0%, #0d0d0d 100%);
}

.hero-bg--brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(105deg, transparent 55%, rgba(166, 25, 25, 0.12) 55%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 48px,
      rgba(255, 255, 255, 0.04) 48px,
      rgba(255, 255, 255, 0.04) 49px
    );
  pointer-events: none;
}

.hero-bg--brand::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: min(45%, 380px);
  height: min(50%, 280px);
  background: linear-gradient(
    135deg,
    transparent 40%,
    rgba(166, 25, 25, 0.45) 40%,
    rgba(166, 25, 25, 0.45) 55%,
    rgba(20, 20, 20, 0.6) 55%
  );
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
  opacity: 0.85;
}

/* Content panels replacing brochure imagery */
.deco-panel {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-md);
  height: 100%;
}

.deco-panel--dark {
  background: var(--grey-900);
  color: var(--white);
  border-color: transparent;
}

.deco-panel--dark .deco-panel__title {
  color: var(--white);
}

.deco-panel__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 1rem;
  color: var(--black);
}

.deco-panel__list {
  margin: 0;
  padding-left: 1.15rem;
}

.deco-panel__list li {
  margin-bottom: 0.5rem;
  color: var(--grey-600);
}

.deco-panel--dark .deco-panel__list li {
  color: rgba(255, 255, 255, 0.88);
}

.stat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.stat-pill {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(166, 25, 25, 0.1);
  color: var(--red);
  border-radius: 2px;
}

/* Leadership — initials instead of a photo */
.profile-avatar {
  width: 200px;
  height: 200px;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(145deg, var(--grey-600) 0%, var(--black) 100%);
  border: 3px solid var(--red);
  border-radius: var(--radius);
}

.profile-avatar[aria-label] {
  cursor: default;
}

.profile-photo-wrap {
  max-width: 300px;
  margin: 0 auto;
}

.profile-photo {
  display: block;
  width: 100%;
  height: auto;
  max-width: 300px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 20%;
  border: 3px solid var(--red);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* Clients — text-based partner strip (no logo image files) */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2rem;
  padding: 1.75rem 1.25rem;
  margin-top: 2rem;
  background: var(--grey-100);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.logo-strip__item {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--grey-600);
  text-transform: uppercase;
}

.logo-strip__item--accent {
  color: var(--red);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20, 20, 20, 0.92) 0%,
    rgba(20, 20, 20, 0.45) 45%,
    rgba(20, 20, 20, 0.25) 100%
  );
}

.hero-content {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem 3.5rem;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1rem;
  max-width: 18ch;
}

.hero-tagline {
  font-size: 1.15rem;
  font-weight: 500;
  max-width: 36ch;
  margin: 0 0 1.75rem;
  opacity: 0.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero--compact {
  min-height: 320px;
  max-height: min(52vh, 520px);
  align-items: center;
}

.hero--compact .hero-content {
  padding: 2.5rem 1.25rem;
}

.hero--compact h1 {
  max-width: none;
}

/* Sections */
.section {
  padding: 4rem 1.25rem;
}

.section--muted {
  background: var(--grey-100);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  margin-bottom: 2.5rem;
  max-width: 720px;
}

.section-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--black);
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.section-intro {
  margin: 0;
  color: var(--grey-600);
  font-size: 1.05rem;
}

/* Title block (brochure style) */
.title-block {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.title-block span {
  padding: 0.5rem 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.title-block .tb-light {
  background: var(--white);
  color: var(--black);
  border: 2px solid var(--black);
  border-right: none;
}

.title-block .tb-dark {
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--black);
}

.title-block .tb-red {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
}

/* Grids */
.grid-2 {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.grid-3 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
}

.card--red {
  background: var(--red);
  color: var(--white);
  border: none;
}

.card--red h3 {
  color: var(--white);
}

.card--red p,
.card--red li {
  color: rgba(255, 255, 255, 0.95);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
  color: var(--black);
}

.card p:last-child {
  margin-bottom: 0;
}

.card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.card li {
  margin-bottom: 0.4rem;
}

/* Cab design gallery — portrait product renders on white */
.design-grid {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  align-items: stretch;
}

/* let the gallery run wider than the standard text container */
.design-wide {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 800px) {
  .design-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.design-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.design-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.design-card__media {
  height: 240px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

@media (min-width: 800px) {
  .design-card__media {
    height: 260px;
  }
}

.design-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.design-card__body {
  padding: 1rem 0.9rem 1.2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  flex: 1;
}

.design-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 0.35rem;
  text-wrap: balance;
}

.design-card__meta {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--grey-600);
}

.design-card__tag {
  display: inline-block;
  margin: 0 0 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--grey-100);
  color: var(--grey-600);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.design-card__tag--standard {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.design-card__inline-tag {
  display: inline-block;
  vertical-align: 2px;
  margin-left: 0.4rem;
  padding: 0.12rem 0.45rem;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--grey-100);
  color: var(--grey-600);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.design-card__inline-tag--standard {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.design-card__spec {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

.design-card__spec dt {
  font-weight: 700;
  color: var(--grey-900);
  margin-top: 0.55rem;
}

.design-card__spec dt:first-child {
  margin-top: 0;
}

.design-card__spec dd {
  margin: 0.1rem 0 0;
  color: var(--grey-600);
}

/* Subsection heading inside a gallery band */
.subsection-head {
  margin: 3.5rem 0 1.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.subsection-head h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--black);
  margin: 0 0 0.5rem;
}

.subsection-head p {
  margin: 0;
  max-width: 720px;
  color: var(--grey-600);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Control panel cards — tall, narrow fixture images */
.cop-grid {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .cop-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cop-card {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.cop-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.cop-card__media {
  height: 420px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.75rem;
}

.cop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cop-card__body {
  padding: 1rem 1.1rem 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  flex: 1;
}

/* Series strip — one wide catalogue image with its own model labels */
.handrail-figure,
.series-figure {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem 1.25rem 0.5rem;
}

.handrail-figure img,
.series-figure img {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  margin: 0 auto;
}

/* the floor swatch grid carries more detail, so let it run wider */
.series-figure--wide img {
  max-width: 900px;
}

.handrail-figure figcaption,
.series-figure figcaption {
  margin-top: 0.5rem;
  padding-bottom: 0.75rem;
  text-align: center;
  font-size: 0.86rem;
  color: var(--grey-600);
}

@media (prefers-reduced-motion: reduce) {
  .cop-card {
    transition: none;
  }
  .cop-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .design-card {
    transition: none;
  }
  .design-card:hover {
    transform: none;
  }
}

/* Feature strip */
.features {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .features {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature {
  padding: 1.25rem;
  background: var(--white);
  border-left: 4px solid var(--red);
  box-shadow: var(--shadow-sm);
}

.feature strong {
  display: block;
  font-size: 0.85rem;
  color: var(--black);
  margin-bottom: 0.25rem;
}

.feature span {
  font-size: 0.9rem;
  color: var(--grey-600);
}

/* Service list page */
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  position: relative;
  padding: 1rem 0 1rem 1.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 1px;
}

.service-list li:last-child {
  border-bottom: none;
}

/* Lift inspectors table */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-sm);
}

.inspectors-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.inspectors-table th,
.inspectors-table td {
  padding: 1rem 1.1rem;
  text-align: left;
  vertical-align: top;
}

.inspectors-table thead {
  background: var(--black);
  color: var(--white);
}

.inspectors-table th {
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.inspectors-table tbody tr:nth-child(odd) {
  background: var(--white);
}

.inspectors-table tbody tr:nth-child(even) {
  background: #fdf2f3;
}

.inspectors-table .org {
  font-weight: 700;
  color: var(--red);
}

.inspectors-table a {
  word-break: break-word;
}

/* keep phone numbers on one line and fit the table to narrow screens */
.inspectors-table td a[href^="tel:"] {
  white-space: nowrap;
  word-break: normal;
}

@media (max-width: 600px) {
  .inspectors-table {
    font-size: 0.84rem;
  }

  .inspectors-table th,
  .inspectors-table td {
    padding: 0.7rem 0.4rem;
  }

  .inspectors-table th:first-child,
  .inspectors-table td:first-child {
    padding-left: 0.6rem;
  }

  .inspectors-table th:last-child,
  .inspectors-table td:last-child {
    padding-right: 0.6rem;
  }
}

/* Contact form */
.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 600px) {
  .form-grid.cols-2 {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--grey-900);
}

input,
textarea,
select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: var(--radius);
  background: var(--white);
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--red);
  outline-offset: 1px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--grey-600);
  margin-top: 0.75rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%);
  color: var(--white);
  padding: 3rem 1.25rem;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
}

.cta-band p {
  margin: 0 0 1.25rem;
  opacity: 0.95;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .btn-primary {
  background: var(--white);
  color: var(--red);
}

.cta-band .btn-primary:hover {
  background: var(--grey-100);
}

/* Contact block */
.contact-panel {
  background: var(--red-dark);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
}

.contact-panel h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.contact-panel a {
  color: var(--white);
  text-decoration: underline;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.contact-list li:last-child {
  margin-bottom: 0;
}

.contact-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  opacity: 0.95;
}

/* Footer */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 1.25rem 2rem;
  position: relative;
  overflow: hidden;
}

.footer-geo {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 120px;
  height: 80px;
  opacity: 0.35;
  pointer-events: none;
}

.footer-brand-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.footer-brand-title a {
  color: var(--white);
  text-decoration: none;
}

.footer-brand-title a:hover {
  text-decoration: underline;
}

.footer-brand-sub {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

.footer-tagline {
  margin: 1rem 0 0;
  max-width: 28ch;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-col h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-col li {
  margin-bottom: 0.4rem;
}

.footer-bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

/* Page hero image block */
.media-block {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.media-block img {
  width: 100%;
  height: auto;
  vertical-align: middle;
  object-fit: cover;
}

.media-block--16x9 {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 520px;
  overflow: hidden;
  background: var(--grey-100);
}

.media-block--16x9 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Leadership profile */
.profile {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 700px) {
  .profile {
    grid-template-columns: 280px 1fr;
  }
}

.profile-card {
  text-align: center;
}

.profile-img {
  border: 3px solid var(--red);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 0;
}

.profile-nameplate {
  background: var(--red);
  color: var(--white);
  padding: 0.75rem 1rem;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

/* Mobile nav */
@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 1rem 1.25rem 1.5rem;
    box-shadow: var(--shadow-md);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .site-nav a {
    display: block;
    padding: 0.75rem 0;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 0.75rem;
  }

  .nav-cta .btn {
    width: 100%;
    padding: 0.95rem 1.75rem;
    min-height: auto;
  }
}

/* Project gallery */
.project-block {
  margin-bottom: 3.5rem;
}

.project-block:last-child {
  margin-bottom: 0;
}

.project-block__head {
  border-left: 4px solid var(--red);
  padding-left: 1rem;
  margin-bottom: 1.75rem;
}

.project-block__head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  line-height: 1.25;
  color: var(--black);
  margin: 0 0 0.4rem;
}

.project-block__head p {
  margin: 0;
  max-width: 68ch;
  color: var(--grey-600);
}

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery figure {
  margin: 0;
  background: var(--white);
  border: 1px solid #e6e6e8;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.gallery figure:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--grey-100);
}

.gallery figure.is-portrait img {
  aspect-ratio: 3 / 4;
}

.gallery figcaption {
  padding: 0.85rem 1rem 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--grey-600);
  border-top: 1px solid #ececee;
}

.gallery figcaption strong {
  display: block;
  color: var(--black);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

@media (prefers-reduced-motion: reduce) {
  .gallery figure {
    transition: none;
  }

  .gallery figure:hover {
    transform: none;
  }
}

/* Before & after */
.ba-item {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #e6e6e8;
}

.ba-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.ba-item__head {
  margin-bottom: 1.5rem;
}

.ba-item__head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.8vw, 1.55rem);
  line-height: 1.25;
  color: var(--black);
  margin: 0 0 0.4rem;
}

.ba-item__head p {
  margin: 0;
  max-width: 70ch;
  color: var(--grey-600);
}

.ba-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 760px) {
  .ba-pair {
    grid-template-columns: 1fr 1fr;
  }
}

.ba-shot {
  margin: 0;
  position: relative;
  background: var(--white);
  border: 1px solid #e6e6e8;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.ba-shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--grey-100);
}

.ba-shot--tall img {
  aspect-ratio: 3 / 4;
}

.ba-shot figcaption {
  padding: 0.8rem 1rem 0.95rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--grey-600);
  border-top: 1px solid #ececee;
}

.ba-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.ba-tag--before {
  background: var(--grey-900);
}

.ba-tag--after {
  background: var(--red);
}

/* Utility */
.prose p {
  margin: 0 0 1rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.text-muted {
  color: var(--grey-600);
}

.mb-0 {
  margin-bottom: 0;
}
