/*
 * NOVALEC MORIN — shared typography system
 *
 * The scale follows the production NM CLIMATECHNICS reference:
 * Inter for running text and controls, Raleway for display headings,
 * compact uppercase eyebrows, restrained weights and generous rhythm.
 */
:root {
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Raleway", "Helvetica Neue", Arial, Helvetica, sans-serif;

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-heading: 620;
  --font-weight-semibold: 650;
  --font-weight-bold: 700;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.35rem;
  --text-xl: 1.5rem;
  --heading-1: clamp(3.2rem, 7vw, 7.4rem);
  --heading-2: clamp(2.3rem, 5vw, 4.7rem);
  --heading-3: clamp(1.35rem, 2.5vw, 1.75rem);

  --line-height-body: 1.5;
  --line-height-copy: 1.6;
  --line-height-heading: 0.98;
  --line-height-display: 0.91;
  --tracking-display: -0.065em;
  --tracking-heading: -0.05em;
  --tracking-eyebrow: 0.16em;

  --nm-white: #fff;
  --nm-primary: #7209b7;
  --nm-purple-soft: #9e12a6;
  --nm-pink: #f72585;
  --nm-magenta: #cb1c96;
  --nm-text: #202124;
  --nm-text-secondary: #5f6368;
  --nm-background: #fff;
  --nm-background-soft: #f7f7f8;
  --nm-background-alt: #f2f2f4;
  --nm-border: #e4e4e7;
  --nm-deep: #180625;

  --ink: var(--nm-text);
  --navy: var(--nm-deep);
  --blue: var(--nm-primary);
  --paper: var(--nm-white);
  --mist: var(--nm-background-alt);
  --muted: var(--nm-text-secondary);
  --line: var(--nm-border);
  --radius: 1.25rem;
  --site-gutter: clamp(1.5rem, 3vw, 2.25rem);
  --shadow: 0 22px 55px rgba(32, 33, 36, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--nm-background);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-body);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
optgroup,
select,
textarea {
  font-family: var(--font-body);
}

button,
input,
select,
textarea {
  font-size: inherit;
}

main,
section,
.container,
.container-fluid,
.row,
[class*="col-"] {
  min-width: 0;
  max-width: 100%;
}

.container,
.container-fluid {
  width: 100%;
  padding-right: var(--site-gutter);
  padding-left: var(--site-gutter);
}

a {
  color: var(--blue);
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  color: inherit;
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  overflow-wrap: break-word;
}

h1,
.display-title {
  font-size: var(--heading-1);
  line-height: var(--line-height-display);
  letter-spacing: var(--tracking-display);
}

h2 {
  font-size: var(--heading-2);
  line-height: var(--line-height-heading);
  letter-spacing: var(--tracking-heading);
}

