/* ==========================================================================
   Pramukhraj Interiors
   Values derived from the layered PSD (1800px artboard, 1354px content column).
   Fluid sizes interpolate between a 375px and an 1800px viewport.
   ========================================================================== */

@font-face {
  font-family: "Biooris";
  src: url("../fonts/biooris.woff2") format("woff2"),
       url("../fonts/biooris.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Colour (sampled from PSD fills / effects) */
  --c-orange: #e65212;
  --c-orange-deep: #d34000;
  --c-lavender: #cf9fff;
  --c-lavender-soft: #f1e2ff;          /* #cf9fff @ 30% on white */
  --c-nav-active: #ce9fff;
  --c-black: #000;
  --c-text: #090909;
  --c-navy: #192332;
  --c-grey: #414141;
  --c-dark: #141517;
  --c-star: #ffc80a;
  --c-white: #fff;
  --c-placeholder: #7a7a7a;
  --grad-brand: linear-gradient(90deg, var(--c-lavender), var(--c-orange));

  /* Type */
  --ff-heading: "Biooris", Georgia, "Times New Roman", serif;
  --ff-body: "Archivo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --fs-display: clamp(1.75rem, 0.895rem + 3.649vw, 5rem);     /* 80 */
  --fs-h2-xl: clamp(1.875rem, 1.456rem + 2.316vw, 4.0625rem);     /* 65 */
  --fs-h2: clamp(1.75rem, 1.464rem + 1.754vw, 3.4375rem);    /* 55 */
  --fs-h2-sm: clamp(1.625rem, 1.388rem + 1.544vw, 3.125rem);   /* 50 */
  --fs-h3: clamp(1.375rem, 1.237rem + 1.123vw, 2.5rem);         /* 40 */
  --fs-h4: clamp(1.375rem, 1.244rem + 0.561vw, 1.875rem);     /* 30 */
  --fs-stat: clamp(1.5rem, 1.401rem + 0.421vw, 1.875rem);     /* 30 */
  --fs-xl: clamp(1.1875rem, 1.122rem + 0.281vw, 1.4375rem);   /* 23 */
  --fs-hero-sub: clamp(0.875rem, 0.727rem + 0.632vw, 1.4375rem); /* 23 */
  --fs-lg: clamp(1rem, 0.9175rem + 0.351vw, 1.3125rem);       /* 21 */
  --fs-quote: clamp(1rem, 0.934rem + 0.281vw, 1.25rem);       /* 20 */
  --fs-base: clamp(0.9375rem, 0.888rem + 0.2105vw, 1.125rem); /* 18 */
  --fs-sm: clamp(0.875rem, 0.842rem + 0.14vw, 1rem);          /* 16 */
  --fs-eyebrow: clamp(0.875rem, 0.76rem + 0.491vw, 1.3125rem);/* 21 */

  /* Layout */
  --container: 84.625rem;          /* 1354px */
  --container-wide: 99.75rem;      /* 1596px gallery */
  --container-narrow: 67.125rem;   /* 1074px FAQ */
  --container-team: 77.6875rem;    /* 1243px team row */
  --gutter: clamp(1rem, 3vw, 1.5rem);
  --space-section: clamp(4rem, 2.587rem + 6.035vw, 9.375rem); /* 150 */

  /* Shape */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 15px;
  --radius-xl: 20px;
  --radius-pill: 999px;
  --frame: 10px;

  --focus: var(--c-orange);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
/* Large displays: scale the whole rem-based layout 1 → 1.25× between 1920px and 2560px (16px → 20px root),
   then hold. Keeps PSD proportions instead of a 1354px column floating in empty space; 100% respects user settings. */
html { font-size: clamp(100%, .625vw + .25rem, 125%); scroll-behavior: smooth; scroll-padding-top: 1rem; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--c-black);
  background: var(--c-white);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--ff-heading); font-weight: 400; margin: 0; }
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease), opacity .2s var(--ease); }
button { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
svg.flip { transform: scaleX(-1); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.site-header, .hero, .team-faq, .site-footer { --focus: var(--c-white); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  padding: .75rem 1.25rem; background: var(--c-white); color: var(--c-black);
  border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.pi-container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  padding-inline: var(--gutter);
  margin-inline: auto;
}
.pi-container--wide { max-width: calc(var(--container-wide) + 2 * var(--gutter)); }
.section { padding-block: var(--space-section); position: relative; }

/* ---------- Shared components ---------- */
.eyebrow {
  display: flex; align-items: center; gap: .5rem;
  font-size: var(--fs-eyebrow); letter-spacing: .2em; text-transform: uppercase;
  line-height: 1; color: var(--c-orange); margin-bottom: .5rem;
}
.eyebrow--line::after { content: ""; width: 4.5625rem; height: 2px; background: var(--c-orange); }
.eyebrow--light { color: var(--c-white); }
.text-center > .eyebrow { justify-content: center; }

.section-title {
  font-size: var(--fs-h2); line-height: 1.2; letter-spacing: .02em; color: var(--c-black);
}
.section-title--xl { font-size: var(--fs-h2-xl); }
.card-title { font-size: var(--fs-h3); line-height: 1.15; letter-spacing: .035em; color: var(--c-black); }
.text-accent { color: var(--c-orange); }

.btn-pi {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: clamp(3rem, 2.75rem + 1vw, 3.6875rem); padding: .75rem clamp(1.25rem, 1rem + .9vw, 1.8rem);
  border: 0; border-radius: var(--radius-pill);
  font-family: var(--ff-body); font-weight: 500; font-size: var(--fs-base);
  letter-spacing: .035em; text-transform: uppercase; line-height: 1.2;
  color: var(--c-white); white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-position .4s var(--ease);
}
.btn-pi:hover { color: var(--c-white); transform: translateY(-2px); }
.btn-pi--fill {
  background: linear-gradient(90deg, var(--c-lavender), var(--c-orange), var(--c-lavender));
  background-size: 200% 100%;
}
.btn-pi--fill:hover { background-position: 100% 0; box-shadow: 0 10px 24px rgba(230, 82, 18, .3); }
.btn-pi--outline { background: rgba(0, 0, 0, .2); min-height: clamp(3rem, 2.7rem + 1.2vw, 3.875rem); padding-inline: clamp(1.5rem, 1.2rem + 1vw, 2.2rem); }
.btn-pi--outline::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 2px;
  background: var(--grad-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.btn-pi--outline:hover { background: rgba(0, 0, 0, .45); }

.check-list { display: grid; gap: clamp(.75rem, 1.6vw, 1.5rem); font-size: var(--fs-base); letter-spacing: .035em; line-height: 1.45; }
.check-list li { position: relative; padding-left: 1.6rem; }
.check-list li::before, .bullet-icon {
  content: ""; position: absolute; left: 0; top: .2em;
  width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--c-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m10 7 5 5-5 5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.check-list--inline { display: flex; flex-wrap: wrap; column-gap: 1.7rem; row-gap: .9rem; }

.frame {
  position: relative; margin: 0; border: var(--frame) solid var(--c-white);
  border-radius: var(--radius-lg); background: var(--c-white); overflow: hidden;
}
.frame > img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }

/* Decorative diamond outlines (PSD Shape 2005 / 2009 / 2011) */
.diamond {
  position: absolute; pointer-events: none; aspect-ratio: 1;
  width: var(--size); left: var(--x); top: var(--y);
  border: var(--stroke, 5px) solid var(--color, rgba(255, 255, 255, .15));
  transform: translate(-50%, -50%) rotate(45deg);
}

.social-list { display: flex; gap: .5rem; }
.social-list a {
  display: grid; place-items: center; width: 3.1875rem; height: 3.1875rem; border-radius: 50%;
  background: rgba(255, 255, 255, .15); color: var(--c-white); font-size: 1.2rem;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
@media (hover: hover) { .social-list a:hover { background: var(--c-orange); transform: translateY(-2px); color: var(--c-white); } }

/* ---------- 1. Header ---------- */
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; color: var(--c-white); overflow-x: clip; }
.site-header .navbar { --bs-navbar-padding-y: 0; --bs-navbar-padding-x: 0; min-height: 7rem; align-items: center; }

.brand { display: inline-flex; flex-direction: column; line-height: 1; padding-block: 1rem; }
/* Header logo artwork: 298 × 77 at 1800px, never scaled above its native size so it stays sharp */
.brand__logo { width: clamp(11.5625rem, 9.706rem + 7.93vw, 18.625rem); height: auto; }

.nav-toggle {
  display: grid; gap: 5px; width: 2.75rem; height: 2.75rem; place-content: center;
  border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--radius-sm); background: rgba(16, 7, 4, .4); cursor: pointer;
}
.nav-toggle span { width: 1.375rem; height: 2px; background: var(--c-white); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-list { display: flex; flex-direction: column; gap: .25rem; }
.nav-link-pi { display: inline-block; padding: .6rem 0; font-size: var(--fs-base); letter-spacing: .04rem; color: var(--c-white); }
.nav-link-pi:hover, .nav-link-pi.is-active { color: var(--c-nav-active); }

@media (max-width: 1199.98px) {
  .nav-panel {
    margin-bottom: 1rem; padding: 1rem 1.25rem 1.5rem; border-radius: var(--radius-lg);
    background: rgba(16, 7, 4, .94); border: 1px solid rgba(255, 255, 255, .15);
  }
  .nav-cta { margin-top: .75rem; }
}

@media (min-width: 1200px) {
  .site-header .brand { position: relative; top: .875rem; } /* PSD logo sits 32px from the top, below the bar's centre */
  /* flex-grow: 0 so the panel (and the tab behind it) starts at "Home", not right after the logo */
  .nav-panel { position: relative; flex-grow: 0; align-self: stretch; align-items: center; justify-content: flex-end; gap: 2.125rem; margin-left: auto; }
  /* Translucent tab behind the menu (PSD "Shape 2006"): curved left edge drawn from the PSD path,
     then a plain bar to the viewport edge. Fill rgb(16 7 4 / .4), 2px stroke white / .2 */
  .nav-panel::before, .nav-panel::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; pointer-events: none; }
  .nav-panel::before {
    left: -5.375rem; width: 5.375rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 86 112' preserveAspectRatio='none'%3E%3Cpath d='M1.5-2C1.5-2 14.3-4.8 23 16.6L52.2 87.9C52.2 87.9 59.7 111 86 111H87V-2Z' fill='%23100704' fill-opacity='.4'/%3E%3Cpath d='M1.5-2C1.5-2 14.3-4.8 23 16.6L52.2 87.9C52.2 87.9 59.7 111 87 111' fill='none' stroke='%23fff' stroke-opacity='.2' stroke-width='2'/%3E%3C/svg%3E") left top / 100% 100% no-repeat;
  }
  .nav-panel::after { left: 0; right: -100vw; background: rgba(16, 7, 4, .4); border-bottom: 2px solid rgba(255, 255, 255, .2); }
  .nav-list { flex-direction: row; gap: clamp(1.25rem, 5.1667vw - 2.4375rem, 3.375rem); }
}

/* ---------- 2. Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; place-items: center; text-align: center; color: var(--c-white);
  min-height: clamp(36rem, 58vw, 65.25rem);
  padding: 9rem 0 4rem;
  background: #1c1611 url("../images/hero-bg-sm.webp") center / cover no-repeat;
}
@media (min-width: 768px) { .hero { background-image: url("../images/hero-bg.webp"); padding-top: 8.5rem; } }
/* Very large screens: keep the hero within the viewport so the stats strip still peeks in, and keep the bed in frame */
@media (min-width: 1921px) { .hero { min-height: clamp(36rem, 58vw, min(65.25rem, 100svh - 5rem)); background-position: center 60%; } }
.hero__title {
  font-size: var(--fs-display); line-height: 1.1875; letter-spacing: .1em;
  text-shadow: 0 0 32px rgba(3, 3, 3, .5);
}
.hero__subtitle {
  margin-top: clamp(1rem, 1.8vw, 2rem);
  font-size: var(--fs-hero-sub); font-weight: 500; letter-spacing: .25em; text-transform: uppercase; line-height: 1.4;
}
.hero .btn-pi { margin-top: clamp(1.75rem, 2.45vw, 2.75rem); }
.hero__social {
  position: absolute; top: 51%; transform: translateY(-50%); flex-direction: column;
  /* PSD: 144px outside the content column (28px from the edge at 1800px); never closer to the edge than before */
  right: max(clamp(1rem, 1.6vw, 1.75rem), (100vw - var(--container)) / 2 - 12.1875rem);
}
.diamond--hero-l { --x: -2.5%; --y: 52.9%; --size: clamp(9rem, 15vw, 16.5rem); }
.diamond--hero-r { --x: 91.7%; --y: 100%; --size: clamp(8rem, 11.6vw, 12.8rem); }
@media (max-width: 767.98px) { .hero__social { display: none; } .hero__title { letter-spacing: .06em; } }

/* ---------- 3. Stats ---------- */
.stats { padding-block: clamp(3rem, 5.9vw, 6.625rem); }
.stats__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; }
.stat { display: flex; align-items: center; gap: clamp(.75rem, 1vw, 1.1rem); }
/* Icons keep their PSD proportions to each other (80 / 65 / 63 / 70px wide at 1800px) */
.stat img { --icon-w: 80; width: calc(var(--icon-w) / 80 * clamp(3rem, 4.45vw, 5rem)); height: auto; }
.stat:nth-child(2) img { --icon-w: 65; }
.stat:nth-child(3) img { --icon-w: 63; }
.stat:nth-child(4) img { --icon-w: 70; }
.stat p { font-weight: 600; letter-spacing: .04em; line-height: 1.3; font-size: clamp(.9375rem, .9rem + .25vw, 1.1875rem); }
.stat strong { display: block; font-size: var(--fs-stat); font-weight: 700; }
/* Phones: icon above text, centred. Every icon gets the same 3rem-tall slot so the four numbers
   start on one line in both columns, whatever each icon's own size */
@media (max-width: 575.98px) {
  .stats__list { row-gap: 2.25rem; column-gap: 1rem; }
  .stat { flex-direction: column; justify-content: flex-start; gap: .75rem; text-align: center; }
  .stat img { width: auto; height: 3rem; object-fit: contain; }
  .stat p { font-size: .875rem; font-weight: 500; line-height: 1.35; letter-spacing: .03em; }
  .stat strong { margin-bottom: .25rem; line-height: 1.1; font-weight: 700; }
}
@media (min-width: 992px) { .stats__list { display: flex; justify-content: space-between; } }

/* ---------- 4. Services ---------- */
.services {
  overflow: hidden; isolation: isolate;
  padding-top: clamp(3.5rem, 5.6vw, 6.3125rem);
  padding-bottom: max(6rem, 14.7vw);
  background:
    radial-gradient(42% 36% at 50% 47%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0)) ,
    var(--c-lavender-soft);
}
.services::after {
  content: ""; position: absolute; inset: auto 0 0; z-index: -1; aspect-ratio: 1800 / 445;
  background: url("../images/services-skyline.webp") center bottom / 100% auto no-repeat;
}
.diamond--services { --x: 105%; --y: 57.8%; --size: clamp(12rem, 20.7vw, 23.3rem); --stroke: 7px; --color: rgba(255, 255, 255, .4); z-index: -1; }

