/* ==========================================================================
   GRIDLINE — Architecture + Construction
   Design tokens: blueprint navy / steel / safety orange / cool paper
   Type: Manrope (display) · Plus Jakarta Sans (body and labels)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root{
  /* Palette (user provided)
     Obsidian  - #0B0B0B -> navbar, hero, footer
     Graphite  - #1A1A1A -> sections/cards
     Concrete  - #777777 -> secondary text
     Warm White- #F5F3EE -> main backgrounds (paper)
     Sand      - #D8D0C2 -> secondary backgrounds
     Bronze    - #B08D57 -> buttons, highlights
  */
  --obsidian: #0B0B0B;
  --obsidian-rgb: 11,11,11;
  --graphite: #1A1A1A;
  --graphite-rgb: 26,26,26;
  --concrete: #777777;
  --warm-white: #F5F3EE;
  --sand: #D8D0C2;
  --brand-green: #A9A92B;
  --brand-green-light: #C2C24A;
  --brand-green-dark: #566316;
  --bronze: var(--brand-green);
  /* Additional palette (user requested) */
  --black-0a: #0A0A0A;    /* Black */
  --graphite-222: #222222; /* Graphite (alternate) */
  --steel-1: #D9D9D9;     /* Steel */
  --off-white: #F4F4F2;   /* Off-white */
  --copper: #C68A4A;      /* Copper */

  /* mapped tokens (keeps existing variable names used across CSS) */
  --bg: var(--warm-white);
  --fg: var(--obsidian);
  --muted: var(--concrete);
  --navy: var(--obsidian);
  --navy-2: var(--obsidian);
  --navy-3: var(--graphite);
  --steel: #BDBDBD;
  --steel-dim: #9A9A9A;
  --line: rgba(11,11,11,0.06);
  --line-strong: rgba(11,11,11,0.12);
  --orange: var(--bronze);
  --orange-2: var(--brand-green-light);
  --paper: var(--warm-white);
  --paper-2: var(--sand);
  --charcoal: var(--obsidian);
  --ink-soft: #9A9A9A;
  /* hero charcoal requested by user */
  --hero-charcoal: #1C1C1C;

  /* type */
  --font-display: 'Manrope', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --font-mono:    'Plus Jakarta Sans', sans-serif;
  
  /* font weights */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;

  /* layout */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 2px;
  --ease: cubic-bezier(.22,.68,0,1);
}

