@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --accent: #c55a5a;
  --beige: #e8dcc5;
  --off-white: #faf8f5;
  --ink: #1f1916;
  --muted-ink: #5d514a;
  --serif: 'Playfair Display', 'Times New Roman', serif;
  --sans: 'Manrope', 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --shadow-soft: 0 16px 50px rgba(197, 90, 90, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  background: radial-gradient(circle at 10% 20%, rgba(197, 90, 90, 0.06), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(232, 220, 197, 0.24), transparent 26%),
    var(--off-white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

p {
  margin: 0;
}

::selection {
  background: rgba(197, 90, 90, 0.2);
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.site-shell {
  position: relative;
  max-width: 1240px;
  margin: 0 auto 72px;
  padding: clamp(20px, 4vw, 42px);
  isolation: isolate;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.7;
  mix-blend-mode: multiply;
  z-index: -2;
}

.ambient--grid {
  background-image:
    linear-gradient(to right, rgba(31, 27, 26, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31, 27, 26, 0.06) 1px, transparent 1px);
  background-size: 90px 90px;
  transform: translateY(var(--parallax-a, 0));
}

.ambient--contours {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(197, 90, 90, 0.14), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(232, 220, 197, 0.5), transparent 32%),
    radial-gradient(circle at 30% 80%, rgba(197, 90, 90, 0.15), transparent 30%),
    repeating-linear-gradient(115deg, rgba(197, 90, 90, 0.12), rgba(197, 90, 90, 0.12) 8px, transparent 10px, transparent 16px);
  filter: blur(12px);
  transform: translateY(var(--parallax-b, 0));
}

.ambient--glow {
  background: radial-gradient(circle at 60% 40%, rgba(255, 255, 255, 0.7), transparent 38%);
  z-index: -3;
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(250, 248, 245, 0.72);
  border: 1px solid rgba(31, 27, 26, 0.08);
  box-shadow: 0 20px 60px rgba(31, 27, 26, 0.12);
  backdrop-filter: blur(10px);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 10px rgba(197, 90, 90, 0.12);
}

.nav__title {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav__subtitle {
  color: var(--muted-ink);
  font-size: 13px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.nav__links a {
  padding: 8px 10px;
  border-radius: 12px;
  color: var(--muted-ink);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.nav__links a:hover {
  border-color: rgba(31, 27, 26, 0.18);
  color: var(--ink);
  background: rgba(232, 220, 197, 0.3);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.lang-switch button {
  border: none;
  background: transparent;
  padding: 6px 10px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--muted-ink);
  transition: all 0.2s ease;
}

.lang-switch button.active {
  background: rgba(197, 90, 90, 0.1);
  color: var(--ink);
  border: 1px solid rgba(197, 90, 90, 0.3);
}

.hero {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(300px, 1fr);
  gap: clamp(24px, 5vw, 40px);
  padding: clamp(28px, 6vw, 46px);
  background: linear-gradient(120deg, rgba(250, 248, 245, 0.95), rgba(232, 220, 197, 0.9));
  border: 1px solid rgba(31, 27, 26, 0.08);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 70px rgba(31, 27, 26, 0.16);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 18% 12% auto;
  height: 30%;
  background: radial-gradient(circle at 30% 40%, rgba(197, 90, 90, 0.18), transparent 60%);
  z-index: 0;
  filter: blur(16px);
}

.hero__text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero__name {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -0.02em;
  margin: 0;
}

.hero__role {
  font-size: clamp(16px, 3vw, 20px);
  color: var(--muted-ink);
  margin: 0;
}

.hero__quote {
  padding: 14px 18px;
  border-left: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(31, 27, 26, 0.08);
  margin: 0;
  line-height: 1.6;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero__visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}

.portrait {
  position: relative;
  max-width: 360px;
  width: 100%;
}

.portrait__frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(31, 27, 26, 0.08);
  box-shadow: 0 30px 70px rgba(31, 27, 26, 0.1);
}

.portrait__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(197, 90, 90, 0.18), rgba(232, 220, 197, 0.22));
}

.portrait__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

.portrait__mask {
  display: none;
}

.floating-card {
  position: absolute;
  bottom: -18px;
  right: -24px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(31, 27, 26, 0.08);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(31, 27, 26, 0.18);
  width: min(260px, 70%);
  backdrop-filter: blur(6px);
}

.floating-card__title {
  font-weight: 700;
  color: var(--ink);
}

.floating-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.floating-card__tags span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(197, 90, 90, 0.12);
  color: var(--ink);
  font-size: 12px;
}

.hero__contours {
  position: absolute;
  inset: 8% 4% auto auto;
  width: 240px;
  height: 240px;
  background: repeating-radial-gradient(circle at 50% 50%, rgba(31, 27, 26, 0.15), rgba(31, 27, 26, 0.15) 1px, transparent 4px, transparent 8px);
  border-radius: 50%;
  mix-blend-mode: multiply;
  opacity: 0.5;
  transform: translateY(var(--parallax-a, 0));
}

.scroll-cue {
  position: absolute;
  bottom: 18px;
  left: 24px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-ink);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(197, 90, 90, 0.12);
  border: 1px solid rgba(197, 90, 90, 0.2);
  font-weight: 700;
  color: var(--ink);
  width: fit-content;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(31, 27, 26, 0.1);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 14px;
}

