:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #121212;
  --brand-purple: #8928ff;
  --brand-green: #00ef9e;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.62);
  --text-soft: rgba(255, 255, 255, 0.8);
  --border-soft: rgba(255, 255, 255, 0.1);
  --radius-card: 10px;
  --radius-pill: 999px;
  --container: 1280px;
  --container-narrow: 896px;
  --header-height: 97px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  position: relative;
  scroll-behavior: smooth;
}

.page-top-anchor {
  position: relative;
  height: 0;
  scroll-margin-top: 0;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 10px);
}

html::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(at 20% 80%, #fff 1px, transparent 0px);
  background-size: 3px 3px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.04;
  mix-blend-mode: plus-lighter;
}

body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0;
}

svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-grid {
  display: none;
}

.page,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

.shell {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.shell--narrow {
  width: min(calc(100% - 48px), var(--container-narrow));
}

.shell--form {
  width: min(calc(100% - 48px), 768px);
}

.section {
  padding: 80px 0;
}

.section--surface {
  background: var(--bg-secondary);
}

.section-title {
  margin: 0 0 64px;
  font-size: clamp(2rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-align: center;
}

.section-title--left {
  margin-bottom: 32px;
  text-align: left;
}

.section-title--narrow {
  margin-bottom: 18px;
}

.section-copy {
  margin-bottom: 64px;
  text-align: center;
}

.section-description {
  max-width: 860px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(10, 10, 10, 0.94);
  border-bottom: 1px solid var(--border-soft);
}

.nav-shell {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  width: 128px;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.site-nav a {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--text-soft);
  transition: color 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand-purple);
}

.language-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 24px;
  border-left: 1px solid var(--border-soft);
  color: var(--brand-green);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  transition: color 0.25s ease;
}

.language-pill__icon {
  width: 18px;
  height: 18px;
}

.language-pill__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.language-pill:hover,
.language-pill:focus-visible {
  color: var(--text-primary);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-soft);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}

.menu-toggle img {
  width: 24px;
  height: 24px;
}

.hero {
  position: relative;
  min-height: calc(944px - var(--header-height));
  display: flex;
  align-items: center;
  padding: 140px 0 120px;
  overflow: clip;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(140% 105% at -14% -26%,
      rgba(137, 40, 255, 0.2) 0%,
      rgba(137, 40, 255, 0.14) 22%,
      rgba(137, 40, 255, 0.08) 40%,
      rgba(137, 40, 255, 0.035) 58%,
      rgba(137, 40, 255, 0.012) 70%,
      transparent 84%);
  pointer-events: none;
  z-index: 0;
  will-change: opacity;
  animation: heroCornerPulseLeft 16s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(140% 105% at 114% -26%,
      rgba(167, 88, 255, 0.2) 0%,
      rgba(167, 88, 255, 0.14) 22%,
      rgba(167, 88, 255, 0.08) 40%,
      rgba(167, 88, 255, 0.035) 58%,
      rgba(167, 88, 255, 0.012) 70%,
      transparent 84%);
  pointer-events: none;
  z-index: 0;
  will-change: opacity;
  animation: heroCornerPulseRight 18s ease-in-out infinite;
}

.hero__shell {
  position: relative;
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1140px;
}

.hero__spotlight {
  display: none;
}

.eyebrow {
  margin: 0 0 44px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--text-primary);
}

.eyebrow__number {
  color: var(--brand-green);
}

.hero__title {
  max-width: 1141px;
  margin: 0 0 42px;
  font-size: clamp(3rem, 6vw, 64px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -1.6px;
}

.hero__title span {
  color: var(--brand-green);
  font-style: normal;
  font-weight: 700;
}

.hero__title strong {
  color: var(--text-primary);
  font-weight: 700;
  font-style: normal;
}

.hero__description {
  max-width: 850px;
  margin: 0 0 42px;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 400;
  line-height: 1.3333;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
  min-height: 60px;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--brand-purple);
  color: var(--text-primary);
  box-shadow: 0 16px 38px rgba(137, 40, 255, 0.22);
  overflow: visible;
}