h3 {
  font-size: var(--heading-3);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h4,
h5,
h6 {
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p,
li {
  overflow-wrap: break-word;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: -80px;
  left: 1rem;
  padding: 0.8rem 1rem;
  color: var(--ink);
  background: var(--nm-white);
}

.skip-link:focus {
  top: 1rem;
}

.topline {
  padding: 0.35rem 0;
  color: #c9d8e6;
  background: var(--navy);
  font-size: var(--text-xs);
  line-height: 1.4;
}

.topline a {
  color: var(--nm-white);
  text-decoration: none;
}

.site-header {
  border-bottom: 1px solid var(--nm-border);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.navbar {
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: var(--font-weight-bold);
  line-height: 1;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand b {
  font-weight: var(--font-weight-bold);
}

.brand small {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.4;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 10px;
  color: var(--nm-white);
  background: linear-gradient(135deg, var(--nm-primary), var(--nm-purple-soft));
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.08em;
}

.nav-link {
  padding: 0.7rem 0.65rem !important;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 550;
  line-height: 1.3;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active,
.dropdown-item:hover,
.dropdown-item:focus,
a:hover {
  color: var(--nm-primary);
}

.dropdown-toggle {
  border: 0;
  background: none;
}

.dropdown-menu {
  padding: 0.6rem;
  border: 0;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.dropdown-item {
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  line-height: 1.4;
}

.btn {
  padding: 0.78rem 1.25rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  line-height: 1.25;
  letter-spacing: 0;
}

/* Bootstrap .btn-lg is intentionally normalized to the reference CTA scale. */
.btn-lg {
  padding: 0.78rem 1.25rem;
  font-size: var(--text-base);
}

.btn-brand,
.btn-dark {
  color: var(--nm-white);
  background: var(--nm-primary);
  border-color: var(--nm-primary);
}

.btn-brand:hover,
.btn-brand:focus,
.btn-dark:hover,
.btn-dark:focus {
  color: var(--nm-white);
  background: var(--nm-purple-soft);
  border-color: var(--nm-purple-soft);
}

.btn-outline-dark,
.btn-ghost {
  color: var(--nm-primary);
  background: var(--nm-white);
  border-color: var(--nm-border);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus,
.btn-ghost:hover,
.btn-ghost:focus {
  color: var(--nm-primary);
  background: var(--nm-background-soft);
  border-color: var(--nm-primary);
}

.home-hero,
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(6rem, 9vw, 9rem) 0 4rem;
  background: linear-gradient(135deg, var(--nm-background-soft), var(--nm-white) 62%, var(--nm-background-alt));
}

.home-hero::before,
.page-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(114, 9, 183, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(114, 9, 183, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(to right, transparent, #000);
}

.hero {
  padding: clamp(7.5rem, 12vw, 11rem) 0 clamp(4rem, 8vw, 8rem);
}

.page-hero.compact {
  padding: clamp(5rem, 8vw, 7rem) 0 4rem;
}

.page-hero.compact h1 {
  width: 100%;
  max-width: 850px;
}

.reference-page-hero {
  padding: clamp(6rem, 9vw, 9rem) 0 5rem;
}

.lead,
.lead-copy {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
  line-height: var(--line-height-copy);
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.page-hero h1,
.page-hero .lead,
.page-hero .lead-copy {
  width: 100%;
  max-width: min(850px, 100%);
}

.zone {
  margin: 1.5rem 0;
  color: var(--blue);
  font-weight: var(--font-weight-bold);
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--blue);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
}

.section {
  padding: clamp(4.5rem, 8vw, 8rem) 0;
}

.section-soft,
.section-mist,
.pro-panel {
  background: var(--nm-background-alt);
}

.section-dark {
  color: #d9e2ec;
  background: var(--nm-deep);
}

.section-dark .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

.section-dark h2,
.section-dark h3 {
  color: var(--nm-white);
}

.section-dark .eyebrow,
.section-dark .step-num,
.process span,
.pro-path span {
  color: var(--nm-pink);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.section-heading p:last-child {
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.hero-main {
  display: block;
  width: 82%;
  height: 520px;
  margin-left: auto;
  object-fit: cover;
  object-position: 58% center;
  border-radius: var(--radius);
}

.float-card {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 46%;
  padding: 1.7rem;
  color: var(--nm-white);
  background: var(--nm-deep);
  border-radius: var(--radius);
}

.float-card .big {
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.metric {
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.metric strong {
  display: block;
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
}

.metric span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  line-height: var(--line-height-copy);
}

.photo-card {
  height: 100%;
  overflow: hidden;
  background: var(--nm-white);
  border: 0;
  border-radius: var(--radius);
}

.photo-card img {
  display: block;
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.photo-card .content {
  padding: 1.6rem;
}

.photo-card h3 {
  margin: 0.65rem 0 0.75rem;
  font-size: 1.5rem;
}

.photo-card p,
.service-card p {
  color: var(--muted);
}

.service-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-number,
.step-num,
.card-num {
  color: var(--blue);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
  letter-spacing: 0.14em;
}

.arrow-link {
  color: var(--blue);
  font-weight: var(--font-weight-bold);
  text-decoration: none;
}

.arrow-link span {
  display: inline-block;
  transition: transform 0.2s;
}

.arrow-link:hover span {
  transform: translateX(5px);
}

.split-img {
  display: block;
  width: 100%;
  height: 620px;
  object-fit: cover;
  border-radius: var(--radius);
}

.step {
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.step h3 {
  margin: 1rem 0 0.6rem;
  font-size: 1.3rem;
}

.step p {
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--line-height-copy);
}

.project-thumb {
  width: 100%;
  height: 390px;
  object-fit: cover;
  border-radius: var(--radius);
}

.pro-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  border: 0;
  border-radius: var(--radius);
  box-shadow: none;
}

.pro-path {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  color: var(--ink);
  background: var(--nm-white);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.6vw, 1.05rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.4;
}

.pro-path.vertical {
  flex-direction: column;
  max-width: 260px;
  margin: auto;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}

.area-grid b {
  padding: 1.5rem;
  color: var(--ink);
  background: var(--nm-white);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  line-height: 1;
}

.area-grid small {
  display: block;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.4;
}

.content-card {
  position: relative;
  height: 100%;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  background: var(--nm-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.content-card h2 {
  margin: 0.9rem 0;
  font-size: 1.55rem;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.content-card p {
  color: var(--muted);
  line-height: var(--line-height-copy);
}

.check-list {
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.7rem;
  border-top: 1px solid #edf1f4;
}

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

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 2rem;
}

.link-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem;
  color: var(--ink);
  font-weight: var(--font-weight-semibold);
  line-height: 1.35;
  text-decoration: none;
  background: var(--nm-white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.process {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process li {
  padding: 1rem 1.2rem;
  font-weight: var(--font-weight-semibold);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
}

.process span {
  margin-right: 1rem;
}

.tech-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--nm-deep);
  background-image: linear-gradient(30deg, transparent 49%, rgba(255, 255, 255, 0.12) 50%, transparent 51%), linear-gradient(120deg, transparent 49%, rgba(158, 18, 166, 0.45) 50%, transparent 51%), radial-gradient(circle at 30% 35%, var(--nm-primary) 0 7%, transparent 7.5%), radial-gradient(circle at 68% 65%, var(--nm-magenta) 0 5%, transparent 5.5%);
  background-size: 75px 75px, 110px 110px, 100% 100%, 100% 100%;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.tech-visual::before {
  position: absolute;
  inset: 15%;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 18px;
  content: "";
}

.pulse {
  position: absolute;
  top: 35%;
  left: 30%;
  width: 22px;
  height: 22px;
  background: var(--nm-magenta);
  border-radius: 50%;
  box-shadow: 0 0 0 12px rgba(203, 28, 150, 0.12);
}

.visual-label {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  padding: 0.8rem 1rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: var(--font-weight-semibold);
  line-height: 1.4;
}

.form-shell {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  background: var(--nm-background-alt);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.form-control,
.form-select {
  min-height: 48px;
  padding: 0.75rem 1rem;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-weight-regular);
  line-height: 1.5;
  border-color: #cdd1cd;
  border-radius: 0.75rem;
}

.form-control::placeholder {
  color: #858a87;
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  opacity: 1;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--nm-primary);
  box-shadow: 0 0 0 0.2rem rgba(114, 9, 183, 0.14);
}

label,
.form-label {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  line-height: 1.35;
}

.form-check-wrap {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.form-check-wrap label,
.form-check-label {
  font-weight: var(--font-weight-regular);
}

.form-text {
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.4;
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--nm-primary);
}

.hp {
  position: absolute !important;
  left: -10000px !important;
}

.form-status {
  margin: 0.8rem 0 0;
  color: #2f6f44;
  font-weight: var(--font-weight-semibold);
}

.form-status.error {
  color: #a61b1b;
}

.legal .narrow {
  max-width: 800px;
}

.legal h2 {
  margin-top: 2.5rem;
  font-size: 1.45rem;
  line-height: 1.1;
}

.cta-band {
  padding: 3.5rem 0;
  color: var(--nm-white);
  background: var(--nm-primary);
}

.cta-band h2 {
  color: var(--nm-white);
}

.cta-band p {
  margin-bottom: 0.5rem;
}

footer {
  padding: 5rem 0 1.5rem;
  color: #aebdca;
  background: var(--nm-deep);
}

footer h2 {
  margin-bottom: 1rem;
  color: var(--nm-white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: var(--font-weight-semibold);
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

footer a {
  display: block;
  margin: 0.4rem 0;
  color: #dce6ee;
  font-size: var(--text-sm);
  line-height: 1.45;
  text-decoration: none;
}

footer p {
  line-height: var(--line-height-copy);
}

.brand-light {
  color: var(--nm-white);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.brand-light small {
  color: #aebdca;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid #3a2a47;
  font-size: 0.8rem;
  line-height: 1.4;
}

.footer-bottom a {
  display: inline;
}

.mobile-actions {
  position: fixed;
  z-index: 1031;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  background: var(--nm-white);
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
}

.mobile-actions a {
  min-width: 0;
  padding: 0.8rem 0.55rem;
  color: var(--nm-primary);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.mobile-actions a:last-child {
  color: var(--nm-white);
  background: var(--nm-primary);
}

.service-area {
  padding: 1.25rem 0;
  color: var(--nm-white);
  background: var(--ink);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-copy);
  text-align: center;
}

.reveal {
  opacity: 1;
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--nm-pink) !important;
  outline-offset: 3px;
}

@media (max-width: 1199px) {
  .navbar-collapse {
    padding: 1rem 0 1.3rem;
  }

  .nav-link {
    padding: 0.6rem 0 !important;
  }

  .dropdown-menu {
    border: 1px solid var(--line);
    box-shadow: none;
  }
}

@media (max-width: 991px) {
  .navbar-toggler {
    margin-left: auto;
  }

  .hero {
    padding-top: clamp(4rem, 10vw, 5.5rem);
  }

  .hero-visual {
    min-height: 500px;
    margin-top: 3rem;
  }

  .hero-main {
    height: 430px;
  }

  .split-img {
    height: 460px;
  }

  .service-hero-img {
    height: 420px;
  }

  .pro-panel {
    gap: 2.5rem;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 49px;
  }

  .topline .container {
    justify-content: center !important;
  }

  .topline a {
    display: none;
  }

  .section-heading,
  .pro-panel {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .area-grid {
    grid-template-columns: 1fr 1fr;
  }

  .link-grid {
    grid-template-columns: 1fr;
  }

  .home-hero,
  .page-hero {
    padding: 4rem 0;
  }

  .home-hero h1,
  .page-hero h1 {
    max-width: 100%;
  }

  .home-hero .lead,
  .home-hero .lead-copy,
  .home-hero .zone {
    max-width: 340px;
  }

  .hero-system {
    max-width: 290px;
  }

  .node {
    padding: 0.45rem 0.6rem;
    font-size: 0.6rem;
  }

  .n2 {
    right: 0;
  }

  .n4 {
    left: 0;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .cta-band .btn {
    width: 100%;
  }
}

@media (max-width: 575px) {
  h1 {
    font-size: clamp(2.65rem, 11vw, 3.6rem);
    line-height: 0.95;
  }

  h2 {
    font-size: clamp(2.15rem, 10vw, 3.1rem);
  }

  .nm-hero h1 {
    font-size: clamp(2.8rem, 12vw, 4rem);
  }

  .page-hero h1,
  .reference-page-hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2.5rem, 10.5vw, 3.4rem);
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .page-hero .lead,
  .page-hero .lead-copy {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-main {
    width: 90%;
    height: 370px;
  }

  .hero-visual {
    width: 100%;
    max-width: 340px;
    min-height: 450px;
    margin-right: auto;
    margin-left: auto;
  }

  .float-card {
    width: 68%;
    padding: 1.2rem;
  }

  .photo-card img {
    height: 300px;
  }

  .split-img,
  .project-thumb {
    height: 340px;
  }

  .service-hero-img {
    height: 330px;
  }

  .pro-panel {
    grid-template-columns: 1fr;
  }

  .mobile-actions {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  }

  .mobile-actions a {
    padding-right: 0.35rem;
    padding-left: 0.35rem;
    font-size: 0.8rem;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}
