/* index.html: inline-1 */
:root {
      --bg: #f7fbff;
      --bg-soft: rgba(247, 251, 255, 0.72);
      --surface: rgba(250, 253, 255, 0.78);
      --surface-strong: rgba(251, 254, 255, 0.90);
      --text: #0f1724;
      --muted: #66768a;
      --line: rgba(15, 23, 36, 0.10);
      --line-strong: rgba(15, 23, 36, 0.18);
      --accent: #2b507a;
      --accent-2: #8fb2d7;
      --accent-soft: rgba(43, 80, 122, 0.08);
      --shadow: 0 24px 80px rgba(19, 44, 81, 0.10);
      --container: min(1180px, calc(100vw - 40px));
      --headline: clamp(2.25rem, 4.8vw, 4.9rem);
      --title: clamp(1.18rem, 1.9vw, 1.8rem);
      --section-gap: clamp(52px, 7vw, 92px);
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: "Inter", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
      color: var(--text);
      background: transparent;
      line-height: 1.75;
      letter-spacing: 0.02em;
      font-size: 0.94rem;
      overflow-x: hidden;
    }

    a { color: inherit; text-decoration: none; }
    img, svg, video { display: block; max-width: 100%; }

    .video-stage {
      position: fixed;
      inset: 0;
      z-index: 0;
      overflow: hidden;
      pointer-events: none;
      background: linear-gradient(180deg, #eaf3ff 0%, #f7fbff 100%);
    }


    .video-bg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.96;
      filter: saturate(0.94) contrast(1.03) brightness(0.97);
    }

    .video-bg.sp { display: none; }

    .video-overlay {
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg, rgba(252,254,255,0.18) 0%, rgba(252,254,255,0.04) 28%, rgba(252,254,255,0.02) 56%, rgba(252,254,255,0.34) 100%),
        radial-gradient(circle at 18% 16%, rgba(255,255,255,0.12), transparent 24%),
        radial-gradient(circle at 84% 20%, rgba(150,185,220,0.03), transparent 18%);
    }

    .video-vignette {
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, rgba(252,254,255,0.10), rgba(252,254,255,0.01) 24%, rgba(252,254,255,0.01) 76%, rgba(252,254,255,0.10)),
        linear-gradient(180deg, rgba(252,254,255,0.03), rgba(252,254,255,0.00) 40%, rgba(252,254,255,0.03) 72%, rgba(252,254,255,0.14));
      pointer-events: none;
    }

    .container {
      width: var(--container);
      margin: 0 auto;
      position: relative;
      z-index: 2;
    }

    .site-header {
      position: fixed;
      inset: 0 0 auto 0;
      z-index: 40;
      transition: background 0.28s ease, backdrop-filter 0.28s ease, border-color 0.28s ease;
    }

    .site-header.scrolled {
      background: rgba(247,251,255,0.70);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(15,23,36,0.06);
    }

    .header-inner {
      min-height: 82px;
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: 18px;
      position: relative;
    }

    .menu-button,
    .header-cta {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      font-size: 0.78rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }

    .menu-button {
      display: none;
      justify-self: start;
      border: none;
      background: transparent;
      color: var(--muted);
      padding: 0;
      cursor: pointer;
    }

    .menu-lines {
      width: 20px;
      display: grid;
      gap: 6px;
    }

    .menu-lines span {
      display: block;
      height: 1px;
      background: var(--text);
      border-radius: 999px;
      transition: transform 0.28s ease, opacity 0.28s ease;
      transform-origin: center;
    }

    .menu-button.active .menu-lines span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-button.active .menu-lines span:nth-child(2) { opacity: 0; }
    .menu-button.active .menu-lines span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .logo-link {
      grid-column: 1;
      justify-self: start;
      width: min(152px, 34vw);
    }

    .logo-svg {
      overflow: visible;
    }

    .logo-svg .name,
    .logo-svg .roman {
      opacity: 0;
      transform: translateY(5px);
      transform-origin: center;
      animation: logoReveal 0.9s cubic-bezier(.22,.61,.36,1) forwards;
    }

    .logo-svg .name {
      fill: var(--text);
      font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
      font-weight: 600;
      letter-spacing: 0.08em;
      stroke: rgba(15,23,36,0.12);
      stroke-width: 0.22;
      paint-order: stroke fill;
      filter: url(#ink-soft);
      animation-delay: 0.72s;
    }

    .logo-svg .roman {
      fill: #73839a;
      letter-spacing: 0.42em;
      animation-delay: 0.92s;
    }

    .logo-svg .line {
      fill: none;
      stroke: rgba(43,80,122,0.92);
      stroke-width: 1.7;
      stroke-linecap: round;
      stroke-dasharray: 240;
      stroke-dashoffset: 240;
      animation: drawLine 1.6s 0.2s ease forwards;
    }

    @keyframes drawLine { to { stroke-dashoffset: 0; } }

    @keyframes logoReveal {
      0% {
        opacity: 0;
        transform: translateY(5px);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .header-cta {
      grid-column: 3;
      justify-self: end;
      min-height: 46px;
      padding: 0 18px;
      border-radius: 999px;
      border: 1px solid rgba(15,23,36,0.08);
      color: var(--text);
      background: rgba(255,255,255,0.66);
      box-shadow: 0 8px 24px rgba(43,80,122,0.05);
      transition: transform 0.28s ease, background 0.28s ease;
    }

    .header-cta:hover { transform: translateY(-1px); background: rgba(255,255,255,0.86); }

    .nav-panel {
      position: fixed;
      top: 108px;
      right: max(24px, calc((100vw - var(--container)) / 2));
      width: auto;
      padding: 24px 18px 52px;
      border-radius: 28px;
      background: transparent;
      border: 1px solid transparent;
      border-bottom-color: transparent;
      box-shadow: none;
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
      opacity: 1;
      pointer-events: auto;
      transform: translateX(0);
      z-index: 35;
      overflow: visible;
      isolation: isolate;
      transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.34s cubic-bezier(.22,.61,.36,1);
    }
    .nav-panel::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      background:
        linear-gradient(180deg, rgba(248,252,255,0.18) 0%, rgba(244,249,255,0.12) 44%, rgba(244,249,255,0.04) 78%, rgba(244,249,255,0.00) 100%),
        linear-gradient(90deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
      border: 1px solid rgba(255,255,255,0.18);
      border-bottom-color: transparent;
      box-shadow: 0 18px 50px rgba(19,44,81,0.05);
      backdrop-filter: blur(18px) saturate(1.08);
      -webkit-backdrop-filter: blur(18px) saturate(1.08);
      mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 62%, rgba(0,0,0,0.32) 86%, rgba(0,0,0,0) 100%);
      -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 62%, rgba(0,0,0,0.32) 86%, rgba(0,0,0,0) 100%);
      pointer-events: none;
      z-index: 0;
      opacity: 0;
      transition: opacity 0.28s ease;
    }
    .nav-panel::after {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      background:
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02) 38%, rgba(143,178,215,0.02) 68%, rgba(143,178,215,0.00) 100%),
        linear-gradient(90deg, rgba(255,255,255,0.06), transparent 20%, transparent 80%, rgba(255,255,255,0.04));
      mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 62%, rgba(0,0,0,0.32) 86%, rgba(0,0,0,0) 100%);
      -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 62%, rgba(0,0,0,0.32) 86%, rgba(0,0,0,0) 100%);
      pointer-events: none;
      z-index: 0;
      opacity: 0;
      transition: opacity 0.28s ease;
    }
    .nav-panel.scrolled::before,
    .nav-panel.scrolled::after {
      opacity: 1;
    }
    .nav-panel.outside {
      transform: translateX(86px);
    }
    .nav-panel.open { opacity: 1; pointer-events: auto; transform: none; }
    .nav-panel nav { position: relative; z-index: 1; display: flex; gap: 24px; align-items: flex-start; justify-content: flex-start; }
    .nav-panel a {
      position: relative;
      color: rgba(15, 23, 36, 0.64);
      border-bottom: none;
      padding: 0;
      font-size: 0.78rem;
      letter-spacing: 0.08em;
      line-height: 1.35;
      text-align: right;
      text-transform: none;
      writing-mode: vertical-rl;
      text-orientation: mixed;
      transition: color 0.24s ease, transform 0.24s ease;
    }
    .nav-panel a.is-current::before {
      content: "";
      position: absolute;
      top: -22px;
      left: 50%;
      width: 10px;
      height: 10px;
      border-left: 1.6px solid rgba(43,80,122,0.92);
      border-bottom: 1.6px solid rgba(43,80,122,0.92);
      transform: translateX(-50%) rotate(-45deg);
      border-radius: 0.5px;
      opacity: 0.96;
    }
    .nav-panel a:hover {
      color: var(--text);
      transform: translateY(2px);
    }

    .hero {
      min-height: 100svh;
      display: flex;
      align-items: center;
      padding: 126px 0 72px;
      position: relative;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.1fr);
      gap: 28px;
      align-items: end;
    }

    .hero-copy {
      max-width: 820px;
    }

    .hero-kicker {
      color: var(--muted);
      font-size: 0.78rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      margin-bottom: 16px;
    }

    .hero h1 {
      margin: 0;
      font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
      font-size: var(--headline);
      line-height: 1.12;
      font-weight: 500;
      letter-spacing: 0.02em;
    }

    .hero-summary {
      margin: 18px 0 0;
      max-width: 31em;
      color: #516175;
      font-size: clamp(0.88rem, 1vw, 0.96rem);
    }

    .hero-actions {
      margin-top: 30px;
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .primary,
    .secondary {
      min-height: 46px;
      padding: 0 20px;
      font-size: 0.88rem;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.28s ease, background 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
      white-space: nowrap;
    }

    .primary {
      color: #fff;
      background: linear-gradient(135deg, #284d78 0%, #3d6696 100%);
      box-shadow: 0 18px 34px rgba(43,80,122,0.18);
    }

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

    .secondary {
      border: 1px solid rgba(15,23,36,0.10);
      background: rgba(255,255,255,0.56);
      color: var(--text);
    }

    .secondary:hover { background: rgba(255,255,255,0.78); }

    .hero-side {
      justify-self: end;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 20px;
      min-height: 420px;
      justify-content: space-between;
    }

    .vertical-copy {
      writing-mode: vertical-rl;
      text-orientation: mixed;
      font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
      font-size: clamp(0.86rem, 1.1vw, 1rem);
      letter-spacing: 0.14em;
      color: rgba(15,23,36,0.86);
    }

    .scroll-indicator {
      display: inline-flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
      color: var(--muted);
      font-size: 0.72rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }

    .scroll-line {
      width: 1px;
      height: 120px;
      background: linear-gradient(180deg, rgba(43,80,122,0.08), rgba(43,80,122,0.48), rgba(43,80,122,0.08));
      position: relative;
      overflow: hidden;
    }

    .scroll-line::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: -40px;
      height: 36px;
      background: linear-gradient(180deg, rgba(255,255,255,0.0), rgba(255,255,255,0.82));
      animation: slideDown 2.2s ease-in-out infinite;
    }

    @keyframes slideDown {
      0% { transform: translateY(-40px); opacity: 0; }
      30% { opacity: 1; }
      100% { transform: translateY(126px); opacity: 0; }
    }

    .hero-fade {
      position: absolute;
      inset: auto 0 0 0;
      height: 28vh;
      background: linear-gradient(180deg, rgba(247,251,255,0.0), rgba(247,251,255,0.62));
      pointer-events: none;
    }

    .content-wrap {
      position: relative;
      z-index: 2;
      padding-bottom: 60px;
    }

    .section {
      padding: var(--section-gap) 0 0;
      position: relative;
    }

    .section-block {
      border-radius: 34px;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.18);
      background:
        linear-gradient(180deg, rgba(248,252,255,0.14), rgba(244,249,255,0.09)),
        linear-gradient(90deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
      backdrop-filter: blur(18px) saturate(1.08);
      -webkit-backdrop-filter: blur(18px) saturate(1.08);
      box-shadow: 0 18px 50px rgba(19,44,81,0.05);
      padding: clamp(24px, 4vw, 42px);
      position: relative;
      isolation: isolate;
    }

    .section-block::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01) 36%, rgba(143,178,215,0.02) 100%),
        linear-gradient(90deg, rgba(255,255,255,0.06), transparent 20%, transparent 80%, rgba(255,255,255,0.04));
      pointer-events: none;
      z-index: -1;
    }

    .section-head {
      display: grid;
      grid-template-columns: 1fr 360px;
      gap: 30px;
      align-items: end;
      margin-bottom: 34px;
    }

    .section-head small {
      display: inline-block;
      color: var(--muted);
      font-size: 0.76rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      margin-bottom: 14px;
    }

    .section-head h2 {
      margin: 0;
      font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
      font-size: var(--title);
      line-height: 1.2;
      font-weight: 500;
      letter-spacing: 0.03em;
    }

    .section-head p { margin: 0; color: var(--muted); }

    .brush {
      width: 112px;
      margin-top: 16px;
      opacity: 0;
      transform: translateY(5px);
      animation: logoReveal 0.82s cubic-bezier(.22,.61,.36,1) 0.08s forwards;
    }

    .brush path {
      fill: none;
      stroke: rgba(43,80,122,0.76);
      stroke-width: 1.5;
      stroke-linecap: round;
      stroke-dasharray: 220;
      stroke-dashoffset: 220;
      animation: drawLine 1.6s 0.28s ease forwards;
    }

    .feature-media path[fill="none"],
    .about-art path[fill="none"] {
      stroke-dasharray: 320;
      stroke-dashoffset: 320;
      animation: drawLine 1.9s 0.45s ease forwards;
    }

    .services {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
      align-items: stretch;
    }

    .service {
      padding: 24px 22px;
      border-radius: 24px;
      background: rgba(250,253,255,0.18);
      border: 1px solid rgba(255,255,255,0.16);
      min-height: 260px;
      height: 100%;
      display: flex;
      flex-direction: column;
      gap: 14px;
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
    }

    .service-no {
      color: #7c8ea6;
      font-size: 1.2rem; /*0.76*/
      letter-spacing: 0.18em;
      text-transform: uppercase;
      margin-bottom: 5px;
    }

    .service h3,
    .feature-copy h3,
    .side-card h3,
    .about-copy h3,
    .contact-copy h3 {
      margin: 0 0 6px;
      font-weight: 500;
    }

    .service h3 { font-size: 1.04rem; }

    .service p { flex: 1; }

    .service p { flex: 1; }

    .service p { flex: 1; }
    .service p,
    .feature-copy p,
    .side-card p,
    .about-copy p,
    .contact-copy p { margin: 0; color: var(--muted); }

    .feature-grid {
      display: grid;
      grid-template-columns: 1.12fr 0.88fr;
      gap: 14px;
      align-items: stretch;
    }

    .feature-card,
    .side-card,
    .about-card,
    .contact-card {
      border-radius: 28px;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.18);
      background: rgba(250,253,255,0.22);
      box-shadow: 0 14px 34px rgba(19,44,81,0.035);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }

    .feature-card {
      display: grid;
      grid-template-columns: minmax(0, 0.9fr) minmax(240px, 0.7fr);
      min-height: 420px;
    }

    .feature-copy { padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; }
    .feature-copy h3 {
      font-size: clamp(1.2rem, 1.7vw, 1.7rem);
      line-height: 1.4;
      max-width: 15em;
    }

    .feature-media {
      position: relative;
      min-height: 100%;
      background:
        linear-gradient(180deg, rgba(255,255,255,0.26), rgba(255,255,255,0.06)),
        radial-gradient(circle at 22% 20%, rgba(255,255,255,0.40), transparent 18%),
        linear-gradient(135deg, rgba(143,178,215,0.18), rgba(43,80,122,0.08));
    }

    .feature-media svg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
    }

    .side-stack { display: grid; gap: 14px; }
    .side-card { padding: 26px 22px; min-height: 203px; display: flex; flex-direction: column; justify-content: space-between; }
    .side-card h3 { font-size: 1.06rem; }

    .about-grid {
      display: grid;
      grid-template-columns: 0.92fr 1.08fr;
      gap: 14px;
    }

    .about-card { min-height: 420px; }
    .about-art {
      display: grid;
      place-items: center;
      background:
        linear-gradient(180deg, rgba(255,255,255,0.26), rgba(255,255,255,0.00)),
        radial-gradient(circle at 18% 18%, rgba(255,255,255,0.42), transparent 20%),
        linear-gradient(135deg, rgba(143,178,215,0.18), rgba(43,80,122,0.08));
    }

    .about-art svg { width: min(88%, 420px); height: auto; }
    .about-copy { padding: 32px 30px; }
    .about-copy h3 {
      font-size: clamp(1.2rem, 1.8vw, 1.8rem);
      font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
      line-height: 1.5;
    }

    .about-list { display: grid; gap: 14px; margin-top: 24px; }
    .about-item {
      display: grid;
      grid-template-columns: 110px 1fr;
      gap: 12px;
      padding-top: 14px;
      border-top: 1px solid rgba(15,23,36,0.08);
    }

    .about-item span {
      color: #7c8ea6;
      font-size: 0.82rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

    .contact { padding-bottom: 70px; }
    .contact-card {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 24px;
      align-items: center;
      padding: 34px 32px;
    }

    .contact-copy h3 {
      font-size: clamp(1.2rem, 1.8vw, 1.8rem);
      font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
      line-height: 1.5;
    }

    .contact-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

    .site-footer {
      padding: 14px 0 28px;
      color: var(--muted);
      font-size: 0.76rem;
    }

    .footer-inner {
      border-top: 1px solid rgba(15,23,36,0.08);
      padding-top: 16px;
      display: flex;
      justify-content: space-between;
      gap: 16px;
    }

    .reveal {
      opacity: 0;
      transform: translateY(8px) scale(0.996);
      filter: blur(8px);
      transition:
        opacity 0.88s ease,
        transform 0.88s cubic-bezier(.22,.61,.36,1),
        filter 0.98s ease;
      will-change: opacity, transform, filter;
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0) scale(1);
      filter: blur(0);
    }

    @media (max-width: 1100px) {
      :root { --container: min(1180px, calc(100vw - 128px)); }
      .hero-grid,
      .section-head,
      .feature-grid,
      .about-grid,
      .contact-card,
      .feature-card {
        grid-template-columns: 1fr;
      }
      .nav-panel {
        top: 108px;
        right: 18px;
        transform: none;
      }
      .nav-panel.open { transform: none; }
      .nav-panel.outside { transform: none; }
      .nav-panel nav {
        display: flex;
        gap: 18px;
        align-items: flex-start;
      }
      .nav-panel a {
        writing-mode: vertical-rl;
        text-orientation: mixed;
        letter-spacing: 0.08em;
        line-height: 1.35;
        font-size: 0.72rem;
        text-align: right;
      }
      .hero {
        min-height: auto;
        padding-top: 128px;
      }
      .hero-side {
        justify-self: start;
        min-height: auto;
        flex-direction: row;
        gap: 24px;
        align-items: flex-end;
      }
      .vertical-copy { writing-mode: horizontal-tb; letter-spacing: 0.08em; }
      .scroll-line { height: 64px; }
      .services { grid-template-columns: 1fr; }
    }

    @media (max-width: 760px) {
      :root { --container: min(1180px, calc(100vw - 40px)); }
      .video-bg.pc { display: none; }
      .video-bg.sp { display: block; }
      .video-overlay {
        background:
          linear-gradient(180deg, rgba(252,254,255,0.16) 0%, rgba(252,254,255,0.05) 34%, rgba(252,254,255,0.02) 58%, rgba(252,254,255,0.42) 100%),
          radial-gradient(circle at 50% 12%, rgba(255,255,255,0.10), transparent 20%);
      }
      .header-inner { grid-template-columns: auto 1fr auto; min-height: 74px; }
      .menu-button { display: inline-flex; grid-column: 1; }
      .menu-button .label,
      .header-cta .label { display: none; }
      .logo-link { grid-column: 2; justify-self: center; width: min(132px, 40vw); }
      .header-cta { grid-column: 3; }
      .nav-panel {
        top: 78px;
        left: 16px;
        right: 16px;
        width: auto;
        padding: 22px;
        border-radius: 24px;
        background: rgba(251,254,255,0.88);
        border: 1px solid rgba(15,23,36,0.07);
        box-shadow: var(--shadow);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
      }
      .nav-panel.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
      .nav-panel.outside { transform: translateY(-12px); }
      .nav-panel::before,
      .nav-panel::after { display: none; }
      .nav-panel a.is-current::before { display: none; }
      .nav-panel nav { gap: 10px; justify-items: stretch; display: grid; }
      .nav-panel a {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        border-bottom: 1px solid rgba(15,23,36,0.06);
        padding: 10px 0;
        font-size: 0.96rem;
        letter-spacing: 0.04em;
        line-height: 1.6;
        text-transform: none;
      }
      .hero { padding: 100px 0 46px; }
      .hero h1 { font-size: clamp(2.2rem, 12vw, 4rem); }
      .hero-summary { max-width: none; }
      .hero-actions,
      .contact-actions { flex-direction: column; align-items: stretch; }
      .primary,
      .secondary,
      .header-cta { width: 100%; justify-content: center; }
      .section { padding-top: 82px; }
      .section-block,
      .feature-card,
      .side-card,
      .about-card,
      .contact-card { border-radius: 24px; }
      .feature-copy,
      .side-card,
      .about-copy,
      .contact-card,
      .service { padding-left: 20px; padding-right: 20px; }
      .feature-card,
      .about-card { min-height: auto; }
      .about-item { grid-template-columns: 1fr; gap: 6px; }
      .footer-inner { flex-direction: column; }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { animation: none !important; transition: none !important; }
      .reveal { opacity: 1; transform: none; }
      .video-bg { animation: none !important; }
    }
  
