/* ==========================================================================
   Dalal Industries — "Noir & Champagne" luxury layer
   Loaded after site.css + pages.css. Re-maps the palette and type, adds the
   preloader, page curtain, custom cursor, grain, marquee and pinned gallery.
   ========================================================================== */
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/cormorant-garamond-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url(../fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: italic; font-display: swap; src: url(../fonts/cormorant-garamond-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: italic; font-display: swap; src: url(../fonts/cormorant-garamond-latin-500-italic.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 200 800; font-style: normal; font-display: swap; src: url(../fonts/manrope-latin-wght-normal.woff2) format("woff2-variations"); }

:root {
  --green: #15120F;          /* noir espresso — replaces loom green everywhere */
  --green-2: #241E19;
  --green-3: #3A3029;
  --brass: #D2B47A;          /* champagne — on noir 9.6:1 */
  --brass-ink: #846429;      /* champagne for small text on ivory 5.1:1 */
  --cream: #F4EFE6;          /* ivory */
  --cream-2: #EAE2D4;
  --paper: #FBF9F5;
  --ink: #17130F;
  --ink-2: #4B443C;
  --muted: #6C6359;
  --line: rgba(23, 19, 15, .10);
  --line-2: rgba(23, 19, 15, .18);
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Manrope", "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --shadow: 0 40px 80px -40px rgba(23, 19, 15, .45), 0 10px 24px -16px rgba(23, 19, 15, .22);
  --r-lg: 6px; --r-md: 4px; --r-sm: 3px;
  --ease-lux: cubic-bezier(.77, 0, .175, 1);
}
body { font-size: 16.5px; letter-spacing: .003em; background: var(--paper); }
::selection { background: var(--brass); color: var(--ink); }

/* film grain over everything (very subtle) */
body::after { content: ""; position: fixed; inset: -50%; z-index: 300; pointer-events: none; opacity: .045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }
@media (prefers-reduced-motion: reduce) { body::after { animation: none; } }

/* ---------- type ---------- */
h2 { font-weight: 500; font-size: clamp(42px, 5.2vw, 78px); line-height: 1.0; letter-spacing: -.02em; color: var(--ink); }
h2 em, .cta h2 em { font-style: italic; color: var(--brass-ink); }
.hero h1, .hero .h1 { font-weight: 400; font-size: clamp(52px, 7.4vw, 124px); line-height: .94; letter-spacing: -.03em; }
.hero h1 em, .hero .h1 em { color: var(--brass); font-weight: 400; }
.hero--page h1 { font-size: clamp(48px, 6.2vw, 104px); }
.eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: .32em; }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 1px; margin-right: 12px; vertical-align: middle; background: currentColor; opacity: .7; }
.section-head--center .eyebrow::before { display: none; }
.lead { font-size: clamp(17px, 1.3vw, 19.5px); line-height: 1.7; color: var(--ink-2); }
.statement { font-weight: 400; font-size: clamp(34px, 3.8vw, 58px); line-height: 1.1; }
.cat h2 { font-size: clamp(38px, 4vw, 60px); }
.vline .yr { font-size: 38px; }
.stats dd { font-weight: 400; font-size: clamp(44px, 4.4vw, 68px); }
.split__text h3 { font-weight: 500; font-size: clamp(38px, 4vw, 58px); }
.card__body h3, .flow h3, .vline h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; letter-spacing: -.005em; }
.addr b { font-size: 30px; }

