/*
Theme Name: Ganyo Source Home
Version: 1.0.0
Text Domain: ganyo-source-home
*/

@font-face {
  font-family: "Lexend";
  src: url("../fonts/Lexend.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}

:root {
  --ganyo-old-blue: #155ba8;
  --ganyo-old-deep-blue: #0b3158;
  --ganyo-old-yellow: #f6b418;
  --ganyo-old-surface: #f1f3f6;
  --ganyo-old-light-blue: #eef6ff;
  --ganyo-old-border: #d8e1ea;
  --ganyo-old-ink: #26384a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--ganyo-old-ink);
  background: #fff;
  font-family: "Lexend", Arial, Helvetica;
}
/* WordPress already reserves the Admin Bar height on html; do not offset this relative header twice. */
body.admin-bar .ganyo-old-header { top: 0; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.ganyo-old-home,
.ganyo-old-home * { box-sizing: border-box; }
.ganyo-old-home {
  width: 100%;
  min-width: 0;
  overflow-x: clip;
  color: var(--ganyo-old-ink);
  background: #fff;
  font-family: "Lexend", Arial, Helvetica;
}
.ganyo-old-home h1,
.ganyo-old-home h2,
.ganyo-old-home h3,
.ganyo-old-home p { overflow-wrap: anywhere; }
.ganyo-old-wrap {
  width: min(1180px, calc(100% - 52px));
  margin-right: auto;
  margin-left: auto;
}
.ganyo-old-section { padding: 80px 0; }
.ganyo-old-section h2 {
  margin: 0 0 38px;
  color: var(--ganyo-old-blue);
  font-size: clamp(30px, 2.8vw, 40px);
  font-weight: 800;
  line-height: 1.15;
}
.ganyo-old-btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 26px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
.ganyo-old-btn-yellow { color: #101b27; background: var(--ganyo-old-yellow); }
.ganyo-old-btn-light { color: var(--ganyo-old-blue); border-color: var(--ganyo-old-blue); background: #fff; }

/* Header */
.ganyo-old-header {
  position: relative;
  z-index: 100;
  width: 100%;
  border-top: 3px solid var(--ganyo-old-blue);
  background: #fff;
  box-shadow: 0 2px 10px rgb(12 55 100 / 7%);
}
.ganyo-old-header-inner {
  display: flex;
  width: min(1180px, calc(100% - 36px));
  min-height: 82px;
  margin: auto;
  align-items: center;
  gap: 22px;
}
.ganyo-old-logo {
  display: block;
  flex: 0 0 112px;
}
.ganyo-old-logo img {
  display: block;
  width: 104px;
  height: 70px;
  object-fit: contain;
}
.ganyo-old-nav { flex: 1 1 auto; min-width: 0; }
.ganyo-old-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ganyo-old-nav-list > li { position: relative; }
.ganyo-old-nav a {
  display: block;
  padding: 31px 16px 29px;
  color: #141414;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.ganyo-old-nav-list > li > a::after {
  position: absolute;
  right: 16px;
  bottom: 0;
  left: 16px;
  height: 2px;
  content: "";
  background: var(--ganyo-old-blue);
  opacity: 0;
}
.ganyo-old-nav-list > li > a.is-active,
.ganyo-old-nav-list > li > a:hover { color: var(--ganyo-old-blue); }
.ganyo-old-nav-list > li > a.is-active::after,
.ganyo-old-nav-list > li > a:hover::after { opacity: 1; }
.ganyo-old-caret { width: 9px; height: 9px; margin-left: 4px; }
.ganyo-old-nav .has-submenu > ul {
  position: absolute;
  top: 100%;
  left: 0;
  width: 286px;
  margin: 0;
  padding: 10px 0;
  visibility: hidden;
  opacity: 0;
  list-style: none;
  border: 1px solid var(--ganyo-old-border);
  background: #fff;
  box-shadow: 0 12px 26px rgb(16 54 92 / 15%);
}
.ganyo-old-nav .has-submenu:hover > ul,
.ganyo-old-nav .has-submenu:focus-within > ul { visibility: visible; opacity: 1; }
.ganyo-old-nav .has-submenu li a { padding: 10px 16px; font-size: 13px; }
.ganyo-old-nav .has-submenu li a:hover { background: var(--ganyo-old-light-blue); }
.ganyo-old-tools { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; }
.ganyo-old-search-btn,
.ganyo-old-burger {
  display: grid;
  width: 28px;
  height: 28px;
  padding: 4px;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.ganyo-old-search-btn svg,
.ganyo-old-burger svg { width: 20px; height: 20px; }
.ganyo-old-burger-close { display: none; }
.ganyo-old-gtranslate { display: flex; align-items: center; }
.ganyo-old-gtranslate-shortcode { display: none; }
.ganyo-old-flag-fallback { display: flex; gap: 3px; }
.ganyo-old-flag-fallback a { display: grid; width: 19px; height: 16px; place-items: center; font-size: 13px; }
.ganyo-old-off-canvas {
  position: fixed;
  z-index: 200;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
}
.ganyo-old-off-canvas.is-open { visibility: visible; pointer-events: auto; }
.ganyo-old-off-canvas-overlay { position: absolute; inset: 0; background: rgb(0 0 0 / 70%); }
.ganyo-old-off-canvas-panel {
  position: relative;
  z-index: 1;
  padding: 28px max(26px, calc((100vw - 1180px) / 2));
  background: #fff;
}
.ganyo-old-off-canvas-close { position: absolute; top: 12px; right: 18px; border: 0; background: transparent; }
.ganyo-old-off-canvas-close svg { width: 16px; height: 16px; }
.ganyo-old-search-form { width: min(1180px, 100%); margin: auto; }
.ganyo-old-search-form-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ganyo-old-search-form-row { display: flex; gap: 10px; }
.ganyo-old-search-form input { flex: 1; min-width: 0; padding: 14px; border: 0; border-bottom: 1px solid #aebdcb; }
.ganyo-old-search-form-submit { padding: 12px 28px; border: 0; color: #fff; background: var(--ganyo-old-blue); }
.ganyo-old-burger-dropdown { display: none; }

/* Hero */
.ganyo-old-hero {
  position: relative;
  min-height: 562px;
  overflow: hidden;
  color: #fff;
  background: url("../home-live-text/factory-components-hero-clean.v1.webp") center / cover no-repeat;
}
.ganyo-old-particle-region {
  position: relative;
  isolation: isolate;
}
.ganyo-old-particle-region-canvas {
  position: absolute;
  z-index: 20;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.ganyo-old-particle-region[data-particle-mode="live"] > .ganyo-old-particle-region-canvas {
  display: block;
}
.ganyo-old-particle-region[data-particle-mode="live"] [data-particle-text] {
  opacity: 0;
}
.ganyo-old-particle-region [data-particle-text] {
  transition: none;
}
.ganyo-old-particle-runtime-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.ganyo-old-hero::before {
  position: absolute;
  z-index: 0;
  content: "";
  inset: 0;
  background: linear-gradient(90deg, rgb(13 78 156 / 96%) 0%, rgb(21 91 168 / 78%) 48%, rgb(21 91 168 / 20%) 72%, transparent 100%);
}
.ganyo-old-hero-service {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  display: flex;
  min-width: 455px;
  justify-content: center;
  gap: 32px;
  padding: 19px 34px 18px 92px;
  color: #fff;
  background: var(--ganyo-old-yellow);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  text-transform: uppercase;
}
.ganyo-old-hero-service span + span { padding-left: 22px; border-left: 2px solid rgb(255 255 255 / 75%); }
.ganyo-old-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 562px;
  flex-direction: column;
  justify-content: center;
  padding-top: 88px;
  padding-bottom: 42px;
}
.ganyo-old-hero-content { width: min(1080px, 92%); }
.ganyo-old-kicker {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(40px, 3.15vw, 50px);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: .055em;
  white-space: nowrap;
}
.ganyo-old-hero h1 {
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(28px, 2.2vw, 34px);
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: .035em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ganyo-old-hero-sub {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.75;
}
.ganyo-old-hero-stats {
  display: grid;
  width: min(1080px, 92%);
  margin: 42px 0 0;
  grid-template-columns: 1fr 1fr 1.35fr .8fr;
}
.ganyo-old-hero-stats > div { padding: 0 24px; border-left: 2px solid var(--ganyo-old-yellow); }
.ganyo-old-hero-stats > div:first-child { padding-left: 0; border-left: 0; }
.ganyo-old-hero-stats dt { font-size: clamp(42px, 4.6vw, 68px); font-weight: 750; line-height: 1; }
.ganyo-old-hero-stats dd { margin: 12px 0 0; font-size: 11px; font-weight: 700; line-height: 1.45; text-align: center; text-transform: uppercase; }
.ganyo-old-side-contact {
  position: fixed;
  z-index: 90;
  top: 220px;
  right: 0;
  width: 74px;
  border: 1px solid var(--ganyo-old-border);
  background: #fff;
  box-shadow: 0 8px 22px rgb(18 56 95 / 14%);
}
.ganyo-old-side-contact a { display: grid; justify-items: center; gap: 6px; padding: 12px 5px; border-bottom: 1px solid var(--ganyo-old-border); color: #536a82; font-size: 10px; }
.ganyo-old-side-contact span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--ganyo-old-light-blue); }
.ganyo-old-side-contact svg { width: 17px; height: 17px; fill: var(--ganyo-old-blue); }
.ganyo-old-side-contact em { font-style: normal; }

/* Product discovery */
.ganyo-old-products { background: #f7f9fb; text-align: center; }
.ganyo-old-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.ganyo-old-product-grid article { min-width: 0; background: #fff; }
.ganyo-old-product-grid a { display: block; }
.ganyo-old-product-grid img { display: block; width: 100%; aspect-ratio: 1.52 / 1; object-fit: cover; }
.ganyo-old-product-grid h3 { margin: 0; padding: 14px 10px; color: var(--ganyo-old-blue); font-size: 14px; font-weight: 650; }
.ganyo-old-readmore { display: none; }

/* Experience band and advantages */
.ganyo-old-request-band {
  position: relative;
  min-height: 268px;
  color: #fff;
  background-color: #0b3158;
  background-image: url("../home-live-text/vr-showroom-request.webp") !important;
  background-position: center 35% !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  text-align: center;
}
.ganyo-old-request-band::before { position: absolute; content: ""; inset: 0; background: rgb(5 25 49 / 78%); }
.ganyo-old-request-band .ganyo-old-wrap { position: relative; display: grid; min-height: 268px; place-content: center; justify-items: center; gap: 14px; }
.ganyo-old-request-content { width: min(1040px, 100%); }
.ganyo-old-request-title { margin: 0 0 10px; color: #fff; font-size: clamp(28px, 2.75vw, 40px); font-style: italic; line-height: 1.14; text-wrap: balance; }
.ganyo-old-request-subtitle { margin: 0; font-size: 16px; font-style: italic; font-weight: 600; }
.ganyo-old-inquiry-band { padding: 60px 0 26px; text-align: center; }
.ganyo-old-inquiry-band h2 { width: min(800px, 100%); margin: 0 auto 16px; color: var(--ganyo-old-blue); font-size: clamp(34px, 3.5vw, 48px); line-height: 1.18; }
.ganyo-old-inquiry-subtitle { margin: 0 0 24px; color: var(--ganyo-old-blue); font-size: 18px; }
.ganyo-old-advantages { padding: 12px 0 80px; }
.ganyo-old-adv-grid { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 12px; }
.ganyo-old-adv-grid > div { display: grid; min-height: 152px; align-content: center; justify-items: center; gap: 12px; padding: 12px 8px; border: 1px solid var(--ganyo-old-border); background: #fff; text-align: center; }
.ganyo-old-adv-grid img { width: 44px; height: 44px; object-fit: contain; }
.ganyo-old-adv-grid strong { color: var(--ganyo-old-blue); font-size: 11px; line-height: 1.25; }

/* Applications */
.ganyo-old-applications { background: var(--ganyo-old-light-blue); text-align: center; }
.ganyo-old-applications h2 { margin-bottom: 10px; }
.ganyo-old-applications > .ganyo-old-wrap > p { margin: 0 0 36px; color: #60758b; font-size: 13px; }
.ganyo-old-app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.ganyo-old-app-grid article { position: relative; min-width: 0; overflow: hidden; background: #fff; }
.ganyo-old-app-grid img { display: block; width: 100%; aspect-ratio: 1.5 / 1; object-fit: cover; }
.ganyo-old-app-grid span { position: absolute; right: 0; bottom: 0; left: 0; padding: 15px 12px; color: #fff; background: linear-gradient(transparent, rgb(4 25 48 / 85%)); font-size: 14px; font-weight: 650; text-align: left; }

/* About */
.ganyo-old-about { background: #fff; }
.ganyo-old-about-factory { display: block; width: 100%; aspect-ratio: 3.36 / 1; object-fit: cover; border-radius: 8px; }
.ganyo-old-split { display: grid; margin-top: 20px; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.ganyo-old-about-team { display: block; width: 100%; height: 100%; min-height: 512px; object-fit: cover; border-radius: 8px; }
.ganyo-old-about-card { padding: 42px; border-radius: 8px; background: #f4f7fa; }
.ganyo-old-about-card h2 { margin-bottom: 24px; font-size: 32px; }
.ganyo-old-about-card p { margin: 0 0 18px; font-size: 14px; line-height: 1.7; }
.ganyo-old-tabs { display: grid; margin: 24px 0 18px; grid-template-columns: 1fr 1fr; gap: 8px; }
.ganyo-old-tabs button { min-height: 46px; border: 1px solid var(--ganyo-old-blue); color: #1b2a3b; background: #fff; cursor: pointer; }
.ganyo-old-tabs button:first-child { grid-column: 1; }
.ganyo-old-tabs button:last-child { grid-column: 1 / -1; }
.ganyo-old-tabs button.is-active { color: #fff; background: var(--ganyo-old-blue); }
.ganyo-old-tab-panel { min-height: 112px; }
.ganyo-old-about-readmore { margin-top: 4px; }

/* Figma Projects: 1440x548 section, 1180x364 content */
.ganyo-old-projects-slider {
  padding: 92px 0;
  background: repeating-linear-gradient(120deg, rgb(255 255 255 / 4%) 0, rgb(255 255 255 / 4%) 2px, transparent 2px, transparent 10px), linear-gradient(120deg, #0f4390, #174fa2);
}
.ganyo-old-projects-slider-wrap {
  display: grid;
  min-height: 364px;
  grid-template-columns: 260px minmax(0, 1fr);
  grid-template-rows: auto 22px;
  gap: 18px 36px;
  align-items: center;
}
.ganyo-old-projects-lead h2 { margin: 0 0 28px; color: #fff; font-size: 58px; line-height: 1; }
.ganyo-old-project-arrows { display: flex; gap: 12px; }
.ganyo-old-project-arrow { display: grid; width: 48px; height: 48px; place-items: center; border: 0; border-radius: 50%; color: var(--ganyo-old-blue); background: #fff; cursor: pointer; font-size: 30px; }
.ganyo-old-project-carousel-viewport { min-width: 0; overflow: hidden; }
.ganyo-old-project-carousel-track { display: flex; gap: 28px; align-items: stretch; will-change: transform; }
.ganyo-old-project-card { display: block; flex: 0 0 calc((100% - 56px) / 3); min-width: 0; overflow: hidden; background: #dfe4ea; }
.ganyo-old-project-card img { display: block; width: 100%; height: auto !important; aspect-ratio: 1.14 / 1 !important; object-fit: cover; }
.ganyo-old-project-card-body { min-height: 74px; padding: 12px 14px; background: #dfe4ea; }
.ganyo-old-project-card-body span { display: block; margin-bottom: 8px; color: #99a2ac; font-size: 21px; font-weight: 700; line-height: 1; }
.ganyo-old-project-card-body strong { display: block; color: var(--ganyo-old-blue); font-size: 14px; font-weight: 700; line-height: 1.2; }
.ganyo-old-project-dots { grid-column: 2; display: flex; justify-content: center; gap: 10px; align-self: end; }
.ganyo-old-project-dot { width: 12px; height: 12px; padding: 0; border: 2px solid rgb(255 255 255 / 65%); border-radius: 50%; background: transparent; cursor: pointer; }
.ganyo-old-project-dot.is-active { border-color: #fff; background: #fff; }

/* Figma country galleries: 1180x996 inner, 283x238 cells */
.ganyo-old-project-detail-list { padding: 87px 0; background: var(--ganyo-old-surface); }
.ganyo-old-project-detail { margin: 0 0 57px; }
.ganyo-old-project-detail:last-child { margin-bottom: 0; }
.ganyo-old-project-detail h3 { margin: 0 0 18px; padding: 0 0 13px; border-bottom: 1px solid #2c5ea4; color: #184792; font-size: 20px; font-weight: 800; line-height: 1.2; }
.ganyo-old-project-detail h3::before { display: inline-grid; width: 20px; height: 20px; margin-right: 10px; place-items: center; border-radius: 50%; content: "›"; color: #fff; background: #155ba8; font-size: 18px; line-height: 1; }
.ganyo-old-project-detail-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ganyo-old-project-detail-grid img { display: block; width: 100%; height: auto !important; aspect-ratio: 283 / 238 !important; object-fit: cover; }

/* More projects */
.ganyo-old-more-projects-section { padding: 62px 0; background: var(--ganyo-old-surface); }
.ganyo-old-more-projects-banner { min-height: 280px; overflow: hidden; background: url("../old-home/gengduoanlibeijing.webp") center / cover no-repeat; }
.ganyo-old-more-projects-panel { display: grid; width: 38%; min-height: 280px; align-content: center; justify-items: start; padding: 40px; color: #fff; background: var(--ganyo-old-blue); clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%); }
.ganyo-old-more-projects-panel h2 { width: 260px; margin: 0 0 28px; color: #fff; font-size: 38px; line-height: 1.15; }

/* Feedback */
.ganyo-old-feedback { background: var(--ganyo-old-surface); }
.ganyo-old-feedback-featured { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 28px; align-items: stretch; }
.ganyo-old-feedback-lead h2 { margin-bottom: 12px; font-size: 38px; }
.ganyo-old-feedback-divider { display: block; width: 112px; height: 5px; margin-bottom: 24px; background: var(--ganyo-old-yellow); }
.ganyo-old-feedback-lead p { margin: 0 0 16px; font-size: 14px; line-height: 1.75; }
.ganyo-old-feedback-media img,
.ganyo-old-feedback-video img { display: block; width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.ganyo-old-feedback-video { position: relative; min-height: 430px; overflow: hidden; }
.ganyo-old-feedback-video span { position: absolute; top: 50%; left: 50%; display: grid; width: 82px; height: 82px; place-items: center; border-radius: 50%; transform: translate(-50%, -50%); color: #101010; background: rgb(255 255 255 / 90%); font-size: 34px; }
.ganyo-old-feedback-grid { display: grid; margin-top: 54px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.ganyo-old-feedback blockquote { margin: 0; }
.ganyo-old-feedback blockquote p { margin: 0 0 22px; font-size: 14px; line-height: 1.75; }
.ganyo-old-feedback cite { color: #172231; font-size: 14px; font-style: normal; font-weight: 750; }

/* Contact */
.ganyo-old-contact { color: #fff; background: var(--ganyo-old-blue); }
.ganyo-old-contact-grid { display: grid; grid-template-columns: .95fr 1.25fr; gap: 80px; }
.ganyo-old-contact h2 { margin-bottom: 40px; color: #fff; font-size: 54px; }
.ganyo-old-contact p { margin: 0 0 28px; font-size: 16px; line-height: 1.75; }
.ganyo-old-form { display: grid; gap: 18px; padding: 34px; background: #fff; }
.ganyo-old-form label { display: grid; gap: 8px; color: #111; font-size: 14px; font-weight: 650; }
.ganyo-old-form input,
.ganyo-old-form textarea { width: 100%; padding: 13px; border: 1px solid var(--ganyo-old-border); border-radius: 0; background: #fff; }
.ganyo-old-form button { min-height: 48px; border: 0; color: #fff; background: var(--ganyo-old-blue); cursor: pointer; font-weight: 700; }

/* Footer */
.ganyo-old-footer { padding: 64px 0 26px; background: #eaf0f6; }
.ganyo-old-footer-layout { display: grid; grid-template-columns: .9fr 1.35fr; gap: 80px; }
.ganyo-old-footer-brand > img { display: block; width: 132px; margin-bottom: 30px; }
.ganyo-old-contact-list { display: grid; gap: 15px; margin: 0; padding: 0; list-style: none; }
.ganyo-old-contact-item { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14px; line-height: 1.65; }
.ganyo-old-contact-item-icon { width: 20px; height: 20px; fill: #1f3044; }
.ganyo-old-footer-social { display: flex; gap: 12px; margin: 28px 0 0; }
.ganyo-old-social-circle { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: #fff; background: #2365b5; font-weight: 800; }
.ganyo-old-footer-links h3 { margin: 18px 0 32px; color: #fff; font-size: 28px; }
.ganyo-old-footer-columns { display: grid; grid-template-columns: .8fr .8fr 1.4fr 1.4fr; gap: 28px; }
.ganyo-old-footer-col { display: grid; align-content: start; gap: 25px; }
.ganyo-old-footer-col a { font-size: 14px; line-height: 1.35; }
.ganyo-old-footer-link-active { color: var(--ganyo-old-blue); font-weight: 750; }
.ganyo-old-copy { margin-top: 58px; padding-top: 26px; border-top: 1px solid #c8d4df; color: #5d6e80; font-size: 14px; }

/* Floating and off-canvas contact */
.ganyo-old-backtop,
.ganyo-old-contact-float { position: fixed; z-index: 80; right: 0; display: grid; place-items: center; color: #fff; background: var(--ganyo-old-blue); }
.ganyo-old-backtop { right: 18px; bottom: 62px; width: 38px; height: 38px; }
.ganyo-old-contact-float { bottom: 18px; min-width: 142px; min-height: 40px; padding: 8px 18px; font-size: 13px; }
.ganyo-old-contact-panel { position: fixed; z-index: 300; inset: 0; visibility: hidden; pointer-events: none; }
.ganyo-old-contact-panel:target { visibility: visible; pointer-events: auto; }
.ganyo-old-contact-panel-overlay { position: absolute; inset: 0; background: rgb(0 0 0 / 55%); }
.ganyo-old-contact-panel-main { position: absolute; top: 0; right: 0; width: min(520px, 100%); height: 100%; overflow-y: auto; transform: translateX(100%); background: #fff; transition: transform .25s ease; }
.ganyo-old-contact-panel:target .ganyo-old-contact-panel-main { transform: translateX(0); }
.ganyo-old-contact-panel-head { display: flex; min-height: 92px; align-items: center; justify-content: space-between; padding: 20px 28px; color: #fff; background: var(--ganyo-old-blue); }
.ganyo-old-contact-panel-head h2 { margin: 0; font-size: 34px; }
.ganyo-old-contact-panel-head a { color: #fff; font-size: 46px; line-height: 1; }
.ganyo-old-offcanvas-form { display: grid; gap: 22px; padding: 34px 28px; }
.ganyo-old-offcanvas-form input,
.ganyo-old-offcanvas-form textarea { width: 100%; padding: 16px 4px; border: 0; border-bottom: 1px solid var(--ganyo-old-blue); border-radius: 0; }
.ganyo-old-offcanvas-form button { min-height: 48px; border: 0; color: #fff; background: var(--ganyo-old-blue); }

@media (min-width: 1800px) {
  .ganyo-old-wrap { width: 82vw; max-width: none; }
  .ganyo-old-header-inner { width: 82vw; max-width: none; }
  .ganyo-old-projects-slider-wrap { grid-template-columns: minmax(260px, 18%) minmax(0, 1fr); }
  .ganyo-old-projects-lead h2 { font-size: clamp(58px, 4vw, 112px); }
  .ganyo-old-project-detail h3 { font-size: clamp(20px, 1.4vw, 42px); }
  .ganyo-old-project-card-body strong,
  .ganyo-old-footer-col a,
  .ganyo-old-feedback blockquote p { font-size: clamp(14px, .95vw, 30px); }
  .ganyo-old-project-card-body span { font-size: clamp(21px, 1.45vw, 46px); }
  .ganyo-old-projects-slider { padding-top: 6.4vw; padding-bottom: 6.4vw; }
  .ganyo-old-projects-slider-wrap { min-height: 25.3vw; }
  .ganyo-old-project-detail-list { padding-top: 6vw; padding-bottom: 6vw; }
  .ganyo-old-project-detail { margin-bottom: 3.96vw; }
  .ganyo-old-project-detail-grid { gap: 1.1vw; }
}

@media (max-width: 1024px) {
  .ganyo-old-header-inner { flex-wrap: wrap; }
  .ganyo-old-logo { margin-right: auto; }
  .ganyo-old-nav { order: 3; flex: 0 0 100%; }
  .ganyo-old-nav-list { display: none; padding: 10px 0 18px; flex-direction: column; align-items: stretch; }
  .ganyo-old-nav.is-open .ganyo-old-nav-list { display: flex; }
  .ganyo-old-nav a { padding: 10px 0; }
  .ganyo-old-nav-list > li > a::after { display: none; }
  .ganyo-old-nav .has-submenu > ul { position: static; width: 100%; padding-left: 18px; visibility: visible; opacity: 1; border: 0; box-shadow: none; }
  .ganyo-old-hero-service { min-width: 390px; font-size: 12px; }
  .ganyo-old-hero-content { width: 70%; }
  .ganyo-old-hero h1 { white-space: normal; }
  .ganyo-old-hero-stats { width: 100%; }
  .ganyo-old-product-grid,
  .ganyo-old-app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ganyo-old-adv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ganyo-old-split { grid-template-columns: 1fr; }
  .ganyo-old-about-team { min-height: 0; aspect-ratio: 1.45 / 1; }
  .ganyo-old-projects-slider-wrap { grid-template-columns: 1fr; grid-template-rows: auto auto 22px; }
  .ganyo-old-projects-lead { display: flex; align-items: center; justify-content: space-between; }
  .ganyo-old-projects-lead h2 { margin: 0; font-size: 42px; }
  .ganyo-old-project-dots { grid-column: 1; }
  .ganyo-old-project-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ganyo-old-feedback-featured { grid-template-columns: 1fr 1fr; }
  .ganyo-old-feedback-video { grid-column: 1 / -1; }
  .ganyo-old-feedback-grid { grid-template-columns: 1fr; }
  .ganyo-old-contact-grid,
  .ganyo-old-footer-layout { grid-template-columns: 1fr; }
  .ganyo-old-footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body.admin-bar .ganyo-old-header { top: 0; }
  .ganyo-old-wrap,
  .ganyo-old-header-inner { width: calc(100% - 30px); }
  .ganyo-old-section { padding: 54px 0; }
  .ganyo-old-header-inner { min-height: 66px; }
  .ganyo-old-logo { flex-basis: 92px; }
  .ganyo-old-logo img { width: 86px; height: 58px; }
  .ganyo-old-flag-fallback a:nth-child(n+3) { display: none; }
  .ganyo-old-side-contact { display: none; }
  .ganyo-old-hero { min-height: 660px; }
  .ganyo-old-hero-service { position: relative; min-width: 0; padding: 11px 14px; gap: 14px; clip-path: none; font-size: 10px; }
  .ganyo-old-hero-copy { min-height: 600px; justify-content: flex-start; padding-top: 54px; padding-bottom: 40px; }
  .ganyo-old-hero-content { width: 100%; }
  .ganyo-old-kicker { font-size: 34px; line-height: 1.08; white-space: normal; }
  .ganyo-old-hero h1 { font-size: 25px; white-space: normal; }
  .ganyo-old-hero-sub { font-size: 13px; }
  .ganyo-old-hero-stats { width: 100%; margin-top: 34px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 0; }
  .ganyo-old-hero-stats > div { padding: 0 14px; }
  .ganyo-old-hero-stats > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .ganyo-old-hero-stats dt { font-size: 42px; }
  .ganyo-old-product-grid,
  .ganyo-old-app-grid,
  .ganyo-old-adv-grid,
  .ganyo-old-project-detail-grid,
  .ganyo-old-feedback-featured,
  .ganyo-old-footer-columns { grid-template-columns: 1fr; }
  .ganyo-old-request-title { width: min(340px, 100%); font-size: 26px; }
  .ganyo-old-request-subtitle { font-size: 13px; }
  .ganyo-old-inquiry-band h2 { font-size: 31px; }
  .ganyo-old-adv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ganyo-old-about-factory { aspect-ratio: 1.7 / 1; }
  .ganyo-old-about-card { padding: 24px; }
  .ganyo-old-about-card h2 { font-size: 28px; }
  .ganyo-old-tabs { grid-template-columns: 1fr; }
  .ganyo-old-tabs button,
  .ganyo-old-tabs button:first-child,
  .ganyo-old-tabs button:last-child { grid-column: 1; }
  .ganyo-old-projects-slider { padding: 56px 0; }
  .ganyo-old-projects-slider-wrap { min-height: 0; }
  .ganyo-old-projects-lead h2 { font-size: 38px; }
  .ganyo-old-project-arrow { width: 42px; height: 42px; }
  .ganyo-old-project-detail-list { padding: 52px 0; }
  .ganyo-old-project-detail { margin-bottom: 42px; }
  .ganyo-old-project-detail h3 { font-size: 18px; }
  .ganyo-old-more-projects-panel { width: 64%; padding: 25px; }
  .ganyo-old-more-projects-panel h2 { width: 180px; font-size: 29px; }
  .ganyo-old-feedback-media img,
  .ganyo-old-feedback-video img,
  .ganyo-old-feedback-video { min-height: 300px; }
  .ganyo-old-contact h2 { font-size: 42px; }
  .ganyo-old-contact-grid { gap: 34px; }
  .ganyo-old-form { padding: 22px; }
  .ganyo-old-footer { padding-top: 48px; }
  .ganyo-old-footer-layout { gap: 32px; }
  .ganyo-old-backtop { display: none; }
  .ganyo-old-contact-float { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ganyo-old-home *,
  .ganyo-old-home *::before,
  .ganyo-old-home *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
