@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Noto+Sans+JP:wght@400;500;700;900&display=swap");

:root {
  --bg: #f5f8fb;
  --surface: #ffffff;
  --text: #111618;
  --muted: #6b7280;
  --primary: #18d6ff;
  --primary-strong: #0096ff;
  --primary-soft: rgba(24, 214, 255, 0.14);
  --lake-line-stroke: rgba(0, 170, 255, 0.24);
  --lake-line-width: 24;
  --lake-line-shadow: rgba(0, 120, 200, 0.12);
  --lake-line-shadow-blur: 2;
  --lake-line-opacity: 0.65;
  --lake-line-node: rgba(0, 170, 255, 0.24);
  --lake-line-node-shadow: rgba(0, 120, 200, 0.12);
  --lake-line-node-shadow-blur: 3;
  --lake-line-node-spacing: 420;
  --lake-line-node-size: 20;
  --lake-line-node-branch: rgba(0, 170, 255, 0.24);
  --lake-line-node-branch-width: 6;
  --lake-line-node-branch-length: 96;
  --lake-line-node-branch-delay: 0;
  --lake-line-node-branch-grow: 180;
  --lake-line-text-mask: 0;
  --lake-line-service-mask: 0.45;
  --border: rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 12px 24px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 22px 44px rgba(15, 23, 42, 0.12);
  --radius: 20px;
  --radius-lg: 28px;
  font-family: "Inter", "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(24, 214, 255, 0.16) 0%, rgba(24, 214, 255, 0.06) 22%, transparent 45%),
    radial-gradient(circle at 22% 40%, rgba(0, 150, 255, 0.12) 0%, rgba(0, 150, 255, 0.04) 20%, transparent 42%),
    #ffffff;
  line-height: 1.7;
  position: relative;
  overflow-x: hidden;
}


img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

.language-switch {
  width: 100%;
  padding: 0;
  position: relative;
  z-index: 1;
}

.language-switch input {
  position: absolute;
  opacity: 0;
}

.language-toggle {
  display: inline-flex;
  gap: 0;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  padding: 0.2rem;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.language-toggle label {
  padding: 0.5rem 1.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
  border-radius: 999px;
}

#lang-ja:checked ~ .language-panels .lang-panel--ja .language-toggle label[for="lang-ja"],
#lang-en:checked ~ .language-panels .lang-panel--en .language-toggle label[for="lang-en"] {
  background: var(--primary);
  color: #0c2a3a;
  font-weight: 700;
}

.language-panels {
  margin-top: 0;
}

.lang-panel {
  display: none;
  position: relative;
  z-index: 1;
}

#lang-ja:checked ~ .language-panels .lang-panel--ja,
#lang-en:checked ~ .language-panels .lang-panel--en {
  display: block;
}

.container {
  width: calc(100% - 2rem);
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
  position: relative;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.flow-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 12;
  opacity: var(--lake-line-opacity);
}


.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary-strong);
  margin: 0;
}

