:root {
  --bg: #f7f7f4;
  --bg-white: #fcfcfa;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --text: #111111;
  --muted: #666968;
  --line: rgba(17, 17, 17, 0.08);
  --shadow-soft: 0 40px 110px rgba(140, 145, 152, 0.12);
  --shadow-card: 0 30px 70px rgba(95, 102, 110, 0.12);
  --accent: #1456dd;
  --accent-soft: rgba(20, 86, 221, 0.12);
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Instrument Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.92), transparent 34%),
    radial-gradient(circle at 20% 22%, rgba(198, 206, 216, 0.2), transparent 24%),
    radial-gradient(circle at 80% 18%, rgba(206, 212, 223, 0.22), transparent 21%),
    linear-gradient(180deg, #fcfcfb 0%, #f4f4f1 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.7), transparent 34%),
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.32) 50%, transparent 100%);
  mix-blend-mode: screen;
}

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

.page-shell {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 24px 0 32px;
}

.site-header,
.site-footer,
.service-row,
.hero,
.closing {
  position: relative;
  z-index: 1;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 10px 6px 32px;
}

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

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #1a2746, #0f1830 72%);
  box-shadow: 0 8px 20px rgba(15, 24, 48, 0.14);
}

.brand-word {
  font-size: 1.45rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  color: #2e3032;
  font-size: 0.98rem;
}

.main-nav a,
.footer-links a,
.text-link,
.button {
  transition: transform 160ms ease, opacity 160ms ease, background-color 160ms ease;
}

.main-nav a:hover,
.footer-links a:hover,
.text-link:hover,
.button:hover {
  transform: translateY(-1px);
}

.locale-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  color: #2d2f31;
  backdrop-filter: blur(16px);
}

.locale-icon {
  font-size: 0.8rem;
  color: #55595e;
}

.section-frame {
  border-top: 1px solid rgba(17, 17, 17, 0.06);
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(320px, 0.95fr);
  gap: 40px;
  align-items: center;
  min-height: 78vh;
  padding: 56px 6px 44px;
}

.hero-kicker,
.section-label {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 9ch;
  margin: 0;
  font-size: clamp(4.4rem, 8vw, 8.3rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero-copy {
  padding-top: 28px;
}

.hero-summary {
  max-width: 22ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.18;
}

.hero-detail {
  max-width: 34ch;
  margin: 18px 0 0;
  color: #3f4347;
  font-size: 1.05rem;
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 600;
}

.button-dark {
  color: #ffffff;
  background: #111111;
  box-shadow: 0 16px 34px rgba(17, 17, 17, 0.14);
}

.button-light {
  color: #111111;
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(16px);
}

.hero-art {
  position: relative;
  min-height: 600px;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 6% 2% 12% 18%;
  border-radius: 44px;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.95), rgba(214, 220, 228, 0.18) 52%, transparent 74%);
  filter: blur(16px);
}

.workflow-board {
  position: absolute;
  inset: 8% 0 6% 12%;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(245, 247, 249, 0.54)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(199, 207, 216, 0.18));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 32px 90px rgba(149, 158, 169, 0.18);
  backdrop-filter: blur(24px);
}

.workflow-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #2e3236;
  font-size: 0.92rem;
  font-weight: 600;
}

.workflow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.workflow-card {
  padding: 22px;
  border: 1px solid rgba(17, 17, 17, 0.05);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(249, 250, 250, 0.76)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 42px rgba(122, 129, 136, 0.1);
}

.workflow-card-wide {
  grid-column: 1 / -1;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 86% 28%, rgba(202, 220, 245, 0.48), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 250, 0.82));
}

.workflow-label {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.workflow-card strong {
  display: block;
  max-width: 18ch;
  font-size: 1.34rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.workflow-card p {
  margin: 12px 0 0;
  color: #666b70;
  font-size: 0.95rem;
  line-height: 1.55;
}

.services-grid {
  display: grid;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(360px, 1.45fr);
  gap: 42px;
  padding: 44px 6px;
  align-items: center;
}

.service-copy h2 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.service-copy p {
  max-width: 32ch;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.62;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 0;
  margin: 22px 0 28px;
  list-style: none;
  color: #27292b;
  font-size: 0.98rem;
  font-weight: 600;
}

.service-note {
  margin: -6px 0 28px;
  color: #31353a;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
}

.text-link::after {
  content: "→";
  font-size: 1.05rem;
}

.media-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-card);
}

