/* Laxmi Construction — site styles */
:root {
  --red: #D62323;
  --red-dk: #8A1212;
  --ink: #131313;
  --grey: #868686;
  --soft: #F1F1F1;
  --line-l: #E6E6E6;
  --line-d: rgba(255, 255, 255, .14);
  /* column grid (the fixed vertical lines) */
  --c1: 6.5vw;
  --c2: 33vw;
  --c3: 66vw;
  --c4: 93.5vw;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --small: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; overflow: hidden; background: #000; }
body { font-family: var(--sans); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
img { display: block; }
b { font-weight: 500; }
.red { color: var(--red); }

.eyebrow { font-family: var(--small); font-size: 12px; font-weight: 500; letter-spacing: .02em; color: var(--red); }
.eyebrow--light { color: rgba(255, 255, 255, .6); letter-spacing: .3em; text-transform: uppercase; font-size: 10px; }
.eyebrow--dark { color: var(--ink); }

/* ---------------- logo mark ---------------- */
#mark .m-band { fill: currentColor; opacity: .55; }
#mark .m-front { fill: currentColor; }

/* ---------------- preloader ---------------- */
#loader { position: fixed; inset: 0; z-index: 100; background: #fff; display: flex; align-items: center; justify-content: center; }
.loader__art { position: absolute; width: min(118vh, 92vw); left: 50%; top: 50%; transform: translate(-50%, -50%); stroke: #F1F1F1; stroke-width: 9; stroke-linejoin: miter; }
.loader__logo { position: relative; display: flex; align-items: center; gap: 14px; color: var(--red); }
.loader__logo svg { width: 54px; }
.loader__logo span { color: var(--ink); font-weight: 600; font-size: 22px; line-height: .98; letter-spacing: -.01em; text-transform: uppercase; }
.loader__count { position: absolute; bottom: 70px; left: 0; right: 0; text-align: center; font-size: 15px; font-weight: 500; color: #C4C4C4; letter-spacing: .05em; }
.loader__tag { position: absolute; bottom: 44px; left: 0; right: 0; text-align: center; font-family: var(--small); font-size: 9px; letter-spacing: .32em; text-transform: uppercase; color: var(--grey); }

/* ---------------- vertical lines ---------------- */
#lines { position: fixed; inset: 0; z-index: 30; pointer-events: none; }
#lines i { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line-d); transform-origin: top; transition: background .6s; }
#lines i:nth-child(1) { left: var(--c1); }
#lines i:nth-child(2) { left: var(--c2); }
#lines i:nth-child(3) { left: var(--c3); }
#lines i:nth-child(4) { left: var(--c4); }
body.theme-light #lines i { background: var(--line-l); }

/* ---------------- header ---------------- */
#hdr { position: fixed; top: 0; left: 0; right: 0; height: 92px; z-index: 40; display: flex; align-items: center; padding: 0 var(--c1) 0 2.4vw; color: #fff; transition: color .5s; }
body.theme-light #hdr { color: var(--ink); }
.logo { display: flex; align-items: center; gap: 10px; position: absolute; left: 2.6vw; }
.logo svg { width: 30px; color: #fff; transition: color .5s; }
body.theme-light .logo svg { color: var(--red); }
.logo span { font-weight: 600; font-size: 11.5px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.hdr__links { position: absolute; left: var(--c2); display: flex; gap: 4.2vw; }
.hdr__links a, .hdr__contact { font-family: var(--small); font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; opacity: .9; position: relative; }
.hdr__links a::after, .hdr__contact::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.hdr__links a:hover::after, .hdr__contact:hover::after { transform: scaleX(1); transform-origin: left; }
.hdr__contact { position: absolute; right: calc(100vw - var(--c4) + 4px); }
#burger { position: absolute; right: calc(100vw - var(--c4) + 2px); width: 26px; height: 20px; opacity: 0; pointer-events: none; }
#burger i { position: absolute; right: 0; height: 2px; background: currentColor; transition: width .4s var(--ease), transform .4s var(--ease); }
#burger i:nth-child(1) { top: 3px; width: 26px; }
#burger i:nth-child(2) { top: 9px; width: 20px; }
#burger i:nth-child(3) { top: 15px; width: 26px; }
#burger:hover i:nth-child(2) { width: 26px; }
body.compact #burger { opacity: 1; pointer-events: auto; }
body.compact .hdr__links, body.compact .hdr__contact { opacity: 0; pointer-events: none; }
body.menu-open #burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open #burger i:nth-child(2) { width: 0; }
body.menu-open #burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------- pager + explore ---------------- */
#pager { position: fixed; left: 0; width: var(--c1); top: 0; bottom: 0; z-index: 35; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; color: #fff; pointer-events: none; opacity: 0; transition: color .5s; }
body.theme-light #pager { color: var(--ink); }
.pager__num { transform: rotate(-90deg); font-size: 15px; font-weight: 500; letter-spacing: .04em; white-space: nowrap; }
.pager__num b { font-weight: 500; }
.pager__dots { list-style: none; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.pager__dots li { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; transition: all .5s var(--ease); }
.pager__dots li.on { width: 9px; height: 9px; background: transparent; border: 1px solid currentColor; opacity: 1; }

#explore { position: fixed; right: 0; top: 0; bottom: 0; width: calc(100vw - var(--c4)); z-index: 35; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 46px; gap: 70px; color: #fff; transition: color .5s; }
#explore::before { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: right; transition: transform .8s var(--ease); z-index: -1; }
body.theme-light #explore::before { transform: scaleX(1); }
body.theme-light #explore { color: var(--red); }
.explore__txt { transform: rotate(-90deg); white-space: nowrap; font-family: var(--small); font-size: 8.5px; letter-spacing: .3em; text-transform: uppercase; opacity: .75; color: #fff; transition: color .5s; }
body.theme-light .explore__txt { color: var(--grey); }
#next { width: 22px; height: 30px; }
#next svg { width: 100%; height: 100%; }
#next:hover svg { animation: nudge .8s var(--ease); }
@keyframes nudge { 40% { transform: translateY(6px); } }
body.at-landing #explore, body.at-contact #explore { opacity: 0; pointer-events: none; }

/* ---------------- stage + screens ---------------- */
#stage { position: fixed; inset: 0; }
.scr { position: absolute; inset: 0; visibility: hidden; overflow: hidden; }
.scr.is-active { visibility: visible; }

/* landing */
.landing__bg { position: absolute; inset: 0; overflow: hidden; background: #222; }
.landing__bg .img { position: absolute; inset: -2%; background-size: cover; background-position: center; }
.landing__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.15) 40%, rgba(0,0,0,.25)); }
.landing__panel { position: absolute; left: 0; bottom: 0; width: var(--c3); height: 36vh; min-height: 290px; background: var(--red); color: #fff; display: grid; grid-template-columns: calc(var(--c2) - var(--c1)) 1fr; padding-left: var(--c1); transform-origin: bottom; }
.landing__col { padding: 7vh 2.4vw 0 0; }
.landing__col--txt { padding: calc(7vh + 28px) 0 0 2.6vw; max-width: 26vw; }
.landing__title { margin-top: 14px; font-size: clamp(24px, 2.1vw, 38px); font-weight: 400; line-height: 1.22; letter-spacing: -.005em; }
.landing__col--txt p { font-size: 13px; line-height: 2.05; color: rgba(255,255,255,.78); }
.landing__box { position: absolute; left: var(--c3); right: calc(100vw - var(--c4)); bottom: 0; height: 36vh; min-height: 290px; background: #fff; color: var(--red); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 500; transform-origin: bottom; }
.landing__box svg { position: absolute; right: -4.1vw; bottom: 46px; width: 22px; height: 30px; color: #fff; }
.landing__box span { position: relative; }
.landing__box span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .5s var(--ease); }
.landing__box:hover span::after { transform: scaleX(1); }

/* shot: step A (full image) */
.a, .b { position: absolute; inset: 0; visibility: hidden; }
.a { z-index: 2; }
.a__shade { position: absolute; inset: 0; background: rgba(10, 12, 16, .55); pointer-events: none; }
.a__media { position: absolute; inset: 0; }
.slice { position: absolute; top: 0; bottom: 0; overflow: hidden; }
.slice .img { position: absolute; top: 0; bottom: 0; width: 100vw; background-size: cover; background-position: center; }
.a__content { position: absolute; left: var(--c2); top: 50%; transform: translateY(-46%); width: calc(var(--c3) - var(--c2) + 8vw); z-index: 2; }
.a__title { margin-top: 18px; font-size: clamp(30px, 3.05vw, 56px); line-height: 1.16; font-weight: 400; color: #fff; letter-spacing: -.01em; transform-origin: 0 0; }
.ln { display: block; }

/* shot: step B (card) */
.b { background: var(--soft); z-index: 1; }
.b__red { position: absolute; left: 0; bottom: 0; width: var(--c1); height: 26vh; background: var(--red); transform-origin: bottom; }
.b__card { position: absolute; left: var(--c1); top: 92px; bottom: 0; width: calc(var(--c3) - var(--c1)); background: #fff; }
.b__num { position: absolute; left: 0; top: 14vh; width: calc(var(--c2) - var(--c1) - 19vw); min-width: 64px; height: 34vh; border: 1px solid var(--line-l); border-left: 0; display: flex; flex-direction: column; align-items: center; padding-top: 30px; font-size: 52px; font-weight: 300; color: #C9C9C9; letter-spacing: -.02em; }
.b__num span { font-size: .55em; }
.b__num { writing-mode: vertical-rl; transform: rotate(180deg); justify-content: flex-start; }
.b__inner { position: absolute; left: calc(var(--c2) - var(--c1) - 13.5vw); right: 5vw; top: 6.5vh; }
.b__title { margin-top: 20px; font-size: clamp(26px, 2.45vw, 44px); line-height: 1.16; font-weight: 400; color: var(--red); letter-spacing: -.01em; }
.b__body { margin-top: 3.6vh; max-width: 36vw; }
.b__body p { font-family: var(--small); font-size: 12.5px; line-height: 1.95; color: #5D5D5D; margin-bottom: 12px; }
.b__body p b { color: var(--ink); }
.b__body p.small { font-size: 12px; }
.b__link { display: inline-block; margin-top: 3vh; font-family: var(--small); font-size: 10px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; position: relative; padding-right: 110px; }
.b__link::after { content: ""; position: absolute; right: 0; top: 50%; width: 90px; height: 1px; background: var(--ink); transform-origin: right; transition: transform .6s var(--ease); }
.b__link:hover::after { transform: scaleX(.45); }
.b__side { display: none; position: absolute; left: var(--c3); right: calc(100vw - var(--c4)); top: 0; height: 64vh; background-size: cover; background-position: center; }
.b__side::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.08); }

.svc { list-style: none; columns: 2; column-gap: 3vw; border-top: 1px solid var(--ink); }
.svc li { break-inside: avoid; font-size: 14px; padding: 10px 0; border-bottom: 1px solid var(--line-l); display: flex; gap: 12px; align-items: baseline; }
.svc li span { font-family: var(--small); font-size: 10px; color: var(--red); font-weight: 500; }
.svc li em { font-style: normal; font-family: var(--small); font-size: 8px; letter-spacing: .16em; text-transform: uppercase; background: var(--red); color: #fff; padding: 3px 6px; margin-left: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span { border: 1px solid var(--ink); padding: 7px 13px; font-size: 12px; }
.proj { list-style: none; border-top: 1px solid var(--ink); }
.proj li { display: grid; grid-template-columns: 38px 1fr auto; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line-l); }
.proj li span { font-family: var(--small); font-size: 10px; color: var(--red); font-weight: 500; }
.proj li b { display: block; font-size: 17px; font-weight: 500; }
.proj li small { display: block; font-family: var(--small); font-size: 11.5px; color: var(--grey); margin-top: 4px; }
.proj li em { font-style: normal; font-family: var(--small); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); margin-bottom: 18px; }
.stats div { padding: 14px 10px 14px 0; }
.stats b { display: block; font-size: 36px; font-weight: 400; letter-spacing: -.03em; line-height: 1; }
.stats span { display: block; font-family: var(--small); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); margin-top: 8px; }
/* founders: two black & white cut-out portraits */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2vw; max-width: 32vw; }
.founders figure { margin: 0; }
.founders__img { position: relative; aspect-ratio: 4 / 5; max-height: 38vh; background: var(--soft); overflow: hidden; }
.founders__img::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; background: var(--red); transform: scaleY(.04); transform-origin: bottom; transition: transform .8s var(--ease); }
.founders figure:hover .founders__img::before { transform: scaleY(1); }
.founders__img img { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom; filter: grayscale(1) contrast(1.05); transition: transform .9s var(--ease); }
.founders figure:hover .founders__img img { transform: scale(1.04); }
.founders figcaption { margin-top: 12px; }
.founders figcaption b { display: block; font-size: 17px; font-weight: 500; }
.founders figcaption span { display: block; margin-top: 4px; font-family: var(--small); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--red); font-weight: 500; }
.founders__img { aspect-ratio: 4 / 5; }

.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; border-top: 1px solid var(--ink); padding: 18px 0 20px; margin-bottom: 8px; }
.logos img { height: 50px; width: auto; max-width: 120px; object-fit: contain; }
.logos img.crop { object-view-box: inset(27% 16% 26% 16%); height: 30px; }

/* contact */
.contact { color: #fff; }
.contact__bg { position: absolute; inset: 0; background: var(--red); transform-origin: bottom; }
.contact__inner { position: absolute; left: var(--c2); right: calc(100vw - var(--c4) + 4vw); top: 22vh; }
.contact__title { margin-top: 18px; font-size: clamp(34px, 4vw, 72px); font-weight: 400; line-height: 1.08; letter-spacing: -.02em; max-width: 50vw; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 8vh; border-top: 1px solid rgba(255,255,255,.55); }
.contact__grid > div { padding: 18px 20px 18px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.contact__grid span { font-family: var(--small); font-size: 9px; letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.contact__grid p { margin-top: 8px; font-size: 16px; line-height: 1.5; }
.contact__grid a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact__foot { position: fixed; left: var(--c2); right: calc(100vw - var(--c4) + 4vw); bottom: 34px; display: flex; justify-content: space-between; gap: 20px; font-family: var(--small); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.contact__foot a { color: #fff; }

/* ---------------- menu overlay ---------------- */
#menu { position: fixed; inset: 0; z-index: 38; visibility: hidden; color: var(--ink); }
.menu__bg { position: absolute; inset: 0; background: #fff; transform-origin: top; }
.menu__list { position: absolute; left: var(--c2); top: 18vh; display: flex; flex-direction: column; gap: 1.2vh; }
.menu__art { position: absolute; right: -6vw; bottom: -8vh; width: 58vh; fill: none; stroke: #F1F1F1; stroke-width: 7; }
.menu__list a { font-size: clamp(28px, 5vh, 54px); font-weight: 400; letter-spacing: -.01em; display: flex; align-items: baseline; gap: 22px; transition: color .3s, transform .5s var(--ease); }
.menu__list a span { font-family: var(--small); font-size: 10px; color: var(--red); font-weight: 500; }
.menu__list a:hover { color: var(--red); transform: translateX(10px); }
.menu__info { position: absolute; left: var(--c3); bottom: 8vh; display: flex; flex-direction: column; gap: 8px; font-family: var(--small); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
body.menu-open #hdr { color: var(--ink); }
body.menu-open .logo svg { color: var(--red); }

/* ---------------- small screens ---------------- */
@media (max-width: 860px) {
  :root { --c1: 5vw; --c2: 5vw; --c3: 95vw; --c4: 95vw; }
  #lines i:nth-child(2), #lines i:nth-child(3) { display: none; }
  .hdr__links, .hdr__contact { display: none; }
  #burger { opacity: 1; pointer-events: auto; right: 5vw; }
  #hdr { height: 72px; }
  .logo { left: 5vw; }
  #pager { display: none; }
  #explore { width: auto; right: 5vw; top: auto; bottom: 0; padding-bottom: 24px; }
  #explore::before, .explore__txt { display: none; }
  body.theme-light #explore { color: var(--red); }
  .landing__panel { width: 100%; height: auto; min-height: 0; grid-template-columns: 1fr; padding: 0 5vw 90px; }
  .landing__col, .landing__col--txt { padding: 28px 0 0; max-width: none; }
  .landing__box { display: none; }
  .a__content { left: 5vw; right: 5vw; width: auto; }
  .b__card { left: 0; width: 100%; top: 72px; overflow-y: auto; }
  .b__num, .b__side, .b__red { display: none; }
  .b__inner { position: relative; left: 0; right: 0; top: 0; padding: 30px 5vw 90px; }
  .b__body { max-width: none; }
  .svc { columns: 1; }
  .founders { max-width: none; gap: 14px; }
  .founders__img { max-height: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .contact__inner { left: 5vw; right: 5vw; top: 16vh; }
  .contact__title { max-width: none; }
  .contact__grid { grid-template-columns: 1fr; margin-top: 5vh; }
  .contact__foot { position: static; flex-direction: column; margin-top: 28px; }
  .menu__list { left: 5vw; }
  .menu__info { left: 5vw; }
}

.a { pointer-events: none; }