.services__grid { display: grid; gap: 1.5rem; }
.services__title { font-size: var(--fs-h2-sm); }
.services__office { display: none; }
.services__eng-text .card-title { margin-bottom: clamp(1rem, 2vw, 2.1rem); }
.services__eng-img { aspect-ratio: 647 / 482; }
.service-card { display: flex; flex-direction: column; }
.service-card > img { aspect-ratio: 747 / 552; height: auto; }
.service-card__info { padding: 1.5rem 1.25rem .75rem; background: var(--c-white); }
.service-card__info .card-title { margin-bottom: 1rem; }
.service-card .check-list { gap: .75rem; }

@media (min-width: 576px) {
  .services__grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.75rem; align-items: center; }
  .services__head { grid-column: 1 / -1; }
  .services__bim, .services__advisory { align-self: stretch; }
  .services__advisory > img { aspect-ratio: 747 / 552; }
}

/* Editorial layout: column / row tracks taken directly from the PSD (design px × --u) */
@media (min-width: 1200px) {
  .services__grid {
    --u: calc(min(var(--container), 100vw - 2 * var(--gutter)) / 1354);
    gap: 0;
    align-items: stretch;
    grid-template-columns: 647fr 100fr 50fr 254fr 302fr;
    grid-template-rows: calc(236 * var(--u)) calc(373 * var(--u)) calc(109 * var(--u)) calc(61 * var(--u)) calc(552 * var(--u));
  }
  .services__head { grid-column: 1 / 5; grid-row: 1; padding-right: calc(40 * var(--u)); }
  .services__office { display: block; grid-column: 5; grid-row: 1 / 3; margin-top: calc(40 * var(--u)); height: calc(512 * var(--u)); border-color: rgba(255, 255, 255, .7); }
  .services__eng-img { grid-column: 1 / 2; grid-row: 2 / 4; aspect-ratio: auto; }
  .services__eng-text { grid-column: 2 / 5; grid-row: 2; padding: calc(7 * var(--u)) calc(20 * var(--u)) 0 calc(19 * var(--u)); }
  .services__bim { grid-column: 1 / 3; grid-row: 5; }
  .services__advisory { grid-column: 4 / 6; grid-row: 3 / 6; overflow: visible; }
  .service-card > img, .services__advisory > img { position: absolute; inset: 0; aspect-ratio: auto; }
  .service-card__info {
    position: absolute; bottom: calc(-1 * var(--frame)); left: calc(40 * var(--u) - var(--frame)); right: calc(40 * var(--u) - var(--frame));
    padding: calc(35 * var(--u)) calc(30 * var(--u)) calc(30 * var(--u));
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }
  .services__advisory .service-card__info { left: calc(-1 * var(--frame)); border-radius: 0 var(--radius-md) 0 var(--radius-lg); }
  .services__bim .service-card__info { border-radius: var(--radius-md) var(--radius-md) 0 0; }
  .service-card__info .card-title { margin-bottom: calc(20 * var(--u)); }
  .service-card .check-list { gap: calc(15 * var(--u)); }
}

