:root {
  --bg: #f1f1f1;
  --bg-soft: #f5f5f5;
  --surface: rgba(241, 241, 241, 0.8);
  --surface-strong: #f1f1f1;
  --panel: #161616;
  --panel-soft: #232323;
  --text: #161616;
  --text-muted: #606060;
  --text-inverse: #f1f1f1;
  --line: rgba(22, 22, 22, 0.12);
  --line-strong: rgba(241, 241, 241, 0.14);
  --accent: #161616;
  --accent-strong: #2a2a2a;
  --accent-alt: #f1f1f1;
  --accent-cool: #d4d4d4;
  --radius-xs: 18px;
  --radius-sm: 24px;
  --radius-md: 32px;
  --radius-lg: 40px;
  --shadow-soft: 0 18px 40px rgba(15, 17, 21, 0.08);
  --shadow-large: 0 28px 80px rgba(10, 12, 16, 0.18);
  --shadow-dark: 0 30px 90px rgba(0, 0, 0, 0.3);
  --container: min(1180px, calc(100% - 32px));
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(22, 22, 22, 0.06), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(22, 22, 22, 0.04), transparent 24%),
    linear-gradient(180deg, #f5f5f5 0%, #f1f1f1 52%, #ebebeb 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: 38vw;
  height: 38vw;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.28;
  pointer-events: none;
}

body::before {
  top: -12vw;
  right: -10vw;
  background: rgba(22, 22, 22, 0.08);
}

body::after {
  bottom: -14vw;
  left: -12vw;
  background: rgba(22, 22, 22, 0.05);
}

