:root {
  --linen: #f7f3ee;
  --paper: #e8e0d4;
  --stone: #cfc4b6;
  --oak: #8f7a63;
  --brass: #c4a574;
  --ink: #2a261f;
  --muted: #6f675d;
  --photo: url("images/splash.jpg");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#about,
#projects,
#diplomas,
#visuals,
#contact {
  scroll-margin-top: 88px;
}

body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #1b1814;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

.splash.is-gone {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash__photo {
  position: absolute;
  inset: 0;
  background: var(--photo) center / cover no-repeat;
  transform: scale(1.08);
  animation: kenburns 14s ease-out forwards;
}

.splash__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 17, 14, 0.38), rgba(20, 17, 14, 0.52)),
    repeating-linear-gradient(
      90deg,
      transparent 0 72px,
      rgba(196, 165, 116, 0.07) 72px 73px
    );
}

.splash__plan {
  position: absolute;
  width: min(92vw, 920px);
  opacity: 0.35;
}

.plan-line {
  stroke: #e8dcc8;
  stroke-width: 1.2;
  fill: none;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw 3.4s ease forwards;
}

.plan-line--accent {
  stroke: var(--brass);
  stroke-width: 3;
}

.splash__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #f6f1ea;
  padding: 24px;
  animation: rise 1.4s 0.4s ease both;
}

.splash__kicker,
.splash__role,
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 18px;
}

.splash__title {
  font-size: clamp(2.6rem, 8vw, 6.2rem);
  font-weight: 400;
  font-style: italic;
}

.splash__role {
  margin: 18px 0 32px;
  color: #d8d0c4;
}

.splash__swatches {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.splash__swatches span {
  width: 28px;
  height: 8px;
}

.splash__enter {
  appearance: none;
  border: 1px solid rgba(196, 165, 116, 0.7);
  background: transparent;
  color: #f6f1ea;
  padding: 14px 32px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font: 400 0.7rem Outfit, sans-serif;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.splash__enter:hover,
.splash__enter:focus-visible {
  background: var(--brass);
  color: #1b1814;
  outline: none;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 7vw;
  background: rgba(247, 243, 238, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(42, 38, 31, 0.08);
}

.nav__logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
}

.nav__links {
  display: flex;
  gap: 28px;
  font-size: 0.85rem;
}

.nav__links a:hover {
  color: var(--oak);
}

main {
  padding: 0 7vw 80px;
}

.hero {
  padding: 12vh 0 10vh;
  max-width: 820px;
}

.hero h2,
.contact h2 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.section-head h2,
.about h2 {
  font-size: clamp(2.05rem, 3.8vw, 3.35rem);
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 62ch;
}

.projects {
  padding-bottom: 40px;
}

.about {
  padding: 140px 0 80px;
}

.about__top {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 1.2fr;
  gap: 64px;
  align-items: center;
}

.about__image {
  overflow: hidden;
}

.about__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center top;
}

.about h2 {
  margin-bottom: 22px;
}

.about__intro {
  margin: 0 0 28px;
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--ink);
}

.about__points {
  margin: 0;
  padding: 0 0 0 1.1em;
  color: var(--muted);
  font-size: 1.08rem;
}

.about__points li + li {
  margin-top: 14px;
}

.programs {
  margin-top: 72px;
}

.programs h3,
.certificates h3,
.visuals h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 24px;
}

.programs__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1.08rem;
  color: var(--ink);
}

.programs__grid > li {
  padding-left: 1.15em;
  position: relative;
}

.programs__grid > li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
}

.programs__grid p {
  margin: 0 0 10px;
  font-weight: 400;
}

.programs__grid ul {
  margin: 8px 0 0;
  padding-left: 1.2em;
  color: var(--muted);
  font-size: 1rem;
}

.programs__grid ul li + li {
  margin-top: 8px;
}

