@charset "UTF-8";

:root {
  color-scheme: light dark;
  --surface: #ffffff;
  --surface-soft: #f3f7fb;
  --surface-raised: #ffffff;
  --surface-deep: #0d253d;
  --ink: #061b31;
  --muted: #52677f;
  --line: #dce6f0;
  --accent: #2868ec;
  --accent-hover: #1d4ed8;
  --accent-button: #2868ec;
  --accent-button-hover: #1d4ed8;
  --on-dark: #f5f8fc;
  --shadow-blue: 0 28px 48px -32px rgba(50, 50, 93, 0.42), 0 14px 26px -18px rgba(0, 0, 0, 0.22);
  --font-sans: Satoshi, Pretendard, system-ui, -apple-system, "Malgun Gothic", sans-serif;
  --radius: 7px;
  --content: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--surface);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  word-break: keep-all;
}

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

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

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

button {
  color: inherit;
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

::selection {
  background: rgba(40, 104, 236, 0.2);
  color: var(--ink);
}

.shell {
  width: min(var(--content), calc(100% - 64px));
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(72px, 9vw, 132px);
}

.skip-link {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 1000;
  padding: 12px 16px;
  transform: translateY(-160%);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-blue);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(220, 230, 240, 0.75);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.brand-copy {
  display: grid;
  line-height: 1.25;
}

.brand-copy strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: -0.02em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav > a:not(.nav-cta) {
  transition: color 160ms ease-out;
}

.desktop-nav > a:not(.nav-cta):hover,
.mobile-nav a:hover {
  color: var(--accent);
}

.nav-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: var(--radius);
  background: var(--accent-button);
  color: #ffffff;
  transition: background 160ms ease-out, transform 160ms ease-out;
}

.nav-cta:hover,
.button-primary:hover {
  transform: translateY(-2px);
  background: var(--accent-button-hover);
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(800px, calc(100svh - 78px));
  min-height: clamp(640px, calc(100svh - 78px), 800px);
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--surface-deep);
  color: var(--on-dark);
}

.hero-photo,
.hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 48%;
  filter: saturate(0.78) contrast(1.05);
  transform: scale(1.025);
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(7, 24, 43, 0.35) 0%, rgba(7, 24, 43, 0.63) 46%, rgba(7, 24, 43, 0.82) 100%),
    linear-gradient(100deg, rgba(7, 24, 43, 0.7) 0%, rgba(7, 24, 43, 0.2) 70%, rgba(7, 24, 43, 0.42) 100%);
}

.hero-content {
  max-width: 1110px;
  padding-block: 132px 142px;
  text-align: center;
}

.hero-eyebrow,
.eyebrow,
.service-category,
.story-kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-eyebrow {
  margin-bottom: 28px;
  color: #c9dcff;
}

.hero h1 {
  max-width: 1100px;
  margin: 0 auto;
  color: #ffffff;
  font-size: clamp(3rem, 6vw, 5.45rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1.12;
  text-wrap: balance;
}

.hero-description {
  max-width: 640px;
  margin: 30px auto 0;
  color: rgba(245, 248, 252, 0.86);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.75;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: background 160ms ease-out, color 160ms ease-out, border-color 160ms ease-out, transform 160ms ease-out;
}

.button:active {
  transform: translateY(1px) scale(0.985);
}

.button-primary {
  background: var(--accent-button);
  color: #ffffff;
}

.button-outline-light {
  border-color: rgba(245, 248, 252, 0.56);
  background: rgba(13, 37, 61, 0.2);
  color: #ffffff;
}

.button-outline-light:hover {
  border-color: #ffffff;
  background: rgba(245, 248, 252, 0.12);
}

.hero-edge-link {
  position: absolute;
  right: max(32px, calc((100% - var(--content)) / 2));
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: rgba(245, 248, 252, 0.82);
  font-size: 12px;
}

.arrow-down {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(245, 248, 252, 0.5);
  border-radius: 50%;
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
}

.intro {
  background: var(--surface);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: clamp(44px, 8vw, 128px);
}

.intro-title,
.section-heading h2,
.digital-intro h2,
.principles-intro h2,
.contact-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.17;
  text-wrap: balance;
}