.button--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transform: translate(0, 0);
  opacity: 0;
  z-index: -1;
  transition: transform 0.25s ease, opacity 0.25s ease, border-color 0.25s ease;
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #fff;
  color: var(--brand-purple);
  transform: translate(-4px, -4px);
  box-shadow: 0 18px 34px rgba(137, 40, 255, 0.18);
}

.button--primary:hover::after,
.button--primary:focus-visible::after {
  opacity: 1;
  transform: translate(8px, 8px);
  border-color: rgba(137, 40, 255, 0.55);
}

.button--light {
  min-height: 48px;
  padding: 12px 30px;
  background: #fff;
  color: var(--brand-purple);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.2);
  overflow: visible;
}

.button--light::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(10, 10, 10, 0.65);
  transform: translate(0, 0);
  opacity: 0;
  z-index: -1;
  transition: transform 0.25s ease, opacity 0.25s ease, border-color 0.25s ease;
}

.button--light:hover,
.button--light:focus-visible {
  background: var(--brand-green);
  color: #0a0a0a;
  transform: translate(-4px, -4px);
  box-shadow: 0 16px 30px rgba(0, 239, 158, 0.22);
}

.button--light:hover::after,
.button--light:focus-visible::after {
  opacity: 1;
  transform: translate(8px, 8px);
  border-color: rgba(10, 10, 10, 0.9);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.interactive-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  overflow: hidden;
}

.interactive-card::before {
  content: "";
  position: absolute;
  left: var(--mx);
  top: var(--my);
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(137, 40, 255, 0.34) 0%, rgba(137, 40, 255, 0.12) 36%, rgba(137, 40, 255, 0) 72%);
  transform: translate(-50%, -50%) scale(0.4);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  filter: blur(10px);
}

.interactive-card:hover::before,
.interactive-card:focus-within::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.feature-card,
.skill-card,
.project-card,
.project-list-card,
.accordion-item,
.briefing-form,
.cta-card {
  border: 1px solid var(--border-soft);
  background: rgba(10, 10, 10, 0.9);
  border-radius: var(--radius-card);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.feature-card {
  min-height: 322px;
  padding: 40px;
}

.feature-card h3,
.skill-card h3,
.project-list-card h4,
.about-copy p:first-of-type {
  margin: 0;
}

.feature-card h3,
.skill-card h3,
.project-card h3,
.project-filters h3,
.project-list-card h4 {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.3333;
}

.feature-card h3 {
  margin-bottom: 18px;
}

.feature-card p,
.skill-card p,
.accordion-panel p,
.about-copy p:not(:first-of-type),
.section-description {
  color: var(--text-secondary);
}

.feature-card p,
.skill-card p {
  max-width: 540px;
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.625;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--brand-green);
  margin-bottom: 24px;
}

.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.accordion {
  display: grid;
  gap: 16px;
}

.accordion-item {
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  text-align: left;
  color: var(--text-primary);
}

.accordion-trigger__label {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
}

.accordion-trigger__label span {
  min-width: 0;
}

.accordion-trigger__label strong {
  color: var(--brand-purple);
  display: inline-block;
  min-width: 42px;
  font-size: 32px;
  font-weight: 700;
  line-height: 32px;
}

.accordion-trigger__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  transition: transform 0.25s ease;
}

.accordion-trigger__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.accordion-item.is-open .accordion-trigger__icon {
  transform: rotate(180deg);
}

.accordion-panel {
  height: 0;
  overflow: hidden;
}

.accordion-item.is-open .accordion-panel {
  height: auto;
}

.accordion-panel p {
  margin: 0;
  padding: 0 24px 24px 72px;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
}

.projects-layout {
  display: grid;
  grid-template-columns: minmax(0, 648px) minmax(0, 584px);
  gap: 48px;
  align-items: start;
}

.project-highlight {
  position: relative;
}

.project-card {
  overflow: hidden;
}

.project-card__image-wrap {
  aspect-ratio: 16 / 9;
  background: #0f0f0f;
  overflow: hidden;
}

.project-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project-card__body {
  padding: 24px;
}

.project-card__category {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--brand-green);
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
}