/* ---------- reset ---------- */
*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scrollbar-width:thin; scrollbar-color:var(--brand-green) #dedbd3; }
/* Keep the site scrollbar consistent with the Privacy Policy panel. */
*{ scrollbar-width:thin; scrollbar-color:var(--brand-green) #dedbd3; }
*::-webkit-scrollbar{ width:8px; height:8px; }
*::-webkit-scrollbar-track{ background:#dedbd3; }
*::-webkit-scrollbar-thumb{ background:var(--brand-green); border-radius:4px; }
*::-webkit-scrollbar-thumb:hover{ background:var(--brand-green-dark); }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *,*::before,*::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* Page loader: a restrained logo, progress bar and soft exit. */
.page-welcome-overlay{ position:fixed; inset:0; z-index:20000; display:grid; place-items:center; overflow:hidden; background:#f7f8fa; color:var(--obsidian); transition:opacity .45s ease,visibility .45s ease; }
.page-welcome-overlay::before,.page-welcome-overlay::after{ content:""; position:absolute; inset:0 auto 0 0; width:50.1%; background:var(--paper); transform:translateX(0); transition:transform .75s cubic-bezier(.76,0,.24,1); }
.page-welcome-overlay::after{ right:0; left:auto; }
.page-welcome-overlay__inner{ position:relative; z-index:1; width:min(320px,calc(100vw - 48px)); text-align:center; }
.page-welcome-overlay__logo{ display:block; width:min(186px,62vw); height:76px; margin:0 auto 18px; object-fit:contain; opacity:0; transform:translateY(12px); transition:opacity .55s ease .1s,transform .7s cubic-bezier(.22,1,.36,1) .1s; }
.page-welcome-overlay__brand{ display:block; opacity:0; transform:translateY(9px); font-family:var(--font-display); font-size:.8rem; font-weight:700; letter-spacing:.17em; transition:opacity .45s ease .24s,transform .55s cubic-bezier(.22,1,.36,1) .24s; }
.page-welcome-overlay__line{ display:block; height:2px; margin-top:24px; overflow:hidden; background:rgba(11,11,11,.13); }
.page-welcome-overlay__line span{ display:block; width:100%; height:100%; background:var(--brand-green); transform:scaleX(0); transform-origin:left; transition:transform 1.25s cubic-bezier(.55,0,.2,1) .34s; }
.page-welcome-overlay__label{ display:block; margin-top:12px; opacity:0; color:rgba(11,11,11,.5); font-family:var(--font-mono); font-size:.61rem; letter-spacing:.12em; text-transform:uppercase; transform:translateY(6px); transition:opacity .4s ease .68s,transform .45s cubic-bezier(.22,1,.36,1) .68s; }
.page-welcome-overlay.is-playing .page-welcome-overlay__logo,.page-welcome-overlay.is-playing .page-welcome-overlay__brand,.page-welcome-overlay.is-playing .page-welcome-overlay__label{ opacity:1; transform:translateY(0); }
.page-welcome-overlay.is-playing .page-welcome-overlay__line span{ transform:scaleX(1); }
.page-welcome-overlay.is-leaving{ opacity:0; visibility:hidden; }
.page-welcome-overlay.is-leaving::before{ transform:translateX(-100%); }.page-welcome-overlay.is-leaving::after{ transform:translateX(100%); }
body{ margin:0; overflow-x:hidden; }
img{ max-width:100%; display:block; }
video, iframe{ max-width:100%; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font:inherit; }
h1,h2,h3,h4,p{ margin:0; }

body{
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

:focus-visible{
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.container{
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before{
  content:"";
  width: 22px; height: 1px;
  background: var(--orange);
  display:inline-block;
}
.eyebrow.on-dark{ color: var(--paper); }
.eyebrow.on-dark::before{ background: var(--paper); }

h1,h2,h3{ font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }
h1 em, h2 em, h3 em{ color: var(--brand-green) !important; font-style: normal; }
h1 em{ -webkit-text-stroke: 0 !important; }
.hero .hero-heading{ color: var(--paper) !important; }
.hero .hero-heading em{ color: var(--brand-green) !important; }

.section-title{
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.05;
  margin-top: 14px;
}

.section-lede{
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-top: 18px;
  line-height: 1.65;
}

.mono-label{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-solid{ background:linear-gradient(90deg,var(--brand-green-dark) 0 50%,var(--orange) 50% 100%); background-size:200% 100%; background-position:100% 0; color: var(--navy); border-color: var(--orange); transition:background-position .38s var(--ease),color .25s var(--ease),border-color .25s var(--ease),transform .25s var(--ease); }
.btn-solid:hover{ background-position:0 0; border-color: var(--brand-green-dark); color:var(--paper); }
.btn-outline{ background: transparent; color: var(--paper); border-color: var(--line-strong); }
.btn-outline:hover{ border-color: var(--orange); color: var(--orange); }
.btn-outline.dark{ color: var(--charcoal); border-color: rgba(23,26,29,0.3); }
.btn-outline.dark:hover{ border-color: var(--orange); color: var(--orange-2); }
.btn-arrow{ transition: transform .25s var(--ease); }
.btn:hover .btn-arrow{ transform: translateX(4px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header{
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: 22px;
  transition: padding .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled{
  padding-block: 14px;
  background: rgba(var(--obsidian-rgb),0.92);
  backdrop-filter: blur(6px);
  border-color: var(--line);
}
.header-inner{
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo{ display: flex; align-items: center; gap: 12px; }
.logo-mark{ width: 26px; height: 26px; flex-shrink: 0; }
.logo-mark svg{ width: 100%; height: 100%; display: block; }
.logo-text{
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  letter-spacing: 0.05em; color: var(--paper);
}

.main-nav{ display: flex; align-items: center; gap: 6px; }
.nav-link{
  font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(237,239,240,0.72);
  padding: 10px 16px;
  position: relative;
  transition: color .25s var(--ease);
}
.nav-link:hover, .nav-link.is-active{ color: var(--paper); }
.nav-link.is-active::after{
  content:""; position:absolute; left:16px; right:16px; bottom:4px; height:1px; background: var(--orange);
}
.nav-cta{ margin-left: 12px; }

.nav-toggle{
  display:none; flex-direction: column; justify-content:center; gap:5px;
  width: 40px; height: 40px; background: transparent; border: 1px solid var(--line-strong);
  border-radius: var(--radius); cursor: pointer;
}
.nav-toggle span{ height:1px; width: 18px; background: var(--paper); margin-inline:auto; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px){
  .nav-toggle{ display: flex; }
  .main-nav{
    position: fixed; inset: 0; z-index: 90;
    flex-direction: column; justify-content:center; align-items:flex-start;
    gap: 6px; padding: 100px var(--gutter) 60px;
    background:
      linear-gradient(var(--line) 1px, transparent 1px) 0 0/38px 38px,
      var(--navy);
    transform: translateX(100%);
    transition: transform .45s var(--ease);
  }
  .main-nav.is-open{ transform: translateX(0); }
  .nav-link{ font-size: 1.1rem; padding: 14px 4px; }
  .nav-cta{ margin-left: 4px; margin-top: 18px; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position: relative;
  min-height: 100svh;
  background: radial-gradient(120% 90% at 50% 0%, rgba(var(--obsidian-rgb),1) 0%, rgba(var(--graphite-rgb),1) 55%, rgba(var(--graphite-rgb),1) 100%);
  overflow: hidden;
  display:flex; flex-direction: column; justify-content:flex-end;
}
.hero-background-slider{ position:absolute; inset:-18px; z-index:1; overflow:hidden; background:var(--hero-charcoal); }
.hero-background-slide{ position:absolute; inset:0; background-position:center; background-size:cover; background-repeat:no-repeat; filter:grayscale(1); opacity:0; transform:translate3d(4%,0,0) scale(1.08); }
.hero-background-slide.is-active{ opacity:.82; transform:translate3d(0,0,0) scale(1.14); animation:hero-background-zoom 6.5s cubic-bezier(.22,1,.36,1) both; }
.hero-background-slide.is-exiting-left{ animation:hero-slide-out-left 1.1s cubic-bezier(.22,1,.36,1) both; }
.hero-background-slide.is-exiting-right{ animation:hero-slide-out-right 1.1s cubic-bezier(.22,1,.36,1) both; }
.hero-background-slide.is-entering-right{ animation:hero-slide-in-right 1.1s cubic-bezier(.22,1,.36,1) both; }
.hero-background-slide.is-entering-left{ animation:hero-slide-in-left 1.1s cubic-bezier(.22,1,.36,1) both; }
.hero:has(.hero-background-slider)::after{ filter:none; }
@keyframes hero-background-zoom{ from{ transform:translate3d(0,0,0) scale(1.08); } to{ transform:translate3d(0,0,0) scale(1.14); } }
@keyframes hero-slide-out-left{ from{ opacity:.82; transform:translate3d(0,0,0) scale(1.14); } to{ opacity:0; transform:translate3d(-4%,0,0) scale(1.08); } }
@keyframes hero-slide-out-right{ from{ opacity:.82; transform:translate3d(0,0,0) scale(1.14); } to{ opacity:0; transform:translate3d(4%,0,0) scale(1.08); } }
@keyframes hero-slide-in-right{ from{ opacity:0; transform:translate3d(4%,0,0) scale(1.08); } to{ opacity:.82; transform:translate3d(0,0,0) scale(1.14); } }
@keyframes hero-slide-in-left{ from{ opacity:0; transform:translate3d(-4%,0,0) scale(1.08); } to{ opacity:.82; transform:translate3d(0,0,0) scale(1.14); } }
.hero-canvas-wrap{ position:absolute; inset:0; z-index:1; }
#heroCanvas{ position:absolute; inset:0; width:100%; height:100%; display:block; }
.hero-canvas-wrap{ display:none; }

.hero-vignette{
  position:absolute; inset:0; z-index:2; pointer-events:none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.18) 55%, rgba(0,0,0,0.9) 100%);
}

.drawing-marks{ position:absolute; inset:0; z-index:3; pointer-events:none; font-family: var(--font-mono); color: rgba(245,245,245,0.55); }
.drawing-marks span{ position:absolute; font-size: 0.68rem; letter-spacing: 0.1em; }
.mark-tl{ top: 100px; left: var(--gutter); }
.mark-tr{ top: 100px; right: var(--gutter); text-align:right; }
.mark-br{ bottom: 30px; right: var(--gutter); text-align:right; }
.mark-corner{
  position:absolute; width: 16px; height: 16px; border-color: rgba(237,239,240,0.35); border-style: solid; border-width: 0;
}
.mark-tl .mark-corner{ top:-14px; left:-14px; border-top-width:1px; border-left-width:1px; }

.hero-content{
  position: relative; z-index: 4;
  padding-top: 150px;
  padding-bottom: 84px;
}
.hero-heading{
  font-size: clamp(2.6rem, 7.4vw, 6.4rem);
  line-height: 0.98;
  color: var(--paper) !important;
  margin-top: 20px;
  max-width: 16ch;
}
.hero-heading em{
  font-style: normal; color: var(--brand-green) !important;
  -webkit-text-stroke: 0;
}
.hero-word{ position:relative; display:inline-flex; align-items:baseline; color:var(--brand-green) !important; font-style:normal; white-space:nowrap; }
.hero-type-word{ display:inline-block; }
.js .hero-type-word{ clip-path:inset(0 100% 0 0); }
.hero-heading.is-writing .hero-type-word{ animation:hero-type-word .42s cubic-bezier(.22,1,.36,1) forwards; }
.hero-heading.is-writing .hero-type-word:nth-child(1){ animation-delay:.18s; }
.hero-heading.is-writing .hero-type-word:nth-child(3){ animation-delay:1.65s; }
.hero-heading.is-writing > span:last-of-type .hero-type-word:nth-child(1){ animation-delay:1.9s; }
.hero-heading.is-writing > span:last-of-type .hero-type-word:nth-child(2){ animation-delay:2s; }
.hero-heading.is-writing > span:last-of-type .hero-type-word:nth-child(4){ animation-delay:2.9s; }
.hero-design-text,.hero-build-text{ display:inline-flex; min-width:var(--word-width, 0); }
.hero-design-text > span{ display:inline-block; opacity:0; filter:blur(3px); transform:translateY(6px) rotate(var(--hero-letter-rotate,-2deg)) scale(.97); transition:opacity .22s ease-out,transform .32s cubic-bezier(.22,1,.36,1),filter .26s ease-out; text-shadow:0 0 10px rgba(169,169,43,.3),0 1px 0 rgba(0,0,0,.22); }
.hero-design-text > span{ transform:translateY(.14em) rotate(3deg); transition:opacity .1s linear,transform .28s cubic-bezier(.22,1,.36,1); }
.hero-design-text > span.is-visible{ opacity:1; transform:translateY(0) rotate(0); text-shadow:0 0 16px rgba(169,169,43,.25); }
.hero-build-text > span{ position:relative; color:var(--orange-2); transform:translateY(.42em) scaleY(.72); text-shadow:2px 3px 0 rgba(11,11,11,.5); transition:opacity .12s linear,transform .24s cubic-bezier(.22,1,.36,1); }
.hero-build-text > span::after{ content:""; position:absolute; left:.08em; right:.08em; bottom:.02em; height:.075em; background:var(--paper); opacity:.55; transform:scaleX(0); transform-origin:left; }
.hero-build-text > span.is-built{ opacity:1; transform:translateY(0) scaleY(1); }
.hero-build-text > span.is-built::after{ animation:hero-brick-joint .24s ease-out both; }
.hero-word-design i,.hero-word-build i{ position:absolute; z-index:3; opacity:0; pointer-events:none; transform-origin:15% 85%; }
/* The pen travels over the letterforms so the word reads as being written live. */
.hero-word-design i{ top:.2em; left:-.05em; width:.48em; height:.13em; border-radius:.08em .04em .04em .08em; background:var(--paper); box-shadow:0 .03em 0 var(--brand-green-dark),0 .08em .14em rgba(0,0,0,.34); }
.hero-word-design i::before{ content:""; position:absolute; right:-.16em; top:0; border-top:.065em solid transparent; border-bottom:.065em solid transparent; border-left:.17em solid var(--paper); }
.hero-word-design i::after{ content:""; position:absolute; right:-.2em; top:.045em; width:.07em; height:.04em; background:var(--brand-green-light); transform:rotate(25deg); }
/* A compact trowel follows the construction pass across “build”. */
.hero-word-build i{ top:-.1em; left:0; width:.42em; height:.32em; border:2px solid var(--orange-2); border-radius:0 .03em .03em 0; background:linear-gradient(135deg,var(--paper) 0 48%,transparent 49%); box-shadow:0 .08em .14em rgba(0,0,0,.32); }
.hero-word-build i::after{ content:""; position:absolute; left:-.2em; top:.13em; width:.22em; height:.08em; border-radius:.08em; background:var(--brand-green); transform:rotate(-28deg); }
@keyframes hero-brick-joint{ from{ transform:scaleX(0); } to{ transform:scaleX(1); } }
@keyframes hero-type-word{ from{ clip-path:inset(0 100% 0 0); transform:translateX(-.08em); } to{ clip-path:inset(0 0 0 0); transform:translateX(0); } }
.hero-heading[aria-label]{ isolation:isolate; }
@media (prefers-reduced-motion:reduce){ .hero-heading.is-writing .hero-type-word{ animation:none; clip-path:none; }.hero-design-text > span,.hero-build-text > span{ opacity:1; transform:none; transition:none; }.hero-word-design i,.hero-word-build i{ display:none; } }

/* Home hero: the pen writes the first word; brick courses construct the second. */
.hero-design-text > span.is-visible{ opacity:1; transform:translateY(0) rotate(0) scale(1); text-shadow:0 0 14px rgba(169,169,43,.35),0 1px 0 rgba(0,0,0,.25); }
.hero-design-underline{ position:absolute; left:0; bottom:-.22em; width:0; height:14px; overflow:visible; }
.hero-design-underline-path{ fill:none; stroke:url(#heroInkGradient); stroke-width:2.4; stroke-linecap:round; opacity:.7; }
.hero-ink-dot{ position:absolute; top:-.55em; left:0; width:7px; height:7px; border-radius:50%; opacity:0; pointer-events:none; will-change:transform; background:radial-gradient(circle,#f5f3ee 0%,var(--brand-green-light) 55%,transparent 75%); }
.hero-design-text > span.is-visible{ filter:blur(0); }
.hero-design-pen,.hero-build-trowel{ position:absolute; z-index:3; width:30px; height:30px; opacity:0; pointer-events:none; filter:drop-shadow(0 2px 3px rgba(0,0,0,.35)); will-change:transform; }
.hero-design-pen{ top:-.55em; left:0; color:var(--brand-green-light); }
.hero-build-trowel{ top:-1.6em; left:0; }
.hero-build-text{ padding-top:6px; }
.hero-build-letter{ position:relative; display:inline-block; opacity:1 !important; transform:none !important; text-shadow:none !important; transition:transform 90ms ease-out !important; font-family:var(--font-display); font-weight:800; font-size:.98em; }
.hero-build-letter::after{ content:none !important; }
.hero-build-shadow{ position:absolute; inset:0; z-index:1; color:var(--brand-green-dark); opacity:.9; filter:blur(.3px); transform:translate(3px,4px); clip-path:inset(100% 0 0 0); }
/* The word BUILD is filled with individual masonry units, not just stripes. */
.hero-build-face{ position:relative; z-index:2; color:transparent; background-image:url('../images/company/green-brick-pattern.svg'); background-repeat:repeat; background-size:96px 48px; background-position:center; -webkit-background-clip:text; background-clip:text; -webkit-text-stroke:1px rgba(86,99,22,.75); filter:drop-shadow(0 2px 0 rgba(11,11,11,.25)); clip-path:inset(100% 0 0 0); }
.hero-brick-chip{ position:absolute; top:-16px; left:50%; width:64%; height:9px; border:1px solid var(--brand-green-dark); border-radius:1px; opacity:0; background:url('../images/company/green-brick-pattern.svg') center / 40px 20px; box-shadow:0 2px 3px rgba(0,0,0,.35); }
.hero-build-dust{ position:absolute; left:50%; bottom:-4px; width:14px; height:14px; border-radius:50%; opacity:0; pointer-events:none; background:radial-gradient(circle,rgba(245,243,238,.55),transparent 70%); transform:translate(-50%,0) scale(.4); }
@media (prefers-reduced-motion:reduce){ .hero-design-pen,.hero-build-trowel,.hero-design-underline,.hero-ink-dot,.hero-brick-chip,.hero-build-dust{ display:none; }.hero-build-shadow,.hero-build-face{ clip-path:none !important; } }
.hero .eyebrow.on-dark{ color: var(--brand-green); }
.hero .eyebrow.on-dark::before{ background: var(--brand-green); }
.hero-sub{
  color: rgba(245,245,245,0.66);
  max-width: 46ch;
  font-size: 1.08rem;
  margin-top: 26px;
  line-height: 1.7;
}
.hero-actions{ display:flex; gap:16px; flex-wrap: wrap; margin-top: 40px; }

.scroll-cue{
  position:absolute; bottom: 30px; left: var(--gutter); z-index:4;
  display:flex; align-items:center; gap: 12px;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(237,239,240,0.55);
}
.scroll-cue .line{ width:1px; height: 34px; background: linear-gradient(var(--steel), transparent); position:relative; overflow:hidden; }
.scroll-cue .line::after{
  content:""; position:absolute; left:0; top:-100%; width:100%; height:100%; background: var(--orange);
  animation: scrollcue 2.2s var(--ease) infinite;
}
@keyframes scrollcue{ 0%{ top:-100%; } 60%{ top:100%; } 100%{ top:100%; } }

/* ==========================================================================
   STATS STRIP  (dimension-line style)
   ========================================================================== */
.stats{
  /* keep a thin divider and provide a safe fallback color
     The actual background-image is shared with `.hero` later; an overlay is applied via ::after */
  border-top: 1px solid var(--line);
  background-color: var(--brand-green-light);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}
.stats-row{
  display:grid; grid-template-columns: repeat(4, 1fr);
}
.stat{
  padding: 34px var(--gutter);
  border-left: 1px solid var(--line);
  position:relative;
}
.stat:first-child{ border-left: none; }
.stat-num{
  font-family: var(--font-display); font-weight: 700; color: var(--paper);
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
}
.stat-num .unit{ font-family: var(--font-mono); font-size: 0.9rem; color: var(--steel); font-weight: 500; margin-left: 4px; }
.stat-label{
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(237,239,240,0.55); margin-top: 10px;
}
@media (max-width: 780px){
  .stats-row{ grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3){ border-left:none; }
}

/* ==========================================================================
   DISCIPLINES (Architecture / Construction split)
   ========================================================================== */
.disciplines{ padding: 128px 0; background: var(--paper); }
.disciplines-head{ max-width: 640px; }
.discipline-grid{
  margin-top: 72px;
  display:grid; grid-template-columns: 1fr 1px 1fr;
  gap: 0 56px;
}
.discipline-divider{ background: repeating-linear-gradient(180deg, rgba(23,26,29,0.25) 0 6px, transparent 6px 14px); }
.discipline{ padding-block: 8px; }
.discipline-index{ font-family: var(--font-mono); font-size: 0.75rem; color: var(--orange-2); letter-spacing: 0.1em; }
.discipline h3{ font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 14px; }
.discipline p{ color: var(--ink-soft); margin-top: 14px; line-height: 1.7; max-width: 44ch; }
.discipline-list{ margin-top: 26px; display:flex; flex-direction:column; gap: 0; }
.discipline-list li{
  font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.02em;
  padding: 13px 0; border-top: 1px solid rgba(23,26,29,0.14);
  display:flex; justify-content: space-between; color: var(--charcoal);
}
.discipline-list li:last-child{ border-bottom: 1px solid rgba(23,26,29,0.14); }
.disciplines .discipline p:not(.discipline-summary),
.disciplines .discipline-list:not(.discipline-current){ display:none; }
.discipline-list li::after{ content:"→"; color: var(--orange-2); }

@media (max-width: 860px){
  .discipline-grid{ grid-template-columns: 1fr; gap: 48px; }
  .discipline-divider{ display:none; }
}

/* ==========================================================================
   BUILD SEQUENCE (scroll-driven build reveal)
   ========================================================================== */
.build-sequence{ position: relative; min-height: 70vh; display:flex; align-items:center; overflow:hidden; }
.build-sequence .build-bg{ position:absolute; inset:0; background-position:center; background-size:cover; filter: grayscale(1) contrast(1.05) brightness(0.95); transform: scale(1); transition: transform .6s ease, opacity .45s ease; z-index:1; }
.build-sequence .build-content{ position:relative; z-index:2; padding: 70px 0; color: var(--paper); }
.build-sequence .build-head{ max-width:720px; margin-bottom: 28px; }
.build-viewport{ display:flex; align-items:center; justify-content:center; height: 48vh; }
.build-project{ width: min(60%, 780px); height:100%; display:flex; align-items:center; justify-content:center; }
.build-project img{ width:100%; height:auto; max-height:100%; object-fit:cover; box-shadow: 0 24px 60px rgba(0,0,0,0.6); border-radius:4px; opacity:0; transform: translateY(40px) scale(0.85); transition: transform .45s cubic-bezier(.22,.68,0,1), opacity .45s ease, filter .45s ease; filter: grayscale(1) contrast(1.02); }
.build-sequence.built .build-project img{ opacity:1; transform: translateY(0) scale(1); filter: grayscale(0) contrast(1); }

@media (max-width:980px){ .build-viewport{ height:38vh; } .build-project{ width: 92%; } }

/* Make DISCIPLINES top text bold black */
.disciplines.build-sequence .disciplines-head .eyebrow,
.disciplines.build-sequence .disciplines-head .section-title{
  color: var(--charcoal);
  font-weight: 700;
}

/* Make all text under DISCIPLINES bold black */
.disciplines.build-sequence{
  color: var(--charcoal);
}
.disciplines.build-sequence h3,
.disciplines.build-sequence p,
.disciplines.build-sequence .discipline-index,
.disciplines.build-sequence .discipline-list li,
.disciplines.build-sequence .discipline-list li::after,
.disciplines.build-sequence .project-meta,
.disciplines.build-sequence .discipline{
  color: var(--charcoal) !important;
  font-weight: 700;
}

/* DISCIPLINE CARDS */
.disciplines.build-sequence .discipline-grid{
  grid-template-columns:repeat(2, minmax(0, 1fr)); gap:24px; margin-top:52px;
}
.disciplines.build-sequence .discipline-divider{ display:none; }
.disciplines.build-sequence .discipline{
  min-height:100%; padding:34px; background:rgba(255,255,255,.72); border:1px solid rgba(23,26,29,.14);
  box-shadow:0 16px 34px -30px rgba(11,30,51,.6); transition:background .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.disciplines.build-sequence .discipline:hover,
.disciplines.build-sequence .discipline:focus-visible{
  background:var(--brand-green-dark); border-color:var(--brand-green); transform:translateY(-8px); box-shadow:0 24px 42px -22px rgba(86,99,22,.7); outline:none;
}
.disciplines.build-sequence .discipline:focus-visible{ box-shadow:0 0 0 3px rgba(169,169,43,.65), 0 24px 42px -22px rgba(86,99,22,.7); }
.disciplines.build-sequence .discipline:hover h3,
.disciplines.build-sequence .discipline:hover p,
.disciplines.build-sequence .discipline:hover .discipline-list li,
.disciplines.build-sequence .discipline:focus-visible h3,
.disciplines.build-sequence .discipline:focus-visible p,
.disciplines.build-sequence .discipline:focus-visible .discipline-list li{ color:var(--paper) !important; }
.disciplines.build-sequence .discipline:hover .discipline-index,
.disciplines.build-sequence .discipline:hover .discipline-list li::after,
.disciplines.build-sequence .discipline:focus-visible .discipline-index,
.disciplines.build-sequence .discipline:focus-visible .discipline-list li::after{ color:var(--brand-green-light) !important; }
.disciplines.build-sequence .discipline:hover .discipline-list li,
.disciplines.build-sequence .discipline:focus-visible .discipline-list li{ border-color:rgba(255,255,255,.22); }

@media (max-width:860px){
  .disciplines.build-sequence .discipline-grid{ grid-template-columns:1fr; gap:20px; }
  .disciplines.build-sequence .discipline{ padding:28px; }
}

/* Shared left-to-right green sweep for every site action button. */
:is(.btn:not(.btn-outline), .quote-btn, .btn-compact, .contact-hero-cta, .btn-primary, .btn-secondary, .consultation-button, .directions-button, .cta-button, .filter-btn, .sf-chatbot__quick button, .sf-chatbot__form button){
  background-color:var(--brand-green) !important;
  background-image:linear-gradient(90deg,var(--brand-green-dark) 0 50%,var(--brand-green) 50% 100%) !important;
  background-size:200% 100% !important;
  background-position:100% 0 !important;
  color:var(--obsidian) !important;
  transition:background-position .38s var(--ease),color .25s var(--ease),border-color .25s var(--ease),transform .25s var(--ease),box-shadow .25s var(--ease) !important;
}
:is(.btn:not(.btn-outline), .quote-btn, .btn-compact, .contact-hero-cta, .btn-primary, .btn-secondary, .consultation-button, .directions-button, .cta-button, .filter-btn, .sf-chatbot__quick button, .sf-chatbot__form button):hover,
:is(.btn:not(.btn-outline), .quote-btn, .btn-compact, .contact-hero-cta, .btn-primary, .btn-secondary, .consultation-button, .directions-button, .cta-button, .filter-btn, .sf-chatbot__quick button, .sf-chatbot__form button):focus-visible{
  background-position:0 0 !important;
  border-color:var(--brand-green-dark) !important;
  color:var(--paper) !important;
}
.btn-outline{
  background:transparent !important;
  background-color:transparent !important;
  background-image:none !important;
  border-color:var(--brand-green) !important;
  color:var(--paper) !important;
}
.btn-secondary{
  color:var(--paper) !important;
}
.btn-outline:hover, .btn-outline:focus-visible{
  background:var(--brand-green) !important;
  background-color:var(--brand-green) !important;
  background-image:none !important;
  border-color:var(--brand-green) !important;
  color:var(--obsidian) !important;
}

/* Hero background using background.jpg with parallax and hover */
.hero {
  position: relative;
  background-image: url('../images/company/background.jpg') !important;
  background-color: var(--hero-charcoal);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  /* Use fixed attachment for a simple parallax effect on most desktop browsers */
  background-attachment: fixed;
  overflow: hidden;
}

/* Layered pseudo-element to allow smooth hover scale on hero without affecting layout */
.hero::before{ display: none !important; }

/* Slight zoom on hover for a tactile feel (hero only) */
.hero:hover::before{
  transform: scale(1.03);
  filter: contrast(1.05) saturate(.98);
}

/* Ensure content sits above the background layer */
.hero .hero-content, .stats .container{
  position: relative;
  z-index: 2;
}
.hero:has(.about-hero-content){ align-items:flex-start; justify-content:center; }
.about-hero-content{
  top:0;
  width:100%;
  max-width:830px;
  margin:0 clamp(24px, 9vw, 150px);
  padding:42px 0 42px 42px;
  border-left:1px solid rgba(245,243,238,.38);
  text-align:left;
}
.about-hero-content::before,
.about-hero-content::after{
  content:"";
  position:absolute;
  left:-5px;
  width:9px;
  height:9px;
  background:var(--orange);
}
.about-hero-content::before{ top:0; }
.about-hero-content::after{ bottom:0; }
.about-hero-details{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:24px;
  max-width:650px;
  margin-top:34px;
  padding-top:20px;
  border-top:1px solid rgba(245,243,238,.24);
}
.about-hero-details div{ display:flex; flex-direction:column; gap:4px; }
.about-hero-details strong{ color:var(--brand-green); font-family:var(--font-display); font-size:1.35rem; line-height:1; }
.about-hero-details span{ color:rgba(245,243,238,.68); font-family:var(--font-mono); font-size:.65rem; letter-spacing:.08em; line-height:1.35; text-transform:uppercase; }
.about-technical-mark{
  position:absolute;
  z-index:2;
  right:clamp(28px, 7vw, 120px);
  bottom:13%;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  color:rgba(245,243,238,.6);
  text-transform:uppercase;
}
.about-technical-mark span,
.about-technical-mark em{ font-family:var(--font-mono); font-size:.62rem; font-style:normal; letter-spacing:.14em; }
.about-technical-mark strong{ color:transparent; font-family:var(--font-display); font-size:clamp(2.3rem, 4vw, 4.2rem); font-weight:700; letter-spacing:0; line-height:.9; -webkit-text-stroke:1px rgba(245,243,238,.72); }
.about-technical-mark em{ margin-top:12px; }

/* About hero: construction imagery and a rotating team showcase. */
.about-hero::after{
  background:linear-gradient(90deg,rgba(11,11,11,.58),rgba(11,11,11,.22)),url('../images/company/background.jpg') center / cover no-repeat;
  filter:blur(4px) saturate(.86);
}
.about-team-showcase{ position:absolute; z-index:3; top:50%; right:clamp(28px,7vw,120px); width:min(280px,23vw); transform:translateY(-50%); }
.about-team-showcase__slides{ position:relative; min-height:382px; overflow:hidden; border:1px solid rgba(245,243,238,.4); background:rgba(11,11,11,.25); box-shadow:0 24px 54px rgba(0,0,0,.34); }
.about-team-showcase__slide{ position:absolute; inset:0; display:grid; grid-template-rows:1fr auto; margin:0; opacity:0; pointer-events:none; transform:scale(1.04); transition:opacity .55s ease,transform .7s cubic-bezier(.22,1,.36,1); }
.about-team-showcase__slide.is-active{ opacity:1; pointer-events:auto; transform:scale(1); }
.about-team-showcase__slide img{ width:100%; height:100%; min-height:0; object-fit:cover; object-position:center top; filter:grayscale(1) contrast(1.04); }
.about-team-showcase__slide figcaption{ padding:15px 16px 17px; background:rgba(11,11,11,.82); color:var(--paper); }
.about-team-showcase__slide figcaption span,.about-team-showcase__slide figcaption em{ display:block; color:var(--brand-green-light); font:600 .61rem/1.3 var(--font-mono); letter-spacing:.12em; text-transform:uppercase; }
.about-team-showcase__slide figcaption strong{ display:block; margin:7px 0 4px; font-family:var(--font-display); font-size:1.1rem; line-height:1.1; }
.about-team-showcase__slide figcaption em{ color:rgba(245,243,238,.7); font-style:normal; letter-spacing:.06em; }
.about-team-showcase__controls{ display:flex; align-items:center; justify-content:flex-end; gap:7px; margin-top:10px; color:var(--paper); font:600 .67rem/1 var(--font-mono); letter-spacing:.08em; }
.about-team-showcase__controls > span{ margin-right:auto; }
.about-team-showcase__controls b{ color:var(--brand-green-light); }
.about-team-showcase__controls button{ display:grid; place-items:center; width:32px; height:32px; padding:0; border:1px solid rgba(245,243,238,.48); border-radius:50%; background:rgba(11,11,11,.25); color:var(--paper); font-size:1.05rem; cursor:pointer; transition:background .2s ease,border-color .2s ease,transform .2s ease; }
.about-team-showcase__controls button:hover,.about-team-showcase__controls button:focus-visible{ border-color:var(--brand-green); background:var(--brand-green); color:var(--obsidian); transform:translateY(-2px); outline:none; }

/* Welcome overlay removed per user request */

/* Softly blur the hero image without affecting its foreground content. */
.hero::after{
  content: "";
  position: absolute;
  inset: -8px;
  background:
    linear-gradient(rgba(78, 78, 78, 0.48), rgba(78, 78, 78, 0.48)),
    url('../images/company/background.jpg') center / cover no-repeat;
  filter: blur(5px);
  z-index: 0;
  pointer-events: none;
  animation: heroBackgroundBreathe 14s ease-in-out infinite;
}

@keyframes heroBackgroundBreathe{
  0%, 100%{ transform:translate3d(-1.2%, 0, 0) scale(1.06); }
  50%{ transform:translate3d(1.2%, 0, 0) scale(1.1); }
}

/* Transparent black overlay for stats to ensure readable text */
.stats::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(var(--obsidian-rgb),0.55);
  z-index: 1;
  pointer-events: none;
  transition: background .3s var(--ease);
}

/* Make the existing vignette overlay slightly transparent but keep animations intact */
.hero-vignette{
  background: rgba(0,0,0,0.35) !important;
}

/* Mobile tweak: disable fixed background for better performance */
@media (max-width: 900px){
  .hero, .stats{ background-attachment: scroll; }
}

@media (max-width:1120px){
  .about-hero{ align-items:center !important; padding:140px 0 70px; }
  .about-team-showcase{ position:relative; top:auto; right:auto; width:min(320px,calc(100% - 48px)); margin:12px auto 0; transform:none; }
  .about-team-showcase__slides{ min-height:340px; }
  .about-technical-mark{ display:none; }
}

/* Keep the complete home-page hero readable on phones, including short
   landscape screens.  The section may grow taller than the viewport rather
   than clipping its description and calls to action. */
@media (max-width: 640px){
  .hero{
    min-height: 100svh;
    height: auto;
    justify-content: center;
  }
  .hero-content{
    padding-top: max(128px, calc(var(--header-height, 108px) + 20px));
    padding-bottom: 104px;
  }
  .hero-heading{
    font-size: clamp(2.25rem, 11vw, 3.25rem);
    margin-top: 16px;
  }
  .hero-sub{
    margin-top: 18px;
    font-size: 0.95rem;
    line-height: 1.55;
  }
  .about-hero-content{
    margin:0 auto;
    padding:28px 20px;
    border-left:0;
    border-top:1px solid rgba(245,243,238,.38);
    border-bottom:1px solid rgba(245,243,238,.38);
    text-align:center;
  }
  .about-hero-content::before,
  .about-hero-content::after{ display:none; }
  .about-hero-details{ grid-template-columns:1fr; gap:14px; margin:26px auto 0; text-align:left; }
  .about-technical-mark{ display:none; }
  .hero-actions{
    gap: 10px;
    margin-top: 26px;
  }
  .hero-actions .btn{
    flex: 1 1 100%;
    justify-content: center;
  }
  .scroll-cue{
    bottom: 20px;
  }
  .drawing-marks .mark-tr,
  .drawing-marks .mark-br{
    display: none;
  }
}

@media (max-height: 620px) and (max-width: 640px){
  .hero-content{
    padding-top: 118px;
    padding-bottom: 92px;
  }
  .hero-sub{
    font-size: 0.9rem;
  }
  .hero-actions{
    margin-top: 18px;
  }
  .scroll-cue{
    display: none;
  }
}

@media (prefers-reduced-motion: reduce){
  .hero::after{ animation:none; }
  .hero-background-slide{ animation:none !important; transform:scale(1.08); }
}

/* ==========================================================================
   PROCESS  (real sequence — numbered)
   ========================================================================== */
.process{ padding: 20px 0 128px; background: var(--paper); }
.process-track{
  margin-top: 64px;
  display:grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  position: relative; --timeline-progress:0%;
}
.process-track::before{
  content:""; position:absolute; top: 27px; left:0; right:0; height:1px;
  background: repeating-linear-gradient(90deg, rgba(23,26,29,0.3) 0 8px, transparent 8px 16px);
}
.process-timeline-progress{
  position:absolute; z-index:0; top:27px; left:0; width:var(--timeline-progress); height:2px;
  background:var(--brand-green); transition:width .12s linear;
}
.process-timeline-progress span{
  position:absolute; right:0; top:50%; width:12px; height:12px; border-radius:50%;
  background:var(--brand-green); border:3px solid var(--paper); box-shadow:0 0 0 1px var(--brand-green), 0 0 20px rgba(169,169,43,.45);
  transform:translate(50%,-50%);
}
.process-step{ padding-right: 12px; position:relative; }
.process-num{
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--charcoal);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-mono); font-size: 0.78rem; position: relative; z-index:1;
}
.process-timeline-progress + .process-step .process-num{ background: var(--brand-green); border-color: var(--brand-green); color: var(--navy); }
.process-step.is-active .process-num{ background:var(--brand-green); border-color:var(--brand-green); color:var(--navy); box-shadow:0 8px 20px -12px rgba(169,169,43,.85); }
.process-step.is-active h4{ color:var(--brand-green-dark); }
.process-step h4{ font-family: var(--font-display); font-size: 0.98rem; margin-top: 18px; }
.process-step p{ color: var(--ink-soft); font-size: 0.75rem; margin-top: 8px; line-height: 1.5; }

@media (max-width: 780px){
  .process-track{ grid-template-columns: 1fr; gap:34px; padding-left:58px; }
  .process-track::before{ display:block; top:0; bottom:0; left:27px; right:auto; width:1px; height:auto; background:repeating-linear-gradient(180deg, rgba(23,26,29,0.3) 0 8px, transparent 8px 16px); }
  .process-timeline-progress{ top:0; bottom:auto; left:27px; width:2px; height:var(--timeline-progress); }
  .process-timeline-progress span{ top:auto; right:auto; bottom:0; left:50%; transform:translate(-50%,50%); }
  .process-step{ padding-right:0; }
  .process-num{ position:absolute; top:0; left:-58px; }
  .process-step h4{ margin-top:0; }
}

@media (prefers-reduced-motion: reduce){ .process-timeline-progress{ transition:none; } }

/* ==========================================================================
   FEATURED PROJECTS
   ========================================================================== */
.featured{ padding: 20px 0 130px; background: var(--paper); }
.featured-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:24px; flex-wrap: wrap; }
.featured-head .btn-outline.dark{
  color:var(--obsidian) !important;
  border-color:var(--brand-green) !important;
}
.featured-head .btn-outline.dark:hover,
.featured-head .btn-outline.dark:focus-visible{
  background:var(--brand-green) !important;
  background-color:var(--brand-green) !important;
  color:var(--obsidian) !important;
}
.project-slider{ margin-top:60px; overflow:hidden; }
.project-slider__track{
  display:flex; gap:28px; overflow-x:auto; padding:8px 2px 26px;
  scroll-snap-type:x mandatory; scroll-snap-stop:always; scroll-behavior:smooth; scrollbar-width:none; overscroll-behavior-x:contain;
}
.project-slider__track::-webkit-scrollbar{ display:none; }
.project-slider .project-card{ flex:0 0 calc((100% - 56px) / 3); scroll-snap-align:start; }
.project-slider .project-card.is-current-page{ animation:featured-card-enter .8s cubic-bezier(.22,1,.36,1) both; animation-delay:var(--featured-enter-delay, 0ms); }
.project-slider__footer{ display:flex; align-items:center; justify-content:space-between; gap:24px; }
.project-slider__dots{ display:flex; align-items:center; gap:8px; }
.project-slider__dots button{
  width:30px; height:3px; padding:0; border:0; background:var(--line); cursor:pointer;
  transition:width .3s var(--ease), background .3s var(--ease);
}
.project-slider__dots button.is-active{ width:52px; background:var(--orange); }
.project-slider__controls{ display:flex; gap:10px; }
.project-slider__button{
  display:grid; place-items:center; width:46px; height:46px; border:1px solid var(--ink); border-radius:50%;
  background:transparent; color:var(--ink); cursor:pointer; font-size:1.25rem; transition:background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.project-slider__button:hover, .project-slider__button:focus-visible{ background:var(--navy); border-color:var(--navy); color:var(--paper); transform:translateY(-2px); }
.project-slider__dots button:focus-visible{ outline:2px solid var(--navy); outline-offset:4px; }
@keyframes featured-card-enter{ from{ opacity:.35; transform:translateY(14px) scale(.985); } to{ opacity:1; transform:translateY(0) scale(1); } }
@media (prefers-reduced-motion:reduce){ .project-slider .project-card.is-current-page{ animation:none; } }

@keyframes featured-slide-out-left{ from{ opacity:1; transform:translate3d(0,0,0) scale(1); } to{ opacity:0; transform:translate3d(-30px,0,0) scale(.97); } }
@keyframes featured-slide-out-right{ from{ opacity:1; transform:translate3d(0,0,0) scale(1); } to{ opacity:0; transform:translate3d(30px,0,0) scale(.97); } }
@keyframes featured-slide-in-right{ from{ opacity:0; transform:translate3d(30px,0,0) scale(.97); } to{ opacity:1; transform:translate3d(0,0,0) scale(1); } }
@keyframes featured-slide-in-left{ from{ opacity:0; transform:translate3d(-30px,0,0) scale(.97); } to{ opacity:1; transform:translate3d(0,0,0) scale(1); } }
.project-slider__track.is-transitioning .project-card.is-leaving,
.project-slider__track.is-transitioning .project-card.is-entering{
  animation-duration:1s;
  animation-timing-function:cubic-bezier(.22,1,.36,1);
  animation-fill-mode:both;
  pointer-events:none;
}
.project-slider__track.is-forward .project-card.is-leaving{ animation-name:featured-slide-out-left; }
.project-slider__track.is-forward .project-card.is-entering{ animation-name:featured-slide-in-right; }
.project-slider__track.is-backward .project-card.is-leaving{ animation-name:featured-slide-out-right; }
.project-slider__track.is-backward .project-card.is-entering{ animation-name:featured-slide-in-left; }
@media (prefers-reduced-motion:reduce){
  .project-slider__track.is-transitioning .project-card.is-leaving,
  .project-slider__track.is-transitioning .project-card.is-entering{ animation:none; }
}

.project-card{
  background: var(--navy); position: relative; overflow:hidden;
  border: 1px solid rgba(23,26,29,0.08);
  transform-style: preserve-3d; will-change: transform;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.project-card:hover{ box-shadow: 0 24px 48px -20px rgba(11,30,51,0.4); }
.project-list-page .project-card:hover,
.project-list-page .project-card:focus-visible{
  transform:none !important;
  box-shadow:none !important;
}
.project-list-page .project-card:hover .project-visual img,
.project-list-page .project-card:focus-visible .project-visual img{
  transform:none !important;
}
.project-visual{ aspect-ratio: 4/3; position:relative; }
.project-visual svg{ position:absolute; inset:0; width:100%; height:100%; }
.featured .project-visual svg{ display:none; }
.project-visual > img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.project-body{ padding: 22px 24px 26px; background: var(--paper); }
.project-tag{ font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform:uppercase; color: var(--orange-2); }
.project-name{ font-family: var(--font-display); font-size: 1.2rem; margin-top: 10px; }
.project-meta{ font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-soft); margin-top: 8px; display:flex; justify-content: space-between; }

/* Keep card hover states consistent with the logo across every page. */
.project-card:hover, .project-card:focus-visible,
.team-card:hover, .team-card:focus-visible,
.company-card:hover, .company-card:focus-visible,
.service-card:hover, .service-card:focus-visible,
.principle-card:hover, .principle-card:focus-visible,
.governance-panel:hover, .governance-panel:focus-visible,
.discipline:hover, .discipline:focus-visible,
.process-step:hover, .process-step:focus-visible,
.contact-card:hover, .contact-card:focus-visible,
.contact-panel:hover, .contact-panel:focus-visible,
.project-type-card:hover, .project-type-card:focus-visible,
.budget-option:hover, .budget-option:focus-visible,
.file-upload-section:hover, .file-upload-section:focus-visible,
.gallery-item:hover, .gallery-item:focus-visible{
  background: var(--brand-green) !important;
  border-color: var(--brand-green-dark) !important;
}
.project-card:hover .project-body, .project-card:focus-visible .project-body{
  background: var(--brand-green) !important;
}
.project-card:hover h2, .project-card:hover h3, .project-card:hover h4, .project-card:hover p, .project-card:hover span,
.project-card:focus-visible h2, .project-card:focus-visible h3, .project-card:focus-visible h4, .project-card:focus-visible p, .project-card:focus-visible span,
.team-card:hover h2, .team-card:hover h3, .team-card:hover h4, .team-card:hover p, .team-card:hover span,
.company-card:hover h2, .company-card:hover h3, .company-card:hover h4, .company-card:hover p, .company-card:hover span,
.service-card:hover h2, .service-card:hover h3, .service-card:hover h4, .service-card:hover p, .service-card:hover span,
.principle-card:hover h2, .principle-card:hover h3, .principle-card:hover h4, .principle-card:hover p, .principle-card:hover span,
.governance-panel:hover h2, .governance-panel:hover h3, .governance-panel:hover h4, .governance-panel:hover p, .governance-panel:hover span,
.discipline:hover h2, .discipline:hover h3, .discipline:hover h4, .discipline:hover p, .discipline:hover span,
.process-step:hover h2, .process-step:hover h3, .process-step:hover h4, .process-step:hover p, .process-step:hover span,
.contact-card:hover h2, .contact-card:hover h3, .contact-card:hover h4, .contact-card:hover p, .contact-card:hover span,
.contact-panel:hover h2, .contact-panel:hover h3, .contact-panel:hover h4, .contact-panel:hover p, .contact-panel:hover span,
.project-type-card:hover h2, .project-type-card:hover h3, .project-type-card:hover h4, .project-type-card:hover p, .project-type-card:hover span,
.budget-option:hover h2, .budget-option:hover h3, .budget-option:hover h4, .budget-option:hover p, .budget-option:hover span,
.file-upload-section:hover h2, .file-upload-section:hover h3, .file-upload-section:hover h4, .file-upload-section:hover p, .file-upload-section:hover span,
.gallery-item:hover h2, .gallery-item:hover h3, .gallery-item:hover h4, .gallery-item:hover p, .gallery-item:hover span{
  color: var(--obsidian) !important;
}

/* Keep the process and featured slider surfaces free of green hover fills. */
.process-step:hover, .process-step:focus-visible{
  background: var(--paper) !important;
}
.project-slider .project-card:hover, .project-slider .project-card:focus-visible,
.project-slider .project-card:hover .project-body, .project-slider .project-card:focus-visible .project-body{
  background: var(--paper) !important;
}
.project-slider__button,
.project-slider__button:hover, .project-slider__button:focus-visible{
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

/* Use the logo palette for headings throughout the site. */
h1 em, h2 em, h3 em, h4 em{ color: var(--brand-green) !important; }

/* Team profiles remain visually stable on hover. */
.team .team-card:hover,
.team .team-card:focus-visible{
  background: var(--paper) !important;
  border-color: var(--line) !important;
  box-shadow: none !important;
  transform: none !important;
}
.team .team-card:hover h2, .team .team-card:hover h3, .team .team-card:hover h4,
.team .team-card:hover p, .team .team-card:hover span,
.team .team-card:focus-visible h2, .team .team-card:focus-visible h3, .team .team-card:focus-visible h4,
.team .team-card:focus-visible p, .team .team-card:focus-visible span{
  color: inherit !important;
}

@media (max-width: 980px){ .project-slider .project-card{ flex-basis:calc((100% - 28px) / 2); } }
@media (max-width: 640px){
  .project-slider{ margin-top:42px; }
  .project-slider__track{ gap:18px; padding-bottom:18px; }
  .project-slider .project-card{ flex-basis:86%; }
  .project-slider__footer{ gap:16px; }
  .project-slider__button{ width:42px; height:42px; }
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner{
  background: rgba(var(--obsidian-rgb), 0.88); color: var(--paper); position: relative; overflow:hidden;
  padding: 100px 0;
}
.cta-banner::before{
  content:""; position:absolute; inset:0;
  background: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px; opacity: 0.5;
  mask-image: radial-gradient(ellipse 70% 100% at 50% 50%, black, transparent);
}
.cta-inner{ position:relative; z-index:1; display:flex; justify-content:space-between; align-items:center; gap: 32px; flex-wrap: wrap; }
.cta-banner h2{ font-size: clamp(1.9rem, 4vw, 3rem); max-width: 14ch; }

/* ==========================================================================
   FOOTER — drafting title block
   ========================================================================== */
.site-footer{ padding-top: 0; }

/* Compact premium footer (moved to Footer/footer.css) */

/* ==========================================================================
   PAGE HERO (Portfolio)
   ========================================================================== */
.page-hero{
  background: var(--navy); color: var(--paper); position:relative; overflow:hidden;
  padding: 170px 0 90px;
}
.page-hero::before{
  content:""; position:absolute; inset:0;
  background: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 60% 90% at 20% 30%, black, transparent 70%);
  opacity: 0.7;
}

/* Remove square/grid watermark from CTA and Page Hero as requested */
.cta-banner::before,
.page-hero::before{
  display: none !important;
}
.page-hero-inner{ position:relative; z-index:2; }
.page-hero h1{ font-size: clamp(2.6rem, 6vw, 4.6rem); margin-top: 18px; max-width: 16ch; }
.page-hero p{ margin-top: 20px; max-width: 50ch; color: rgba(237,239,240,0.7); font-size: 1.05rem; line-height: 1.7; }

/* TEAM HERO - Content only */
.page-hero.team-hero { 
  position: relative; 
  display: block; 
  height: auto;
  min-height: auto;
  padding: 140px 40px 80px 40px !important;
  overflow: visible;
  z-index: 10;
}

.page-hero.team-hero::after {
  content: "";
  position: absolute;
  inset: 18% 14% 20% 14%;
  background: url('../For%20Website/5.Team%20information/1.Michael%20Chiu/Mr%20Mike.jpg') center/cover no-repeat;
  filter: blur(8px) brightness(0.7);
  transform: scale(0.82);
  opacity: 0.16;
  z-index: -1;
  pointer-events: none;
  border-radius: 18px;
}

/* ========================================================================
   HERO CAROUSEL - Auto-playing image slider
   ======================================================================== */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(11, 11, 11, 0.98) 0%, rgba(16, 16, 16, 0.97) 100%);
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

@keyframes carousel-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* ========================================================================
   PREMIUM TEAM SHOWCASE - Cinematic Corporate Design
   ======================================================================== */

.team-showcase {
  position: relative;
  background: #ffffff;
  padding: 100px 0;
  overflow: hidden;
}

.team-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(169, 169, 43, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.team-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  opacity: 0;
  pointer-events: none;
}

.team-showcase-wrapper {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.team-cards-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  perspective: 1200px;
}

/* Premium Angled Card Design */
.team-anchor-alias {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  scroll-margin-top: calc(var(--header-height, 140px) + 24px);
}
.team-showcase-card {
  position: relative;
  width: 280px;
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  scroll-margin-top: calc(var(--header-height, 140px) + 24px);
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateY(0);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 
              0 0 1px rgba(169, 169, 43, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.12);
  border: 1.5px solid var(--brand-green);
  background: linear-gradient(135deg, var(--navy) 0%, var(--graphite) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  animation: team-showcase-float 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.team-showcase-card:nth-child(2) {
  animation-delay: 0.5s;
}

.team-showcase-card:nth-child(3) {
  animation-delay: 1s;
}

.team-showcase-card:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6), 
              0 0 50px rgba(169, 169, 43, 0.35),
              0 0 30px rgba(169, 169, 43, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(169, 169, 43, 0.4);
  animation-play-state: paused;
}

.team-showcase-card:nth-child(even):hover {
  transform: translateY(-12px) scale(1.05);
  animation-play-state: paused;
}

.team-card-image-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--graphite);
}

.team-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-showcase-card:hover .team-card-image {
  transform: scale(1.12);
}

.team-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.25) 35%,
    rgba(5, 18, 32, 0.92) 100%
  );
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-showcase-card:hover .team-card-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.35) 35%,
    rgba(5, 18, 32, 0.97) 100%
  );
}

.team-card-info {
  position: relative;
  z-index: 2;
  padding: 28px 22px 24px;
  text-align: center;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

.team-card-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--paper);
  margin: 0 0 8px 0;
  line-height: 1.2;
  letter-spacing: -0.8px;
  text-transform: uppercase;
}

.team-card-role {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-green);
  margin: 0;
  opacity: 1;
}

.team-card-more {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(169, 169, 43, 0.25) 0%, rgba(169, 169, 43, 0.1) 100%);
  border: 2px solid var(--brand-green);
  color: #000000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  font-size: 20px;
  font-weight: 700;
  z-index: 3;
  opacity: 1;
  transform: scale(0.85);
  box-shadow: 0 0 15px rgba(169, 169, 43, 0.1);
}

.team-card-more::before {
  content: "↗";
}

.team-showcase-card:hover .team-card-more {
  opacity: 1;
  transform: scale(1);
  background: linear-gradient(135deg, rgba(169, 169, 43, 0.4) 0%, rgba(169, 169, 43, 0.2) 100%);
  border-color: var(--brand-green);
  color: #000000;
  box-shadow: 0 0 25px rgba(169, 169, 43, 0.4), 0 0 12px rgba(169, 169, 43, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .team-showcase {
    padding: 70px 0;
  }

  .team-showcase-wrapper {
    padding: 0 30px;
  }

  .team-cards-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .team-showcase-card {
    width: 100%;
    height: 340px;
  }

  .team-card-name {
    font-size: 1.1rem;
  }

  .team-card-more {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .team-showcase {
    padding: 50px 0;
  }

  .team-showcase-wrapper {
    padding: 0 20px;
  }

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

  .team-showcase-card {
    width: 100%;
    height: 280px;
  }

  .team-card-name {
    font-size: 0.95rem;
  }

  .team-card-role {
    font-size: 0.7rem;
  }

  .team-card-info {
    padding: 16px 14px 14px;
  }

  .team-card-more {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .team-showcase {
    padding: 40px 0;
  }

  .team-showcase-wrapper {
    padding: 0 16px;
  }

  .team-cards-container {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .team-showcase-card {
    width: 100%;
    height: 240px;
  }

  .team-card-name {
    font-size: 0.9rem;
  }

  .team-card-role {
    font-size: 0.65rem;
  }

  .team-card-info {
    padding: 12px 10px 10px;
  }

  .team-card-more {
    width: 26px;
    height: 26px;
    font-size: 12px;
    top: 8px;
    right: 8px;
  }
}

.team-hero-content { 
  position: relative; 
  z-index: 1; 
  display: flex; 
  align-items: center;
  width: 100%;
  min-width: 0;
}

.team-hero-content .container {
  max-width: 100%;
  width: 100%;
  padding: 0;
}

.team-hero-content .page-hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.team-hero-carousel { 
  position: relative; 
  z-index: 1; 
  height: 100%;
  min-height: 520px;
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  align-items: center;
  width: 100%;
}

.carousel-track { 
  position: relative; 
  width: 100%; 
  height: 420px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  perspective: 1200px;
  flex-shrink: 0;
  z-index: 2;
}

.carousel-slide { 
  position: absolute; 
  width: 280px; 
  height: 360px; 
  border-radius: 8px; 
  overflow: hidden; 
  background: rgba(255, 255, 255, 0.08); 
  border: 1px solid rgba(255, 255, 255, 0.15); 
  opacity: 0; 
  transform: translateX(400px) rotateY(35deg) scale(0.7); 
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); 
  pointer-events: none; 
  backdrop-filter: blur(8px);
}

.carousel-slide img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
}

.carousel-slide .member-label { 
  position: absolute; 
  bottom: 0; 
  left: 0; 
  right: 0; 
  background: linear-gradient(to top, rgba(5, 18, 32, 0.95), transparent); 
  color: var(--paper); 
  padding: 16px 12px 12px; 
  font-size: 0.95rem; 
  font-weight: 600; 
  text-align: center; 
}

.carousel-slide.active { 
  opacity: 1; 
  transform: translateX(0) rotateY(0deg) scale(1); 
  pointer-events: auto; 
  z-index: 10; 
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4); 
}

.carousel-slide.prev { 
  opacity: 0.5; 
  transform: translateX(-280px) rotateY(-25deg) scale(0.85); 
  z-index: 5; 
  pointer-events: auto;
}

/* Hero blur background layer */
.team-hero::after { 
  content: ""; 
  position: absolute; 
  inset: 0 0 0 0;
  background-image: url('../images/company/background.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: blur(9px) brightness(0.7);
  opacity: 0.92;
  z-index: -2; 
  pointer-events: none; 
  transform: scale(1.12);
}

/* Hero overlay - behind content */
.team-hero::before { 
  content: ""; 
  position: absolute; 
  inset: 0; 
  background: linear-gradient(to bottom, rgba(12, 12, 12, 0.2), rgba(12, 12, 12, 0.82));
  z-index: -1; 
  pointer-events: none; 
  display: block !important;
}

/* Slider controls */
.team-hero-controls { 
  display: flex; 
  gap: 12px; 
  margin-top: 24px; 
  justify-content: center; 
  z-index: 2; 
  opacity: 1; 
  transition: opacity 0.3s ease; 
}

.team-hero-carousel:hover .team-hero-controls { 
  opacity: 1; 
}

.team-hero-control { 
  background: rgba(255, 255, 255, 0.15); 
  border: 1px solid rgba(255, 255, 255, 0.3); 
  color: var(--paper); 
  width: 42px; 
  height: 42px; 
  border-radius: 6px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  cursor: pointer; 
  font-size: 16px; 
  font-weight: 600; 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
  backdrop-filter: blur(8px);
}

.team-hero-control:hover { 
  background: rgba(255, 255, 255, 0.3); 
  border-color: rgba(255, 255, 255, 0.6); 
  transform: scale(1.1); 
}

.team-hero-control:active { 
  transform: scale(0.95); 
}

.team-hero-control.paused::before { 
  content: "▶"; 
  position: absolute; 
}

/* Mobile responsive */
@media (max-width: 1024px) {
  .page-hero.team-hero { 
    grid-template-columns: 1fr; 
    gap: 30px; 
    min-height: auto;
    padding: 80px 40px !important;
  }
  .team-hero-carousel {
    min-height: 480px;
  }
  .carousel-track {
    height: 380px;
  }
  .carousel-slide { 
    width: 240px; 
    height: 320px; 
  }
  .carousel-slide.prev { 
    transform: translateX(-240px) rotateY(-25deg) scale(0.85); 
  }
}

@media (max-width: 640px) {
  .page-hero.team-hero { 
    grid-template-columns: 1fr; 
    gap: 20px;
    padding: 60px 20px !important;
  }
  .team-hero-carousel { 
    min-height: 420px; 
  }
  .carousel-track { 
    height: 340px; 
  }
  .carousel-slide { 
    width: 200px; 
    height: 280px; 
  }
  .carousel-slide.prev { 
    transform: translateX(-200px) rotateY(-25deg) scale(0.85); 
  }
  .team-hero-controls { 
    gap: 8px; 
  }
  .team-hero-control { 
    width: 36px; 
    height: 36px; 
    font-size: 14px; 
  }
}

/* Projects header */
.projects-hero{ min-height:590px; display:flex; align-items:center; }
.projects-hero-inner{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(290px, .72fr);
  grid-template-rows:auto auto auto 1fr;
  column-gap:clamp(36px, 7vw, 110px);
  align-items:start;
}
.projects-hero-inner > .eyebrow,
.projects-hero-inner > h1,
.projects-hero-inner > .section-lede,
.projects-hero-details{ grid-column:1; }
.projects-hero h1{ max-width:10ch; line-height:.98; letter-spacing:-.055em; }
.projects-hero h1 em{ color:var(--orange-2); font-style:normal; }
.projects-hero-details{ display:flex; flex-wrap:wrap; gap:22px; margin-top:38px; }
.projects-hero-details span{
  display:flex; align-items:baseline; gap:8px; color:rgba(245,243,238,.62);
  font-family:var(--font-mono); font-size:.68rem; letter-spacing:.08em; text-transform:uppercase;
}
.projects-hero-details strong{ color:var(--orange-2); font-family:var(--font-display); font-size:1.35rem; }
.projects-hero-image{
  grid-column:2; grid-row:1 / span 4; align-self:center; position:relative; margin:0;
  border:1px solid rgba(245,243,238,.24); padding:10px 10px 38px;
}
.projects-hero-image::before{ content:""; position:absolute; width:48px; height:48px; top:-1px; right:-1px; border-top:3px solid var(--orange); border-right:3px solid var(--orange); }
.projects-hero-image img{ width:100%; aspect-ratio:4 / 4.5; object-fit:cover; filter:saturate(.82) contrast(1.04); }
.projects-hero-image figcaption{ margin-top:12px; color:rgba(245,243,238,.7); font-family:var(--font-mono); font-size:.62rem; letter-spacing:.09em; text-transform:uppercase; }

@media (max-width:850px){
  .projects-hero{ min-height:0; }
  .projects-hero-inner{ grid-template-columns:minmax(0, 1fr) minmax(220px, .6fr); column-gap:32px; }
}

@media (max-width:640px){
  .projects-hero-inner{ display:flex; flex-direction:column; }
  .projects-hero h1{ max-width:11ch; }
  .projects-hero-details{ margin-top:28px; }
  .projects-hero-image{ width:100%; margin-top:34px; }
  .projects-hero-image img{ aspect-ratio:16 / 10; }
}

/* filter tabs */
.filters{ margin-top: 46px; display:flex; gap: 10px; flex-wrap: wrap; position:relative; z-index:1; }
.filter-btn{
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform:uppercase;
  padding: 10px 18px; border: 1px solid var(--line-strong); background: transparent; color: rgba(237,239,240,0.72);
  cursor:pointer; border-radius: var(--radius); transition: all .25s var(--ease);
}
.filter-btn:hover{ color: var(--paper); border-color: var(--steel); }
.filter-btn.is-active{ background: var(--orange); border-color: var(--orange); color: var(--navy); }

/* ==========================================================================
   FULL PROJECT GRID
   ========================================================================== */
.work{ padding: 90px 0 130px; background: var(--paper); }
.work-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.work-grid .project-card[hidden]{ display:none; }
@media (max-width: 980px){ .work-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px){ .work-grid{ grid-template-columns: 1fr; } }

/* ==========================================================================
   TEAM
   ========================================================================== */
.team{ padding:72px 0 130px; background:var(--paper); }
.team-intro{ max-width:680px; }
.team-intro h2{ margin-top:14px; font-size:clamp(1.9rem, 3.5vw, 3rem); }
.team-intro p{ margin-top:14px; color:var(--ink-soft); line-height:1.7; }
.team-grid{ margin-top:52px; display:grid; grid-template-columns:repeat(3, 1fr); gap:40px 28px; align-items:stretch; }
.team-card{
  background:#fff; border:1px solid rgba(15,17,20,0.08); border-radius:22px; padding:20px 18px 22px;
  box-shadow:0 18px 40px rgba(16,24,40,0.05); display:flex; flex-direction:column; align-items:flex-start;
  height:100%; transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.team-card:hover, .team-card:focus-within{ transform:translateY(-6px); box-shadow:0 22px 48px rgba(16,24,40,0.09); border-color:rgba(15,17,20,0.12); }
.avatar{
  width:100%; max-width:220px; aspect-ratio:1; background:#f3f3f3; position: relative; overflow:hidden;
  border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto;
  border:1px solid rgba(15,17,20,0.04);
}
.avatar img{ width:100%; height:100%; object-fit:cover; object-position:center top; position:relative; z-index:1; filter:grayscale(1) contrast(1.02); }
.avatar img.team-photo--clear{ filter:none; }
.team img{ -webkit-filter:grayscale(100%) !important; filter:grayscale(100%) !important; }
.team-dialog img.team-photo--clear{ -webkit-filter:none !important; filter:none !important; }
.avatar:not(.avatar--initials)::before{ display:none; }
.avatar::before{
  content:""; position:absolute; inset:0;
  background: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 18px 18px; opacity:0.25;
}
.avatar span{
  position:relative; z-index:1; font-family: var(--font-display); font-weight:700;
  font-size: 2.4rem; color: var(--paper);
}
.avatar .avatar-tag{
  position:absolute; z-index:1; bottom:14px; left:14px; font-family: var(--font-mono);
  font-size: 0.62rem; color: var(--steel); letter-spacing: 0.1em;
}
.team-name{ font-family: var(--font-display); font-size: 1.15rem; margin-top: 18px; width:100%; }
.team-role{ font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-green); margin-top: 6px; }
.team-bio{ color: var(--ink-soft); font-size: 0.92rem; margin-top: 12px; line-height: 1.65; flex:1; }
.team-read-more{
  margin-top:18px; display:inline-flex; align-items:center; gap:8px; border:1px solid var(--brand-green);
  background:var(--brand-green); color:#111; border-radius:999px; padding:10px 16px; font:700 .72rem/1 var(--font-mono);
  letter-spacing:.1em; text-transform:uppercase; cursor:pointer; transition:transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  box-shadow:0 10px 20px rgba(169,169,43,.18);
}
.team-read-more span{ color:#111; font-size:1rem; margin-left:2px; }
.team-read-more:hover, .team-read-more:focus-visible{ background:var(--brand-green-dark); color:#f5f3ee; border-color:var(--brand-green-dark); transform:translateY(-1px); box-shadow:0 14px 26px rgba(86,99,22,.2); }
.team-read-more:hover span, .team-read-more:focus-visible span{ color:#f5f3ee; }
.team-card.is-visible{ animation:team-card-float 4.8s cubic-bezier(.4,0,.2,1) infinite; animation-delay:calc(var(--reveal-delay, 0ms) + 180ms); }
.team-card:nth-child(3n + 2).is-visible{ animation-delay:calc(var(--reveal-delay, 0ms) + 780ms); }
.team-card:nth-child(3n).is-visible{ animation-delay:calc(var(--reveal-delay, 0ms) + 1380ms); }
.avatar--initials{ background:linear-gradient(145deg, var(--navy), #35404a); color:var(--paper); font-family:var(--font-display); font-size:clamp(2.5rem, 6vw, 4.6rem); letter-spacing:.08em; }
.team-dialog{ width:min(920px, calc(100% - 32px)); max-height:min(860px, calc(100% - 32px)); overflow-y:auto; padding:0; border:0; background:#fff; color:var(--ink); box-shadow:0 24px 80px rgba(0,0,0,.34); }
.team-dialog::backdrop{ background:rgba(10,14,18,.76); backdrop-filter:blur(3px); }
.team-dialog__content{ position:relative; padding:clamp(28px, 6vw, 58px); }
.team-dialog__heading{ display:flex; align-items:center; gap:22px; padding-right:38px; margin-bottom:28px; }
.team-dialog__heading img, .dialog-initials{ width:84px; height:84px; flex:0 0 84px; border-radius:50%; background:transparent; }
.team-dialog__heading img{ object-fit:cover; object-position:center top; }
.team-dialog__heading img{ filter:grayscale(1); }
.team-dialog__heading img.team-photo--clear{ filter:none; }
.dialog-initials{ display:grid; place-items:center; color:var(--paper); font:1.5rem var(--font-display); background:linear-gradient(145deg, var(--navy), #35404a); }
.team-dialog__heading-copy{ min-width:0; }
.team-dialog h2{ font-size:clamp(1.7rem, 4vw, 2.5rem); margin:8px 0 0; }
.team-dialog__summary{ margin-top:12px; color:var(--ink-soft); font-size:1rem; line-height:1.7; }
.team-dialog__grid{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:16px; margin:8px 0 22px; }
.team-dialog__panel,.team-dialog__bio{ border:1px solid rgba(15,17,20,.1); background:var(--warm-white); border-radius:22px; padding:20px 22px; }
.team-dialog__label{ margin:0 0 6px; font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; color:var(--brand-green); font-family:var(--font-mono); }
.team-dialog__value,.team-dialog__bio p{ color:var(--ink-soft); font-size:1rem; line-height:1.8; margin:0; }
.team-dialog__bio h3{ margin:0 0 10px; font-size:1.1rem; }
.dialog-close{ position:absolute; top:18px; right:18px; width:38px; height:38px; border:0; border-radius:0; background:transparent; color:var(--navy); font-size:1.9rem; line-height:1; cursor:pointer; }
.dialog-close::before{ content:"\00d7"; display:block; }
.dialog-close:hover, .dialog-close:focus-visible{ background:transparent; color:var(--orange-2); }

/* ========================================================================
/* ========================================================================
   PREMIUM TEAM CAROUSEL - Coverflow Hero Section
   ======================================================================== */

.hero-carousel-container {
  position: relative;
  margin-top: 70px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 0 20px;
  perspective: 1500px;
  z-index: 2;
}

/* Carousel */
.carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  max-width: 1000px;
  padding: 0 12px;
}

.track-wrap {
  position: relative;
  width: 100%;
  max-width: 920px;
  height: min(56vw, 420px);
  perspective: 1500px;
  touch-action: pan-y;
}

.track {
  position: absolute;
  inset: 0;
  cursor: grab;
}

.track.is-dragging {
  cursor: grabbing;
}

.card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 268px;
  aspect-ratio: 3 / 4;
  margin: calc(268px * -0.6667) 0 0 calc(268px / -2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 50px -20px rgba(20, 18, 14, 0.35);
  will-change: transform, opacity, filter;
  transform-style: preserve-3d;
  background: #111;
  border: 2px solid var(--brand-green);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.65s ease,
              filter 0.65s ease,
              box-shadow 0.65s ease;
}

.track.is-dragging .card {
  transition: none;
}

.card__view {
  position: relative;
  width: 100%;
  height: 100%;
}

.shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.shot--mono {
  filter: grayscale(1) contrast(1.06) brightness(1.06);
}

.card__plate {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 130%);
  border-radius: 4px;
  pointer-events: none;
  z-index: 2;
}

.card__plate b {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  font-family: var(--font-display);
  text-transform: uppercase;
}

.card__plate i {
  color: rgba(255, 255, 255, 0.8);
  font-style: normal;
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-index {
  position: absolute;
  left: clamp(20px, 6vw, 64px);
  top: calc(50% + min(28vw, 210px) + 14px);
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
}

/* Navigation Arrows */
.nav-arrow {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--brand-green);
  background: rgba(169, 169, 43, 0.08);
  color: var(--brand-green);
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav-arrow:hover:not(:disabled) {
  background: var(--brand-green);
  color: #000;
  border-color: var(--brand-green);
}

.nav-arrow:disabled {
  opacity: 0.35;
  cursor: default;
  background: rgba(169, 169, 43, 0.08);
  color: var(--brand-green);
}

/* Carousel Footer */
.hero-hint {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  text-transform: uppercase;
  font-family: var(--font-mono);
  text-align: center;
  z-index: 3;
}

.carousel-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 0;
}

.counter {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brand-green);
  transition: color 0.35s ease;
  font-family: var(--font-mono);
}

.counter .of {
  color: var(--ink-soft);
  font-weight: 400;
}

.dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 22px;
  height: 2px;
  background: rgba(169, 169, 43, 0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
}

.dot.is-active {
  width: 34px;
  background: var(--brand-green);
}

.hint {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  text-transform: uppercase;
  font-family: var(--font-mono);
}

/* Reduce Motion */
@media (prefers-reduced-motion: reduce) {
  .track:not(.is-dragging) .card {
    transition: opacity 0.35s ease;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-carousel-container {
    margin-top: 80px;
    margin-bottom: 60px;
    gap: 24px;
  }

  .track-wrap {
    height: min(50vw, 380px);
  }

  .card {
    width: 240px;
    margin: calc(240px * -0.6667) 0 0 calc(240px / -2);
  }

  .nav-arrow {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .hero-carousel-container {
    margin-top: 60px;
    margin-bottom: 50px;
    gap: 20px;
    padding: 0 16px;
  }

  .track-wrap {
    height: min(60vw, 350px);
  }

  .card {
    width: 210px;
    margin: calc(210px * -0.6667) 0 0 calc(210px / -2);
  }

  .card__plate {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 8px 10px;
  }

  .card__plate b {
    font-size: 13px;
  }

  .card__plate i {
    font-size: 11px;
  }

  .nav-arrow {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .card-index {
    display: none;
  }

  .counter {
    font-size: 12px;
  }

  .dots {
    gap: 6px;
  }

  .dot {
    width: 18px;
    height: 2px;
  }

  .dot.is-active {
    width: 28px;
  }
}

@media (max-width: 560px) {
  .hero-carousel-container {
    margin-top: 40px;
    margin-bottom: 40px;
    gap: 16px;
    padding: 0 12px;
  }

  .carousel {
    gap: 12px;
  }

  .track-wrap {
    height: min(65vw, 300px);
  }

  .card {
    width: 180px;
    margin: calc(180px * -0.6667) 0 0 calc(180px / -2);
    border-radius: 10px;
  }

  .card__plate {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 6px 8px;
    gap: 1px;
  }

  .card__plate b {
    font-size: 12px;
  }

  .card__plate i {
    font-size: 10px;
  }

  .nav-arrow {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .counter {
    font-size: 11px;
  }

  .dot {
    width: 16px;
  }

  .dot.is-active {
    width: 24px;
  }

  .hint {
    font-size: 10px;
  }
}

/* Team Showcase Section - Original Grid */
.team-showcase {
  width: 100%;
  padding: 10px 0 80px;
  background: var(--paper);
  display: flex;
  justify-content: center;
  margin-top: 0;
}

.team-showcase-wrapper {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
}

.team-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

@keyframes team-card-float{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-8px); } }
@keyframes team-showcase-float{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-10px); } }
@media (prefers-reduced-motion:reduce){ .team-card.is-visible{ animation:none; } .team-card:hover, .team-card:focus-within{ transform:none; } }
@media (max-width: 980px){ .team-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px){ .team-grid{ grid-template-columns:1fr; } .team-card{ padding:18px 16px 20px; } .avatar{ max-width:100%; } }

@media (max-width: 980px){ .team-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .team-grid{ grid-template-columns:1fr; gap:36px; } .team-dialog__heading{ gap:16px; flex-direction:column; align-items:flex-start; } .team-dialog__heading img, .dialog-initials{ width:62px; height:62px; flex-basis:62px; } .team-dialog__grid{ grid-template-columns:1fr; } }

.btn-arrow::before,.team-read-more span::before{ content:"\2192"; }
.project-slider__button[data-slider-prev]::before{ content:"\2190"; }
.project-slider__button[data-slider-next]::before{ content:"\2192"; }

/* ========================================================================== 
   ABOUT
   ========================================================================== */
.about-main{ padding-block: 128px; }
.about-grid{ display:grid; grid-template-columns:minmax(0, 1.6fr) minmax(260px, .75fr); gap:clamp(48px, 8vw, 112px); align-items:start; }
.company-background{ max-width:1120px; margin-inline:auto; text-align:center; }
.company-background .eyebrow{ justify-content:center; }
.company-background h2{ margin-top:18px; font-size:clamp(2rem, 4vw, 3.4rem); }
.company-cards{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:16px; margin-top:36px; }
.about-grid{ margin-top:96px; }
.company-card{ min-height:230px; padding:28px; border:1px solid rgba(23,26,29,.14); background:var(--warm-white); box-shadow:0 14px 32px rgba(0,0,0,.05); transition:transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
.company-card:hover{ transform:translateY(-6px); background:var(--obsidian); color:var(--warm-white); box-shadow:0 20px 36px rgba(0,0,0,.1); }
.company-card-index{ display:block; color:var(--orange-2); font-family:var(--font-mono); font-size:.72rem; letter-spacing:.12em; }
.company-card h3{ margin-top:38px; font-size:1.18rem; line-height:1.15; }
.company-card p{ margin-top:14px; color:var(--ink-soft); font-size:.94rem; line-height:1.65; }
.company-card:hover p{ color:rgba(245,243,238,.78); }
.about-text > h2{ margin-top:68px; }
.about-text > h3{ margin-top:38px; }
.about-text > p, .about-text > ul{ margin-top:16px; color:var(--ink-soft); line-height:1.7; }
.about-text > ul{ padding-left:20px; }
.about-side{ padding:28px; border-top:2px solid var(--orange-2); background:rgba(23,26,29,.04); }
.about-side h4{ font-family:var(--font-mono); font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; }
.about-side .team-grid{ margin-top:24px; }
@media (max-width:1100px){ .about-grid{ grid-template-columns:1fr; } .about-side{ max-width:680px; } .company-cards{ grid-template-columns:repeat(2, minmax(0, 1fr)); } }
@media (max-width:640px){ .about-main{ padding-block:84px; } .company-cards{ grid-template-columns:1fr; } .company-card{ min-height:0; padding:24px; } .company-card h3{ margin-top:28px; } }

/* Services, mission, objectives and values */
.company-principles{ padding:112px 0; background:var(--sand); }
.principles-intro{ max-width:650px; }
.principles-intro h2, .governance-panel h2{ margin-top:18px; font-size:clamp(2rem, 4vw, 3.4rem); }
.principles-intro > p{ margin-top:18px; color:var(--ink-soft); line-height:1.7; }
.principles-spaced{ margin-top:108px; }
.services-cards{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:16px; margin-top:40px; }
.architectural-service-groups{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:16px; margin-top:40px; }
.architectural-service-group{ padding:32px; border:1px solid rgba(23,26,29,.15); background:var(--warm-white); }
.architectural-service-group h3{ font-size:1.18rem; line-height:1.25; }
.architectural-service-group ul{ display:grid; gap:14px; margin:26px 0 0; padding:0; list-style:none; }
.architectural-service-group li{ padding-left:18px; color:var(--ink-soft); font-size:.92rem; line-height:1.6; position:relative; }
.architectural-service-group li::before{ content:""; width:6px; height:6px; background:var(--orange-2); position:absolute; left:0; top:.58em; }
.architectural-service-group strong{ color:var(--ink); font-weight:600; }
.service-card, .principle-card{ border:1px solid rgba(23,26,29,.15); background:var(--warm-white); }
.service-card{ min-height:214px; padding:28px; transition:transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
.service-card:hover, .principle-card:hover{ transform:translateY(-6px); background:var(--obsidian); color:var(--warm-white); box-shadow:0 18px 32px rgba(0,0,0,.1); }
.service-card > span, .principle-card > span{ color:var(--orange-2); font-family:var(--font-mono); font-size:.72rem; letter-spacing:.12em; }
.service-card h3{ margin-top:34px; font-size:1.16rem; line-height:1.2; }
.service-card p{ margin-top:12px; color:var(--ink-soft); font-size:.92rem; line-height:1.6; }
.service-card:hover p{ color:rgba(245,243,238,.78); }
.service-card-image{ display:block; width:100%; height:150px; margin-top:22px; object-fit:cover; filter:saturate(.88); transition:filter .3s var(--ease), transform .3s var(--ease); }
.service-card:hover .service-card-image{ filter:saturate(1); transform:scale(1.015); }
.principles-cards{ display:grid; grid-template-columns:repeat(auto-fit, minmax(190px, 1fr)); gap:16px; margin-top:40px; }
.legacy-company-intro{ display:none; }
.principle-card{ min-height:250px; padding:28px; transition:transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
.principle-card p{ margin-top:36px; font-family:var(--font-display); font-size:1.05rem; line-height:1.42; }
.governance-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:80px; }
.governance-panel{ min-height:340px; padding:36px; background:var(--charcoal); color:var(--paper); }
.governance-panel .eyebrow{ color:var(--steel); }
.governance-panel .eyebrow::before{ background:var(--steel); }
.governance-panel h2{ max-width:12ch; }
.governance-panel ol{ display:grid; gap:16px; margin:34px 0 0; padding-left:20px; color:rgba(245,245,245,.72); line-height:1.55; }
.values-panel{ background:var(--orange-2); color:var(--paper); }
.values-panel .eyebrow{ color:rgba(255,255,255,.75); }
.values-panel .eyebrow::before{ background:currentColor; }
.value-list{ display:flex; flex-wrap:wrap; gap:10px; margin:34px 0 0; padding:0; list-style:none; }
.value-list li{ padding:10px 12px; border:1px solid rgba(255,255,255,.4); font-family:var(--font-mono); font-size:.75rem; letter-spacing:.04em; }
.service-card[data-reveal], .principle-card[data-reveal], .governance-panel[data-reveal]{ transition-delay:var(--reveal-delay, 0ms); }
@media (max-width:980px){ .services-cards{ grid-template-columns:repeat(2, minmax(0, 1fr)); } .principles-cards{ grid-template-columns:repeat(2, minmax(0, 1fr)); } }
@media (max-width:640px){ .company-principles{ padding:72px 0; } .principles-spaced{ margin-top:72px; } .services-cards, .architectural-service-groups, .principles-cards, .governance-grid{ grid-template-columns:1fr; } .service-card, .principle-card, .architectural-service-group{ min-height:0; padding:24px; } .governance-grid{ margin-top:52px; } .governance-panel{ min-height:0; padding:28px 24px; } }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.js [data-reveal]{ opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-visible{ opacity: 1; transform: translateY(0); }
/* If the reveal observer never runs (JS error, very slow load) show content after 4s. */
.js [data-reveal]{ animation: reveal-failsafe 0s linear 4s forwards; }
@keyframes reveal-failsafe{ to{ opacity:1; transform:none; } }
.motion-card[data-reveal]{ transition-delay:var(--reveal-delay, 0ms); will-change:transform, opacity; }

/* Contact panels remain fluid from desktop down to small phones. */
.contact-layout{ display:grid; grid-template-columns:minmax(0, 1fr) minmax(280px, 420px); gap:32px; }
.contact-panel{ min-width:0; }
.contact-map{ display:flex; align-items:center; justify-content:center; height:260px; margin-top:18px; border:1px solid var(--line); background:#e9e9e9; color:#333; }
@media (max-width:780px){ .contact-layout{ grid-template-columns:1fr; } .contact-map{ height:220px; } }

/* Desktop cursor follower: disabled on touch devices and for reduced motion. */
.cursor-follower{ position:fixed; top:0; left:0; z-index:10000; width:30px; height:30px; border:1px solid var(--brand-green-light); border-radius:50%; pointer-events:none; opacity:0; box-shadow:0 0 0 5px rgba(169,169,43,.10),0 0 18px rgba(169,169,43,.34); transition:width .24s var(--ease),height .24s var(--ease),opacity .2s ease,border-color .24s ease,background .24s ease,box-shadow .24s ease; will-change:transform; }
.cursor-follower span{ position:absolute; top:50%; left:50%; width:5px; height:5px; border-radius:50%; background:var(--brand-green-light); box-shadow:0 0 10px rgba(194,194,74,.9); transform:translate(-50%, -50%); }
.cursor-follower.is-visible{ opacity:1; }
.cursor-follower.is-interactive{ width:46px; height:46px; border-color:var(--brand-green-light); background:rgba(169,169,43,.20); box-shadow:0 0 0 8px rgba(169,169,43,.12),0 0 28px rgba(169,169,43,.46); }
.cursor-trail-dot{ position:fixed; z-index:9999; width:var(--dot-size); height:var(--dot-size); margin:calc(var(--dot-size) / -2) 0 0 calc(var(--dot-size) / -2); border-radius:50%; background:var(--brand-green-light); box-shadow:0 0 9px rgba(194,194,74,.75); pointer-events:none; animation:cursor-dot-float .72s ease-out forwards; }
@keyframes cursor-dot-float{ from{ opacity:.82; transform:translate3d(0,0,0) scale(1); } to{ opacity:0; transform:translate3d(var(--drift-x),-26px,0) scale(.25); } }
@media (prefers-reduced-motion: reduce){
  .js [data-reveal], [data-reveal]{ opacity:1; transform:none; animation:none; }
  .cursor-follower{ display:none; }
}

/* Keep all standard page layouts clear of the fixed mobile header and fluid
   at phone widths. These final rules intentionally follow page components. */
@media (max-width:850px){
  .page-hero{ padding:calc(var(--header-height) + 58px) 0 64px; }
  .page-hero h1{ font-size:clamp(2.35rem, 9vw, 3.7rem); }
  .work, .team{ padding:64px 0 80px; }
  .filters{
    flex-wrap:nowrap;
    overflow-x:auto;
    margin-inline:calc(var(--gutter) * -1);
    padding:0 var(--gutter) 6px;
    scrollbar-width:thin;
    -webkit-overflow-scrolling:touch;
  }
  .filter-btn{ flex:0 0 auto; white-space:nowrap; }
}

@media (max-width:640px){
  .page-hero{ padding:calc(var(--header-height) + 52px) 0 52px; }
  .page-hero p, .section-lede{ font-size:1rem; }
  .work, .team{ padding:52px 0 68px; }
  .team-grid{ margin-top:36px; }
  input, select, textarea{ font-size:16px; }
  .team-hero-controls{ bottom: 20px; right: 20px; gap: 8px; }
  .team-hero-control{ width: 36px; height: 36px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce){
  .team-hero-slide { animation: none !important; opacity: 1 !important; }
  .team-hero-slide.active { animation: none !important; opacity: 1; }
  @keyframes teamSlideShowAdvanced { 0%, 100% { opacity: 1; filter: none; } }
  @keyframes teamBreath { 0%, 100% { transform: none; } }
}

/* Home page only: editorial project-led hero. */
.home-hero{ isolation:isolate; min-height:720px; background:var(--obsidian) !important; background-image:none !important; display:flex; align-items:center; justify-content:center; padding:142px 0 108px; }
.home-hero::after{ display:none; }
.home-hero__layout{ width:100%; display:grid; grid-template-columns:minmax(0,.95fr) minmax(380px,.78fr); gap:clamp(48px,8vw,128px); align-items:center; }
.home-hero__copy{ position:relative; z-index:1; animation:home-hero-content-float 5s ease-in-out infinite alternate; }
@keyframes home-hero-content-float{ from{ transform:translateY(-7px); } to{ transform:translateY(7px); } }
.home-hero .hero-heading{ max-width:9ch; margin-top:20px; font-size:clamp(3.15rem,5.9vw,5.85rem); letter-spacing:-.055em; }
.home-hero__kicker{ margin-top:30px; color:rgba(245,243,238,.48); font-family:var(--font-mono); font-size:.67rem; letter-spacing:.13em; text-transform:uppercase; }
.home-hero .hero-sub{ max-width:48ch; color:rgba(245,243,238,.7); }
.home-hero .hero-actions{ margin-top:34px; }
.home-hero .legacy-company-intro{ display:none; }
.home-hero__project{ position:relative; margin:0; padding:0 0 0 clamp(18px,2.4vw,34px); }
.home-hero__project::before{ content:""; position:absolute; inset:clamp(25px,5vw,70px) 0 44px; border:1px solid rgba(169,169,43,.72); transform:translate(-18px,18px); }
.home-hero__image-wrap{ position:relative; z-index:1; overflow:hidden; background:var(--graphite); aspect-ratio:1.14 / 1; }
.home-hero__image-wrap::after{ content:""; position:absolute; inset:0; background:linear-gradient(135deg,rgba(11,11,11,.1),rgba(11,11,11,.42)); }
.home-hero__image-wrap img{ width:100%; height:100%; object-fit:cover; transform:scale(1.025); transition:transform .8s var(--ease); }
.home-hero__project:hover img{ transform:scale(1.08); }
.home-hero__image-index{ position:absolute; z-index:1; top:20px; right:20px; color:var(--paper); font-family:var(--font-mono); font-size:.7rem; letter-spacing:.14em; }
.home-hero__project figcaption{ position:relative; z-index:2; width:min(88%,350px); margin:-34px 0 0 -34px; padding:20px 22px; background:var(--paper); color:var(--obsidian); }
.home-hero__project figcaption span{ display:block; color:var(--brand-green-dark); font-family:var(--font-mono); font-size:.63rem; font-weight:700; letter-spacing:.13em; text-transform:uppercase; }
.home-hero__project figcaption strong{ display:block; margin-top:5px; font-family:var(--font-display); font-size:1.15rem; font-weight:600; letter-spacing:-.025em; }
.home-hero__project figcaption a{ display:inline-flex; gap:8px; margin-top:13px; border-bottom:1px solid rgba(11,11,11,.35); font-family:var(--font-mono); font-size:.64rem; letter-spacing:.08em; text-transform:uppercase; }
.home-hero__project figcaption a span{ display:inline; color:inherit; font-size:.78rem; }
.home-hero__footer{ position:absolute; bottom:30px; left:var(--gutter); right:var(--gutter); display:flex; justify-content:space-between; color:rgba(245,243,238,.44); font-family:var(--font-mono); font-size:.62rem; letter-spacing:.12em; text-transform:uppercase; }
.home-hero__scroll{ display:flex; align-items:center; gap:10px; }.home-hero__scroll i{ display:block; width:44px; height:1px; background:var(--brand-green); }
@media (max-width:800px){ .home-hero{ min-height:0; padding:136px 0 88px; }.home-hero__layout{ grid-template-columns:1fr; gap:54px; }.home-hero .hero-heading{ max-width:10ch; }.home-hero__project{ width:min(100%,570px); margin-left:auto; }.home-hero__footer{ display:none; } }
@media (max-width:640px){ .home-hero{ padding:126px 0 64px; }.home-hero__layout{ gap:38px; }.home-hero .hero-heading{ font-size:clamp(2.75rem,12.5vw,3.85rem); }.home-hero__kicker{ margin-top:22px; }.home-hero .hero-actions .btn{ flex:1 1 auto; }.home-hero__project{ padding-left:16px; }.home-hero__project::before{ inset:24px 0 36px; transform:translate(-12px,12px); }.home-hero__project figcaption{ width:92%; margin:-24px 0 0 -16px; padding:16px 18px; } }

/* Project showcase background and slide transitions. */
.home-hero__background{ position:absolute; inset:-48px; z-index:-2; overflow:hidden; background:var(--obsidian); }
.home-hero__background-image{ position:absolute; inset:0; opacity:0; background-position:center; background-size:cover; filter:grayscale(.25) brightness(.32) saturate(.7); transform:scale(1.12); transition:opacity 1.65s cubic-bezier(.22,1,.36,1),transform 9s cubic-bezier(.22,1,.36,1); }
.home-hero__background-image.is-active{ opacity:1; transform:scale(1.18); animation:home-hero-background-breathe 9s ease-in-out infinite alternate; }
@keyframes home-hero-background-breathe{ from{ transform:scale(1.12); } to{ transform:scale(1.21); } }
.home-hero__project-description{ margin:8px 0 0; color:rgba(11,11,11,.62); font-size:.78rem; line-height:1.55; }
.home-hero__image-wrap img{ opacity:1; transition:opacity .58s cubic-bezier(.22,1,.36,1),transform .85s cubic-bezier(.22,1,.36,1); }
.home-hero__image-wrap img.is-changing{ opacity:0; transform:scale(1.065) translateX(-1.2%); }
.home-hero__controls{ display:flex; gap:7px; margin-top:16px; }
.home-hero__controls button{ width:25px; height:3px; padding:0; border:0; background:rgba(11,11,11,.2); cursor:pointer; transition:width .25s var(--ease),background .25s var(--ease); }
.home-hero__controls button.is-active{ width:43px; background:var(--brand-green-dark); }
.home-hero__controls button:focus-visible{ outline:2px solid var(--brand-green-dark); outline-offset:3px; }
.home-hero__loader{ position:absolute; z-index:3; top:0; left:0; display:block; width:0; height:3px; background:var(--brand-green); box-shadow:0 0 14px rgba(169,169,43,.5); }
.home-hero__project.is-loading .home-hero__loader{ animation:home-hero-load .98s cubic-bezier(.22,1,.36,1) both; }
.home-hero__project.is-loading .home-hero__image-wrap{ animation:home-hero-image-in .7s cubic-bezier(.22,1,.36,1) both; }
@keyframes home-hero-load{ 0%{ width:0; } 74%{ width:100%; } 100%{ width:0; margin-left:100%; } }
@keyframes home-hero-image-in{ from{ opacity:.58; transform:translateY(7px); } to{ opacity:1; transform:translateY(0); } }
@media (prefers-reduced-motion:reduce){ .home-hero__background-image,.home-hero__image-wrap img{ transition:none; }.home-hero__background-image.is-active{ transform:scale(1.12); animation:none; }.home-hero__copy{ animation:none; } }

/* Keep every page's primary heading at the same responsive display scale. */
.hero-heading,
.page-hero h1,
.contact-hero-title,
.portfolio-title{
  font-size:clamp(3.15rem,5.9vw,5.85rem) !important;
}