.section__header h2,
.section h2 {
  font-weight: 900;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  margin: 0.8rem 0 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

.section__header--split {
  display: grid;
  gap: 1.5rem;
}

.section__header {
  position: relative;
  z-index: 1;
}

.section__header .eyebrow,
.section__header h2,
.section__header .section__lead {
  animation: fade-in-up 0.9s ease both;
}

.section__header .eyebrow {
  animation-delay: 0.05s;
}

.section__header h2 {
  animation-delay: 0.12s;
}

.section__header .section__lead {
  animation-delay: 0.2s;
}

.section__lead {
  color: var(--muted);
  max-width: 520px;
  margin: 0;
  font-size: 1.05rem;
}

.section__cta {
  margin-top: 2.5rem;
  text-align: center;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  padding: 0.6rem 0;
}

.header__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.header__desktop {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-toggle__bar {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #0f172a;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-open .menu-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
  z-index: 18;
}

.site-header.is-open .mobile-menu {
  display: block;
  animation: menu-drop 0.25s ease;
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem 0 1.75rem;
}

.mobile-menu__nav {
  display: grid;
  gap: 0.8rem;
  font-weight: 700;
  color: #0f172a;
}

.mobile-menu__nav a {
  padding: 0.2rem 0;
}

.mobile-menu__controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu .language-toggle {
  width: 100%;
  justify-content: center;
  background: #f8fafc;
}

.mobile-menu .language-toggle label {
  flex: 1;
  text-align: center;
  padding-left: 0;
  padding-right: 0;
}

.mobile-menu__cta .btn {
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}

.brand__mark {
  width: 96px;
  height: 72px;
  border-radius: 16px;
  background: url("../images/YamatoDX_logo.png") center/cover no-repeat;
  box-shadow: none;
}

.brand__name {
  font-size: 1.1rem;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.site-nav a {
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--primary-strong);
}

.header__cta .btn {
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
  border-radius: 12px;
}

.site-header .language-toggle {
  padding: 0.15rem;
  background: #f8fafc;
  box-shadow: none;
}

.site-header .language-toggle label {
  padding: 0.4rem 1rem;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
}

.lake-hero {
  padding: 4rem 0 3.6rem;
  min-height: 78vh;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.lake-hero__grid {
  display: flex;
  flex-direction: column;
  gap: 2.8rem;
  position: relative;
  z-index: 1;
  min-height: 70vh;
}

.lake-hero__content {
  max-width: 560px;
  position: relative;
  z-index: 2;
}

.lake-hero__eyebrow {
  margin: 0 0 0.8rem;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary-strong);
}

.lake-hero__title {
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  margin: 0 0 1rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.lake-hero__accent {
  color: var(--primary-strong);
}

.lake-hero__lead {
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.lake-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lake-hero__actions .btn {
  width: 100%;
}

.lake-hero__trust {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.lake-hero__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--primary-strong);
  box-shadow: 0 0 0 6px rgba(14, 165, 233, 0.12);
}

.lake-hero__visual {
  position: absolute;
  inset: -10% -20% -16% -20%;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.lake-hero__lake {
  position: relative;
  width: min(1750px, 200%);
  aspect-ratio: 18 / 10;
  border-radius: 52% 48% 60% 40% / 55% 45% 60% 40%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.95), rgba(219, 234, 254, 0.7) 42%, rgba(56, 189, 248, 0.35) 75%, rgba(14, 165, 233, 0.35) 100%),
    radial-gradient(circle at 60% 70%, rgba(14, 165, 233, 0.3), transparent 55%),
    linear-gradient(140deg, rgba(14, 165, 233, 0.18), rgba(219, 234, 254, 0.55));
  border: none;
  box-shadow: inset 0 40px 80px rgba(255, 255, 255, 0.35), inset 0 -90px 140px rgba(14, 165, 233, 0.25);
  overflow: hidden;
  isolation: isolate;
  transform: translateY(-12%);
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 72%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 72%, rgba(0, 0, 0, 0) 100%);
}

.lake-hero__lake::before,
.lake-hero__lake::after {
  content: none;
}

.lake-hero__flow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.45;
  mix-blend-mode: screen;
}

.lake-hero__stream {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 14 26;
  animation: river-flow 14s linear infinite;
}

.lake-hero__stream--main {
  stroke-width: 8;
}

.lake-hero__stream--soft {
  stroke-width: 3;
  stroke-dasharray: 6 16;
  opacity: 0.7;
  animation-duration: 18s;
}

.lake-hero__node {
  fill: rgba(255, 255, 255, 0.75);
  opacity: 0.6;
  filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.45));
}

.lake-hero__particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  mix-blend-mode: screen;
}

.lake-hero__trail {
  --trail-x: 0px;
  --trail-rise: 140px;
  --trail-delay: 0s;
  --trail-duration: 4.6s;
  position: absolute;
  left: 50%;
  bottom: 18%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(-50%) translateX(var(--trail-x)) translateY(0);
  animation: particle-rise var(--trail-duration) ease-in-out infinite;
  animation-delay: var(--trail-delay);
  opacity: 0.9;
}

.lake-hero__trail--1 {
  --trail-x: -160px;
  --trail-delay: 0s;
  --trail-rise: 140px;
}

.lake-hero__trail--2 {
  --trail-x: -60px;
  --trail-delay: 0.8s;
  --trail-rise: 170px;
}

