@font-face {
  font-family: "Cormorant Garamond";
  src: url("./assets/fonts/cormorant-garamond-v21-latin-600.woff2") format("woff2"),
       url("./assets/fonts/cormorant-garamond-v21-latin-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope-v20-latin-regular.woff2") format("woff2"),
       url("./assets/fonts/manrope-v20-latin-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope-v20-latin-700.woff2") format("woff2"),
       url("./assets/fonts/manrope-v20-latin-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope-v20-latin-800.woff2") format("woff2"),
       url("./assets/fonts/manrope-v20-latin-800.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #050505;
  --bg-soft: #101114;
  --panel: rgba(12, 13, 16, 0.72);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f3efe7;
  --muted: rgba(243, 239, 231, 0.74);
  --accent: #c6a46a;
  --accent-soft: rgba(198, 164, 106, 0.18);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
  background-color: #050505;
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  background-color: #050505;
  background:
    radial-gradient(circle at top left, rgba(198, 164, 106, 0.14), transparent 34%),
    linear-gradient(180deg, #090909 0%, #040404 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 90%);
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 0.9rem clamp(1.2rem, 3vw, 2.4rem);
  opacity: 0;
  transform: translateY(-18px);
  transition: opacity 260ms ease, transform 260ms ease;
  pointer-events: auto;
}

.site-header.is-visible,
.site-header:hover,
.site-header:focus-within {
  opacity: 1;
  transform: translateY(0);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(96vw, 1560px);
  max-width: 100%;
  margin: 0 auto;
  gap: clamp(1rem, 2vw, 2rem);
  min-height: 46px;
  padding: 0.35rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 8, 10, 0.7);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

.site-nav a {
  color: rgba(243, 239, 231, 0.84);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 180ms ease, opacity 180ms ease;
}

.site-nav a:hover {
  color: var(--accent);
}

.mobile-menu-toggle,
.mobile-menu {
  display: none;
}

.mobile-menu-toggle {
  align-items: center;
  gap: 0.75rem;
  min-height: 46px;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 8, 10, 0.7);
  backdrop-filter: blur(14px);
  color: rgba(243, 239, 231, 0.9);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.mobile-menu-toggle__icon {
  position: relative;
  width: 16px;
  height: 10px;
  display: inline-block;
}

.mobile-menu-toggle__icon::before,
.mobile-menu-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-menu-toggle__icon::before {
  top: 1px;
  box-shadow: 0 4px 0 currentColor;
}

.mobile-menu-toggle__icon::after {
  bottom: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__icon::before {
  top: 4px;
  box-shadow: none;
  transform: rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__icon::after {
  bottom: 4px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 6, 0.82);
  backdrop-filter: blur(10px);
}

.mobile-menu__panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem 1rem 2rem;
  background:
    radial-gradient(circle at top right, rgba(198, 164, 106, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(9, 10, 12, 0.96), rgba(5, 5, 6, 0.98));
  transform: translateY(-10px);
  transition: transform 220ms ease;
}

.mobile-menu.is-open .mobile-menu__panel {
  transform: translateY(0);
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mobile-menu__eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.mobile-menu__close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  cursor: pointer;
}

.mobile-menu__close-icon {
  position: relative;
  width: 14px;
  height: 14px;
}

.mobile-menu__close-icon::before,
.mobile-menu__close-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1.5px;
  background: currentColor;
}

.mobile-menu__close-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu__close-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu__nav {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.mobile-menu__nav a {
  color: var(--text);
  text-decoration: none;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color 180ms ease, transform 180ms ease;
}

.mobile-menu__nav a:hover,
.mobile-menu__nav a:focus-visible {
  color: var(--accent);
  transform: translateX(4px);
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.project-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.project-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 6, 0.76);
  backdrop-filter: blur(10px);
}

.project-modal__panel {
  position: relative;
  width: min(92vw, 760px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at top right, rgba(198, 164, 106, 0.08), transparent 24%),
    rgba(10, 11, 14, 0.94);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.4);
  transform: translateY(18px) scale(0.985);
  transition: transform 260ms ease;
}

.project-modal.is-open .project-modal__panel {
  transform: translateY(0) scale(1);
}

.project-modal__content {
  padding: 2.1rem;
}

.project-modal__eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.76rem;
  font-weight: 700;
}

