:root {
  --bg: #f5efe3;
  --bg-soft: rgba(255, 252, 246, 0.72);
  --surface: rgba(255, 249, 239, 0.78);
  --surface-strong: #fffaf1;
  --text: #18222d;
  --muted: #596570;
  --line: rgba(24, 34, 45, 0.1);
  --accent: #bf5a36;
  --accent-strong: #8b3d23;
  --accent-soft: rgba(191, 90, 54, 0.14);
  --teal: #1f7467;
  --shadow: 0 24px 80px rgba(54, 42, 27, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 116, 103, 0.18), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(191, 90, 54, 0.18), transparent 24%),
    linear-gradient(180deg, #f7f1e5 0%, #f2ebde 100%);
}

a {
  color: inherit;
}

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

button {
  font: inherit;
}

.page {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding: 32px 0 80px;
}

.page-glow {
  position: fixed;
  inset: auto;
  width: 36vw;
  height: 36vw;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.34;
  z-index: 0;
  animation: drift 14s ease-in-out infinite;
}

.page-glow-left {
  top: -10vw;
  left: -8vw;
  background: rgba(31, 116, 103, 0.25);
}

.page-glow-right {
  right: -10vw;
  bottom: 14vh;
  background: rgba(191, 90, 54, 0.24);
}

.section,
.hero,
.footer {
  position: relative;
  z-index: 1;
}

.hero,
.section,
.footer {
  opacity: 0;
  transform: translateY(24px);
  animation: reveal 720ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.section:nth-of-type(1) {
  animation-delay: 120ms;
}

.section:nth-of-type(2) {
  animation-delay: 220ms;
}

.section:nth-of-type(3) {
  animation-delay: 320ms;
}

.footer {
  animation-delay: 420ms;
}

.card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 40px 44px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.28), transparent 45%),
    linear-gradient(340deg, rgba(31, 116, 103, 0.1), transparent 35%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 26px;
  width: 100%;
  margin: 0 auto;
}

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

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.lang-switcher {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(24, 34, 45, 0.08);
}

.lang-switcher__button {
  min-width: 48px;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.lang-switcher__button:hover {
  transform: translateY(-1px);
}

.lang-switcher__button.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, #d77a4f 100%);
  box-shadow: 0 10px 22px rgba(191, 90, 54, 0.24);
}

.hero h1,
.section__intro h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero h1 {
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(260px, 0.75fr);
  gap: 36px;
  align-items: end;
  max-width: none;
  font-size: clamp(3.4rem, 6vw, 6rem);
  line-height: 0.92;
}

.hero h1 span {
  display: block;
}

.hero__name {
  max-width: 8ch;
}

.hero h1 span:last-child {
  margin-top: 0;
  max-width: none;
  padding-bottom: 10px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  line-height: 1.5;
  font-weight: 500;
  color: var(--muted);
}

.hero__lead {
  max-width: 68ch;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 2px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.copy-button:hover,
.project-card a:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, #d77a4f 100%);
  box-shadow: 0 14px 30px rgba(191, 90, 54, 0.26);
}

.button--secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.46);
}


.section {
  margin-top: 28px;
}

.section__intro {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.section__intro h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 0.95;
}

.contact-layout {
  display: grid;
  gap: 18px;
}

.contact-card {
  border-radius: var(--radius-lg);
}

.project-card h3,
.contact-card h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

.section--split .section__intro {
  margin-bottom: 18px;
}

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

.contact-card {
  padding: 24px;
}

.contact-card--legal {
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.96), rgba(255, 245, 233, 0.86)),
    var(--surface);
}

.details {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
}

.details__row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.details dt {
  color: var(--muted);
}

.details dd {
  margin: 0;
  line-height: 1.7;
}

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

.copy-button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(24, 34, 45, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--text);
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.copy-button.is-copied {
  border-color: rgba(31, 116, 103, 0.3);
  background: rgba(31, 116, 103, 0.12);
  color: var(--teal);
}

.contact-card__note {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(191, 90, 54, 0.08);
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding: 0 0 48px;
  color: var(--muted);
}

.footer p {
  margin: 0;
  padding: 18px 2px 0;
  border-top: 1px solid rgba(24, 34, 45, 0.08);
  line-height: 1.7;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(18px, -10px, 0) scale(1.05);
  }
}

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

  .page-glow,
  .hero,
  .section,
  .footer,
  .button,
  .copy-button,
  .project-card a {
    animation: none;
    transition: none;
  }

  .hero,
  .section,
  .footer {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page {
    width: min(calc(100% - 20px), var(--container));
    padding-top: 12px;
    padding-bottom: 56px;
  }

  .hero,
  .contact-card {
    padding: 25px 20px;
  }

  .hero h1 {
    display: block;
    font-size: clamp(2.8rem, 16vw, 4.2rem);
  }

  .hero h1 span,
  .hero__name {
    max-width: none;
  }

  .hero h1 span:last-child {
    margin-top: 22px;
    padding-bottom: 0;
  }

  .hero__topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .details__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
