@import url("https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@75..125,100..900&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --nav-height: 5.25rem;
  --scroll-y: 0px;
  --font-display: "Archivo", Arial, sans-serif;
  --font-body: "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  background: #142934;
}

body {
  margin: 0;
  color: #eef5f4;
  background: #142934;
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-loading { overflow: hidden; }

.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  color: rgba(242, 247, 245, 0.7);
  background: #102b37;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.55s ease, visibility 0s linear 0.55s;
}

.boot-screen p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.boot-screen strong {
  color: #9be564;
  font-weight: 800;
}

.boot-progress {
  position: relative;
  width: min(60vw, 320px);
  height: 2px;
  overflow: hidden;
  background: rgba(246, 251, 250, 0.18);
}

.boot-progress::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: #9be564;
  box-shadow: 0 0 12px rgba(155, 229, 100, 0.72);
  animation: boot-scan 1.1s ease-in-out infinite;
}

body.site-ready .boot-screen {
  opacity: 0;
  visibility: hidden;
}

button,
input,
textarea {
  font: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--accent);
  color: var(--ink);
}

.site {
  --nav: rgba(16, 39, 50, 0.82);
  --dark: #102b37;
  --dark-2: #183844;
  --dark-3: #234653;
  --mist: #d9e3e3;
  --pale: #edf1ee;
  --blue: #8eb7c7;
  --blue-deep: #0b3544;
  --accent: #9be564;
  --accent-deep: #72ba42;
  --ink: #10262e;
  --ink-soft: #49616a;
  --white: #f2f7f5;
  --white-soft: rgba(242, 247, 245, 0.7);
  --line-light: rgba(246, 251, 250, 0.18);
  --line-dark: rgba(16, 38, 46, 0.18);
  --hero-overlay: linear-gradient(90deg, rgba(10, 33, 44, 0.95) 0%, rgba(10, 33, 44, 0.84) 43%, rgba(10, 33, 44, 0.26) 76%, rgba(10, 33, 44, 0.46) 100%);
  min-width: 320px;
  background: var(--dark);
  transition: background-color 0.45s ease, color 0.45s ease;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--accent);
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-nav {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  min-height: var(--nav-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 0 3.5vw;
  color: var(--white);
  background: var(--nav);
  border-bottom: 1px solid var(--line-light);
  backdrop-filter: blur(18px) saturate(135%);
  transition: background-color 0.45s ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand b {
  font-weight: 800;
}

.brand-mark {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 5px);
  align-items: end;
  gap: 3px;
  width: 21px;
  height: 23px;
  transform: skewY(-18deg);
}

.brand-mark i {
  display: block;
  width: 5px;
  background: var(--accent);
}

.brand-mark i:nth-child(1) { height: 11px; }
.brand-mark i:nth-child(2) { height: 17px; }
.brand-mark i:nth-child(3) { height: 23px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2.4rem);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  color: var(--white-soft);
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -0.55rem;
  height: 1px;
  background: var(--accent);
  transition: right 0.25s ease;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { right: 0; }

.nav-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.2rem;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.68rem 0.9rem;
  color: var(--ink);
  background: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.snap {
  scroll-snap-align: start;
  scroll-margin-top: var(--nav-height);
}

.section-wrap,
.hero-content {
  position: relative;
  z-index: 1;
  width: min(92vw, 1260px);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--dark);
}

.hero-image,
.image-statement-bg {
  position: absolute;
  inset: -4%;
  z-index: -3;
  background-image: url("it-studio-hero-human.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transform: translate3d(0, calc(var(--scroll-y) * 0.35), 0) scale(1.04);
  transition: filter 0.5s ease;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--hero-overlay);
  transition: background 0.45s ease;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 36%;
  background: linear-gradient(to top, var(--dark), transparent);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background-image: linear-gradient(var(--line-light) 1px, transparent 1px), linear-gradient(90deg, var(--line-light) 1px, transparent 1px);
  background-size: clamp(54px, 6vw, 90px) clamp(54px, 6vw, 90px);
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.8), transparent 68%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-height) + 4.5rem);
  padding-bottom: 7rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.7rem;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow > span:first-child {
  color: var(--accent-deep);
}

.hero-eyebrow {
  width: min(100%, 58rem);
  margin-bottom: 2.2rem;
  color: var(--white-soft);
  opacity: 0;
}

body.site-ready .hero-eyebrow { animation: fade-up 0.7s 0.1s forwards; }

.hero-eyebrow > span:first-child { color: var(--accent); }