/* ---------- 5. About ---------- */
.about { padding-bottom: 0; padding-top: clamp(3rem, 4.34vw, 4.875rem); overflow: hidden; }
.about::before {
  content: ""; position: absolute; left: 0; top: clamp(1rem, 2.3vw, 2.625rem); z-index: -1;
  width: min(36.7vw, 41.25rem); aspect-ratio: 660 / 831;
  background: url("../images/about-wireframe.webp") left top / contain no-repeat;
}
.about { isolation: isolate; }
.about .section-title { margin-bottom: clamp(1.25rem, 1.5vw, 1.6875rem); }
.about__para { font-size: var(--fs-lg); line-height: 1.7; letter-spacing: .04em; color: var(--c-text); max-width: 42.5rem; }
.about__para + .about__para { margin-top: clamp(1rem, 2vw, 1.75rem); }
.about__para--tight { line-height: 1.6; }
.about__approach {
  position: relative; display: flex; align-items: center; gap: .6rem;
  margin: clamp(1.5rem, 1.9vw, 2.0625rem) 0 .75rem; font-size: var(--fs-h4); letter-spacing: .04em;
}
.bullet-icon { position: static; display: inline-block; width: 1.8125rem; height: 1.8125rem; }
.about .btn-pi { margin-top: clamp(1.75rem, 2.8vw, 2.8rem); min-height: clamp(3rem, 2.7rem + 1.3vw, 3.9375rem); padding-inline: clamp(1.75rem, 1.4rem + 1.4vw, 2.9rem); }
.about__media img { width: 100%; max-width: 35.1875rem; margin-inline: auto; }
/* Centre the copy on the image's rounded frame, not on the building that rises above it */
@media (min-width: 992px) { .about__text { margin-top: clamp(2.75rem, 5vw, 5.625rem); } }