.intro-copy p,
.section-heading > p:not(.eyebrow),
.principles-intro > p:not(.eyebrow),
.contact-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.intro-copy p:first-child {
  margin-top: 0;
}

.intro-copy p:last-of-type {
  margin-bottom: 24px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.text-link span {
  transition: transform 180ms ease-out;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.workflow-section {
  background: var(--surface-soft);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 44px;
}

.section-heading .eyebrow,
.digital-intro .eyebrow,
.principles-intro .eyebrow,
.contact-copy .eyebrow {
  margin-bottom: 20px;
  color: var(--accent);
}

.section-heading h2 {
  font-size: clamp(2.1rem, 3.9vw, 3.55rem);
}

.section-heading > p:not(.eyebrow) {
  max-width: 620px;
  margin: 18px 0 0;
}

.workflow-demo {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: stretch;
}

.workflow-choice,
.case-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-raised);
}

.workflow-choice {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 38px);
}

.choice-label {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.case-tabs {
  display: grid;
  gap: 8px;
}

.case-tab {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  transition: border-color 180ms ease-out, color 180ms ease-out, background 180ms ease-out, transform 180ms ease-out;
}

.case-tab::after {
  content: "↗";
  color: currentColor;
  font-size: 15px;
}

.case-tab:hover {
  border-color: rgba(40, 104, 236, 0.6);
  color: var(--accent);
}

.case-tab.is-active {
  border-color: var(--accent);
  background: rgba(40, 104, 236, 0.08);
  color: var(--ink);
  font-weight: 700;
}

.case-tab.is-active::after {
  color: var(--accent);
}

.choice-note {
  margin: auto 0 0;
  padding-top: 30px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.case-panel {
  min-height: 386px;
  padding: clamp(26px, 4.3vw, 56px);
  box-shadow: var(--shadow-blue);
}

.panel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.panel-kicker,
.panel-mark {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.panel-mark {
  color: #8092a6;
  font-size: 10px;
  letter-spacing: 0.14em;
}

.case-panel h3 {
  max-width: 640px;
  margin: 28px 0 10px;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.28;
}

.case-summary {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.flow-progress {
  height: 2px;
  margin: 30px 0 10px;
  overflow: hidden;
  background: var(--line);
}

.flow-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0.08);
  transform-origin: left center;
  background: var(--accent);
}

.case-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-steps li {
  display: grid;
  gap: 6px;
  align-content: start;
  min-height: 72px;
  padding-top: 12px;
  border-top: 2px solid var(--line);
}

.case-steps li:first-child {
  border-color: var(--accent);
}

.case-steps li span:first-child {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.case-steps li span:last-child {
  color: var(--muted);
  font-size: 11px;
}

.disclaimer {
  max-width: 920px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.services-section {
  background: var(--surface);
}

.service-heading {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.55fr);
  align-items: end;
  gap: clamp(30px, 7vw, 100px);
}

.service-heading > p:not(.eyebrow) {
  margin-bottom: 5px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(220px, auto);
  grid-auto-flow: dense;
  gap: 16px;
}

.service-card {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-raised);
}

.service-card--lead {
  grid-column: span 7;
  grid-row: span 2;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  min-height: 470px;
}

.service-card--industrial,
.service-card--insurance {
  grid-column: span 5;
}

.service-card--admin {
  grid-column: span 12;
  min-height: 250px;
  align-items: center;
  gap: clamp(26px, 7vw, 100px);
  padding: 26px clamp(28px, 5vw, 64px);
  background: var(--surface-soft);
}

.service-image {
  min-height: 100%;
  overflow: hidden;
  background: var(--surface-soft);
}

.service-image img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  object-position: 70% center;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card--lead:hover .service-image img {
  transform: scale(1.045);
}

.service-card-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 4vw, 48px);
}

.service-category {
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.25;
}

.service-card-copy > p:not(.service-category) {
  max-width: 42ch;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.service-card-copy .text-link {
  margin-top: auto;
  padding-top: 24px;
}

.service-card--industrial {
  background:
    linear-gradient(130deg, rgba(243, 247, 251, 0.96), rgba(243, 247, 251, 0.77)),
    url("assets/irw-hero.png") 74% 55% / cover;
}

.service-card--insurance {
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82)),
    url("assets/irw-process.png") center / cover;
}

