:root {
  --ink: #111418;
  --ink-soft: #1a2029;
  --paper: #f7f8f7;
  --paper-alt: #eef0ee;
  --accent: #1ea4c4;
  --accent-dark: #1585a0;
  --muted: #76808f;
  --border-light: rgba(17, 20, 24, 0.12);
  --border-dark: rgba(255, 255, 255, 0.14);
  --bs-body-font-family: 'Manrope', system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--bs-body-font-family);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand {
  font-family: 'Syne', sans-serif;
  letter-spacing: -0.025em;
}

a {
  color: inherit;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.splash-logo {
  height: clamp(72px, 12vw, 130px);
  width: auto;
  display: block;
  margin: 0 auto 1.25rem;
  mix-blend-mode: screen;
}

.brand-logo {
  height: 40px;
  width: auto;
  display: block;
  mix-blend-mode: screen;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.brand:hover .brand-logo {
  opacity: 0.9;
  transform: scale(1.02);
}

.footer-logo {
  height: 48px;
  width: auto;
  display: block;
  mix-blend-mode: screen;
}

.splash-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background:
    linear-gradient(180deg, rgba(17, 20, 24, 0.65), rgba(17, 20, 24, 0.88)),
    url('assets/splashscreen.png') center/cover no-repeat;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.6s;
}

.splash-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.splash-subtitle {
  font-size: clamp(0.75rem, 1.5vw, 0.95rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 2.5rem;
}

.btn-enter-site {
  display: inline-block;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  background: transparent;
  padding: 0.85rem 2.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.btn-enter-site:hover,
.btn-enter-site:focus-visible {
  background-color: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-2px);
}

.navbar {
  transition: background-color 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
  padding: 1.25rem 0;
}

.navbar.solid {
  background-color: rgba(17, 20, 24, 0.96);
  backdrop-filter: blur(10px);
  padding: 0.75rem 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.navbar .brand {
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus-visible,
.navbar .nav-link.active {
  color: #fff;
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.25rem;
  height: 1.5px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.35);
  padding: 0.45rem 0.65rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(30, 164, 196, 0.35);
}

.navbar-toggler-icon {
  filter: invert(1);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  color: #fff;
  padding: 7rem 0 5rem;
  background-color: var(--ink);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 20, 24, 0.55) 0%, rgba(17, 20, 24, 0.88) 100%),
    url('assets/idle.png') center/cover no-repeat;
  transition: background-image 0.5s ease, transform 0.7s ease;
  z-index: 0;
}

.hero:hover .hero-bg {
  transform: scale(1.02);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: block;
}

.hero-menu {
  font-size: clamp(2.6rem, 8.2vw, 6.5rem);
  font-weight: 800;
  line-height: 1.04;
  margin: 0;
  list-style: none;
  padding: 0;
}

.hero-menu li {
  margin-bottom: 0.1em;
}

.hero-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35em;
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.hero-menu:hover .hero-link {
  opacity: 0.45;
}

.hero-menu .hero-link:hover,
.hero-menu .hero-link:focus-visible {
  opacity: 1;
  color: var(--accent);
  transform: translateX(0.22em);
}

.hero-index {
  font-family: var(--bs-body-font-family);
  font-size: clamp(0.75rem, 1.3vw, 1rem);
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.08em;
  transform: translateY(-1.8em);
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
}

.scroll-cue:hover {
  color: var(--accent);
}

.scroll-cue::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: currentColor;
  margin: 0.65rem auto 0;
  animation: scrollPulse 2s infinite ease-in-out;
}

@keyframes scrollPulse {
  0%, 100% {
    transform: scaleY(1);
    opacity: 0.8;
  }
  50% {
    transform: scaleY(0.55);
    opacity: 0.35;
  }
}

section {
  padding: 6.5rem 0;
}

.section-label {
  color: var(--muted);
  font-family: var(--bs-body-font-family);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.about-photo-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  background: #d7dcdb;
}

.photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.about-photo-wrap:hover .photo {
  transform: scale(1.03);
}

.about-heading {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about-text {
  font-size: 1.12rem;
  line-height: 1.85;
  color: #2b3340;
  max-width: 62ch;
}

.about-text strong {
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
  font-weight: 700;
  padding-bottom: 1px;
}

.about-cta-link {
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
  font-weight: 700;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.about-cta-link:hover {
  color: var(--accent-dark);
  border-color: var(--accent);
}

.featured-box {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-light);
}

.featured-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem 2.75rem;
  margin-top: 1.25rem;
}

.featured-logos img {
  height: 30px;
  width: auto;
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.featured-logos img:hover {
  opacity: 0.95;
  filter: grayscale(0);
}

.why {
  background-color: var(--ink);
  color: #fff;
}

.why .section-label {
  color: var(--accent);
}

.why-quote {
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 24ch;
  margin-bottom: 4rem;
}

.principle-card {
  height: 100%;
}

.principle-img-wrap {
  overflow: hidden;
  border-radius: 0.5rem;
  background-color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.principle-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.principle-card:hover img {
  transform: scale(1.04);
}

.principle-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.principle-text {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.work-section {
  background-color: var(--paper-alt);
}

.work-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.work-thumb {
  overflow: hidden;
  border-radius: 0.5rem;
  background-color: #d7dcdb;
  margin-bottom: 1rem;
  position: relative;
}

.work-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-card:hover .work-thumb img {
  transform: scale(1.04);
}

.work-meta {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.work-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  transition: color 0.2s ease;
}

.work-card:hover .work-title {
  color: var(--accent-dark);
}

footer {
  background-color: #0b0e12;
  color: rgba(255, 255, 255, 0.75);
  padding: 5rem 0 2.5rem;
}

.footer-heading {
  font-family: var(--bs-body-font-family);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.1rem;
}

.footer-brand {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

footer a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
}

footer a:hover,
footer a:focus-visible {
  color: var(--accent);
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 0.55rem;
}

.btn-accent {
  background-color: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  border: 0;
  padding: 0.85rem 2rem;
  border-radius: 50rem;
  display: inline-block;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.btn-accent:hover,
.btn-accent:focus-visible {
  background-color: #fff;
  color: var(--ink);
  transform: translateY(-2px);
}

.social-links a {
  display: inline-block;
  font-weight: 600;
  margin-right: 1.5rem;
}

.social-links a:last-child {
  margin-right: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