.programs__shot {
  display: block;
  width: 100%;
  max-width: none;
  margin: 12px 0 14px;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.programs__shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.programs__caption {
  margin: 0 0 12px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
}

.programs__link {
  display: inline-block;
  letter-spacing: 0.04em;
  color: var(--oak);
  border-bottom: 1px solid rgba(143, 122, 99, 0.45);
}

.programs__link:hover {
  color: var(--ink);
}

.certificates,
.visuals {
  padding: 40px 0 80px;
}

.certificates__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.certificates__head--stack {
  align-items: flex-start;
}

.certificates__head--stack .project-stage__lead {
  margin: 8px 0 0;
  max-width: 52ch;
  font-style: italic;
  color: var(--muted);
  font-size: 1rem;
}

.certificates__nav {
  display: flex;
  gap: 10px;
}

.certificates__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--stone);
  background: transparent;
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.certificates__btn:hover {
  border-color: var(--oak);
  color: var(--oak);
}

.certificates__track,
.visuals__track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.certificates__track::-webkit-scrollbar,
.visuals__track::-webkit-scrollbar {
  display: none;
}

.certificates__item {
  flex: 0 0 min(28%, 300px);
  margin: 0;
  background: #fff;
  scroll-snap-align: start;
  box-shadow: 0 12px 32px rgba(42, 38, 31, 0.08);
}

.certificates__item img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: #fff;
}

.visuals__note {
  margin: 0 0 22px;
  max-width: 68ch;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}

.visuals__item {
  flex: 0 0 min(42%, 520px);
  margin: 0;
  scroll-snap-align: start;
}

.visuals__item--wide {
  flex-basis: min(52%, 640px);
}

.visuals__item--tall,
.visuals__item--video {
  flex-basis: min(34%, 420px);
}

.visuals__item img,
.visuals__item video {
  width: 100%;
  height: 420px;
  object-fit: cover;
  background: #111;
}

.visuals__shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  position: relative;
}

.visuals__shot::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  opacity: 0.55;
  pointer-events: none;
  border-radius: 6px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 4h5v5M9 20H4v-5M20 4l-7 7M4 20l7-7'/%3E%3C/svg%3E")
      center / 20px no-repeat,
    rgba(42, 38, 31, 0.35);
  animation: zoom-hint 1.8s ease-in-out infinite;
}

.visuals__item figcaption {
  margin-top: 14px;
  font-style: italic;
  color: var(--muted);
  font-size: 1rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 40px;
  background: rgba(20, 17, 14, 0.88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  width: auto;
  height: auto;
  max-width: min(92vw, 1200px);
  max-height: 88vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 24px;
  border: 0;
  background: none;
  color: #f6f1ea;
  font-size: 2.2rem;
  cursor: pointer;
}

.section-head {
  margin-bottom: 40px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

a.card {
  display: block;
  color: inherit;
}

.card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: var(--paper);
}

.card--wide {
  grid-column: 1 / -1;
  min-height: 480px;
}

.card--drawing {
  background: #f7f4ef;
}

.card--drawing img {
  object-fit: cover;
}

.grid > a.card:nth-child(1),
.grid > a.card:nth-child(2) {
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.grid > a.card:nth-child(1) img,
.grid > a.card:nth-child(2) img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card--drawing .card__meta {
  color: var(--ink);
  background: linear-gradient(transparent, rgba(247, 244, 239, 0.94));
}

.card--drawing .card__meta p {
  color: var(--muted);
}

.card img {
  transition: transform 1.1s ease;
}

.card:hover img {
  transform: scale(1.04);
}

.card__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 28px;
  color: #f6f1ea;
  background: linear-gradient(transparent, rgba(20, 17, 14, 0.72));
}

.card__meta p {
  margin: 6px 0 0;
  font-size: 0.85rem;
  color: #d8d0c4;
}

.project {
  padding: 12vh 0 40px;
  --project-inset: clamp(28px, 8vw, 120px);
}

.project__back,
.project > .eyebrow,
.project > h1,
.project > h2,
.project-facts,
.project-list,
.project-issue,
.project-copy,
.project__note,
.project-cta {
  margin-left: var(--project-inset);
}

.project > .eyebrow {
  font-size: 0.9rem;
}

.project__back {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.project__back:hover {
  color: var(--oak);
}

.project__cover {
  width: min(920px, 100%);
  margin: 0 auto 48px;
  overflow: hidden;
  background: var(--paper);
  aspect-ratio: 16 / 9;
}

.project__cover img {
  width: 100%;
  height: 100%;
}

.project__cover--drawing {
  background: #f7f4ef;
}

.project__cover--drawing img {
  object-fit: contain;
}

.project h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  margin-bottom: 12px;
}

.project__note {
  color: var(--muted);
  max-width: 62ch;
}

.project__note--wide {
  max-width: 100ch;
}

.project h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 56px 0 20px var(--project-inset);
}

