/* =========================================================
   FiberKret CY — LUXE edition
   Minimal-luxury, lowercase, cinematic (bbf-inspired)
   ========================================================= */

:root {
  --font: "Sofia Sans", system-ui, -apple-system, sans-serif;

  /* Architectural Concrete neutrals — graphite + limestone + burnt amber */
  --ivory:    oklch(0.955 0.004 85);   /* limestone #F4F2EE */
  --ivory-2:  oklch(0.930 0.006 82);
  --paper:    oklch(0.992 0.001 85);   /* white     #FFFFFF */
  --ink:      oklch(0.235 0.003 265);  /* near-black #1A1A1A */
  --ink-2:    oklch(0.340 0.008 268);  /* graphite  #2B2D31 */
  --char:     oklch(0.200 0.005 266);
  --char-2:   oklch(0.260 0.006 266);
  --taupe:    oklch(0.525 0.011 78);   /* concrete gray #9A958C */
  --taupe-2:  oklch(0.635 0.009 80);
  --line:     oklch(0.860 0.006 80);
  --line-2:   oklch(0.780 0.009 74);
  --line-dk:  oklch(0.360 0.008 266);
  --bronze:   oklch(0.595 0.170 45);   /* burnt amber — saturated */
  --bronze-d: oklch(0.510 0.155 44);

  --gutter: clamp(22px, 6vw, 110px);
  --maxw: 1360px;
  --ease: cubic-bezier(0.22, 0.7, 0.25, 1);
  --ease-cine: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--ivory);
  color: var(--ink);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }

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

/* ---------- type ---------- */
.eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bronze); display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow.center { justify-content: center; }

h1, h2, h3, h4 { font-weight: 300; letter-spacing: -0.02em; line-height: 1.04; }
.h-display {
  font-size: clamp(2rem, 5.2vw, 4.5rem);
  font-weight: 200; letter-spacing: -0.035em; line-height: 0.98;
  text-transform: none;
}
.h-xl { font-size: clamp(2.1rem, 5vw, 4.1rem); font-weight: 250; letter-spacing: -0.03em; line-height: 1.02; text-transform: none; }
.h-lg { font-size: clamp(1.7rem, 3.4vw, 3rem); font-weight: 300; letter-spacing: -0.022em; text-transform: none; }
.h-md { font-size: clamp(1.35rem, 2.2vw, 2rem); font-weight: 300; letter-spacing: -0.018em; text-transform: none; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.32rem); line-height: 1.62; color: var(--ink-2); font-weight: 350; max-width: 60ch; }
.muted { color: var(--taupe); }
.thin-rule { height: 1px; background: var(--line); border: none; }

/* ---------- buttons / links ---------- */
.btn {
  --bg: var(--ink); --fg: var(--ivory);
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--bg); color: var(--fg);
  font-size: 14px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 17px 30px; border-radius: 0;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.btn .ar { transition: transform .4s var(--ease); }