/* ---------- buttons: slim, letter-spaced, with a champagne sweep ---------- */
.btn { min-height: 54px; padding: 0 30px; border-radius: 999px; font: 600 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; position: relative; overflow: hidden; isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--brass); transform: translateY(101%); transition: transform .6s var(--ease-lux); }
.btn:hover::before { transform: none; }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 11.5px; }
.btn--gold { background: var(--brass); color: var(--ink); }
.btn--gold::before { background: #fff; }
.btn--gold:hover { background: var(--brass); box-shadow: 0 20px 40px -20px rgba(210, 180, 122, .9); }
.btn--green { background: var(--ink); color: #fff; }
.btn--green:hover { background: var(--ink); color: var(--ink); box-shadow: none; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--outline { border-color: rgba(255,255,255,.4); }
.btn--outline:hover { background: transparent; color: var(--ink); border-color: var(--brass); }
.btn--outline-dark { border-color: var(--line-2); color: var(--ink); }
.btn--outline-dark:hover { background: transparent; border-color: var(--brass); }
.round { border-color: rgba(255,255,255,.3); }
.round--dark { background: transparent; color: var(--ink); }
.round--dark:hover { background: var(--ink); border-color: var(--ink); }

/* ---------- nav ---------- */
.nav__links a { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.nav__links a:hover, .nav__links a.is-current { background: transparent; color: var(--brass); }
.nav.is-solid { background: rgba(251, 249, 245, .82); box-shadow: 0 1px 0 var(--line); }
.nav.is-solid .nav__links a:hover, .nav.is-solid .nav__links a.is-current { background: transparent; color: var(--brass-ink); }
.dd > button { font-size: 13px !important; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.menu:not([hidden]) { background: var(--ink) !important; }
.nav__toggle { background: var(--brass) !important; }

/* ---------- hero: cinematic noir stage ---------- */
.hero { background: #0b0908; }
.hero__fallback { background: radial-gradient(80% 90% at 70% 45%, #3a3027 0%, #0b0908 70%); }
.hero__shade { background:
  linear-gradient(180deg, rgba(11,9,8,.6) 0%, rgba(11,9,8,0) 22%),
  linear-gradient(90deg, rgba(11,9,8,.85) 0%, rgba(11,9,8,.55) 34%, rgba(11,9,8,0) 66%),
  linear-gradient(0deg, rgba(11,9,8,.75) 0%, rgba(11,9,8,0) 34%) !important; }
.hero__slide p:not(.h1), .hero__lede { color: rgba(244, 239, 230, .78); }
.hero__line b { background: var(--brass); }
.hero__now { font-weight: 400; }
.hero__card, .hero__photo { border-radius: 4px !important; border-color: rgba(210,180,122,.35) !important; }
.hero__card figcaption, .hero__photo figcaption { border-radius: 2px; background: rgba(11,9,8,.55); }
.hero__card figcaption b, .hero__photo figcaption b { font-size: 21px; font-weight: 500; }
.crumbs a, .crumbs span { color: rgba(244,239,230,.7); }
/* split-text masks */
.line-mask { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
@media (max-width: 760px) { .hero__shade { background: linear-gradient(0deg, rgba(11,9,8,.92) 0%, rgba(11,9,8,.7) 55%, rgba(11,9,8,.2) 100%) !important; } }

/* ---------- bands, cards, CTA ---------- */
.band--paper { background: var(--paper); }
.band--cream { background: var(--cream); }
.band--green { background: radial-gradient(120% 90% at 85% 0%, #2a221c 0%, var(--green) 55%, #0b0908 100%); }
.band--green .eyebrow, .eyebrow--light { color: var(--brass); }
.card { border-radius: 4px; }
.card__ic { border-radius: 50% !important; background: transparent !important; border: 1px solid var(--brass); color: var(--brass-ink) !important; }
.band--green .card__ic { color: var(--brass) !important; }
.cta { border-radius: 4px; background: radial-gradient(90% 140% at 90% 10%, #3a2f25 0%, var(--green) 50%, #0b0908 100%); }
.cta h2 { font-size: clamp(42px, 4.6vw, 70px); }
.cta::after { border-color: rgba(210,180,122,.3); }
.stats { border-radius: 4px; background: var(--ink); }
.spec { border-radius: 4px; }
.spec th { color: var(--ink); background: var(--cream); font-weight: 600; }
.chips li { border-radius: 2px; letter-spacing: .02em; }
.subnav a { border-radius: 2px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; }
.subnav a:hover, .subnav a.is-current { background: var(--ink); border-color: var(--ink); }
.faq details { border-radius: 4px; }
.faq summary { font-family: var(--serif); font-size: 23px; font-weight: 500; color: var(--ink); }
.faq summary::after { color: var(--brass-ink); }
.checks li::before { background-color: var(--ink) !important; }
.addr li, .jobs li, .certgrid li, .flow li { border-radius: 4px; }
.footer { background: #0b0908 !important; }
.vline li::after { box-shadow: 0 0 0 6px rgba(210,180,122,.18); }

/* image reveal: wrapper clips, inner image scales */
[data-reveal] { overflow: hidden; }
[data-reveal] img { will-change: transform; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; background: var(--ink); color: var(--cream); padding-block: clamp(22px, 3vw, 40px); border-block: 1px solid rgba(210,180,122,.18); }
.marquee__track { display: flex; width: max-content; gap: 0; will-change: transform; }
.marquee__track span { font-family: var(--serif); font-size: clamp(40px, 6vw, 96px); line-height: 1; white-space: nowrap; padding-right: .6em; font-weight: 400; }
.marquee__track span:nth-child(even) { font-style: italic; color: transparent; -webkit-text-stroke: 1px var(--brass); }

/* ---------- pinned horizontal gallery (home) ---------- */
.hgal { position: relative; background: var(--ink); color: var(--cream); overflow: hidden; }
.hgal__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 4vh, 44px); }
.hgal__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.hgal__head h2 { color: var(--cream); }
.hgal__head p { max-width: 42ch; color: rgba(244,239,230,.72); }
.hgal__track { display: flex; gap: clamp(16px, 2.2vw, 34px); padding-inline: var(--gutter); width: max-content; perspective: 1600px; will-change: transform; }
.hgal__item { position: relative; flex: none; width: clamp(260px, 30vw, 460px); aspect-ratio: 3 / 4; margin: 0; border-radius: 3px; overflow: hidden; transform-style: preserve-3d; box-shadow: 0 50px 90px -40px rgba(0,0,0,.8); }
.hgal__item:nth-child(3n+2) { width: clamp(300px, 38vw, 620px); aspect-ratio: 4 / 3.4; align-self: center; }
.hgal__item img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.hgal__item figcaption { position: absolute; left: 18px; bottom: 16px; font-family: var(--serif); font-size: 24px; color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.6); }
.hgal__item figcaption small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--brass); }
.hgal__progress { height: 1px; background: rgba(244,239,230,.15); margin-inline: var(--gutter); }
.hgal__progress b { display: block; height: 100%; width: 100%; background: var(--brass); transform-origin: left; transform: scaleX(0); }
@media (max-width: 820px) {
  .hgal__pin { height: auto; padding-block: 80px; }
  .hgal__track { overflow-x: auto; scroll-snap-type: x mandatory; width: auto; padding-bottom: 10px; }
  .hgal__item { scroll-snap-align: center; width: 78vw !important; aspect-ratio: 3/4 !important; }
  .hgal__head { flex-direction: column; align-items: start; }
  .hgal__progress { display: none; }
}

/* ---------- preloader ---------- */
.preload { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; background: #0b0908; color: var(--cream); }
.preload__inner { text-align: center; }
.preload img { width: 220px; height: auto; margin-inline: auto; opacity: 0; }
.preload__count { margin-top: 26px; font-family: var(--serif); font-size: 16px; letter-spacing: .4em; color: var(--brass); }
.preload__bar { width: 220px; height: 1px; margin: 16px auto 0; background: rgba(244,239,230,.15); }
.preload__bar b { display: block; height: 100%; background: var(--brass); transform-origin: left; transform: scaleX(0); }
.preload.is-gone { pointer-events: none; }

/* ---------- page curtain ---------- */
.curtain { position: fixed; inset: 0; z-index: 450; pointer-events: none; display: grid; }
.curtain i { grid-area: 1/1; background: #0b0908; transform: scaleY(0); transform-origin: bottom; }
.curtain i:nth-child(2) { background: var(--brass); }

/* ---------- custom cursor ---------- */
.cursor, .cursor-dot { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor, .cursor-dot { display: block; position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; border-radius: 50%; }
  .cursor { width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 1px solid rgba(210,180,122,.8); mix-blend-mode: difference; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .3s ease, border-color .3s ease; display: grid; place-items: center; }
  .cursor span { font: 600 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #0b0908; opacity: 0; transition: opacity .25s ease; }
  .cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--brass); }
  .cursor.is-link { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(210,180,122,.15); }
  .cursor.is-label { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--brass); border-color: var(--brass); mix-blend-mode: normal; }
  .cursor.is-label span { opacity: 1; }
  .cursor.is-hidden, .cursor-dot.is-hidden { opacity: 0; }
}

/* ---------- careers job board ---------- */
.jobboard { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: start; }
.jobfilters { position: sticky; top: 100px; display: grid; gap: 18px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.jobfilters label { font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-ink); }
.jobfilters input, .jobfilters select { width: 100%; margin-top: 8px; min-height: 46px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 3px; font: 500 15px var(--sans); background: var(--paper); color: var(--ink); }
.joblist { display: grid; gap: 14px; }
.job { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 26px 28px; background: #fff; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; text-align: left; width: 100%; font: inherit; color: inherit; transition: border-color .3s ease, transform .5s var(--ease), box-shadow .5s var(--ease); }
.job:hover { border-color: var(--brass); transform: translateY(-2px); box-shadow: var(--shadow); }
.job h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.1; color: var(--ink); }
.job__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; font-size: 14px; color: var(--muted); }
.job__meta span { display: inline-flex; align-items: center; gap: 6px; }
.job__tag { display: inline-block; padding: 4px 10px; border-radius: 2px; background: var(--cream); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-ink); }
.job__go { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background-color .3s ease, color .3s ease, border-color .3s ease; }
.job:hover .job__go { background: var(--ink); color: var(--brass); border-color: var(--ink); }
.jobempty { padding: 40px; text-align: center; border: 1px dashed var(--line-2); border-radius: 4px; color: var(--muted); }
@media (max-width: 900px) { .jobboard { grid-template-columns: 1fr; } .jobfilters { position: static; } }

.drawer { position: fixed; inset: 0; z-index: 350; display: none; }
.drawer.is-open { display: block; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(11,9,8,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .5s ease; }
.drawer.is-in .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(760px, 100%); background: var(--paper); overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); transition: transform .7s var(--ease-lux); }
.drawer.is-in .drawer__panel { transform: none; }
.drawer__close { position: sticky; top: 0; z-index: 2; display: flex; justify-content: flex-end; padding: 18px 22px; background: linear-gradient(var(--paper) 60%, rgba(251,249,245,0)); }
.drawer__body { padding: 0 clamp(22px, 4vw, 54px) 60px; }
.drawer__body h2 { font-size: clamp(40px, 4.4vw, 60px); }
.drawer__body h3 { margin-top: 30px; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--brass-ink); }
.drawer__body ul.bul { margin-top: 12px; display: grid; gap: 8px; }
.drawer__body ul.bul li { position: relative; padding-left: 22px; color: var(--ink-2); }
.drawer__body ul.bul li::before { content: ""; position: absolute; left: 0; top: .75em; width: 10px; height: 1px; background: var(--brass-ink); }
.applyform { margin-top: 36px; padding: clamp(22px, 3vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: 4px; display: grid; gap: 16px; }
.applyform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .applyform .row2 { grid-template-columns: 1fr; } }
.applyform label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.applyform input, .applyform select, .applyform textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 3px; font: 500 15.5px var(--sans); background: var(--paper); color: var(--ink); }
.applyform textarea { min-height: 120px; resize: vertical; }
.applyform input:focus, .applyform select:focus, .applyform textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(210,180,122,.25); }
.applyform .err { min-height: 18px; margin-top: 4px; font-size: 13px; color: #A3361F; }
.applyform .hp { position: absolute; left: -9999px; }
.drop { position: relative; display: grid; place-items: center; gap: 6px; min-height: 120px; padding: 18px; border: 1px dashed var(--brass-ink); border-radius: 4px; background: var(--cream); text-align: center; cursor: pointer; transition: background-color .3s ease; }
.drop:hover, .drop.is-over { background: #efe5d3; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop b { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.drop small { color: var(--muted); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.consent input { width: 18px; min-height: 18px; margin-top: 3px; accent-color: var(--ink); }
.formmsg { padding: 14px 16px; border-radius: 3px; font-size: 15px; }
.formmsg.ok { background: #EAF2E6; color: #22451F; }
.formmsg.bad { background: #F8E6E0; color: #7A2A16; }
.btn[disabled] { opacity: .6; pointer-events: none; }
body.no-scroll { overflow: hidden; }

.hero__stack { width: min(28vw, 400px); top: 52%; }
.hero:not(.hero--page) .hero__bar { position: relative; z-index: 3; }
.hero__stack { transform: none !important; top: 50%; margin-top: calc(min(28vw, 400px) * -0.6); }
.dd > button, .dd.is-open > button, .dd > button[aria-current] { background: transparent !important; }
.dd > button:hover, .dd.is-current > button, .dd > button.is-current { color: var(--brass) !important; }
@media (min-width: 821px) {
  .hgal__item { width: auto; height: min(56vh, 560px); aspect-ratio: 3 / 4; }
  .hgal__item:nth-child(3n+2) { width: auto; height: min(48vh, 480px); aspect-ratio: 4 / 3.2; }
}
.certs + .center, .certs ~ p.center { margin-top: 48px; }
.nav__links a.is-current, .nav__links a[aria-current] { background: transparent !important; color: var(--brass) !important; }
.nav.is-solid .nav__links a.is-current { color: var(--brass-ink) !important; }
.btn--outline { background: transparent; } button.btn { font-family: var(--sans); }