.hero h1,
.section-heading h2,
.statement-text,
.work-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.055em;
}

.hero h1 {
  max-width: 12.5ch;
  font-size: clamp(3.7rem, 7.8vw, 7.6rem);
  font-stretch: 88%;
  line-height: 0.86;
}

.hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.hero-line > span {
  display: block;
  transform: translateY(115%);
}

body.site-ready .hero-line > span { animation: hero-rise 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
body.site-ready .hero-line:nth-child(1) > span { animation-delay: 0.15s; }
body.site-ready .hero-line:nth-child(2) > span { animation-delay: 0.25s; }
body.site-ready .hero-line:nth-child(3) > span { animation-delay: 0.35s; }

.accent-line {
  color: var(--accent);
}

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 35rem) auto;
  align-items: end;
  gap: 4rem;
  max-width: 58rem;
  margin-top: 2.8rem;
  opacity: 0;
}

body.site-ready .hero-bottom { animation: fade-up 0.75s 0.62s forwards; }

.hero-bottom p {
  margin: 0;
  color: var(--white-soft);
  font-size: clamp(0.98rem, 1.25vw, 1.13rem);
  line-height: 1.7;
}

.hero-bottom strong {
  color: var(--white);
  font-weight: 700;
}

.text-link {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  min-width: 13.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--accent);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-method {
  position: absolute;
  right: 3.5vw;
  bottom: 6.2rem;
  z-index: 2;
  display: grid;
  grid-template-columns: auto auto;
  gap: 0.48rem 0.8rem;
  padding: 1rem;
  color: var(--white-soft);
  background: rgba(10, 31, 42, 0.46);
  border: 1px solid var(--line-light);
  backdrop-filter: blur(12px);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
}

body.site-ready .hero-method { animation: fade-left 0.75s 0.76s forwards; }

.method-index { color: var(--accent); }

.scroll-cue {
  position: absolute;
  left: 3.5vw;
  bottom: 1.7rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white-soft);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-cue span {
  position: relative;
  width: 2.8rem;
  height: 1px;
  overflow: hidden;
  background: var(--line-light);
}

.scroll-cue span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
  animation: scroll-line 1.8s ease-in-out infinite;
}

.section-light,
.section-pale,
.section-blue,
.section-difference,
.section-dark,
.section-contact {
  position: relative;
  min-height: 86svh;
  padding: clamp(7rem, 10vw, 10rem) 0;
  overflow: hidden;
}

.section-light { color: var(--ink); background: var(--mist); }
.section-dark { color: var(--white); background: var(--dark); }
.section-pale { color: var(--ink); background: var(--pale); }
.section-blue { color: var(--ink); background: var(--blue); }

.section-heading h2 {
  max-width: 17ch;
  font-size: clamp(2.6rem, 5.2vw, 5.2rem);
  font-stretch: 90%;
  line-height: 0.98;
}

.section-heading h2 em,
.statement-text em {
  color: var(--accent-deep);
  font-style: normal;
}

.section-intro {
  max-width: 38rem;
  margin: 1.8rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.75;
}

.diagnosis-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.76fr) minmax(34rem, 1.24fr);
  gap: clamp(4rem, 8vw, 8rem);
  align-items: start;
}

.diagnosis .section-heading {
  position: sticky;
  top: calc(var(--nav-height) + 2.5rem);
}

.diagnosis-tool { display: grid; gap: 1rem; }
.symptoms { display: grid; gap: 0.65rem; }

