/*
Theme Name: N35 Custom Theme
Theme URI: https://n35.ca/
Author: N35
Author URI: https://n35.ca/
Description: Custom WordPress theme based on current N35 landing design.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: n35-custom-theme
*/

:root {
  --ink: #0a0a0a;
  --bg: #fff;
  --white: #fff;
  --coral: #56bdff;
  --mint: #56bdff;
  --acid: #56bdff;
  --yellow: #56bdff;
  --cyan: #56bdff;
  --dark: #060606;
  --line: rgba(255, 255, 255, 0.12);
  --muted: rgba(255, 255, 255, 0.88);
  --text-muted: rgba(10, 10, 10, 0.72);
  --container: 1160px;
  --heading: "Archivo Black", Impact, sans-serif;
  --body: "Montserrat", system-ui, sans-serif;
  --header-height: 94px;
  --header-height-scrolled: 66px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  padding-top: var(--header-height);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

ul {
  margin: 0;
  padding-left: 18px;
}

p {
  margin: 0;
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition:
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.09);
}

.header-row {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 22px;
  position: relative;
  transition: min-height 0.22s ease, gap 0.22s ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.brand-logo {
  display: block;
  width: auto;
  height: clamp(38px, 3.15vw, 50px);
  transition: height 0.22s ease;
}

.brand-main {
  font-family: var(--heading);
  font-size: 25px;
  letter-spacing: -0.03em;
}

.brand-sub {
  font-size: 9px;
  font-weight: 600;
  margin-left: 2px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.8vw, 34px);
  transition: gap 0.22s ease;
}

.site-nav a {
  font-family: var(--body);
  font-size: clamp(13px, 0.92vw, 17px);
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: font-size 0.22s ease;
}

.header-phone {
  font-family: var(--body);
  margin-left: auto;
  font-size: clamp(15px, 1.28vw, 24px);
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
  padding-right: 0;
  transition: font-size 0.22s ease;
}

.site-header.is-scrolled .header-row {
  min-height: var(--header-height-scrolled);
  gap: 16px;
}

.site-header.is-scrolled .brand-logo {
  height: clamp(30px, 2.2vw, 40px);
}

.site-header.is-scrolled .site-nav {
  gap: clamp(12px, 1.2vw, 24px);
}

.site-header.is-scrolled .site-nav a {
  font-size: clamp(10px, 0.66vw, 12px);
}

.site-header.is-scrolled .header-phone {
  font-size: clamp(13px, 1.06vw, 20px);
}

.menu-toggle {
  display: none;
  width: 24px;
  height: 24px;
  border: 0;
  background: #0c0c0c;
  padding: 0;
  cursor: pointer;
  place-items: center;
  gap: 3px;
}

.menu-toggle span {
  display: block;
  width: 10px;
  height: 1px;
  background: #fff;
}

.scroll-jump {
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  bottom: calc(14px + env(safe-area-inset-bottom));
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(10, 10, 10, 0.14);
  border-radius: 999px;
  background: #0a0a0a;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  z-index: 140;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.96);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.scroll-jump.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.scroll-jump:hover {
  background: #1c1c1c;
}

.scroll-jump:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.scroll-jump-icon {
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  transform: translateY(-1px);
  transition: transform 0.2s ease;
}

.scroll-jump.is-up .scroll-jump-icon {
  transform: translateY(-1px) rotate(180deg);
}

.eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: rgba(10, 10, 10, 0.7);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 26px;
  margin-bottom: 28px;
  align-items: start;
}

.section-head h2 {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(28px, 3vw, 46px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.section-head p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 760px;
}

.light-text h2,
.light-text p {
  color: #fff;
}

.light-text p {
  color: rgba(255, 255, 255, 0.88);
}

.hero-start {
  position: relative;
  min-height: 680px;
  background: #fff;
  overflow: hidden;
}

.hero-start::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.97) 18%,
      rgba(255, 255, 255, 0.78) 38%,
      rgba(255, 255, 255, 0.46) 54%,
      rgba(255, 255, 255, 0.14) 68%,
      rgba(255, 255, 255, 0) 78%
    ),
    radial-gradient(
      120% 90% at 0% 100%,
      rgba(255, 255, 255, 0.56) 0%,
      rgba(255, 255, 255, 0) 62%
    );
  z-index: 1;
}

.hero-start-inner {
  position: relative;
  z-index: 2;
  min-height: 680px;
  display: flex;
  align-items: center;
}

.hero-start-topline {
  position: absolute;
  top: clamp(18px, 2.2vw, 34px);
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(26px, 2.1vw, 40px);
  letter-spacing: 0.08em;
  line-height: 1.08;
  text-transform: uppercase;
  color: #0a0a0a;
  z-index: 3;
  text-align: center;
}

.hero-start-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-start-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.04) contrast(1.02);
  transform: none;
}

.hero-start-copy {
  position: relative;
  z-index: 3;
  max-width: 520px;
  margin-top: -40px;
}