.admin-art {
  position: relative;
  display: grid;
  width: min(36%, 320px);
  min-width: 210px;
  height: 168px;
  align-content: center;
  gap: 13px;
  padding: 28px;
  border: 1px solid rgba(40, 104, 236, 0.22);
  border-radius: 6px;
  background: linear-gradient(140deg, #ffffff, #eaf2ff);
  box-shadow: var(--shadow-blue);
}

.admin-art-line {
  display: block;
  width: 78%;
  height: 7px;
  border-radius: 2px;
  background: #b8cbe5;
}

.admin-art-line:first-child {
  width: 50%;
  height: 10px;
  background: var(--accent);
}

.admin-art-line:nth-child(3) {
  width: 62%;
}

.admin-art-square {
  position: absolute;
  right: 22px;
  bottom: 20px;
  width: 22px;
  height: 22px;
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.digital-section {
  overflow: hidden;
  padding: clamp(88px, 11vw, 156px) 0 96px;
  background: var(--surface-deep);
  color: var(--on-dark);
}

.digital-intro {
  margin-bottom: clamp(48px, 7vw, 92px);
}

.digital-intro .eyebrow {
  color: #a9c9ff;
}

.digital-intro h2 {
  max-width: 960px;
  color: #ffffff;
  font-size: clamp(2.8rem, 5.4vw, 5.2rem);
}

.digital-lead {
  max-width: 670px;
  margin: 24px 0 0;
  color: rgba(245, 248, 252, 0.84);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.8;
}

.digital-note {
  margin: 16px 0 0;
  color: rgba(206, 221, 240, 0.72);
  font-size: 12px;
}

.story-wrap {
  position: relative;
  width: min(var(--content), calc(100% - 64px));
  margin: 0 auto;
  overflow: hidden;
}

.story-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.story-panel {
  display: grid;
  min-height: 420px;
  grid-template-columns: minmax(0, 0.9fr) minmax(250px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 58px);
  padding: clamp(28px, 4.5vw, 58px);
  border: 1px solid rgba(190, 214, 242, 0.18);
  border-radius: 8px;
  background: #132f4c;
}

.story-panel--two {
  background: #153653;
}

.story-panel--three {
  background: #173b5b;
}

.story-panel-copy {
  max-width: 470px;
}

.story-kicker {
  margin-bottom: 20px;
  color: #a9c9ff;
  font-size: 11px;
}

.story-panel h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.2;
  text-wrap: balance;
}

.story-panel-copy > p:last-child {
  max-width: 420px;
  margin: 18px 0 0;
  color: rgba(245, 248, 252, 0.77);
  font-size: 15px;
  line-height: 1.8;
}

.story-image {
  height: 285px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: #dbe7f4;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.story-flow {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr;
  align-items: center;
  min-height: 220px;
  padding: 24px 18px;
  border: 1px solid rgba(207, 224, 245, 0.19);
  border-radius: 6px;
  background: rgba(7, 24, 43, 0.2);
}

.flow-node {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.flow-node-shape {
  position: relative;
  display: block;
  width: 50px;
  height: 58px;
  border: 1px solid rgba(169, 201, 255, 0.62);
  border-radius: 5px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(40, 104, 236, 0.22));
}

.flow-node-shape::before,
.flow-node-shape::after {
  position: absolute;
  left: 10px;
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: #a9c9ff;
  content: "";
}

.flow-node-shape::before {
  top: 17px;
}

.flow-node-shape::after {
  top: 28px;
  width: 19px;
  opacity: 0.62;
}

.shape-review {
  border-radius: 50%;
}

.shape-next {
  border-color: var(--accent);
  background: var(--accent);
}

.flow-node strong {
  color: #ffffff;
  font-size: 12px;
}

.flow-node small {
  color: rgba(245, 248, 252, 0.68);
  font-size: 10px;
  line-height: 1.4;
}

.flow-connector {
  display: block;
  height: 1px;
  background: rgba(169, 201, 255, 0.58);
}

.review-visual {
  position: relative;
  display: grid;
  min-height: 280px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(207, 224, 245, 0.18);
  border-radius: 6px;
  background: radial-gradient(circle at center, rgba(40, 104, 236, 0.25), rgba(7, 24, 43, 0.05) 62%);
}

.review-orbit {
  position: absolute;
  width: 250px;
  height: 125px;
  border: 1px solid rgba(169, 201, 255, 0.48);
  border-radius: 50%;
  transform: rotate(-24deg);
}

.orbit-two {
  transform: rotate(34deg);
}

.review-core {
  position: relative;
  display: grid;
  width: 168px;
  height: 168px;
  align-content: center;
  justify-items: center;
  gap: 8px;
  border: 1px solid rgba(197, 219, 245, 0.45);
  border-radius: 50%;
  background: rgba(13, 37, 61, 0.94);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
  text-align: center;
}

.review-core span {
  color: #a9c9ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.review-core strong {
  color: #ffffff;
  font-size: 16px;
}

.review-core small {
  color: rgba(245, 248, 252, 0.66);
  font-size: 10px;
}

.story-progress {
  display: none;
}

.principles-section {
  background: var(--surface);
}

.principles-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(48px, 9vw, 140px);
}