.symptom {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem 1.2rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid var(--line-dark);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.symptom::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--ink);
  transform: translateX(-101%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.symptom span,
.symptom b { position: relative; z-index: 1; }
.symptom span { font-size: 0.98rem; font-weight: 600; }
.symptom b { color: var(--ink-soft); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; }
.symptom:hover { transform: translateX(5px); }
.symptom:hover::before,
.symptom.active::before { transform: none; }
.symptom:hover,
.symptom.active { color: var(--white); }
.symptom:hover b,
.symptom.active b { color: var(--accent); }

.diagnosis-result {
  position: relative;
  min-height: 25rem;
  color: var(--white);
  background: var(--blue-deep);
  overflow: hidden;
}

.diagnosis-result::after {
  content: "";
  position: absolute;
  right: -9rem;
  bottom: -10rem;
  width: 24rem;
  height: 24rem;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem transparent, 0 0 0 calc(4rem + 1px) var(--line-light), 0 0 0 8rem transparent, 0 0 0 calc(8rem + 1px) var(--line-light);
  opacity: 0.6;
}

.result-scan {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

.has-result .result-scan { animation: result-scan 0.65s ease forwards; }

.result-inner,
.result-empty {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 4vw, 3.5rem);
}

.result-inner { animation: result-in 0.55s 0.12s both; }
.result-label { margin: 0 0 2.3rem; color: var(--accent); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.result-inner h3 { max-width: 18ch; margin: 0; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 750; letter-spacing: -0.035em; line-height: 1.05; }
.result-explanation { max-width: 35rem; margin: 1.3rem 0 2rem; color: var(--white-soft); font-size: 1rem; line-height: 1.7; }
.result-inner dl { margin: 0; padding-top: 1.2rem; border-top: 1px solid var(--line-light); }
.result-inner dl div { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding: 0.65rem 0; }
.result-inner dt { color: var(--accent); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.result-inner dd { margin: 0; color: var(--white-soft); font-size: 0.92rem; }
.result-empty { display: flex; flex-direction: column; justify-content: space-between; min-height: 25rem; }
.result-empty span { color: var(--accent); font-size: 3rem; font-weight: 300; }
.result-empty p { max-width: 23rem; margin: 0; color: var(--white-soft); font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 2.1rem); font-weight: 650; letter-spacing: -0.03em; line-height: 1.2; }

.statement,
.image-statement {
  position: relative;
  min-height: 80svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--ink);
  background: var(--accent);
}

.statement .section-wrap,
.image-statement .section-wrap { position: relative; z-index: 2; }

.statement .eyebrow { margin-bottom: 2rem; }
.statement-text { position: relative; z-index: 2; font-size: clamp(4rem, 10vw, 10rem); font-stretch: 86%; line-height: 0.82; }
.statement-text em { color: var(--white); }
.statement-number { position: absolute; right: 0; bottom: -0.2em; color: rgba(16, 38, 46, 0.11); font-family: var(--font-display); font-size: clamp(10rem, 31vw, 32rem); font-weight: 800; letter-spacing: -0.1em; line-height: 0.7; }

.statement-orbit {
  position: absolute;
  width: 65vw;
  height: 65vw;
  right: -18vw;
  top: 50%;
  border: 1px solid rgba(16, 38, 46, 0.16);
  border-radius: 50%;
  transform: translateY(-50%);
}

.statement-orbit::before,
.statement-orbit::after { content: ""; position: absolute; inset: 12%; border: inherit; border-radius: 50%; }
.statement-orbit::after { inset: 27%; }

.split-heading {
  display: grid;
  grid-template-columns: 1fr minmax(18rem, 30rem);
  gap: 4rem;
  align-items: end;
}

.section-dark .section-intro,
.section-contact .section-intro { color: var(--white-soft); }
.section-dark .section-heading h2 em,
.section-contact .section-heading h2 em { color: var(--accent); }

.work-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin-top: clamp(3.5rem, 6vw, 6rem);
}

.work-card {
  position: relative;
  min-height: 38rem;
  display: flex;
  flex-direction: column;
  padding: clamp(1.7rem, 3.5vw, 3.4rem);
  color: var(--ink);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.diagnosis-card { background: var(--blue); }
.solution-card { color: var(--white); background: var(--dark-3); border: 1px solid var(--line-light); }
.card-top { display: flex; justify-content: space-between; gap: 2rem; padding-bottom: 1rem; border-bottom: 1px solid currentColor; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; opacity: 0.72; }
.work-card h3 { margin-top: 3rem; font-size: clamp(2.8rem, 5.4vw, 5.2rem); font-stretch: 88%; line-height: 0.86; }
.work-card > p { max-width: 35rem; margin: 1.7rem 0 3.2rem; color: currentColor; font-size: 1rem; line-height: 1.7; opacity: 0.76; }
.work-card dl { margin: auto 0 0; border-top: 1px solid currentColor; }
.work-card dl div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; padding: 0.65rem 0; border-bottom: 1px solid currentColor; }
.work-card dt { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; opacity: 0.65; }
.work-card dd { margin: 0; font-size: 0.8rem; font-weight: 600; }

.process-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  color: var(--white-soft);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.process-line i { position: relative; height: 1px; background: var(--line-light); overflow: hidden; }
.process-line i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: translateX(-100%); transition: transform 1.3s ease 0.3s; }
.process-line.is-visible i::after { transform: none; }