/* GS_VISUAL_TONE_REFINEMENT_START */
:root {
  --text: #2d3642;
  --muted: #687586;
  --line: rgba(45, 54, 66, 0.10);
  --line-strong: rgba(45, 54, 66, 0.16);
  --headline: clamp(2.05rem, 4.6vw, 4.75rem);
  --title: clamp(1.08rem, 1.65vw, 1.58rem);
}

body {
  color: var(--text);
  font-size: 0.9rem;
  letter-spacing: 0.045em;
}

.logo-svg .name {
  fill: var(--text);
  stroke: rgba(45,54,66,0.10);
}

.menu-lines span {
  background: var(--text);
}

.header-cta,
.primary,
.secondary {
  font-size: 0.84rem;
  letter-spacing: 0.055em;
}

.nav-panel a {
  color: rgba(45, 54, 66, 0.62);
  font-size: 0.74rem;
  letter-spacing: 0.075em;
}

.nav-panel a:hover,
.nav-panel.has-current-page a.is-current,
.nav-panel a.is-current {
  color: var(--text);
}

.hero h1,
.page-hero h1,
.section-head h2,
.about-statement,
.feature-copy h3,
.contact-copy h3 {
  color: var(--text);
  letter-spacing: 0.055em;
}

.hero-summary,
.page-lead,
.section-head p,
.service p,
.feature-copy p,
.about-copy p,
.side-card p,
.contact-copy p,
.card p,
.card li,
.section-block li,
.flow li div {
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.045em;
}