/* ---------- 6. Projects ---------- */
.projects { padding-top: clamp(4rem, 7.8vw, 8.75rem); padding-bottom: 0; }
.projects .section-title { margin-bottom: clamp(1.5rem, 1.6vw, 1.625rem); }
/* Project cards (rendered by projects-gallery.js) in a single-row slider, like the team track:
   1 card visible on phones, 2 on tablets, 3 on desktops; the rest scroll into view (main.js drives the controls). */
.projects__track {
  --cols: 1; --gap: 1rem;
  display: grid; grid-auto-flow: column; gap: var(--gap);
  grid-auto-columns: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.projects__track::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .projects__track { --cols: 2; } }
@media (min-width: 1200px) { .projects__track { --cols: 3; --gap: 1.375rem; } }

.project-card {
  --focus: var(--c-white);
  position: relative; isolation: isolate; container-type: inline-size; scroll-snap-align: start;
  aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: #e9e4de;
}
@media (min-width: 1200px) { .project-card { aspect-ratio: 1; } }
.projects__track:not(.is-static) .project-card { cursor: pointer; }

/* Mouse drag on slider tracks (main.js) */
@media (hover: hover) and (pointer: fine) { .projects__track, .team__track { cursor: grab; } }
.is-dragging, .is-dragging * { cursor: grabbing !important; user-select: none; }

/* Slider controls on a light background (the base .slider-controls styles are white, for the team section) */
.slider-controls--light .slider-btn { border-color: rgba(0, 0, 0, .2); color: var(--c-black); }
@media (hover: hover) { .slider-controls--light .slider-btn:hover:not(:disabled) { background: var(--c-orange); border-color: var(--c-orange); color: var(--c-white); } }
.slider-controls--light .slider-progress { background: rgba(0, 0, 0, .12); }
.slider-controls--light .slider-progress span { background: var(--c-orange); }
.project-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project-card:hover .project-card__img, .project-card:focus-within .project-card__img { transform: scale(1.04); }
.project-card.is-missing .project-card__img { visibility: hidden; }