.chip.muted {
  background: rgba(232, 220, 197, 0.5);
}

.chip--icon {
  gap: 8px;
  align-items: center;
}

.chip__icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(197, 90, 90, 0.4), rgba(232, 220, 197, 0.6));
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 10px 24px rgba(31, 27, 26, 0.12);
}

.chip__icon::before,
.chip__icon::after {
  content: '';
  position: absolute;
}

.chip__icon[data-icon='map']::before {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(31, 27, 26, 0.8);
  border-radius: 4px;
  transform: rotate(-8deg);
  background: rgba(255, 255, 255, 0.5);
}

.chip__icon[data-icon='globe']::before {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(31, 27, 26, 0.85);
  border-radius: 50%;
  box-shadow:
    inset 0 -2px 0 rgba(31, 27, 26, 0.65),
    inset 0 2px 0 rgba(31, 27, 26, 0.15);
}

.chip__icon[data-icon='cad']::before,
.chip__icon[data-icon='cad']::after {
  background: rgba(31, 27, 26, 0.85);
}

.chip__icon[data-icon='cad']::before {
  width: 16px;
  height: 2px;
}

.chip__icon[data-icon='cad']::after {
  width: 2px;
  height: 16px;
}

.chip__icon[data-icon='office']::before {
  width: 16px;
  height: 12px;
  border: 2px solid rgba(31, 27, 26, 0.8);
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(31, 27, 26, 0.12) 50%, transparent 50%);
  background-size: 6px 100%;
}

.chip__icon[data-icon='illustrator']::before {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(31, 27, 26, 0.9);
  border-radius: 3px;
  box-shadow: inset 0 0 0 2px rgba(197, 90, 90, 0.5);
}

.chip__icon[data-icon='photoshop']::before {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(31, 27, 26, 0.8), transparent 60%);
  box-shadow: inset 0 0 0 2px rgba(31, 27, 26, 0.5);
}

.chip__icon[data-icon='indesign']::before,
.chip__icon[data-icon='indesign']::after {
  background: rgba(31, 27, 26, 0.88);
}

.chip__icon[data-icon='indesign']::before {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.chip__icon[data-icon='indesign']::after {
  width: 2px;
  height: 12px;
  transform: translate(6px, 0);
}

.chip__icon[data-icon='figma']::before,
.chip__icon[data-icon='figma']::after {
  border-radius: 50%;
}

.chip__icon[data-icon='figma']::before {
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, rgba(197, 90, 90, 0.8), rgba(232, 220, 197, 0.8));
}

.chip__icon[data-icon='figma']::after {
  width: 10px;
  height: 10px;
  background: rgba(31, 27, 26, 0.85);
  transform: translate(6px, 6px);
}

