:root {
  --ink: #101820;
  --ink-soft: #344054;
  --paper: #f5f7fb;
  --white: #ffffff;
  --line: #dce4ee;
  --blue: #1769ff;
  --blue-dark: #0c3f9f;
  --cyan: #16c7d8;
  --green: #20b15a;
  --amber: #ffb020;
  --black: #05070a;
  --shadow: 0 18px 44px rgba(16, 24, 32, 0.14);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  --intro-offset: 0s;
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.78;
  background: var(--paper);
  overflow-x: hidden;
}

body.has-intro {
  --intro-offset: 3.15s;
}

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

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

.nowrap {
  white-space: nowrap;
}

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

li {
  list-style: none;
}

.intro-splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 34px),
    linear-gradient(135deg, #f7fbff 0%, #dff5ff 26%, #1769ff 68%, #0b2140 100%);
  opacity: 0;
  animation: introSplash 3.5s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.intro-splash::before {
  content: "";
  position: absolute;
  inset: -18%;
  background:
    linear-gradient(108deg, transparent 0 22%, rgba(255, 255, 255, 0.52) 28%, transparent 36%),
    linear-gradient(132deg, transparent 0 40%, rgba(22, 199, 216, 0.34) 47%, transparent 58%);
  transform: translateX(-12%) rotate(-4deg);
  animation: introAir 3.5s ease-in-out forwards;
}

.intro-splash::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: translateX(-100%);
  animation: introSweep 2.2s ease-in-out 0.45s forwards;
}

.intro-panel {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100% - 48px));
  display: grid;
  justify-items: center;
  padding: 38px 34px;
  text-align: center;
  background: rgba(5, 24, 48, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 14px;
  box-shadow: 0 30px 90px rgba(5, 7, 10, 0.24);
  backdrop-filter: blur(16px);
  transform: translateY(12px) scale(0.98);
  animation: introPanel 3.5s ease forwards;
}

.intro-panel img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  padding: 8px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
}

.intro-panel span {
  color: #bdf6ff;
  font-size: 0.82rem;
  font-weight: 900;
}

.intro-panel strong {
  margin-top: 6px;
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 1.08;
}

.intro-panel p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 4.2vw, 1.28rem);
  font-weight: 900;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(-14px);
  animation: headerDrop 0.72s ease calc(var(--intro-offset) + 0.05s) forwards;
}

.header-inner {
  width: min(var(--max), calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  column-gap: 10px;
  align-items: center;
  font-weight: 900;
}

.brand-logo,
.brand-mark {
  grid-row: 1 / span 2;
  width: 46px;
  height: 46px;
}

.brand-logo {
  object-fit: contain;
  background: var(--white);
  border-radius: 999px;
}

.brand-mark {
  display: grid;
  place-items: center;
  border: 2px solid var(--black);
  border-radius: 999px;
  color: var(--black);
  background: var(--white);
  font-size: 1rem;
  letter-spacing: 0;
}

.brand span {
  color: var(--blue);
  font-size: 0.72rem;
  line-height: 1.2;
}

.brand strong {
  font-size: 1.05rem;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 1.4rem;
}

.button,
.button-dark,
.button-outline,
.button-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1.25;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(23, 105, 255, 0.25);
}

.button-dark {
  color: var(--white);
  background: var(--black);
}

.button-line {
  color: var(--white);
  background: var(--green);
}

.button-outline {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.button:hover,
.button-dark:hover,
.button-outline:hover,
.button-line:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(16, 24, 32, 0.18);
}

.nav-cta {
  min-height: 42px;
  padding: 10px 15px;
  color: var(--white);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 700px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -3%;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(5, 7, 10, 0.92) 0%, rgba(5, 7, 10, 0.72) 44%, rgba(5, 7, 10, 0.2) 100%),
    url("../img/hero-hvac-work.jpg");
  background-position: center;
  background-size: cover;
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 0 60%, rgba(22, 199, 216, 0.18) 72%, transparent 88%),
    repeating-linear-gradient(118deg, transparent 0 42px, rgba(255, 255, 255, 0.045) 43px 44px);
  opacity: 0.7;
  animation: airCurrent 12s linear infinite;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 120px 0 74px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--amber);
  transform-origin: left center;
  animation: lineGrow 0.72s ease both;
}

.hero h1,
.page-hero h1 {
  margin: 20px 0 0;
  max-width: 780px;
  font-size: clamp(3rem, 7vw, 5.7rem);
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
  line-break: strict;
  word-break: auto-phrase;
}