.principles-intro h2 {
  font-size: clamp(2rem, 3.8vw, 3.45rem);
}

.principles-intro > p:not(.eyebrow) {
  max-width: 460px;
  margin-top: 22px;
}

.principles-list {
  border-top: 1px solid var(--line);
}

.principle {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.principle-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

.principle h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.principle p {
  max-width: 520px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.contact-section {
  padding-block: clamp(72px, 9vw, 120px);
  background: var(--surface-deep);
  color: var(--on-dark);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: end;
  gap: 56px;
}

.contact-copy .eyebrow {
  color: #a9c9ff;
}

.contact-copy h2 {
  color: #ffffff;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
}

.contact-copy > p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(245, 248, 252, 0.76);
}

.contact-actions {
  display: grid;
  justify-items: start;
  gap: 22px;
}

.contact-email {
  display: grid;
  gap: 3px;
  color: #ffffff;
}

.contact-email span {
  color: rgba(245, 248, 252, 0.65);
  font-size: 12px;
}

.contact-email strong {
  font-size: 18px;
  font-weight: 600;
}

.site-footer {
  background: #091e33;
  color: var(--on-dark);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.6fr);
  gap: 48px;
  padding-block: 54px 48px;
}

.brand-footer .brand-mark {
  border-color: rgba(201, 220, 255, 0.28);
  color: #a9c9ff;
}

.brand-footer .brand-copy strong,
.brand-footer .brand-copy small {
  color: #ffffff;
}

.footer-brand > p {
  max-width: 430px;
  margin: 18px 0 0;
  color: rgba(245, 248, 252, 0.68);
  font-size: 13px;
}

.footer-label {
  margin: 0 0 14px;
  color: rgba(245, 248, 252, 0.62);
  font-size: 12px;
  font-weight: 700;
}

.footer-contact {
  display: grid;
  justify-items: start;
  gap: 8px;
  color: rgba(245, 248, 252, 0.9);
  font-size: 13px;
}

.footer-contact p:not(.footer-label) {
  margin: 2px 0;
  color: rgba(245, 248, 252, 0.68);
}

.footer-contact a:hover {
  color: #a9c9ff;
}

.footer-bottom {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(245, 248, 252, 0.16);
  color: rgba(245, 248, 252, 0.58);
  font-size: 11px;
}

.footer-bottom p {
  margin: 0;
}

.reveal {
  will-change: auto;
}

.js-motion .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(24px);
}

.js-motion .hero-content > * {
  opacity: 0;
  transform: translateY(20px);
}

@media (min-width: 960px) {
  .js-motion .story-wrap {
    overflow: visible;
  }

  .js-motion .story-track {
    display: flex;
    width: max-content;
    gap: 18px;
  }

  .js-motion .story-panel {
    width: min(72vw, 820px);
    min-height: max(420px, min(62vh, 560px));
    height: auto;
    flex: 0 0 auto;
  }

  .js-motion .story-progress {
    display: block;
    width: 100%;
    height: 2px;
    margin-top: 28px;
    overflow: hidden;
    background: rgba(245, 248, 252, 0.2);
  }

  .js-motion .story-progress span {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    background: #7faaff;
  }
}

