:root {
  --midnight: #0a0e18;
  --midnight-deep: #060912;
  --navy: #121a2e;
  --navy-soft: #1a2438;
  --surface: rgba(18, 26, 46, 0.55);
  --surface-solid: #141c2e;
  --text: #e8eaf0;
  --text-muted: #9aa3b5;
  --text-subtle: #6b7589;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --glow: rgba(120, 160, 220, 0.12);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --section-space: clamp(5.2rem, 13vw, 8.3rem);
  --content-max: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 5000;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--midnight-deep);
  background: var(--text);
  border-radius: 6px;
  text-decoration: none;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  clip-path: none;
  width: auto;
  height: auto;
  outline: 2px solid rgba(120, 160, 220, 0.6);
  outline-offset: 2px;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--midnight-deep);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(45, 65, 110, 0.35), transparent 55%),
    radial-gradient(ellipse 90% 60% at 100% 50%, rgba(30, 50, 90, 0.18), transparent 50%),
    radial-gradient(ellipse 70% 50% at 0% 80%, rgba(25, 40, 75, 0.2), transparent 45%),
    linear-gradient(180deg, var(--midnight-deep) 0%, var(--midnight) 40%, #0c1220 100%);
  background-attachment: fixed;
  min-height: 100svh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Subtle cinematic texture: soft film grain + barely visible side perforations */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 8px 8px, rgba(255, 255, 255, 0.055) 0 1px, transparent 1.1px),
    radial-gradient(circle at calc(100% - 10px) 10px, rgba(255, 255, 255, 0.04) 0 1px, transparent 1.1px),
    radial-gradient(circle at 10px 10px, rgba(245, 248, 255, 0.075) 0 2px, transparent 2.2px),
    radial-gradient(circle at calc(100% - 10px) 10px, rgba(245, 248, 255, 0.07) 0 2px, transparent 2.2px);
  background-size:
    3px 3px,
    3px 3px,
    100% 52px,
    100% 52px;
  background-repeat: repeat, repeat, repeat-y, repeat-y;
  mix-blend-mode: soft-light;
  opacity: 0.15;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.35) 100%);
  opacity: 0.85;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--text);
}

.gate-title {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--text);
  margin: 0;
}

h2,
.section-heading {
  font-size: clamp(1.85rem, 4.2vw, 2.65rem);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

h3 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 1rem;
}