.chip__icon[data-icon='canva']::before {
  width: 16px;
  height: 16px;
  border-radius: 12px;
  background: conic-gradient(from 120deg, rgba(197, 90, 90, 0.7), rgba(232, 220, 197, 0.9));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.8);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(31, 27, 26, 0.14);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta.solid {
  background: linear-gradient(135deg, var(--accent), #d98c8c);
  color: #fff;
  box-shadow: var(--shadow-soft);
  border-color: rgba(197, 90, 90, 0.6);
}

.cta.ghost {
  background: rgba(255, 255, 255, 0.85);
}

.cta.inline {
  padding: 8px 0;
  border: none;
  background: transparent;
  text-decoration: underline;
  font-weight: 700;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(31, 27, 26, 0.14);
}

.section {
  margin-top: 64px;
  padding: clamp(22px, 4vw, 28px);
  background: rgba(250, 248, 245, 0.85);
  border-radius: 22px;
  border: 1px solid rgba(31, 27, 26, 0.06);
  box-shadow: 0 18px 48px rgba(31, 27, 26, 0.1);
  position: relative;
}

.section--beige {
  background: linear-gradient(180deg, rgba(232, 220, 197, 0.35), rgba(250, 248, 245, 0.95));
}

.section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section__title {
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 20px;
}

.divider {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(31, 27, 26, 0.16), transparent);
}

.muted {
  color: var(--muted-ink);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(197, 90, 90, 0.08);
  color: var(--ink);
  border: 1px solid rgba(197, 90, 90, 0.2);
  font-weight: 700;
  line-height: 1;
  font-size: 12px;
}

.badge.ghost {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(31, 27, 26, 0.08);
  color: var(--muted-ink);
}

.badge.subtle {
  background: rgba(197, 90, 90, 0.12);
  border-color: rgba(197, 90, 90, 0.18);
  color: var(--ink);
}

.about__text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 12px;
}

.skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  align-items: start;
}

.skills--modern {
  gap: 18px;
}

.card {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(31, 27, 26, 0.08);
  padding: 16px;
  box-shadow: 0 16px 40px rgba(31, 27, 26, 0.08);
  position: relative;
  overflow: hidden;
}

.card.soft {
  background: rgba(255, 255, 255, 0.9);
}

.skill-card {
  display: grid;
  gap: 12px;
}

.skill-card::before {
  content: '';
  position: absolute;
  inset: -20% auto auto -10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at 30% 30%, rgba(197, 90, 90, 0.16), transparent 60%);
  filter: blur(12px);
  z-index: 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--muted-ink);
  margin: 0 0 8px;
  line-height: 1.1;
}

.eyebrow.strong {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink);
  font-weight: 800;
}

.skill-card__title .eyebrow {
  margin: 0;
}

.skill-card__header {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 10px;
  z-index: 1;
  margin: -2px 0 12px;
}

.skill-card__title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.soft-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.soft-grid--cloud {
  gap: 10px;
}

.software-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  z-index: 1;
}

.software-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(232, 220, 197, 0.35));
  border: 1px solid rgba(31, 27, 26, 0.08);
}

.software-card__icon {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(197, 90, 90, 0.28), rgba(232, 220, 197, 0.6));
  display: grid;
  place-items: center;
  position: relative;
}

.software-card__icon::before,
.software-card__icon::after {
  content: '';
  position: absolute;
}

.software-card__icon[data-icon='map']::before {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(31, 27, 26, 0.85);
  border-radius: 4px;
  transform: rotate(-8deg);
  background: rgba(255, 255, 255, 0.65);
}

.software-card__icon[data-icon='globe']::before {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(31, 27, 26, 0.85);
  border-radius: 50%;
  box-shadow:
    inset 0 -2px 0 rgba(31, 27, 26, 0.65),
    inset 0 2px 0 rgba(31, 27, 26, 0.2);
}

.software-card__icon[data-icon='cad']::before,
.software-card__icon[data-icon='cad']::after {
  background: rgba(31, 27, 26, 0.88);
}

.software-card__icon[data-icon='cad']::before {
  width: 18px;
  height: 2px;
}

.software-card__icon[data-icon='cad']::after {
  width: 2px;
  height: 18px;
}