.project-modal__title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  font-weight: 600;
  line-height: 0.95;
}

.project-modal__text {
  margin: 1rem 0 0;
  max-width: 66ch;
  color: var(--muted);
  line-height: 1.7;
  white-space: pre-line;
}

.project-modal__media-shell {
  position: relative;
  overflow: hidden;
  margin-top: 1.6rem;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    rgba(6, 7, 9, 0.92);
}

.project-modal__iframe,
.project-modal__coming-soon,
.project-modal__media-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.project-modal__iframe {
  display: block;
  border: 0;
}

.project-modal__coming-soon {
  position: relative;
  overflow: hidden;
}

.project-modal__coming-soon-image,
.project-modal__coming-soon-overlay,
.project-modal__coming-soon-label {
  position: absolute;
}

.project-modal__coming-soon-image {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) brightness(0.55);
}

.project-modal__coming-soon-overlay {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 6, 7, 0.18) 0%, rgba(6, 6, 7, 0.5) 50%, rgba(6, 6, 7, 0.82) 100%);
}

.project-modal__coming-soon-label {
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 1.5rem;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-size: clamp(0.96rem, 1.25vw, 1.12rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  z-index: 1;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.42);
}

.project-modal__media-placeholder {
  display: grid;
  place-items: center;
  padding: 1.5rem;
  color: var(--muted);
  line-height: 1.7;
  text-align: center;
}

.project-modal__media-placeholder code {
  color: var(--text);
}

.project-modal__iframe[hidden],
.project-modal__coming-soon[hidden],
.project-modal__media-placeholder[hidden] {
  display: none !important;
}

.project-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease;
}

.project-modal__close:hover {
  transform: translateY(-1px);
  border-color: rgba(198, 164, 106, 0.56);
}

.project-modal__close-icon {
  position: relative;
  width: 14px;
  height: 14px;
}

.project-modal__close-icon::before,
.project-modal__close-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transform-origin: center;
}

.project-modal__close-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.project-modal__close-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.back-to-top {
  position: fixed;
  right: clamp(1rem, 2vw, 1.5rem);
  bottom: clamp(1rem, 2vw, 1.5rem);
  z-index: 18;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 9, 11, 0.72);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  color: var(--text);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease, border-color 180ms ease;
  cursor: pointer;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: rgba(198, 164, 106, 0.48);
}

.back-to-top__icon {
  width: 12px;
  height: 12px;
  border-left: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(1px);
}

.page-shell {
  position: relative;
  isolation: isolate;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 3rem clamp(1.4rem, 3vw, 3rem);
  overflow: hidden;
}

.hero__backdrop,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__backdrop {
  background:
    linear-gradient(90deg, rgba(4, 4, 4, 0.86) 0%, rgba(4, 4, 4, 0.4) 46%, rgba(4, 4, 4, 0.72) 100%),
    url("./assets/hero-background.webp") center center/cover no-repeat;
  transform: scale(1.03);
}

.hero__overlay {
  background:
    radial-gradient(circle at 78% 22%, rgba(198, 164, 106, 0.16), transparent 22%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, transparent 38%, rgba(0, 0, 0, 0.84) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  padding: 0;
}

.hero__content--centered {
  margin-inline: auto;
  text-align: center;
  padding: 1.5rem 2rem;
}

.hero__content--centered::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(92vw, 900px);
  height: clamp(160px, 24vw, 280px);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.3) 38%, rgba(0, 0, 0, 0.12) 68%, rgba(0, 0, 0, 0) 100%);
  filter: blur(26px);
  z-index: -1;
  pointer-events: none;
}

.hero__eyebrow,
.section-tag {
  margin: 0 0 1rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.82rem;
  font-weight: 800;
}

.clients .section-tag,
.portfolio .section-tag,
.info-section .section-tag {
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  letter-spacing: 0.18em;
  margin-bottom: 0.8rem;
}

h1,
h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.03em;
  margin: 0;
}

.hero__logo {
  display: block;
  width: min(88vw, 900px);
  height: auto;
  margin-inline: auto;
  opacity: 0;
  animation: hero-fade-up 1300ms ease forwards;
  animation-delay: 140ms;
  filter: drop-shadow(0 18px 56px rgba(0, 0, 0, 0.62));
}