p {
  color: var(--text-muted);
  max-width: 52ch;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.container {
  width: min(var(--content-max), 90%);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-content {
  position: relative;
  z-index: 1;
}

.site-content.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.site-content.is-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.section {
  padding: var(--section-space) 0;
  border-bottom: 1px solid var(--border);
}

.section:last-of-type {
  border-bottom: none;
}

/* Language gate */
.language-gate {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  z-index: 2000;
  background:
    radial-gradient(ellipse 100% 70% at 50% 0%, rgba(55, 75, 120, 0.25), transparent 55%),
    linear-gradient(165deg, #070b14 0%, #0d1424 45%, #080c16 100%);
  transition:
    opacity 800ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 800ms;
}

.language-gate.is-exiting {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gate-content {
  padding: 2rem 1.25rem;
  max-width: 28rem;
}

.gate-title {
  font-size: clamp(2.85rem, 11vw, 4.75rem);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.gate-subtitle {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 2rem;
}

.gate-hint {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
}

.gate-flags {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Flag buttons — shared */
.lang-flag {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  backdrop-filter: blur(10px);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 280ms ease,
    box-shadow 280ms ease,
    background 280ms ease;
}

.lang-flag:hover {
  transform: scale(1.06);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 12px 40px rgba(0, 0, 0, 0.35);
}

.lang-flag.is-active {
  border-color: rgba(180, 200, 240, 0.45);
  box-shadow: 0 0 0 1px var(--glow), 0 8px 32px rgba(30, 50, 90, 0.35);
  background: rgba(30, 42, 68, 0.75);
}

.lang-flag-emoji {
  font-size: 1.65rem;
  line-height: 1;
}

.lang-flag--small {
  width: 2.5rem;
  height: 2.5rem;
}

.lang-flag--small .lang-flag-emoji {
  font-size: 1.2rem;
}

/* Top-right language switcher */
.site-header {
  position: fixed;
  top: 1.25rem;
  right: min(5vw, 2rem);
  z-index: 1500;
  transition: opacity 500ms ease, visibility 500ms ease;
}

.site-header.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-header:not(.is-hidden) {
  opacity: 1;
  visibility: visible;
}

.lang-switcher {
  display: flex;
  gap: 0.5rem;
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(10, 14, 28, 0.75);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

/* Hero */
.hero {
  padding-top: calc(var(--section-space) + 2rem);
  padding-bottom: var(--section-space);
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}

.hero-name {
  font-family: var(--serif);
  font-size: clamp(3.15rem, 10vw, 5.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 0.65rem;
}

.hero-role {
  font-family: var(--sans);
  font-size: clamp(0.82rem, 2vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 1rem;
}

.hero-welcome {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3.5vw, 2.05rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 1rem;
  line-height: 1.15;
}

.hero-description {
  font-size: clamp(1.02rem, 2.2vw, 1.15rem);
  margin-bottom: 2rem;
  line-height: 1.7;
  white-space: pre-line;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.85rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(145deg, rgba(35, 48, 78, 0.6), rgba(20, 28, 48, 0.85));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 320ms ease,
    box-shadow 320ms ease,
    background 320ms ease;
}

.primary-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(160, 185, 230, 0.35);
  box-shadow:
    0 0 24px var(--glow),
    0 12px 40px rgba(0, 0, 0, 0.35);
}

.primary-btn:active {
  transform: translateY(0);
}

/* Framed images */
.frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  background: var(--navy);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.frame--hero img {
  aspect-ratio: 3 / 4;
  max-height: min(78vh, 640px);
}

.frame--secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: min(100%, 340px);
  margin-inline: auto;
  min-height: 200px;
  background: radial-gradient(circle at 50% 40%, rgba(30, 42, 68, 0.5), var(--navy));
}

.frame--secondary img {
  width: 100%;
  height: auto;
  max-height: min(70vh, 620px);
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center;
}

.hero-visual {
  order: -1;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.about-copy h2 {
  margin-bottom: 1.35rem;
}

.about-copy p {
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: none;
  white-space: pre-line;
}

/* Skills */
.skills-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.skill-card {
  background: linear-gradient(160deg, rgba(22, 32, 52, 0.65), rgba(12, 16, 28, 0.85));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: border-color 320ms ease, box-shadow 320ms ease;
}

.skill-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.skill-card ul {
  list-style: none;
}

.skill-card li {
  color: var(--text-muted);
  padding: 0.4rem 0;
  font-size: 0.98rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.skill-card li:last-child {
  border-bottom: none;
}

/* Portfolio — single column, generous spacing between projects */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 4rem);
  margin-top: 1.25rem;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-card {
  background: linear-gradient(165deg, rgba(20, 28, 48, 0.7), rgba(10, 14, 26, 0.95));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.6rem;
  transition: border-color 320ms ease, transform 320ms ease;
}

.portfolio-card-category {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin: 0 0 0.65rem;
}

.portfolio-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.video-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Between description and each embed when a label is set */
.video-label {
  margin: 1.35rem 0 0.65rem;
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-subtle);
  font-weight: 600;
}

.portfolio-card .video-label:first-of-type {
  margin-top: 0;
}

.portfolio-card .video-frame + .video-label {
  margin-top: 1.75rem;
}

.portfolio-card .video-frame:last-of-type {
  margin-bottom: 0;
}

.portfolio-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3.2vw, 1.75rem);
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 0.85rem;
}

.portfolio-card p {
  font-size: 1.02rem;
  line-height: 1.68;
  max-width: 62ch;
  margin-bottom: 1.35rem;
  white-space: pre-line;
}

/* USP */
.usp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: center;
}

.usp-copy p {
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 48ch;
}

/* Services */
.service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.1rem;
}

.service-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(18, 26, 44, 0.55), rgba(10, 14, 26, 0.7));
  padding: 1.25rem 1.15rem;
  transition: border-color 280ms ease, transform 280ms ease, box-shadow 280ms ease;
}

.service-card:hover {
  border-color: rgba(160, 180, 220, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

.service-card-title {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.service-card-desc {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Contact */
.contact-inner {
  padding-bottom: 1rem;
}

.contact-inner p {
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
}

.contact-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.contact-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(18, 26, 44, 0.55);
  color: var(--text-muted);
  text-decoration: none;
  transition:
    color 280ms ease,
    border-color 280ms ease,
    transform 280ms ease,
    box-shadow 280ms ease;
}

.contact-icon-btn:hover {
  color: var(--text);
  border-color: rgba(160, 180, 220, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.contact-row--icons-large {
  justify-content: center;
  gap: clamp(1.15rem, 4vw, 2rem);
  margin-top: 0.5rem;
}

.contact-icon-btn--large {
  width: clamp(4.25rem, 14vw, 5.5rem);
  height: clamp(4.25rem, 14vw, 5.5rem);
  border-radius: 50%;
  border-width: 1px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

.contact-icon-btn--large:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.38);
}

.contact-icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 1.75px;
  flex-shrink: 0;
}

.contact-icon--large {
  width: clamp(1.85rem, 6vw, 2.35rem);
  height: clamp(1.85rem, 6vw, 2.35rem);
  stroke-width: 1.65px;
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 calc(var(--section-space) * 0.55);
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(6, 9, 18, 0.5));
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.site-footer__brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  max-width: none;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

.site-footer__nav a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
}

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

.site-footer__contact {
  margin: 0;
  max-width: none;
}

.site-footer__contact a {
  color: var(--text-subtle);
  font-size: 0.9rem;
  text-decoration: none;
}

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

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1600;
  padding: 1rem min(5vw, 1.5rem) calc(1rem + env(safe-area-inset-bottom));
  pointer-events: none;
}

.cookie-banner__inner {
  pointer-events: auto;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(16, 22, 38, 0.97), rgba(10, 14, 26, 0.98));
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
}

.cookie-banner__text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
  max-width: none;
  text-align: left;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.cookie-banner__btn {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid var(--border);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    color 220ms ease;
}

.cookie-banner__btn--primary {
  background: rgba(90, 120, 190, 0.35);
  color: var(--text);
  border-color: rgba(140, 170, 230, 0.35);
}

.cookie-banner__btn--primary:hover {
  background: rgba(100, 130, 200, 0.45);
}

.cookie-banner__btn--secondary {
  background: transparent;
  color: var(--text-muted);
}

.cookie-banner__btn--secondary:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.16);
}