.btn:hover { background: var(--bronze); color: #fff; }
.btn:hover .ar { transform: translateX(6px); }
.btn.outline { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.outline:hover { box-shadow: inset 0 0 0 1px var(--ink); background: var(--ink); color: var(--ivory); }
.btn.on-dark { --bg: var(--ivory); --fg: var(--ink); }
.btn.on-dark.outline { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.32); }
.btn.on-dark.outline:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px #fff; }

.tlink {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  padding-bottom: 6px; position: relative; color: var(--ink);
}
.tlink::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--line-2); transition: background .3s, transform .4s var(--ease); transform-origin: left; }
.tlink .ar { transition: transform .4s var(--ease); }
.tlink:hover::after { background: var(--bronze); }
.tlink:hover .ar { transform: translateX(6px); }
.tlink.light { color: #fff; } .tlink.light::after { background: rgba(255,255,255,.35); }

/* =========================================================
   HEADER
   ========================================================= */
.lhead { position: fixed; inset: 0 0 auto 0; z-index: 90; transition: background .5s var(--ease), box-shadow .5s var(--ease); }
/* section-aware: over a dark section the header becomes a solid dark bar */
.lhead[data-top="0"].on-dark { background: var(--ink); box-shadow: 0 1px 0 rgba(255,255,255,.08); --nav-fg: #fff; }
.lhead[data-top="0"].on-dark .logo { filter: brightness(0) invert(1); }
.lhead .bar { display: flex; align-items: center; justify-content: space-between; height: 96px; transition: height .5s var(--ease); }
.lhead .logo { height: 52px; transition: height .5s var(--ease), filter .4s var(--ease); filter: brightness(0) invert(1); }
.lhead[data-top="0"] { background: var(--ivory); box-shadow: 0 1px 0 var(--line); }
.lhead[data-top="0"] .bar { height: 72px; }
.lhead[data-top="0"] .logo { height: 40px; filter: none; }

.lbrand { position: relative; display: flex; align-items: center; }
.lnav { display: flex; align-items: center; gap: 34px; }
.lnav a { font-size: 14px; font-weight: 450; letter-spacing: 0.02em; text-transform: none; color: var(--nav-fg, #fff); opacity: .82; transition: opacity .25s, color .5s var(--ease); position: relative; }
.lnav a:hover { opacity: 1; color: var(--bronze); }
.lhead[data-top="0"] { --nav-fg: var(--ink); }
.lhead[data-top="1"] { --nav-fg: #fff; }
.lright { display: flex; align-items: center; gap: 20px; }
.llang { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; color: var(--nav-fg,#fff); transition: color .5s var(--ease); }
.llang button { opacity: .5; transition: opacity .25s; padding: 4px 3px; color: inherit; line-height: 1; }
.llang button.active { opacity: 1; }
.llang .sep { opacity: .35; line-height: 1; display: inline-flex; align-items: center; }
.lcta { font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--nav-fg,#fff); padding: 11px 22px; box-shadow: inset 0 0 0 1px currentColor; transition: background .3s, color .3s; opacity:.9;}
.lcta:hover { background: var(--nav-fg,#fff); color: var(--hero-cta-h, var(--ink)); opacity:1; }
.lhead[data-top="1"] .lcta:hover { color: var(--ink); }

.lburger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 6px; align-items: flex-end; }
.lburger span { height: 1.5px; background: var(--nav-fg,#fff); transition: transform .35s var(--ease), opacity .35s, width .35s; width: 26px; }
.lburger span:nth-child(2){ width: 18px; }
.lburger.open span:nth-child(1){ transform: translateY(7.5px) rotate(45deg); width:26px; }
.lburger.open span:nth-child(2){ opacity: 0; }
.lburger.open span:nth-child(3){ transform: translateY(-7.5px) rotate(-45deg); width:26px; }

/* mobile menu */
.lmenu { position: fixed; inset: 0; z-index: 80; background: var(--char); color: #fff; transform: translateY(-101%); transition: transform .6s var(--ease-cine); visibility: hidden; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gutter); }
.lmenu.open { transform: none; visibility: visible; }
.lmenu a { font-size: clamp(2rem,8vw,3.2rem); font-weight: 250; text-transform: none; letter-spacing: -0.02em; padding: 12px 0; border-bottom: 1px solid var(--line-dk); color:#fff; transition: color .25s var(--ease); }
.lmenu a:hover { color: var(--bronze); }
.lmenu .mfoot { margin-top: 40px; display: flex; gap: 24px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--taupe-2); }

/* =========================================================
   HERO
   ========================================================= */
.lhero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; color: #fff; }
.lhero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 200px; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(16,12,8,.5), rgba(16,12,8,0)); }
.lhero-media { position: absolute; inset: 0; }
.lhero-media img { width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.lhero-media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(to top, rgba(20,15,10,.62) 0%, rgba(20,15,10,.12) 42%, rgba(20,15,10,.05) 70%, rgba(20,15,10,.22) 100%); }
.lhero-inner { position: relative; height: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(48px, 7vh, 96px); }
.lhero .eyebrow { color: rgba(255,255,255,.85); }
.lhero .eyebrow::before { background: rgba(255,255,255,.7); }
.lhero h1 { margin: 22px 0 0; max-width: none; white-space: pre-line; text-shadow: 0 1px 30px rgba(0,0,0,.25); }
.lhero-sub { margin-top: 26px; font-size: clamp(1.05rem,1.5vw,1.3rem); font-weight: 350; max-width: 46ch; color: rgba(255,255,255,.9); }
.lhero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.lhero-meta { position: absolute; left: 0; right: 0; bottom: 0; }
.lhero-meta .row { max-width: var(--maxw); margin: 0 auto; padding: 20px var(--gutter); display: flex; gap: 34px; flex-wrap: wrap; align-items: center; border-top: 1px solid rgba(255,255,255,.16); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.lhero-meta .row span b { color: #fff; font-weight: 600; }

.scroll-cue { position: absolute; right: var(--gutter); bottom: calc(clamp(48px,7vh,96px)); display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,.7); writing-mode: vertical-rl; }
.scroll-cue .ln { width: 1px; height: 54px; background: rgba(255,255,255,.4); position: relative; overflow: hidden; }
.scroll-cue .ln::after { content:""; position:absolute; top:-60%; left:0; width:1px; height:60%; background:#fff; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0%{transform:translateY(0)} 60%,100%{transform:translateY(260%)} }

/* =========================================================
   SECTION SHELL
   ========================================================= */
.sec { padding-block: clamp(84px, 11vw, 168px); }
.sec.tight { padding-block: clamp(64px, 8vw, 120px); }
.alt { background: var(--ivory-2); }
.dark { background: var(--char); color: var(--ivory); }
.dark .lead { color: rgba(255,255,255,.74); }
.dark .eyebrow { color: var(--taupe-2); }

/* statement */
.statement { display: grid; grid-template-columns: 1fr; gap: 40px; }
.statement .big { max-width: 18ch; }
.statement .cols { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 7vw, 120px); align-items: end; }
.statement .cols .right { padding-bottom: 6px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 70px; }
.dark .stats { border-color: var(--line-dk); }
.stat { padding: 40px 0; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: clamp(22px, 3vw, 52px); }
.dark .stat + .stat { border-color: var(--line-dk); }
.stat:not(:last-child) { padding-right: clamp(22px,3vw,52px); }
.stat .v { font-size: clamp(1.3rem, 2vw, 1.9rem); font-weight: 250; letter-spacing: -0.02em; text-transform: none; line-height: 1.1; }
.stat .k { margin-top: 14px; font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--taupe); }
.dark .stat .k { color: var(--taupe-2); }

/* =========================================================
   FEATURED PROJECTS
   ========================================================= */
.feat { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.feat + .feat { margin-top: 0; }
.feat .media { overflow: hidden; position: relative; min-height: 460px; }
.feat .media img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.feat .body { display: flex; flex-direction: column; justify-content: center; padding: clamp(46px, 6vw, 100px); }
.feat .body .ix { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze); }
.feat .body h3 { margin: 20px 0 14px; }
.feat .body .loc { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--taupe); margin-bottom: 22px; }
.feat .body p { color: var(--ink-2); max-width: 42ch; margin-bottom: 34px; font-weight: 350; }
.feat.rev .media { order: 2; }
.feat.dark { background: var(--char); color: var(--ivory); }
.feat.dark p { color: rgba(255,255,255,.74); }
.feat.alt2 { background: var(--ivory-2); }

/* =========================================================
   SOLUTIONS (refined list)
   ========================================================= */
.sols { border-top: 1px solid var(--line); margin-top: 64px; }
.sol { display: grid; grid-template-columns: 0.5fr 1fr 0.7fr auto; gap: clamp(20px,3vw,56px); align-items: baseline; padding: clamp(30px,3.4vw,52px) 0; border-bottom: 1px solid var(--line); transition: padding-left .45s var(--ease), background .45s var(--ease); }
.sol:hover { padding-left: 18px; }
.sol .ix { font-size: 13px; letter-spacing: 0.14em; color: var(--bronze); padding-top: 8px; }
.sol h3 { font-size: clamp(1.5rem, 2.4vw, 2.3rem); }
.sol .desc { color: var(--ink-2); font-size: 15.5px; font-weight: 350; }
.sol .go { width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); display: grid; place-items: center; transition: background .35s var(--ease), color .35s, box-shadow .35s; align-self: center; flex-shrink: 0; }
.sol:hover .go { background: var(--ink); color: var(--ivory); box-shadow: inset 0 0 0 1px var(--ink); }

/* =========================================================
   VALUES
   ========================================================= */
.vals { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 56px); }
.val .n { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze); }
.val h4 { font-size: clamp(1.3rem,1.8vw,1.7rem); margin: 18px 0 12px; }
.val p { font-size: 15px; color: var(--ink-2); font-weight: 350; }
.dark .val p { color: rgba(255,255,255,.7); }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.quote-wrap { max-width: 26ch; }
.bigq { font-size: clamp(1.7rem, 3.4vw, 3rem); font-weight: 250; letter-spacing: -0.02em; line-height: 1.18; text-transform: none; text-wrap: balance; }
.testis { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(28px,4vw,70px); margin-top: 60px; border-top: 1px solid var(--line); padding-top: 48px; }
.dark .testis { border-color: var(--line-dk); }
.tq p { font-size: 1.12rem; font-weight: 350; line-height: 1.5; }
.tq .who { margin-top: 26px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe); }
.dark .tq .who { color: var(--taupe-2); }
.tq .who b { display:block; color: var(--ink); font-weight:600; letter-spacing:.06em; margin-bottom:4px; }
.dark .tq .who b { color:#fff; }

/* =========================================================
   FAQ
   ========================================================= */
.faqs { border-top: 1px solid var(--line); }
.fitem { border-bottom: 1px solid var(--line); }
.fq { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; text-align: left; padding: 30px 0; }
.fq .qt { font-size: clamp(1.15rem, 1.7vw, 1.5rem); font-weight: 300; letter-spacing: -0.015em; text-transform: none; }
.fq .pm { position: relative; width: 22px; height: 22px; flex-shrink: 0; }
.fq .pm::before, .fq .pm::after { content:""; position:absolute; background: var(--bronze); transition: transform .4s var(--ease); }
.fq .pm::before { top: 10px; left: 0; right: 0; height: 1.5px; }
.fq .pm::after { left: 10px; top: 0; bottom: 0; width: 1.5px; }
.fitem.open .fq .pm::after { transform: scaleY(0); }
.fa { overflow: hidden; max-height: 0; transition: max-height .5s var(--ease); }
.fa .in { padding: 0 0 32px; color: var(--ink-2); max-width: 74ch; font-weight: 350; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { background: var(--char); color: var(--ivory); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 7vw, 120px); align-items: start; }
.contact .eyebrow { color: var(--taupe-2); }
.contact h2 { margin: 24px 0 30px; }
.cinfo { margin-top: 44px; }
.cinfo a, .cinfo .it { display: flex; align-items: baseline; gap: 22px; padding: 20px 0; border-top: 1px solid var(--line-dk); }
.cinfo .k { font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--taupe-2); min-width: 92px; }
.cinfo .v { font-size: clamp(1.05rem,1.5vw,1.35rem); font-weight: 300; text-transform: none; transition: color .25s; }
.cinfo a:hover .v { color: var(--bronze); }

.lform .fld { margin-bottom: 20px; }
.lform .two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lform label { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe-2); margin-bottom: 12px; }
.lform input, .lform textarea {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--line-dk);
  color: #fff; padding: 10px 0; font-family: var(--font); font-size: 16px; font-weight: 350;
  transition: border-color .3s;
}
.lform input::placeholder, .lform textarea::placeholder { color: rgba(255,255,255,.32); }
.lform input:focus, .lform textarea:focus { outline: none; border-color: var(--bronze); }
.lform textarea { resize: vertical; min-height: 70px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; padding: 10px 18px; box-shadow: inset 0 0 0 1px var(--line-dk); color: rgba(255,255,255,.7); transition: all .25s; cursor: pointer; user-select: none; }
.chip.on { background: var(--ivory); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ivory); }
.lform .btn { margin-top: 14px; }
.lform .note { font-size: 12px; letter-spacing: 0.08em; color: var(--taupe-2); margin-top: 16px; display: none; }
.consent { font-size: 12px; color: var(--taupe-2); margin-top: 18px; line-height: 1.5; }

/* =========================================================
   FOOTER
   ========================================================= */
.lfoot { background: #000; color: #fff; padding-block: clamp(64px,8vw,120px) 40px; }
.lfoot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: clamp(90px, 18vh, 230px); }
.lfoot-logo img { height: clamp(46px, 5.5vw, 68px); width: auto; }
.lfoot-nav { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(8px, 1.1vw, 16px); }
.lfoot-nav a { font-size: clamp(1.6rem, 2.6vw, 2.5rem); font-weight: 500; letter-spacing: -0.01em; color: #fff; transition: color .25s var(--ease); }
.lfoot-nav a:hover { color: var(--bronze); }

.lfoot-bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: clamp(28px, 4vw, 64px); }
.lfoot-tag { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 300; line-height: 1.0; letter-spacing: -0.025em; white-space: pre-line; color: #fff; }
.lfoot-legal { display: flex; flex-direction: column; gap: 3px; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.55); max-width: 40ch; }
.lfoot-legal .co { color: #fff; font-weight: 500; }
.lfoot-copy { font-size: 13px; color: rgba(255,255,255,.55); white-space: nowrap; }
.lfoot-social { display: flex; gap: 12px; }
.lfoot-social .soc { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: transform .25s var(--ease), opacity .25s; }
.lfoot-social .soc svg { width: 18px; height: 18px; }
.lfoot-social .soc:hover { transform: translateY(-2px); }
.lfoot-social .fb { background: #1877f2; }
.lfoot-social .yt { background: #ff0000; }
.lfoot-social .ig { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 70%, #285aeb 100%); }

/* =========================================================
   STATIC PAGE CONTENT (e.g. policy)
   ========================================================= */
.page-content { padding-top: clamp(130px, 18vh, 200px); padding-bottom: clamp(70px, 10vw, 130px); }
.page-content .wrap { max-width: 860px; }
.page-content h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 250; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 28px; }
.page-content h2 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 300; letter-spacing: -0.02em; margin: 44px 0 14px; }
.page-content h3 { font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 400; margin: 28px 0 10px; }
.page-content p { color: var(--ink-2); font-weight: 350; line-height: 1.7; margin-bottom: 16px; }
.page-content ul { margin: 0 0 16px 1.1em; list-style: disc; }
.page-content li { color: var(--ink-2); font-weight: 350; line-height: 1.7; margin-bottom: 8px; }
.page-content a { color: var(--bronze-d); text-decoration: underline; text-underline-offset: 2px; }
.page-content .lead { margin-bottom: 28px; }
.page-content .updated { font-size: 13px; color: var(--taupe); letter-spacing: 0.04em; }

/* =========================================================
   SINGLE PROJECT PAGE
   ========================================================= */
.proj-hero { position: relative; height: clamp(46vh, 58vh, 70vh); overflow: hidden; }
.proj-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.proj-hero::after { content: ""; position: absolute; inset: 0 0 60% 0; background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,0)); pointer-events: none; }
.proj-body-wrap { max-width: 820px; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(70px, 10vw, 130px); }
.proj-single.no-hero .proj-body-wrap { padding-top: clamp(130px, 18vh, 200px); }
.proj-body-wrap .eyebrow { margin-bottom: 16px; }
.proj-body-wrap h1 { margin-bottom: 28px; }
.proj-desc { color: var(--ink-2); font-weight: 350; line-height: 1.75; font-size: clamp(1.05rem, 1.4vw, 1.25rem); white-space: pre-line; margin-bottom: 40px; }
.proj-back { color: var(--ink); }
.proj-back .ar { transition: transform .4s var(--ease); }
.proj-back:hover .ar { transform: translateX(-6px); }

/* asymmetric (masonry-style) project gallery */
.proj-gallery-wrap { padding-bottom: clamp(70px, 10vw, 130px); }
.proj-gallery { columns: 3; column-gap: 14px; }
.pg-item { break-inside: avoid; margin: 0 0 14px; overflow: hidden; background: var(--ivory-2); }
.pg-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease-cine); }
.pg-item:hover img { transform: scale(1.04); }
/* vary cell proportions so columns stagger asymmetrically */
.pg-item { aspect-ratio: 3 / 4; }
.pg-item:nth-child(5n+1) { aspect-ratio: 4 / 5; }
.pg-item:nth-child(5n+2) { aspect-ratio: 1 / 1; }
.pg-item:nth-child(5n+3) { aspect-ratio: 4 / 3; }
.pg-item:nth-child(5n+4) { aspect-ratio: 3 / 4; }
.pg-item:nth-child(5n)   { aspect-ratio: 5 / 4; }
@media (max-width: 900px) { .proj-gallery { columns: 2; } }
@media (max-width: 560px) { .proj-gallery { columns: 1; } .pg-item { aspect-ratio: 4 / 3 !important; } }

