/* ==========================================================================
   Interno Fusion Limited — site stylesheet
   Layout idea: graphite and stone surfaces, oak accent, with the solid bars
   from the logo reused as the motif for wipes, markers and slide progress.
   ========================================================================== */

:root {
  --stone: #EDEEEA;        /* page background */
  --paper: #F8F8F5;        /* raised surfaces */
  --ink: #14181A;          /* text, darkest surface */
  --graphite: #20262A;     /* dark sections */
  --slate: #5C6468;        /* secondary text */
  --oak: #B48A5A;          /* accent */
  --oak-deep: #8E6638;     /* accent on light surfaces */
  --line: rgba(20, 24, 26, .14);
  --line-light: rgba(255, 255, 255, .16);

  --font-display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", Helvetica, Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --section: clamp(72px, 11vw, 160px);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-wipe: cubic-bezier(.77, 0, .18, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.02; letter-spacing: -.02em; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--oak); outline-offset: 3px; }
::selection { background: var(--oak); color: #fff; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.dark { background: var(--graphite); color: #F1F1EE; }
.dark .muted { color: rgba(241, 241, 238, .66); }
.muted { color: var(--slate); }

/* Section label: a logo-style bar followed by the section name */
.label {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.label::before { content: ""; width: 44px; height: 9px; background: var(--oak); }
.h-xl { font-size: clamp(44px, 7.6vw, 124px); }
.h-lg { font-size: clamp(36px, 5.2vw, 80px); }
.h-md { font-size: clamp(26px, 3vw, 44px); }
.lede { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.6; max-width: 62ch; }
em.accent { font-style: normal; color: var(--oak); }

/* Buttons ----------------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  padding: 17px 28px; overflow: hidden; isolation: isolate;
  font-size: 13.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  background: var(--ink); color: #fff;
  transition: color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--oak);
  transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease-wipe);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn .arr { width: 18px; height: 10px; transition: transform .45s var(--ease); }
.btn:hover .arr { transform: translateX(6px); }
.btn--oak { background: var(--oak); }
.btn--oak::before { background: #fff; }
.btn--oak:hover { color: var(--ink); }
.btn--line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.btn--line:hover { color: #fff; box-shadow: inset 0 0 0 1px var(--oak); }
.link {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .5s var(--ease), gap .4s var(--ease);
}
.link:hover { gap: 20px; background-size: 0 1px; background-position: right bottom; }
.link .arr { width: 18px; height: 10px; }

/* Preloader ---------------------------------------------------------------- */
.loader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: var(--ink); transition: transform .9s var(--ease-wipe) .15s;
}
.loader__mark { width: min(300px, 62vw); display: grid; gap: 8px; }
.loader__row { display: flex; align-items: stretch; gap: 8px; height: clamp(28px, 6vw, 40px); }
.loader__bar { flex: 1; background: var(--oak); transform: scaleX(0); animation: barIn .8s var(--ease-wipe) forwards; }
.loader__row:first-child .loader__bar { transform-origin: left; }
.loader__row:last-child .loader__bar { transform-origin: right; animation-delay: .18s; }
.loader__word {
  font-family: var(--font-display); font-weight: 800; color: #fff; line-height: .8;
  font-size: clamp(34px, 7.4vw, 50px); letter-spacing: -.01em;
  opacity: 0; animation: fadeUp .6s var(--ease) .35s forwards;
}
.is-loaded .loader { transform: translateY(-100%); }
.no-js .loader { display: none; }
@keyframes barIn { to { transform: scaleX(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; z-index: 120; height: 3px; width: 100%; background: var(--oak); transform: scaleX(0); transform-origin: left; }

/* Header ------------------------------------------------------------------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; color: #fff;
  transition: background .4s, color .4s, transform .5s var(--ease), box-shadow .4s;
}
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; transition: height .4s var(--ease); }
.header.is-solid { background: rgba(248, 248, 245, .92); color: var(--ink); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.header.is-solid .header__in { height: 70px; }
.header.is-hidden { transform: translateY(-100%); }
.logo img { height: 34px; width: auto; filter: brightness(0) invert(1); transition: filter .4s; }
.header.is-solid .logo img { filter: brightness(0) invert(.12); }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 36px); }
.nav a { position: relative; font-size: 12.5px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; padding: 8px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--oak); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-wipe); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.header__cta { padding: 13px 22px; }
.header:not(.is-solid) .header__cta { background: #fff; color: var(--ink); }
.header:not(.is-solid) .header__cta:hover { color: #fff; }
.burger { display: none; width: 46px; height: 46px; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 3px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 27px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #fff;
  display: flex; flex-direction: column; justify-content: center; gap: 36px; padding: 110px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .8s var(--ease-wipe), visibility 0s .8s;
}
.menu-open .mobile { clip-path: inset(0); visibility: visible; transition: clip-path .8s var(--ease-wipe); }
.menu-open .header { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .header .logo img { filter: brightness(0) invert(1); }
.mobile__nav a { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 9vw, 56px); line-height: 1.25; opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--ease), color .3s; }
.mobile__nav a:hover { color: var(--oak); }
.menu-open .mobile__nav a { opacity: 1; transform: none; }
.menu-open .mobile__nav a:nth-child(1) { transition-delay: .25s; } .menu-open .mobile__nav a:nth-child(2) { transition-delay: .3s; }
.menu-open .mobile__nav a:nth-child(3) { transition-delay: .35s; } .menu-open .mobile__nav a:nth-child(4) { transition-delay: .4s; }
.menu-open .mobile__nav a:nth-child(5) { transition-delay: .45s; } .menu-open .mobile__nav a:nth-child(6) { transition-delay: .5s; }
.menu-open .mobile__nav a:nth-child(7) { transition-delay: .55s; }
.mobile__foot { display: grid; gap: 6px; color: rgba(255, 255, 255, .7); font-size: 16px; }

/* Hero --------------------------------------------------------------------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; max-height: 1100px; background: var(--ink); color: #fff; overflow: hidden; }
.hero__slide { position: absolute; inset: 0; clip-path: inset(0 0 0 100%); z-index: 1; }
.hero__slide.is-prev { clip-path: inset(0); z-index: 1; }
.hero__slide.is-active { clip-path: inset(0); z-index: 2; transition: clip-path 1.3s var(--ease-wipe); }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.16); will-change: transform; }
.hero__slide.is-active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.16) translate3d(1.5%, 0, 0); } to { transform: scale(1.02) translate3d(0, 0, 0); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(90deg, rgba(14, 17, 19, .78) 0%, rgba(14, 17, 19, .38) 55%, rgba(14, 17, 19, .12) 100%), linear-gradient(0deg, rgba(14, 17, 19, .7) 0%, rgba(14, 17, 19, 0) 40%); }
.hero__body { position: relative; z-index: 4; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 120px; padding-bottom: clamp(120px, 17vh, 180px); }
.hero__label { margin-bottom: 26px; }
.hero__titles { display: grid; }
.hero__title { grid-area: 1 / 1; align-self: end; font-size: clamp(42px, min(7.4vw, 13vh), 124px); font-weight: 700; max-width: 14ch; visibility: hidden; }
.hero__title.is-active { visibility: visible; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.hero__title .w > span { display: inline-block; transform: translateY(110%); }
.hero__title.is-active .w > span { animation: wordUp 1s var(--ease) forwards; animation-delay: calc(var(--i) * 80ms + 450ms); }
@keyframes wordUp { to { transform: none; } }
.hero__sub { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; }
.hero__sub p { max-width: 44ch; color: rgba(255, 255, 255, .82); }
.hero__bar { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; }
.hero__bar-in { display: flex; align-items: flex-end; gap: clamp(32px, 6vw, 110px); padding-bottom: 34px; padding-right: 210px; }
.hero__dots { display: flex; gap: 10px; align-items: flex-end; }
.hero__dot { width: clamp(56px, 9vw, 130px); text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); transition: color .4s; }
.hero__dot i { display: block; height: 7px; margin-top: 10px; background: rgba(255, 255, 255, .25); position: relative; overflow: hidden; }
.hero__dot i::after { content: ""; position: absolute; inset: 0; background: var(--oak); transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active { color: #fff; }
.hero__dot.is-active i::after { animation: dotFill var(--slide-time, 7s) linear forwards; }
@keyframes dotFill { to { transform: scaleX(1); } }
.hero__facts { display: flex; gap: clamp(24px, 4vw, 64px); }
.hero__facts div { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.hero__facts b { display: block; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -.01em; color: #fff; font-weight: 600; }
.hero__scroll { position: absolute; z-index: 5; right: var(--gutter); top: 50%; writing-mode: vertical-rl; font-size: 11.5px; letter-spacing: .28em; text-transform: uppercase; color: rgba(255, 255, 255, .7); display: flex; align-items: center; gap: 14px; }
.hero__scroll::after { content: ""; width: 1px; height: 70px; background: linear-gradient(#fff, #fff) top / 100% 40% no-repeat, rgba(255, 255, 255, .25); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { 0% { background-position: 0 -40px; } 100% { background-position: 0 110px; } }

/* Marquee ------------------------------------------------------------------ */
.marquee { overflow: hidden; background: var(--ink); color: #fff; padding: 22px 0; border-top: 1px solid var(--line-light); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { display: inline-flex; align-items: center; gap: 34px; padding-right: 34px; font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2.2vw, 30px); white-space: nowrap; }
.marquee__track span::after { content: ""; width: 38px; height: 10px; background: var(--oak); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Reveal system ------------------------------------------------------------ */
.js [data-reveal] { opacity: 0; transform: translateY(46px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal="left"] { transform: translateX(-56px); }
.js [data-reveal="right"] { transform: translateX(56px); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].in { opacity: 1; transform: none; }
.wipe { position: relative; overflow: hidden; }
.wipe img { width: 100%; height: 100%; object-fit: cover; }
.js .wipe img { clip-path: inset(0 100% 0 0); transform: scale(1.25); transition: clip-path 1.3s var(--ease-wipe), transform 1.9s var(--ease); transition-delay: var(--d, 0ms); }
.js .wipe.in img { clip-path: inset(0); transform: scale(1); }
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.js [data-split].in .w > span { transform: none; }
.img-fallback { background: linear-gradient(135deg, #2b3237, #4a4033); }

/* About intro -------------------------------------------------------------- */
.intro__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 7vw, 120px); align-items: center; }
.intro__media { position: relative; padding-bottom: 12%; padding-right: 16%; }
.intro__media .a { aspect-ratio: 4 / 5; }
.intro__media .b { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1 / 1.1; box-shadow: 0 0 0 12px var(--stone); }
.intro__badge { position: absolute; left: -18px; top: 9%; z-index: 2; background: var(--oak); color: #fff; padding: 18px 22px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.intro__badge b { display: block; font-family: var(--font-display); font-size: 40px; line-height: 1; letter-spacing: -.02em; }
.intro__text { display: grid; gap: 26px; justify-items: start; }
.steps { margin-top: clamp(56px, 8vw, 110px); display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.step { padding: 26px 22px 0 0; position: relative; }
.step::before { content: ""; position: absolute; left: 0; top: -5px; width: 34px; height: 9px; background: var(--ink); transition: width .6s var(--ease), background .4s; }
.step:hover::before { width: 80%; background: var(--oak); }
.step small { font-size: 12px; letter-spacing: .18em; color: var(--oak-deep); font-weight: 600; }
.step h3 { font-size: 24px; margin: 8px 0; }
.step p { font-size: 15.5px; color: var(--slate); }

/* Products ----------------------------------------------------------------- */
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 60px; margin-bottom: clamp(36px, 5vw, 72px); }
.head > div { display: grid; gap: 22px; }
.head p { max-width: 44ch; }
.panels { display: flex; gap: 10px; height: clamp(520px, 72vh, 760px); }
.panel { position: relative; flex: 1; min-width: 0; overflow: hidden; color: #fff; cursor: pointer; transition: flex 1s var(--ease); background: var(--ink); }
.panel.is-active { flex: 2.6; }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease), filter .8s; filter: saturate(.75) brightness(.72); }
.panel.is-active img { transform: scale(1.06); filter: none; }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 17, 19, .88), rgba(14, 17, 19, 0) 62%); }
.panel__num { position: absolute; z-index: 2; top: 26px; left: 28px; font-size: 12.5px; letter-spacing: .2em; font-weight: 600; display: flex; align-items: center; gap: 12px; }
.panel__num::before { content: ""; width: 30px; height: 8px; background: var(--oak); }
.panel__body { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 30px; display: grid; gap: 14px; }
.panel__body h3 { font-size: clamp(30px, 3.4vw, 54px); }
.panel__more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .8s var(--ease), opacity .6s; }
.panel__more > div { overflow: hidden; display: grid; gap: 18px; justify-items: start; }
.panel__more p { max-width: 48ch; color: rgba(255, 255, 255, .85); min-width: 260px; }
.panel.is-active .panel__more { grid-template-rows: 1fr; opacity: 1; transition-delay: .25s; }

/* Stats -------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 28px; border-left: 1px solid var(--line-light); display: grid; gap: 8px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { font-family: var(--font-display); font-weight: 600; font-size: clamp(48px, 7vw, 112px); line-height: .95; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat b sup { font-size: .45em; color: var(--oak); vertical-align: top; position: relative; top: .1em; margin-left: 2px; }
.stat > span { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: rgba(241, 241, 238, .66); }
.light .stat { border-color: var(--line); }
.light .stat > span { color: var(--slate); }

/* Projects ----------------------------------------------------------------- */
.projects__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 100px); align-items: stretch; }
.projects__list { display: grid; align-content: center; }
.proj { text-align: left; width: 100%; padding: 26px 0; border-top: 1px solid var(--line-light); display: grid; grid-template-columns: 56px 1fr; column-gap: 8px; color: rgba(241, 241, 238, .45); transition: color .5s; }
.proj:last-child { border-bottom: 1px solid var(--line-light); }
.proj small { font-size: 12.5px; letter-spacing: .18em; font-weight: 600; padding-top: 14px; }
.proj h3 { font-size: clamp(34px, 4.6vw, 72px); transition: transform .6s var(--ease); }
.proj p { grid-column: 2; max-height: 0; overflow: hidden; opacity: 0; font-size: 16.5px; max-width: 46ch; color: rgba(241, 241, 238, .72); transition: max-height .7s var(--ease), opacity .5s, margin .5s; }
.proj:hover { color: rgba(241, 241, 238, .8); }
.proj.is-active { color: #fff; }
.proj.is-active small { color: var(--oak); }
.proj.is-active h3 { transform: translateX(10px); }
.proj.is-active p { max-height: 160px; opacity: 1; margin-top: 12px; }
.projects__stage { position: relative; min-height: clamp(380px, 56vw, 720px); overflow: hidden; background: var(--ink); }
.projects__stage figure { position: absolute; inset: 0; margin: 0; clip-path: inset(100% 0 0 0); transition: clip-path 0s 1.1s; z-index: 1; }
.projects__stage figure.is-active { clip-path: inset(0); z-index: 2; transition: clip-path 1.1s var(--ease-wipe); }
.projects__stage img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform 2s var(--ease); }
.projects__stage figure.is-active img { transform: scale(1.02); }
.projects__stage figcaption { position: absolute; left: 24px; bottom: 22px; z-index: 2; background: var(--paper); color: var(--ink); padding: 10px 16px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }

/* Infrastructure rail ------------------------------------------------------ */
.head > .rail-ctrl { display: flex; gap: 10px; }
.rail-btn { width: 58px; height: 58px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); transition: background .4s, color .4s, box-shadow .4s; }
.rail-btn:hover { background: var(--ink); color: #fff; box-shadow: none; }
.rail-btn svg { width: 20px; height: 12px; }
.rail { display: flex; gap: 22px; overflow-x: auto; padding: 0 var(--gutter) 10px; scroll-snap-type: x proximity; scroll-padding-left: var(--gutter); scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.rail.is-drag * { pointer-events: none; user-select: none; }
.infra { flex: 0 0 min(430px, 82vw); scroll-snap-align: start; background: var(--paper); display: grid; grid-template-rows: auto 1fr; transition: transform .7s var(--ease); }
.infra:hover { transform: translateY(-10px); }
.infra__img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.infra__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.infra:hover .infra__img img { transform: scale(1.08); }
.infra__img::after { content: attr(data-n); position: absolute; right: 16px; bottom: -18px; font-family: var(--font-display); font-weight: 700; font-size: 96px; line-height: 1; color: var(--paper); letter-spacing: -.04em; }
.infra__body { padding: 28px 28px 34px; display: grid; gap: 12px; align-content: start; }
.infra__body h3 { font-size: 30px; }
.infra__body p { font-size: 16px; color: var(--slate); }

/* Partner cards ------------------------------------------------------------ */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cta-card { position: relative; overflow: hidden; min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; align-items: flex-start; padding: clamp(26px, 3.4vw, 52px); color: #fff; background: var(--ink); }
.cta-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: transform 1.8s var(--ease), opacity .8s; }
.cta-card:hover img { transform: scale(1.07); opacity: .4; }
.cta-card > *:not(img) { position: relative; z-index: 1; }
.cta-card p { max-width: 42ch; color: rgba(255, 255, 255, .85); }

/* Contact ------------------------------------------------------------------ */
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 120px); }
.contact__info { display: grid; gap: 30px; align-content: start; }
.contact__rows { display: grid; }
.contact__row { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line-light); align-items: baseline; }
.contact__row:last-child { border-bottom: 1px solid var(--line-light); }
.contact__row small { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--oak); font-weight: 600; }
.contact__row a { font-family: var(--font-display); font-size: clamp(20px, 2vw, 28px); font-weight: 500; transition: color .3s; overflow-wrap: anywhere; }
.contact__row a:hover { color: var(--oak); }
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a { padding: 11px 18px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; box-shadow: inset 0 0 0 1px var(--line-light); transition: background .4s, color .4s, box-shadow .4s; }
.social a:hover { background: var(--oak); box-shadow: none; color: #fff; }
.form { background: var(--paper); color: var(--ink); padding: clamp(26px, 3.6vw, 56px); display: grid; gap: 22px; align-content: start; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 10px 0 12px; border-radius: 0; transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--oak); box-shadow: 0 2px 0 var(--oak); }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form__note { font-size: 14px; color: var(--slate); min-height: 1.4em; }
.form__note.is-error { color: #A8382B; }

/* Footer ------------------------------------------------------------------- */
.footer { background: var(--ink); color: #F1F1EE; padding: clamp(56px, 7vw, 100px) 0 28px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__top h4 { font-family: var(--font-body); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--oak); margin-bottom: 18px; font-weight: 600; }
.footer__top li + li { margin-top: 8px; }
.footer__top a { color: rgba(241, 241, 238, .8); transition: color .3s; }
.footer__top a:hover { color: var(--oak); }
.footer__brand { display: grid; gap: 22px; align-content: start; justify-items: start; }
.footer__brand img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.footer__brand p { max-width: 34ch; color: rgba(241, 241, 238, .7); }
.footer__word { margin: clamp(40px, 6vw, 80px) 0 20px; font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 10.4vw, 210px); line-height: .8; letter-spacing: -.04em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(241, 241, 238, .28); background: linear-gradient(90deg, var(--oak), var(--oak)) left / 0 100% no-repeat; -webkit-background-clip: text; background-clip: text; transition: background-size 1.6s var(--ease-wipe); }
.footer__word.in { background-size: 100% 100%; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line-light); font-size: 14px; color: rgba(241, 241, 238, .6); }
.totop { position: fixed; right: 22px; bottom: 86px; z-index: 80; width: 52px; height: 52px; display: grid; place-items: center; background: var(--oak); color: #fff; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s, transform .5s var(--ease), background .3s; }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: var(--ink); }
.totop svg { width: 12px; height: 20px; }
.wa { position: fixed; right: 22px; bottom: 22px; z-index: 80; display: inline-flex; align-items: center; gap: 10px; padding: 14px 18px; background: #1F8F56; color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 10px 30px rgba(0, 0, 0, .22); transition: transform .5s var(--ease); }
.wa:hover { transform: translateY(-4px); }
.wa svg { width: 20px; height: 20px; }

/* Custom cursor tag */
.cursor { position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; background: var(--oak); color: #fff; display: grid; place-items: center; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; transform: translate3d(var(--x, -200px), var(--y, -200px), 0) scale(0); transition: transform .35s var(--ease); }
.cursor.is-on { transform: translate3d(var(--x), var(--y), 0) scale(1); }

/* Inner page hero ---------------------------------------------------------- */
.page-hero { position: relative; background: var(--ink); color: #fff; padding: clamp(170px, 22vw, 300px) 0 clamp(56px, 7vw, 100px); overflow: hidden; }
.page-hero > img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; opacity: .5; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 17, 19, .9), rgba(14, 17, 19, .25)); }
.page-hero .wrap { position: relative; z-index: 2; display: grid; gap: 24px; }
.page-hero h1 { max-width: 17ch; }
.crumbs { display: flex; gap: 10px; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.crumbs a:hover { color: var(--oak); }

/* About page --------------------------------------------------------------- */
.story { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 7vw, 120px); align-items: start; }
.story__media { position: sticky; top: 110px; aspect-ratio: 4 / 4.6; }
.story__text { display: grid; gap: 26px; }
.story__text p + p { color: var(--slate); }
.certs { display: flex; flex-wrap: wrap; gap: 12px; }
.cert { padding: 14px 20px; background: var(--paper); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 12px; }
.cert::before { content: ""; width: 22px; height: 8px; background: var(--oak); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 44px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--line-light); }
.timeline__fill { position: absolute; left: 0; top: 0; height: 9px; width: 100%; background: var(--oak); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease-wipe); }
.timeline.in .timeline__fill { transform: scaleX(1); }
.tl b { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(50px, 6.4vw, 104px); line-height: 1; letter-spacing: -.03em; }
.tl p { margin-top: 14px; color: rgba(241, 241, 238, .72); max-width: 30ch; }
.values { display: grid; grid-template-columns: 300px 1fr; gap: clamp(30px, 6vw, 100px); }
.values__tabs { display: grid; align-content: start; }
.vtab { text-align: left; padding: 20px 0; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; font-family: var(--font-display); font-weight: 600; font-size: 28px; color: var(--slate); transition: color .4s, padding .5s var(--ease); }
.vtab:last-child { border-bottom: 1px solid var(--line); }
.vtab::after { content: ""; width: 0; height: 9px; background: var(--oak); transition: width .6s var(--ease); }
.vtab.is-active { color: var(--ink); padding-left: 12px; }
.vtab.is-active::after { width: 54px; }
.vpanes { position: relative; background: var(--paper); padding: clamp(26px, 4vw, 60px); min-height: 380px; }
.vpane { display: none; gap: 0; }
.vpane.is-active { display: grid; }
.vpane li { padding: 20px 0 20px 54px; border-bottom: 1px solid var(--line); position: relative; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; opacity: 0; animation: fadeUp .7s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms); }
.vpane li::before { content: attr(data-n); position: absolute; left: 0; top: 24px; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; color: var(--oak-deep); }
.vpane li:last-child { border-bottom: 0; }
.ims { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 7vw, 120px); }
.ims__intro { display: grid; gap: 24px; align-content: start; }
.ims__list li { display: grid; grid-template-columns: 64px 1fr; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line-light); font-size: clamp(18px, 1.7vw, 24px); line-height: 1.4; }
.ims__list li:last-child { border-bottom: 1px solid var(--line-light); }
.ims__list small { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; color: var(--oak); }
.band { text-align: left; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 30px; }