.section-difference { color: var(--white); background: var(--dark); isolation: isolate; }
.difference-image { position: absolute; inset: 0 0 0 auto; z-index: -3; width: 70%; background: url("it-studio-hero.png") 72% center / cover no-repeat; opacity: 0.78; transform: scale(1.02); transform-origin: right center; transition: filter 0.5s ease, transform 0.7s ease; }
.section-difference::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, var(--dark) 0%, rgba(16, 43, 55, 0.96) 34%, rgba(16, 43, 55, 0.72) 70%, rgba(16, 43, 55, 0.82) 100%); }
.section-difference .section-heading h2 em { color: var(--accent); }
.section-difference .eyebrow > span:first-child { color: var(--accent); }
.difference-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(4rem, 9vw, 9rem); }
.difference-list { border-top: 1px solid var(--line-light); }
.difference-list article { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1.5rem; padding: 1.8rem; margin-bottom: 2px; color: var(--white); background: rgba(8, 30, 40, 0.6); border-bottom: 1px solid var(--line-light); backdrop-filter: blur(5px); }
.difference-list article > span { color: var(--white-soft); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; }
.difference-list p { max-width: 34rem; margin: 0; font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2.45rem); font-weight: 650; letter-spacing: -0.035em; line-height: 1.15; }
.difference-list .difference-answer { margin-top: 1rem; padding: 2.2rem; color: var(--ink); background: var(--accent); border: 0; backdrop-filter: none; }
.difference-answer > span { color: var(--ink) !important; opacity: 0.7; }
.difference-answer strong { color: var(--ink); font-weight: 800; }

.image-statement { isolation: isolate; color: var(--white); background: var(--dark); }
.image-statement-bg { inset: -5%; background-image: url("it-studio-one-team.png"); background-position: 66% 30%; transform: translate3d(0, calc(var(--scroll-y) * -0.08), 0) scale(1.025); }
.image-statement::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(12, 34, 44, 0.94), rgba(12, 34, 44, 0.48) 68%, rgba(12, 34, 44, 0.74)); }
.image-statement .statement-text em { color: var(--accent); }
.image-statement .statement-number { color: rgba(255, 255, 255, 0.07); }

.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: clamp(3.5rem, 6vw, 6rem); }
.capability-grid article { min-height: 22rem; padding: 1.6rem; border: 1px solid var(--line-dark); transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease; }
.capability-grid article:hover { color: var(--white); background: var(--blue-deep); transform: translateY(-6px); }
.capability-grid article > span { color: var(--accent-deep); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; }
.capability-grid article:hover > span { color: var(--accent); }
.capability-grid h3 { margin: 6rem 0 1rem; font-family: var(--font-display); font-size: clamp(1.55rem, 2.3vw, 2.2rem); font-weight: 750; letter-spacing: -0.03em; line-height: 1.06; }
.capability-grid p { max-width: 25rem; margin: 0; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.65; }
.capability-grid article:hover p { color: var(--white-soft); }

.section-contact { min-height: 100svh; color: var(--white); background: var(--dark); isolation: isolate; }
.section-contact::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0.5; background: radial-gradient(circle at 78% 22%, rgba(155, 229, 100, 0.1), transparent 24%), linear-gradient(115deg, transparent 58%, rgba(255, 255, 255, 0.025) 58.2%, transparent 58.5%); pointer-events: none; }
.contact-layout { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: clamp(4rem, 9vw, 9rem); align-items: start; }
.contact-form { display: grid; gap: 1.25rem; }
.contact-form label { display: grid; gap: 0.45rem; }
.contact-form label > span { color: var(--white-soft); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.contact-form input,
.contact-form textarea { width: 100%; padding: 0.75rem 0 1rem; resize: vertical; color: var(--white); background: transparent; border: 0; border-bottom: 1px solid var(--line-light); border-radius: 0; outline: none; font-size: 1rem; transition: border-color 0.2s ease; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(242, 247, 245, 0.38); }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent); }
.contact-form button { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 1rem; padding: 1.1rem 1.25rem; color: var(--ink); background: var(--accent); border: 0; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; cursor: pointer; transition: background-color 0.2s ease, transform 0.2s ease; }
.contact-form button:hover { background: var(--white); transform: translateY(-3px); }
.contact-form > p { margin: 0.5rem 0 0; color: var(--white-soft); font-size: 0.76rem; }
.contact-form > p a { color: var(--white); border-bottom: 1px solid var(--accent); }

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 2.3rem 3.5vw;
  color: var(--white-soft);
  background: var(--dark);
  border-top: 1px solid var(--line-light);
  scroll-snap-align: end;
  scroll-snap-stop: normal;
}

footer p { margin: 0; font-size: 0.64rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; }
footer p:last-child { justify-self: end; }

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible { opacity: 1; transform: none; }

