/* ================================================
   CSS VARIABLES & ROOT
   ================================================ */
:root {
  --white: #ffffff;
  --black: #000000;
  --black-1a: #3d3d3d;
  --red: #fe3415;
  --cube-white: #f7f7f8;
  --dim-grey: #b6b6b6;
  --dim-grey-2: #3d3d3d;
  --off-white: #eaeaec;
  --ice-grey: #f1f1f1;
  --gainsbor: transparent;
  --font-main: 'Montserrat', sans-serif;
}

/* ================================================
   RESET & BASE
   ================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--white);
  color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

strong {
  font-weight: 700;
}

/* ================================================
   HERO SECTION
   ================================================ */
.home-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #0a0a0a;
}

.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}


/* ================================================
   NAVBAR — fixed, always on top of everything
   ================================================ */
.nav-block {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  pointer-events: none;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  pointer-events: all;
}

.mark {
  display: block;
  line-height: 0;
  animation: fadeIn 0.6s ease 0.2s both;
  transition: opacity 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.mark:hover {
  opacity: 0.7;
}

.satoboncom-mark {
  width: 52px;
  display: block;
}

/* ---- Hamburger — always visible, always on top ---- */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 600;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.35s ease, opacity 0.25s ease, background 0.2s ease;
  transform-origin: center;
}

/* Dark bars for light-background pages */
.nav-hamburger--dark span {
  background: var(--black);
}

/* ---- Right-side nav panel ---- */
.nav-dropdown-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 36px 40px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  z-index: 490;
  transition: opacity 0.3s ease;
}

.nav-dropdown-menu.is-open {
  opacity: 1;
  pointer-events: all;
}


/* ---- Main nav links ---- */
.nav-main-links {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 60px;
  margin-bottom: 12px;
}

.nav-main-links .nav-link-item:last-child {
  margin-bottom: 40px;
}

.nav-link-item {
  color: #fff !important;
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
  padding: 8px 18px;
  display: block;
  text-align: left;
  width: 100%;
  transition: color 0.2s ease;
}

.nav-link-item:hover {
  color: #fff !important;
}

.nav-link-item--active {
  color: #fff !important;
}

/* ---- Projects section ---- */
.nav-projects-section {
  width: 100%;
}

.nav-projects-label {
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
  padding-left: 18px;
}