/* =========================================================
   COOKIE BANNER
   ========================================================= */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: clamp(16px, 3vw, 48px);
  background: #000; color: #fff;
  padding: clamp(16px, 2vw, 22px) clamp(20px, 5vw, 64px);
  transform: translateY(100%); transition: transform .45s var(--ease-cine);
}
.cookie.in { transform: translateY(0); }
.cookie[hidden] { display: none; }
.cookie-txt { font-size: 14px; line-height: 1.5; font-weight: 350; max-width: 70ch; margin: 0; }
.cookie-txt a { text-decoration: underline; text-underline-offset: 2px; }
.cookie-txt a:hover { color: var(--bronze); }
.cookie-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-accept, .cookie-more {
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  padding: 13px 22px; border-radius: 0; white-space: nowrap; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.cookie-accept { background: #fff; color: #000; border: none; }
.cookie-accept:hover { background: var(--bronze); color: #fff; }
.cookie-more { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); }
.cookie-more:hover { box-shadow: inset 0 0 0 1px #fff; background: rgba(255,255,255,.08); }
@media (max-width: 720px) {
  .cookie { justify-content: flex-start; }
  .cookie-actions { width: 100%; }
  .cookie-accept, .cookie-more { flex: 1; text-align: center; }
}

/* =========================================================
   INTRO ANIMATION
   ========================================================= */
.intro {
  position: fixed; inset: 0; z-index: 9999;
  background: #000; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  animation: introFail 0s linear 8s forwards; /* safety: reveal if JS fails */
}
@keyframes introFail { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.intro.done { opacity: 0; visibility: hidden; transition: opacity .7s var(--ease); }
.intro-skip .intro { display: none !important; }
.intro-words { position: absolute; inset: 0; }
.intro-words .iw {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, calc(-50% + 18px)); opacity: 0;
  color: #fff; font-family: var(--font); font-weight: 200;
  font-size: clamp(2rem, 6vw, 4.6rem); letter-spacing: -0.025em; white-space: nowrap;
  transition: opacity .5s var(--ease-cine), transform .5s var(--ease-cine);
}
.intro-words .iw.show { opacity: 1; transform: translate(-50%, -50%); }
.intro-logo {
  height: 96px; width: auto; opacity: 0;
  transform: scale(1.04); transform-origin: center center;
  transition: opacity .6s var(--ease-cine), transform .6s var(--ease-cine);
  will-change: transform, opacity;
}
.intro-logo.show { opacity: 1; transform: scale(1); }
@media (max-width: 640px) { .intro-logo { height: 64px; } }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }

/* =========================================================
   MOTION
   ========================================================= */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; background: var(--bronze); transform: scaleX(0); transform-origin: 0 50%; z-index: 95; }

.rv { } /* visible by default */
html.anim .rv { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-cine), transform 1s var(--ease-cine); }
html.anim .rv.in { opacity: 1; transform: none; }
html.anim .rv.d1 { transition-delay: .1s; }
html.anim .rv.d2 { transition-delay: .2s; }
html.anim .rv.d3 { transition-delay: .3s; }
/* image clip reveal */
html.anim .rvm img { transform: scale(1.12); transition: transform 1.4s var(--ease-cine); }
html.anim .rvm.in img { transform: scale(1); }
html.anim .rvm[data-parallax] { } /* parallax handled by JS, skip scale */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .lnav, .lcta { display: none; }
  .lburger { display: flex; }
  .statement .cols { grid-template-columns: 1fr; gap: 30px; }
  .feat { grid-template-columns: 1fr; }
  .feat.rev .media { order: 0; }
  .feat .media { min-height: 64vw; }
  .contact-grid { grid-template-columns: 1fr; }
  .vals { grid-template-columns: 1fr 1fr; gap: 40px 36px; }
  .lfoot-top { flex-direction: column; gap: 40px; margin-bottom: clamp(60px, 10vh, 120px); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: none; border-top: 1px solid var(--line); padding-left: 0; }
  .dark .stat + .stat { border-color: var(--line-dk); }
  .stat:not(:last-child){ padding-right: 0; }
  .testis { grid-template-columns: 1fr; gap: 38px; }
  .sol { grid-template-columns: auto 1fr; row-gap: 10px; }
  .sol .desc { grid-column: 1 / -1; }
  .sol .go { display: none; }
  .lform .two { grid-template-columns: 1fr; }
  .vals { grid-template-columns: 1fr; }
  .lfoot-bottom { flex-direction: column; align-items: flex-start; gap: 28px; }
  .scroll-cue { display: none; }
}