.lake-hero__trail--3 {
  --trail-x: 50px;
  --trail-delay: 1.4s;
  --trail-rise: 160px;
}

.lake-hero__trail--4 {
  --trail-x: 140px;
  --trail-delay: 2s;
  --trail-rise: 180px;
}

.lake-hero__particle {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.92), rgba(56, 189, 248, 0.85) 60%, rgba(14, 165, 233, 0.35) 100%);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.55);
  animation: particle-glow 2.6s ease-in-out infinite;
}

.lake-hero__particle:nth-child(2) {
  width: 8px;
  height: 8px;
  opacity: 0.75;
  animation-delay: 0.2s;
}

.lake-hero__particle:nth-child(3) {
  width: 6px;
  height: 6px;
  opacity: 0.6;
  animation-delay: 0.4s;
}

.lake-hero__hub {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.65;
  mix-blend-mode: screen;
}

.lake-hero__hub-dot {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #0ea5e9;
  box-shadow: 0 0 0 10px rgba(14, 165, 233, 0.12);
}

.lake-hero__hub-ring {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(14, 165, 233, 0.35);
  animation: pulse 5s ease-in-out infinite;
}

.lake-hero__hub-ring--outer {
  inset: -6px;
  border-color: rgba(14, 165, 233, 0.2);
  animation-delay: 1s;
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0.9rem 1.8rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: #0b1b22;
  box-shadow: 0 16px 30px rgba(66, 196, 240, 0.3);
}

.btn-secondary {
  background: #ffffff;
  color: #4b5563;
  border: 2px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
}

.cta-row .btn {
  width: 100%;
}

.logo-strip {
  padding: 1.5rem 0 2.5rem;
  background: #ffffff;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.logo-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 50%, rgba(66, 196, 240, 0.12), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
  animation: tide 20s ease-in-out infinite;
}

.logo-strip__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2rem;
  opacity: 0.9;
  filter: none;
  transition: opacity 0.4s ease;
  position: relative;
  z-index: 1;
}

.logo-strip__inner:hover {
  opacity: 1;
}

.logo-strip__logo {
  width: 120px;
  height: 28px;
  background: linear-gradient(90deg, #dbe7f4, #cfd8e3);
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  animation: logo-drift 10s ease-in-out infinite;
}

.logo-strip__logo:nth-child(2) {
  animation-delay: -2s;
}

.logo-strip__logo:nth-child(3) {
  animation-delay: -4s;
}

.logo-strip__logo:nth-child(4) {
  animation-delay: -6s;
}

.about {
  background: #ffffff;
}

.about__grid {
  display: grid;
  gap: 2rem;
}

.about__copy {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  animation: fade-in-up 0.9s ease both;
}

.about__copy p {
  margin: 0 0 1rem;
}

.about__copy p:last-child {
  margin-bottom: 0;
}

.about__copy ul {
  margin: 1rem 0;
  padding-left: 1.2rem;
}

.about__card {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  border: 1px solid rgba(66, 196, 240, 0.2);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  animation: fade-in-up 0.9s ease both;
  animation-delay: 0.12s;
}


.about__card h3 {
  margin-top: 0;
  font-size: 1.4rem;
}

.about__card p {
  margin: 0 0 1rem;
}

.about__card p:last-child {
  margin-bottom: 0;
}

.about__card > * {
  position: relative;
  z-index: 1;
}

.lead-block {
  background: #ffffff;
  padding-top: 2.6rem;
}

.lead-block + main .services {
  margin-top: 0;
  padding-top: 6.2rem;
}

.lead-block__grid {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
}

.lead-block__card {
  width: 100%;
  max-width: 760px;
  padding: 0.4rem 0 0.4rem 1.6rem;
  border-left: 3px solid rgba(14, 165, 233, 0.55);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: fade-in-up 0.9s ease both;
}

.lead-block__card p {
  margin: 0 0 1rem;
}

.lead-block__card p:last-child {
  margin-bottom: 0;
}

.lead-block__list {
  margin: 0.8rem 0 1rem;
  padding-left: 1.2rem;
}

.lead-block__list li {
  margin-bottom: 0.4rem;
}

.shiga-support {
  background: #ffffff;
}

.shiga-support__grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.shiga-support__intro {
  max-width: 440px;
}

.shiga-support__card {
  padding: 0.4rem 0 0.4rem 1.6rem;
  border-left: 3px solid rgba(14, 165, 233, 0.35);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: fade-in-up 0.9s ease both;
}

.shiga-support__card p {
  margin: 0 0 1rem;
}

.shiga-support__card p:last-child {
  margin-bottom: 0;
}

.services {
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.services__flow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.7;
  z-index: 0;
  display: none;
}

.services__flow svg {
  width: 100%;
  height: 100%;
}

.services__cards {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  position: relative;
  z-index: 1;
}

.before-after {
  background: #ffffff;
}

.before-after__grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 2rem;
}

