:root {
  --bg: #2a2a2a;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: #1d1d1d;
  --text: #f4f4f4;
  --muted: #b3b3b3;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #111111;
  --accent-dark: #d2d2d2;
  --forest: #0f0f0f;
  --sand: #5a5a5a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #1f1f1f 0%, var(--bg) 42%, #141414 100%);
}

.ambient-lights {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient-light {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(22px);
}

.ambient-light-a {
  top: 9%;
  left: 10%;
  width: 132px;
  height: 132px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.08) 42%, transparent 64%);
  animation: drift-light-a 12s ease-in-out infinite alternate;
}

.ambient-light-b {
  top: 18%;
  right: 12%;
  width: 148px;
  height: 148px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.06) 42%, transparent 64%);
  animation: drift-light-b 15s ease-in-out infinite alternate;
}

.ambient-light-c {
  top: 60%;
  left: 18%;
  width: 118px;
  height: 118px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.05) 40%, transparent 64%);
  animation: drift-light-c 18s ease-in-out infinite alternate;
}

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

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

.page-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding: 20px 0 32px;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(22px);
}

.page-shell::before {
  top: 140px;
  left: max(24px, calc((100vw - var(--container)) / 2));
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.08) 42%, transparent 64%);
  animation: drift-light-a 16s ease-in-out infinite alternate;
}

.page-shell::after {
  right: max(20px, calc((100vw - var(--container)) / 2));
  top: 460px;
  width: 170px;
  height: 170px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.06) 42%, transparent 64%);
  animation: drift-light-b 20s ease-in-out infinite alternate;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(24, 24, 24, 0.7);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.language-option {
  min-width: 48px;
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.language-option:hover {
  color: var(--text);
}

.language-option.is-active {
  background: rgba(255, 255, 255, 0.92);
  color: #111111;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 5px;
  overflow: hidden;
  border-radius: 14px;
  background: #111111;
  border: 1px solid rgba(17, 17, 17, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 6px 14px rgba(0, 0, 0, 0.08);
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.nav {
  display: flex;
  gap: 26px;
  color: var(--muted);
}

.nav a,
.phone-link {
  position: relative;
}

.nav a::after,
.phone-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover::after,
.phone-link:hover::after {
  transform: scaleX(1);
}

.phone-link {
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  padding: 42px 0 30px;
  min-height: calc(100vh - 120px);
  align-items: stretch;
}

.hero-copy,
.hero-card,
.highlights article,
.product-card,
.project-card,
.cta-panel,
.footer {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-copy {
  height: 100%;
  padding: 48px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.05);
}

.hero-copy::before,
.hero-card::after,
.section-heading::after,
.cta-panel::before {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.hero-copy::before {
  margin-bottom: 22px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
}

.hero h1,
.section-heading h2,
.cta-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 0.96;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(3.3rem, 5vw, 6rem);
  max-width: 11ch;
}

.hero-text {
  max-width: 56ch;
  margin: 22px 0 0;
  font-size: 1.02rem;
  line-height: 1.82;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--forest);
  color: #ffffff;
}

.button-primary:hover {
  background: #000000;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.hero-metrics li {
  padding: 18px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-metrics strong {
  display: block;
  font-size: 1.8rem;
  font-family: Georgia, "Times New Roman", serif;
}

.hero-metrics span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.hero-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.05);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -80px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(2px);
}

.hero-card::after {
  position: absolute;
  top: 76px;
  left: 26px;
  z-index: 1;
}

.hero-card-top,
.hero-card-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
}

.hero-card-bottom {
  margin-top: auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-card-top {
  gap: 10px;
  align-items: center;
}

.tag.accent {
  background: #f4f4f4;
  color: #111111;
  border-color: transparent;
}

.hero-card-body {
  position: relative;
  z-index: 1;
  max-width: 31ch;
  margin: 42px 0 24px;
}

.hero-card-kicker {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.68);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 700;
}

.hero-card-body h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.04;
  color: #ffffff;
}

.hero-card-summary {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.72;
}

