:root {
  --bg: #f2f2f2;
  --text: #1c1c1c;
  --muted: #7a7a7a;
  --pill: #111;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Aspekta", "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.top-brand {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 8px 14px;
  border-radius: 999px;
  transition: background 180ms ease, box-shadow 180ms ease;
  cursor: pointer;
  text-decoration: none;
}

.top-brand img {
  height: 24px;
  width: auto;
  display: block;
}

.top-brand .brand-text {
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 180ms ease, transform 180ms ease;
  font-size: 13px;
  font-weight: 700;
  color: #111;
}

.top-brand:hover {
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}

.top-brand:hover .brand-text {
  opacity: 1;
  transform: translateX(0);
}

.section-shortcuts {
  position: fixed;
  left: 16px;
  top: 170px;
  width: 180px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 2;
}

.section-shortcuts.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.section-shortcuts__inner {
  padding: 6px 0;
}

.section-shortcuts__label {
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #111;
  margin: 0 0 8px;
  font-weight: 700;
}

.section-shortcuts__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.section-shortcuts__btn {
  width: auto;
  padding: 6px 14px;
  border-radius: 0;
  border: none;
  background: transparent;
  font-size: 13px;
  text-align: left;
  color: #8a8a8a;
  cursor: pointer;
  transition: color 180ms ease, transform 220ms ease;
  opacity: 1;
  transform: translateX(0);
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
}

.section-shortcuts__btn:hover {
  transform: translateX(2px);
}

.section-shortcuts__btn.active {
  color: #fff;
  font-weight: 700;
  transform: translateX(8px);
}

.section-shortcuts.visible .section-shortcuts__btn {
  animation: slideInLeft 260ms ease-out forwards;
}

.section-shortcuts__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #111;
  border-radius: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 240ms ease-in-out;
  z-index: -1;
}

.section-shortcuts__btn.active::before {
  transform: scaleX(1);
}

main {
  max-width: 650px;
  margin: 0 auto;
  padding: 0 24px 200px;
  display: flex;
  flex-direction: column;
  gap: 180px;
}

.hero-callout {
  position: relative;
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 80px;
  padding-left: 32px;
  padding-right: 32px;
  display: grid;
  gap: 12px;
  align-content: center;
  overflow: hidden;
  isolation: isolate;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.hero-content {
  width: min(650px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.hero-callout > * {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
      font-size: clamp(30px, 6vw, 61px);
    line-height: 1.15;
    font-weight: 500;
    letter-spacing: -3px;
  max-width: 880px;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: #3d3d3d;
  margin: 0;
  max-width: 720px;
}

section {
  display: grid;
  gap: 24px;
  text-align: left;
}

.lede {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
      letter-spacing: -1px;
  margin: 0;
  max-width: 760px;
}

.cols {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  text-align: left;
  margin-top: 8px;
  justify-content: center;
}

.cols h3 {
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.cols p {
  margin: 0;
  color: #3d3d3d;
      letter-spacing: -0.51px;
  line-height: 1.7;
}

.cols > div {
  max-width: 300px;
  width: 100%;
}

.intro {
  text-align: left;
  gap: 20px;
}

.intro .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f7f7f7;
  border: 1px solid #e4e4e4;
  color: #2b2b2b;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.01em;
  max-width: max-content;
  align-self: flex-start;
}

.intro h1,
.word-fade {
  font-size: clamp(24px, 4.5vw, 35px);
  margin-top: 8px;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: -2px;
}

.intro-lede {
  font-size: 18px;
  color: #3d3d3d;
  line-height: 1.6;
  max-width: 900px;
      letter-spacing: -1px;
  margin: 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 10px;
      letter-spacing: -0.51px;
}

.intro-grid h3 {
  margin: 0 0 6px;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #444;
}

.intro-grid p {
  margin: 0;
  color: #2c2c2c;
  line-height: 1.6;
}

.spacer {
  height: 42vh;
}

.scroll-indicator {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  background: #0e0e0f;
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.25);
  z-index: 3;
  cursor: pointer;
  user-select: none;
}

.scroll-indicator .scroll-label {
  display: inline-block;
}

.scroll-indicator svg {
  width: 12px;
  height: 12px;
  fill: #fff;
  display: block;
  transition: transform 160ms ease;
}

.scroll-indicator:not(.at-bottom) svg {
  animation: bounce 1.2s ease-in-out infinite;
}

.scroll-indicator.at-bottom svg {
  animation: bounceUp 1.2s ease-in-out infinite;
}

.fade {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 320ms ease, transform 320ms ease;
}

.fade.in-view {
  opacity: 1;
  transform: translateY(0);
}

.fade .case-image,
.fade .gallery {
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
}

.fade.visual-shown .case-image,
.fade.visual-shown .gallery {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.word-fade span {
  display: inline-block;
  margin-right: 6px;
  color: #c9c9c9;
  opacity: 0.35;
  transition: color 200ms ease, opacity 200ms ease;
}

.first-revealed {
  background: linear-gradient(120deg, #111, #3a3a44);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  width: max-content;
}

.read-more::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(120deg, #111, #3a3a44);
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform 200ms ease;
}

.read-more svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  transition: transform 160ms ease;
}

.read-more:hover::after {
  transform: scaleX(1);
}

.read-more:hover svg {
  transform: translateX(3px);
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes bounceUp {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.case-image {
  margin-top: 14px;
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  transition: clip-path 900ms ease, opacity 500ms ease;
  cursor: pointer;
}

.case-image img {
  display: block;
  width: 100%;
  height: auto;
}

.case-image.mask-visible {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
  z-index: 10;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.gallery {
  margin-top: 14px;
  background: transparent;
  overflow: hidden;
  box-shadow: none;
}

.gallery-frame {
  position: relative;
  padding: 0;
}

.gallery-img {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: transparent;
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  transition: clip-path 900ms ease, opacity 500ms ease;
}

.gallery-img img {
  width: 100%;
  display: block;
  height: auto;
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  filter: blur(1px);
  transition:
    opacity 220ms ease,
    transform 260ms ease,
    filter 260ms ease;
}

.gallery-indicators {
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  gap: 8px;
  padding: 10px 0 0;
  align-items: center;
}

.gallery-dot {
  height: 3px;
  border-radius: 999px;
  background: #d0d2d7;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.gallery-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #111;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 200ms ease;
}

.gallery-dot.active::after {
  transform: scaleX(1);
}

.delayed {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.text-shown .delayed {
  opacity: 1;
  transform: translateY(0);
}

.gallery-img.showing {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}

.gallery-img.showing img {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.slide-out-left {
  transform: translateX(-16px);
  opacity: 0;
  filter: blur(1px);
}

.slide-out-right {
  transform: translateX(16px);
  opacity: 0;
  filter: blur(1px);
}

.slide-in-left {
  transform: translateX(-12px);
  opacity: 0;
  filter: blur(1px);
}

.slide-in-right {
  transform: translateX(12px);
  opacity: 0;
  filter: blur(1px);
}

.slide-in-left,
.slide-in-right {
  animation: slideIn 320ms ease forwards;
}

@keyframes slideIn {
  to {
    transform: translateX(0);
    opacity: 1;
    filter: blur(0);
  }
}

.contact {
  text-align: center;
  gap: 14px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
  background: #0d0d0d;
}

@media (max-width: 720px) {
  main {
    padding-top: 96px;
  }
}

.site-footer {
  max-width: 650px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #111;
  font-size: 13px;
}

.footer-name {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #111;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}

.footer-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-link:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .section-shortcuts {
    display: none;
  }
}