.hero-kicker,
.page-kicker,
.section-head small,
.number,
.flow strong,
.scroll-indicator {
  color: #778392;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
}

.service h3,
.card h3,
.side-card h3 {
  color: var(--text);
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.vertical-copy {
  color: rgba(45,54,66,0.78);
  font-size: clamp(0.8rem, 0.95vw, 0.92rem);
  letter-spacing: 0.18em;
}

.primary {
  color: #f8fbff;
}

.secondary {
  color: var(--text);
}

@media (max-width: 760px) {
  body {
    font-size: 0.88rem;
    letter-spacing: 0.04em;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2rem, 10.2vw, 3.45rem);
    letter-spacing: 0.045em;
  }

  .hero-summary,
  .page-lead,
  .section-head p,
  .service p,
  .feature-copy p,
  .about-copy p,
  .side-card p,
  .contact-copy p,
  .card p,
  .card li,
  .section-block li,
  .flow li div {
    font-size: 0.86rem;
  }

  .nav-panel a {
    font-size: 0.9rem;
    letter-spacing: 0.055em;
  }
}
/* GS_VISUAL_TONE_REFINEMENT_END */
  
/* GS_MOBILE_SPACING_REFINEMENT_START */
@media (max-width: 760px) {
  body {
    letter-spacing: 0.055em;
  }

  .hero {
    padding-top: 132px;
  }

  .page-hero {
    padding-top: 132px;
  }

  .hero h1,
  .page-hero h1,
  .section-head h2,
  .feature-copy h3,
  .contact-copy h3,
  .about-statement {
    letter-spacing: 0.065em;
  }

  .hero-summary,
  .page-lead,
  .section-head p,
  .service p,
  .feature-copy p,
  .about-copy p,
  .side-card p,
  .contact-copy p,
  .card p,
  .card li,
  .section-block li,
  .flow li div {
    letter-spacing: 0.06em;
  }

  .hero-kicker,
  .page-kicker,
  .section-head small,
  .number,
  .flow strong,
  .scroll-indicator {
    letter-spacing: 0.28em;
  }

  .primary,
  .secondary,
  .header-cta,
  .contact-form input,
  .contact-form textarea {
    letter-spacing: 0.065em;
  }
}
/* GS_MOBILE_SPACING_REFINEMENT_END */
  