.hero-start-copy h1 {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(38px, 4.8vw, 66px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: #0a0a0a;
}

.hero-start-copy .years {
  margin-top: 16px;
  font-family: var(--heading);
  font-size: clamp(58px, 7vw, 98px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--coral);
}

.hero-start-proven {
  position: absolute;
  left: 0;
  bottom: clamp(20px, 2.6vw, 40px);
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(34px, 4.6vw, 70px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--coral);
  z-index: 3;
}

.hero-start-copy .market {
  margin-top: 8px;
  font-size: clamp(18px, 1.8vw, 29px);
  font-weight: 600;
  color: rgba(10, 10, 10, 0.46);
}

.legacy-hero {
  background: var(--coral);
  padding: 64px 0 70px;
  text-align: center;
}

.legacy-hero .hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.legacy-hero .eyebrow {
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: 12px;
}

.legacy-hero h1 {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(34px, 5.1vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.legacy-hero .hero-copy {
  margin: 20px auto 28px;
  max-width: 620px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}

.legacy-hero .btn {
  margin-top: 30px;
}

.pm-focus {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 108px) 0;
  background-color: #5b4a34;
  background-image: url("https://n35.ca/wp-content/uploads/2026/03/aboutback.png");
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
}

.pm-focus-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}

.pm-focus-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 70px);
  min-height: clamp(360px, 34vw, 520px);
  align-items: start;
}

.pm-focus-col h2,
.pm-focus-col h3 {
  margin: 0;
  color: #fff;
  font-family: var(--heading);
  letter-spacing: -0.03em;
}

.pm-focus-col h2 {
  font-size: clamp(42px, 4vw, 72px);
  line-height: 0.9;
  max-width: 9ch;
}

.pm-focus-col h3 {
  font-size: clamp(36px, 3.8vw, 64px);
  line-height: 0.92;
  max-width: 10ch;
}

.pm-focus-col-right h3 {
  color: var(--coral);
}

.pm-focus-col p {
  margin-top: 18px;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(16px, 1.25vw, 22px);
  line-height: 1.38;
}

.pm-focus-col-right p {
  max-width: 32ch;
}

.pm-focus-cta {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  min-width: min(100%, 560px);
  padding: 14px 28px;
  background: var(--coral);
  color: #05131f;
  font-family: var(--heading);
  font-size: clamp(18px, 1.5vw, 30px);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.pm-focus-cta:hover,
.pm-focus-cta:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.portfolio-preview {
  background: #fff;
  padding: 58px 0 62px;
}

.portfolio-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

.portfolio-tile {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  min-height: 0;
  border: 0;
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: #0d0d0d;
  text-align: left;
}

.portfolio-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.portfolio-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.18) 62%,
    rgba(0, 0, 0, 0.35) 100%
  );
  z-index: 1;
}

.portfolio-tile-badge,
.portfolio-tile-title {
  position: absolute;
  z-index: 2;
  color: #fff;
}

.portfolio-tile-badge {
  left: 12px;
  top: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
}

.portfolio-tile-title {
  left: 12px;
  right: 12px;
  bottom: 12px;
  font-family: var(--heading);
  font-size: clamp(28px, 2.2vw, 42px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
  max-width: none;
  white-space: nowrap;
}

.portfolio-tile:hover img,
.portfolio-tile:focus-visible img {
  transform: scale(1.04);
}

.portfolio-tile:focus-visible {
  outline: 2px solid rgba(86, 189, 255, 0.95);
  outline-offset: 2px;
}

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

.portfolio-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 16px;
}

.portfolio-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.portfolio-modal-dialog {
  position: relative;
  width: min(1120px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  padding: 0;
  z-index: 1;
}

.portfolio-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #0a0a0a;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

.portfolio-projects {
  display: grid;
  gap: 0;
}

.portfolio-project-meta {
  padding: 20px 20px 14px;
  display: grid;
  gap: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.portfolio-project-meta h3 {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 0.92;
  letter-spacing: -0.02em;
}

.portfolio-project-meta p {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  color: var(--text-muted);
}

.portfolio-project-meta ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 16px;
}

.portfolio-project-meta li {
  font-size: 14px;
  line-height: 1.35;
  color: #26323f;
}

.portfolio-project-gallery {
  display: grid;
  gap: 10px;
  padding-top: 10px;
}

.portfolio-project {
  border: 0;
  border-radius: 0;
  padding: 0;
}

.portfolio-project-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.portfolio-project figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  min-height: clamp(180px, 21vw, 320px);
}

.portfolio-project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

.portfolio-project figcaption {
  position: absolute;
  left: 12px;
  top: 12px;
  font-family: var(--heading);
  font-size: clamp(16px, 1.2vw, 24px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.portfolio-project-empty {
  margin: 0;
  padding: 22px 20px 26px;
  font-size: 15px;
  color: var(--text-muted);
}

body.is-modal-open {
  overflow: hidden;
}

.portfolio-image-lightbox[hidden] {
  display: none;
}

.portfolio-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: grid;
  place-items: center;
  padding: 16px;
}

.portfolio-image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
}

.portfolio-image-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-image-lightbox-img {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 88px);
  object-fit: contain;
  display: block;
  border-radius: 12px;
}

.portfolio-image-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  min-height: 46px;
  padding: 10px 20px;
  font-family: var(--heading);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.btn-light {
  background: #fff;
  color: #0a0a0a;
}