.before-after__panel {
  --panel-line: linear-gradient(180deg, rgba(148, 163, 184, 0.15), rgba(148, 163, 184, 0.7), rgba(148, 163, 184, 0.15));
  position: relative;
  overflow: hidden;
  padding: 0.4rem 0 0.4rem 1.6rem;
  border-left: none;
  opacity: 0;
  transform: translateY(16px);
}

.before-after__panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--panel-line);
  transform-origin: top;
  transform: scaleY(0);
  opacity: 0.9;
}

.before-after__panel--after {
  --panel-line: linear-gradient(180deg, rgba(14, 165, 233, 0.18), rgba(14, 165, 233, 0.8), rgba(125, 211, 252, 0.2));
}

.before-after__label {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}

.before-after__panel--after .before-after__label {
  color: var(--primary-strong);
}

.before-after__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.before-after__list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--muted);
  opacity: 0;
  transform: translateX(-12px);
}

.before-after.is-visible .before-after__panel {
  animation: fade-in-up 0.9s ease both;
}

.before-after.is-visible .before-after__panel--after {
  animation-delay: 0.08s;
}

.before-after.is-visible .before-after__panel::before {
  animation: line-grow 1.1s ease forwards;
  animation-delay: 0.12s;
}

.before-after.is-visible .before-after__panel--after::before {
  animation-delay: 0.2s;
}

.before-after.is-visible .before-after__label {
  animation: fade-in-up 0.8s ease both;
  animation-delay: 0.2s;
}

.before-after.is-visible .before-after__panel--after .before-after__label {
  animation-delay: 0.28s;
}

.before-after.is-visible .before-after__list li {
  animation: list-slide 0.75s ease both;
}

.before-after.is-visible .before-after__list li:nth-child(1) {
  animation-delay: 0.25s;
}

.before-after.is-visible .before-after__list li:nth-child(2) {
  animation-delay: 0.32s;
}

.before-after.is-visible .before-after__list li:nth-child(3) {
  animation-delay: 0.39s;
}

.before-after.is-visible .before-after__list li:nth-child(4) {
  animation-delay: 0.46s;
}

.before-after__panel--after .before-after__list li {
  color: var(--text);
}

.before-after__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.7);
}

.before-after__panel--after .before-after__list li::before {
  background: var(--primary);
}


.service-card {
  position: relative;
  padding: 2.8rem 2.6rem;
  animation: card-rise 0.9s ease both;
  overflow: hidden;
}

.service-card:nth-child(1) {
  animation-delay: 0.1s;
}

.service-card:nth-child(2) {
  animation-delay: 0.2s;
}

.service-card:nth-child(3) {
  animation-delay: 0.3s;
}

.service-card__icon {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  font-weight: 800;
  font-size: clamp(3.6rem, 8vw, 6.2rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(14, 165, 233, 0.14);
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}

.service-card:nth-child(2) .service-card__icon {
  color: rgba(6, 182, 212, 0.16);
}

.service-card:nth-child(3) .service-card__icon {
  color: rgba(34, 211, 238, 0.16);
}

.service-card > *:not(.service-card__icon) {
  position: relative;
  z-index: 1;
}

.service-card h3 {
  margin: 0.2rem 0 0.8rem;
  font-size: 1.4rem;
}

.service-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--primary-strong);
  margin: 0.8rem 0;
}

.service-card ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.8;
}

.skills {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.skills__grid {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.skills-panel {
  margin-top: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow-sm);
  animation: fade-in-up 0.9s ease both;
}

.skills-panel summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}