.hero-card-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
}

.hero-card-text {
  max-width: 28ch;
  margin: 0;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.65;
}

.section {
  padding: 48px 0 0;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading::after {
  margin-top: 6px;
}

.section-heading h2,
.cta-panel h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.highlights article,
.product-card,
.project-card,
.cta-panel,
.footer {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
}

.highlights article {
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.highlights span {
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.highlights h2,
.product-card h3,
.timeline h3,
.project-card h3 {
  margin: 14px 0 10px;
  font-size: 1.4rem;
  font-family: Georgia, "Times New Roman", serif;
}

.highlights article::after,
.product-card::after,
.timeline article::after,
.project-card::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
  opacity: 0.18;
}

.highlights p,
.product-card p,
.timeline p,
.project-card p,
.footer p,
.footer span,
.footer a {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.product-grid,
.projects-grid {
  display: grid;
  gap: 18px;
}

.product-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.product-card {
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.product-card.featured {
  grid-row: span 2;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    rgba(11, 11, 11, 0.9);
}

.product-card.featured h3,
.product-card.featured p,
.product-card.featured li {
  color: #ffffff;
}

.card-kicker {
  margin: 0 0 10px;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
}

.product-card.featured .card-kicker {
  color: rgba(255, 255, 255, 0.72);
}

.product-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.product-card li + li {
  margin-top: 8px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline article {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.timeline strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sand);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.projects-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.live-projects {
  margin-top: 22px;
  display: grid;
  gap: 18px;
}

.live-projects-heading {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.live-projects-heading h3,
.live-project-card h4 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
}

.live-projects-heading h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
}

.live-projects-text,
.live-project-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.live-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.live-project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.live-project-card::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
  opacity: 0.18;
}

.live-project-media {
  position: relative;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.live-project-media span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.live-project-content {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.live-project-card h4 {
  font-size: 1.25rem;
  color: var(--text);
}

.project-card {
  min-height: 250px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.project-card.large {
  min-height: 320px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.05);
}

.projects-grid .project-card:nth-child(2) {
  min-height: 320px;
}

.project-label,
.contact-title {
  margin: 0 0 12px;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 700;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.cta-actions {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.cta-note {
  max-width: 34ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.cta-panel::before {
  position: absolute;
  top: 24px;
  left: 32px;
}

.footer {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
  padding: 32px;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-policy-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.contact-block {
  display: grid;
  gap: 10px;
}

.policy-page {
  padding-top: 42px;
}

.policy-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  padding: 40px;
}

.policy-card h1,
.policy-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
}

.policy-card h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.98;
}

.policy-intro,
.policy-card p {
  color: var(--muted);
  line-height: 1.75;
}

.policy-intro {
  max-width: 70ch;
  margin: 18px 0 0;
}

.policy-sections {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.policy-sections section {
  display: grid;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.policy-sections h2 {
  font-size: 1.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

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

@keyframes drift-light-a {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(34px, 20px, 0);
  }
}

@keyframes drift-light-b {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-28px, 26px, 0);
  }
}

@keyframes drift-light-c {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(22px, -30px, 0);
  }
}

@media (max-width: 1080px) {
  .hero,
  .product-grid,
  .timeline,
  .projects-grid,
  .live-projects-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-card {
    min-height: 520px;
  }

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

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

@media (max-width: 820px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--container));
  }

  .topbar {
    position: static;
    flex-wrap: wrap;
    border-radius: 28px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 14px;
    font-size: 0.95rem;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero-copy,
  .hero-card,
  .highlights article,
  .product-card,
  .project-card,
  .cta-panel,
  .footer,
  .timeline article {
    padding: 22px;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .cta-panel::before,
  .hero-card::after {
    left: 22px;
  }
}

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

  .ambient-light,
  .page-shell::before,
  .page-shell::after,
  .button,
  .nav a::after,
  .phone-link::after,
  .reveal {
    transition: none;
  }

  .ambient-light,
  .page-shell::before,
  .page-shell::after {
    animation: none;
  }
}