.company-intro {
  background: #fff;
  padding: 0 0 72px;
  margin-top: 24px;
  position: relative;
  z-index: 2;
}

.company-grid-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1.75fr;
  gap: 12px;
  align-items: start;
}

.intro-card {
  min-height: 300px;
  padding: 22px;
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.intro-card h3 {
  margin: 10px 0 12px;
  font-family: var(--heading);
  font-size: 20px;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.intro-card p {
  font-size: 13px;
  line-height: 1.55;
}

.intro-icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  position: relative;
}

.intro-icon-building {
  border: 2px solid currentColor;
  border-top-width: 3px;
}

.intro-icon-building::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 5px;
  bottom: 4px;
  background:
    linear-gradient(currentColor, currentColor) left 0 top 0 / 3px 3px no-repeat,
    linear-gradient(currentColor, currentColor) center top 0 / 3px 3px no-repeat,
    linear-gradient(currentColor, currentColor) right 0 top 0 / 3px 3px no-repeat,
    linear-gradient(currentColor, currentColor) left 0 center / 3px 3px no-repeat,
    linear-gradient(currentColor, currentColor) center center / 3px 3px no-repeat,
    linear-gradient(currentColor, currentColor) right 0 center / 3px 3px no-repeat;
}

.intro-icon-crane {
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(22deg);
}

.intro-icon-crane::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 2px;
  background: currentColor;
  right: -1px;
  top: 2px;
}

.intro-icon-crane::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 9px;
  background: currentColor;
  right: 2px;
  top: 4px;
}

.planning-card {
  background: #fff;
  color: #0a0a0a;
}

.planning-card a {
  display: inline-block;
  margin-top: 24px;
  font-size: 11px;
  font-weight: 800;
  color: var(--coral);
  letter-spacing: 0.08em;
}

.construction-card {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
}

.company-about {
  padding: 20px 8px 0 8px;
}

.micro-title {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(10, 10, 10, 0.45);
  text-transform: uppercase;
}

.micro-title::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  background: var(--coral);
}

.company-about h2 {
  margin-top: 16px;
  font-family: var(--heading);
  font-size: clamp(28px, 3vw, 46px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #0a0a0a;
  max-width: 760px;
}

.company-about p {
  margin-top: 14px;
  max-width: 760px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
}

.mission-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  gap: 12px;
  align-items: end;
}

.mission-copy h2 {
  margin-top: 14px;
  font-family: var(--heading);
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #0a0a0a;
  max-width: 680px;
}

.mission-stats {
  margin-top: 34px;
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.mission-stats article {
  display: flex;
  align-items: baseline;
  gap: 10px;
  position: relative;
  padding-left: 30px;
}

.mission-stats article::before {
  position: absolute;
  left: 0;
  top: 14px;
  font-size: 17px;
  color: var(--coral);
  line-height: 1;
}

.mission-stats .stat-projects::before {
  content: "⌂";
}

.mission-stats .stat-clients::before {
  content: "◉";
}

.mission-stats strong {
  font-family: var(--heading);
  font-size: clamp(52px, 5vw, 86px);
  line-height: 0.9;
  color: var(--coral);
  letter-spacing: -0.03em;
}

.mission-stats span {
  font-size: 22px;
  color: rgba(10, 10, 10, 0.45);
}

.mission-image {
  position: relative;
  min-height: 348px;
  overflow: hidden;
}

.mission-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mission-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0) 14%,
      rgba(255, 255, 255, 0) 86%,
      rgba(255, 255, 255, 0.98) 100%
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0) 14%,
      rgba(255, 255, 255, 0) 86%,
      rgba(255, 255, 255, 0.98) 100%
    );
}

.who-we-are {
  background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
  padding: 62px 0 56px;
}

.who-we-are .section-head {
  margin-bottom: 26px;
}

.who-we-are .section-head p {
  max-width: 940px;
  color: rgba(10, 10, 10, 0.66);
  font-size: 15px;
  line-height: 1.5;
}

.who-affiliated {
  display: grid;
  grid-template-columns: minmax(200px, 0.78fr) 4px minmax(0, 1.22fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: center;
  margin-bottom: 18px;
  padding: clamp(18px, 2.2vw, 28px);
  background: transparent;
  box-shadow: none;
}

.who-affiliated-title {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(22px, 2.5vw, 49px);
  line-height: 0.93;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0a0a0a;
  max-width: 11ch;
}

.who-affiliated-divider {
  width: 4px;
  height: clamp(120px, 13vw, 232px);
  background: #0a0a0a;
}

.who-affiliated-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  align-items: center;
}

.who-affiliated-logos img {
  display: block;
  width: 100%;
  max-height: 160px;
  object-fit: contain;
}

.who-affiliated-logos.is-single {
  display: block;
}

.who-affiliated-logos.is-single img {
  width: min(100%, 560px);
  max-height: 180px;
  margin: 0 auto;
}

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

.info-card {
  position: relative;
  overflow: hidden;
  min-height: 236px;
  padding: 24px 24px 22px;
  border-radius: 10px;
  border: 1px solid rgba(86, 189, 255, 0.3);
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 24, 48, 0.06);
}