/* GS_HIDE_DUPLICATE_CTA_START */
.section.is-hidden {
  display: none !important;
}

@media (max-width: 760px) {
  .primary,
  .secondary {
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
    line-height: 1.55;
    padding-top: 11px;
    padding-bottom: 11px;
  }
}
/* GS_HIDE_DUPLICATE_CTA_END */

/* index.html: gs-nav-menu-desktop-fix */
/* GS_NAV_MENU_DESKTOP_FIX_START */
.nav-current-indicator {
  display: none;
}

@media (min-width: 1101px) {
  .nav-panel {
    top: 108px;
    right: max(24px, calc((100vw - var(--container)) / 2));
    width: auto;
    padding: 20px 14px 44px;
    border-radius: 28px;
    transform: translateX(0);
    overflow: visible;
    isolation: isolate;
  }

  .nav-panel nav {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .nav-panel a {
    position: relative;
    display: inline-block;
    padding: 0;
    border: 0;
    color: rgba(15, 23, 36, 0.64);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    line-height: 1.32;
    text-align: left;
    text-transform: none;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transition: color 0.24s ease, transform 0.24s ease;
  }

  .nav-panel a:hover {
    color: var(--text);
    transform: translateY(2px);
  }

  .nav-panel.has-current-page .nav-current-indicator {
    position: relative;
    z-index: 1;
    display: block;
    width: 18px;
    height: 14px;
    margin: 0 0 16px 2px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 14'%3E%3Cpath d='M2 3 C 4.3 5.4, 6.4 7.8, 9 11 C 11.4 7.8, 13.6 5.4, 16 3' fill='none' stroke='%232b507a' stroke-opacity='0.92' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    filter: drop-shadow(0 0 0.35px rgba(43,80,122,0.12));
    opacity: 0.98;
  }

  .nav-panel.has-current-page a.is-current {
    color: var(--text);
  }

  .nav-panel a.is-current::before {
    content: none;
  }

  .nav-panel.outside {
    transform: translateX(clamp(92px, calc((100vw - var(--container)) / 2 + 56px), 220px));
  }
}

@media (max-width: 1100px) {
  .nav-panel.has-current-page .nav-current-indicator {
    display: none;
  }

  .nav-panel.outside {
    transform: none;
  }
}
/* GS_NAV_MENU_DESKTOP_FIX_END */



/* MOV2_LAYOUT_REFINEMENT_START */
.hero h1 {
  max-width: 10.8em;
  text-wrap: balance;
}

#services .section-head {
  margin-bottom: 28px;
}

#services .services {
  margin-top: 0;
}

@media (min-width: 1101px) {
  #services .service {
    min-height: 270px;
  }
}

@media (max-width: 760px) {
  .hero h1,
  .page-hero h1 {
    font-size: clamp(1.9rem, 9.2vw, 3.2rem);
    line-height: 1.18;
  }

  #services .section-head {
    margin-bottom: 22px;
  }
}
/* MOV2_LAYOUT_REFINEMENT_END */