.software-card__icon[data-icon='office']::before {
  width: 18px;
  height: 14px;
  border: 2px solid rgba(31, 27, 26, 0.8);
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(31, 27, 26, 0.15) 50%, transparent 50%);
  background-size: 6px 100%;
}

.software-card__icon[data-icon='illustrator']::before {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(31, 27, 26, 0.9);
  border-radius: 4px;
  box-shadow: inset 0 0 0 2px rgba(197, 90, 90, 0.5);
}

.software-card__icon[data-icon='photoshop']::before {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.85), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(31, 27, 26, 0.8), transparent 60%);
  box-shadow: inset 0 0 0 2px rgba(31, 27, 26, 0.5);
}

.software-card__icon[data-icon='indesign']::before,
.software-card__icon[data-icon='indesign']::after {
  background: rgba(31, 27, 26, 0.88);
}

.software-card__icon[data-icon='indesign']::before {
  width: 14px;
  height: 14px;
  border-radius: 4px;
}

.software-card__icon[data-icon='indesign']::after {
  width: 2px;
  height: 14px;
  transform: translate(7px, 0);
}

.software-card__icon[data-icon='figma']::before,
.software-card__icon[data-icon='figma']::after {
  border-radius: 50%;
}

.software-card__icon[data-icon='figma']::before {
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, rgba(197, 90, 90, 0.8), rgba(232, 220, 197, 0.8));
}

.software-card__icon[data-icon='figma']::after {
  width: 10px;
  height: 10px;
  background: rgba(31, 27, 26, 0.85);
  transform: translate(6px, 6px);
}

.software-card__icon[data-icon='canva']::before {
  width: 18px;
  height: 18px;
  border-radius: 12px;
  background: conic-gradient(from 120deg, rgba(197, 90, 90, 0.7), rgba(232, 220, 197, 0.9));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.8);
}

.software-card__label {
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.skills__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.skills__list li {
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(232, 220, 197, 0.35), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(31, 27, 26, 0.08);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  z-index: 1;
}

.bullet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(197, 90, 90, 0.6);
  background: rgba(197, 90, 90, 0.2);
}

.gallery-block {
  overflow: hidden;
}

.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 360px);
  gap: 14px;
  overflow-x: auto;
  padding: 6px 2px 2px;
  scroll-snap-type: x proximity;
  mask-image: linear-gradient(90deg, transparent, #fff 10%, #fff 90%, transparent);
}

.gallery.loading {
  min-height: 160px;
}

.gallery img {
  border-radius: 0;
}

.loader {
  grid-column: 1 / -1;
  color: var(--muted-ink);
}

.project-card {
  scroll-snap-align: start;
  border-radius: 18px;
  border: 1px solid rgba(31, 27, 26, 0.08);
  background: rgba(255, 255, 255, 0.94);
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 40px rgba(31, 27, 26, 0.12);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(31, 27, 26, 0.16);
}

.project-card__preview {
  position: relative;
  height: 200px;
  background:
    linear-gradient(135deg, rgba(197, 90, 90, 0.2), rgba(232, 220, 197, 0.3)),
    repeating-linear-gradient(0deg, rgba(31, 27, 26, 0.12), rgba(31, 27, 26, 0.12) 1px, transparent 1px, transparent 8px);
  overflow: hidden;
}

.project-card.cad .project-card__preview {
  background:
    linear-gradient(135deg, rgba(31, 27, 26, 0.04), rgba(31, 27, 26, 0.08)),
    repeating-linear-gradient(90deg, rgba(31, 27, 26, 0.16), rgba(31, 27, 26, 0.16) 1px, transparent 1px, transparent 10px);
}

.project-card__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.preview__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(232, 220, 197, 0.4);
}

.preview__label {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  border: 1px solid rgba(31, 27, 26, 0.1);
  font-weight: 700;
}

.preview__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(31, 27, 26, 0.2));
}

.project-card__body {
  padding: 14px 14px 16px;
  display: grid;
  gap: 8px;
}

.project-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-card__title {
  margin: 0;
  font-size: 18px;
}