.scroll-hint {
  position: absolute;
  left: 50%;
  top: calc(50% + 9.2rem);
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(243, 239, 231, 0.82);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%);
  transition: opacity 320ms ease, visibility 320ms ease;
  pointer-events: none;
}

.scroll-hint.is-visible {
  opacity: 1;
  visibility: visible;
  animation: scroll-hint-pulse 1.8s ease-in-out infinite;
}

.scroll-hint__text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.scroll-hint__icon {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, rgba(243, 239, 231, 0.9), rgba(243, 239, 231, 0.15));
  position: relative;
}

.scroll-hint__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid rgba(243, 239, 231, 0.9);
  border-bottom: 1.5px solid rgba(243, 239, 231, 0.9);
  transform: translateX(-50%) rotate(45deg);
}

h2 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-top: 0.4rem;
}

.clients__header p:not(.section-tag) {
  max-width: 56ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.7;
}

.clients {
  position: relative;
  margin-top: -1px;
  padding: 4.5rem clamp(1.4rem, 3vw, 3rem) 4rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 16%),
    var(--bg);
}

.clients__header {
  width: min(96vw, 1560px);
  max-width: 100%;
  margin: 0 auto 2rem;
}

.clients__header h2,
.clients__header p:not(.section-tag) {
  max-width: 52ch;
}

.clients__header h2 {
  margin-bottom: 2rem;
}

.clients__header p:not(.section-tag) {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.7;
}

.portfolio {
  padding: 5.5rem clamp(1.4rem, 3vw, 3rem) 7rem;
  background:
    radial-gradient(circle at 85% 12%, rgba(198, 164, 106, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 18%),
    var(--bg);
}

.portfolio__header {
  width: min(96vw, 1560px);
  max-width: 100%;
  margin: 0 auto 2.4rem;
  text-align: right;
}

.portfolio__header p:not(.section-tag) {
  margin: 0 0 0 auto;
  max-width: 52ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.7;
}

.info-section__header p:not(.section-tag) {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.7;
}

.info-section--right .info-section__header p:not(.section-tag) {
  margin-left: auto;
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: min(96vw, 1560px);
  margin: 0 auto;
}

.portfolio__grid-shell {
  position: relative;
  width: min(96vw, 1560px);
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  transition: max-height 700ms ease;
}

.portfolio__grid-shell.is-collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0) 0%, rgba(5, 5, 5, 0.86) 68%, rgba(5, 5, 5, 1) 100%);
  pointer-events: none;
}

.portfolio__actions {
  display: flex;
  justify-content: center;
  width: min(96vw, 1560px);
  max-width: 100%;
  margin: 1.4rem auto 0;
}

.portfolio__toggle {
  min-width: 180px;
  padding: 0.95rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 11, 13, 0.72);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.portfolio__toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(198, 164, 106, 0.46);
  color: var(--accent);
}

.portfolio-card {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 0;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    rgba(9, 10, 12, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  text-decoration: none;
  color: var(--text);
}

.portfolio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.35;
}

.portfolio-card::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.08);
}

.portfolio-card--filled::before,
.portfolio-card--filled::after {
  display: none;
}

.portfolio-card--placeholder {
  background:
    radial-gradient(circle at top right, rgba(198, 164, 106, 0.08), transparent 26%),
    linear-gradient(145deg, rgba(32, 34, 39, 0.92) 0%, rgba(11, 12, 15, 0.96) 100%);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.portfolio-card--placeholder:hover,
.portfolio-card--placeholder:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(198, 164, 106, 0.42);
  background:
    radial-gradient(circle at top right, rgba(198, 164, 106, 0.16), transparent 24%),
    linear-gradient(145deg, rgba(40, 42, 47, 0.96) 0%, rgba(13, 14, 18, 0.98) 100%);
}

.portfolio-card--placeholder:focus-visible {
  outline: 1px solid rgba(198, 164, 106, 0.8);
  outline-offset: -1px;
}

.portfolio-card--placeholder::before {
  opacity: 0.18;
}

.portfolio-card--placeholder::after {
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.portfolio-card__image,
.portfolio-card__overlay,
.portfolio-card__title {
  position: absolute;
}

.portfolio-card__image {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease, filter 700ms ease;
}

.portfolio-card__overlay {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 6, 7, 0.02) 0%, rgba(6, 6, 7, 0.18) 52%, rgba(6, 6, 7, 0.78) 100%);
  opacity: 0.42;
  transition: opacity 380ms ease, background 380ms ease;
}