/* Privacy page ------------------------------------------------------------- */
.policy { max-width: 820px; }
.policy h1 { display: none; }
.policy h2 { font-size: clamp(24px, 2.6vw, 34px); margin: 56px 0 16px; padding-top: 26px; border-top: 1px solid var(--line); line-height: 1.15; }
.policy h3 { font-size: 21px; margin: 30px 0 10px; line-height: 1.2; }
.policy p { margin-bottom: 14px; color: #3d4447; }
.policy ul { margin: 0 0 16px; display: grid; gap: 8px; }
.policy li { position: relative; padding-left: 30px; color: #3d4447; }
.policy li::before { content: ""; position: absolute; left: 0; top: .72em; width: 16px; height: 5px; background: var(--oak); }
.policy a { color: var(--oak-deep); text-decoration: underline; text-underline-offset: 3px; }
.policy .intro-card, .policy .contact-box { background: var(--paper); padding: clamp(22px, 3vw, 36px); border-left: 9px solid var(--oak); margin: 18px 0; line-height: 1.9; }
.policy .intro-card p:last-child { margin-bottom: 0; }
.policy .note-box:empty { display: none; }

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .hero__scroll { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr; }
  .values__tabs { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; gap: 26px; scrollbar-width: none; }
  .vtab, .vtab:last-child { border: 0; font-size: 22px; padding: 8px 0 14px; gap: 10px; }
  .vtab.is-active { padding-left: 0; }
  .vtab.is-active::after { width: 26px; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .intro__grid, .projects__grid, .contact__grid, .story, .ims, .duo { grid-template-columns: 1fr; }
  .intro__badge { left: 0; }
  .panels { flex-direction: column; height: auto; }
  .panel, .panel.is-active { flex: none; height: 440px; }
  .panel img { filter: none; }
  .panel__more { grid-template-rows: 1fr; opacity: 1; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 26px 18px; border-top: 1px solid var(--line-light); }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(-n+2) { border-top: 0; }
  .light .stat { border-color: var(--line); }
  .projects__stage { order: -1; }
  .story__media { position: relative; top: 0; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .hero__facts { display: none; }
  .hero__bar-in { padding-bottom: 26px; padding-right: 70px; }
  .cta-card { min-height: 380px; }
  .wa span { display: none; }
  .wa { padding: 15px; }
}
@media (max-width: 560px) {
  .steps, .form__row, .footer__top { grid-template-columns: 1fr; }
  .contact__row { grid-template-columns: 1fr; gap: 4px; }
  .hero__dot { width: 30vw; max-width: 110px; }
  .hero__dot b { display: none; }
  .timeline { grid-template-columns: 1fr; }
  .ims__list li { grid-template-columns: 44px 1fr; }
  .btn { padding: 16px 22px; }
}
@media (hover: none) { .cursor { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .marquee__track { animation: none; }
  .hero__slide img { transform: none; }
}