body.menu-locked {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
.project-card__title,
.showcase-card__caption strong,
.contact-cta h2 {
  font-family: "Syne", sans-serif;
}

p {
  margin: 0 0 1rem;
}

section {
  position: relative;
  padding: clamp(92px, 10vw, 132px) 0;
}

[id] {
  scroll-margin-top: 110px;
}

.page-shell {
  overflow: hidden;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section-label,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero__content .eyebrow {
  max-width: none;
  white-space: nowrap;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.section-label::before,
.eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.hero__content .eyebrow::before {
  width: 28px;
}

.section-label--light {
  color: rgba(241, 241, 241, 0.68);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background-color 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease;
  will-change: transform;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: var(--text-inverse);
  box-shadow: 0 16px 36px rgba(22, 22, 22, 0.2);
}

.button--primary:link,
.button--primary:visited,
.button--primary:hover,
.button--primary:focus-visible {
  color: var(--text-inverse);
}

.button--dark:link,
.button--dark:visited,
.button--dark:hover,
.button--dark:focus-visible {
  color: var(--text-inverse);
}

.button--light:link,
.button--light:visited,
.button--light:hover,
.button--light:focus-visible {
  color: var(--panel);
}

.button--outline-light:link,
.button--outline-light:visited,
.button--outline-light:hover,
.button--outline-light:focus-visible {
  color: var(--text-inverse);
}

.button--ghost:link,
.button--ghost:visited {
  color: var(--text);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  color: var(--text);
}

.button--ghost {
  border-color: var(--line);
  background: rgba(241, 241, 241, 0.72);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.button--dark {
  background: var(--panel);
  color: var(--text-inverse);
  box-shadow: 0 16px 36px rgba(22, 22, 22, 0.18);
}

.button--light {
  background: var(--text-inverse);
  color: var(--panel);
  box-shadow: 0 16px 36px rgba(22, 22, 22, 0.08);
}

.button--outline-light {
  background: transparent;
  border-color: rgba(241, 241, 241, 0.18);
  color: var(--text-inverse);
}

.button--small {
  padding: 13px 20px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.35s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 50%;
  width: min(1200px, calc(100% - 24px));
  transform: translateX(-50%);
  border-radius: 40px;
  border: 1px solid transparent;
  background: rgba(241, 241, 241, 0);
  backdrop-filter: blur(0);
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    backdrop-filter 0.35s ease,
    box-shadow 0.35s ease,
    width 0.35s ease;
  z-index: -1;
}

.site-header.is-scrolled {
  padding: 16px 0;
}

.site-header.is-scrolled::before {
  width: min(1160px, calc(100% - 24px));
  background: rgba(241, 241, 241, 0.84);
  border-color: rgba(22, 22, 22, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(15, 17, 21, 0.08);
}

.site-header__inner {
  width: min(1092px, calc(100% - 88px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand__logo {
  display: block;
  width: clamp(148px, 16vw, 220px);
  height: auto;
  transition: width 0.35s ease, transform 0.35s ease;
}

.site-header.is-scrolled .brand__logo {
  width: clamp(104px, 11vw, 156px);
}

.site-nav {
  justify-self: center;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav ul a {
  position: relative;
  font-size: 0.96rem;
  font-weight: 700;
  color: rgba(22, 22, 22, 0.72);
  transition: color 0.3s ease;
}

.site-nav ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-alt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.site-nav ul a:hover,
.site-nav ul a.is-active {
  color: var(--text);
}

.site-nav ul a:hover::after,
.site-nav ul a.is-active::after {
  transform: scaleX(1);
}

.site-nav__cta {
  display: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(241, 241, 241, 0.78);
  color: var(--text);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(120px + clamp(24px, 4vw, 52px));
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(42px, 5vw, 78px);
}

.hero h1 {
  max-width: 10ch;
  margin: 18px 0 24px;
  font-size: clamp(3.5rem, 7.8vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.hero__lead {
  max-width: 640px;
  margin-bottom: 34px;
  font-size: clamp(1.06rem, 1.65vw, 1.3rem);
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 34px;
  }

.hero__group-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-bottom: 18px;
    padding: 10px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text);
    background: transparent;
  }

.hero__tags li {
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
  background: rgba(241, 241, 241, 0.72);
  font-size: 0.92rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hero__metrics article {
  min-height: 174px;
  padding: 26px 24px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(241, 241, 241, 0.86);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.hero__metrics strong {
    display: block;
    margin-bottom: 12px;
    font-size: 1.08rem;
    line-height: 1.15;
    font-weight: 800;
  }

.hero__metrics span {
  display: block;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.hero__visual {
  position: relative;
  min-height: 700px;
}

.hero__visual--single {
  min-height: 680px;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 28px 0 0 34px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 18% 18%, rgba(241, 241, 241, 0.1), transparent 32%),
    radial-gradient(circle at 86% 14%, rgba(241, 241, 241, 0.06), transparent 24%),
    linear-gradient(160deg, #202020 0%, #101010 100%);
  box-shadow: var(--shadow-dark);
}

.hero__visual--single::before {
  inset: 28px 12px 0 12px;
}

.hero__badge {
  position: absolute;
  top: 4%;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 184px;
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid rgba(241, 241, 241, 0.14);
  background: rgba(241, 241, 241, 0.08);
  color: var(--text-inverse);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
}

.hero-project-card {
  position: absolute;
  top: 8%;
  left: 50%;
  width: min(420px, 78%);
  transform: translateX(-50%);
  transition: none !important;
  animation: none !important;
}

.hero-project-card,
.hero-project-card *,
.hero-project-card::before,
.hero-project-card::after {
  animation: none !important;
}

.hero-project-card,
.hero-project-card:hover,
.hero-project-card:focus-visible {
  transform: translateX(-50%) !important;
  border-color: rgba(241, 241, 241, 0.1);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  transition: none !important;
}

.hero-project-card .project-card__image,
.hero-project-card .project-card__image img,
.hero-project-card:hover img,
.hero-project-card:focus-visible img {
  transform: none !important;
  transition: none !important;
}

.hero-project-card .project-card__image img {
  object-position: center;
}

.hero__glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.78;
  pointer-events: none;
}

.hero__glow--one {
  top: 42px;
  right: 48px;
  width: 180px;
  height: 180px;
  background: rgba(241, 241, 241, 0.12);
}

.hero__glow--two {
  bottom: 56px;
  left: 14px;
  width: 220px;
  height: 220px;
  background: rgba(241, 241, 241, 0.08);
}

.showcase-card {
  position: absolute;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(241, 241, 241, 0.14);
  background: rgba(241, 241, 241, 0.06);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-card--secondary {
  right: 5%;
  top: 6%;
  width: 46%;
  height: 48%;
  transform: rotate(8deg);
}

.showcase-card--tertiary {
  right: 10%;
  bottom: 8%;
  width: 44%;
  height: 42%;
  transform: rotate(-3.5deg);
}

.showcase-card__caption {
  position: absolute;
  inset: auto 0 0;
  padding: 22px 22px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 9, 11, 0.9) 100%);
  color: var(--text-inverse);
}

.showcase-card__caption span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.72;
}

.showcase-card__caption strong {
  display: block;
  font-size: 1.04rem;
  line-height: 1.08;
}

.floating-note {
  position: absolute;
  max-width: 260px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(241, 241, 241, 0.94);
  border: 1px solid rgba(22, 22, 22, 0.08);
  box-shadow: var(--shadow-soft);
}

.floating-note span {
  display: block;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.floating-note strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.3;
}

.floating-note--top {
  top: 14%;
  left: -3%;
}

.floating-note--bottom {
  right: -1%;
  bottom: 6%;
}

.section-grid,
.portfolio-intro__grid,
.projects-section__header,
.contact-cta__grid {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}

.section-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
}

.about {
  padding-top: 36px;
}

.about h2,
.portfolio-intro h2,
.projects-section h2 {
  margin: 18px 0 20px;
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.about__content > p {
  max-width: 58ch;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.about__points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.point-card {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(241, 241, 241, 0.84);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.point-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.point-card__title--nowrap {
  white-space: nowrap;
  font-size: 1.06rem;
}

.point-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.about__visual {
  position: relative;
  padding: 24px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 12% 14%, rgba(241, 241, 241, 0.08), transparent 22%),
    linear-gradient(165deg, #222222 0%, #101010 100%);
  color: var(--text-inverse);
  box-shadow: var(--shadow-dark);
}

.about__visual--project {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 18px;
}

.about__hero-badge {
  position: static;
  top: auto;
  left: auto;
  z-index: auto;
  min-width: 0;
  margin: 0;
  transform: none;
}

.about-project-card {
  width: min(420px, 100%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.about-project-card .project-card__image img {
  object-position: center top;
}

.about__badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(241, 241, 241, 0.08);
  border: 1px solid rgba(241, 241, 241, 0.12);
  color: rgba(241, 241, 241, 0.86);
  font-size: 0.82rem;
  font-weight: 800;
}

.about__frame {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(241, 241, 241, 0.08);
}

.about__frame img {
  aspect-ratio: 16 / 13;
  object-fit: cover;
}

.about__details {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.about__details div {
  padding: 16px 0;
  border-top: 1px solid rgba(241, 241, 241, 0.1);
}

.about__details span,
.contact-panel__item span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(241, 241, 241, 0.58);
}

.about__details strong {
  display: block;
  font-size: 1rem;
  line-height: 1.35;
}

.portfolio-intro {
  padding-bottom: 42px;
}

.portfolio-intro__grid {
  grid-template-columns: 1fr;
  align-items: start;
}

.portfolio-intro p {
  max-width: 58ch;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.portfolio-intro__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.portfolio-intro__chips span {
  display: inline-flex;
  align-items: center;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(241, 241, 241, 0.88);
  border: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.projects-section {
  padding-top: 72px;
  padding-bottom: 120px;
}

.projects-section--fan {
  background:
    radial-gradient(circle at 12% 18%, rgba(241, 241, 241, 0.06), transparent 20%),
    radial-gradient(circle at 86% 10%, rgba(241, 241, 241, 0.04), transparent 18%),
    linear-gradient(180deg, #1c1c1c 0%, #101010 100%);
  color: var(--text-inverse);
}

.projects-section__header {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: start;
    margin-bottom: 34px;
  }

.projects-section__header > div {
    display: grid;
    align-content: start;
    justify-items: start;
    gap: 16px;
  }

.projects-section__header .section-label {
    margin: 0;
  }

.projects-section__description {
    margin: 0;
    max-width: 58ch;
    font-size: 1.05rem;
    color: var(--text-muted);
  }

.projects-section__title-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 14px;
    margin: 0;
    width: auto;
    white-space: nowrap;
  }

.projects-section__title-brand span {
    display: block;
    line-height: 0.98;
  }

.projects-section__title-brand img {
    display: block;
    width: clamp(28px, 2.2vw, 36px);
    height: auto;
    flex: 0 0 auto;
  }

.projects-section--fan .projects-section__description {
    color: rgba(241, 241, 241, 0.72);
  }

.projects-section--fan .projects-section__header {
    grid-template-columns: 1fr;
    align-items: end;
  }

.projects-section--brand .projects-section__header {
    grid-template-columns: 1fr;
  }

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

#brand-projects-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 30px;
  overflow: hidden;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-8px);
}

.project-card--dark {
  border: 1px solid rgba(241, 241, 241, 0.1);
  background: linear-gradient(180deg, rgba(241, 241, 241, 0.07), rgba(241, 241, 241, 0.04));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  color: var(--text-inverse);
}

.project-card--light {
  border: 1px solid rgba(22, 22, 22, 0.08);
  background: rgba(241, 241, 241, 0.9);
  box-shadow: var(--shadow-soft);
}

.project-card--dark:hover,
.project-card--dark:focus-visible {
  border-color: rgba(241, 241, 241, 0.22);
}

.project-card--light:hover,
.project-card--light:focus-visible {
  border-color: rgba(22, 22, 22, 0.22);
}

.project-card__image {
  display: block;
  aspect-ratio: 5 / 6;
  overflow: hidden;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.65, 0.16, 1);
}

.project-card:hover img,
.project-card:focus-visible img {
  transform: scale(1.08);
}

.project-card__content {
  display: grid;
  gap: 12px;
  padding: 22px 22px 24px;
}

.project-card__category {
  width: max-content;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-card--dark .project-card__category {
  background: rgba(241, 241, 241, 0.08);
  color: var(--text-inverse);
}

.project-card--light .project-card__category {
  background: rgba(22, 22, 22, 0.06);
  color: var(--text);
}

.project-card__title {
  font-size: 1.5rem;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.project-card--dark .project-card__title {
  color: var(--text-inverse);
}

.project-card__description {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.project-card--dark .project-card__description {
  color: rgba(241, 241, 241, 0.72);
}

.project-card__arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid transparent;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    background-color 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.project-card--dark .project-card__arrow {
  background: rgba(241, 241, 241, 0.12);
  color: var(--text-inverse);
}

.project-card--light .project-card__arrow {
  background: rgba(22, 22, 22, 0.86);
  color: var(--text-inverse);
}

.project-card:hover .project-card__arrow,
.project-card:focus-visible .project-card__arrow {
  opacity: 1;
  transform: translateY(0);
}

.project-card--case-link .project-card__arrow {
  opacity: 1;
  transform: translateY(0);
}

.project-card--light.project-card--case-link .project-card__arrow {
  background: rgba(241, 241, 241, 0.96);
  color: var(--text);
  border-color: rgba(22, 22, 22, 0.08);
  box-shadow: 0 16px 34px rgba(22, 22, 22, 0.12);
}

.project-card--light.project-card--case-link:hover .project-card__arrow,
.project-card--light.project-card--case-link:focus-visible .project-card__arrow {
  background: var(--panel);
  color: var(--text-inverse);
  border-color: rgba(22, 22, 22, 0.02);
  box-shadow: 0 18px 38px rgba(22, 22, 22, 0.2);
  transform: translateY(0) scale(1.04);
}

.contact-cta {
  padding-top: 24px;
}

.contact-cta__panel {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 5vw, 56px);
  border-radius: 40px;
  background:
    radial-gradient(circle at 14% 18%, rgba(241, 241, 241, 0.08), transparent 22%),
    radial-gradient(circle at 86% 18%, rgba(241, 241, 241, 0.06), transparent 18%),
    linear-gradient(145deg, #222222 0%, #101010 100%);
  box-shadow: var(--shadow-dark);
}

.contact-cta__panel::before,
.contact-cta__panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(32px);
  opacity: 0.58;
  pointer-events: none;
}

.contact-cta__panel::before {
  top: -80px;
  right: 12%;
  width: 220px;
  height: 220px;
  background: rgba(241, 241, 241, 0.08);
}

.contact-cta__panel::after {
  bottom: -80px;
  left: 8%;
  width: 240px;
  height: 240px;
  background: rgba(241, 241, 241, 0.06);
}

.contact-cta__grid {
  position: relative;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
}

.contact-cta__content,
.contact-panel {
  position: relative;
  z-index: 1;
}

.contact-cta h2 {
  margin: 18px 0 20px;
  max-width: 12ch;
  font-size: clamp(2.6rem, 4.6vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  color: var(--text-inverse);
}

.contact-cta p {
  max-width: 58ch;
  color: rgba(241, 241, 241, 0.72);
  font-size: 1.06rem;
}

.about .section-label,
.portfolio-intro .section-label,
.projects-section .section-label,
.contact-cta .section-label {
  max-width: none;
  margin-bottom: 0;
  font-size: 0.74rem;
}

.contact-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.contact-panel {
  display: grid;
  gap: 16px;
}

.contact-panel__item {
  padding: 20px 22px;
  border-radius: 24px;
  border: 1px solid rgba(241, 241, 241, 0.1);
  background: rgba(241, 241, 241, 0.06);
  backdrop-filter: blur(12px);
}

.contact-panel__item a {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-inverse);
  word-break: break-word;
}

.contact-panel__footnote {
  margin: 2px 0 0;
  padding: 4px 4px 0;
  color: rgba(241, 241, 241, 0.66);
  font-size: 0.94rem;
}

.site-footer {
  padding: 32px 0 52px;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.site-footer__symbol {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  object-fit: contain;
}

.site-footer__tagline,
.site-footer__copy,
.site-footer__meta a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.site-footer__tagline {
  max-width: none;
  line-height: 1.4;
  white-space: nowrap;
}

.site-footer__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  justify-self: end;
}

.site-footer__meta a {
  transition: color 0.3s ease;
}

.site-footer__meta a:hover {
  color: var(--text);
}

.site-footer__copy {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 8px;
}

@media (max-width: 1120px) {
  .hero__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about__points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .site-header__inner {
    width: min(calc(100% - 36px), 100%);
  }

  .site-header__inner {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header-actions {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 16px;
    right: 16px;
    padding: 18px;
    border-radius: 28px;
    border: 1px solid rgba(17, 20, 23, 0.08);
    background: rgba(241, 241, 241, 0.98);
    box-shadow: 0 20px 40px rgba(15, 17, 21, 0.12);
    backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 0.3s ease,
      transform 0.3s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .site-nav__cta {
    display: inline-flex;
    margin-top: 16px;
  }

  .hero {
    padding-top: calc(112px + 18px);
  }

  .hero__grid,
  .section-grid,
  .portfolio-intro__grid,
  .projects-section__header,
  .contact-cta__grid {
    grid-template-columns: 1fr;
  }

  .projects-section--fan .projects-section__header,
  .projects-section--fan .projects-section__header > div:last-child {
    align-items: start;
    align-self: auto;
  }

  .hero__visual {
    min-height: 620px;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .site-footer__tagline {
    white-space: normal;
  }

  .site-footer__meta {
    justify-self: start;
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  section {
    padding: 86px 0;
  }

  .hero__content .eyebrow {
    white-space: normal;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.6rem);
  }

  .hero__metrics,
  .about__points,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 540px;
  }

  .hero__visual--single {
    min-height: 560px;
  }

  .hero__badge {
    top: 3%;
    min-width: 168px;
    padding: 11px 16px;
    font-size: 0.74rem;
  }

  .hero-project-card {
    left: 50%;
    top: 10%;
    width: min(390px, 86%);
  }

  .showcase-card--secondary {
    right: 2%;
    top: 8%;
    width: 44%;
    height: 42%;
  }

  .showcase-card--tertiary {
    right: 6%;
    bottom: 8%;
    width: 42%;
    height: 36%;
  }

  .floating-note {
    max-width: 220px;
    padding: 16px 18px;
  }

  .floating-note--top {
    left: 2%;
    top: 2%;
  }

  .floating-note--bottom {
    right: 4%;
    bottom: 2%;
  }
}

@media (max-width: 540px) {
  :root {
    --container: min(calc(100% - 24px), 100%);
  }

  .site-header {
    padding: 14px 0;
  }

  .site-header::before {
    top: 6px;
    bottom: 6px;
    width: min(calc(100% - 24px), 100%);
  }

  .site-header__inner {
    width: min(calc(100% - 24px), 100%);
  }

  .brand__logo {
    width: 154px;
  }

  .site-header.is-scrolled .brand__logo {
    width: 116px;
  }

  .button {
    width: 100%;
  }

  .hero__actions,
  .contact-cta__actions {
    flex-direction: column;
  }

  .hero__tags {
    gap: 10px;
  }

  .hero__tags li,
  .portfolio-intro__chips span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero__visual {
    min-height: 480px;
  }

  .hero__visual::before {
    inset: 18px 0 0 12px;
  }

  .hero__visual--single::before {
    inset: 18px 6px 0 6px;
  }

  .hero__badge {
    top: 4%;
    min-width: 154px;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.68rem;
  }

  .showcase-card {
    border-radius: 24px;
  }

  .showcase-card__caption {
    padding: 18px 18px 16px;
  }

  .showcase-card__caption strong {
    font-size: 0.92rem;
  }

  .floating-note {
    max-width: 180px;
    border-radius: 18px;
  }

  .about__visual,
  .contact-cta__panel {
    padding: 18px;
    border-radius: 28px;
  }

  .about-project-card {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .point-card__title--nowrap {
    white-space: normal;
  }
}