.hero .eyebrow,
.hero h1,
.hero-lead,
.hero-actions,
.hero-tabs {
  opacity: 0;
  transform: translateY(16px);
  animation: heroItem 0.76s ease forwards;
}

.hero .eyebrow {
  animation-delay: calc(var(--intro-offset) + 0.18s);
}

.hero h1 {
  animation-delay: calc(var(--intro-offset) + 0.32s);
}

.hero-lead {
  animation-delay: calc(var(--intro-offset) + 0.48s);
}

.hero-actions {
  animation-delay: calc(var(--intro-offset) + 0.62s);
}

.hero-tabs {
  animation-delay: calc(var(--intro-offset) + 0.76s);
}

.hero-lead {
  max-width: 720px;
  margin-top: 26px;
  display: grid;
  gap: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  font-weight: 700;
}

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

.hero-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.hero-tabs a {
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.hero-tabs a:hover {
  transform: translateY(-2px);
  border-color: rgba(22, 199, 216, 0.72);
  background: rgba(22, 199, 216, 0.16);
}

.fact-strip {
  width: min(var(--max), calc(100% - 32px));
  margin: -36px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: translateY(0);
  animation: factFloat 0.86s ease calc(var(--intro-offset) + 0.9s) both;
}

.fact {
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}

.fact:last-child {
  border-right: 0;
}

.fact span {
  display: block;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fact strong {
  display: block;
  margin-top: 4px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.section {
  position: relative;
  padding: 92px 0;
}

.section.alt,
.page-content {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 247, 251, 0.96)),
    repeating-linear-gradient(118deg, rgba(23, 105, 255, 0.035) 0 1px, transparent 1px 42px);
}

.section.dark {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.section.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 48%, rgba(22, 199, 216, 0.16) 56%, transparent 70%),
    repeating-linear-gradient(118deg, transparent 0 38px, rgba(255, 255, 255, 0.04) 39px 40px);
  transform: translateX(-18%);
  animation: sectionAir 13s linear infinite;
}

.section.dark > .container {
  position: relative;
  z-index: 1;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.center .section-kicker {
  justify-content: center;
}

.section h2,
.page-content h2 {
  margin: 14px 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.22;
  letter-spacing: 0;
  text-wrap: balance;
  line-break: strict;
  word-break: auto-phrase;
}

.section-lead,
.page-lead {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-break: strict;
  word-break: auto-phrase;
}

.page-hero .page-lead {
  max-width: 760px;
  padding: 16px 18px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(5, 7, 10, 0.28);
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  font-weight: 800;
}

.dark .section-lead {
  color: rgba(255, 255, 255, 0.75);
}

.service-grid,
.reason-grid,
.job-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.reason-card,
.job-card,
.info-card,
.content-block {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(16, 24, 32, 0.06);
}

.service-card::before,
.reason-card::before,
.job-card::before,
.info-card::before,
.content-block::before,
.work-card::before,
.ba-card::before,
.step-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(22, 199, 216, 0.16), transparent 36%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.dark .reason-card {
  color: var(--ink);
}

.service-card img,
.split img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.7s ease;
}

.service-body,
.reason-card,
.job-card,
.info-card,
.content-block {
  padding: 24px;
}

.service-body h3,
.reason-card h3,
.job-card h3,
.info-card h3,
.content-block h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  line-height: 1.35;
}

.service-body p,
.reason-card p,
.job-card p,
.content-block p,
.info-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.media-note {
  display: block;
  margin-top: 10px;
  color: #667085;
  font-size: 0.72rem;
  font-weight: 800;
}

.card-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--blue);
  font-weight: 900;
}

.consult-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.consult-list li,
.check-list li {
  padding: 14px 16px 14px 20px;
  border-left: 4px solid var(--blue);
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}

.check-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 48px;
  align-items: center;
}

.sns-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: center;
}

.strength-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: 48px;
  align-items: center;
}

.strength-panel img,
.sns-panel img {
  width: 100%;
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.7s ease, filter 0.7s ease;
}

.reason-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.work-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.work-card,
.ba-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(16, 24, 32, 0.06);
}

.work-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.7s ease;
}

.work-card div,
.ba-card {
  padding: 20px;
}

.work-card h3,
.ba-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.4;
}

.work-card p,
.ba-card p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.before-after-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.95fr);
  gap: 18px;
}

