:root {
  --color-blue: #398aea;
  --color-text: #303030;
  --color-bg: #f2f2f2;
  --header-height: 48px;
  --page-gutter: clamp(22px, 7vw, 152px);
  --font-heading: "ads-strong", sans-serif;
  --font-heading-weight: 400;
  --font-body: system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0;
}

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0 clamp(18px, 4vw, var(--page-gutter));
  pointer-events: none;
}

.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  width: 100%;
  min-height: var(--header-height);
  margin: 0 auto;
}

.global-nav {
  grid-column: 1;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.6vw, 42px);
  min-height: 38px;
  padding: 0 clamp(24px, 4.2vw, 60px);
  border-radius: 0 0 999px 999px;
  background: var(--color-blue);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  letter-spacing: 0.05em;
  pointer-events: auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  min-width: calc(5em + 15px);
  font-size: clamp(0.89rem, 1.25vw, 1.09rem);
  line-height: 1;
  white-space: nowrap;
}

.nav-link:focus-visible,
.social-link:focus-visible,
.button-link:focus-visible {
  outline: 3px solid rgba(63, 143, 229, 0.34);
  outline-offset: 4px;
}

.header-socials {
  position: absolute;
  top: 0;
  right: clamp(14px, 3vw, 42px);
  display: flex;
  align-items: center;
  gap: clamp(13px, 1.7vw, 24px);
  padding-top: 13px;
  pointer-events: auto;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(20px, 2vw, 24px);
  height: clamp(20px, 2vw, 24px);
}

.social-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-main {
  overflow: hidden;
}

.section {
  position: relative;
  padding-right: var(--page-gutter);
  padding-left: var(--page-gutter);
  scroll-margin-top: var(--header-height);
}

.section-inner {
  width: min(760px, 100%);
  margin: 0 auto;
}

.section-title {
  margin: 0;
  color: var(--color-blue);
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: clamp(1.58rem, 3.98vw, 3.23rem);
  line-height: 0.9;
  letter-spacing: 0.05em;
  text-align: center;
}

.latin-strong {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0;
}

.hero {
  min-height: clamp(680px, 100svh, 900px);
  padding-top: clamp(116px, 12vw, 164px);
  padding-bottom: clamp(54px, 7vw, 96px);
}

.hero-fall-mask {
  position: relative;
  width: min(760px, 100%);
  height: clamp(360px, 53vh, 520px);
  margin: 0 auto;
  overflow: hidden;
}

.top-icon-svg {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 50%;
  display: block;
  width: clamp(230px, 24vw, 320px);
  height: auto;
  transform: translateX(-50%);
  overflow: visible;
}

.top-icon-part {
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform, opacity;
}

.hero-line {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0;
  width: clamp(118px, 15vw, 178px);
  height: 6px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--color-blue);
}

.works {
  padding-top: clamp(130px, 18vw, 250px);
  padding-bottom: clamp(120px, 17vw, 230px);
}

.works-inner {
  width: min(1140px, 100%);
}

.works-video {
  width: 80%;
  margin-right: auto;
  margin-left: auto;
  margin-top: clamp(88px, 9vw, 132px);
}

.video-placeholder {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 15px;
  background: #000000;
}

.works-embed {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.about {
  overflow: hidden;
  padding-top: clamp(82px, 10vw, 150px);
  padding-bottom: clamp(56px, 7vw, 100px);
}

.about-inner {
  position: relative;
  width: min(1060px, 100%);
}

.about-heading {
  margin-bottom: clamp(90px, 10vw, 150px);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(260px, 360px) minmax(250px, 310px);
  align-items: center;
  justify-content: center;
  gap: clamp(54px, 7vw, 88px);
}

.about-side-icon {
  width: min(260px, 100%);
  aspect-ratio: 1;
}

.about-side-icon-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

#aboutSideEyeLeft,
#aboutSideEyeRight {
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform;
}

.about-name-panel {
  min-width: 0;
}

.about-profile {
  align-self: start;
  width: min(310px, 100%);
  margin-top: clamp(36px, 4vw, 62px);
}

.about-profile.is-detail-open {
  align-self: start;
}

.name-lottie-wrap {
  position: relative;
  width: min(360px, 100%);
  aspect-ratio: 407 / 282;
  margin-left: 0;
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  line-height: 1;
}

.name-lottie {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.name-lottie-wrap.is-loaded .name-lottie {
  opacity: 1;
}

.name-lottie svg {
  display: block;
  width: 100%;
  height: 100%;
}

.name-static-fallback {
  display: flex;
  flex-direction: column;
  gap: 0.1em;
}

.name-lottie-wrap.is-loaded .name-static-fallback {
  display: none;
}

.fallback-name-main {
  color: var(--color-blue);
  font-size: clamp(1.78rem, 3vw, 2.7rem);
  letter-spacing: 0.05em;
}

.fallback-name-sub {
  font-size: clamp(1.42rem, 2.25vw, 2rem);
  letter-spacing: 0.05em;
}

.about-list {
  display: grid;
  gap: 23px;
  margin: 0 0 38px;
  padding: 0;
  list-style: none;
  font-family: var(--font-body);
  font-size: clamp(0.91rem, 1.2vw, 1.05rem);
  font-weight: 700;
  line-height: 1.7;
}

.about-service-title {
  margin: 0 0 22px;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.75vw, 1.55rem);
  font-weight: var(--font-heading-weight);
  line-height: 1;
  letter-spacing: 0.05em;
}

.about-list li {
  position: relative;
  padding-left: 23px;
}

.about-list li::before {
  content: "";
  position: absolute;
  top: 0.82em;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-text);
  transform: translateY(-50%);
}