/* Bottom information band (about a fifth of the card on desktop; a little more on phones, where it stacks).
   Name on top; date + location and the button share the second row on wide cards. */
.project-card__info {
  position: absolute; inset: auto 0 0; min-height: 20%;
  display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; align-items: center; gap: .375rem 1rem;
  padding: .875rem 1.125rem;
  color: var(--c-white); background: rgba(16, 7, 4, .72);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.project-card__info::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--grad-brand); }
.project-card__title { font-size: var(--fs-xl); line-height: 1.2; letter-spacing: .045rem; }
.project-card__meta {
  display: flex; flex-wrap: wrap; gap: .125rem 1rem;
  font-size: var(--fs-sm); letter-spacing: .03rem; line-height: 1.4; color: rgba(255, 255, 255, .85);
}
.project-card__meta p { display: flex; align-items: flex-start; gap: .375rem; }
.project-card__meta svg { margin-top: .1875rem; color: var(--c-lavender); }
.project-card__btn { justify-self: start; margin-top: .375rem; min-height: 2.75rem; padding: .5rem 1.125rem; font-size: var(--fs-sm); }
.project-card:hover .project-card__btn { background-position: 100% 0; }
@media (min-width: 1200px) { .project-card__info { padding: 1rem 1.375rem; } }
@container (min-width: 24rem) {
  .project-card__info { grid-template-columns: minmax(0, 1fr) auto; }
  .project-card__title { grid-column: 1 / -1; }
  .project-card__btn { margin-top: 0; }
}

/* ---------- 6b. Project lightbox (lightGallery theme; addClass: "lg-pi" lands on .lg-container) ---------- */
.lg-pi .lg-backdrop, .lg-pi .lg-outer .lg-thumb-outer { background-color: var(--c-dark); }
.lg-pi .lg-toolbar .lg-icon, .lg-pi .lg-counter { color: rgba(255, 255, 255, .8); }
.lg-pi .lg-toolbar .lg-icon:hover { color: var(--c-white); }
.lg-pi .lg-prev, .lg-pi .lg-next {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-top: -1.375rem; padding: 0;
  border-radius: 50%; background-color: rgba(16, 7, 4, .55); color: var(--c-white); font-size: 1.25rem;
  transition: background-color .2s var(--ease);
}
.lg-pi .lg-prev:hover:not(.disabled), .lg-pi .lg-next:hover:not(.disabled) { background-color: var(--c-orange); }
.lg-pi .lg-icon:focus-visible { color: var(--c-white); outline: 3px solid var(--c-orange); outline-offset: 2px; border-radius: 4px; }
/* lightGallery only borders thumbnails from 768px up; show the current one at every size */
.lg-pi .lg-outer .lg-thumb-item { border: 2px solid rgba(255, 255, 255, .6); border-radius: var(--radius-sm); transition: border-color .25s var(--ease); }
.lg-pi .lg-outer .lg-thumb-item.active, .lg-pi .lg-outer .lg-thumb-item:hover { border-color: var(--c-orange); }
.lg-pi .lg-outer .lg-thumb-item.is-missing { background: rgba(255, 255, 255, .08); }
.lg-pi .lg-outer .lg-thumb-item.is-missing img { visibility: hidden; }
.lg-pi .lg-sub-html { padding: .75rem 1rem; }
.lg-pi .lg-sub-html h4 { font-family: var(--ff-heading); font-size: var(--fs-base); letter-spacing: .04rem; color: var(--c-white); }
.lg-pi .lg-sub-html p { margin-top: .25rem; font-size: var(--fs-sm); letter-spacing: .02rem; color: rgba(255, 255, 255, .75); }
.lg-pi .lg-error-msg { font-size: var(--fs-base); color: rgba(255, 255, 255, .8); }

/* ---------- 7. Team ---------- */
.team-faq {
  position: relative; margin-top: clamp(4rem, 9.3vw, 10.4375rem); color: var(--c-white);
  background: var(--c-dark) url("../images/team-faq-bg-sm.webp") center top / cover no-repeat;
}
@media (min-width: 992px) { .team-faq { background-image: url("../images/team-faq-bg.webp"); } }
/* Above 1920px the layout scales by rem, so the artwork's height must follow rem too (1826px at a 16px root),
   otherwise "cover" sizes it by viewport width and the skyline drifts down behind the FAQ */
@media (min-width: 1921px) { .team-faq { background-size: 100% 114.125rem; } }