.portfolio-card__title {
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.35rem 1.4rem;
  font-family: "Manrope", sans-serif;
  font-size: clamp(0.92rem, 1.15vw, 1.1rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f8f3ea;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 340ms ease, transform 340ms ease;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  z-index: 1;
  text-align: center;
}

.portfolio-card__title--placeholder {
  font-size: clamp(0.92rem, 1.15vw, 1.1rem);
}

.portfolio-card--filled:hover .portfolio-card__image,
.portfolio-card--filled:focus-visible .portfolio-card__image {
  transform: scale(1.05);
  filter: saturate(1.05) brightness(0.92);
}

.portfolio-card--filled:hover .portfolio-card__overlay,
.portfolio-card--filled:focus-visible .portfolio-card__overlay {
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(6, 6, 7, 0.05) 0%, rgba(6, 6, 7, 0.26) 46%, rgba(6, 6, 7, 0.88) 100%);
}

.portfolio-card--filled:hover .portfolio-card__title,
.portfolio-card--filled:focus-visible .portfolio-card__title {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-card--filled:focus-visible {
  outline: 1px solid rgba(198, 164, 106, 0.8);
  outline-offset: -1px;
}

.portfolio-card--placeholder:hover .portfolio-card__overlay,
.portfolio-card--placeholder:focus-visible .portfolio-card__overlay {
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(6, 6, 7, 0.08) 0%, rgba(6, 6, 7, 0.3) 46%, rgba(6, 6, 7, 0.9) 100%);
}

.portfolio-card--placeholder:hover .portfolio-card__title,
.portfolio-card--placeholder:focus-visible .portfolio-card__title {
  opacity: 1;
  transform: translateY(0);
}

.info-section {
  padding: 5.5rem clamp(1.4rem, 3vw, 3rem) 7rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 16%),
    var(--bg);
}

.info-section--right {
  background:
    radial-gradient(circle at 85% 12%, rgba(198, 164, 106, 0.07), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 16%),
    var(--bg);
}

.info-section__header {
  width: min(96vw, 1560px);
  max-width: 100%;
  margin: 0 auto 2.4rem;
}

.info-section__header h2,
.info-section__header p:not(.section-tag) {
  max-width: 52ch;
}

.info-section--right .info-section__header {
  text-align: right;
}

.info-section--right .info-section__header p:not(.section-tag) {
  margin-left: auto;
}

.info-section__content {
  width: min(96vw, 1560px);
  max-width: 100%;
  margin: 0 auto;
}

.info-section__content--split {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.info-card,
.bio-panel,
.contact-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    rgba(9, 10, 12, 0.72);
}

.info-card {
  min-height: 220px;
  padding: 1.5rem;
}

.info-card--training {
  position: relative;
  min-height: 360px;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}

.info-card__media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.42;
  transform: scale(1.02);
  transition: transform 500ms ease, opacity 300ms ease;
}

.info-card--training::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 8, 10, 0.12) 0%, rgba(7, 8, 10, 0.38) 42%, rgba(7, 8, 10, 0.88) 100%);
  z-index: 0;
}

.info-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 360px;
  padding: 1.5rem;
}

.info-card--training:hover .info-card__media,
.info-card--training:focus-within .info-card__media {
  opacity: 0.5;
  transform: scale(1.05);
}

.info-card h3 {
  margin: 0 0 0.9rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
}

.info-card p,
.bio-panel p,
.contact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.info-card__action {
  align-self: flex-start;
  margin-top: 1.4rem;
  min-width: 178px;
  padding: 0.9rem 1.25rem;
  border: 1px solid rgba(198, 164, 106, 0.32);
  background: rgba(10, 11, 14, 0.55);
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.info-card__action:hover,
.info-card__action:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(198, 164, 106, 0.64);
  color: var(--accent);
  background: rgba(10, 11, 14, 0.74);
}

.training-modal {
  position: fixed;
  inset: 0;
  z-index: 31;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.training-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.training-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 6, 0.78);
  backdrop-filter: blur(10px);
}

.training-modal__panel {
  position: relative;
  width: min(92vw, 760px);
  max-height: min(88vh, 920px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at top right, rgba(198, 164, 106, 0.08), transparent 24%),
    rgba(10, 11, 14, 0.96);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.4);
  transform: translateY(18px) scale(0.985);
  transition: transform 260ms ease;
}