.ba-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ba-images.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ba-images figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper);
}

.ba-images img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.7s ease;
}

.ba-images figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(5, 7, 10, 0.78);
  font-size: 0.72rem;
  font-weight: 900;
}

.president-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: stretch;
}

.president-photo {
  min-height: 430px;
  display: grid;
  place-items: center;
  padding: 32px;
  border: 2px dashed #a9b8c8;
  border-radius: 12px;
  color: var(--ink-soft);
  background: linear-gradient(135deg, #eef3f9, #ffffff);
  font-size: 1.5rem;
  font-weight: 900;
  animation: placeholderBreath 4.5s ease-in-out infinite;
}

.president-message {
  display: grid;
  align-content: center;
}

.image-cards .job-card {
  padding: 0;
  overflow: hidden;
}

.image-cards .job-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.7s ease;
}

.image-cards .job-card h3,
.image-cards .job-card p {
  margin-left: 22px;
  margin-right: 22px;
}

.image-cards .job-card h3 {
  margin-top: 20px;
}

.image-cards .job-card p {
  margin-bottom: 24px;
}

.interview-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
  gap: 34px;
  align-items: center;
}

.interview-card img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.7s ease, filter 0.7s ease;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  counter-reset: step;
}

.step-card {
  position: relative;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(16, 24, 32, 0.06);
}

.step-card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 1.8rem;
  font-weight: 900;
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 108px 0 84px;
  color: var(--white);
  background: linear-gradient(135deg, var(--black), #142334 74%, var(--blue-dark));
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 0 56%, rgba(22, 199, 216, 0.24) 64%, transparent 78%),
    repeating-linear-gradient(118deg, transparent 0 46px, rgba(255, 255, 255, 0.055) 47px 48px);
  transform: translateX(-18%) rotate(-2deg);
  animation: pageHeroAir 12s linear infinite;
}

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

.page-hero .eyebrow,
.page-hero h1,
.page-hero .page-lead {
  opacity: 0;
  transform: translateY(16px);
  animation: pageHeroItem 0.72s ease forwards;
}

.page-hero .eyebrow {
  animation-delay: 0.12s;
}

.page-hero h1 {
  animation-delay: 0.24s;
}

.page-hero .page-lead {
  animation-delay: 0.38s;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.1rem);
}

.page-content {
  padding: 78px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.content-block.wide {
  grid-column: 1 / -1;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdff;
  font: inherit;
}

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

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 52px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 0 50%, rgba(255, 255, 255, 0.18) 58%, transparent 70%),
    repeating-linear-gradient(118deg, transparent 0 38px, rgba(255, 255, 255, 0.07) 39px 40px);
  transform: translateX(-20%);
  animation: ctaSweep 10s linear infinite;
}

.cta-band .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.22;
  text-wrap: balance;
  line-break: strict;
  word-break: auto-phrase;
}

.site-footer {
  padding: 58px 0 32px;
  color: rgba(255, 255, 255, 0.82);
  background: var(--black);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 48px;
}

.site-footer .brand-logo {
  background: var(--white);
}

.site-footer .brand-mark {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
}

.site-footer .brand strong {
  color: var(--white);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  font-weight: 800;
}

.copy {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
}

.mobile-cta {
  display: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(8px);
  transition: opacity 0.78s ease, transform 0.78s ease, filter 0.78s ease;
}

[data-reveal="left"] {
  transform: translateX(-28px);
}

[data-reveal="right"] {
  transform: translateX(28px);
}

[data-reveal="zoom"] {
  transform: scale(0.96);
}

[data-reveal="float"] {
  transform: translateY(34px) rotate(0.6deg);
}

[data-reveal="clip"] {
  clip-path: inset(0 0 18% 0 round 12px);
  transform: translateY(18px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
  filter: blur(0);
  clip-path: inset(0 0 0 0 round 12px);
}

.service-card,
.reason-card,
.job-card,
.info-card,
.content-block,
.work-card,
.ba-card,
.step-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover,
.reason-card:hover,
.job-card:hover,
.info-card:hover,
.content-block:hover,
.work-card:hover,
.ba-card:hover,
.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(23, 105, 255, 0.28);
  box-shadow: 0 20px 42px rgba(16, 24, 32, 0.14);
}

.service-card:hover::before,
.reason-card:hover::before,
.job-card:hover::before,
.info-card:hover::before,
.content-block:hover::before,
.work-card:hover::before,
.ba-card:hover::before,
.step-card:hover::after {
  opacity: 1;
}