.team { padding-top: clamp(3.5rem, 5.3vw, 5.9375rem); padding-bottom: clamp(9rem, 18vw, 20.25rem); }
.team__wrap { max-width: calc(var(--container-team) + 2 * var(--gutter)); margin-top: clamp(1rem, 1.05vw, 1.1875rem); }
.team__track {
  --gap: clamp(1rem, 5.08vw, 5.7rem);
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.team__track::-webkit-scrollbar { display: none; }
@media (min-width: 576px) { .team__track { grid-auto-columns: calc((100% - var(--gap)) / 2); } }
@media (min-width: 992px) { .team__track { grid-auto-columns: calc((100% - 2 * var(--gap)) / 3); } }

.member {
  position: relative; scroll-snap-align: start; text-align: center;
  padding: clamp(3rem, 3.6vw, 3.5625rem) 1rem clamp(1.5rem, 1.5vw, 1.6875rem);
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(229, 229, 229, .4); border-radius: var(--radius-sm);
}
.member__badge {
  position: absolute; top: -1px; left: -1px; padding: .45rem 1rem;
  font-size: var(--fs-base); letter-spacing: .03em; line-height: 1.2;
  background: rgba(255, 255, 255, .2); border-radius: var(--radius-sm) 0 var(--radius-sm) 0;
  box-shadow: 0 5px 25px rgba(2, 3, 3, .05);
}
.member__avatar {
  position: relative; width: clamp(10rem, 12.5vw, 14.0625rem); aspect-ratio: 1; margin-inline: auto; padding: 7px;
  border-radius: 50%; background: var(--c-white); box-shadow: 0 10px 40px rgba(0, 0, 0, .1);
}
.member__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.member__arrow {
  position: absolute; right: 0; bottom: 9.3%; display: grid; place-items: center;
  width: 24.4%; aspect-ratio: 1; border-radius: 50%; background: var(--c-white); color: var(--c-orange); font-size: 1.3rem;
}
.member__name { margin-top: 1.125rem; font-family: var(--ff-body); font-size: var(--fs-xl); font-weight: 700; letter-spacing: .03em; color: var(--c-navy); line-height: 1.175; }
.member__role { font-size: var(--fs-base); letter-spacing: .03em; color: var(--c-navy); line-height: 1.5; }
.member__exp { margin-top: 1.125rem; font-size: var(--fs-base); font-weight: 500; letter-spacing: .05em; line-height: 1.667; }

.slider-controls { display: flex; align-items: center; gap: 1.6875rem; margin-top: 1.875rem; }
.slider-btn {
  display: grid; place-items: center; width: 2.875rem; height: 2.875rem; flex-shrink: 0;
  background: transparent; border: 2px solid rgba(255, 255, 255, .45); color: var(--c-white); font-size: 1.1rem; cursor: pointer;
  transition: background-color .2s var(--ease), opacity .2s;
}
@media (hover: hover) { .slider-btn:hover:not(:disabled) { background: rgba(255, 255, 255, .2); } }
.slider-btn:disabled { opacity: .45; cursor: default; }
.slider-progress { position: relative; flex: 1; height: 4px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.slider-progress span { position: absolute; inset: 0 auto 0 0; width: 25.7%; background: var(--c-white); transition: transform .2s linear, width .2s; }

/* ---------- 8. FAQ ---------- */
.faq { position: relative; overflow: hidden; padding-bottom: clamp(4rem, 6.7vw, 7.5625rem); }
/* Narrow screens: the city photo sits behind the FAQ heading, so deepen it for contrast */
@media (max-width: 991.98px) {
  .faq { padding-top: 2.5rem; background: linear-gradient(180deg, rgba(20, 21, 23, .75), rgba(20, 21, 23, .92) 8rem, var(--c-dark) 16rem); }
}
.faq .section-title { margin-bottom: clamp(1.5rem, 2.3vw, 2.625rem); }
/* Waves + diamond outlines artwork. Its base is exactly --c-dark, so "lighten" lets only the
   line work show and keeps the city reflection behind it. Bottom edge sits 13px above the FAQ end (PSD). */
.faq::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: .8125rem; aspect-ratio: 1800 / 902; pointer-events: none;
  background: url("../images/faq-pattern.webp") center / 100% auto no-repeat; mix-blend-mode: lighten;
}
.faq > .pi-container { position: relative; }

.faq__list { position: relative; max-width: calc(var(--container-narrow) + 2 * var(--gutter)); display: grid; gap: 1.0625rem; }
.faq-item { position: relative; border-radius: var(--radius-sm); border: 1px solid rgba(255, 255, 255, .1); background: rgba(20, 21, 23, .35); transition: border-color .3s; }
.faq-item:has([aria-expanded="true"]) { border-color: transparent; }
.faq-item:has([aria-expanded="true"])::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--grad-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.faq-item__q { font: inherit; }
.faq-item__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%;
  min-height: 4.5rem; padding: .875rem .5rem .875rem clamp(1rem, 1.6vw, 1.375rem);
  background: none; border: 0; text-align: left; cursor: pointer;
  font-size: var(--fs-base); letter-spacing: .04em; line-height: 1.4; color: var(--c-white);
}
.faq-item__icon {
  display: grid; place-items: center; flex-shrink: 0; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: rgba(207, 159, 255, .1); color: var(--c-lavender); font-size: 1rem;
  transition: transform .3s var(--ease), background .3s;
}
.faq-item__icon svg { transform: rotate(90deg); }
.faq-item__btn[aria-expanded="true"] .faq-item__icon { background: linear-gradient(135deg, var(--c-orange), var(--c-lavender)); color: var(--c-white); transform: rotate(180deg); }
.faq-item__a {
  padding: 0 clamp(1rem, 3.4vw, 3.25rem) 2.125rem clamp(1rem, 1.6vw, 1.375rem); margin-top: -.3125rem;
  font-size: clamp(.875rem, .85rem + .2vw, 1.0625rem); letter-spacing: .03em; line-height: 1.55; color: rgba(255, 255, 255, .6);
}