.cookie-banner__link {
  font-size: 0.84rem;
  color: var(--text-subtle);
  margin-left: auto;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner__link:hover {
  color: var(--text);
}

.legal-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.legal-page .legal-main {
  flex: 1;
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(6, 9, 18, 0.92);
  backdrop-filter: blur(10px);
}

.legal-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.legal-header__brand {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.legal-header__brand:hover {
  color: rgba(220, 228, 255, 0.95);
}

.legal-header__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
}

.legal-header__nav a {
  font-size: 0.86rem;
  color: var(--text-muted);
  text-decoration: none;
}

.legal-header__nav a:hover {
  color: var(--text);
}

.legal-main {
  padding: clamp(2.5rem, 6vw, 4rem) 0 3rem;
  position: relative;
  z-index: 1;
}

.legal-doc {
  max-width: 68ch;
  margin: 0 auto;
}

.legal-doc > h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.legal-doc h2 {
  font-size: clamp(1.28rem, 2.5vw, 1.55rem);
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
}

.legal-doc p,
.legal-doc li {
  color: var(--text-muted);
  max-width: 68ch;
}

.legal-doc ul {
  margin: 0.75rem 0 1.25rem 1.1rem;
  padding: 0;
  color: var(--text-muted);
}

.legal-doc li {
  margin-bottom: 0.45rem;
}

.legal-doc a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-doc__meta {
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.legal-doc__note {
  margin-bottom: 1rem;
}

.legal-doc__disclaimer {
  font-size: 0.92rem;
  margin-bottom: 1.75rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(12, 18, 32, 0.45);
}

.legal-doc code {
  font-size: 0.88em;
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
}

.legal-page .site-footer {
  margin-top: auto;
}

/* Scroll reveal */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 800ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
    gap: clamp(3rem, 6vw, 5rem);
  }

  .hero-visual {
    order: 0;
  }

  .about-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(3rem, 6vw, 4.5rem);
  }

  .usp-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: start;
  }

  .usp-visual {
    justify-self: end;
  }

  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--section-space) + 3.5rem);
  }

  .section {
    padding: clamp(3.5rem, 10vw, 5rem) 0;
  }
}