/* =========================================================
   PROJECTS CAROUSEL (Splide)
   ========================================================= */
.projects .wrap { padding-bottom: clamp(28px, 3vw, 44px); }
.projects-splide { padding-inline: var(--gutter); }
.projects-splide .splide__track { overflow: hidden; }
.pslide { display: block; color: inherit; }
.pslide-fig {
  margin: 0; position: relative; overflow: hidden;
  background: var(--ivory-2);
  aspect-ratio: 3 / 4;
}
.pslide-fig img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1.1s var(--ease-cine);
}
.splide__slide:hover .pslide-fig img { transform: scale(1.045); }

/* caption (bbf-style: title + location over a soft gradient) */
.pcap {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  display: flex; flex-direction: column; gap: 3px;
  padding: 22px 22px 20px;
  color: #fff;
  background: linear-gradient(to top, rgba(20,20,20,0.62) 0%, rgba(20,20,20,0.28) 45%, rgba(20,20,20,0) 100%);
}
.pcap-t {
  font-size: 19px; font-weight: 450; letter-spacing: -0.01em; line-height: 1.15;
}
.pcap-l {
  font-size: 12px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0.85; display: inline-flex; align-items: center; gap: 8px;
}
.pcap-l::before {
  content: ""; width: 16px; height: 1px; background: var(--bronze); display: inline-block;
}