.skills-panel summary::-webkit-details-marker {
  display: none;
}

.skills-panel__icon {
  font-size: 1.4rem;
  transition: transform 0.2s ease;
}

.skills-panel[open] .skills-panel__icon {
  transform: rotate(45deg);
}

.skills-panel__body {
  margin-top: 1.4rem;
  position: relative;
}

.skills-panel:not([open]) .skills-panel__body {
  max-height: 170px;
  overflow: hidden;
}

.skills-panel:not([open]) .skills-panel__body::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  background: linear-gradient(180deg, rgba(247, 251, 255, 0) 0%, #f7fbff 100%);
  pointer-events: none;
}

.skills__cta {
  margin-top: 1.8rem;
}

.skill-tag {
  background: var(--surface);
  border-radius: 999px;
  padding: 0.6rem 1.6rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  font-weight: 600;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: normal;
  width: 100%;
  justify-content: flex-start;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
  animation: tag-float 10s ease-in-out infinite;
}

.skill-tag:nth-child(2n) {
  animation-delay: -2s;
}

.skill-tag:nth-child(3n) {
  animation-delay: -4s;
}
.skill-tag::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.why {
  background: #ffffff;
}

.why .section__header {
  text-align: center;
}

.why .section__lead {
  margin: 1rem auto 0;
}

.works .section__header {
  text-align: left;
}

.why__grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.6rem;
}

.why-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  animation: fade-in-up 0.9s ease both;
}

.why-card:nth-child(1) {
  animation-delay: 0.1s;
}

.why-card:nth-child(2) {
  animation-delay: 0.2s;
}

.why-card:nth-child(3) {
  animation-delay: 0.3s;
}

.why-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(66, 196, 240, 0.12), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
}

.why-card > * {
  position: relative;
  z-index: 1;
}

.why-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: #e0f2fe;
  margin-bottom: 1.2rem;
  animation: icon-drift 7s ease-in-out infinite;
}

.works {
  background: #ffffff;
}

.news-list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.news-item {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease;
  position: relative;
  animation: list-slide 0.8s ease both;
}

.news-item--empty {
  color: var(--muted);
}

.news-item--empty .news-item__arrow {
  color: rgba(15, 23, 42, 0.3);
}

.news-item--empty:hover .news-item__title,
.news-item--empty:hover {
  color: var(--muted);
}

.news-item--empty .news-item__tag {
  background: rgba(15, 23, 42, 0.06);
  color: rgba(15, 23, 42, 0.5);
}

.news-item:hover {
  color: inherit;
}

.news-item:hover .news-item__title {
  color: var(--primary-strong);
}

.news-item:hover .news-item__arrow {
  transform: translateX(4px);
}

.news-item:nth-child(1) {
  animation-delay: 0.08s;
}

.news-item:nth-child(2) {
  animation-delay: 0.16s;
}

.news-item:nth-child(3) {
  animation-delay: 0.24s;
}

.news-item:nth-child(4) {
  animation-delay: 0.32s;
}

.news-item__meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.75rem;
  color: var(--muted);
  min-width: 160px;
}

.news-item__tag {
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
}

.news-item__title {
  font-weight: 700;
  flex: 1;
  margin: 0;
}

.news-item__arrow {
  align-self: flex-end;
  color: var(--primary-strong);
  font-weight: 700;
  margin-left: auto;
  transition: transform 0.2s ease;
}

.news-item > * {
  position: relative;
  z-index: 1;
}

.profile {
  background: #ffffff;
}

.profile__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.profile__actions {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.profile__copy p {
  margin: 0 0 1rem;
}

.profile__copy p:last-child {
  margin-bottom: 0;
}

.profile__copy {
  animation: fade-in-up 0.9s ease both;
}

.profile__photo {
  border-radius: 28px;
  height: 420px;
  background-image: url("../images/yamato_selfy.png");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  animation: float-slow 8s ease-in-out infinite;
}

body.card-open {
  overflow: hidden;
}

.profile-card {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 70;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.profile-card.is-visible {
  opacity: 1;
  visibility: visible;
}

.profile-card__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(7, 18, 30, 0.55);
  cursor: pointer;
}

.profile-card__panel {
  position: relative;
  width: min(92vw, 620px);
  background: #ffffff;
  border-radius: 26px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 30px 70px rgba(6, 15, 25, 0.2);
  padding: 1.8rem;
  z-index: 1;
  transform: translateY(14px);
  transition: transform 0.3s ease;
  outline: none;
}

.profile-card.is-visible .profile-card__panel {
  transform: translateY(0);
}

.profile-card__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
}