.project-card h3 {
  margin: 0 0 22px;
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-purple);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.project-card__link img,
.project-list-item__link img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.project-arrow,
.skill-arrow {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  color: var(--text-primary);
  transform: translateY(-50%);
  opacity: 0.85;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.skill-arrow img {
  display: none;
}

.project-arrow img {
  display: none;
}

.project-arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.skill-arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.project-arrow:hover,
.project-arrow:focus-visible,
.skill-arrow:hover,
.skill-arrow:focus-visible {
  opacity: 1;
  color: var(--brand-purple);
}

.project-arrow--prev {
  left: -42px;
  transform: translateY(-50%);
}

.project-arrow--prev::before {
  transform: translate(-50%, -50%) rotate(135deg);
}

.project-arrow--next {
  right: -42px;
  transform: translateY(-50%);
}

.project-arrow--next::before {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.project-filters h3 {
  margin: 0 0 24px;
}

.project-filters__buttons {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.category-button {
  min-height: 58px;
  padding: 14px 24px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-soft);
  color: var(--text-primary);
  background: rgba(10, 10, 10, 0.75);
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.category-button.is-active {
  background: linear-gradient(90deg, #8928ff 0%, #9f31ff 100%);
  border-color: transparent;
}

.category-toggle-button {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(137, 40, 255, 0.45);
  color: #fff;
  background: rgba(137, 40, 255, 0.15);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  margin-bottom: 20px;
}

.category-toggle-button:hover,
.category-toggle-button:focus-visible {
  transform: translateY(-1px);
  background: rgba(137, 40, 255, 0.3);
  border-color: rgba(137, 40, 255, 0.72);
}

.project-list-card {
  padding: 28px 24px;
}

.project-list-card h4 {
  margin-bottom: 18px;
  color: var(--text-primary);
}

.project-list-card__items {
  display: grid;
}

.project-list-item {
  display: grid;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--border-soft);
}

.project-list-item:first-child {
  border-top: 0;
  padding-top: 10px;
}

.project-list-item__name {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.project-list-item__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-green);
  width: fit-content;
  font-size: 14px;
  line-height: 1.5;
  word-break: break-word;
}

.project-list-item__link span {
  overflow-wrap: anywhere;
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 616px) minmax(0, 616px);
  gap: 48px;
  align-items: center;
}

.about-photo {
  position: relative;
  min-height: 770px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #0f0f0f;
  border: 1px solid var(--border-soft);
  --spot-x: 50%;
  --spot-y: 50%;
  --spot-size: 168px;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo__invert {
  position: absolute;
  inset: 0;
  filter: invert(1) contrast(1.04) saturate(1.08);
  opacity: 0;
  transition: opacity 0.28s ease;
  -webkit-mask-image: radial-gradient(circle var(--spot-size) at var(--spot-x) var(--spot-y), rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 24%, rgba(0, 0, 0, 0.78) 38%, rgba(0, 0, 0, 0.34) 54%, rgba(0, 0, 0, 0) 76%);
  mask-image: radial-gradient(circle var(--spot-size) at var(--spot-x) var(--spot-y), rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 24%, rgba(0, 0, 0, 0.78) 38%, rgba(0, 0, 0, 0.34) 54%, rgba(0, 0, 0, 0) 76%);
}

.about-photo.is-active .about-photo__invert {
  opacity: 1;
}

.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle calc(var(--spot-size) * 0.92) at var(--spot-x) var(--spot-y), rgba(137, 40, 255, 0.26) 0%, rgba(137, 40, 255, 0.12) 18%, rgba(137, 40, 255, 0.04) 34%, rgba(137, 40, 255, 0) 64%);
  opacity: 0;
  filter: blur(18px);
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.about-photo.is-active::after {
  opacity: 1;
}

.about-copy p {
  margin: 0 0 18px;
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 400;
  line-height: 29px;
}

.about-copy p:first-of-type {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.skills-slider {
  position: relative;
  width: min(100%, 792px);
  margin: 0 auto;
  min-height: 306px;
}

.skill-card {
  min-height: 306px;
  padding: 48px;
  width: min(100%, 672px);
  margin: 0 auto;
}

.skill-card p {
  max-width: 520px;
  font-size: 1.125rem;
}

.skill-arrow {
  top: 50%;
}

.skill-arrow--prev {
  left: 0;
  transform: translateY(-50%);
}

.skill-arrow--prev::before {
  transform: translate(-50%, -50%) rotate(135deg);
}

.skill-arrow--next {
  right: 0;
  transform: translateY(-50%);
}

.skill-arrow--next::before {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.contact .section-copy {
  margin-bottom: 48px;
}

.briefing-form {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

#mc_embed_shell {
  width: 100%;
}

#mc_embed_shell .asterisk {
  color: #00ef9e;
}

#mce-responses .response {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.6;
}

.form-field {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.form-field.is-visible {
  max-height: 420px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.form-field + .form-field {
  margin-top: 16px;
}

.form-field label {
  display: block;
  margin-bottom: 12px;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border-soft);
  border-radius: 0;
  background: rgba(10, 10, 10, 0.9);
  color: var(--text-primary);
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-field select {
  appearance: none;
  background-image: url("Materiais para o site/icones/svgexport-20.svg");
  background-position: calc(100% - 18px) 50%;
  background-size: 12px 12px;
  background-repeat: no-repeat;
}

.form-field textarea {
  resize: vertical;
  min-height: 146px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(137, 40, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(137, 40, 255, 0.12);
}

.form-submit {
  width: 100%;
  margin-top: 16px;
  margin-bottom: 32px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  background: var(--brand-green);
  color: #0a0a0a;
  box-shadow: 0 16px 30px rgba(0, 239, 158, 0.22);
}

.form-submit::after {
  border-color: rgba(10, 10, 10, 0.9);
}

.form-submit:hover,
.form-submit:focus-visible {
  background: var(--brand-green);
  color: #0a0a0a;
  transform: translate(-4px, -4px);
  box-shadow: 0 16px 30px rgba(0, 239, 158, 0.22);
}

.form-submit:hover::after,
.form-submit:focus-visible::after {
  opacity: 1;
  transform: translate(8px, 8px);
  border-color: rgba(10, 10, 10, 0.9);
}

.form-submit.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.contact.section {
  padding-bottom: 32px;
}

.cta.section {
  padding: 28px 0 52px;
}

.cta-card {
  position: relative;
  overflow: hidden;
  margin-top: 50px;
  padding: 40px;
  background:
    linear-gradient(180deg, rgba(137, 40, 255, 0.92), rgba(137, 40, 255, 0.85)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 40%);
}

.cta-card__spotlight {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.08) 38%, rgba(255, 255, 255, 0) 72%);
  transform: translate(-50%, -50%);
  filter: blur(12px);
  pointer-events: none;
  will-change: transform;
}

.cta-card__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.cta-card h2 {
  margin: 0 0 20px;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.35;
}

.cta-card p {
  max-width: 600px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
}

.site-footer {
  padding: 48px 0;
}

.brand--footer {
  display: none;
  width: 78px;
}

.brand--footer img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.site-footer__copy {
  text-align: center;
  white-space: nowrap;
}

.site-footer__copy p,
.site-footer__copy span {
  display: inline;
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.75rem;
  line-height: 1.6;
}

.site-footer__copy p::after {
  content: " | ";
}

@keyframes heroCornerPulseLeft {
  0% {
    opacity: 0.6;
  }

  50% {
    opacity: 0.72;
  }

  100% {
    opacity: 0.62;
  }
}

@keyframes heroCornerPulseRight {
  0% {
    opacity: 0.56;
  }

  50% {
    opacity: 0.7;
  }

  100% {
    opacity: 0.58;
  }
}

a[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.6;
}

@media (max-width: 1180px) {
  .projects-layout,
  .about__grid {
    grid-template-columns: 1fr;
  }

  .project-highlight,
  .project-filters {
    max-width: 648px;
    width: 100%;
    margin: 0 auto;
  }

  .about-photo {
    min-height: 620px;
  }
}

@media (max-width: 960px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 24px;
    right: 24px;
    display: grid;
    gap: 18px;
    padding: 22px;
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    background: rgba(10, 10, 10, 0.97);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    max-height: calc(100vh - var(--header-height) - 32px);
    overflow-y: auto;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .project-highlight {
    padding-inline: 34px;
  }

  .project-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    top: 34%;
    z-index: 2;
  }

  .project-arrow--prev {
    left: 2px;
    transform: translateY(-50%);
  }

  .project-arrow--next {
    right: 2px;
    transform: translateY(-50%);
  }

  .skills-slider {
    min-height: 0;
    padding-inline: 38px;
  }

  .skill-arrow {
    top: calc(100% + 28px);
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
  }

  .skill-arrow img {
    display: none !important;
  }

  .skill-arrow::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 11px;
    height: 11px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
  }

  .skill-arrow--prev {
    left: 50%;
    right: auto;
    transform: translate(-30px, -50%);
  }

  .skill-arrow--prev::before {
    transform: translate(-50%, -50%) rotate(135deg);
  }

  .skill-arrow--next {
    left: 50%;
    right: auto;
    transform: translate(30px, -50%);
  }

  .skill-arrow--next::before {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
}

@media (max-width: 767px) {
  .shell,
  .shell--narrow,
  .shell--form {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .skills.section {
    padding: 92px 0 112px;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 88px;
  }

  .hero__spotlight {
    width: 420px;
  }

  .eyebrow {
    margin-bottom: 24px;
    font-size: 14px;
  }

  .hero__title {
    margin-bottom: 24px;
  }

  .hero__description {
    margin-bottom: 28px;
    font-size: 1rem;
    line-height: 1.7;
  }

  .section-title {
    margin-bottom: 40px;
    font-size: 1.65rem;
  }

  .section-copy {
    margin-bottom: 36px;
  }

  .feature-card,
  .skill-card,
  .cta-card {
    padding: 28px 24px;
  }

  .feature-card {
    min-height: 0;
  }

  .feature-card p,
  .skill-card p {
    font-size: 1rem;
  }

  .accordion-trigger {
    padding: 18px 18px 18px 16px;
  }

  .accordion-trigger__label {
    gap: 10px;
    font-size: 1rem;
    align-items: flex-start;
  }

  .accordion-trigger__label strong {
    min-width: 34px;
    font-size: 26px;
    line-height: 26px;
  }

  .accordion-panel p {
    padding: 0 18px 18px 18px;
  }

  .projects-layout {
    gap: 24px;
  }

  .project-highlight {
    padding-inline: 30px;
  }

  .project-arrow {
    width: 34px;
    height: 34px;
    top: 33%;
  }

  .project-arrow--prev {
    left: 0;
  }

  .project-arrow--next {
    right: 0;
  }

  .project-card__body,
  .project-list-card {
    padding: 20px 18px;
  }

  .category-button {
    min-height: 52px;
    padding-inline: 18px;
  }

  .category-toggle-button {
    width: 100%;
    margin-bottom: 14px;
  }

  .about-photo {
    min-height: 420px;
  }

  .site-footer {
    padding: 32px 0 44px;
  }

  .footer-shell {
    align-items: center;
    flex-direction: column;
  }

  .site-footer__copy {
    text-align: center;
    align-self: center;
  }
}

@media (max-width: 480px) {
  .shell,
  .shell--narrow,
  .shell--form {
    width: min(calc(100% - 24px), var(--container));
  }

  .site-nav {
    left: 12px;
    right: 12px;
    padding: 16px;
    gap: 14px;
  }

  .language-pill {
    padding-left: 0;
    border-left: 0;
  }

  .hero {
    padding: 108px 0 76px;
  }

  .hero__title {
    font-size: clamp(2rem, 9.5vw, 2.4rem);
    letter-spacing: -0.8px;
  }

  .hero__description {
    font-size: 0.95rem;
  }

  .button--primary,
  .button--light,
  .form-submit {
    width: 100%;
  }

  .skills.section {
    padding: 86px 0 106px;
  }

  .project-highlight {
    padding-inline: 26px;
  }

  .project-arrow {
    width: 32px;
    height: 32px;
    top: 31%;
  }

  .feature-card,
  .skill-card,
  .cta-card,
  .project-card__body,
  .project-list-card {
    padding: 20px 16px;
    margin-top:50px;
  }

  .project-list-item {
    gap: 10px;
    padding: 14px 0;
  }

  .site-footer__copy p,
  .site-footer__copy span {
    font-size: 0.68rem;
  }

  .about-photo {
    min-height: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