@media (max-width: 1023px) {
  .desktop-nav {
    gap: 16px;
    font-size: 13px;
  }

  .desktop-nav .nav-cta {
    padding-inline: 16px;
  }

  .service-card--lead {
    grid-template-columns: 1fr;
  }

  .service-image {
    min-height: 230px;
  }

  .service-image img {
    min-height: 230px;
    max-height: 290px;
  }

  .story-panel {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 72px;
  }

  .shell {
    width: min(var(--content), calc(100% - 40px));
  }

  .header-inner {
    min-height: 68px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 40px;
    height: 38px;
    font-size: 12px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy small {
    font-size: 10px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    align-content: center;
    justify-items: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    cursor: pointer;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--ink);
    transition: transform 180ms ease-out;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .mobile-nav:not([hidden]) {
    display: grid;
    gap: 0;
    padding: 0 20px 14px;
    border-top: 1px solid var(--line);
    background: var(--surface);
  }

  .mobile-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
  }

  .mobile-nav a:last-child {
    border-bottom: 0;
    color: var(--accent);
  }

  .hero {
    min-height: 680px;
    min-height: min(760px, calc(100svh - 68px));
  }

  .hero-photo img {
    object-position: 67% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(7, 24, 43, 0.42), rgba(7, 24, 43, 0.82)),
      linear-gradient(90deg, rgba(7, 24, 43, 0.46), rgba(7, 24, 43, 0.18));
  }

  .hero-content {
    padding-block: 108px 126px;
    text-align: left;
  }

  .hero-eyebrow {
    margin-bottom: 22px;
    font-size: 10px;
    letter-spacing: 0.11em;
  }

  .hero h1 {
    max-width: 650px;
    margin-inline: 0;
    font-size: clamp(2rem, 8.8vw, 2.7rem);
    letter-spacing: -0.07em;
    line-height: 1.25;
    text-wrap: pretty;
  }

  .hero h1 br {
    display: none;
  }

  .hero-description {
    max-width: 500px;
    margin: 22px 0 0;
    font-size: 15px;
    line-height: 1.75;
  }

  .hero-actions {
    justify-content: flex-start;
    gap: 10px;
    margin-top: 26px;
  }

  .button {
    min-height: 50px;
    padding-inline: 18px;
    font-size: 14px;
  }

  .hero-edge-link {
    right: 20px;
    bottom: 20px;
    left: 20px;
    justify-content: space-between;
  }

  .intro-grid,
  .workflow-demo,
  .principles-grid,
  .contact-inner,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    gap: 28px;
  }

  .intro-title,
  .section-heading h2,
  .digital-intro h2,
  .principles-intro h2,
  .contact-copy h2 {
    font-size: clamp(2rem, 8vw, 2.85rem);
  }

  .intro-copy p,
  .section-heading > p:not(.eyebrow),
  .principles-intro > p:not(.eyebrow),
  .contact-copy > p:not(.eyebrow) {
    font-size: 15px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .workflow-demo {
    gap: 12px;
  }

  .workflow-choice {
    padding: 22px;
  }

  .choice-note {
    padding-top: 18px;
  }

  .case-panel {
    min-height: auto;
    padding: 24px 20px;
  }

  .case-panel h3 {
    margin-top: 22px;
    font-size: 24px;
  }

  .case-summary {
    font-size: 14px;
  }

  .case-steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .case-steps li {
    min-height: auto;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding-top: 10px;
  }

  .case-steps li span:first-child {
    font-size: 13px;
  }

  .case-steps li span:last-child {
    font-size: 10px;
  }

  .disclaimer {
    margin-top: 16px;
  }

  .service-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 12px;
  }

  .service-card--lead,
  .service-card--industrial,
  .service-card--insurance,
  .service-card--admin {
    grid-column: auto;
    grid-row: auto;
    min-height: auto;
  }

  .service-card--lead {
    display: flex;
    flex-direction: column;
  }

  .service-image,
  .service-image img {
    height: 230px;
    min-height: 230px;
  }

  .service-card-copy {
    min-height: 260px;
    padding: 26px 24px;
  }

  .service-card h3 {
    font-size: 24px;
  }

  .service-card-copy > p:not(.service-category) {
    font-size: 14px;
  }

  .service-card--industrial,
  .service-card--insurance {
    min-height: 275px;
  }

  .service-card--admin {
    display: grid;
    justify-items: start;
    gap: 22px;
    padding: 22px;
  }

  .admin-art {
    width: 100%;
    min-width: 0;
    max-width: 340px;
  }

  .digital-section {
    padding-block: 76px 68px;
  }

  .digital-intro {
    margin-bottom: 34px;
  }

  .digital-intro h2 {
    font-size: clamp(2.1rem, 8.8vw, 3.05rem);
  }

  .digital-lead {
    margin-top: 18px;
    font-size: 15px;
  }

  .story-wrap {
    width: calc(100% - 40px);
    overflow: visible;
  }

  .story-track {
    display: grid !important;
    width: auto !important;
    gap: 12px;
  }

  .story-panel {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 26px 22px;
  }

  .story-panel h3 {
    font-size: 28px;
  }

  .story-panel-copy > p:last-child {
    font-size: 14px;
  }

  .story-image {
    height: 210px;
  }

  .story-flow {
    min-height: 185px;
    grid-template-columns: 1fr 16px 1fr 16px 1fr;
    padding-inline: 8px;
  }

  .flow-node-shape {
    width: 40px;
    height: 48px;
  }

  .flow-node-shape::before,
  .flow-node-shape::after {
    left: 7px;
  }

  .flow-node strong {
    font-size: 10px;
  }

  .flow-node small {
    font-size: 9px;
  }

  .review-visual {
    min-height: 230px;
  }

  .review-orbit {
    width: 220px;
    height: 108px;
  }

  .principles-grid {
    gap: 34px;
  }

  .principle {
    grid-template-columns: 42px 1fr;
    gap: 13px;
    padding-block: 19px;
  }

  .principle-mark {
    width: 34px;
    height: 34px;
  }

  .principle h3 {
    font-size: 16px;
  }

  .principle p {
    font-size: 13px;
  }

  .contact-inner {
    gap: 34px;
  }

  .contact-actions {
    gap: 18px;
  }

  .footer-main {
    gap: 30px;
    padding-block: 40px 36px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding-block: 16px;
  }
}