/* ---------- 9. Reviews ---------- */
/* The track's own bottom padding (room for card shadows) counts towards the section spacing */
.reviews { padding-bottom: calc(var(--space-section) - 1.5rem); }
.reviews__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.round-btn {
  display: grid; place-items: center; flex-shrink: 0; width: clamp(2.75rem, 2.2rem + 2.3vw, 4.0625rem); aspect-ratio: 1; margin-bottom: -.5rem;
  border-radius: 50%; border: 2px solid rgba(36, 53, 111, .12); background: var(--c-white); color: #4e4e4e; font-size: clamp(1.125rem, 1rem + .4vw, 1.4rem); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
@media (hover: hover) { .round-btn:hover { background: var(--c-orange); border-color: var(--c-orange); color: var(--c-white); } }

.reviews__track {
  --gap: 1.875rem;
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: var(--gap);
  margin-top: clamp(.75rem, .9vw, 1rem); padding: .25rem .25rem 1.5rem;
  margin-inline: -.25rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.reviews__track::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .reviews__track { grid-auto-columns: calc((100% - var(--gap)) / 2); } }
@media (min-width: 1200px) { .reviews__track { grid-auto-columns: calc((100% - 2 * var(--gap)) / 3); } }

.review { scroll-snap-align: start; display: flex; }
.review figure {
  display: flex; flex-direction: column; width: 100%; margin: 0;
  padding: clamp(1.5rem, 2.45vw, 2.75rem) clamp(1.25rem, 1.95vw, 2.1875rem) clamp(1.75rem, 2.8vw, 3.1875rem) clamp(1.25rem, 1.7vw, 1.875rem);
  background: var(--c-white); border: 1px solid rgba(3, 3, 3, .1); border-radius: var(--radius-xl);
}
.review--raised figure { box-shadow: 5px 9px 10px rgba(3, 3, 3, .08); }
.review__top { display: flex; align-items: flex-start; justify-content: space-between; }
.review__top img { width: clamp(2.75rem, 3.17vw, 3.5625rem); margin-top: -.6rem; }
.stars { display: flex; gap: 4px; color: var(--c-star); font-size: 1.5rem; }
.review blockquote { margin: 1.6rem 0 auto; font-size: var(--fs-quote); letter-spacing: .03em; line-height: 1.5; color: var(--c-black); }
.review figcaption { margin-top: 2rem; font-size: clamp(.875rem, .8257rem + .2105vw, 1.0625rem); color: var(--c-grey); }
.review figcaption strong { font-size: clamp(1.0625rem, 1.059rem + .281vw, 1.375rem); font-weight: 600; }

/* ---------- 10 + 11. Contact & footer ---------- */
.site-footer { color: var(--c-white); }
.site-footer__skyline {
  aspect-ratio: 1800 / 210; margin-bottom: -1px;
  background: url("../images/footer-skyline.webp") center bottom / 100% auto no-repeat;
}
.site-footer__body {
  padding-top: clamp(1rem, 1.3vw, 1.4375rem); padding-bottom: clamp(2rem, 3.3vw, 3.75rem);
  background: var(--c-orange-deep) url("../images/footer-bg.webp") center top / cover no-repeat;
}

.contact-card {
  position: relative; text-align: center;
  padding: clamp(1.5rem, 1.6vw, 1.75rem) clamp(1rem, 6.1vw, 6.5rem) clamp(2.5rem, 3vw, 3.375rem);
  border: 5px solid var(--c-lavender); border-radius: var(--radius-xl); background: rgba(255, 255, 255, .1);
}
.contact-card .section-title { line-height: 1.1; }
.contact-card__lead { max-width: 72rem; margin: .3rem auto 0; font-size: var(--fs-lg); letter-spacing: .03em; line-height: 1.57; }
.contact-form { margin-top: clamp(1.25rem, 1.2vw, 1.375rem); }
.contact-form__grid { display: grid; gap: 1.25rem 1rem; text-align: left; }
@media (min-width: 576px) { .contact-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field--phone { grid-column: 1 / -1; } }
/* Desktop: name, email and phone on one row */
@media (min-width: 992px) { .contact-form__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .field--phone { grid-column: auto; } }
.field--message { grid-column: 1 / -1; }

.field__label { display: block; margin: 0 0 .5rem .25rem; font-size: var(--fs-sm); font-weight: 600; letter-spacing: .03em; line-height: 1.3; color: var(--c-white); }
.field__control { position: relative; }
.field__control::before {
  content: ""; position: absolute; left: 1.25rem; top: 1.875rem; transform: translateY(-50%);
  width: 1.375rem; height: 1.375rem; pointer-events: none; z-index: 1;
  background: var(--icon) center / contain no-repeat;
}
.field--name { --icon: url("../images/contact-name.png"); }
.field--email { --icon: url("../images/contact-email.png"); }
.field--phone { --icon: url("../images/contact-phone.png"); }
.field--message { --icon: url("../images/contact-message.png"); }
.field input, .field textarea {
  display: block; width: 100%; height: 3.75rem; padding: 0 1.25rem 0 3.25rem;
  border: 2px solid transparent; border-radius: var(--radius-pill); background: var(--c-white);
  font-family: var(--ff-body); font-size: var(--fs-sm); letter-spacing: .03em; color: var(--c-black);
  transition: border-color .2s, box-shadow .2s;
}
/* Message: multi-line box that grows with its content (height set by main.js), then scrolls */
.field textarea {
  height: auto; min-height: 8.5rem; max-height: 18rem; padding-block: 1.1rem;
  border-radius: var(--radius-xl); resize: none; line-height: 1.5; overflow-y: hidden;
}
.field textarea.is-scrolling { overflow-y: auto; }
.field input::placeholder, .field textarea::placeholder { color: var(--c-placeholder); opacity: 1; }
.field input:hover, .field textarea:hover { border-color: rgba(207, 159, 255, .6); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--c-lavender); box-shadow: 0 0 0 4px rgba(207, 159, 255, .55); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--c-star); }
.field__error { padding: .4rem .25rem 0; font-size: .875rem; font-weight: 600; line-height: 1.3; color: var(--c-white); }
.field__error:empty { display: none; }
.field__error::before { content: "⚠ "; color: var(--c-star); }