.training-modal.is-open .training-modal__panel {
  transform: translateY(0) scale(1);
}

.training-modal__content {
  padding: 2.1rem;
}

.training-modal__eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.76rem;
  font-weight: 700;
}

.training-modal__title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  font-weight: 600;
  line-height: 0.95;
}

.training-modal__summary {
  margin: 1rem 0 0;
  max-width: 50ch;
  color: var(--text);
  line-height: 1.7;
}

.training-modal__details {
  margin-top: 1.5rem;
  color: var(--muted);
  line-height: 1.8;
}

.training-modal__details p {
  margin: 0;
}

.training-modal__details p + p {
  margin-top: 1rem;
}

.training-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease;
}

.training-modal__close:hover {
  transform: translateY(-1px);
  border-color: rgba(198, 164, 106, 0.56);
}

.training-modal__close-icon {
  position: relative;
  width: 14px;
  height: 14px;
}

.training-modal__close-icon::before,
.training-modal__close-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transform-origin: center;
}

.training-modal__close-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.training-modal__close-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.bio-panel {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 430px;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}

.bio-panel p + p {
  margin-top: 1rem;
}

.info-section--right .bio-panel {
  margin-inline: auto;
}

.bio-panel__media {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(60%, 720px);
  background:
    linear-gradient(90deg, rgba(9, 10, 12, 0) 0%, rgba(9, 10, 12, 0) 40%, rgba(9, 10, 12, 0.15) 58%, rgba(9, 10, 12, 0.50) 72%, rgba(9, 10, 12, 0.82) 86%, rgba(9, 10, 12, 0.97) 100%),
    url("./assets/about/su-di-me.webp") 30% center/ 150% auto no-repeat;
  opacity: 0.72;
  filter: saturate(0.92) brightness(0.9) contrast(1.02);
  z-index: 0;
  pointer-events: none;
}

.bio-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 10, 12, 0) 0%, rgba(9, 10, 12, 0) 30%, rgba(9, 10, 12, 0.06) 48%, rgba(9, 10, 12, 0.22) 62%, rgba(9, 10, 12, 0.55) 78%, rgba(9, 10, 12, 0.90) 100%);
  z-index: 0;
  pointer-events: none;
}

.bio-panel__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 430px;
  width: 100%;
  padding: 2rem 2.4rem;
}

.bio-panel__content p {
  width: min(100%, 82ch);
  margin-left: auto;
  text-align: left;
}

.info-section__content--contacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.contact-card {
  min-height: 180px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.contact-card--email,
.contact-card--social,
.contact-card--availability {
  position: relative;
  overflow: hidden;
}

.contact-card--email::before,
.contact-card--social::before,
.contact-card--availability::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(198, 164, 106, 0.1), transparent 28%);
  pointer-events: none;
}

.contact-card__label {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  order: 1;
}

.contact-card__eyebrow {
  position: relative;
  margin: 0 0 0.9rem;
  color: var(--text);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  line-height: 1.1;
}

.contact-card__note {
  position: relative;
  margin-top: 0;
  margin-bottom: 1.25rem;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
  order: 2;
}

.contact-card__value,
.social-links,
.contact-card__availability {
  order: 3;
}

.contact-card--email .contact-card__note:last-of-type {
  display: none;
}

.contact-card__value a {
  position: relative;
  color: inherit;
  text-decoration: none;
}

.contact-card__value a:hover {
  text-decoration: underline;
}

.contact-card--email .contact-card__value {
  position: relative;
  margin: 0;
}

.contact-card--email .contact-card__value a {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(198, 164, 106, 0.22);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.4;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.contact-card--email .contact-card__value a:hover,
.contact-card--email .contact-card__value a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(198, 164, 106, 0.58);
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent);
  text-decoration: none;
}

.contact-card__availability {
  position: relative;
  margin: 0;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(198, 164, 106, 0.22);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.4;
  box-sizing: border-box;
}

.contact-card__availability > span {
  display: block;
}

.contact-card__availability-strong {
  font-weight: 700;
}

.social-links {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 0;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 48px;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(198, 164, 106, 0.58);
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent);
}

.social-link__icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.social-link__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.social-link__text {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  padding: 0 clamp(1.4rem, 3vw, 3rem) 2.4rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent 18%),
    var(--bg);
}