.profile-card__header {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.4rem;
}

.profile-card__media {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.profile-card__photo {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  background-image: url("../images/yamato_selfy.png");
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
}

.profile-card__logo {
  height: 128px;
  width: auto;
  max-width: 400px;
  object-fit: contain;
}

.profile-card__name {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
}

.profile-card__title {
  margin: 0.3rem 0 0.4rem;
  color: var(--muted);
  font-weight: 600;
}

.profile-card__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.profile-card__section {
  margin-top: 1.2rem;
}

.profile-card__section--split {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
}

.profile-card__label {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-weight: 700;
}

.profile-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.profile-card__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.profile-card__item span {
  color: var(--muted);
  min-width: 70px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.profile-card__link {
  color: var(--primary-strong);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.profile-card__link:hover {
  color: var(--primary);
}

.pricing {
  background: #ffffff;
}

.pricing__table {
  margin-top: 2.5rem;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  animation: fade-in-up 0.9s ease both;
}

.pricing__table div {
  display: flex;
  justify-content: space-between;
  padding: 1.1rem 1.6rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  font-weight: 600;
  animation: row-rise 0.7s ease both;
}

.pricing__table div:last-child {
  border-bottom: none;
}

.pricing__table div:nth-child(1) {
  animation-delay: 0.05s;
}

.pricing__table div:nth-child(2) {
  animation-delay: 0.12s;
}

.pricing__table div:nth-child(3) {
  animation-delay: 0.19s;
}

.pricing__table div:nth-child(4) {
  animation-delay: 0.26s;
}

.pricing__note {
  margin-top: 1rem;
  color: var(--muted);
}

.contact {
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
  color: var(--text);
  position: relative;
  overflow: hidden;
}

.contact::before,
.contact::after {
  display: none;
}

.contact__inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: flex-start;
  padding: 0;
  position: relative;
  z-index: 1;
  animation: fade-in-up 0.9s ease both;
}

.contact__inner .btn-primary {
  background: var(--primary);
  color: #0b1b22;
}

.contact__inner .btn-secondary {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  color: #4b5563;
  box-shadow: var(--shadow-sm);
}

.contact__link {
  display: inline-flex;
  margin-top: 0.75rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  color: var(--primary-strong);
}

.contact__meta {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer {
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2.2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #bae6fd, #38bdf8, #a5f3fc);
}

.footer::after {
  content: "";
  position: absolute;
  right: -12%;
  top: -25%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.22), transparent 70%);
  pointer-events: none;
}

.footer__grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  animation: fade-in-up 0.9s ease both;
  position: relative;
  z-index: 1;
}

.footer__brand {
  display: grid;
  gap: 1rem;
}

.footer__brand p {
  color: var(--muted);
  max-width: 420px;
}

.footer__links {
  display: grid;
  gap: 0.55rem;
}

.footer__links h4 {
  margin: 0 0 0.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0f172a;
}

.footer__links a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer__links a:hover {
  color: var(--primary-strong);
  transform: translateX(2px);
}

.footer__copy {
  text-align: center;
  margin-top: 1.8rem;
  color: rgba(15, 23, 42, 0.5);
  font-size: 0.85rem;
}

@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-slow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes river-flow {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -260;
  }
}

@keyframes lake-ripple {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-160px);
  }
}

@keyframes particle-rise {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateX(var(--trail-x)) translateY(12px);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateX(var(--trail-x)) translateY(calc(-1 * var(--trail-rise)));
  }
}

@keyframes particle-glow {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

@keyframes hero-glow {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(3%, -2%, 0);
  }
}

@keyframes tide {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(4%, 6%, 0);
  }
}