@media (max-width: 380px) {
  .shell {
    width: calc(100% - 32px);
  }

  .hero h1 {
    font-size: 31px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .story-flow {
    grid-template-columns: 1fr 10px 1fr 10px 1fr;
    padding-inline: 5px;
  }

  .flow-node small {
    max-width: 62px;
    overflow-wrap: anywhere;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #0e1e2e;
    --surface-soft: #14283b;
    --surface-raised: #172d43;
    --surface-deep: #091b2e;
    --ink: #f3f7fb;
    --muted: #b2c1d0;
    --line: #31475c;
    --accent: #76a8ff;
    --accent-hover: #95bbff;
    --on-dark: #f5f8fc;
    --shadow-blue: 0 28px 48px -32px rgba(0, 0, 0, 0.55), 0 14px 26px -18px rgba(0, 0, 0, 0.3);
  }

  .site-header {
    border-color: rgba(49, 71, 92, 0.86);
  }

  .service-card--industrial {
    background:
      linear-gradient(130deg, rgba(20, 40, 59, 0.95), rgba(20, 40, 59, 0.75)),
      url("assets/irw-hero.png") 74% 55% / cover;
  }

  .service-card--insurance {
    background:
      linear-gradient(125deg, rgba(23, 45, 67, 0.95), rgba(23, 45, 67, 0.78)),
      url("assets/irw-process.png") center / cover;
  }

  .admin-art {
    background: linear-gradient(140deg, #203953, #14283d);
  }

  .admin-art-line {
    background: #7590ad;
  }

  .case-tab.is-active {
    background: rgba(118, 168, 255, 0.14);
  }
}

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

  .js-motion .reveal:not(.is-visible),
  .js-motion .hero-content > * {
    opacity: 1 !important;
    transform: none !important;
  }
}