.site-footer__inner {
  width: min(96vw, 1560px);
  max-width: 100%;
  margin: 0 auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-footer__identity,
.site-footer__meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.site-footer__meta {
  align-items: flex-end;
}

.site-footer__name,
.site-footer__role,
.site-footer__copyright {
  margin: 0;
}

.site-footer__name {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer__role,
.site-footer__copyright {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer__links a {
  color: rgba(243, 239, 231, 0.78);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: var(--accent);
}

.ticker {
  position: relative;
  overflow: hidden;
  width: min(96vw, 1560px);
  max-width: 100%;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  cursor: grab;
  user-select: none;
}

.ticker::before,
.ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 10rem;
  z-index: 1;
  pointer-events: none;
}

.ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.ticker::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), transparent);
}

.ticker.is-dragging {
  cursor: grabbing;
}

.ticker__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 1.55rem;
  padding: 1.35rem 0;
  will-change: transform;
}

.logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 184px;
  height: 82px;
  padding: 0.9rem 1.5rem;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 999px;
}

.logo-chip--wot {
  min-width: 142px;
  width: 142px;
}

.logo-chip img {
  display: block;
  max-width: 100%;
  max-height: 32px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.92;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.03));
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.logo--2p {
  max-height: 38px;
}

.logo--generali {
  max-height: 38px;
}

.logo--wot {
  max-height: 52px;
}

.logo--adr {
  max-height: 40px;
}

.logo--autostrade {
  max-height: 40px;
}

.logo--freedom {
  max-height: 34px;
}

.certifications-floating {
  position: absolute;
  left: 0;
  top: calc(50% + 16.5rem);
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(6.7rem, 7.4vw, 7.35rem);
  padding: 0 clamp(1.4rem, 3vw, 3rem);
  right: 0;
}

.cert-floating {
  display: block;
  justify-self: center;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.28));
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.cert-floating--avid {
  max-height: 72px;
}

.cert-floating--davinci {
  max-height: 64px;
}