.project-facts {
  width: calc(100% - var(--project-inset));
  max-width: 720px;
  margin-top: 36px;
  margin-bottom: 8px;
  border-collapse: collapse;
  font-size: 1.05rem;
}

.project-facts th,
.project-facts td {
  padding: 16px 20px 16px 0;
  border-bottom: 1px solid rgba(42, 38, 31, 0.12);
  text-align: left;
  vertical-align: top;
  font-weight: 400;
}

.project-facts th {
  width: 28%;
  color: var(--muted);
  font-weight: 400;
}

.project-list {
  margin: 0 0 0 var(--project-inset);
  padding-left: 1.2em;
  max-width: 62ch;
  color: var(--ink);
}

.project-list--team {
  font-size: 1.18rem;
  line-height: 1.55;
}

.project-list li + li {
  margin-top: 10px;
}

.project-copy {
  max-width: 62ch;
  margin: 0 0 16px var(--project-inset);
  color: var(--ink);
}

.project-issue {
  max-width: 62ch;
  margin-bottom: 28px;
}

.project-issue__num {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 12px;
}

.project-issue p {
  margin: 0 0 10px;
  color: var(--ink);
}

.project-issue span {
  color: var(--muted);
}

.project-gallery {
  margin: 36px 0 48px;
}

.project-layout {
  margin: 28px 0 72px;
  padding-left: var(--project-inset);
  max-width: calc(var(--project-inset) + 560px);
}

.project-split {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(420px, 0.92fr);
  gap: 32px 48px;
  align-items: start;
  margin: 0 32px 72px 0;
  padding-left: var(--project-inset);
}

.project-split .project-issue {
  margin-left: 0;
  max-width: none;
}

.project-split .project-issue:last-child {
  margin-bottom: 0;
}

.project-split .project-layout {
  margin: 0;
  padding-left: 0;
  max-width: 560px;
  width: 100%;
}

.project-layout h3 {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0 0 16px;
}

.project-layout figure {
  margin: 0;
}

.project-layout .visuals__shot,
.project-layout img {
  width: 100%;
}

.project-layout img {
  height: auto;
  max-height: none;
  object-fit: contain;
  background: #fff;
}

.project-layout figcaption {
  margin-top: 14px;
  font-style: italic;
  color: var(--muted);
  font-size: 1rem;
}

.project-gallery--photos .visuals__item {
  flex-basis: min(34%, 420px);
}

.project-gallery--photos .visuals__item img {
  object-fit: cover;
  background: #111;
}

.project-gallery--start .visuals__track {
  align-items: stretch;
}

.project-gallery--start .visuals__item {
  flex: 0 0 auto;
  width: min(32vw, 320px);
  display: flex;
  flex-direction: column;
}

.project-gallery--start .visuals__item video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #111;
}

.project-gallery--start .visuals__shot {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.project-gallery--start .visuals__item img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #fff;
}

.project-gallery .certificates__head,
.project-gallery .visuals__track {
  padding-left: var(--project-inset);
}

.project-gallery .certificates__nav {
  margin-left: auto;
}

.project-gallery h3 {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0;
}

.project-gallery .certificates__head h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0;
}

.project-gallery .visuals__item img {
  background: #fff;
  object-fit: contain;
}

.project-gallery #p01-viz-track .visuals__item img {
  object-fit: cover;
  background: #111;
}

.project-gallery #japan-viz .visuals__item {
  flex-basis: min(40%, 520px);
}

.project-gallery #japan-viz .visuals__item img {
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #111;
}

.project-gallery--boards .visuals__item--wide {
  flex-basis: min(78%, 880px);
}

.project-gallery #verve-mood .visuals__item {
  flex-basis: min(52%, 640px);
}

