/* ==========================================================================
   SAN Landmark — site styles (load after bootstrap.min.css + bootstrap-icons.min.css)
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    font-style: normal;
    font-weight: 400;
    src: local('Neue Haas Grotesk Display Pro'), url('../assets/fonts/NeueHaasDisplayLight.woff') format('woff');
}
@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    font-style: italic;
    font-weight: 400;
    src: local('Neue Haas Grotesk Display Pro'), url('../assets/fonts/NeueHaasDisplayLightItalic.woff') format('woff');
}
@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    font-style: normal;
    font-weight: 100;
    src: local('Neue Haas Grotesk Display Pro'), url('../assets/fonts/NeueHaasDisplayXXThin.woff') format('woff');
}
@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    font-style: italic;
    font-weight: 100;
    src: local('Neue Haas Grotesk Display Pro'), url('../assets/fonts/NeueHaasDisplayXXThinItalic.woff') format('woff');
}
@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    font-style: normal;
    font-weight: 200;
    src: local('Neue Haas Grotesk Display Pro'), url('../assets/fonts/NeueHaasDisplayXThin.woff') format('woff');
}
@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    font-style: italic;
    font-weight: 200;
    src: local('Neue Haas Grotesk Display Pro'), url('../assets/fonts/NeueHaasDisplayXThinItalic.woff') format('woff');
}
@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    font-style: normal;
    font-weight: 300;
    src: local('Neue Haas Grotesk Display Pro'), url('../assets/fonts/NeueHaasDisplayThin.woff') format('woff');
}
@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    font-style: italic;
    font-weight: 300;
    src: local('Neue Haas Grotesk Display Pro'), url('../assets/fonts/NeueHaasDisplayThinItalic.woff') format('woff');
}
@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    font-style: normal;
    font-weight: 500;
    src: local('Neue Haas Grotesk Display Pro'), url('../assets/fonts/NeueHaasDisplayRoman.woff') format('woff');
}
@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    font-style: italic;
    font-weight: 500;
    src: local('Neue Haas Grotesk Display Pro'), url('../assets/fonts/NeueHaasDisplayRomanItalic.woff') format('woff');
}
@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    font-style: normal;
    font-weight: 600;
    src: local('Neue Haas Grotesk Display Pro'), url('../assets/fonts/NeueHaasDisplayMediu.woff') format('woff');
}
@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    font-style: italic;
    font-weight: 600;
    src: local('Neue Haas Grotesk Display Pro'), url('../assets/fonts/NeueHaasDisplayMediumItalic.woff') format('woff');
}
@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    font-style: normal;
    font-weight: 700;
    src: local('Neue Haas Grotesk Display Pro'), url('../assets/fonts/NeueHaasDisplayBold.woff') format('woff');
}
@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    font-style: italic;
    font-weight: 700;
    src: local('Neue Haas Grotesk Display Pro'), url('../assets/fonts/NeueHaasDisplayBoldItalic.woff') format('woff');
}
@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    font-style: normal;
    font-weight: 900;
    src: local('Neue Haas Grotesk Display Pro'), url('../assets/fonts/NeueHaasDisplayBlack.woff') format('woff');
}
@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    font-style: italic;
    font-weight: 900;
    src: local('Neue Haas Grotesk Display Pro'), url('../assets/fonts/NeueHaasDisplayBlackItalic.woff') format('woff');
}

/* ---------- Design tokens ---------- */
:root {
  --red: #ff3333;
  --ink: #000;
  --white: #fff;
  --muted: #d2d2d0;
  --rule: rgba(255,255,255,.5);
  --line: #bebebe;
  --pink: #ffe1e1;
  --gold: #f2b632;
  --cream: #f5f2ed;
  --grey-bg: #f3f3f3;
  --text-2: #4a4a4a;
  --header-h: 70px;
  --gutter: clamp(20px, 4.17vw, 60px);
  --font: "Neue Haas Grotesk Display Pro", sans-serif;

  /* Bootstrap hooks */
  --bs-body-font-family: var(--font);
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--white);
  --bs-body-line-height: normal;
  --bs-link-color-rgb: 0,0,0;
  --bs-link-hover-color-rgb: 255,51,51;
  --bs-gutter-x: 1.5rem;
  interpolate-size: allow-keywords;   /* lets the FAQ animate to height:auto where supported */
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);   /* anchored headings land below the fixed header, never under it */
  overflow-x: clip;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body { font-family: var(--font); color: var(--ink); background: var(--white); line-height: normal; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
h1, h2, h3, p { margin: 0; line-height: inherit; }
h3 { font-size: inherit; }
dl, dd { margin: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; padding: 10px 16px; background: var(--ink); color: var(--white); border-radius: 6px; }
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- Buttons: Bootstrap .btn re-skinned through its CSS variables ---------- */
.btn.btn-sl {
  --bs-btn-padding-x: 30px; --bs-btn-padding-y: 0;
  --bs-btn-font-family: var(--font); --bs-btn-font-size: 16px; --bs-btn-font-weight: 500; --bs-btn-line-height: normal;
  --bs-btn-border-width: 1.4px; --bs-btn-border-radius: 100px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 49px; white-space: nowrap;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.btn.btn-sl:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.btn.btn-sl:active { transform: scale(.98); }
.btn.btn-sl .bi { font-size: 1.1em; }
/* Red → gold with black text on hover (Figma hover board) */
.btn-sl-red {
  --bs-btn-color: var(--white); --bs-btn-bg: var(--red); --bs-btn-border-color: transparent;--bs-btn-border-width: 1.4px; --bs-btn-hover-color: var(--ink); --bs-btn-hover-bg: var(--gold); --bs-btn-hover-border-color: var(--red); --bs-btn-active-color: var(--ink); --bs-btn-active-bg: var(--gold); --bs-btn-active-border-color: transparent;   --bs-btn-focus-box-shadow: none;
}
.btn.btn-sl-red { --bs-btn-border-width: 0; box-shadow: 0 0 20px rgba(255,51,51,.3); }
.btn.btn-sl-red:hover, .btn.btn-sl-red:focus-visible, .btn.btn-sl-red:active { box-shadow: 0 0 20px rgba(242,182,50,.3); }
/* Glass → solid white with black text on hover */
.btn-sl-glass {
  --bs-btn-color: var(--white); --bs-btn-bg: rgba(255,255,255,.1); --bs-btn-border-color: var(--white);
  --bs-btn-hover-color: var(--ink); --bs-btn-hover-bg: var(--white); --bs-btn-hover-border-color: var(--white);
  --bs-btn-active-color: var(--ink); --bs-btn-active-bg: var(--white); --bs-btn-active-border-color: var(--white);
  --bs-btn-focus-box-shadow: none;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
/* Outline for light backgrounds */
.btn-sl-outline {
  --bs-btn-color: var(--ink); --bs-btn-bg: transparent; --bs-btn-border-color: var(--ink);
  --bs-btn-hover-color: var(--white); --bs-btn-hover-bg: var(--ink); --bs-btn-hover-border-color: var(--ink);
  --bs-btn-active-color: var(--white); --bs-btn-active-bg: var(--ink); --bs-btn-active-border-color: var(--ink);
  --bs-btn-focus-box-shadow: none;
}
.btn.btn-sl-lg { --bs-btn-padding-x: 35px; --bs-btn-font-size: 20px; --bs-btn-font-weight: 400; height: 58px; letter-spacing: 0; }

/* ==========================================================================
   Header
   Over the hero it is transparent with white text; once the page scrolls it turns
   50% white + blur with black text (Figma Group 81890). That switch is done in pure
   CSS with a scroll-driven animation on registered custom properties. Browsers
   without scroll-driven animations get the solid state from the start, so the menu
   text is never white-on-white.
   ========================================================================== */
@property --hdr-fg { syntax: "<color>"; inherits: true; initial-value: #fff; }
@property --hdr-bg { syntax: "<color>"; inherits: true; initial-value: rgba(255,255,255,0); }
@property --hdr-line { syntax: "<color>"; inherits: true; initial-value: rgba(255,255,255,.5); }
@property --hdr-blur { syntax: "<length>"; inherits: true; initial-value: 0px; }

.header {
  position: fixed; inset: 0 0 auto; z-index: 1030; height: var(--header-h);
  color: var(--hdr-fg); background: var(--hdr-bg); border-bottom: .7px solid var(--hdr-line);
  backdrop-filter: blur(var(--hdr-blur)); -webkit-backdrop-filter: blur(var(--hdr-blur));
}
@keyframes header-solid {
  to { --hdr-fg: #000; --hdr-bg: rgba(255,255,255,.5); --hdr-line: rgba(255,255,255,0); --hdr-blur: 5px; }
}
@supports (animation-timeline: scroll()) {
  .header--overlay { animation: header-solid linear both; animation-timeline: scroll(root); animation-range: 0px 60px; }
}
@supports not (animation-timeline: scroll()) {
  .header--overlay { --hdr-fg: #000; --hdr-bg: rgba(255,255,255,.7); --hdr-line: rgba(255,255,255,0); --hdr-blur: 8px; }
}

/* Inner pages: always solid */
body.dark .header--solid { --hdr-fg: #000; --hdr-bg: rgba(255,255,255,.88); --hdr-line: var(--line); --hdr-blur: 10px; }

.header__inner { position: relative; height: 100%; padding: 0 var(--gutter) 0 62px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: block; }
.logo svg { display: block; width: 161px; height: 39px; }
.logo svg path:nth-of-type(n+5) { fill: var(--hdr-fg); }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: 16px; }
.site-nav a { position: relative; padding: 4px 0 6px; }
.site-nav > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.site-nav > a:hover::after, .site-nav > a:focus-visible::after { transform: scaleX(1); }
.site-nav a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.site-nav__extra { display: none; }
.header__right { display: flex; align-items: center; }
.header .btn.btn-sl { height: 47px; }

/* Mobile menu: CSS-only checkbox toggle (works without JavaScript) */
.nav-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; display: none; }
.menu-toggle { display: none; }

@media (max-width: 991.98px) {
  .header__inner { padding: 0 var(--gutter); }
  .nav-toggle { display: block; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0 0 0 12px;
    border: 1px solid currentColor; border-radius: 50%; color: var(--hdr-fg); cursor: pointer; font-size: 22px; opacity: .85;
  }
  .menu-toggle .bi-x-lg { display: none; font-size: 18px; }
  .nav-toggle:checked ~ .header__right .menu-toggle .bi-list { display: none; }
  .nav-toggle:checked ~ .header__right .menu-toggle .bi-x-lg { display: inline; }
  .nav-toggle:focus-visible ~ .header__right .menu-toggle { outline: 2px solid currentColor; outline-offset: 3px; }

  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100svh - var(--header-h)); overflow-y: auto;
    padding: 12px var(--gutter) 24px; background: #0b0b0b; color: var(--white);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .site-nav > a { padding: 10px 0; font-size: 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .site-nav > a::after { display: none; }
  .site-nav > a[aria-current="page"] { color: var(--red); }
  .site-nav__extra { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 18px; font-size: 14px; color: rgba(255,255,255,.7); }
  .nav-toggle:checked ~ .site-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s; }
  /* Menu open: dark bar, white logo and icons */
  .header:has(.nav-toggle:checked) { animation: none; --hdr-fg: #fff; --hdr-bg: #0b0b0b; --hdr-line: rgba(255,255,255,.12); --hdr-blur: 0px; }
}
@media (max-width: 600px) {
  .header .btn.btn-sl { display: none; }
  .logo svg { width: 132px; height: auto; }
}

/* ---------- Hero (Figma frame 1440 × 740; here it fills one screen) ---------- */
.hero { position: relative; height: 100svh; max-height: 900px; min-height: 640px; overflow: hidden; color: var(--white); background: #0d0d0b; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.hero.is-dragging { cursor: grabbing; }
.hero .btn { cursor: pointer; }
/* Carousel of two full cards; drag/swipe or arrows move both cards together (1.2 s power3.out) */
.hero__slide { position: absolute; inset: 0; transform: translateX(100%); visibility: hidden; will-change: transform; background: #0d0d0b center / cover no-repeat; }
.hero__slide.is-active { transform: none; visibility: visible; }
.hero__slide.is-moving { visibility: visible; }
/* Tiny blurred preview first, then the sharp photo + shading fade in together once decoded */
.hero__slide--plots { background-image: url(data:image/jpeg;base64,/9j//gAPTGF2YzYzLjEuMTAyAP/bAEMACAwMDgwOEBAQEBAQExITFBQUExMTExQUFBUVFRkZGRUVFRQUFRUYGBkZGxwbGhoZGhwcHh4eJCQiIioqKzMzPv/EAGIAAAEFAQAAAAAAAAAAAAAAAAUEBwMGAQIBAQEBAQAAAAAAAAAAAAAAAAEAAgMQAAICAQUBAQAAAAAAAAAAAAABAgNRBEESERMUUhEBAAMBAAAAAAAAAAAAAAAAABESEwH/wAARCAAgAEADASIAAhEAAxEA/9oADAMBAAIRAxEAPwBuFOIqjKJVFaxRG5lozVc4SjkJwnDJQ1dIWQva3DXpocGFla3CML6VuhtfpeTl6iWS26KHdhqqcoXx1dGUMl9U1uyVa2X6HZQpCZOpCE6TOcNCSsJlaCuzeQQ1Ix7HXqBuRvJhVSLeiI3YDu2Y+yqH/9k=); }
.hero__slide--industries { background-image: url(data:image/jpeg;base64,/9j//gAPTGF2YzYzLjEuMTAyAP/bAEMACAwMDgwOEBAQEBAQExITFBQUExMTExQUFBUVFRkZGRUVFRQUFRUYGBkZGxwbGhoZGhwcHh4eJCQiIioqKzMzPv/EAGoAAAICAwEAAAAAAAAAAAAAAAQGBQMBAAcBAQADAQEAAAAAAAAAAAAAAAIFBAADARAAAgEEAQQDAQAAAAAAAAAAAAECAwQREwUSIUExFCIRAAMBAQEAAAAAAAAAAAAAAAARAQIDEv/AABEIACAAQAMBIgACEQADEQD/2gAMAwEAAhEDEQA/APM0ERQCpBKqJFz0VUSMfRmX6QHGpcvUlYF2KZGrjaalGxLyxreCA4+rohi/qj9hztU6XLhQo2LkaSqxkBuskSGOrKWuaPH+tY5VmAGURLJBEj1mZVeQAbIJ6NePlaryGyzO4nxm0WbsxhrWa/k2eZ3FPdnbscqDYz//2Q==); }
.hero__slide .hero__bg, .hero__slide .hero__shade { opacity: 0; transition: opacity .6s ease; }
.hero__slide.is-ready .hero__bg, .hero__slide.is-ready .hero__shade { opacity: 1; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero__slide:first-child .hero__bg { animation: heroZoom 6s ease-out forwards; }
.hero__slide--industries .hero__bg { object-position: center bottom; }
@keyframes heroZoom { from { transform: scale(1.04); } to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* Opening rise-in of the first slide's text */
.hero:not(.is-loaded) .hero__slide:first-child .hero__content > * { opacity: 0; transform: translateY(80px); }
.hero__slide:first-child .hero__content > * { transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); }
.hero__slide:first-child .hero__rule { transition-delay: .06s; }
.hero__slide:first-child .hero__row { transition-delay: .12s; }
.hero__content { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 60px; }
.hero__title { font-size: clamp(42px, 5.56vw, 80px); line-height: 1.05; letter-spacing: -.005em; max-width: 900px; }
.hero__slide--industries .hero__title, .hero__slide--industries .hero__lede { max-width: 760px; }
.hero__rule { height: .7px; background: var(--rule); margin: 24px 0 30px; }
.hero__row { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.hero__lede { font-size: 22px; line-height: 28px; color: var(--muted); max-width: 460px; }
.hero__ctas { display: flex; gap: 20px; }
/* Slide arrows (Figma Group 81886): 44 px circles, 10% white + blur, 1.5 px #f5f2ed ring, 5 px apart */
.hero__arrows { position: absolute; z-index: 3; right: var(--gutter); bottom: 178px; display: flex; gap: 5px; }
.hero__arrow { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--cream); background: rgba(255,255,255,.1); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); color: var(--cream); cursor: pointer; transition: background-color .3s ease, color .3s ease; }
.hero__arrow svg { width: 17px; height: 17px; }
.hero__arrow:hover, .hero__arrow:focus-visible { background: var(--white); color: var(--ink); }
.hero__arrow:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

/* ==========================================================================
   Shared section typography
   ========================================================================== */
.section-label { font-size: 16px; line-height: 28px; }
.section-title { font-size: clamp(30px, 3.33vw, 48px); line-height: 1.2; }

/* ---------- About ---------- */
.about { background: linear-gradient(180deg, #fff 0%, var(--pink) 100%); padding: 121px var(--gutter) 122px; }
.about .section-label { margin-bottom: 16px; }
.about__title { font-size: clamp(32px, 3.33vw, 48px); line-height: 1.2; max-width: 600px; }
.about__body { font-size: 22px; line-height: 31.5px; max-width: 628px; margin-left: auto; }

/* ---------- Projects (stacked; each grows with its content, so nothing is clipped) ---------- */
.project { position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: #000; min-height: max(760px, 100svh); padding: 121px var(--gutter) 100px; }
.project__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.project__bg--palms { object-position: left center; filter: saturate(.72) brightness(.78) contrast(1.06); }
/* Figma shading: black column left, narrow column right */
.project__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.83) 8%, rgba(0,0,0,.78) 21%, rgba(0,0,0,.66) 33%, rgba(0,0,0,.5) 46%, rgba(0,0,0,.37) 58%, rgba(0,0,0,.34) 67%, rgba(0,0,0,.43) 79%, rgba(0,0,0,.59) 92%, rgba(0,0,0,.62) 100%); }
.project__content { max-width: 100%; }
.eyebrow { font-size: 12px; line-height: 1.4; text-transform: uppercase; letter-spacing: .02em; opacity: .9; }
.project__loc { font-size: 18px; margin-top: 40px; }
.project__name { font-size: clamp(40px, 3.89vw, 56px); line-height: .965; margin-top: 16px; }
.spec { width: 336px; max-width: 100%; border-top: .7px solid var(--rule); border-bottom: .7px solid var(--rule); margin-top: 23px; padding: 23px 0; }
.spec__label { font-size: 14px; }
.spec__value { font-size: 32px; margin-top: 9px; }
.rera, .nearby dl { display: grid; grid-template-columns: 83px minmax(0, 1fr); row-gap: 8px; font-size: 16px; line-height: 20px; }
.rera { margin-top: 17px; }
.rera dd { overflow-wrap: anywhere; }
.rera dt, .nearby dt { font-weight: 500; }
.nearby { margin-top: 20px; font-size: 16px; line-height: 20px; }
.nearby__label { margin-bottom: 10px; }
.project__ctas { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 51px; }
.project--upcoming .project__bg { filter: blur(10px); transform: scale(1.06); }
.project--upcoming::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0,0,0,.1); pointer-events: none; }
.project--upcoming .project__content { max-width: 760px; }
.project__teaser { font-size: 32px; line-height: 42px; margin-top: 16px; max-width: 602px; }

/* ---------- Ready to Own a Plot? (four steps on a centre line) ---------- */
.steps { background: var(--grey-bg); padding: 121px var(--gutter); }
.steps__head { text-align: center; }
.steps__title { margin-top: 22px; }
.steps__list { --row: 126px; position: relative; max-width: 930px; margin: 75px auto 0; padding: 0; list-style: none; }
.steps__list::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; margin-left: -.5px; background: var(--line); }
.step { position: relative; display: grid; grid-template-columns: 1fr 40px 1fr; column-gap: 119px; align-items: center; min-height: var(--row); padding: 16px 0; }
.step + .step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: .7px; background: var(--line); }
.step__name { font-size: clamp(24px, 2.22vw, 32px); line-height: 1.19; text-align: right; }
.step__dot { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; line-height: 1; color: var(--white); background: var(--red); border: 1px solid var(--red); transition: background-color .3s ease, color .3s ease; }
.step:hover .step__dot { background: var(--grey-bg); color: var(--red); }
.step__text { font-size: 16px; line-height: 23px; max-width: 315px; }

/* ==========================================================================
   Scroll animations for Projects and How It Works
   Ported from the reference build (website-live/css/style.css). Everything below only
   applies once js/sections.js adds a class; without it the sections above are the
   complete, static layout.
   ========================================================================== */

/* --- Projects: pinned stack, one gesture = one project, wipe 0.5 s power3.out --- */
.projects { position: relative; background: #000; }
.projects__indicator { display: none; }
.projects.is-pinned { height: calc(var(--count, 2) * 100vh); }
/* Pinned stages already pad their content below the fixed header, so in-page links land on the stage itself */
.projects.is-pinned, .steps.is-pinned { scroll-margin-top: calc(-1 * var(--header-h)); }
/* The stage is exactly one screen tall (the reference's min-height: 700px made it taller than laptop windows,
   pushing the CTAs below the screen and the top of the last project under the fixed header) */
.projects.is-pinned .projects__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.projects.is-pinned .project { position: absolute; inset: 0; min-height: 0; padding: 0; clip-path: inset(100% 0 0 0); transition: clip-path .5s cubic-bezier(.215,.61,.355,1); will-change: clip-path; }
.projects.is-pinned .project.is-open { clip-path: inset(0 0 0 0); }
.projects.is-pinned .project__content { position: relative; padding: clamp(80px, 16.3vh, 121px) var(--gutter) 0; opacity: 0; transform: translateY(80px); transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); }
.projects.is-pinned.in-view .project.is-current .project__content { opacity: 1; transform: none; }
.projects.is-pinned .project .reveal { opacity: 1; transform: none; transition: none; }
.projects.no-anim .project, .projects.no-anim .project__content { transition: none !important; }
/* Short desktop windows (≤ 760 px tall): only the vertical gaps shrink with the window height so the
   whole project fits; font sizes and the layout stay as designed. Taller screens are untouched. */
@media (min-width: 961px) and (max-height: 760px) {
  .projects.is-pinned .project__content { padding-top: max(96px, 13.5vh); }
  .projects.is-pinned .project__loc { margin-top: 3vh; }
  .projects.is-pinned .project__name, .projects.is-pinned .project__teaser { margin-top: 1.6vh; }
  .projects.is-pinned .spec { margin-top: 2.4vh; padding: 2.4vh 0; }
  .projects.is-pinned .spec__value { margin-top: 1vh; }
  .projects.is-pinned .rera { margin-top: 1.8vh; }
  .projects.is-pinned .nearby { margin-top: 2vh; }
  .projects.is-pinned .nearby__label { margin-bottom: 1vh; }
  .projects.is-pinned .project__ctas { margin-top: 4vh; }
}
@media (min-width: 961px) and (max-height: 620px) {
  .projects.is-pinned .project__content { padding-top: 80px; }
  .projects.is-pinned .project__loc { margin-top: 2vh; }
  .projects.is-pinned .rera, .projects.is-pinned .nearby dl { row-gap: 4px; }
  .projects.is-pinned .project__ctas { margin-top: 2.6vh; }
}
/* Vertical progress indicator on the right */
.projects.is-pinned .projects__indicator { display: block; position: absolute; z-index: 5; right: var(--gutter); top: clamp(137px, calc(16.3vh + 57px), 178px); width: 1.5px; height: 100px; background: #747c89; }
.projects__indicator span { position: absolute; left: 0; right: 0; top: 0; height: calc(100% / var(--count, 2)); background: var(--white); transition: top .5s ease-out; border-radius: 2px; }

/* --- How It Works: pinned 4-step timeline; each step fills in turn, the red bar follows --- */
.steps.is-live .step__dot { color: var(--red); background: var(--grey-bg); border-color: rgba(255,51,51,.6); transition: background-color .3s ease, color .3s ease, border-color .3s ease; }
.steps.is-live .step.is-done .step__dot { color: var(--white); background: var(--red); border-color: var(--red); }
.steps.is-live .step:hover .step__dot { color: var(--red); background: var(--grey-bg); }
.steps.is-live .step.is-done:hover .step__dot { color: var(--white); background: var(--red); }
.steps.is-live .steps__list::after { content: ""; position: absolute; left: 50%; top: 0; width: 1px; margin-left: -.5px; background: var(--red); height: var(--rowh, 110px); transform: translateY(var(--y, 0px)); transition: transform .45s cubic-bezier(.23,1,.32,1), height .45s cubic-bezier(.23,1,.32,1), opacity .3s ease; }
.steps.is-live .steps__list.is-waiting::after { opacity: 0; }
.steps.is-pinned { height: 280vh; height: 280svh; padding: 0; }
.steps.is-pinned .steps__stage { position: sticky; top: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: clamp(96px, 12vh, 121px) var(--gutter) clamp(48px, 9vh, 112px); }
.steps.is-pinned .steps__list { --row: clamp(96px, 13.7vh, 126px); margin-top: clamp(48px, 8.2vh, 75px); }
.steps.is-pinned .step { padding: 0; }
.steps.is-pinned .steps__list::after { height: var(--row); transform: translateY(calc(var(--i, 0) * var(--row))); transition: transform .45s cubic-bezier(.23,1,.32,1); }
@media (max-width: 767.98px) {
  /* Stacked layout (rows differ in height): the bar follows the measured row instead of --row */
  .steps.is-pinned .steps__stage { padding-top: 92px; padding-bottom: 24px; }
  .steps.is-pinned .steps__list { --row: auto; margin-top: 28px; }
  .steps.is-pinned .step { padding: 16px 0; }
  .steps.is-pinned .steps__list::after { left: 20px; height: var(--rowh, 110px); transform: translateY(var(--y, 0px)); transition: transform .45s cubic-bezier(.23,1,.32,1), height .45s cubic-bezier(.23,1,.32,1); }
}
@media (max-width: 767.98px) and (max-height: 700px) {
  /* Short phones (e.g. 375 × 667): tighter vertical gaps so the whole pinned timeline fits the screen */
  .steps.is-pinned .steps__stage { padding-top: 80px; padding-bottom: 12px; }
  .steps.is-pinned .steps__title { margin-top: 12px; }
  .steps.is-pinned .steps__list { margin-top: 16px; }
  .steps.is-pinned .step { padding: 10px 0; }
}

/* --- Fade-up reveal (only once js/sections.js has marked the page, so text is never hidden without JS) --- */
.sl-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.sl-reveal .reveal.is-in { opacity: 1; transform: none; }
.sl-reveal .reveal.d1 { transition-delay: .1s; } .sl-reveal .reveal.d2 { transition-delay: .2s; } .sl-reveal .reveal.d3 { transition-delay: .3s; }
.sl-reveal .projects.is-pinned .project .reveal { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) { .sl-reveal .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Why SAN Landmark (static: photo, 55% dark layer, title, four reasons) ---------- */
/* Scroll-scrubbed scene, ported from the reference: clouds part, the aerial photo zooms in, the title lifts,
   blurs and grows away, then the four reasons fade in (driven by js/sections.js). */
.why { position: relative; height: 275vh; height: 275svh; background: #0b0b0b; color: var(--white); }
.why__stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.why__intro, .why__zoom, .why__dark, .why__gradients, .why__clouds { position: absolute; inset: 0; }
.why__zoom { will-change: transform; }
.why__zoom img { width: 100%; height: 100%; object-fit: cover; display: block; }
.why__dark { background: #000; opacity: .55; }
.why__gradients { background: linear-gradient(180deg, rgba(0,0,0,.3) 0, transparent 20%, transparent 80%, rgba(0,0,0,.2)); pointer-events: none; }
.why__clouds { overflow: hidden; pointer-events: none; opacity: .3; filter: brightness(.8); }
.why__cloud { position: absolute; width: 100%; max-width: none; height: auto; will-change: transform, opacity; }
.why__cloud--1 { right: -20%; top: -15%; transform-origin: left center; }
.why__cloud--2 { left: -20%; bottom: -25%; transform-origin: right center; }
.why__title { position: absolute; z-index: 2; left: 0; right: 0; top: 121px; padding: 0 var(--gutter); text-align: center; transform-origin: 50% 100%; will-change: transform, opacity, filter; }
.why__label { font-size: 16px; line-height: 28px; }
.why__heading { font-size: clamp(28px, 3.33vw, 48px); line-height: 1.2; margin-top: 22px; }
.why__points { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-columns: repeat(2, 410px); justify-content: center; align-content: center; column-gap: 250px; row-gap: 29px; padding: 0 var(--gutter); text-align: center; opacity: 0; }
.why__point h3 { font-size: 22px; line-height: 20px; font-weight: 500; }
.why__point p { font-size: 16px; line-height: 23px; margin-top: 13px; }
.why__mark { display: flex; align-items: center; margin-top: 29px; }
.why__mark::before, .why__mark::after { content: ""; flex: 1; height: .7px; background: var(--white); }
.why__mark i { box-sizing: border-box; width: 24px; height: 24px; border: .7px solid var(--white); border-radius: 50%; flex: 0 0 auto; }
/* Reduced motion / no JS: the same content as a static block */
.why:not(.is-scrub) { height: auto; }
.why:not(.is-scrub) .why__stage { position: relative; height: auto; min-height: 0; }
.why:not(.is-scrub) .why__clouds, .why:not(.is-scrub) .why__gradients { display: none; }
.why:not(.is-scrub) .why__title { position: relative; top: auto; padding-top: 121px; }
.why:not(.is-scrub) .why__points { position: relative; opacity: 1; padding-top: 100px; padding-bottom: 121px; }
@media (max-width: 1100px) {
  .why__points { grid-template-columns: repeat(2, minmax(0, 410px)); column-gap: 80px; row-gap: 90px; }
}
@media (max-width: 700px) {
  .why__title { top: 104px; }
  .why__heading br { display: none; }
  .why__cloud { width: 350%; }
  .why__cloud--1 { right: -150%; top: -12.5%; }
  .why__cloud--2 { left: -35%; bottom: -15%; }
  .why__points { grid-template-columns: 1fr; row-gap: 26px; padding-top: 79px; }
  .why__point h3 { font-size: 19px; }
  .why__point p { font-size: 14px; line-height: 19px; margin-top: 10px; }
  .why__mark { margin-top: 14px; }
  .why__mark i { width: 18px; height: 18px; }
}

/* ---------- FAQ: native <details>, one open at a time (name="faq") ---------- */
.faq { background: var(--white); padding: 121px var(--gutter); }
.faq__head { max-width: 1095px; margin: 0 auto 76px; text-align: center; }
.faq__title { margin-top: 16px; }
.faq__list { max-width: 1095px; margin: 0 auto; }
.faq__item { border-bottom: .7px solid var(--line); padding-bottom: 23px; }
.faq__item + .faq__item { margin-top: 23px; }
.faq__q { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; font-size: 18px; line-height: 22px; font-weight: 500; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.faq__q .bi { flex: 0 0 auto; font-size: 16px; line-height: 22px; transition: transform .35s ease; }
.faq__item[open] .faq__q .bi { transform: rotate(180deg); }
.faq__a p { max-width: 982px; padding-top: 13px; font-size: 16px; line-height: 28px; color: var(--text-2); }
@supports selector(::details-content) {
  .faq__item::details-content { block-size: 0; overflow: clip; transition: block-size .4s ease, content-visibility .4s allow-discrete; }
  .faq__item[open]::details-content { block-size: auto; }
}

/* ---------- Book a site visit ---------- */
.enquire { background: var(--cream); padding: 121px var(--gutter) 87px; }
.enquire__title { margin-top: 16px; }
.enquire__note { font-size: 14px; line-height: 20px; color: var(--text-2); margin-top: 24px; max-width: 460px; }
.enquire__note a { text-decoration: underline; }
.enquire__form { --bs-gutter-x: 40px; --bs-gutter-y: 25px; }
.field { position: relative; display: block; border-bottom: .7px solid var(--line); height: 41px; margin: 0; }
.field input, .field select { position: absolute; inset: 0; width: 100%; border: 0; background: transparent; font: inherit; font-size: 16px; line-height: 28px; color: var(--ink); padding: 0 0 13px; outline: none; appearance: none; -webkit-appearance: none; border-radius: 0; }
.field select { cursor: pointer; padding-right: 24px; }
.field__label { position: absolute; left: 0; top: 0; font-size: 16px; line-height: 28px; color: var(--ink); pointer-events: none; transform-origin: left top; transition: transform .25s ease, color .25s ease; }
.field__label b { font-weight: 400; color: var(--red); }
/* Floating label: moves up and shrinks once the field has a value or focus */
.field input:focus + .field__label, .field input:not(:placeholder-shown) + .field__label,
.field select:focus + .field__label, .field select:valid + .field__label { transform: translateY(-18px) scale(.75); color: #6b6b6b; }
.field:focus-within { border-bottom-color: var(--ink); }
.field .bi { position: absolute; right: 2px; top: 4px; font-size: 13px; pointer-events: none; }
/* Native validation states (shown only after the visitor has interacted) */
.field:has(:user-invalid) { border-bottom-color: var(--red); }
.field:has(:user-invalid) .field__label { color: var(--red); }
.field__error { display: none; position: absolute; left: 0; top: calc(100% + 4px); font-size: 12px; color: var(--red); }
.field:has(:user-invalid) .field__error { display: block; }
/* Make room for the message so it never collides with the next field's raised label */
.field:has(:user-invalid) { margin-bottom: 22px; }
.field__error { line-height: 16px; }
.agree { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 18px; cursor: pointer; margin-top: 4px; }
.agree input { position: absolute; opacity: 0; width: 18px; height: 18px; margin: 0; }
.agree__box { flex: 0 0 auto; width: 18px; height: 18px; border: 1.4px solid var(--ink); border-radius: 4px; display: grid; place-items: center; color: var(--white); font-size: 14px; transition: background-color .2s ease; }
.agree__box .bi { opacity: 0; }
.agree input:checked + .agree__box { background: var(--ink); }
.agree input:checked + .agree__box .bi { opacity: 1; }
.agree input:focus-visible + .agree__box { outline: 2px solid var(--red); outline-offset: 2px; }
.agree input:user-invalid + .agree__box { border-color: var(--red); }
.agree:has(input:user-invalid) { color: var(--red); }
.agree a { text-decoration: underline; }
.enquire__submit.btn.btn-sl { width: 100%; box-shadow: none; }
.enquire__submit.btn.btn-sl:focus-visible { outline-color: var(--ink); }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.footer { background: var(--cream); padding: 0 var(--gutter) 20px; }
.footer__top { border-top: .7px solid var(--line); padding: 112px 0 119px; }
.footer__logo svg { display: block; width: 227px; height: 55px; max-width: 100%; }
.footer__logo svg path:nth-of-type(n+5) { fill: var(--ink); }
.footer__tag { font-size: 18px; line-height: 24px; max-width: 380px; margin-top: 25px; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; font-size: 16px; line-height: 19px; }
.footer__head { font-size: 18px; line-height: 22px; margin-bottom: 4px; font-weight: 500; }
.footer__col a, .footer__legal a { transition: color .2s ease; overflow-wrap: anywhere; }
.footer__col a:hover, .footer__col a:focus-visible, .footer__legal a:hover, .footer__legal a:focus-visible, .footer a[aria-current="page"] { color: var(--red); }
.footer__bottom { border-top: .7px solid var(--line); padding-top: 20px; font-size: 14px; line-height: 17px; }
.footer__bottom p { /* margin: 0;  */}
.footer__legal { display: flex; flex-wrap: wrap; gap: 12px 90px; }
.page-main + .footer .footer__top { border-top: 0; }
.page-main:has(> .enquire:last-child, > .section--cream:last-child) + .footer .footer__top { border-top: .7px solid var(--line); }   /* cream form above cream footer */

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-main { padding-top: var(--header-h); }
.page-hero { background: linear-gradient(180deg, #fff 0%, var(--pink) 100%); padding: 96px var(--gutter) 72px; }
.page-hero__title { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.1; margin-top: 12px; }
.page-hero__meta { margin-top: 20px; font-size: 15px; color: var(--text-2); }
.legal { padding: 80px var(--gutter) 80px; }
.legal__toc { font-size: 15px; line-height: 20px; }
@media (min-width: 992px) { .legal__toc { position: sticky; top: calc(var(--header-h) + 32px); } }
.legal__toc p { font-weight: 500; margin-bottom: 14px; }
.legal__toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; border-left: .7px solid var(--line); }
.legal__toc a { display: block; padding-left: 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--text-2); transition: color .2s, border-color .2s; }
.legal__toc a:hover, .legal__toc a:focus-visible { color: var(--ink); border-left-color: var(--red); }
.legal__body { max-width: 820px; font-size: 17px; line-height: 28px; color: #1d1d1d; }
.legal__body section + section { margin-top: 56px; }
.legal__body h2 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.25; color: var(--ink); margin-bottom: 18px; }
.legal__body h2 span { color: var(--red); margin-right: 10px; }
.legal__body p + p, .legal__body p + ul, .legal__body ul + p { margin-top: 14px; }
.legal__body ul { padding-left: 1.2em; margin: 0; }
.legal__body li + li { margin-top: 8px; }
.legal__body li::marker { color: var(--red); }
.legal__body a { text-decoration: underline; text-underline-offset: 3px; }
.legal__body a:hover { color: var(--red); }
.legal__contact { display: grid; gap: 10px; margin-top: 18px; padding: 24px 28px; background: var(--cream); border-radius: 12px; }
.legal__contact a { text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
/* Items the company must confirm before publishing */
.confirm { background: #fff4d6; color: #6b4a00; padding: 1px 6px; border-radius: 4px; font-size: .92em; }
.draft-note { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; margin-bottom: 48px; background: #fff8e6; border: 1px solid #f2d48a; border-radius: 12px; font-size: 16px; line-height: 23px; color: #4d3a00; }
.draft-note .bi { font-size: 20px; color: #c08a00; line-height: 23px; }

/* Thank-you */
.thanks { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: calc(var(--header-h) + 56px) var(--gutter) 64px; color: var(--white); text-align: center; background: #0d0d0b; }
.thanks__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.thanks::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.7)); }
.thanks__inner { max-width: 720px; }
.thanks__icon { width: 96px; height: 96px; margin: 0 auto 32px; display: grid; place-items: center; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 10px rgba(255,51,51,.18), 0 0 40px rgba(255,51,51,.35); font-size: 46px; color: var(--white); }
.thanks__title { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.08; }
.thanks__text { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; color: var(--muted); margin: 22px auto 0; max-width: 600px; }
.thanks__contact { margin-top: 26px; font-size: 16px; line-height: 24px; color: var(--muted); }
.thanks__contact a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.thanks__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 40px; }
/* Career applications return to thank-you.html#career: the career wording replaces the site-visit wording (pure CSS, :target) */
.thanks__msg--career { display: none; }
.thanks:target .thanks__msg--default { display: none; }
.thanks:target .thanks__msg--career { display: block; }

/* ==========================================================================
   Multi-page components (About, Projects, Careers, Contact, Blog)
   All static: nothing here animates visibility, so every word is readable without JavaScript.
   ========================================================================== */
/* Current page in the main menu (desktop: the red underline stays; the mobile menu colours it red) */
@media (min-width: 992px) { .site-nav > a[aria-current="page"]::after { transform: scaleX(1); } }
.footer__col span { display: inline-flex; align-items: center; }

.page-hero__lead { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; color: var(--text-2); max-width: 760px; margin-top: 22px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; font-size: 15px; transition: color .2s ease; }
.back-link:hover, .back-link:focus-visible { color: var(--red); }

.section { padding: 121px var(--gutter); }
.section--cream { background: var(--cream); }
.section--grey { background: var(--grey-bg); }
.section__head { max-width: 780px; margin-bottom: 56px; }
.section__head .section-title { margin-top: 16px; }
.section__head p:not(.section-label) { font-size: 18px; line-height: 27px; color: var(--text-2); margin-top: 18px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section .draft-note { max-width: 980px; }

/* Key facts strip (About) */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 72px; border-top: .7px solid var(--line); }
.fact { padding: 32px 32px 0 0; }
.fact + .fact { padding-left: 32px; border-left: .7px solid var(--line); }
.fact__value { font-size: clamp(30px, 3.33vw, 48px); line-height: 1.1; }
.fact__label { font-size: 16px; line-height: 23px; color: var(--text-2); margin-top: 12px; max-width: 320px; }

/* Cards (values, verification links, openings) */
.card-sl { height: 100%; background: var(--white); border: .7px solid var(--line); border-radius: 16px; padding: 36px 32px; }
.card-sl__icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 50%; background: var(--pink); color: var(--red); font-size: 22px; }
.card-sl h3, .card-sl h4 { font-size: clamp(22px, 1.8vw, 26px); line-height: 1.2; font-weight: 400; margin: 0; }
.card-sl p { font-size: 16px; line-height: 24px; color: var(--text-2); margin-top: 12px; }
.card-sl--lead p { font-size: 20px; line-height: 30px; color: var(--ink); }
.card-sl a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
.card-sl a:not(.btn):hover { color: var(--red); }
.badge-confirm { display: inline-block; vertical-align: middle; margin-left: 10px; font-size: 13px; line-height: 1; padding: 6px 10px; border-radius: 100px; background: #fff4d6; color: #6b4a00; letter-spacing: .01em; }

/* Dark photo band with a call to action */
.cta-band { position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: #0b0b0b; padding: 110px var(--gutter); text-align: center; }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.6), rgba(0,0,0,.72)); }
.cta-band__title { font-size: clamp(30px, 3.33vw, 48px); line-height: 1.2; max-width: 860px; margin: 18px auto 0; }
.cta-band__text { font-size: 18px; line-height: 27px; color: var(--muted); max-width: 640px; margin: 20px auto 0; }
.cta-band__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 38px; }
.cta-band--left { text-align: left; }
.cta-band--left .cta-band__title, .cta-band--left .cta-band__text { margin-left: 0; }
.cta-band--left .cta-band__ctas { justify-content: flex-start; }
.cta-band--left::before { background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.35) 100%); }

/* Projects page: the panels keep the home page design, stacked */
.projects-list .project:first-of-type { min-height: max(760px, calc(100svh - var(--header-h))); }

/* Contact details list */
.contact-list { margin-top: 40px; border-bottom: .7px solid var(--line); }
.contact-item { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; border-top: .7px solid var(--line); }
.contact-item > .bi { flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--red); font-size: 19px; }
.contact-item__label { font-size: 14px; line-height: 18px; color: var(--text-2); }
.contact-item__value { display: inline-block; font-size: 20px; line-height: 1.35; margin-top: 4px; overflow-wrap: anywhere; }
a.contact-item__value { transition: color .2s ease; }
a.contact-item__value:hover, a.contact-item__value:focus-visible { color: var(--red); }
.contact-item__note { font-size: 15px; line-height: 22px; color: var(--text-2); margin-top: 6px; }

/* Openings (Careers) */
.jobs-empty { max-width: 980px; padding: 48px 40px; border: 1px dashed var(--line); border-radius: 16px; background: var(--white); text-align: center;margin: 0 auto; }
.jobs-empty .card-sl__icon { margin: 0 auto 22px; }
.jobs-empty h3 { font-size: clamp(22px, 1.8vw, 26px); line-height: 1.25; }
.jobs-empty p { font-size: 16px; line-height: 24px; color: var(--text-2); max-width: 600px; margin: 12px auto 0; }
.jobs-empty .btn { margin-top: 28px; }

/* Blog cards */
.post-card { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--white); border: .7px solid var(--line); border-radius: 16px; transition: box-shadow .3s ease, transform .3s ease; }
.post-card:hover, .post-card:focus-within { box-shadow: 0 18px 40px rgba(0,0,0,.08); transform: translateY(-4px); }
.post-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--grey-bg); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 28px 28px 30px; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; line-height: 18px; color: var(--text-2); }
.post-card__meta .tag { color: var(--red); }
.post-card__title { font-size: clamp(22px, 1.7vw, 25px); line-height: 1.25; margin-top: 14px; }
.post-card__title a:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }   /* whole card is clickable */
.post-card__excerpt { font-size: 16px; line-height: 24px; color: var(--text-2); margin-top: 12px; }
.post-card__more { position: relative; z-index: 2; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 24px; font-size: 15px; font-weight: 500; color: var(--red); }

/* Blog article */
.article-hero { background: linear-gradient(180deg, #fff 0%, var(--pink) 100%); padding: 80px var(--gutter) 64px; }
.article-hero__inner { max-width: 860px; margin: 0 auto; }
.article-hero .page-hero__title { font-size: clamp(34px, 3.9vw, 56px); }
.article-hero .post-card__meta { margin-top: 22px; font-size: 15px; }
.article__figure { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); transform: translateY(-1px); }
.article__figure img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 20px; }
.article__figure figcaption { font-size: 14px; line-height: 20px; color: var(--text-2); margin-top: 12px; }
.article { padding: 64px var(--gutter) 110px; }
.article .legal__body { margin: 0 auto; }
.legal__body h3 { font-size: 21px; line-height: 1.3; font-weight: 500; color: var(--ink); margin: 30px 0 10px; }
.legal__body h2 + h3 { margin-top: 0; }
.legal__body ol { padding-left: 1.3em; margin: 14px 0 0; }
.legal__body ol li + li { margin-top: 8px; }
.legal__body ol li::marker { color: var(--red); }
.legal__body p + ol { margin-top: 14px; }
.legal__body p + h3, .legal__body ul + h3, .legal__body ol + h3 { margin-top: 30px; }
.article .legal__body section + section, .article .legal__body > p + section { margin-top: 48px; }
.callout { margin-top: 48px; padding: 32px; border-radius: 16px; background: var(--cream); }
.callout h2 { margin-bottom: 10px; }
.callout .btn { margin-top: 22px; }
.callout a.btn { text-decoration: none; }
.disclaimer { margin-top: 32px; font-size: 14px; line-height: 21px; color: var(--text-2); }
.article__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; max-width: 820px; margin: 48px auto 0; padding-top: 24px; border-top: .7px solid var(--line); }

@media (max-width: 991.98px) {
  .section { padding-top: 80px; padding-bottom: 80px; }
  .section__head { margin-bottom: 40px; }
  .cta-band { padding: 80px var(--gutter); }
  .projects-list .project:first-of-type { min-height: calc(100svh - var(--header-h)); }
}
@media (max-width: 767.98px) {
  .facts { grid-template-columns: minmax(0, 1fr); margin-top: 48px; }
  .fact { padding: 24px 0; }
  .fact + .fact { padding-left: 0; border-left: 0; border-top: .7px solid var(--line); }
  .card-sl { padding: 28px 24px; }
  .jobs-empty { padding: 36px 22px; }
  .article-hero { padding: 56px var(--gutter) 48px; }
  .article__figure img { aspect-ratio: 16 / 9; border-radius: 14px; }
  .article { padding-top: 44px; padding-bottom: 80px; }
  .callout { padding: 24px 20px; }
}
@media (max-width: 600px) {
  .cta-band__ctas { flex-direction: column; align-items: stretch; }
  .cta-band__ctas .btn.btn-sl-lg { height: 54px; --bs-btn-font-size: 18px; }
  .callout .btn, .jobs-empty .btn { width: 100%; }
  .contact-item__value { font-size: 18px; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199.98px) {
  .site-nav { gap: 0px; }
  .step { column-gap: 12px; }
}
@media (max-width: 991.98px) {
  .hero__row { flex-direction: column; align-items: flex-start; }
  .hero__arrows { top: calc(var(--header-h) + 20px); bottom: auto; }
  .about, .steps, .faq { padding-top: 80px; padding-bottom: 80px; }
  .enquire { padding-top: 80px; }
  .about__body { margin-left: 0; }
  .project { padding-top: 112px; padding-bottom: 80px; min-height: 0; }
  .project:first-of-type { min-height: 100svh; }
  .footer__top { padding: 64px 0; }
  .legal { padding-top: 56px; }
}
@media (max-width: 767.98px) {
  .hero__title br, .hero__lede br, .why__heading br { display: none; }
  /* Steps: line and dots on the left, title and text stacked on the right */
  .steps__list { margin-top: 36px; }
  .steps__list::before, .steps.is-live .steps__list::after { left: 20px; }
  .step { grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 20px; row-gap: 6px; min-height: 0; padding: 18px 0; }
  .step__dot { grid-row: 1 / span 2; grid-column: 1; align-self: center; }
  .step__name { grid-column: 2; text-align: left; font-size: 22px; }
  .step__text { grid-column: 2; font-size: 15px; line-height: 21px; max-width: none; }
  .step + .step::before { left: 60px; }
  .page-hero { padding: 64px var(--gutter) 48px; }
}
@media (max-width: 600px) {
  .hero { min-height: 620px; }
  .hero__content { bottom: 36px; }
  .hero__lede { font-size: 18px; line-height: 25px; }
  .hero__ctas { flex-direction: column; width: 100%; gap: 12px; }
  .hero__ctas .btn.btn-sl-lg { width: 100%; height: 54px; --bs-btn-font-size: 18px; }
  .about__body { font-size: 18px; line-height: 27px; }
  .spec { width: 100%; }
  .project__teaser { font-size: 24px; line-height: 32px; }
  .project__ctas { flex-direction: column; align-items: stretch; }
  .project::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.6), rgba(0,0,0,.25)); pointer-events: none; }
  .faq__q { font-size: 17px; }
  .faq__a p { font-size: 15px; }
  .footer__logo svg { width: 180px; height: auto; }
  .footer__legal { gap: 12px 32px; }
  .legal__body { font-size: 16px; line-height: 26px; }
  .legal__contact { padding: 20px; }
  .thanks__ctas .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__track { scroll-behavior: auto; }
  .hero__slide:first-child .hero__bg { animation: none; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

.btn {
    box-shadow: none !important;
    outline: none !important;
    transition:
        background-color 0.7s ease-in-out,
        color 0.7s ease-in-out,
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.7s ease-in-out !important;
    will-change: transform, background-color;
}

.btn:hover,
.btn:focus-visible {
    background-color: #ff3333 !important;
    color: #fff !important;
    transform: translate3d(0, -3px, 0);
    box-shadow: 0 6px 20px rgba(255, 51, 51, 0.2) !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  /* Delays the background color change for ~57 days */
  transition: background-color 5000000s ease-in-out 0s;
  /* Set your text color so it stays visible against your background */
  -webkit-text-fill-color: var(--ink) !important; 
  /* Optional: keeps the blinking cursor visible */
  caret-color: var(--ink);
}


.thankyou-page__inner {
    width: 100%;
    max-width: 850px;
    margin: auto;
    padding: 65px 45px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

.thankyou-page__icon {
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    background: #fff0f0;
    border-radius: 50%;
    color: #ff3333;
}

.thankyou-page__icon svg {
    width: 36px;
    height: 36px;
}

.thankyou-page__label {
    color: #fff;
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.thankyou-page__title {
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.12;
    letter-spacing: -2px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 28px;
}

.thankyou-page__title span {
    color: #ff3333;
}

.thankyou-page__rule {
    width: 55px;
    height: 2px;
    background: #ff3333;
    margin: 0 auto 28px;
}

.thankyou-page__text {
    max-width: 580px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.thankyou-page__message {
    max-width: 480px;
    margin: 35px auto 0;
    padding: 22px 28px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.thankyou-page__message h3 {
    font-size: 17px;
    margin-bottom: 10px;
     color: #fff;
}

.thankyou-page__message p {
    font-size: 14px;
    line-height: 1.7;
     color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.thankyou-page__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 35px;
}

@media (max-width: 575px) {
	
	 .thankyou-page__inner {
        padding: 45px 22px;
    }

    .thankyou-page__title {
        font-size: 39px;
        letter-spacing: -1px;
    }

    .thankyou-page__text {
        font-size: 15px;
    }

    .thankyou-page__actions {
        flex-direction: column;
    }

    .thankyou-page__actions .btn {
        width: 100%;
    }

}