.nav-projects-pills {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-pill {
  display: block;
  background: rgba(30, 30, 30, 0.85);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 13px 20px;
  border-radius: 0;
  width: fit-content;
  transition: background 0.2s ease;
}

.nav-pill:hover {
  background: rgba(50, 50, 50, 0.95);
}

/* ================================================
   HERO COPY
   ================================================ */
.hl-copy {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
  pointer-events: none;
  text-align: center;
  transition: opacity 0.5s ease;
}

.hl-copy.is-hidden {
  opacity: 0;
}

.home-copy-movable {
  padding-bottom: 60px;
  text-align: center;
}

.hero-hl-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hl-1 {
  color: var(--white);
  font-family: var(--font-main);
  font-size: clamp(77px, 14vw, 206px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background-color: transparent;
  margin-bottom: 0;
  white-space: nowrap;
}

/* Decode scramble effect */
.hl-char {
  display: inline-block;
  color: var(--white);
  transition: color 0.1s ease;
}

.hl-char--decoding {
  color: rgba(255, 255, 255, 0.45);
}

.hl-char--locked {
  color: var(--white);
}

/* Blinking cursor — triggered by JS after last letter locks */
.hl-cursor {
  display: inline-block;
  font-weight: 300;
  opacity: 0;
  margin-left: 4px;
}

.hl-cursor--active {
  animation:
    cursorAppear 0s forwards,
    cursorBlink  0.65s step-end infinite;
}

@keyframes cursorAppear {
  to { opacity: 1; }
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* "IS EVERYTHING" — font-size set by JS to match width of .hl-1 */
.hl-2 {
  color: var(--white);
  font-family: var(--font-main);
  font-size: clamp(48px, 8.7vw, 125px); /* fallback; JS overrides this */
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: -28px;
  white-space: nowrap;
  display: block;
}

/* ================================================
   HERO — PROJECT NAV (right-side overlay)
   ================================================ */
.hero-project-nav {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  display: flex;
  flex-direction: column;
  width: 136px;
}

.hpn-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 13px 20px;
  background: rgba(30, 30, 30, 0.95);
  margin-bottom: 4px;
  text-decoration: none;
  color: #fff;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.hpn-item:last-child {
  margin-bottom: 0;
}

.hpn-num {
  display: none;
}

.hpn-name {
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.2s ease;
}

.hpn-item:hover {
  background: rgba(50, 50, 50, 0.95);
}

.hpn-item:hover .hpn-num {
  color: #fff;
}

.hpn-item:hover .hpn-name {
  color: #fff;
}

.hero-project-nav:has(.hpn-item:hover) .hpn-item:not(:hover) {
  opacity: 0.4;
}

/* ── Full-page project hover overlay ── */
.project-full-overlay {
  position: fixed;
  inset: 0;
  z-index: 12;
  background-size: cover;
  background-position: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.project-full-overlay.is-visible {
  opacity: 1;
}

.project-full-overlay-dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.project-full-overlay-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 1;
  pointer-events: none;
}

.project-full-overlay-name {
  font-family: var(--font-main);
  font-size: clamp(32px, 3.8vw, 56px);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.95);
}

.project-full-overlay-desc {
  font-family: var(--font-main);
  font-size: clamp(13px, 1.2vw, 18px);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .hero-project-nav {
    right: 24px;
    min-width: 160px;
  }
}



/* ================================================
   SECTION 4 — APPROACH + CAPABILITIES + CLIENTS
   ================================================ */
.home-sec-4-wrapper {
  position: relative;
  background-color: var(--white);
  color: var(--black);
}

.home-sec-4-hl {
  background-color: var(--white);
  margin-left: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* ---- Approach ---- */
.div-block-358 {
  background-color: var(--cube-white);
  margin-bottom: 0;
}

.about--sec-3-process {
  background-color: var(--white);
  margin-top: 0;
  padding-top: 80px;
}

.about-sec-3-sh {
  margin-top: 0;
  margin-left: 130px;
  margin-right: 130px;
  padding-top: 0;
  padding-bottom: 10px;
}

.text-block-202 {
  color: var(--black);
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
  padding-bottom: 16px;
}

.div-block-383 {
  margin-bottom: 0;
  padding-right: 23%;
  padding-bottom: 70px;
}

.text-block-211 {
  color: var(--black);
  font-family: var(--font-main);
  font-size: 50px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 48px 0 40px 0;
  padding-bottom: 10px;
}

.text-span-131 {
  font-style: normal;
  font-weight: 700;
}

/* ---- Approach text list ---- */
/* Type scale: Perfect Fourth (×1.333) from site's 50px statement heading.
   50 ÷ 1.333 ≈ 38px for titles; body at 16px is two steps below.
   Leading: golden ratio (1.618) for body; tight 1.05 for display titles.
   Measure: 66ch (Bringhurst's optimal line length). */
.approach-list {
  display: flex;
  flex-direction: column;
  margin-top: 48px;
  width: 100%;
}

.approach-item {
  display: flex;
  flex-direction: column;
  padding: 72px 0;
  border-top: 1px solid rgba(0,0,0,0.07);
}

.approach-item:last-child {
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.approach-item-title {
  color: #666666;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.approach-item-desc {
  color: var(--black);
  font-family: var(--font-main);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  max-width: 900px;
}


.quick-stack-13 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: 75%;
  margin-left: 0;
  margin-right: 0;
  padding-top: 40px;
  padding-bottom: 40px;
}

.cap-cell {
  padding-right: 20px;
}

.text-block-135,
.text-block-136,
.text-block-137 {
  color: var(--black);
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
  margin-left: 0;
  margin-bottom: 20px;
}

.text-block-135 strong,
.text-block-136 strong,
.text-block-137 strong {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.text-span-93 {
  color: var(--black);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0;
  text-transform: none;
  display: block;
  margin-top: 14px;
}

.text-span-134,
.text-span-133 {
  display: inline;
}


/* ================================================
   FOOTER / CTA
   ================================================ */
.divider-line {
  display: none;
}

.footer-gt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding: 40px 0;
}

.about-copy {
  color: var(--black);
  font-family: var(--font-main);
  font-size: clamp(20px, 2.5vw, 34px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.button-2 {
  display: inline-block;
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 48px;
  transition: background-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.button-2:hover {
  background-color: var(--red);
  transform: translateY(-2px);
}


.text-block-189 {
  color: var(--black);
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.5px;
  opacity: 0.3;
}

/* ================================================
   SCROLL REVEAL ANIMATIONS
   ================================================ */
.js-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ================================================
   RESPONSIVE — TABLET
   ================================================ */
@media (max-width: 991px) {
  .navbar {
    padding: 0 24px;
  }

  .hl-1 {
    letter-spacing: -0.02em;
  }

  .hl-2 {
    letter-spacing: -0.02em;
  }

  .home-copy-movable {
    padding-left: 24px;
  }

  .about-sec-3-sh {
    margin-left: 24px;
  }

  .div-block-383 {
    padding-right: 25%;
    padding-bottom: 120px;
  }

  .about--sec-3-process {
    padding-top: 120px;
  }

  .quick-stack-13 {
    grid-template-columns: repeat(2, 1fr);
    margin-left: 24px;
    gap: 20px 0;
  }

  .footer-gt {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

/* ================================================
   RESPONSIVE — MOBILE
   ================================================ */
@media (max-width: 767px) {
  .navbar {
    padding: 16px 24px;
  }

  .nav-dropdown-menu {
    width: 260px;
    right: 0;
    left: auto;
    padding: 24px 28px 36px;
  }

  .nav-link-item {
    font-size: 20px;
  }

  .hl-1 {
    font-size: clamp(60px, 16.5vw, 105px);
    letter-spacing: -0.02em;
  }

  .hl-2 {
    font-size: clamp(29px, 8.25vw, 51px);
    letter-spacing: -0.02em;
  }

  .home-copy-movable {
    padding-left: 20px;
    padding-bottom: 40px;
  }

  .about--sec-3-process {
    padding-top: 80px;
  }

  .about-sec-3-sh {
    margin-left: 20px;
  }

  .div-block-383 {
    padding-right: 0;
    padding-bottom: 80px;
  }

  .text-block-211 {
    margin-top: 40px;
    margin-right: 0;
    font-size: clamp(26px, 6vw, 36px);
  }

  .approach-item-desc {
    font-size: 22px;
    max-width: 100%;
  }

  .quick-stack-13 {
    grid-template-columns: repeat(2, 1fr);
    margin-left: 20px;
    margin-right: 20px;
    gap: 32px 20px;
    padding-top: 32px;
    width: 100%;
  }

  .about-copy {
    font-size: clamp(20px, 6vw, 30px);
  }

  .button-2 {
    padding: 14px 32px;
  }

  .home-sec-4-hl {
    padding-top: 0;
  }

  .hero-project-nav {
    display: none;
  }

  .approach-item {
    padding: 32px 0;
  }
}

@media (max-width: 479px) {
  .hl-1 {
    font-size: clamp(45px, 15vw, 83px);
    letter-spacing: -0.02em;
  }

  .hl-2 {
    font-size: clamp(21px, 7.5vw, 39px);
    letter-spacing: -0.02em;
  }

  .text-block-211 {
    font-size: clamp(22px, 6vw, 30px);
  }

  .quick-stack-13 {
    grid-template-columns: 1fr;
  }
}

/* ================================================
   GLOBAL SHARED UTILITIES
   ================================================ */

/* Headline reveal stagger (used on about + connect + what-i-do) */
.about-reveal-1 { transition-delay: 0.05s; }
.about-reveal-2 { transition-delay: 0.2s;  }
.about-reveal-3 { transition-delay: 0.35s; }

/* Subhead paragraph style */
.wid-subhead {
  font-family: var(--font-main);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.45);
  max-width: 52ch;
}

/* ================================================
   GLOBAL FOOTER — shared across all pages
   ================================================ */
.footer-block-about {
  background-color: var(--white);
  padding-left: 0;
  padding-right: 0;
}

.div-block-382 {
  margin-left: 130px;
  margin-right: 130px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 0;
}

.div-block-385 {
  margin-left: 130px;
  margin-right: 130px;
  padding: 0;
}

.div-block-351 {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 20px;
  margin-top: 0;
}

@media (max-width: 991px) {
  .div-block-382,
  .div-block-385 {
    margin-left: 32px;
    margin-right: 32px;
  }
}

@media (max-width: 600px) {
  .div-block-382,
  .div-block-385 {
    margin-left: 20px;
    margin-right: 20px;
  }
}