.service-card:hover img,
.split:hover img,
.strength-panel:hover img,
.work-card:hover img,
.ba-card:hover img,
.image-cards .job-card:hover img,
.interview-card:hover img {
  transform: scale(1.04);
  filter: saturate(1.08) brightness(1.03);
}

.fact {
  transition: background 0.24s ease, transform 0.24s ease;
}

.fact:hover {
  background: #f7fbff;
  transform: translateY(-2px);
}

@keyframes introSplash {
  0% {
    opacity: 0;
    visibility: visible;
  }
  14.285% {
    opacity: 1;
    visibility: visible;
  }
  57.142% {
    opacity: 1;
    visibility: visible;
  }
  99% {
    opacity: 0;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@keyframes introAir {
  0% {
    transform: translateX(-18%) rotate(-5deg);
  }
  57% {
    transform: translateX(2%) rotate(-4deg);
  }
  100% {
    transform: translateX(16%) rotate(-4deg);
  }
}

@keyframes introSweep {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes introPanel {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  14.285%,
  57.142% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-10px) scale(1.01);
  }
}

@keyframes headerDrop {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  0% {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes airCurrent {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 220px 0, 180px 0;
  }
}

@keyframes heroItem {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pageHeroItem {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pageHeroAir {
  0% {
    transform: translateX(-22%) rotate(-2deg);
  }
  100% {
    transform: translateX(12%) rotate(-2deg);
  }
}

@keyframes sectionAir {
  0% {
    transform: translateX(-22%);
  }
  100% {
    transform: translateX(16%);
  }
}

@keyframes ctaSweep {
  0% {
    transform: translateX(-26%);
  }
  100% {
    transform: translateX(18%);
  }
}

@keyframes lineGrow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes factFloat {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes placeholderBreath {
  0%,
  100% {
    border-color: #a9b8c8;
    box-shadow: inset 0 0 0 rgba(23, 105, 255, 0);
  }
  50% {
    border-color: rgba(23, 105, 255, 0.48);
    box-shadow: inset 0 0 36px rgba(23, 105, 255, 0.08);
  }
}

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

  body.has-intro {
    --intro-offset: 0s;
  }

  .intro-splash {
    display: none;
  }

  .site-header,
  .hero .eyebrow,
  .hero h1,
  .hero-lead,
  .hero-actions,
  .hero-tabs,
  .page-hero .eyebrow,
  .page-hero h1,
  .page-hero .page-lead,
  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
    clip-path: none;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
    gap: 8px;
  }

  .fact-strip,
  .service-grid,
  .reason-grid,
  .job-grid,
  .steps,
  .content-grid,
  .split,
  .sns-panel,
  .strength-panel,
  .work-gallery,
  .before-after-grid,
  .president-section,
  .interview-card,
  .cta-band .container,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 64px;
  }

  .header-inner {
    width: min(100% - 24px, var(--max));
    min-height: 68px;
  }

  .brand {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .brand-logo,
  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-logo {
    font-size: 0.84rem;
  }

  .brand span {
    font-size: 0.66rem;
  }

  .brand strong {
    font-size: 0.96rem;
  }

  .site-nav {
    top: 68px;
  }

  .hero {
    min-height: 630px;
  }

  .hero::before {
    background-position: 61% center;
  }

  .hero-inner {
    width: min(100% - 24px, var(--max));
    padding: 96px 0 58px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2rem, 10.2vw, 3.05rem);
    line-height: 1.08;
  }

  .section h2,
  .page-content h2,
  .cta-band h2 {
    font-size: clamp(1.72rem, 7.2vw, 2.42rem);
    line-height: 1.24;
  }

  .section {
    padding: 70px 0;
  }

  .president-photo {
    min-height: 320px;
    font-size: 1.15rem;
  }

  .ba-images,
  .ba-images.three {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(100% - 24px, var(--max));
  }

  .consult-list,
  .form-grid {
    grid-template-columns: 1fr;
  }

  [data-reveal="left"],
  [data-reveal="right"] {
    transform: translateY(24px);
  }

  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--black);
    box-shadow: 0 -12px 28px rgba(16, 24, 32, 0.18);
  }

  .mobile-cta a {
    display: grid;
    place-items: center;
    min-height: 58px;
    color: var(--white);
    font-weight: 900;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
  }

  .mobile-cta a:nth-child(2) {
    background: var(--blue);
  }
}
