/* ═══════════════════════════════════════════
   REBOOOT BLOCKS — Services Carousel
   Fonts: Druk Wide Cyr + Helvetica Neue
   ═══════════════════════════════════════════ */

/* ── Fonts ── */
@font-face {
  font-family: 'Druk';
  src: url('fonts/Druk Wide Cyr Heavy.otf') format('opentype');
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: 'Druk';
  src: url('fonts/Druk Wide Cyr Bold.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Druk';
  src: url('fonts/Druk Wide Cyr Medium.otf') format('opentype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'HN';
  src: url('fonts/HelveticaNeue.ttc') format('truetype');
  font-display: swap;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  background: #fff;
  color: #0a0a0a;
  font-family: 'HN', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  overflow: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
button { border: none; background: none; color: inherit; font: inherit; cursor: none; }
img { display: block; max-width: 100%; }

/* ── Cursor ── */
#cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width .25s cubic-bezier(.23,1,.32,1),
              height .25s cubic-bezier(.23,1,.32,1);
}
#cursor.hover {
  width: 40px; height: 40px;
}

/* ── Header ── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  opacity: 0;
}
.logo {
  font-family: 'Druk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .05em;
  border: 1.5px solid #0a0a0a;
  padding: 6px 12px;
  transition: background .3s, color .3s;
}
.logo:hover {
  background: #0a0a0a;
  color: #fff;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-cta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1.5px solid #0a0a0a;
  padding: 10px 24px;
  transition: background .3s, color .3s;
}
.btn-cta:hover {
  background: #0a0a0a;
  color: #fff;
}
.btn-menu {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1.5px solid rgba(10,10,10,.15);
  padding: 10px 24px;
  transition: border-color .3s;
}
.btn-menu:hover { border-color: #0a0a0a; }
.btn-icon {
  width: 38px; height: 38px;
  font-size: 14px;
  font-weight: 700;
  border: 1.5px solid rgba(10,10,10,.15);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .3s;
}
.btn-icon:hover { border-color: #0a0a0a; }

/* ── Services Section ── */
.services {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* Section label */
.section-label {
  position: absolute;
  top: 90px;
  left: 32px;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(10,10,10,.35);
  opacity: 0;
}

/* ── Heading ── */
.services-heading {
  position: absolute;
  top: 13vh;
  left: 32px;
  right: 100px;
  z-index: 10;
}
.heading-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  line-height: 1.05;
  margin-bottom: 0.02em;
}
.heading-word {
  font-family: 'Druk', sans-serif;
  font-weight: 500;
  font-size: clamp(2rem, 5.2vw, 5.8rem);
  text-transform: uppercase;
  display: inline-block;
  overflow: hidden;
  padding-bottom: .06em;
}
.heading-word-inner {
  display: inline-block;
  will-change: transform, opacity;
}

/* Highlight word — with >>> prefix and underline */
.heading-highlight {
  position: relative;
}
.heading-highlight .heading-word-inner {
  text-decoration: none;
}
.heading-highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: #0a0a0a;
  transform-origin: left;
  transform: scaleX(0);
}
.heading-highlight.revealed::after {
  transform: scaleX(1);
  transition: transform .6s cubic-bezier(.23,1,.32,1) .3s;
}
.heading-arrows {
  font-weight: 500;
  opacity: .3;
  font-size: .85em;
}
.heading-link-icon {
  font-family: 'HN', sans-serif;
  font-size: .4em;
  font-weight: 400;
  vertical-align: super;
  margin-left: .15em;
  opacity: .5;
}

/* ── Meta sidebar ── */
.services-meta {
  position: absolute;
  bottom: 12vh;
  left: 32px;
  z-index: 10;
  display: flex;
  gap: 48px;
  opacity: 0;
}
.meta-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.meta-key {
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(10,10,10,.4);
}
.meta-val {
  font-size: 13px;
  letter-spacing: .05em;
  font-weight: 500;
}
.meta-cats {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.7;
  color: rgba(10,10,10,.7);
}
.meta-cats span {
  display: block;
}

/* ── Hero image ── */
.services-image {
  position: absolute;
  bottom: 4vh;
  left: 50%;
  transform: translateX(-40%);
  width: 38vw;
  height: 60vh;
  z-index: 5;
  overflow: hidden;
}
.image-inner {
  width: 100%;
  height: 100%;
  clip-path: inset(100% 0 0 0);
}
.image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Slide nav ── */
.slide-nav {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 16px;
  z-index: 10;
  opacity: 0;
}
.slide-num {
  font-size: 13px;
  letter-spacing: .05em;
  font-weight: 500;
  color: rgba(10,10,10,.25);
  padding: 4px 2px;
  transition: color .3s;
  position: relative;
}
.slide-num.active {
  color: #0a0a0a;
}
.slide-num:hover {
  color: #0a0a0a;
}

/* ── Details link ── */
.details-link {
  position: absolute;
  bottom: 4vh;
  left: 32px;
  z-index: 10;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  border-bottom: 1.5px solid #0a0a0a;
  padding-bottom: 2px;
  opacity: 0;
  transition: opacity .3s;
}
.details-link sup {
  font-size: .65em;
  margin-left: 2px;
  opacity: .5;
}
.details-link:hover sup { opacity: 1; }

/* ── Cookie card ── */
.cookie-card {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  background: #0a0a0a;
  color: #fff;
  width: 320px;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
}
.cookie-thumb {
  width: 100%;
  height: 100px;
  overflow: hidden;
}
.cookie-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cookie-text {
  font-size: 11px;
  letter-spacing: .12em;
  line-height: 1.6;
  text-transform: uppercase;
  padding: 16px 16px 12px;
}
.cookie-actions {
  display: flex;
  gap: 12px;
  padding: 0 16px 16px;
}
.cookie-btn {
  font-size: 12px;
  letter-spacing: .1em;
  font-weight: 500;
  color: #fff;
  padding: 6px 2px;
  transition: opacity .3s;
}
.cookie-btn:hover { opacity: .6; }

/* ── Transitions ── */
.services-heading,
.services-meta,
.services-image {
  transition: none; /* GSAP handles all */
}