.info-card::before {
  content: none;
}

.info-card h3 {
  margin: 0 0 12px;
  font-family: var(--heading);
  font-size: clamp(24px, 1.95vw, 34px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.info-card p,
.info-card li {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(10, 10, 10, 0.76);
}

.info-card ul {
  margin-top: 2px;
  padding-left: 21px;
}

.info-card li + li {
  margin-top: 7px;
}

.info-card.dark {
  background: #06070b;
  color: #fff;
  border-color: #06070b;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

.info-card.dark p,
.info-card.dark li {
  color: rgba(255, 255, 255, 0.92);
}

.info-card.mint {
  background: #ffa94d;
}

.info-card.white {
  background: #fbfdff;
}

.info-card.light {
  background: #ffa94d;
  color: #0a0a0a;
}

.contact-strip {
  margin-top: 14px;
  background: #0b0b0b;
  color: #fff;
  padding: 14px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 12px;
  line-height: 1.35;
}

.contact-strip strong {
  font-size: 11px;
  letter-spacing: 0.04em;
}

.contact-strip a {
  color: var(--mint);
  font-weight: 700;
}

.contact-strip.compact {
  margin-top: 22px;
  font-size: 11px;
}

.service-overview {
  position: relative;
  padding: 56px 0 64px;
  background-image: url("https://images.unsplash.com/photo-1511578314322-379afb476865?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
}

.service-overview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.75));
}

.service-overview .container {
  position: relative;
  z-index: 1;
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.category-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.overview-card {
  min-height: 210px;
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.overview-card h3 {
  margin: 0 0 8px;
  font-family: var(--heading);
  font-size: 18px;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.overview-card p,
.overview-card li {
  font-size: 12px;
  line-height: 1.45;
}

.overview-card ul {
  margin-top: 2px;
}

.overview-card li + li {
  margin-top: 4px;
}

.overview-card .subtitle {
  font-weight: 700;
  margin-bottom: 6px;
}

.overview-card.coral {
  background: var(--coral);
}

.overview-card.yellow {
  background: var(--yellow);
}

.overview-card.black {
  background: #090909;
  color: #fff;
}

.overview-card.mint {
  background: var(--mint);
}

.overview-card.white {
  background: #fff;
}

.overview-card.cyan {
  background: var(--cyan);
}

.mini-link {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--heading);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.advantages {
  background: var(--mint);
  padding: 56px 0 62px;
}

.advantages .section-head p {
  color: rgba(0, 0, 0, 0.76);
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.adv-card {
  background: rgba(255, 255, 255, 0.32);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 18px;
  min-height: 190px;
}

.adv-card h3 {
  margin: 0 0 10px;
  font-family: var(--heading);
  font-size: 17px;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.adv-card li {
  font-size: 12px;
  line-height: 1.45;
}

.adv-card li + li {
  margin-top: 5px;
}

.process {
  background: #fff;
  padding: 58px 0 66px;
}

.process .section-head {
  margin-bottom: 34px;
}

.process .section-head h2 {
  color: #0a0a0a;
  font-size: clamp(28px, 3vw, 46px);
}

.process .section-head p {
  color: rgba(10, 10, 10, 0.72);
  font-size: 15px;
  line-height: 1.5;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 30px;
}

.step-card {
  padding: 0;
  min-height: 0;
}

.step-no {
  display: block;
  font-family: var(--heading);
  font-size: clamp(68px, 5.4vw, 112px);
  line-height: 0.84;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  color: #0a0a0a;
}

.step-card h3 {
  margin: 0 0 12px;
  font-family: var(--heading);
  font-size: clamp(24px, 1.95vw, 34px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.step-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(10, 10, 10, 0.65);
}

.specialties {
  background: #fff;
  padding: 56px 0 64px;
}

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

.specialty-card {
  position: relative;
  min-height: 280px;
  padding: 18px;
  color: #fff;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.82)),
    var(--card-bg);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.specialty-card .tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 8px;
  background: var(--mint);
  color: #000;
  font-family: var(--heading);
  font-size: 11px;
  line-height: 1;
  margin-bottom: 12px;
}

.specialty-card p {
  font-size: 13px;
  line-height: 1.48;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.92);
}

.specialty-card .small-label {
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.specialty-card li {
  font-size: 12px;
  line-height: 1.42;
}

.specialty-card li + li {
  margin-top: 4px;
}

.clients-block {
  background: #fff;
  padding: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.clients-layout {
  background-image:
    linear-gradient(
      110deg,
      rgba(255, 255, 255, 0.76) 0%,
      rgba(255, 255, 255, 0.66) 42%,
      rgba(255, 255, 255, 0.76) 100%
    ),
    url("https://n35.ca/wp-content/uploads/2026/02/partnersback.jpg");
  background-size: cover;
  background-position: center;
  min-height: 470px;
  width: 100%;
  padding: clamp(40px, 6vw, 72px) clamp(18px, 8vw, 120px) clamp(46px, 7vw, 84px);
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: clamp(24px, 4vw, 54px);
}

.clients-copy h2 {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(28px, 3vw, 46px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 7ch;
}

.clients-copy p {
  margin-top: 18px;
  max-width: 280px;
  font-size: 14px;
  line-height: 1.5;
}

.clients-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: clamp(14px, 2vw, 24px);
  align-items: center;
  align-content: start;
}

.client-logo-item {
  min-height: 112px;
  border-radius: 0;
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
}

.client-logo-item img {
  display: block;
  width: 100%;
  max-width: 210px;
  max-height: 56px;
  object-fit: contain;
  object-position: center;
}

.client-logo-item img.client-logo-fsr {
  max-width: 252px;
  max-height: 67px;
}

.client-logo-item img.client-logo-salthill {
  max-width: 189px;
  max-height: 50px;
}

.client-logo-item img.client-logo-spearhead {
  max-width: 252px;
  max-height: 67px;
}

.logo-word {
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(0, 0, 0, 0.85);
  white-space: nowrap;
}

.logo-word.heavy {
  font-family: var(--heading);
  font-size: clamp(30px, 2.4vw, 42px);
}

.logo-word.script {
  font-style: italic;
  font-weight: 600;
}

.logo-word.boxed {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 2px 10px;
  border: 2px solid rgba(0, 0, 0, 0.9);
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 800;
}

.logo-word.boxed.dark {
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
}

.events-block {
  background: #050505;
  padding: 0;
  border-top: 0;
  border-bottom: 0;
}

.events-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #050505;
}

.event-service-tile {
  position: relative;
  --service-bg: url("https://n35.ca/wp-content/uploads/2025/07/general.webp");
  min-height: 246px;
  overflow: hidden;
  background: #121212;
  display: flex;
  align-items: flex-end;
  padding: 18px;
}

.event-service-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.82) 100%),
    var(--service-bg);
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.event-service-tile span {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 12ch;
  color: #fff;
  font-family: var(--heading);
  font-size: clamp(28px, 2.2vw, 44px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
}

.event-service-title {
  background: #050505;
  align-items: center;
}

.event-service-title::before {
  display: none;
}

.event-service-title span {
  max-width: 8ch;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 0.95;
  text-shadow: none;
}

.event-service-action {
  cursor: pointer;
}

.event-service-action:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.95);
  outline-offset: -4px;
}

.service-modal[hidden] {
  display: none;
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: grid;
  place-items: center;
  padding: 16px;
}

.service-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.service-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100vw - 32px));
  height: min(660px, calc(100vh - 32px));
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 22px;
  background:
    linear-gradient(110deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.48) 45%, rgba(0, 0, 0, 0.72) 100%),
    var(--service-modal-bg);
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.42);
}