/* arrows */
.projects-splide .splide__arrows { }
.projects-splide .splide__arrow {
  width: 48px; height: 48px; border-radius: 0;
  background: var(--paper); border: 1px solid var(--line-2);
  opacity: 1; transition: background .25s var(--ease), border-color .25s var(--ease);
}
.projects-splide .splide__arrow:hover { background: var(--bronze); border-color: var(--bronze); }
.projects-splide .splide__arrow svg { width: 18px; height: 18px; fill: var(--ink); transition: fill .25s var(--ease); }
.projects-splide .splide__arrow:hover svg { fill: var(--paper); }
.projects-splide .splide__arrow:disabled { opacity: .35; }
.projects-splide .splide__arrow--prev { left: calc(var(--gutter) - 24px); }
.projects-splide .splide__arrow--next { right: calc(var(--gutter) - 24px); }

/* pagination */
.projects-splide .splide__pagination { bottom: -2.4em; gap: 8px; }
.projects-splide .splide__pagination__page {
  width: 8px; height: 8px; margin: 0; background: var(--line-2);
  opacity: 1; transition: background .25s var(--ease), transform .25s var(--ease);
}
.projects-splide .splide__pagination__page.is-active {
  background: var(--bronze); transform: scale(1.25);
}
.projects-splide { padding-bottom: 2.6em; }

@media (max-width: 640px) {
  .projects-splide .splide__arrow--prev { left: 4px; }
  .projects-splide .splide__arrow--next { right: 4px; }
}