.subtitles-card {
  background:
    linear-gradient(180deg, rgba(253, 249, 244, 0.18), rgba(16, 18, 20, 0.16)),
    linear-gradient(145deg, #c7ced6 2%, #717d86 42%, #485963 72%, #232d33 100%);
}

.subtitle-scene {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 52% 24%, rgba(255, 244, 220, 0.62), transparent 18%),
    linear-gradient(180deg, rgba(243, 236, 227, 0.74) 0%, rgba(93, 108, 117, 0.14) 44%, rgba(24, 30, 35, 0.3) 45%, rgba(12, 16, 20, 0.64) 100%);
}

.subtitle-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 34%, rgba(21, 31, 36, 0.92), transparent 20%),
    radial-gradient(circle at 78% 32%, rgba(28, 40, 46, 0.9), transparent 24%),
    linear-gradient(180deg, transparent 54%, rgba(255, 255, 255, 0.1) 54%, transparent 58%, rgba(255, 255, 255, 0.04) 64%, transparent 70%);
  opacity: 0.9;
}

.subtitle-box {
  position: absolute;
  left: 9%;
  right: 22%;
  bottom: 12%;
  display: grid;
  gap: 6px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(14, 16, 18, 0.62);
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.subtitle-box span {
  font-size: 1.02rem;
}

.language-stack {
  position: absolute;
  top: 13%;
  right: 2.6%;
  display: grid;
  gap: 10px;
  width: 70px;
  padding: 16px 0;
  border-radius: 20px;
  background: rgba(15, 16, 19, 0.56);
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  backdrop-filter: blur(12px);
}

.language-stack .active {
  color: #ffffff;
}

.restoration-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #dadcdf;
}

.before-pane,
.after-pane {
  position: relative;
  min-height: 380px;
}

.before-pane {
  background:
    linear-gradient(180deg, rgba(218, 220, 223, 0.22), rgba(44, 44, 44, 0.24)),
    repeating-linear-gradient(
      90deg,
      rgba(12, 12, 12, 0.04) 0,
      rgba(12, 12, 12, 0.04) 4px,
      transparent 4px,
      transparent 10px
    ),
    linear-gradient(140deg, #bebebe 0%, #7b7b7b 40%, #999999 70%, #5f5f5f 100%);
  filter: grayscale(1);
}

.before-pane::before,
.after-pane::before {
  content: "";
  position: absolute;
  inset: 0;
}

.before-pane::before {
  background:
    radial-gradient(circle at 70% 68%, rgba(40, 40, 40, 0.7), transparent 16%),
    linear-gradient(180deg, transparent 56%, rgba(52, 52, 52, 0.44) 56%),
    linear-gradient(115deg, transparent 0 22%, rgba(56, 56, 56, 0.44) 22% 28%, transparent 28% 44%, rgba(56, 56, 56, 0.44) 44% 51%, transparent 51% 100%),
    linear-gradient(65deg, transparent 0 18%, rgba(64, 64, 64, 0.38) 18% 24%, transparent 24% 40%, rgba(64, 64, 64, 0.38) 40% 46%, transparent 46% 100%);
  opacity: 0.9;
}

.after-pane {
  background:
    radial-gradient(circle at 70% 18%, rgba(244, 249, 255, 0.72), transparent 18%),
    linear-gradient(180deg, rgba(193, 221, 249, 0.5) 0%, rgba(142, 185, 225, 0.14) 34%, rgba(111, 126, 137, 0.1) 35%, rgba(98, 93, 86, 0.1) 60%, rgba(111, 126, 137, 0.32) 100%),
    linear-gradient(140deg, #bfd3e5 0%, #8fb1cd 30%, #9ea287 48%, #cab79f 100%);
}

.after-pane::before {
  background:
    radial-gradient(circle at 68% 21%, rgba(56, 90, 118, 0.9), transparent 20%),
    linear-gradient(180deg, transparent 56%, rgba(83, 85, 86, 0.28) 56%),
    linear-gradient(115deg, transparent 0 22%, rgba(233, 229, 220, 0.74) 22% 28%, transparent 28% 44%, rgba(233, 229, 220, 0.72) 44% 51%, transparent 51% 100%),
    linear-gradient(65deg, transparent 0 18%, rgba(244, 240, 233, 0.82) 18% 24%, transparent 24% 40%, rgba(244, 240, 233, 0.82) 40% 46%, transparent 46% 100%);
}

.pane-label {
  position: absolute;
  top: 18px;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.before-pane .pane-label {
  left: 18px;
}

.after-pane .pane-label {
  right: 18px;
}

.divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 1px);
  width: 2px;
  background: rgba(255, 255, 255, 0.76);
}

.divider-knob {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #1d2025;
  font-size: 0.95rem;
  font-weight: 700;
  transform: translate(-50%, -50%);
  box-shadow: 0 16px 34px rgba(55, 61, 71, 0.18);
}

.scribe-card {
  padding: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 250, 248, 0.86));
}