.service-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.service-modal-content {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(340px, 1fr);
  gap: clamp(18px, 3vw, 48px);
  height: 100%;
  padding: clamp(26px, 3.5vw, 54px);
  color: #fff;
}

.service-modal-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
}

.service-modal-left h3 {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(42px, 5.3vw, 78px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.service-modal-right {
  align-self: center;
  min-width: 0;
  max-width: 520px;
}

.service-modal-right p {
  margin: 0;
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.service-modal-right p + p {
  margin-top: 16px;
}

.event-date {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 8px 20px;
  background: #56bdff;
  color: #000;
  font-size: clamp(18px, 1.4vw, 34px);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
}

.event-overlay h3 {
  margin: 0;
  max-width: 10.5ch;
  color: #fff;
  font-family: var(--heading);
  font-size: clamp(46px, 3.9vw, 86px);
  line-height: 0.86;
  letter-spacing: -0.02em;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.65);
}

.partners-strip {
  background: #f4f4f6;
  padding: 52px 0 56px;
}

.partners-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: center;
}

.partner-logo-card {
  min-height: 138px;
  border-radius: 10px;
  background: #efeff1;
  display: grid;
  place-items: center;
  color: rgba(10, 10, 10, 0.56);
  font-family: var(--heading);
  font-size: clamp(24px, 2vw, 36px);
  letter-spacing: 0.01em;
  text-transform: none;
}

.number-features {
  background: #fff;
  padding: 52px 0 60px;
}

.number-features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.number-feature-item .number-id {
  display: block;
  font-family: var(--heading);
  font-size: clamp(62px, 5.1vw, 108px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: #0b0b0b;
}

.number-feature-item h3 {
  margin: 12px 0 8px;
  font-family: var(--heading);
  font-size: clamp(20px, 1.8vw, 33px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.number-feature-item p {
  font-size: 14px;
  line-height: 1.48;
  color: var(--text-muted);
}

.popular-services-lite {
  background: #f4f4f6;
  padding: 56px 0 60px;
}

.popular-services-lite-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 860px);
  gap: 18px;
  align-items: start;
  justify-content: space-between;
}

.popular-services-heading {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-right: 10px;
  padding-top: 8px;
}

.popular-services-heading h2 {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(32px, 3.1vw, 54px);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.popular-services-heading p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(10, 10, 10, 0.68);
}

.popular-services-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.popular-service-card {
  min-height: 202px;
  border-radius: 10px;
  background: #ececef;
  padding: 20px 20px 18px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.popular-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid #0a0a0a;
  border-radius: 10px;
  flex: 0 0 auto;
  overflow: hidden;
}

.popular-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.popular-service-card h3,
.popular-service-title {
  margin: 0 0 10px;
  font-family: var(--heading);
  font-size: clamp(26px, 2.15vw, 36px);
  line-height: 0.94;
  letter-spacing: -0.03em;
}

.popular-service-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.popular-service-card p {
  color: rgba(10, 10, 10, 0.38);
  font-size: 14px;
  line-height: 1.45;
}

.popular-service-card ul {
  margin: 0;
  padding-left: 20px;
}

.popular-service-card li {
  color: rgba(10, 10, 10, 0.62);
  font-size: 15px;
  line-height: 1.5;
}

.popular-service-card li + li {
  margin-top: 6px;
}

.impact-blue-cta {
  background: linear-gradient(140deg, #2f8fd8 0%, #56bdff 56%, #47b2f7 100%);
  padding: 58px 0;
}

.impact-blue-cta-inner {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: clamp(24px, 4vw, 72px);
  align-items: center;
}

.impact-blue-image {
  min-height: 340px;
  border-radius: 12px;
  overflow: hidden;
}

.impact-blue-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.impact-blue-copy h2 {
  margin: 0;
  max-width: 16ch;
  color: #fff;
  font-family: var(--heading);
  font-size: clamp(28px, 3vw, 46px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.impact-blue-copy p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.5;
}

.impact-blue-btn {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 64px;
  padding: 10px 24px;
  border-radius: 6px;
  background: #0a0a0a;
  color: #fff;
  font-family: var(--heading);
  font-size: 20px;
  letter-spacing: -0.01em;
}

.why-choose-grid {
  background: #f5f8ff;
  padding: 56px 0 62px;
}

.why-choose-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(240px, 1fr);
  gap: clamp(18px, 2.8vw, 32px);
  align-items: stretch;
}

.why-choose-left h2 {
  margin: 0 0 18px;
  font-family: var(--heading);
  font-size: clamp(36px, 3.5vw, 60px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  max-width: 12ch;
}

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

.why-card {
  min-height: 220px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(86, 189, 255, 0.22);
  border-top: 4px solid var(--coral);
  padding: 20px 20px 18px;
}

.why-card h3 {
  margin: 0 0 10px;
  font-family: var(--heading);
  font-size: clamp(20px, 1.55vw, 30px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.why-card ul {
  margin: 0;
  padding-left: 18px;
}

.why-card li {
  font-size: 14px;
  line-height: 1.45;
  color: rgba(10, 10, 10, 0.74);
}

.why-card li + li {
  margin-top: 6px;
}

.why-card-wide {
  grid-column: 1 / -1;
}

.why-choose-image {
  border-radius: 12px;
  overflow: hidden;
  min-height: 100%;
}

.why-choose-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer {
  background: #fff;
  padding: 68px 0 72px;
}

.footer-inner {
  max-width: 760px;
  text-align: center;
}

.footer-inner h2 {
  margin: 10px 0 22px;
  font-family: var(--heading);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.contact-label {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(10, 10, 10, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-email,
.footer-links,
.footer-inner address {
  font-size: 14px;
  line-height: 1.45;
}

.footer-email a {
  font-weight: 800;
}

.footer-phone {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--heading);
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.03em;
}

.footer-inner address {
  margin-top: 8px;
  font-style: normal;
}

.footer-links {
  margin-top: 12px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.footer-links a {
  font-weight: 700;
}

@media (max-width: 1080px) {
  .pm-focus-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: clamp(300px, 46vw, 420px);
  }

  .pm-focus-col p,
  .pm-focus-col-right p {
    max-width: 46ch;
  }

  .pm-focus-cta {
    min-width: min(100%, 500px);
  }

  .partners-strip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .partner-logo-card:nth-child(2),
  .partner-logo-card:nth-child(3),
  .partner-logo-card:nth-child(4),
  .partner-logo-card:nth-child(5) {
    transform: none;
  }

  .number-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 28px;
  }

  .popular-services-lite-layout {
    grid-template-columns: 1fr;
  }

  .popular-services-cards-grid {
    grid-template-columns: 1fr;
  }

  .popular-services-heading {
    padding-right: 0;
    padding-top: 0;
  }

  .impact-blue-cta-inner,
  .why-choose-layout {
    grid-template-columns: 1fr;
  }

  .impact-blue-image {
    min-height: 300px;
  }

  .why-choose-image {
    min-height: 360px;
  }

  .clients-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 46px 32px 54px;
  }

  .clients-copy p {
    max-width: 520px;
  }

  .events-services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .company-grid-top {
    grid-template-columns: 1fr 1fr;
  }

  .company-about {
    grid-column: 1 / -1;
    padding: 12px 0 0;
  }

  .mission-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mission-image {
    min-height: 296px;
  }

  .overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 940px) {
  body {
    padding-top: 96px;
  }

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

  .pm-focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 2.8vw, 30px);
    min-height: clamp(320px, 46vw, 520px);
  }

  .header-row {
    display: grid;
    min-height: 96px;
    grid-template-columns: auto 1fr auto auto;
    gap: 12px;
  }

  .brand-logo {
    height: 58px;
  }

  .header-phone {
    font-size: 24px;
    padding-right: 0;
    margin-left: 0;
  }

  .menu-toggle {
    display: grid;
    grid-column: -1;
    justify-self: end;
    align-self: center;
    width: 32px;
    height: 24px;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    gap: 5px;
  }

  .menu-toggle span {
    width: 24px;
    height: 2px;
    background: #0a0a0a;
    border-radius: 2px;
  }

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 96px;
    width: 100%;
    background: #fff;
    padding: 24px 20px 28px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14);
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    text-align: right;
    z-index: 130;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.16s ease, transform 0.16s ease;
  }

  .site-nav a {
    width: 100%;
    text-align: right;
    font-size: clamp(22px, 4.8vw, 30px);
    line-height: 1.06;
  }

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

  .hero-start,
  .hero-start-inner {
    min-height: 560px;
  }

  .hero-start-copy {
    max-width: 460px;
    margin-top: -8px;
  }

  .company-intro {
    margin-top: 20px;
  }

  .company-grid-top {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .who-affiliated {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .who-affiliated-divider {
    width: 100%;
    height: 3px;
  }

  .who-affiliated-title {
    max-width: none;
  }

  .intro-card {
    min-height: auto;
  }

  .company-about p {
    font-size: 15px;
  }

  .mission-stats {
    gap: 30px;
  }

  .clients-logos {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 26px 24px;
  }

  .service-modal-dialog {
    width: min(980px, calc(100vw - 22px));
    height: min(620px, calc(100vh - 22px));
  }

  .service-modal-content {
    grid-template-columns: minmax(180px, 1fr) minmax(240px, 1fr);
    padding: clamp(20px, 3vw, 32px);
  }

  .service-modal-left h3 {
    font-size: clamp(34px, 5.4vw, 58px);
  }

  .service-modal-right p {
    font-size: clamp(15px, 2vw, 18px);
  }

  .portfolio-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .portfolio-modal-dialog {
    width: min(980px, calc(100vw - 22px));
    max-height: calc(100vh - 22px);
  }

  .portfolio-tile-title {
    font-size: clamp(24px, 2.6vw, 36px);
  }

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

  .info-grid,
  .specialty-grid {
    grid-template-columns: 1fr;
  }

  .contact-strip {
    font-size: 11px;
  }
}

@media (max-width: 700px) {
  body {
    padding-top: 72px;
  }

  .pm-focus {
    padding: 0;
    background: none;
  }

  .pm-focus-overlay {
    display: none;
  }

  .pm-focus-grid.container {
    width: 100%;
    max-width: none;
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
  }

  .pm-focus-col {
    position: relative;
    min-height: clamp(320px, 80vw, 540px);
    padding: 18px 22px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
  }

  .pm-focus-col::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("https://n35.ca/wp-content/uploads/2026/03/aboutback.png");
    background-size: 200% auto;
    background-repeat: no-repeat;
    background-position-y: center;
    z-index: 0;
  }

  .pm-focus-col:first-child::before {
    background-position: left center;
  }

  .pm-focus-col.pm-focus-col-right::before {
    background-position: right center;
  }

  .pm-focus-col h2,
  .pm-focus-col h3 {
    position: relative;
    z-index: 1;
    max-width: none;
    font-size: clamp(42px, 12vw, 72px);
    line-height: 0.9;
  }

  .pm-focus-col p,
  .pm-focus-col-right p {
    margin-top: 14px;
    max-width: none;
    font-size: clamp(16px, 5vw, 22px);
    line-height: 1.35;
  }

  .pm-focus-cta {
    margin-top: 22px;
    width: 100%;
    min-height: 66px;
    font-size: clamp(18px, 6.2vw, 30px);
  }

  .portfolio-preview {
    padding: 34px 0 38px;
  }

  .portfolio-tiles {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .portfolio-tile-title {
    font-size: clamp(26px, 9vw, 40px);
  }

  .portfolio-modal {
    padding: 10px;
  }

  .portfolio-modal-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    padding: 0;
    border-radius: 12px;
  }

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

  .portfolio-project-meta {
    padding: 16px 16px 12px;
  }

  .portfolio-project-meta ul {
    grid-template-columns: 1fr;
  }

  .portfolio-project figure {
    min-height: 220px;
  }

  .portfolio-image-lightbox {
    padding: 8px;
  }

  .portfolio-image-lightbox-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    padding: 10px;
  }

  .portfolio-image-lightbox-img {
    max-height: calc(100vh - 52px);
  }

  .partners-strip {
    padding: 30px 0 32px;
  }

  .partners-strip-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .partner-logo-card {
    min-height: 98px;
    font-size: clamp(18px, 6vw, 26px);
  }

  .number-features {
    padding: 34px 0;
  }

  .number-features-grid,
  .popular-services-cards-grid,
  .why-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .number-feature-item .number-id {
    font-size: clamp(52px, 20vw, 82px);
  }

  .number-feature-item h3 {
    font-size: clamp(24px, 8vw, 36px);
  }

  .popular-services-lite {
    padding: 34px 0 38px;
  }

  .popular-services-heading h2 {
    font-size: clamp(28px, 3vw, 46px);
    line-height: 0.95;
  }

  .popular-service-card h3,
  .popular-service-title {
    font-size: clamp(22px, 6.6vw, 30px);
  }

  .popular-service-card {
    min-height: auto;
    padding: 16px 16px 18px;
  }

  .impact-blue-cta {
    padding: 34px 0;
  }

  .impact-blue-image {
    min-height: 220px;
  }

  .impact-blue-copy h2 {
    font-size: clamp(28px, 3vw, 46px);
  }

  .impact-blue-btn {
    min-width: 100%;
    min-height: 54px;
    font-size: 18px;
  }

  .why-choose-grid {
    padding: 34px 0 38px;
  }

  .why-choose-image {
    min-height: 240px;
  }

  .container {
    width: calc(100% - 26px);
  }

  .header-row {
    min-height: 72px;
    grid-template-columns: auto 1fr auto;
  }

  .brand-logo {
    height: 48px;
  }

  .header-phone {
    display: none;
  }

  .menu-toggle {
    grid-column: -1;
    justify-self: end;
    width: 30px;
    height: 22px;
    background: transparent;
    gap: 4px;
  }

  .menu-toggle span {
    width: 22px;
    height: 2px;
    background: #0a0a0a;
    border-radius: 2px;
  }

  .site-nav {
    top: 72px;
    padding: 20px 14px 24px;
    gap: 22px;
  }

  .site-nav a {
    font-size: clamp(22px, 8vw, 32px);
  }

  .scroll-jump {
    width: 50px;
    height: 50px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
  }

  .scroll-jump-icon {
    font-size: 27px;
  }

  .clients-layout {
    padding: 36px 18px 42px;
  }

  .clients-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }

  .logo-word {
    white-space: normal;
  }

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

  .service-modal {
    padding: 8px;
  }

  .service-modal-dialog {
    width: calc(100vw - 16px);
    height: min(620px, calc(100vh - 16px));
    border-radius: 14px;
  }

  .service-modal-content {
    grid-template-columns: 1fr;
    gap: 12px;
    align-content: start;
    padding: 46px 16px 18px;
  }

  .service-modal-left {
    justify-content: flex-start;
  }

  .service-modal-left h3 {
    font-size: clamp(36px, 10vw, 58px);
  }

  .service-modal-right p {
    font-size: clamp(14px, 4.2vw, 17px);
    line-height: 1.4;
  }

  .event-service-tile {
    min-height: 142px;
    padding: 10px;
  }

  .event-service-title span {
    font-size: clamp(28px, 3vw, 46px);
  }

  .event-service-tile span {
    font-size: clamp(20px, 6.6vw, 31px);
  }

  .event-date {
    font-size: 15px;
    min-height: 30px;
    padding: 4px 10px;
  }

  .event-overlay h3 {
    font-size: clamp(30px, 9vw, 44px);
  }

  .service-overview,
  .advantages,
  .process,
  .specialties,
  .site-footer {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .hero-start,
  .hero-start-inner {
    min-height: 440px;
  }

  .hero-start-copy {
    margin-top: 0;
  }

  .hero-start-topline {
    top: 16px;
    font-size: clamp(21px, 6.1vw, 29px);
    letter-spacing: 0.07em;
  }

  .hero-start-copy h1 {
    font-size: clamp(34px, 10.8vw, 56px);
  }

  .hero-start-proven {
    bottom: 14px;
    font-size: clamp(28px, 8.8vw, 50px);
  }

  .hero-start-copy .market {
    font-size: clamp(20px, 7vw, 30px);
  }

  .company-intro {
    margin-top: 14px;
    padding-bottom: 36px;
  }

  .who-affiliated {
    padding: 16px;
  }

  .who-affiliated-title {
    font-size: clamp(11px, 3.2vw, 18px);
    letter-spacing: 0.01em;
    white-space: nowrap;
    max-width: none;
  }

  .who-affiliated-logos {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .who-affiliated-logos img {
    max-height: 120px;
  }

  .intro-card {
    padding: 22px 18px;
  }

  .intro-card h3 {
    font-size: 29px;
  }

  .company-about {
    padding: 8px 0 0;
  }

  .micro-title {
    font-size: 12px;
    letter-spacing: 0.07em;
  }

  .company-about h2,
  .mission-copy h2 {
    font-size: clamp(32px, 9.2vw, 46px);
  }

  .company-about p {
    margin-top: 14px;
    font-size: 15px;
  }

  .mission-grid {
    margin-top: 34px;
  }

  .mission-stats {
    margin-top: 22px;
    gap: 20px 34px;
  }

  .mission-stats strong {
    font-size: clamp(44px, 14vw, 68px);
  }

  .mission-stats span {
    font-size: 16px;
  }

  .mission-image {
    min-height: 202px;
  }

  .btn {
    min-width: 100%;
  }

  .overview-grid,
  .adv-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .overview-card,
  .step-card,
  .adv-card,
  .specialty-card {
    min-height: auto;
  }

  .category-chips span {
    font-size: 10px;
    padding: 5px 8px;
  }

  .contact-strip {
    gap: 4px 8px;
    padding: 12px;
  }

  .footer-email,
  .footer-links,
  .footer-inner address {
    font-size: 13px;
  }
}
