  :root {
    --paper: #F7F6F3;
    --paper-dim: #EFEDE7;
    --ink: #16191C;
    --ink-soft: #4A5158;
    --line: #DBD8D0;
    --house: #00ADEF;
    --house-soft: #CCE2EB;
    --house-line: #6B6862;
    --house-accent: #DE7D08;
    --house-accent-tint: #FBEDDA;

    --gt: #000;
    --gt-tint: #E7F0EA;
    --cortex: #000;
    --cortex-tint: #ECE7FA;
    --ai: #000;
    --ai-tint: #F5EBDD;

    --display: 'Space Grotesk', 'Arial Narrow', sans-serif;
    --body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
  }


  * { box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
  }

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

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

  .wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
  }

  /* ---------- focus ---------- */
  a:focus-visible, button:focus-visible {
    outline: 2px solid var(--house);
    outline-offset: 3px;
    border-radius: 2px;
  }

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

  /* ---------- nav ---------- */
  .nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 246, 243, 0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 32px;
    max-width: 1180px;
    margin: 0 auto;
  }
  .nav-mark {
    display: flex;
    align-items: center;
  }
  .nav-mark img {
    height: 26px;
    width: auto;
    display: block;
  }
  .nav-links {
    display: flex;
    gap: 30px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink-soft);
  }
  .nav-links a { transition: color .15s ease; }
  .nav-links a:hover { color: var(--ink); }
  .nav-cta {
    font-size: 14px;
    font-weight: 600;
    padding: 9px 18px;
    border: 1px solid var(--ink);
    border-radius: 100px;
    transition: background .15s ease, color .15s ease;
  }
  .nav-cta:hover { background: var(--ink); color: var(--paper); }
  .nav-toggle { display: none; }

  /* ---------- nav dropdown (Events) ---------- */
  .nav-drop { position: relative; }
  .nav-drop-trigger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }
  .nav-drop-trigger svg {
    width: 11px;
    height: 11px;
    transition: transform .15s ease;
  }
  .nav-drop-trigger.active { color: var(--ink); }
  .nav-drop-menu {
    position: absolute;
    top: 100%;
    left: -18px;
    min-width: 260px;
    padding: 10px;
    margin-top: 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 18px 40px -18px rgba(22, 25, 28, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
  }
  .nav-drop-menu::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
  }
  .nav-drop:hover .nav-drop-menu,
  .nav-drop:focus-within .nav-drop-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-drop:hover .nav-drop-trigger svg,
  .nav-drop:focus-within .nav-drop-trigger svg { transform: rotate(180deg); }
  .nav-drop-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 9px;
  }
  .nav-drop-menu a:hover { background: var(--paper-dim); }
  .nav-drop-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-weight: 600;
  }
  .nav-drop-sub {
    display: block;
    font-size: 12.5px;
    font-weight: 400;
    color: var(--ink-soft);
    margin-top: 2px;
  }
  .nav-drop-badge {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--paper);
    background: var(--house-accent);
    padding: 2px 6px;
    border-radius: 4px;
  }

  /* ---------- mobile menu ---------- */
  @media (max-width: 880px) {
    .nav-inner { gap: 12px; padding: 14px 20px; }
    .nav-cta { margin-left: auto; }
    .nav-toggle {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 42px;
      height: 42px;
      padding: 0 11px;
      background: none;
      border: 1px solid var(--line);
      border-radius: 100px;
      cursor: pointer;
    }
    .nav-toggle span {
      display: block;
      height: 2px;
      background: var(--ink);
      border-radius: 2px;
      transition: transform .2s ease, opacity .2s ease;
    }
    .nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
    .nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .nav-links {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      flex-direction: column;
      gap: 0;
      padding: 4px 20px 20px;
      background: var(--paper);
      border-bottom: 1px solid var(--line);
      box-shadow: 0 18px 30px -20px rgba(22, 25, 28, 0.35);
      max-height: calc(100vh - 72px);
      overflow-y: auto;
      font-size: 16px;
    }
    .nav.is-open .nav-links { display: flex; }
    .nav-links > a,
    .nav-drop-trigger {
      padding: 14px 0;
      border-bottom: 1px solid var(--line);
      color: var(--ink);
    }
    .nav-drop-trigger { display: flex; }
    .nav-drop-trigger svg { display: none; }
    .nav-drop-menu {
      position: static;
      min-width: 0;
      margin: 0;
      padding: 6px 0 10px;
      border: none;
      border-bottom: 1px solid var(--line);
      border-radius: 0;
      box-shadow: none;
      background: none;
      opacity: 1;
      visibility: visible;
      transform: none;
    }
    .nav-drop-menu::before { display: none; }
    .nav-drop-menu a { padding: 10px 12px; }
  }

  /* ---------- hero ---------- */
  .hero {
    padding: 86px 0 40px;
    position: relative;
    overflow: hidden;
  }
  .hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
  }
  .hero .wrap {
    position: relative;
    z-index: 1;
  }
  .eyebrow {
    font-family: var(--mono);
    font-size: 12.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--house);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
  }
  .eyebrow::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--house);
    display: inline-block;
  }
  .hero h1 {
    font-family: var(--display);
    font-size: clamp(40px, 6vw, 74px);
    line-height: 1.04;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 26px;
    max-width: 820px;
  }
  .hero h1 em {
    font-style: normal;
    color: var(--house);
  }
  .hero-sub {
    font-family: var(--display);
    font-size: 22px;
    font-weight: 500;
    color: var(--ink-soft);
    max-width: 560px;
    margin: 0 0 38px;
    letter-spacing: 0.01em;
  }
  .hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 64px;
  }
  .btn {
    font-family: var(--body);
    font-weight: 600;
    font-size: 15px;
    padding: 13px 24px;
    border-radius: 100px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .btn-primary {
    background: var(--ink);
    color: var(--paper);
  }
  .btn-primary:hover { transform: translateY(-1px); background: var(--house-accent); }
  .btn-ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--ink);
  }
  .btn-ghost:hover { border-color: var(--ink); }

  /* ---------- branch diagram (signature) ---------- */
  .branch-stage {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
  }
  .branch-svg .trunk-label {
    font-family: var(--display);
    font-weight: 600;
    font-size: 21px;
    fill: var(--ink);
  }
  .branch-svg .leaf-label {
    font-family: var(--display);
    font-weight: 600;
    font-size: 17px;
    fill: var(--ink);
  }
  .branch-svg .leaf-sub {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.04em;
    fill: var(--ink-soft);
  }
  .branch-svg .tool-label {
    font-family: var(--display);
    font-weight: 600;
    font-size: 15.5px;
    fill: var(--ink);
  }
  .branch-svg .tool-sub {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.04em;
    fill: var(--ink-soft);
  }
  .branch-svg .source-label {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.02em;
    fill: #9A958A;
  }

  .branch-line {
    fill: none;
    stroke: var(--line);
    stroke-width: 1.6;
    stroke-dasharray: 4 520;
    stroke-dashoffset: 0;
    animation: draw 2.6s ease forwards;
  }
  .branch-line.gt { stroke: var(--gt); animation-delay: .15s; }
  .branch-line.cortex { stroke: var(--cortex); animation-delay: .3s; }
  .branch-line.ai { stroke: var(--ai); animation-delay: .45s; }

  .source-group {
    opacity: 0;
    animation: fadeUp .5s ease forwards;
    animation-delay: .55s;
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  .source-line, .stack-line {
    fill: none;
    stroke: var(--house-line);
    stroke-width: 1.5;
    stroke-dasharray: 5 5;
    opacity: 0;
    animation: fadeIn .3s linear forwards, flow 1s linear infinite;
  }
  .source-line { animation-delay: .75s, .75s; }
  .source-line.loop { animation-delay: 1.55s, 1.55s; }
  .stack-line.s1 { animation-delay: .95s, .95s; }
  .stack-line.s2 { animation-delay: 1.15s, 1.15s; }
  .stack-line.s3 { animation-delay: 1.55s, 1.55s; }

  @keyframes flow {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: -20; }
  }
  @keyframes draw {
    from { stroke-dasharray: 4 520; }
    to { stroke-dasharray: 520 520; }
  }
  .node {
    opacity: 0;
    animation: fadeUp .6s ease forwards;
  }
  .node.n1 { animation-delay: .55s; }
  .node.n2 { animation-delay: .7s; }
  .node.n3 { animation-delay: .75s; }
  .node.tool-node:nth-of-type(1) { animation-delay: 1s; }
  .node.tool-node:nth-of-type(2) { animation-delay: 1.4s; }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .trunk-node { opacity: 0; animation: fadeUp .5s ease forwards; }

  @media (prefers-reduced-motion: reduce) {
    .branch-line, .stack-line, .source-line { stroke-dasharray: 520 520 !important; animation: none !important; opacity: 1 !important; }
    .node, .trunk-node, .source-group { opacity: 1 !important; transform: none !important; animation: none !important; }
  }

  /* ---------- section shared ---------- */
  section { padding: 96px 0; }
  .section-head {
    max-width: 640px;
    margin-bottom: 56px;
  }
  .section-head .eyebrow { margin-bottom: 16px; }
  .section-head h2 {
    font-family: var(--display);
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 600;
    line-height: 1.12;
    margin: 0 0 16px;
  }
  .section-head p {
    color: var(--ink-soft);
    font-size: 17px;
    margin: 0;
  }

  .divider {
    border: none;
    border-top: 1px solid var(--line);
    margin: 0;
  }

  /* ---------- spreewind teaser ---------- */
  .event-teaser { padding: 24px 0 88px; }
  .event-card {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 48px;
    border-radius: 18px;
    color: var(--paper);
    background:
      linear-gradient(120deg, rgba(10, 22, 38, 0.94) 0%, rgba(10, 22, 38, 0.8) 100%),
      #0A1626 url("../img/spreewind2026/bg-night.jpg") center / cover no-repeat;
  }
  .event-card .eyebrow { margin-bottom: 16px; }
  .event-card h2 {
    font-family: var(--display);
    font-size: clamp(26px, 3.2vw, 38px);
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin: 0 0 16px;
  }
  .event-card h2 span { color: var(--house); }
  .event-copy p {
    color: rgba(247, 246, 243, 0.78);
    margin: 0 0 20px;
    max-width: 620px;
  }
  .event-tags {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .event-tags li {
    font-size: 13px;
    padding: 5px 12px;
    border: 1px solid rgba(247, 246, 243, 0.28);
    border-radius: 100px;
    color: rgba(247, 246, 243, 0.9);
  }
  .event-actions { display: flex; flex-wrap: wrap; gap: 12px; }
  .event-actions .btn-house { background: var(--house); color: #fff; }
  .event-actions .btn-house:hover { background: var(--house-accent); transform: translateY(-1px); }
  .btn-event-ghost {
    background: transparent;
    border-color: rgba(247, 246, 243, 0.4);
    color: var(--paper);
  }
  .btn-event-ghost:hover { border-color: var(--paper); transform: translateY(-1px); }
  .event-facts {
    margin: 0;
    border: 1px solid rgba(247, 246, 243, 0.18);
    border-radius: 12px;
  }
  .event-facts div { padding: 16px 20px; }
  .event-facts div + div { border-top: 1px solid rgba(247, 246, 243, 0.18); }
  .event-facts dt {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(247, 246, 243, 0.6);
    margin-bottom: 4px;
  }
  .event-facts dd { margin: 0; font-weight: 600; }
  @media (max-width: 880px) {
    .event-card { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; }
  }
  @media (max-width: 560px) {
    .event-teaser { padding: 16px 0 64px; }
    .event-card { padding: 28px 20px; }
  }

  /* ---------- marken cards ---------- */
  .brands {
    background: var(--paper-dim);
  }
  .brand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
  @media (max-width: 920px) {
    .brand-grid { grid-template-columns: 1fr; }
  }
  .brand-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 34px 30px 30px;
    display: flex;
    flex-direction: column;
    min-height: 360px;
    position: relative;
    transition: transform .2s ease, box-shadow .2s ease;
  }
  .brand-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px -22px rgba(22, 25, 28, 0.28);
  }
  .brand-chip {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    margin-bottom: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .brand-chip svg { width: 19px; height: 19px; }
  .brand-card.gt .brand-chip { background: var(--gt-tint); }
  .brand-card.cortex .brand-chip { background: var(--cortex-tint); }
  .brand-card.ai .brand-chip { background: var(--ai-tint); }
  .brand-card.gt .brand-chip svg { stroke: var(--gt); }
  .brand-card.cortex .brand-chip svg { stroke: var(--cortex); }
  .brand-card.ai .brand-chip svg { stroke: var(--ai); }

  .brand-kicker {
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
  }
  .brand-card.gt .brand-kicker { color: var(--gt); }
  .brand-card.cortex .brand-kicker { color: var(--cortex); }
  .brand-card.ai .brand-kicker { color: var(--ai); }

  .brand-card h3 {
    font-family: var(--display);
    font-size: 25px;
    font-weight: 600;
    margin: 0 0 12px;
  }
  .brand-card p {
    color: var(--ink-soft);
    font-size: 15px;
    margin: 0 0 24px;
    flex-grow: 1;
  }
  .brand-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
  }

  .james-badge {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--gt-tint);
    border: 1px solid rgba(47, 111, 78, 0.18);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 22px;
  }
  .james-badge-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--paper);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gt);
  }
  .james-badge-icon svg { width: 16px; height: 16px; }
  .james-badge-title {
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gt);
    margin-bottom: 4px;
  }
  .james-badge-text {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.4;
  }
  .brand-tag {
    font-family: var(--mono);
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 100px;
    border: 1px solid var(--line);
    color: var(--ink-soft);
  }
  .brand-link {
    font-weight: 600;
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
  }
  .brand-card.gt .brand-link { color: var(--gt); }
  .brand-card.cortex .brand-link { color: var(--cortex); }
  .brand-card.ai .brand-link { color: var(--ai); }
  .brand-link svg {
    width: 14px;
    height: 14px;
    transition: transform .15s ease;
  }
  .brand-card:hover .brand-link svg { transform: translate(3px, -3px); }

  /* ---------- custom dev ---------- */
  .custom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
  }
  @media (max-width: 880px) {
    .custom { grid-template-columns: 1fr; gap: 40px; }
  }
  .custom-copy .eyebrow { margin-bottom: 18px; }
  .custom-copy h2 {
    font-family: var(--display);
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 18px;
  }
  .custom-copy p {
    color: var(--ink-soft);
    font-size: 16.5px;
    margin: 0 0 22px;
  }
  .custom-list {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .custom-list li {
    display: flex;
    gap: 12px;
    font-size: 15.5px;
  }
  .custom-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--house);
    margin-top: 8px;
    flex-shrink: 0;
  }

  .ref-panel {
    background: var(--paper-dim);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 30px;
  }
  .ref-panel-label {
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 18px;
  }
  .ref-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .ref-item {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 16px 14px;
  }
  .ref-item .sector {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
  }
  .ref-item .detail {
    font-size: 12.5px;
    color: var(--ink-soft);
  }
  .ref-featured {
    grid-column: 1 / -1;
    border-left: 3px solid var(--house);
  }
  .ref-list {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 20px;
  }
  .ref-list li {
    position: relative;
    padding-left: 14px;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--ink-soft);
  }
  .ref-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--house);
  }
  .custom > * { min-width: 0; }
  @media (max-width: 560px) {
    .ref-panel { padding: 22px 18px; }
    .ref-grid { grid-template-columns: 1fr; }
    .ref-list { grid-template-columns: 1fr; }
  }
  .ref-note {
    margin-top: 18px;
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.5;
  }

  /* ---------- talks strip ---------- */
  .talks {
    background: var(--house);
    color: var(--paper);
  }
  .talks .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
  }
  .talks .eyebrow { color: var(--house-soft); }
  .talks .eyebrow::before { background: var(--house-soft); }
  .talks h2 {
    font-family: var(--display);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 600;
    margin: 0;
    max-width: 460px;
  }
  .talks .btn-ghost {
    border-color: rgba(247,246,243,0.4);
    color: var(--paper);
  }
  .talks .btn-ghost:hover { border-color: var(--paper); }

  /* ---------- about ---------- */
  .about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
  }
  @media (max-width: 880px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
  }
  .about-copy p {
    font-size: 16.5px;
    color: var(--ink-soft);
    margin: 0 0 18px;
  }
  .stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .stat {
    border-top: 1px solid var(--line);
    padding-top: 16px;
  }
  .stat .num {
    font-family: var(--display);
    font-size: 34px;
    font-weight: 600;
    color: var(--house);
  }
  .stat .label {
    font-size: 13.5px;
    color: var(--ink-soft);
    margin-top: 4px;
  }

  /* ---------- contact ---------- */
  .contact-panel {
    background: var(--ink);
    color: var(--paper);
    border-radius: 24px;
    padding: 64px;
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 56px;
  }
  @media (max-width: 880px) {
    .contact-panel { grid-template-columns: 1fr; padding: 42px 28px; }
  }
  .contact-panel h2 {
    font-family: var(--display);
    font-size: clamp(28px, 3.6vw, 38px);
    font-weight: 600;
    margin: 0 0 18px;
    line-height: 1.15;
  }
  .contact-panel > div > p {
    color: rgba(247,246,243,0.7);
    font-size: 16px;
    max-width: 420px;
    margin: 0 0 28px;
  }
  .route-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .route-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border: 1px solid rgba(247,246,243,0.18);
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 500;
    transition: border-color .15s ease, background .15s ease;
  }
  .route-list a:hover {
    border-color: rgba(247,246,243,0.5);
    background: rgba(247,246,243,0.06);
  }
  .route-list svg { width: 14px; height: 14px; opacity: 0.6; }

  .contact-direct {
    border-left: 1px solid rgba(247,246,243,0.18);
    padding-left: 40px;
  }
  @media (max-width: 880px) {
    .contact-direct { border-left: none; padding-left: 0; border-top: 1px solid rgba(247,246,243,0.18); padding-top: 32px; }
  }
  .contact-direct .label {
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(247,246,243,0.5);
    margin-bottom: 10px;
  }
  .contact-direct a.big {
    font-family: var(--display);
    font-size: 21px;
    font-weight: 600;
    display: block;
    margin-bottom: 28px;
  }
  .contact-direct .addr {
    font-size: 14px;
    color: rgba(247,246,243,0.65);
    line-height: 1.7;
  }

  /* ---------- contact form ---------- */
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  @media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
  }
  .form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
  }
  .form-field label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(247,246,243,0.55);
  }
  .form-field label span { text-transform: none; letter-spacing: 0; }
  .form-field input,
  .form-field select,
  .form-field textarea {
    width: 100%;
    padding: 11px 14px;
    background: rgba(247,246,243,0.06);
    border: 1px solid rgba(247,246,243,0.18);
    border-radius: 10px;
    color: var(--paper);
    font-family: var(--body);
    font-size: 15px;
    outline: none;
    transition: border-color .15s ease, background .15s ease;
  }
  .form-field select { appearance: none; cursor: pointer; }
  .form-field select option { color: var(--ink); }
  .form-field textarea { resize: vertical; }
  .form-field input::placeholder,
  .form-field textarea::placeholder { color: rgba(247,246,243,0.35); }
  .form-field input:focus,
  .form-field select:focus,
  .form-field textarea:focus {
    border-color: var(--house);
    background: rgba(247,246,243,0.09);
  }
  .form-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(247,246,243,0.65);
    cursor: pointer;
  }
  .form-consent input { margin-top: 3px; accent-color: var(--house); flex-shrink: 0; }
  .form-consent a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
  .btn-submit { background: var(--paper); color: var(--ink); }
  .btn-submit:hover { transform: translateY(-1px); background: var(--house-accent); color: var(--paper); }
  .btn-submit:disabled { opacity: .6; cursor: wait; transform: none; }

  /* ---------- thank-you dialog ---------- */
  .modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(22,25,28,0.55);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
  }
  .modal-overlay.is-visible { opacity: 1; pointer-events: all; }
  .modal-box {
    width: 90%;
    max-width: 460px;
    padding: 44px 40px;
    background: var(--paper);
    border-radius: 18px;
    text-align: center;
    transform: translateY(16px);
    transition: transform .25s ease;
  }
  .modal-overlay.is-visible .modal-box { transform: translateY(0); }
  .modal-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: var(--house-soft);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
  }
  .modal-box h3 {
    font-family: var(--display);
    font-size: 23px;
    font-weight: 600;
    margin: 0 0 12px;
  }
  .modal-box p {
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.7;
    margin: 0 0 28px;
  }

  /* ---------- footer ---------- */
  footer {
    padding: 48px 0 60px;
  }
  .footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 24px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 24px;
  }
  .footer-mark {
    font-family: var(--display);
    font-weight: 600;
    font-size: 18px;
  }
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    font-size: 13.5px;
    color: var(--ink-soft);
  }
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12.5px;
    color: var(--ink-soft);
  }


.build-with-us {
  margin-top: 32px;
  padding: 28px 32px;
  background: var(--house);
  border: none;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  color: var(--paper);
}
.build-with-us-title {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--paper);
}
.build-with-us-text p {
  color: rgba(247,246,243,0.75);
  font-size: 15px;
  margin: 0;
}
.build-with-us .build-with-us-link {
  white-space: nowrap;
  flex-shrink: 0;
  color: var(--paper) !important;
}
.build-with-us .build-with-us-link:hover { opacity: 0.85; }
.build-with-us:hover .build-with-us-link svg { transform: translate(3px, -3px); }


/* ---------- legal pages ---------- */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 32px 120px;
}
.legal-page h1 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.15;
}
.legal-page .legal-meta {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 56px;
}
.legal-page h2 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  margin: 48px 0 12px;
}
.legal-page h3 {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  margin: 28px 0 8px;
  color: var(--ink-soft);
}
.legal-page p, .legal-page li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.legal-page a {
  color: var(--house);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-page .legal-box {
  margin: 28px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--house);
  background: var(--paper-dim);
  border-radius: 0 12px 12px 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}
.legal-page ul { padding-left: 20px; margin: 0 0 14px; }
.legal-page hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 48px 0;
}