.project-gallery #verve-mood .visuals__item img {
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #111;
}

.project-gallery #verve-mood .visuals__item:nth-child(6) img {
  object-position: top center;
}

.project-gallery #verve-before .visuals__item img,
.project-gallery #verve-after .visuals__item img {
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #111;
}

.project-copy--italic {
  font-style: italic;
}

.project-gallery--media .visuals__item video,
.project-gallery--bts .visuals__item video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: #111;
  pointer-events: none;
}

.project-gallery #style-shots .visuals__item img,
.project-gallery #style-pub .visuals__item img,
.project-gallery #style-pub .visuals__item video,
.project-gallery #style-bts .visuals__item img,
.project-gallery #style-bts .visuals__item video,
.project-gallery #style-bts2 .visuals__item img,
.project-gallery #style-bts2 .visuals__item video {
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #111;
}

.visuals__shot--video {
  position: relative;
}

.visuals__shot--video video {
  pointer-events: none;
  display: block;
}

.visuals__shot--video::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(20, 17, 14, 0.55)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f6f1ea'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E")
    center / 16px no-repeat;
  pointer-events: none;
}

.lightbox video {
  display: none;
  width: min(86vw, 960px);
  height: min(78vh, 540px);
  max-width: min(92vw, 1200px);
  max-height: 88vh;
  object-fit: contain;
  background: #111;
}

.lightbox.is-video img {
  display: none;
}

.lightbox.is-video video {
  display: block;
}

.lightbox.is-muted video::-webkit-media-controls-mute-button,
.lightbox.is-muted video::-webkit-media-controls-volume-slider,
.lightbox.is-muted video::-webkit-media-controls-volume-control-container {
  display: none;
}

.project-cta {
  margin: 40px 0 8px var(--project-inset);
}

.project-gallery:has(+ .project-cta) {
  margin-bottom: 0;
}

.project-gallery + .project-cta {
  margin-top: 48px;
  margin-bottom: 48px;
}

.project-copy + .project-switch {
  margin-top: 56px;
}

.project-cta + .project-switch {
  margin-top: 0;
}

.project-copy + .project-cta + .project-switch {
  margin-top: 40px;
}

.project-cta + .project-copy {
  margin-top: 48px;
}

.light-switch {
  margin: 8px 0 56px;
}

.light-switch .certificates__head {
  align-items: center;
  gap: 16px;
}

.light-switch__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.light-switch__bar button {
  padding: 12px 22px;
  border: 1px solid #857466;
  background: transparent;
  color: var(--ink);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.light-switch__bar button[aria-pressed="true"] {
  background: #857466;
  color: #f6f1ea;
}

.viz-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0 32px 0 var(--project-inset);
}

.viz-grid__item {
  margin: 0;
  background: var(--paper);
}

.viz-grid__shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.viz-grid__item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

@media (max-width: 900px) {
  .viz-grid {
    grid-template-columns: 1fr;
    margin-right: 0;
  }
}