@keyframes pulse {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes card-rise {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes icon-drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes list-slide {
  0% {
    opacity: 0;
    transform: translateX(-12px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes line-grow {
  0% {
    transform: scaleY(0);
  }
  100% {
    transform: scaleY(1);
  }
}

@keyframes row-rise {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tag-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes logo-drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes menu-drop {
  0% {
    opacity: 0;
    transform: translateY(-6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 699px) {
  :root {
    --lake-line-node-spacing: 320;
    --lake-line-node-size: 16;
    --lake-line-node-branch-width: 5;
    --lake-line-node-branch-length: 76;
    --lake-line-node-branch-delay: 0;
    --lake-line-node-branch-grow: 150;
  }

  .lake-hero {
    padding: 2.8rem 0 2.2rem;
    min-height: 64vh;
  }

  .lake-hero__grid {
    gap: 2rem;
    min-height: 58vh;
  }

  .lake-hero__lake {
    filter: saturate(1.18) contrast(1.12);
  }

  .lake-hero__lake::before {
    opacity: 0.72;
    mix-blend-mode: normal;
  }

  .lake-hero__lake::after {
    opacity: 0.78;
  }

  .lake-hero__flow {
    opacity: 0.95;
    filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.6));
  }

  .lake-hero__stream {
    filter: drop-shadow(0 0 18px rgba(56, 189, 248, 0.7));
  }

  .lake-hero__stream--main {
    stroke-width: 14;
  }

  .lake-hero__stream--soft {
    stroke-width: 6;
    opacity: 0.95;
  }

  .lake-hero__node {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.85));
    transform-box: fill-box;
    transform-origin: center;
    transform: scale(1.25);
  }

  .lake-hero__trail {
    --trail-rise: 200px;
    gap: 10px;
    bottom: 20%;
  }

  .lake-hero__trail--1 {
    --trail-x: -120px;
  }

  .lake-hero__trail--2 {
    --trail-x: -35px;
  }

  .lake-hero__trail--3 {
    --trail-x: 45px;
  }

  .lake-hero__trail--4 {
    --trail-x: 120px;
  }

  .lake-hero__particle {
    width: 14px;
    height: 14px;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.75);
  }

  .lake-hero__particle:nth-child(2) {
    width: 11px;
    height: 11px;
  }

  .lake-hero__particle:nth-child(3) {
    width: 9px;
    height: 9px;
  }

  .lake-hero__hub {
    width: 72px;
    height: 72px;
    opacity: 1;
    filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.6));
  }

  .lake-hero__hub-dot {
    width: 24px;
    height: 24px;
    box-shadow:
      0 0 0 16px rgba(14, 165, 233, 0.22),
      0 0 18px rgba(56, 189, 248, 0.6);
  }

  .lake-hero__hub-ring {
    border-color: rgba(14, 165, 233, 0.75);
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.45);
  }

  .lake-hero__hub-ring--outer {
    border-color: rgba(14, 165, 233, 0.5);
  }

  .section {
    padding: 3.2rem 0;
  }

  .section__header h2,
  .section h2 {
    font-size: clamp(1.5rem, 4.8vw, 2.4rem);
  }

  .lead-block {
    padding-top: 1.8rem;
  }

  .lead-block + main .services {
    padding-top: 5.4rem;
  }

  .section__header {
    padding-left: 1.1rem;
  }

  .section__header::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 4px;
    height: clamp(48px, 10vw, 80px);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.9), rgba(125, 211, 252, 0.15));
  }

  .lead-block__card {
    background: transparent;
    border-left: 3px solid rgba(14, 165, 233, 0.55);
    border-radius: 0;
    padding: 0.8rem 0 0.8rem 1.4rem;
    box-shadow: none;
  }

  .shiga-support__card {
    background: transparent;
    border-left: 3px solid rgba(14, 165, 233, 0.35);
    border-radius: 0;
    padding: 0.8rem 0 0.8rem 1.4rem;
    box-shadow: none;
  }

  .services {
    background: #ffffff;
  }

  .services__flow {
    display: block;
    opacity: 0.25;
  }

  .services__flow svg {
    transform: translateY(-6%) scale(1.08);
  }

  .services__cards {
    gap: 2rem;
  }

  .service-card {
    width: 100%;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 2rem 0;
    box-shadow: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }

  .service-card:last-child {
    border-bottom: none;
  }

  .service-card__icon {
    top: 0.8rem;
    right: 0.4rem;
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  .before-after__grid {
    gap: 1.6rem;
  }

  .before-after__panel {
    width: 100%;
    border-left: 3px solid rgba(148, 163, 184, 0.6);
    border-radius: 0;
    padding: 1rem 0 1rem 1.4rem;
    box-shadow: none;
    background: transparent;
  }

  .profile__grid {
    gap: 1.2rem;
  }

  .profile__photo {
    height: 320px;
    margin: 0 -0.6rem;
    border-radius: 26px;
  }

  .profile__copy {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    margin-top: 1.2rem;
    position: static;
  }

  .profile-card {
    padding: 1rem;
  }

  .profile-card__panel {
    padding: 1.4rem;
  }

  .profile-card__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-card__photo {
    width: 84px;
    height: 84px;
  }

  .profile-card__logo {
    height: 96px;
  }

  .news-list {
    position: relative;
    padding-left: 1.2rem;
    border-top: none;
  }

  .news-list::before {
    content: "";
    position: absolute;
    left: 0.3rem;
    top: 0;
    bottom: 0;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(125, 211, 252, 0.2), rgba(14, 165, 233, 0.6), rgba(125, 211, 252, 0.2));
  }

  .news-item {
    padding: 1.2rem 0 1.2rem 1.6rem;
    border-bottom: 1px dashed rgba(15, 23, 42, 0.1);
  }

  .news-item::before {
    content: "";
    position: absolute;
    left: 0.05rem;
    top: 1.55rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 0 0 6px rgba(66, 196, 240, 0.18);
  }

  .contact {
    background: linear-gradient(180deg, #eef7ff 0%, #ffffff 100%);
  }

  .contact__inner {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
  }
}