.about-detail {
  display: grid;
  gap: 0.85em;
  margin: 0 0 34px;
  font-family: var(--font-body);
  font-size: clamp(0.91rem, 1.2vw, 1.05rem);
  font-weight: 700;
  line-height: 1.75;
}

.about-detail[hidden] {
  display: none;
}

.about-detail p {
  margin: 0;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 36px;
  padding: 0 18px;
  border: 3px solid var(--color-text);
  border-radius: 999px;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.91rem;
  font-weight: 700;
  cursor: pointer;
}

.button-link span {
  font-size: 1rem;
  line-height: 1;
}

.topics {
  padding-top: clamp(40px, 5vw, 80px);
  padding-bottom: clamp(130px, 17vw, 220px);
}

.topics-inner {
  width: min(860px, 100%);
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(72px, 8vw, 118px);
  margin-top: clamp(86px, 9vw, 122px);
}

.topics-grid-single {
  grid-template-columns: minmax(0, 360px);
  justify-content: center;
}

.topic-card {
  display: grid;
  gap: 12px;
}

.topic-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 15px;
  background: #000000;
}

.topic-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topic-card time,
.topic-card h3,
.topic-body {
  position: relative;
  margin: 0;
  padding-left: 0;
  font-family: var(--font-body);
  font-size: clamp(0.91rem, 1.2vw, 1.05rem);
  font-weight: 700;
  line-height: 1.65;
}

.topic-card time {
  margin-top: 4px;
}

.topic-title {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.topic-title:hover,
.topic-title:focus-visible {
  color: var(--color-blue);
}

.topic-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height 0.28s ease, opacity 0.24s ease, transform 0.24s ease;
}

.topic-card.is-open .topic-body {
  max-height: 240px;
  opacity: 1;
  transform: translateY(0);
}

.contact {
  padding-top: clamp(12px, 2vw, 28px);
  padding-bottom: 20px;
}

.contact-inner {
  width: min(760px, 100%);
}

.contact-body {
  width: min(580px, 100%);
  margin: clamp(48px, 5vw, 72px) auto clamp(46px, 5vw, 70px);
  font-family: var(--font-body);
  font-size: clamp(0.91rem, 1.2vw, 1.07rem);
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
}

.contact-body p {
  margin: 0;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(56px, 8vw, 118px);
  width: min(620px, 100%);
  margin: 0 auto;
}

.contact-column h3 {
  margin: 0 0 24px;
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 1.45vw, 1.24rem);
  font-weight: 700;
}

.contact-column > a,
.contact-mail-row > a {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin: 0 20px 17px 0;
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.12vw, 0.99rem);
  font-weight: 700;
  line-height: 1.6;
}

.contact-mail-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  margin-bottom: 17px;
}

.contact-mail-row > a {
  margin: 0;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  transform: translateY(-1px);
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-text);
  font: 700 0.95rem/1 var(--font-body);
  cursor: pointer;
}

.contact-column .social-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 50px;
}

.contact-column .social-link {
  width: 27px;
  height: 27px;
}

@media (max-width: 900px) {
  :root {
    --header-height: 96px;
  }

  .site-header {
    padding: 10px 18px 0;
  }

  .header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .global-nav {
    width: min(540px, 100%);
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    min-height: 40px;
    padding: 0 24px;
    border-radius: 999px;
    scrollbar-width: none;
  }

  .global-nav::-webkit-scrollbar {
    display: none;
  }

  .header-socials {
    position: static;
    justify-content: center;
    gap: 32px;
    padding-top: 0;
  }

  .header-socials .social-link {
    width: 21px;
    height: 21px;
  }

  .hero {
    min-height: 680px;
    padding-top: 154px;
  }

  .works,
  .topics,
  .contact {
    padding-right: clamp(28px, 8vw, 72px);
    padding-left: clamp(28px, 8vw, 72px);
  }

  .about {
    padding-right: clamp(28px, 8vw, 72px);
    padding-left: clamp(28px, 8vw, 72px);
  }

  .about-layout {
    grid-template-columns: minmax(150px, 230px) minmax(230px, 330px);
    gap: clamp(42px, 7vw, 68px);
  }

  .about-heading {
    margin-bottom: 82px;
  }

  .about-profile {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(520px, 100%);
    margin-top: 8px;
  }

  .about-list {
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    gap: 18px 34px;
  }

  .topics-grid {
    gap: 36px;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 104px;
  }

  .site-header {
    padding-right: 12px;
    padding-left: 12px;
  }

  .global-nav {
    width: 100%;
    gap: 10px;
    padding: 0 18px;
  }

  .nav-link {
    min-width: auto;
    padding: 0 9px;
    font-size: 0.82rem;
  }

  .header-socials {
    gap: 28px;
  }

  .section-title {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .hero {
    min-height: 620px;
  }

  .works {
    padding-top: 110px;
    padding-bottom: 120px;
  }

  .works-video {
    width: 100%;
    margin-top: 62px;
  }

  .about {
    padding-top: 92px;
    padding-bottom: 96px;
  }

  .about-heading {
    margin-bottom: 64px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-side-icon {
    justify-self: center;
    width: min(250px, 74vw);
  }

  .about-name-panel {
    justify-self: center;
    width: min(340px, 100%);
  }

  .about-profile {
    width: min(320px, 100%);
    margin-top: 8px;
  }

  .about-list {
    grid-template-columns: 1fr;
    justify-content: start;
  }

  .topics-grid {
    grid-template-columns: 1fr;
    width: min(360px, 100%);
    margin: 64px auto 0;
  }

  .contact-body {
    margin-top: 42px;
    margin-bottom: 42px;
    text-align: center;
  }

  .contact-links {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}