.scribe-toolbar {
  height: 58px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.05);
  background:
    radial-gradient(circle at 5% 50%, rgba(158, 164, 174, 0.35) 0 3px, transparent 4px),
    linear-gradient(90deg, transparent 22%, rgba(17, 17, 17, 0.12) 22% 23%, transparent 23% 26%, rgba(17, 17, 17, 0.12) 26% 27%, transparent 27% 31%, rgba(17, 17, 17, 0.12) 31% 32%, transparent 32% 36%, rgba(17, 17, 17, 0.12) 36% 37%, transparent 37% 100%);
}

.scribe-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.55fr 0.8fr;
  min-height: 340px;
}

.scribe-outline,
.scribe-notes {
  padding: 22px 18px;
  border-right: 1px solid rgba(17, 17, 17, 0.05);
}

.scribe-notes {
  border-right: 0;
  border-left: 1px solid rgba(17, 17, 17, 0.05);
}

.scribe-outline span,
.note-card span {
  display: block;
  margin-bottom: 14px;
  color: #2a2d30;
  font-size: 0.92rem;
  font-weight: 600;
}

.scribe-outline ol {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #5f6366;
  font-size: 0.92rem;
  line-height: 2.1;
}

.scribe-outline li.active {
  color: #111111;
  font-weight: 600;
}

.scribe-document {
  padding: 26px 28px;
}

.scribe-heading {
  margin: 0 0 14px;
  color: #111111;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.scribe-document p {
  margin: 0;
  color: #3d4246;
  font-size: 1rem;
  line-height: 1.75;
}

.scribe-image {
  margin-top: 24px;
  height: 164px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 70% 24%, rgba(255, 255, 255, 0.68), transparent 24%),
    linear-gradient(135deg, #dfe8f0 0%, #afc7de 38%, #edf1f4 100%);
}

.note-card {
  padding: 16px;
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
}

.note-card + .note-card {
  margin-top: 14px;
}

.note-card p {
  margin: 0 0 10px;
  color: #5d6166;
  font-size: 0.9rem;
  line-height: 1.6;
}

.note-card p:last-child {
  margin-bottom: 0;
}

.closing {
  padding: 62px 6px 42px;
}

.closing-lead {
  max-width: 24ch;
  margin: 0;
  font-size: clamp(2.6rem, 4vw, 4.1rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.closing-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 920px;
  margin-top: 26px;
}

.closing-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.launch-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 52px;
  padding: 30px 32px;
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.launch-box h2 {
  margin: 0;
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  letter-spacing: -0.05em;
}

.launch-box p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 6px 12px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-note {
  color: #72767a;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: #313336;
  font-size: 0.96rem;
}

@media (max-width: 1080px) {
  .hero,
  .service-row,
  .closing-copy,
  .launch-box,
  .site-footer,
  .site-header {
    grid-template-columns: 1fr;
  }

  .site-header,
  .launch-box,
  .site-footer {
    display: grid;
  }

  .main-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 18px 24px;
  }

  .hero {
    min-height: unset;
    padding-top: 34px;
  }

  .hero-art {
    min-height: 440px;
  }

  .workflow-board {
    inset: 4% 0 4% 4%;
  }

  .closing-copy {
    gap: 16px;
  }
}

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

  .site-header {
    padding-bottom: 22px;
  }

  .brand-word {
    font-size: 1.08rem;
    letter-spacing: 0.14em;
  }

  .main-nav {
    font-size: 0.92rem;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(3.4rem, 19vw, 5.3rem);
  }

  .hero-summary {
    font-size: 1.28rem;
  }

  .button {
    width: 100%;
  }

  .hero-art {
    min-height: 320px;
  }

  .workflow-board {
    padding: 18px;
    border-radius: 28px;
  }

  .workflow-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

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

  .workflow-card-wide {
    min-height: 0;
  }

  .service-row {
    gap: 28px;
    padding: 34px 0;
  }

  .service-copy h2,
  .closing-lead,
  .launch-box h2 {
    max-width: none;
    font-size: clamp(2.2rem, 11vw, 3.25rem);
  }

  .service-copy p,
  .closing-copy p {
    font-size: 1rem;
  }

  .media-card,
  .before-pane,
  .after-pane {
    min-height: 300px;
  }

  .subtitle-box {
    right: 10%;
    bottom: 10%;
  }

  .language-stack {
    top: 8%;
    right: 4%;
  }

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

  .scribe-outline,
  .scribe-notes {
    border: 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.05);
  }

  .scribe-notes {
    border-bottom: 0;
    border-top: 1px solid rgba(17, 17, 17, 0.05);
  }

  .launch-box {
    padding: 24px;
  }

  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