.project-card__desc {
  margin: 0;
  color: var(--muted-ink);
  line-height: 1.5;
}

.gallery-block--grid {
  background: linear-gradient(180deg, rgba(250, 248, 245, 0.9), rgba(232, 220, 197, 0.35));
  border: 1px solid rgba(31, 27, 26, 0.08);
  box-shadow: 0 18px 46px rgba(31, 27, 26, 0.14);
}

.timeline {
  overflow: hidden;
}

.timeline__line {
  position: absolute;
  left: 18px;
  top: 70px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, rgba(197, 90, 90, 0.5), transparent);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 1s ease;
}

.timeline.visible .timeline__line {
  transform: scaleY(1);
}

.timeline__items {
  display: grid;
  gap: 14px;
  position: relative;
}

.timeline__item {
  position: relative;
  padding-left: 42px;
}

.timeline__text {
  font-weight: 600;
  color: var(--ink);
}

.timeline__item .dot {
  position: absolute;
  left: 14px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(197, 90, 90, 0.12);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.headline {
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 8px;
}

.lang-list {
  display: grid;
  gap: 10px;
}

.lang-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(232, 220, 197, 0.35);
  border: 1px solid rgba(31, 27, 26, 0.1);
}

.contact {
  background: linear-gradient(120deg, rgba(197, 90, 90, 0.1), rgba(250, 248, 245, 0.95));
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.contact__card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(31, 27, 26, 0.1);
}

.contact__text {
  display: grid;
  gap: 4px;
  font-weight: 600;
}

.icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(197, 90, 90, 0.15);
  position: relative;
}

.icon::before,
.icon::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 2px solid rgba(31, 27, 26, 0.8);
  border-radius: 6px;
}

.icon[data-icon='mail']::before {
  border: none;
  border-bottom: 2px solid rgba(31, 27, 26, 0.8);
  transform: skewY(-10deg);
  top: 10px;
}

.icon[data-icon='phone']::before {
  border: none;
  border-left: 2px solid rgba(31, 27, 26, 0.8);
  border-bottom: 2px solid rgba(31, 27, 26, 0.8);
  border-radius: 0 0 0 6px;
  inset: 7px 10px 8px 8px;
}

.icon[data-icon='phone']::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 4px;
  background: rgba(31, 27, 26, 0.8);
  border-radius: 6px;
  bottom: 8px;
  left: 11px;
}

.icon[data-icon='pin']::before {
  border: 2px solid rgba(31, 27, 26, 0.8);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 10, 8, 0.6);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 20;
  backdrop-filter: blur(6px);
}

.modal__dialog {
  width: min(960px, 90vw);
  max-height: 90vh;
  background: #fdfbf8;
  border-radius: 18px;
  padding: 16px;
  border: 1px solid rgba(31, 27, 26, 0.2);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  display: grid;
  gap: 12px;
}

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal__title {
  font-weight: 700;
  font-size: 18px;
}

.modal__desc {
  margin: 0;
  color: var(--muted-ink);
}

.modal__viewer {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(31, 27, 26, 0.12);
  overflow: hidden;
  height: min(65vh, 640px);
}

.modal__viewer object,
.modal__viewer iframe,
.modal__viewer img {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.modal__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.close {
  border: none;
  background: rgba(197, 90, 90, 0.12);
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}

[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .nav {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .floating-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 12px;
    width: 100%;
  }

  .gallery {
    grid-auto-flow: row;
    grid-auto-columns: 1fr;
    mask-image: none;
  }

  .project-card__preview {
    height: 180px;
  }
}

@media (max-width: 680px) {
  .site-shell {
    padding: 18px;
  }

  .section {
    margin-top: 46px;
  }

  .nav__links {
    display: none;
  }

  .hero__quote,
  .card,
  .section {
    box-shadow: 0 14px 36px rgba(31, 27, 26, 0.08);
  }

  .pill {
    width: 100%;
    justify-content: center;
  }

  .hero__chips {
    gap: 8px;
  }

  .gallery {
    gap: 10px;
  }

  .project-card__title {
    font-size: 16px;
  }
}