@media (min-width: 700px) {
  .container {
    width: min(1200px, calc(100% - 3rem));
  }

  .section {
    padding: 5.5rem 0;
  }

  .cta-row {
    flex-direction: row;
  }

  .cta-row .btn {
    width: auto;
  }

  .lake-hero__actions {
    flex-direction: row;
  }

  .lake-hero__actions .btn {
    width: auto;
  }

  .skill-tag {
    width: auto;
    white-space: nowrap;
  }

  .before-after__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
  }

  .lead-block + main .services {
    padding-top: 8.5rem;
  }
}

@media (min-width: 900px) {
  :root {
    --lake-line-width: 30;
    --lake-line-opacity: 0.6;
    --lake-line-node-spacing: 520;
    --lake-line-node-size: 22;
    --lake-line-node-branch-width: 6.8;
    --lake-line-node-branch-length: 110;
    --lake-line-node-branch-delay: 0;
    --lake-line-node-branch-grow: 220;
  }

  .site-nav {
    display: flex;
  }

  .header__actions {
    flex-wrap: nowrap;
    gap: 0.75rem;
  }

  .menu-toggle {
    display: none;
  }

  .header__desktop {
    display: flex;
  }

  .mobile-menu {
    display: none !important;
  }

  .header__cta .btn {
    padding: 0.65rem 1.4rem;
    font-size: 0.85rem;
  }

  .lake-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
    align-items: center;
    min-height: 82vh;
  }

  .lake-hero {
    min-height: 88vh;
  }

  .lake-hero__lake {
    transform: translateY(-4%);
  }

  .section__header--split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
  }

  .about__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
  }

  .shiga-support__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }

  .services__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }

  .service-card--offset {
    margin-top: 0;
  }

  .service-card--offset-lg {
    margin-top: 0;
  }

  .why__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .news-item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .profile__grid {
    grid-template-columns: minmax(280px, 1fr) 1.2fr;
  }

  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: start;
  }

  .skills-panel {
    border: none;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }

  .skills-panel summary {
    display: none;
  }

  .skills-panel__body {
    max-height: none !important;
    overflow: visible !important;
  }

  .skills-panel__body::after {
    display: none;
  }

  .services__flow {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .before-after__panel,
  .before-after__label,
  .before-after__list li {
    opacity: 1 !important;
    transform: none !important;
  }

  .before-after__panel::before {
    transform: scaleY(1) !important;
  }
}