/* Form notice: error / info / success, each with its own badge */
.contact-form__status {
  display: flex; align-items: flex-start; gap: .75rem; margin-top: 1.25rem;
  padding: .875rem 1.25rem; text-align: left;
  font-size: var(--fs-sm); font-weight: 500; line-height: 1.5; letter-spacing: .02em;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); border-radius: var(--radius-md);
}
.contact-form__status:empty { display: none; }
.contact-form__status > span { min-width: 0; } /* lets long links wrap inside the flex row */
.contact-form__status::before {
  content: "i"; display: grid; place-items: center; flex-shrink: 0; width: 1.5rem; height: 1.5rem; margin-top: -.05rem;
  border-radius: 50%; font-weight: 700; font-size: .875rem; line-height: 1; background: var(--c-lavender); color: var(--c-black);
}
.contact-form__status.is-error { border-color: var(--c-star); }
.contact-form__status.is-error::before { content: "!"; background: var(--c-star); }
.contact-form__status.is-success::before { content: "✓"; background: var(--c-white); color: var(--c-orange); }
.contact-form__status a { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: break-word; }
.contact-form__status a:hover { color: var(--c-lavender); }
.contact-form__status a[href^="tel:"] { white-space: nowrap; }

/* Submit: labelled "Send Message →" pill, right-aligned under the message (full width on phones) */
.contact-form__actions { display: flex; justify-content: flex-end; margin-top: 1.5rem; }
.btn-pi--light { gap: .75rem; background: var(--c-lavender); color: var(--c-black); font-weight: 600; box-shadow: 0 0 0 5px rgba(207, 159, 255, .2); }
.btn-pi--light:hover { color: var(--c-black); background: var(--c-white); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.contact-form__submit { width: 100%; }
.contact-form__submit img { width: 1.375rem; filter: brightness(0); }
.contact-form__submit-arrow { font-size: 1.25rem; transition: transform .25s var(--ease); }
.contact-form__submit:hover .contact-form__submit-arrow { transform: translateX(4px); }
.contact-form__submit:disabled { opacity: .7; cursor: progress; transform: none; }
.contact-form[aria-busy="true"] .contact-form__submit img { animation: send-fly 1s var(--ease) infinite; }
@keyframes send-fly { 0% { transform: none; opacity: 1; } 60% { transform: translate(.6rem, -.6rem); opacity: 0; } 61% { transform: translate(-.6rem, .6rem); opacity: 0; } 100% { transform: none; opacity: 1; } }
@media (min-width: 576px) { .contact-form__submit { width: auto; min-width: 15rem; } }

/* Subtract the row's own gy-* offset, which this margin would otherwise override */
.footer-cols { margin-top: calc(clamp(2.5rem, 4vw, 4.1875rem) - var(--bs-gutter-y)); }
@media (min-width: 1400px) {
  /* PSD column starts sit at 223 / 876 / 1245px, off the 12-column grid (row = 1354px + 24px gutter).
     Below 1400px these widths leave Contact Us too narrow, so the 5 / 3 / 4 Bootstrap columns apply. */
  .footer-cols > :nth-child(1) { width: calc(100% * 653 / 1378); }
  .footer-cols > :nth-child(2) { width: calc(100% * 369 / 1378); }
  .footer-cols > :nth-child(3) { width: calc(100% * 356 / 1378); }
}
.brand--footer { padding: 0; }
/* Footer logo artwork (lavender → white for contrast on orange): 360 × 93 at 1800px, as in the PSD */
.brand--footer .brand__logo { width: clamp(13.9375rem, 11.72rem + 9.58vw, 22.5rem); }
.footer-about { max-width: 28rem; margin-top: clamp(1.5rem, 3.2vw, 3.5rem); line-height: 1.95; letter-spacing: .04em; }
.footer-title { font-size: var(--fs-h4); letter-spacing: .03em; line-height: 1; color: var(--c-white); }
.footer-links { margin-top: 1.5rem; display: grid; gap: .625rem; font-size: clamp(.9375rem, .8717rem + .2807vw, 1.1875rem); letter-spacing: .04em; }
.footer-links a:hover, .footer-legal a:hover, .footer-contact a:hover { color: var(--c-lavender); }
.footer-contact { margin: 1.5rem 0 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.375rem; font-style: normal; font-size: clamp(.9375rem, .8717rem + .2807vw, 1.1875rem); letter-spacing: .03em; line-height: 1.42; }
/* Icons sit in equal 1.5rem slots so the address, phone and email text line up in one column */
.footer-contact__item { display: flex; align-items: flex-start; gap: .75rem; }
.footer-contact__item img { width: 1.5rem; height: 1.5rem; object-fit: contain; flex-shrink: 0; }
.footer-contact__item a { overflow-wrap: break-word; min-width: 0; }
.footer-contact__phone { align-items: center; }
.footer-contact__phone a { font-size: var(--fs-xl); font-weight: 600; opacity: .8; }

.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem;
  margin-top: clamp(2.5rem, 4vw, 4.5rem); padding-top: clamp(1.5rem, 2.6vw, 2.9rem);
  border-top: 1px solid rgba(255, 255, 255, .15);
}
.footer-legal { font-size: clamp(.875rem, .8092rem + .2807vw, 1.125rem); letter-spacing: .02em; }
.footer-legal .sep { margin-inline: .75rem; }
.social-list--footer { gap: .625rem; }
.social-list--footer a { background: rgba(255, 255, 255, .2); }
@media (hover: hover) { .social-list--footer a:hover { background: var(--c-lavender); } }

@media (max-width: 575.98px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal .sep { margin-inline: .35rem; }
}
/* Below 768px the copyright gets its own line and the legal links follow, so no "|" is left at a line end */
@media (max-width: 767.98px) { .footer-legal .sep--break { display: block; height: .375rem; overflow: hidden; color: transparent; } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