@media (hover: hover) and (pointer: fine) {
  .work-card[data-reveal] {
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s ease, box-shadow 0.3s ease;
  }

  .work-card[data-reveal].is-visible:hover {
    transform: translateY(-6px) rotateX(0.7deg);
    box-shadow: 0 18px 42px rgba(4, 20, 27, 0.18);
  }

  .work-card:hover::after { transform: scaleX(1); }

  .difference-list article[data-reveal] {
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s ease, background-color 0.28s ease, box-shadow 0.28s ease;
  }

  .difference-list article[data-reveal].is-visible:hover {
    transform: translateX(8px);
    background: rgba(8, 30, 40, 0.82);
    box-shadow: inset 0 0 0 1px rgba(155, 229, 100, 0.38), -12px 0 30px rgba(0, 0, 0, 0.12);
  }

  .difference-list .difference-answer[data-reveal].is-visible:hover {
    transform: translateX(8px) scale(1.012);
    color: var(--ink);
    background: var(--accent);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42), -12px 0 30px rgba(0, 0, 0, 0.16);
  }

  .section-difference:has(.difference-list article:hover) .difference-image { transform: scale(1.045); }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@keyframes hero-rise { to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade-left { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes scroll-line { 0% { transform: translateX(-100%); } 55%, 100% { transform: translateX(100%); } }
@keyframes result-scan { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); transform-origin: left; } 61% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
@keyframes result-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes boot-scan { from { left: -40%; } to { left: 100%; } }

@media (max-width: 1120px) {
  .site-nav { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .hero-method { display: none; }
  .diagnosis-layout,
  .difference-layout,
  .contact-layout { grid-template-columns: 1fr; }
  .diagnosis .section-heading { position: static; }
  .diagnosis-tool { grid-template-columns: 0.92fr 1.08fr; }
  .diagnosis-result { min-height: 100%; }
  .split-heading { grid-template-columns: 1fr 0.72fr; }
  .contact-layout .section-heading { max-width: 46rem; }
}

@media (max-width: 780px) {
  :root { --nav-height: 4.6rem; }
  html { scroll-snap-type: y proximity; }
  .site-nav { padding: 0 1.1rem; }
  .nav-cta { padding: 0.6rem 0.72rem; font-size: 0.65rem; }
  .section-wrap,
  .hero-content { width: min(90vw, 1260px); }
  .hero-content { padding-top: calc(var(--nav-height) + 3.5rem); padding-bottom: 7rem; }
  .hero h1 { font-size: clamp(3.3rem, 15vw, 5.7rem); line-height: 0.88; }
  .hero-eyebrow { width: 100%; }
  .hero-eyebrow span:last-child { display: none; }
  .hero-bottom { grid-template-columns: 1fr; gap: 1.4rem; margin-top: 2rem; }
  .text-link { min-width: 0; max-width: 17rem; }
  .scroll-cue { left: 5vw; }
  .section-light,
  .section-pale,
  .section-blue,
  .section-difference,
  .section-dark,
  .section-contact { min-height: auto; padding: 6.5rem 0; }
  .diagnosis-layout { gap: 3rem; }
  .diagnosis-tool { grid-template-columns: 1fr; }
  .split-heading { grid-template-columns: 1fr; gap: 1rem; }
  .work-cards { grid-template-columns: 1fr; }
  .work-card { min-height: 34rem; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid article { min-height: 17rem; }
  .capability-grid h3 { margin-top: 4.2rem; }
  .statement,
  .image-statement { min-height: 70svh; }
  .statement-text { font-size: clamp(4rem, 17vw, 7rem); }
  .statement-number { bottom: -0.05em; }
  footer { grid-template-columns: 1fr; gap: 0.65rem; }
  footer p:last-child { justify-self: start; }
}

@media (max-width: 480px) {
  .brand { font-size: 0.9rem; }
  .nav-cta span { display: none; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hero-bottom p { font-size: 0.92rem; }
  .section-heading h2 { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  .symptom { padding: 1rem; }
  .symptom span { font-size: 0.88rem; }
  .result-inner,
  .result-empty { padding: 1.7rem; }
  .work-card { padding: 1.5rem; }
  .work-card h3 { font-size: clamp(2.8rem, 14vw, 4rem); }
  .difference-list .difference-answer { padding: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.001ms !important; }
  [data-reveal],
  .hero-eyebrow,
  .hero-bottom,
  .hero-method { opacity: 1; transform: none; }
  .hero-line > span { transform: none; }
}