.cert-floating--aca {
  max-height: 58px;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1100ms ease, transform 1100ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scroll-hint-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(6px);
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-inline: 0.75rem;
  }

  .mobile-menu-toggle,
  .mobile-menu {
    display: block;
  }

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

  .site-nav {
    display: none;
  }

  .project-modal__content {
    padding: 1.5rem;
  }

  .project-modal__close {
    top: 0.75rem;
    right: 0.75rem;
    width: 40px;
    height: 40px;
  }

  .back-to-top {
    width: 42px;
    height: 42px;
    right: 0.8rem;
    bottom: 0.8rem;
  }

  .hero {
    min-height: 92vh;
    padding-inline: 1rem;
  }

  .hero__content--centered {
    padding: 1.2rem 0.6rem;
  }

  .hero__content--centered::after {
    width: min(96vw, 560px);
    height: 180px;
  }

  .hero__logo {
    width: min(90vw, 560px);
  }

  .scroll-hint {
    top: calc(50% + 7rem);
  }

  .scroll-hint__text {
    font-size: 0.64rem;
    letter-spacing: 0.18em;
  }

  .logo-chip {
    min-width: 122px;
    height: 54px;
    padding: 0.55rem 0.9rem;
  }

  .logo-chip--wot {
    min-width: 100px;
    width: 100px;
  }

  .logo-chip img {
    max-height: 20px;
  }

  .logo--2p,
  .logo--generali {
    max-height: 24px;
  }

  .logo--wot,
  .logo--adr,
  .logo--autostrade {
    max-height: 30px;
  }

  .logo--freedom {
    max-height: 23px;
  }

  .certifications-floating {
    flex-direction: column;
    gap: 1.8rem;
    top: calc(50% + 6.8rem);
    padding-inline: 1rem;
  }

  .cert-floating--avid {
    max-height: 56px;
  }

  .cert-floating--davinci {
    max-height: 50px;
  }

  .cert-floating--aca {
    max-height: 46px;
  }

  .portfolio {
    padding-top: 4.5rem;
    padding-bottom: 5rem;
  }

  .portfolio__header {
    margin-right: 0;
    text-align: left;
  }

  .portfolio__header p:not(.section-tag) {
    margin-left: 0;
  }

  .portfolio__grid {
    grid-template-columns: 1fr;
  }

  .portfolio__grid-shell.is-collapsed::after {
    height: 120px;
  }

  .portfolio-card {
    aspect-ratio: 16 / 9;
  }

  .portfolio-card__title {
    padding: 1rem 1.05rem;
    font-size: clamp(0.82rem, 3.4vw, 0.98rem);
    letter-spacing: 0.16em;
  }

  .info-section {
    padding-top: 4.5rem;
    padding-bottom: 5rem;
  }

  .info-section--right .info-section__header {
    text-align: left;
  }

  .info-section--right .info-section__header p:not(.section-tag) {
    margin-left: 0;
  }

  .info-section__content--split,
  .info-section__content--contacts {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding-bottom: 1.8rem;
  }

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

  .site-footer__meta {
    align-items: flex-start;
  }

  .info-card,
  .contact-card {
    min-height: 0;
  }

  .bio-panel {
    min-height: 0;
  }

  .bio-panel__media {
    width: 100%;
    opacity: 0.24;
    background-position: center center;
  }

  .bio-panel::after {
    background:
      linear-gradient(180deg, rgba(9, 10, 12, 0.18) 0%, rgba(9, 10, 12, 0.54) 28%, rgba(9, 10, 12, 0.84) 62%, rgba(9, 10, 12, 0.94) 100%);
  }

  .bio-panel__content {
    min-height: 0;
    padding: 1.4rem;
  }

  .bio-panel__content p {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-header {
    transition: none;
  }

  .project-modal {
    transition: none;
  }

  .project-modal__panel {
    transition: none;
  }


  .back-to-top {
    transition: none;
  }

  .scroll-hint {
    transition: none;
  }

  .scroll-hint.is-visible {
    animation: none;
    opacity: 1;
  }

  .hero__eyebrow,
  .hero__logo {
    animation: none;
    opacity: 1;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.policy-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(198, 164, 106, 0.12), transparent 32%),
    linear-gradient(180deg, #090909 0%, #040404 100%);
}

.policy-header {
  width: min(96vw, 1560px);
  max-width: 100%;
  margin: 0 auto;
  padding: 1.3rem clamp(1.4rem, 3vw, 3rem) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.policy-header__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.policy-header__brand img {
  display: block;
  width: min(52vw, 420px);
  height: auto;
}

.policy-header__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

.policy-header__nav a {
  color: rgba(243, 239, 231, 0.82);
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.policy-header__nav a:hover,
.policy-header__nav a:focus-visible {
  color: var(--accent);
}

.policy-shell {
  width: min(96vw, 1560px);
  max-width: 100%;
  margin: 0 auto;
  padding: 2.6rem clamp(1.4rem, 3vw, 3rem) 5rem;
}

.policy-hero {
  max-width: 62rem;
  margin-bottom: 2.2rem;
}

.policy-hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
}

.policy-hero__lead {
  margin: 1.2rem 0 0;
  max-width: 44ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  line-height: 1.75;
}

.policy-hero__meta {
  margin: 1rem 0 0;
  color: rgba(243, 239, 231, 0.56);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.policy-content {
  display: grid;
  gap: 1rem;
}

.policy-card {
  padding: 1.7rem 1.8rem;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(198, 164, 106, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    rgba(9, 10, 12, 0.74);
}

.policy-card h2 {
  margin-bottom: 0.95rem;
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  line-height: 1;
}

.policy-card p,
.policy-card li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.policy-card p + p {
  margin-top: 0.9rem;
}

.policy-card ul {
  margin: 0.85rem 0 0;
  padding-left: 1.2rem;
}

.policy-card li + li {
  margin-top: 0.55rem;
}

.policy-card a {
  color: var(--text);
  text-decoration-color: rgba(198, 164, 106, 0.52);
  text-underline-offset: 0.18em;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.policy-card a:hover,
.policy-card a:focus-visible {
  color: var(--accent);
  text-decoration-color: rgba(198, 164, 106, 0.88);
}

.policy-footer {
  padding-top: 0;
}

@media (max-width: 720px) {
  .policy-header {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 1rem;
  }

  .policy-header__brand img {
    width: min(74vw, 340px);
  }

  .policy-header__nav {
    justify-content: flex-start;
  }

  .policy-shell {
    padding-top: 2rem;
    padding-bottom: 4rem;
  }

  .policy-card {
    padding: 1.35rem 1.2rem;
  }
}