.project-cta a,
.project-cta button {
  display: inline-block;
  padding: 16px 36px;
  border: 1px solid #857466;
  background: #857466;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #f6f1ea;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.project-cta a:hover,
.project-cta button:hover {
  background: transparent;
  border-color: #857466;
  color: var(--ink);
}

.project-switch {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 32px 0 8px;
}

.project-switch a {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid #857466;
  background: transparent;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--ink);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.project-switch a:hover {
  background: #857466;
  border-color: #857466;
  color: #f6f1ea;
}

.contact {
  padding: 100px 0 40px;
  max-width: 760px;
}

.footer__contacts a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer__contacts a:hover {
  color: var(--oak);
}

.icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.icon-telegram {
  background: #2aabee;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11.94 0A12 12 0 1 0 12 24 12 12 0 0 0 12 0h-.06zm4.97 7.22c.1 0 .32.03.46.14.14.1.2.25.17.33.02.09.04.3.02.47-.18 1.9-.96 6.5-1.36 8.63-.17.9-.5 1.2-.82 1.23-.7.07-1.23-.46-1.9-.9-1.06-.7-1.65-1.13-2.68-1.8-1.18-.78-.42-1.21.26-1.91.18-.18 3.25-2.98 3.31-3.23 0-.03.01-.15-.06-.21s-.17-.04-.25-.02c-.1.02-1.79 1.14-5.06 3.34-.48.33-.91.49-1.3.48-.43 0-1.25-.24-1.87-.44-.75-.24-1.35-.37-1.3-.79.03-.21.33-.43.9-.66 3.5-1.53 5.83-2.53 7-3.02 3.33-1.38 4.02-1.62 4.47-1.63z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11.94 0A12 12 0 1 0 12 24 12 12 0 0 0 12 0h-.06zm4.97 7.22c.1 0 .32.03.46.14.14.1.2.25.17.33.02.09.04.3.02.47-.18 1.9-.96 6.5-1.36 8.63-.17.9-.5 1.2-.82 1.23-.7.07-1.23-.46-1.9-.9-1.06-.7-1.65-1.13-2.68-1.8-1.18-.78-.42-1.21.26-1.91.18-.18 3.25-2.98 3.31-3.23 0-.03.01-.15-.06-.21s-.17-.04-.25-.02c-.1.02-1.79 1.14-5.06 3.34-.48.33-.91.49-1.3.48-.43 0-1.25-.24-1.87-.44-.75-.24-1.35-.37-1.3-.79.03-.21.33-.43.9-.66 3.5-1.53 5.83-2.53 7-3.02 3.33-1.38 4.02-1.62 4.47-1.63z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.icon-instagram {
  background: #e1306c;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7zm11.2 1.3a1.2 1.2 0 1 1 0 2.4 1.2 1.2 0 0 1 0-2.4zM12 7a5 5 0 1 1 0 10 5 5 0 0 1 0-10zm0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7zm11.2 1.3a1.2 1.2 0 1 1 0 2.4 1.2 1.2 0 0 1 0-2.4zM12 7a5 5 0 1 1 0 10 5 5 0 0 1 0-10zm0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.icon-phone {
  background: var(--oak);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8c1.4 2.7 3.9 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1.1-.2 1.2.4 2.5.6 3.8.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.6.6 3.8.1.4 0 .8-.3 1.1l-2.2 2.9z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8c1.4 2.7 3.9 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1.1-.2 1.2.4 2.5.6 3.8.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.6.6 3.8.1.4 0 .8-.3 1.1l-2.2 2.9z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.icon-mail {
  background: var(--oak);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 6h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2zm0 2v.4l8 5.1 8-5.1V8H4zm16 8V10.7l-7.4 4.7c-.4.2-.8.2-1.2 0L4 10.7V16h16z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 6h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2zm0 2v.4l8 5.1 8-5.1V8H4zm16 8V10.7l-7.4 4.7c-.4.2-.8.2-1.2 0L4 10.7V16h16z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.footer {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) 1.4fr;
  gap: 40px 56px;
  align-items: start;
  padding: 48px 7vw 64px;
  font-size: 1.08rem;
  color: var(--muted);
  border-top: 1px solid rgba(42, 38, 31, 0.08);
}

.footer__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 40px;
}

.footer__contacts ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes kenburns {
  to {
    transform: scale(1);
  }
}

@keyframes zoom-hint {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.38;
  }
  50% {
    transform: translate(2px, -2px);
    opacity: 0.72;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .about__top,
  .grid {
    grid-template-columns: 1fr;
  }

  .card,
  .card--wide {
    min-height: 280px;
    aspect-ratio: 4 / 3;
  }

  .certificates__item {
    flex-basis: 58%;
  }

  .visuals__item,
  .visuals__item--wide,
  .visuals__item--tall,
  .visuals__item--video {
    flex-basis: 78%;
  }

  .project-gallery #japan-viz .visuals__item {
    flex-basis: min(82%, 420px);
  }

  .programs__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .nav__links {
    gap: 12px;
    font-size: 0.72rem;
  }

  .footer,
  .footer__contacts {
    grid-template-columns: 1fr;
  }

  .project-split {
    grid-template-columns: 1fr;
    margin-right: 0;
  }
}

body.splash-lock {
  overflow: hidden;
}
