:root {
  --bg: #030a18;
  --bg-2: #071428;
  --blue: #086bff;
  --blue-2: #168cff;
  --teal: #00e5d1;
  --violet: #6847ff;
  --text: #f6faff;
  --muted: #9cafc7;
  --line: rgba(156, 175, 199, 0.16);
  --danger: #ffc2ce;
  --ok: #b8fff4;
  --header: 76px;
  --radius: 20px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Plus Jakarta Sans", "Manrope", sans-serif;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

html.has-lenis {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

::selection {
  background: rgba(0, 229, 209, 0.28);
  color: var(--text);
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  z-index: 80;
  transform: translateY(-120%);
  background: var(--text);
  color: var(--bg);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.skip:focus {
  transform: translateY(0.8rem);
}

.container {
  width: min(1140px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(5.2rem, 9vw, 8rem) 0;
  scroll-margin-top: 96px;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2.4rem, 5vw, 3.6rem);
}

.section-head h2,
.editorial h2,
.contact-intro h2 {
  font-size: clamp(2.15rem, 4.4vw, 3.7rem);
}

.lede {
  margin-top: 1.15rem;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.grad {
  background: linear-gradient(100deg, var(--blue-2) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grad .word {
  background: linear-gradient(100deg, var(--blue-2) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.separator {
  width: min(1140px, calc(100% - 2.5rem));
  height: 1px;
  margin: 0 auto;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(22, 140, 255, 0.75), rgba(0, 229, 209, 0.85), transparent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: background-position 0.55s ease, border-color 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

.btn-primary {
  color: #041422;
  background-image: linear-gradient(110deg, #168cff 0%, #00e5d1 48%, #5eb6ff 100%);
  background-size: 200% 100%;
  background-position: 0% 50%;
  box-shadow: 0 10px 30px rgba(8, 107, 255, 0.22);
}

.btn-primary:hover {
  background-position: 100% 50%;
}

.btn-ghost {
  color: var(--text);
  background: transparent;
  border-color: rgba(246, 250, 255, 0.2);
}

.btn-ghost:hover {
  border-color: rgba(0, 229, 209, 0.7);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 24, 0.78);
  backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.site-header.is-scrolled::before,
.site-header:has(.site-nav.is-open)::before {
  opacity: 1;
  border-bottom: 1px solid var(--line);
}

.header-bar {
  position: relative;
  z-index: 2;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  display: block;
  width: auto;
  height: 46px;
  filter: drop-shadow(0 0 12px rgba(8, 107, 255, 0.35));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
}

.nav-cta {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(7, 20, 40, 0.7);
  color: var(--text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: inline-flex;
}

.nav-toggle svg,
.service-icon svg,
.project-arrow svg,
.panel-kicker svg {
  width: 20px;
  height: 20px;
  display: block;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header) + 1.5rem) 0 4rem;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 78% 42%, rgba(8, 107, 255, 0.22), transparent 62%),
    radial-gradient(680px 420px at 12% 88%, rgba(0, 229, 209, 0.08), transparent 58%),
    var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(156, 175, 199, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(156, 175, 199, 0.055) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(circle at 72% 42%, #000 0%, transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  width: 100%;
}

.hero-grid > *,
.editorial > *,
.contact-grid > *,
.services-grid > *,
.projects-grid > * {
  min-width: 0;
}

.hero h1 {
  font-size: clamp(2.6rem, 4.6vw, 4.35rem);
  line-height: 0.98;
}

.hero .lede {
  margin-top: 1.4rem;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  perspective: 1000px;
}

.hero-canvas,
.hero-fallback-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-canvas {
  z-index: 0;
  display: block;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-visual.is-ready .hero-canvas {
  opacity: 1;
}

.hero-fallback-wrap {
  z-index: 1;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  transition: transform 0.45s ease;
  pointer-events: none;
}

.hero-logo-float {
  position: relative;
  width: min(100%, 460px);
  max-width: 100%;
  display: grid;
  place-items: center;
}

.hero-fallback {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(8, 107, 255, 0.28));
}

.px {
  position: absolute;
  border-radius: 7px;
  background: linear-gradient(140deg, var(--blue-2), var(--teal));
  box-shadow: 0 0 18px rgba(0, 229, 209, 0.35);
  opacity: 0;
}

.hero-visual.is-fallback .px,
.hero-visual:not(.is-ready) .px {
  opacity: 1;
}

.px-1 { width: 26px; height: 26px; right: 14%; top: 18%; }
.px-2 { width: 16px; height: 16px; right: 8%; top: 30%; }
.px-3 { width: 11px; height: 11px; right: 20%; top: 34%; }

.editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
}

.editorial-copy p + p {
  margin-top: 1.1rem;
}

.editorial-copy {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.trace {
  display: block;
  width: min(100%, 440px);
  height: 48px;
  margin-top: 2rem;
}

.trace-track,
.trace-draw {
  fill: none;
  stroke-linecap: round;
}

.trace-track {
  stroke: rgba(156, 175, 199, 0.2);
  stroke-width: 1.25;
}

.trace-draw {
  stroke: url("#trace-grad");
  stroke-width: 1.6;
}

.editorial-mark {
  width: min(100%, 280px);
  margin-left: auto;
  display: block;
  filter: drop-shadow(0 18px 30px rgba(8, 107, 255, 0.25));
}

.services-grid,
.projects-grid {
  display: grid;
  gap: 1rem;
}

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

.service-card,
.project-card,
.panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(7, 20, 40, 0.96), rgba(3, 10, 24, 0.94));
  box-shadow: var(--shadow);
}

.service-card,
.project-body {
  padding: 1.7rem 1.5rem 1.45rem;
}

.glow-card {
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.glow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(22, 140, 255, 0.16), transparent 42%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.glow-card:hover::before {
  opacity: 1;
}

.glow-card > * {
  position: relative;
  z-index: 1;
}

.service-card:hover,
.project-card:hover {
  border-color: rgba(0, 229, 209, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(8, 107, 255, 0.14);
}

.service-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  border-radius: 12px;
  color: var(--teal);
  border: 1px solid rgba(0, 229, 209, 0.28);
  background: rgba(8, 107, 255, 0.08);
}

.service-title,
.project-title {
  font-size: 1.28rem;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.service-copy,
.project-copy {
  margin-top: 0.8rem;
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin-top: 1.3rem;
}

.tag,
.project-category {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.tag {
  border: 1px solid rgba(156, 175, 199, 0.24);
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
}

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

.project-card.is-featured {
  background:
    radial-gradient(420px 160px at 0% 0%, rgba(8, 107, 255, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(7, 20, 40, 0.98), rgba(3, 10, 24, 0.94));
}

.project-link {
  display: flex;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.project-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.project-mark {
  min-height: 84px;
  display: flex;
  align-items: center;
  margin-bottom: 1.1rem;
}

.project-mark img {
  max-height: 64px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.project-mark.is-light {
  background: #f4f7fb;
  border-radius: 14px;
  padding: 0.85rem 1rem;
}

.project-mark.is-light img {
  max-height: 52px;
}

.project-wordmark {
  font-family: var(--display);
  font-size: clamp(1.7rem, 2vw, 2.1rem);
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(100deg, var(--text), #c5d5e8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.project-category {
  margin-top: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.project-go {
  margin-top: auto;
  padding-top: 1.3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--teal);
  font-weight: 700;
}

.project-card:has(a:focus-visible) {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.project-card a:focus-visible {
  outline: none;
}

.timeline {
  position: relative;
  margin-top: 3.2rem;
}

.timeline ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.timeline-line {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  top: 23px;
  height: 2px;
  background: rgba(156, 175, 199, 0.16);
}

.timeline-progress {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}

.node {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.15rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 209, 0.45);
  background: var(--bg-2);
  color: var(--text);
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  position: relative;
  z-index: 1;
}

.timeline h3 {
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
}

.timeline p {
  color: var(--muted);
}

.contact {
  overflow: hidden;
}

.contact-intro {
  max-width: 46rem;
  margin-bottom: 2.4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  align-items: start;
}

.panel {
  padding: 1.6rem 1.4rem 1.4rem;
}

.panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.7rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel h3 {
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  margin-bottom: 0.75rem;
}

.panel > p,
.meeting-note,
.meeting-duration {
  color: var(--muted);
}

.form {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.3rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field span {
  font-size: 0.92rem;
  font-weight: 600;
}

.req {
  color: var(--teal);
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 22px, calc(100% - 12px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.95rem;
}

.check input {
  width: 1.15rem;
  height: 1.15rem;
  min-height: 0;
  margin-top: 0.2rem;
  accent-color: var(--teal);
}

.field-error {
  color: var(--danger);
  font-size: 0.86rem;
}

.form-status {
  min-height: 1.4em;
  font-size: 0.95rem;
}

.form-status[data-state="error"] {
  color: var(--danger);
}

.form-status[data-state="success"] {
  color: var(--ok);
}

.form-status[data-state="info"] {
  color: var(--muted);
}

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.meeting-live {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.meeting-frame {
  width: 100%;
  min-height: 640px;
  border: 0;
  border-radius: 16px;
  background: #fff;
}

.waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 42%;
  pointer-events: none;
  z-index: 0;
}

.contact .container {
  position: relative;
  z-index: 1;
}

.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--line);
}

.footer-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 2rem 2.5rem;
  align-items: start;
}

.footer-brand img {
  height: 52px;
  margin-bottom: 0.8rem;
}

.footer-bar p,
.copyright {
  color: var(--muted);
}

.footer-links,
.legal-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.legal-links {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
}

.footer-links a,
.legal-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover,
.legal-links a:hover {
  color: var(--text);
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(156, 175, 199, 0.1);
}

.legal-links:empty {
  display: none;
}

.icons-unavailable .service-icon,
.icons-unavailable .project-arrow,
.icons-unavailable .panel-kicker [data-icon] {
  display: none;
}

@media (min-width: 1240px) {
  .header-bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
  }

  .site-nav {
    justify-self: center;
    flex-wrap: nowrap;
  }
}

@media (min-width: 700px) {
  .services-grid,
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1040px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .projects-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .project-card {
    grid-column: span 2;
  }

  .project-card.is-featured {
    grid-column: span 3;
  }
}

@media (max-width: 1239px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.1rem;
    padding: calc(var(--header) + 1.5rem) 1.5rem 2rem;
    background: rgba(3, 10, 24, 0.96);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav a {
    font-family: var(--display);
    font-size: clamp(1.8rem, 7vw, 2.8rem);
    letter-spacing: -0.045em;
    color: var(--text);
  }

  .nav-cta {
    display: inline-flex;
    margin-top: 0.6rem;
  }
}

@media (max-width: 979px) {
  .hero-grid,
  .editorial,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: flex-start;
  }

  .hero-visual {
    order: 2;
    max-width: 460px;
    margin-inline: auto;
  }

  .editorial-mark {
    margin-left: 0;
    width: min(70%, 220px);
  }
}

@media (max-width: 799px) {
  .timeline ol {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .timeline li {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    column-gap: 1rem;
  }

  .node {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }

  .timeline-line {
    top: 0;
    bottom: 0;
    left: calc(1.5rem - 1px);
    right: auto;
    width: 2px;
    height: auto;
  }

  .timeline-progress {
    transform: scaleY(0);
    transform-origin: center top;
    background: linear-gradient(180deg, var(--blue), var(--teal));
  }

  .form-row,
  .footer-bar {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero-actions .btn,
  .panel .btn {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(1140px, calc(100% - 2rem));
  }

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

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .service-card:hover,
  .project-card:hover {
    transform: none;
  }

  .timeline-progress {
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-logo-float {
    animation: floaty 8s ease-in-out infinite;
  }
}

@keyframes floaty {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.service-title a,
.place-card a {
  color: inherit;
  text-decoration: none;
}

.service-title a:hover,
.place-card a:hover,
.doc a:hover {
  color: var(--teal);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-bottom: 1.4rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.crumbs a {
  color: var(--teal);
  text-decoration: none;
}

.doc-wrap {
  width: min(760px, calc(100% - 2rem));
}

.doc h2 {
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  margin: 2.3rem 0 0.7rem;
}

.doc h3 {
  font-size: 1.12rem;
  margin: 1.35rem 0 0.35rem;
  letter-spacing: -0.03em;
}

.doc p,
.doc li {
  color: var(--muted);
}

.doc p + p,
.doc ul + p,
.doc ol + p {
  margin-top: 0.9rem;
}

.doc ul,
.doc ol {
  margin: 0.8rem 0 0 1.15rem;
}

.doc li + li {
  margin-top: 0.4rem;
}

.doc a {
  color: var(--teal);
}

.faq {
  margin-top: 2.4rem;
}

.faq-item {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

.faq-item h3 {
  margin: 0 0 0.35rem;
}

.doc-cta {
  margin-top: 2rem;
}

.place-grid,
.related-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.place-card,
.related-card {
  display: block;
  padding: 1.2rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  background: linear-gradient(180deg, rgba(7, 20, 40, 0.96), rgba(3, 10, 24, 0.94));
}

.place-card strong,
.related-card strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}

.place-card span,
.related-card span {
  color: var(--muted);
}

@media (min-width: 800px) {
  .place-grid,
  .related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
