:root {
  --ink: #11110f;
  --muted-ink: #66655f;
  --paper: #ffffff;
  --soft: #f6f6f1;
  --line: #deded6;
  --yellow: #f7d844;
  --yellow-soft: #fff2a8;
  --mint: #bff3b7;
  --blue: #c8ddf4;
  --pink: #f6b2e7;
  --coral: #ff725e;
  --radius-sm: 18px;
  --radius-md: 28px;
  --radius-lg: 42px;
  --page: min(1180px, calc(100vw - 48px));
  --shadow-soft: 0 22px 70px rgba(31, 31, 23, 0.09);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --space-hero: 78px;
  --space-section: 78px;
  --space-card: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.container { width: var(--page); margin-inline: auto; }
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, .86);
  border-bottom: 1px solid rgba(222, 222, 214, .7);
  backdrop-filter: blur(18px);
}
.nav-shell {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", "DM Sans", Arial, sans-serif;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.brand-mark { width: 26px; height: 26px; transition: transform 500ms var(--ease-out); }
.brand:hover .brand-mark { transform: rotate(45deg); }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a { position: relative; padding-block: 12px; color: #4e4e49; font-size: .78rem; font-weight: 500; }
.main-nav a::after {
  content: ""; position: absolute; right: 0; bottom: 7px; left: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 220ms var(--ease-out);
}
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.nav-actions > a:first-child { font-size: .78rem; font-weight: 500; }
.button {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0 22px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); background: white;
  font-size: .86rem; font-weight: 600; cursor: pointer; transition: transform 220ms var(--ease-out), box-shadow 220ms ease;
}
.button:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(17,17,15,.12); }
.button--dark { color: white; background: var(--ink); }
.button--light { color: var(--ink); background: white; border-color: white; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; }
.page-hero {
  padding: var(--space-hero) 0 52px;
}
.page-hero h1 {
  margin: 0 0 16px; max-width: 820px; font: 400 clamp(3rem, 5vw, 5.4rem)/.98 "Instrument Serif", Georgia, serif; letter-spacing: -.04em;
}
.page-hero p {
  max-width: 740px; margin: 0; color: var(--muted-ink); font-size: 1.05rem;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-card); }
.card {
  padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--soft);
}
.card h3 { margin: 0 0 10px; font: 400 clamp(1.5rem, 2.4vw, 2.4rem)/1 "Instrument Serif", Georgia, serif; }
.card p { margin: 0; color: rgba(17,17,15,.75); }
.section-spacer { padding: var(--space-section) 0; }
.section-head { margin-bottom: 34px; }
.section-head h2 {
  margin: 4px 0 0; font: 400 clamp(2.8rem, 5vw, 4.8rem)/.96 "Instrument Serif", Georgia, serif; letter-spacing: -.04em;
}
.section-head p { color: var(--muted-ink); max-width: 680px; }
.showcase-board {
  margin-top: 30px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(246,246,241,.9), rgba(255,255,255,.95));
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 22px;
  align-items: center;
}
.showcase-side, .showcase-tile,
.showcase-phone {
  transition: transform 280ms var(--ease-out), box-shadow 280ms ease, filter 280ms ease;
}
.showcase-side, .showcase-tile {
  position: relative;
  min-height: 260px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(17,17,15,.1);
  background: linear-gradient(180deg, #fbf8f1, #f3efe3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.showcase-side::before,
.showcase-side::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.showcase-side::before {
  top: 16px;
  left: 16px;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255,255,255,.8);
  box-shadow: inset 0 0 0 1px rgba(17,17,15,.08);
}
.showcase-side::after {
  right: -34px;
  bottom: -34px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
}
.showcase-side h3, .showcase-tile h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font: 400 1.25rem/1.05 "Instrument Serif", Georgia, serif;
}
.showcase-side p, .showcase-tile p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted-ink);
}
.showcase-board.about-showcase .showcase-side:first-child {
  background: linear-gradient(180deg, #f9f2e7, #efe6d6);
}
.showcase-board.about-showcase .showcase-side:first-child::before {
  background: radial-gradient(circle at top left, #fbd39a, #f3a75b 66%, transparent 66%);
}
.showcase-board.about-showcase .showcase-side:first-child::after {
  background: rgba(236, 166, 86, .30);
}
.showcase-board.about-showcase .showcase-side:last-child {
  background: linear-gradient(180deg, #f6f7f0, #edf1e7);
}
.showcase-board.about-showcase .showcase-side:last-child::before {
  background: radial-gradient(circle at top left, #b9f0bc, #6ecb8c 66%, transparent 66%);
}
.showcase-board.about-showcase .showcase-side:last-child::after {
  background: rgba(99, 191, 111, .26);
}
.showcase-side:hover,
.showcase-tile:hover,
.showcase-phone:hover {
  transform: translateY(-4px) rotate(-0.15deg);
  box-shadow: 0 20px 38px rgba(17,17,15,.10);
}
.showcase-side:hover::before,
.showcase-side:hover::after {
  animation: drift 5s ease-in-out infinite;
}
.showcase-phone {
  min-height: 340px;
  padding: 18px;
  border-radius: 34px;
  background: linear-gradient(180deg, #10100d, #1a1a17);
  box-shadow: 0 24px 48px rgba(17,17,15,.18);
}
.showcase-phone-inner {
  height: 100%;
  padding: 20px;
  border-radius: 26px;
  background: linear-gradient(180deg, #efb672, #f6ba54 35%, #db6d36 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.showcase-phone-inner .mini-label {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.showcase-phone-inner .content-line {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(17,17,15,.36);
  color: white;
  font-size: .72rem;
}
.showcase-quote {
  padding: 22px;
  border-radius: 24px;
  background: var(--mint);
  border: 1px solid rgba(17,17,15,.08);
}
.showcase-quote strong {
  display: block;
  margin-bottom: 12px;
  font: 400 2rem/1 "Instrument Serif", Georgia, serif;
}
@keyframes drift {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.04); }
}
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-box { padding: 26px; border-radius: var(--radius-md); background: var(--soft); border: 1px solid var(--line); }
.stat-box strong { display: block; font: 400 2.5rem/1 "Instrument Serif", Georgia, serif; }
.stat-box p { margin: 6px 0 0; color: var(--muted-ink); }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pill {
  padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(17,17,15,.18); background: white; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.accents-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.accent-card {
  position: relative; min-height: 240px; padding: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(246,246,241,.98));
}
.accent-card:nth-child(1) { background: var(--yellow-soft); }
.accent-card:nth-child(2) { background: var(--blue); }
.accent-card:nth-child(3) { background: var(--mint); }
.accent-card::after {
  content: ""; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px; border-radius: 50%; background: rgba(255,255,255,.42);
}
.accent-card h3 { margin: 0 0 12px; font: 400 1.65rem/1.05 "Instrument Serif", Georgia, serif; }
.accent-card p { margin: 0; color: rgba(17,17,15,.74); }
.service-display {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: center;
}
.service-copy {
  min-width: 0;
}
.service-copy h2 {
  margin: 0 0 14px;
  font: 400 clamp(2.3rem, 4vw, 4rem)/.98 "Instrument Serif", Georgia, serif;
  letter-spacing: -.04em;
}
.service-copy p:last-of-type { color: var(--muted-ink); }
.laptop-shell {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 18px;
  border-radius: 32px;
  border: 8px solid #11110f;
  background: linear-gradient(180deg, #141413, #22221f);
  box-shadow: 0 28px 70px rgba(17,17,15,.16);
}
.laptop-shell::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -32px;
  width: 68%;
  height: 20px;
  transform: translateX(-50%);
  border-radius: 0 0 22px 22px;
  background: rgba(17,17,15,.42);
  filter: blur(8px);
}
.laptop-screen {
  position: relative;
  min-height: 420px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, #f8fbff, #ecf5fb 48%, #dce5f2 100%);
  overflow: hidden;
}
.screen-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.screen-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(17,17,15,.06);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.screen-pill.muted { background: rgba(17,17,15,.02); }
.screen-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 12px;
  margin-top: 18px;
}
.screen-panel {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(17,17,15,.08);
}
.screen-panel.large {
  grid-row: span 2;
  min-height: 250px;
}
.screen-panel.accent {
  background: rgba(114, 189, 97, .14);
}
.ui-title {
  margin-bottom: 14px;
  font-size: 1rem;
  font-weight: 700;
}
.ui-line {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #9ac7f0, #c8ddf4);
  margin-bottom: 10px;
}
.ui-line-wide { width: 72%; }
.ui-line-mid { width: 54%; }
.ui-line-short { width: 80%; }
.ui-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.ui-card {
  min-height: 90px;
  border-radius: 14px;
  background: linear-gradient(180deg, #dbe8fb, #f6f9fd);
}
.mini-stat {
  margin-bottom: 14px;
  font-size: .82rem;
  font-weight: 700;
  color: #144e7d;
}
.phone-preview {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 140px;
  padding: 10px;
  border-radius: 22px;
  background: #0f1010;
  box-shadow: 0 22px 40px rgba(17,17,15,.28);
}
.phone-screen {
  padding: 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, #d8ebff, #f6fbff);
}
.phone-top {
  width: 42px;
  height: 6px;
  border-radius: 999px;
  background: #8ebde6;
  margin-bottom: 14px;
}
.phone-card {
  height: 62px;
  border-radius: 12px;
  background: linear-gradient(120deg, #8c7cff, #5cb0ec);
  margin-bottom: 12px;
}
.phone-line {
  height: 8px;
  width: 78%;
  border-radius: 999px;
  background: rgba(17,17,15,.24);
}
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-card); }
.project-card {
  padding: 24px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; position: relative;
}
.project-card::before {
  content: ""; position: absolute; inset: auto auto -26px -20px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,114,94,.12);
}
.project-card h3 { margin: 0 0 8px; font: 400 1.8rem/1 "Instrument Serif", Georgia, serif; }
.project-card p { margin: 0 0 18px; color: var(--muted-ink); }
.project-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.project-meta span { padding: 5px 8px; border-radius: 999px; background: white; border: 1px solid var(--line); font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.editorial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.editorial-card {
  padding: 22px; border-radius: var(--radius-md); border: 1px solid var(--line); background: white; box-shadow: 0 12px 28px rgba(17,17,15,.04);
}
.editorial-card h3 { margin: 4px 0 10px; font: 400 2rem/1.05 "Instrument Serif", Georgia, serif; }
.editorial-card p { color: var(--muted-ink); }
.quote-card { padding: 42px; border-radius: var(--radius-lg); background: var(--mint); }
.quote-card blockquote { margin: 0; font: 400 clamp(2.4rem, 4vw, 4.2rem)/1.02 "Instrument Serif", Georgia, serif; letter-spacing: -.04em; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
label { display: grid; gap: 9px; font-size: .86rem; font-weight: 600; }
input, textarea, select {
  width: 100%; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; font: inherit; background: white;
}
textarea { min-height: 160px; resize: vertical; }
.form-actions { margin-top: 18px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; }
footer { padding: 48px 0; color: white; background: var(--ink); border-top: 1px solid #33332e; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 26px; color: #aaa9a1; font-size: .78rem; }
.footer-links a:hover { color: white; }

/* Taskello App Card Design */
.taskello-card {
  width: 100%;
  max-width: 380px;
  height: 360px;
  background-color: #000;
  border: 12px solid #000;
  border-radius: 42px;
  overflow: hidden;
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.taskello-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?q=80&w=1000&auto=format&fit=crop') center/cover;
}

.taskello-badge {
  position: absolute;
  top: 28px;
  right: 24px;
  color: white;
  font-weight: 600;
  font-size: 15px;
  text-align: right;
  line-height: 1.25;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.taskello-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 220px;
  z-index: 2;
}

.taskello-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.taskello-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 24px 20px;
  box-sizing: border-box;
}

.taskello-header h4 {
  color: #ffffff;
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 3px 0;
  letter-spacing: -0.01em;
}

.taskello-header p {
  color: #909090;
  font-size: 15px;
  margin: 0;
  font-weight: 500;
}

.taskello-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2px;
}

.taskello-date {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.taskello-date strong {
  font-size: 42px;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.taskello-count {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

/* Impact Card Design for Work page */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.impact-card {
  width: 100%;
  max-width: 380px;
  background: #f4f4f4;
  border: 4px solid #1c1c1c;
  border-radius: 14px;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1c1c1c;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.impact-top {
  display: flex;
  height: 84px;
  border-bottom: 4px solid #1c1c1c;
}

.impact-brand {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 24px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.05em;
  border-right: 4px solid #1c1c1c;
  background: #ffffff;
}
.impact-brand span { color: #f05000; }

.impact-metal {
  width: 84px;
  background: conic-gradient(from 180deg at 50% 50%, #e8e8e8, #ffffff, #bcbcbc, #ffffff, #e8e8e8, #ffffff, #bcbcbc, #ffffff, #e8e8e8);
}

.impact-bottom {
  display: flex;
  flex: 1;
  min-height: 280px;
}

.impact-sidebar {
  width: 110px;
  display: flex;
  flex-direction: column;
  border-right: 4px solid #1c1c1c;
}

.impact-hatch {
  height: 100px;
  background: repeating-linear-gradient(45deg, #1c1c1c, #1c1c1c 3px, #3a3a3a 3px, #3a3a3a 5px);
  border-bottom: 4px solid #1c1c1c;
}

.impact-stat {
  flex: 1;
  background: #f05000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.impact-number {
  font-size: 52px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.06em;
  color: #1c1c1c;
}

.impact-unit {
  width: 32px;
  height: 32px;
  background: #1c1c1c;
  color: #f05000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}

.impact-content {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.impact-client {
  font-family: monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #888;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: auto;
}

.impact-client span {
  color: #1c1c1c;
  font-weight: 700;
}

.impact-text {
  margin-top: 30px;
}

.impact-text h4 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 10px 0;
  letter-spacing: -0.03em;
}

.impact-text p {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
  margin: 0;
  font-weight: 500;
}

/* Akyra Unified Dashboard */
.akyra-dashboard {
  width: 100%;
  max-width: 1100px;
  margin: 60px auto 0;
  background: #f7f7f7;
  border: 6px solid #1c1c1c;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.12);
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: minmax(380px, auto) minmax(160px, auto);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1c1c1c;
}

.dash-main {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  border-right: 6px solid #1c1c1c;
  border-bottom: 6px solid #1c1c1c;
  position: relative;
  background: url('https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?q=80&w=1000&auto=format&fit=crop') center/cover;
}

.dash-main-badge {
  position: absolute;
  top: 36px;
  right: 36px;
  color: white;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 3;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.dash-main-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 220px;
  z-index: 2;
}

.dash-main-svg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%; z-index: 1;
}

.dash-main-content {
  position: relative;
  z-index: 2;
  padding: 40px 48px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.dash-side {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  border-bottom: 6px solid #1c1c1c;
  background: #1c1c1c;
  color: white;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
}

.dash-bottom {
  grid-column: 1 / 3;
  grid-row: 2 / 3;
  display: flex;
  background: white;
}

.dash-bottom-hatch {
  width: 160px;
  background: repeating-linear-gradient(45deg, #1c1c1c, #1c1c1c 4px, #3a3a3a 4px, #3a3a3a 6px);
  border-right: 6px solid #1c1c1c;
}

.dash-bottom-metal {
  width: 100px;
  background: conic-gradient(from 180deg at 50% 50%, #e8e8e8, #ffffff, #bcbcbc, #ffffff, #e8e8e8, #ffffff, #bcbcbc, #ffffff, #e8e8e8);
  border-right: 6px solid #1c1c1c;
}

.dash-bottom-text {
  flex: 1;
  padding: 36px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dash-bottom-stat {
  width: 160px;
  background: #f05000;
  border-left: 6px solid #1c1c1c;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 980px) {
  .akyra-dashboard { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .dash-main { grid-column: 1 / 2; grid-row: 1 / 2; border-right: none; }
  .dash-side { grid-column: 1 / 2; grid-row: 2 / 3; }
  .dash-bottom { grid-column: 1 / 2; grid-row: 3 / 4; flex-direction: column; }
  .dash-bottom-hatch, .dash-bottom-metal, .dash-bottom-stat { width: 100%; border-right: none; border-left: none; }
  .dash-bottom-hatch { height: 60px; border-bottom: 6px solid #1c1c1c; }
  .dash-bottom-metal { height: 60px; border-bottom: 6px solid #1c1c1c; }
  .dash-bottom-stat { padding: 30px; border-top: 6px solid #1c1c1c; }
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger inner elements of the dashboard */
.akyra-dashboard.animate-on-scroll .dash-main,
.akyra-dashboard.animate-on-scroll .dash-side,
.akyra-dashboard.animate-on-scroll .dash-bottom {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.akyra-dashboard.is-visible .dash-main {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.akyra-dashboard.is-visible .dash-side {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.akyra-dashboard.is-visible .dash-bottom {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

/* Insight Stack (Blog Page) */
.insight-stack {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 60px auto 140px;
  height: 720px;
}

.insight-folder {
  position: absolute;
  top: var(--offset-y, 0);
  left: var(--offset-x, 0);
  width: var(--folder-width, 600px);
  height: 440px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
  z-index: var(--z-index, 1);
  color: var(--folder-text, #111);
}

.insight-folder:hover {
  transform: translateY(-24px) scale(1.02);
  z-index: 100 !important;
  box-shadow: 0 40px 80px rgba(0,0,0,0.2);
}

.folder-tab-container {
  display: flex;
  padding-left: var(--tab-offset, 0);
  filter: drop-shadow(0 -4px 10px rgba(0,0,0,0.05));
}

.folder-tab {
  background-color: var(--folder-color);
  padding: 16px 36px;
  border-radius: 18px 18px 0 0;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  display: inline-block;
  position: relative;
  z-index: 2;
  margin-bottom: -1px;
}

.folder-body {
  background-color: var(--folder-color);
  flex: 1;
  border-radius: var(--body-radius, 0 24px 24px 24px);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 10px 10px 40px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
}

.folder-body h2 {
  font-size: 42px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 20px 0;
}

.folder-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.25);
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  color: inherit;
  text-decoration: none;
  align-self: flex-start;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.3s;
}

.folder-link:hover {
  background: rgba(255,255,255,0.4);
}

.folder-link svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 980px) {
  .insight-stack {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 40px auto;
  }
  .insight-folder {
    position: relative;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: 400px;
  }
  .folder-body h2 {
    font-size: 32px;
  }
  .folder-tab-container {
    padding-left: 0 !important;
  }
  .folder-body {
    border-radius: 0 20px 20px 20px !important;
  }
}

@media (max-width: 980px) {
  :root { --page: min(100% - 34px, 760px); --space-hero: 64px; --space-section: 64px; }
  .nav-shell { grid-template-columns: 1fr auto; }
  .menu-toggle { display: grid; }
  .main-nav, .nav-actions {
    position: fixed; right: 17px; left: 17px; display: none; background: white;
  }
  .main-nav { top: 88px; padding: 24px; flex-direction: column; align-items: stretch; gap: 4px; border: 1px solid var(--line); border-bottom: 0; border-radius: 24px 24px 0 0; box-shadow: var(--shadow-soft); }
  .nav-actions { top: 432px; padding: 0 24px 24px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 24px 24px; }
  .main-nav.is-open, .nav-actions.is-open { display: flex; }
  .main-nav a { min-height: 46px; display: flex; align-items: center; font-size: 1rem; }
  .showcase-board { grid-template-columns: 1fr; }
  .showcase-side, .showcase-tile, .showcase-phone { min-height: auto; }
  .showcase-phone { order: 2; }
  .service-display { grid-template-columns: 1fr; gap: 28px; }
  .grid-2, .form-grid, .stats-row, .work-grid, .accents-grid, .editorial-grid { grid-template-columns: 1fr; }
  .hero { overflow: visible; }
  .hero-copy { max-width: 100%; }
}
@media (max-width: 720px) {
  :root { --page: calc(100vw - 28px); --radius-lg: 30px; --space-hero: 58px; --space-section: 58px; --space-card: 18px; }
  .page-hero { padding-top: 52px; }
  .page-hero h1 { margin-bottom: 12px; }
  .showcase-board { padding: 18px; gap: 14px; }
  .showcase-side, .showcase-tile { min-height: 190px; }
  .showcase-phone { min-height: 280px; }
  .showcase-phone-inner { padding: 16px; }
  .showcase-quote { padding: 18px; }
  .showcase-quote strong { font-size: 1.6rem; }
  .service-display { gap: 22px; }
  .laptop-shell { padding: 12px; border-width: 6px; border-radius: 22px; }
  .laptop-screen { min-height: 360px; padding: 14px; }
  .phone-preview { position: static; margin-top: 16px; width: 120px; }
  .screen-grid { grid-template-columns: 1fr; }
  .screen-panel.large { grid-row: auto; min-height: 200px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .hero { overflow: visible; }
  .hero-copy { max-width: 100%; }
  .hero h1 { line-height: .94; }
  .hero-stage { overflow: visible; }
}

/* Work Fan Hero */
.work-fan-hero {
  background:
    linear-gradient(180deg, rgba(222, 244, 255, 0.72), rgba(247, 251, 255, 0.82)),
    url('https://images.unsplash.com/photo-1500375592092-40eb2168fd21?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;
  padding: 120px 40px 0;
  overflow: hidden;
  text-align: center;
}

.work-fan-hero h1 {
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  max-width: 800px;
  margin: 0 auto 16px;
  color: #111;
}

.work-fan-hero .hero-sub {
  font-size: 17px;
  color: #666;
  max-width: 480px;
  margin: 0 auto 80px;
  line-height: 1.6;
}

/* The fan container */
.work-fan-stage {
  position: relative;
  height: 420px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* Individual fan cards */
.fan-card {
  position: absolute;
  bottom: 0;
  width: 210px;
  height: 310px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  cursor: pointer;
  transform-origin: bottom center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s;
  /* Start stacked for animation */
  transform: rotate(0deg) translateX(0) translateY(40px);
  opacity: 0;
}

.fan-card.is-fanned {
  opacity: 1;
}

.fan-card:nth-of-type(1) { --fan-rotate: -28deg; --fan-tx: -370px; --fan-delay: 0s;    background: #2b2b2b; color: #fff; }
.fan-card:nth-of-type(2) { --fan-rotate: -14deg; --fan-tx: -185px; --fan-delay: 0.06s; background: #f05000; color: #fff; }
.fan-card:nth-of-type(3) { --fan-rotate:   0deg; --fan-tx:    0px; --fan-delay: 0.12s; background: #c5ff2e; color: #111; }
.fan-card:nth-of-type(4) { --fan-rotate:  14deg; --fan-tx:  185px; --fan-delay: 0.18s; background: #4164ff; color: #fff; }
.fan-card:nth-of-type(5) { --fan-rotate:  28deg; --fan-tx:  370px; --fan-delay: 0.24s; background: #1c1c1c; color: #fff; }

.fan-card.is-fanned {
  transform: rotate(var(--fan-rotate)) translateX(var(--fan-tx)) translateY(0);
  transition: transform 0.9s cubic-bezier(0.16,1,0.3,1) var(--fan-delay),
              opacity 0.6s ease var(--fan-delay),
              box-shadow 0.4s;
}

.fan-card:hover {
  transform: rotate(calc(var(--fan-rotate) * 0.3)) translateX(var(--fan-tx)) translateY(-32px) !important;
  box-shadow: 0 40px 80px rgba(0,0,0,0.25);
  z-index: 10;
}

.fan-card-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.6;
  margin-bottom: 8px;
}

.fan-card-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.fan-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: inherit;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.fan-card-link:hover { opacity: 1; }

/* Floating client badges */
.fan-badge {
  position: absolute;
  background: white;
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #111;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  white-space: nowrap;
  z-index: 20;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fan-badge.is-fanned {
  opacity: 1;
  transform: translateY(0);
}

.fan-badge--1 { top: 60px; left: 8%;  transition-delay: 0.5s; }
.fan-badge--2 { top: 30px; right: 12%; transition-delay: 0.65s; }
.fan-badge--3 { top: 160px; left: 3%; transition-delay: 0.8s; }

/* Fan pattern overlay on cards */
.fan-card-pattern {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 55%;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  opacity: 0.15;
  background: repeating-linear-gradient(
    45deg,
    currentColor 0,
    currentColor 1px,
    transparent 0,
    transparent 50%
  );
  background-size: 12px 12px;
}

@media (max-width: 980px) {
  .work-fan-stage {
    height: 340px;
  }
  .fan-card {
    width: 160px;
    height: 240px;
    padding: 18px;
  }
  .fan-card:nth-of-type(1) { --fan-tx: -270px; }
  .fan-card:nth-of-type(2) { --fan-tx: -135px; }
  .fan-card:nth-of-type(4) { --fan-tx:  135px; }
  .fan-card:nth-of-type(5) { --fan-tx:  270px; }
  .fan-card-title { font-size: 15px; }
  .fan-badge--3 { display: none; }
}

@media (max-width: 640px) {
  .work-fan-stage {
    height: 280px;
  }
  .fan-card {
    width: 130px;
    height: 200px;
    padding: 14px;
  }
  .fan-card:nth-of-type(1) { --fan-tx: -195px; }
  .fan-card:nth-of-type(2) { --fan-tx: -100px; }
  .fan-card:nth-of-type(4) { --fan-tx:  100px; }
  .fan-card:nth-of-type(5) { --fan-tx:  195px; }
  .fan-badge--1, .fan-badge--2 { display: none; }
}

/* Contact Page Redesign */
.contact-split-layout {
  max-width: 1300px;
  margin: 80px auto 140px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-left h1 {
  font-size: 72px;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 24px 0;
}

.contact-form-container {
  background: #f7f7f7;
  padding: 60px;
  border-radius: 24px;
  border: 1px solid rgba(0,0,0,0.05);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #333;
  gap: 10px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: white;
  border: 1px solid rgba(0,0,0,0.1);
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  color: #111;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #f05000;
}

@media (max-width: 980px) {
  .contact-split-layout {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 0 20px;
  }
  .contact-left h1 {
    font-size: 56px;
  }
  .contact-form-container {
    padding: 30px;
  }
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* Privacy Policy Styling */
.privacy-layout {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}
.privacy-content {
  color: var(--muted-ink);
  font-size: 1.05rem;
  line-height: 1.7;
}
.privacy-content h2 {
  font: 400 clamp(1.8rem, 3.2vw, 2.5rem)/1.1 "Instrument Serif", Georgia, serif;
  color: var(--ink);
  margin-top: 48px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.privacy-content h3 {
  font: 700 0.88rem/1.2 "Space Grotesk", sans-serif;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 32px;
  margin-bottom: 12px;
}
.privacy-content p {
  margin-top: 0;
  margin-bottom: 24px;
}
.privacy-content ul {
  margin-top: 0;
  margin-bottom: 28px;
  padding-left: 24px;
}
.privacy-content li {
  margin-bottom: 10px;
}
.privacy-content a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.2s;
}
.privacy-content a:hover {
  opacity: 0.7;
}

/* Healthcare / HMIS service page */
.healthcare-page {
  --hc-blue: #2457f5;
  --hc-blue-dark: #173fc2;
  --hc-blue-soft: #eaf1ff;
  --hc-sky: #dbe8ff;
  --hc-charcoal: #171916;
  --hc-warm: #fbfbf8;
  --hc-lime: #c9f75b;
  background: var(--hc-warm);
}

.healthcare-page .main-nav a[aria-current="page"] { color: var(--ink); }
.healthcare-page .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.healthcare-page main { overflow: hidden; }
.healthcare-page em { font-weight: 400; }
.skip-link { position: fixed; z-index: 999; top: 12px; left: 12px; padding: 11px 15px; transform: translateY(-160%); border-radius: 8px; color: #fff; background: var(--ink); font-size: .82rem; font-weight: 700; transition: transform 180ms ease; }
.skip-link:focus { transform: translateY(0); }
.healthcare-page .button:active,
.healthcare-page .hmis-text-link:active { transform: translateY(0); opacity: .82; }
.healthcare-page summary { touch-action: manipulation; }

.hmis-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--hc-blue-dark);
  font: 700 .69rem/1 "Space Grotesk", sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hmis-kicker > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hc-lime);
  box-shadow: 0 0 0 4px rgba(201, 247, 91, .24);
}

.hmis-hero {
  position: relative;
  padding: clamp(74px, 9vw, 128px) 0 clamp(86px, 10vw, 138px);
  background:
    radial-gradient(circle at 91% 10%, rgba(64, 109, 255, .12), transparent 31%),
    linear-gradient(180deg, #fff 0%, #fbfbf8 72%, #f4f5f1 100%);
}

.hmis-discovery-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.hmis-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 12px;
  border: 1px solid rgba(36, 87, 245, .12);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 8px 18px rgba(21, 37, 75, .06);
  color: var(--hc-charcoal);
  font: 700 .66rem/1 "Space Grotesk", sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  animation: floatBadge 6s ease-in-out infinite;
}

.hmis-pill--primary {
  border-color: rgba(36, 87, 245, .22);
  background: var(--hc-blue);
  box-shadow: 0 18px 28px rgba(36, 87, 245, .2);
  color: #fff;
}

.hmis-pill--accent {
  background: rgba(201, 247, 91, .28);
  border-color: rgba(47, 92, 0, .08);
}

.hmis-pill:nth-child(2) { animation-delay: 0.8s; }
.hmis-pill:nth-child(3) { animation-delay: 1.5s; }

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.hmis-hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(36, 87, 245, .24), transparent);
}

.hmis-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(480px, 1.04fr);
  gap: clamp(50px, 6vw, 92px);
  align-items: center;
}

.hmis-hero-copy h1,
.hmis-section-head h2,
.hmis-neutral-copy h2,
.hmis-abdm-copy h2,
.hmis-why-copy h2,
.hmis-enquiry-copy h2 {
  margin: 0;
  font: 400 clamp(3.25rem, 6vw, 6rem)/.92 "Instrument Serif", Georgia, serif;
  letter-spacing: -.052em;
}

.hmis-hero-copy h1 { max-width: 720px; }
.hmis-inline-space { display: none; }
.hmis-hero-copy h1 em,
.hmis-section-head h2 em,
.hmis-neutral-copy h2 em,
.hmis-abdm-copy h2 em,
.hmis-enquiry-copy h2 em {
  color: var(--hc-blue);
}

.hmis-hero-line {
  max-width: 620px;
  margin: 28px 0 14px;
  color: var(--hc-charcoal);
  font: 600 clamp(1.05rem, 1.5vw, 1.22rem)/1.45 "Space Grotesk", sans-serif;
}

.hmis-lead {
  max-width: 660px;
  margin: 0;
  color: #5d615a;
  font-size: 1rem;
  line-height: 1.75;
}

.hmis-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
}

.hmis-actions .button { min-height: 54px; padding-inline: 26px; }
.hmis-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ink);
  font-size: .88rem;
  font-weight: 700;
}

.hmis-trust-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 26px 0 0;
  color: #6b7068;
  font-size: .76rem;
}

.hmis-trust-note span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hc-blue);
}

.hmis-interface {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(20, 35, 85, .13);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(33, 51, 103, .16);
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}

.hmis-discovery-card {
  position: absolute;
  z-index: 4;
  top: 62px;
  right: 26px;
  display: grid;
  gap: 5px;
  max-width: 210px;
  padding: 12px 14px;
  border: 1px solid rgba(26, 44, 92, .08);
  border-radius: 16px;
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 20px 36px rgba(35, 47, 82, .14);
  backdrop-filter: blur(8px);
  transform: rotate(4deg);
}

.hmis-tag {
  color: var(--hc-blue-dark);
  font: 700 .58rem/1 "Space Grotesk", sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hmis-discovery-card strong {
  color: var(--hc-charcoal);
  font: 600 .9rem/1.35 "Space Grotesk", sans-serif;
  letter-spacing: -.02em;
}

.hmis-interface-topbar {
  min-height: 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid #e8eaf0;
  color: #747a86;
  font: 600 .62rem/1 "Space Grotesk", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hmis-window-dots { display: flex; gap: 5px; }
.hmis-window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #d6d9df; }
.hmis-window-dots i:first-child { background: var(--hc-blue); }
.hmis-live-label { justify-self: end; padding: 6px 9px; border-radius: 999px; color: #3159c4; background: var(--hc-blue-soft); }
.hmis-interface-body { min-height: 438px; display: grid; grid-template-columns: 54px 1fr; }
.hmis-interface-nav { padding: 19px 14px; border-right: 1px solid #eceef2; background: #f8f9fb; }
.hmis-interface-nav span { display: block; width: 24px; height: 24px; margin-bottom: 14px; border-radius: 8px; background: #e3e5e9; }
.hmis-interface-nav span.active { background: var(--hc-blue); box-shadow: 0 7px 14px rgba(36,87,245,.2); }
.hmis-interface-main { min-width: 0; padding: 24px; }
.hmis-interface-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hmis-interface-heading small { display: block; margin-bottom: 4px; color: #858a95; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
.hmis-interface-heading strong { display: block; font: 600 1.05rem/1.2 "Space Grotesk", sans-serif; }
.hmis-interface-heading > span { padding: 7px 10px; border: 1px solid #dde1ea; border-radius: 999px; color: #6e7480; font-size: .62rem; }
.hmis-system-map { position: relative; height: 265px; margin-top: 18px; border: 1px solid #e8ebf1; border-radius: 20px; background: radial-gradient(circle at center, rgba(36,87,245,.08), transparent 42%), #fafbfc; }
.hmis-system-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hmis-system-map path { fill: none; stroke: #c6cede; stroke-width: 1.5; stroke-dasharray: 5 5; }
.hmis-map-node { position: absolute; z-index: 2; display: flex; align-items: center; gap: 7px; min-width: 104px; padding: 9px 11px; border: 1px solid #e0e4ec; border-radius: 10px; background: #fff; box-shadow: 0 8px 18px rgba(27,38,69,.07); color: #555c67; font-size: .68rem; font-weight: 600; }
.hmis-map-node i { width: 7px; height: 7px; border-radius: 50%; background: #aab3c4; }
.hmis-map-node.node-registration { top: 35px; left: 26px; }
.hmis-map-node.node-clinical { top: 35px; right: 26px; }
.hmis-map-node.node-billing { bottom: 28px; left: 26px; }
.hmis-map-node.node-pharmacy { right: 26px; bottom: 28px; }
.hmis-map-node.node-clinical i,
.hmis-map-node.node-pharmacy i { background: var(--hc-blue); }
.hmis-map-core { position: absolute; z-index: 3; top: 50%; left: 50%; width: 126px; height: 126px; display: flex; flex-direction: column; align-items: center; justify-content: center; transform: translate(-50%, -50%); border: 1px solid rgba(36,87,245,.3); border-radius: 50%; background: #fff; box-shadow: 0 16px 34px rgba(36,87,245,.14); text-align: center; }
.hmis-map-core small { color: #747b87; font-size: .52rem; text-transform: uppercase; letter-spacing: .1em; }
.hmis-map-core strong { margin: 3px 0; color: var(--hc-blue); font: 700 1.38rem/1 "Space Grotesk", sans-serif; }
.hmis-map-core span { color: #8a909a; font-size: .54rem; }
.hmis-interface-footer { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-top: 14px; }
.hmis-interface-footer div { padding: 10px; border-radius: 10px; background: #f4f6f9; }
.hmis-interface-footer span { display: block; color: var(--hc-blue); font: 700 .66rem/1 "Space Grotesk", sans-serif; }
.hmis-interface-footer small { color: #747a85; font-size: .58rem; }

.hmis-section { padding: clamp(86px, 10vw, 138px) 0; }
.hmis-section-head { max-width: 900px; margin-bottom: 50px; }
.hmis-section-head h2,
.hmis-neutral-copy h2,
.hmis-abdm-copy h2,
.hmis-why-copy h2,
.hmis-enquiry-copy h2 { font-size: clamp(2.8rem, 5.2vw, 5.15rem); }
.hmis-section-head > p:last-child,
.hmis-neutral-copy > p,
.hmis-abdm-copy > p,
.hmis-why-copy > p,
.hmis-enquiry-copy > p { max-width: 700px; margin: 24px 0 0; color: #62665f; line-height: 1.75; }
.hmis-section-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 70px; align-items: end; }
.hmis-section-head--split > p { margin-bottom: 6px; }

.hmis-problem { background: #f0f1ed; }
.hmis-problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #cfd2ca; border-bottom: 1px solid #cfd2ca; }
.hmis-problem-grid article { min-height: 230px; padding: 26px 24px 24px; border-right: 1px solid #cfd2ca; }
.hmis-problem-grid article:last-child { border-right: 0; }
.hmis-problem-grid span,
.hmis-service-card > span,
.hmis-audience-grid article > span { color: var(--hc-blue); font: 700 .64rem/1 "Space Grotesk", sans-serif; letter-spacing: .08em; }
.hmis-problem-grid h3 { margin: 66px 0 12px; font: 500 1.12rem/1.2 "Space Grotesk", sans-serif; }
.hmis-problem-grid p { margin: 0; color: #6a6e67; font-size: .88rem; line-height: 1.6; }
.hmis-problem-close { max-width: 800px; margin: 36px 0 0 auto; padding-left: 24px; border-left: 2px solid var(--hc-blue); color: #565a54; font-size: .95rem; line-height: 1.7; }

.hmis-fieldview { color: #fff; background: var(--hc-charcoal); }
.hmis-fieldview .hmis-section-head { color: #fff; }
.hmis-fieldview .hmis-kicker { color: #9eb4ff; }
.hmis-fieldview .hmis-section-head h2 em { color: #a9bcff; }
.hmis-fieldview .hmis-section-head--split > p { color: #a9afa6; }
.hmis-fieldview-grid { min-height: 650px; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .65fr); gap: 14px; }
.hmis-fieldview-side { min-width: 0; display: grid; grid-template-rows: minmax(0, 1.16fr) auto; gap: 14px; }
.hmis-photo { position: relative; min-height: 0; overflow: hidden; margin: 0; border: 1px solid #393d38; border-radius: 24px; background: #252824; isolation: isolate; }
.hmis-photo::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(14,16,14,.86) 100%); pointer-events: none; }
.hmis-photo img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.82) contrast(1.03); transition: transform 700ms var(--ease-out), filter 300ms ease; }
.hmis-photo--primary img { object-position: 50% 52%; }
.hmis-photo--secondary img { object-position: 50% 48%; }
.hmis-photo:hover img { transform: scale(1.025); filter: saturate(.96) contrast(1.02); }
.hmis-photo figcaption { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(24px, 3.5vw, 42px); }
.hmis-photo figcaption > span { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: #d2d6cf; font: 600 .65rem/1.2 "Space Grotesk", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.hmis-photo figcaption > span b { color: #9eb4ff; font: inherit; }
.hmis-photo figcaption strong { max-width: 540px; font: 500 clamp(1.55rem, 3vw, 2.8rem)/1.04 "Instrument Serif", Georgia, serif; letter-spacing: -.025em; }
.hmis-photo figcaption small { margin-top: 14px; color: rgba(255,255,255,.58); font-size: .59rem; }
.hmis-photo figcaption small a { color: inherit; border-bottom: 1px solid rgba(255,255,255,.3); }
.hmis-photo--secondary figcaption { padding: 24px; }
.hmis-photo--secondary figcaption strong { max-width: 320px; font-size: clamp(1.3rem, 2vw, 1.8rem); }
.hmis-photo--secondary figcaption small { margin-top: 9px; }
.hmis-operations-card { display: flex; flex-direction: column; padding: 27px; border: 1px solid #3c403a; border-radius: 24px; background: #242723; }
.hmis-operations-card-head { display: flex; align-items: center; justify-content: space-between; color: #9eb4ff; font: 700 .63rem/1 "Space Grotesk", sans-serif; letter-spacing: .11em; text-transform: uppercase; }
.hmis-operations-card-head i { width: 8px; height: 8px; border-radius: 50%; background: var(--hc-lime); box-shadow: 0 0 0 5px rgba(203,255,75,.08); }
.hmis-operations-card > p { max-width: 360px; margin: 26px 0 28px; color: #d4d8d1; font: 500 clamp(1.15rem, 2vw, 1.55rem)/1.2 "Space Grotesk", sans-serif; letter-spacing: -.025em; }
.hmis-operations-list { margin-top: auto; border-top: 1px solid #3c403a; }
.hmis-operations-list > span { min-height: 42px; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; border-bottom: 1px solid #3c403a; color: #d7dbd4; font-size: .74rem; }
.hmis-operations-list b { color: #788074; font: 600 .58rem/1 "Space Grotesk", sans-serif; }
.hmis-operations-list i { color: #858b82; font-style: normal; font-size: .64rem; }

.hmis-services { background: #fff; }
.hmis-service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hmis-service-card { min-height: 300px; display: flex; flex-direction: column; padding: 24px; border: 1px solid #e1e3dd; border-radius: 18px; background: var(--hc-warm); transition: transform 240ms var(--ease-out), border-color 240ms ease, box-shadow 240ms ease; }
.hmis-service-card:hover { transform: translateY(-5px); border-color: rgba(36,87,245,.42); box-shadow: 0 22px 45px rgba(27,42,87,.09); }
.hmis-service-card h3 { margin: auto 0 13px; font: 500 1.18rem/1.2 "Space Grotesk", sans-serif; letter-spacing: -.025em; }
.hmis-service-card p { margin: 0; color: #676b64; font-size: .84rem; line-height: 1.62; }

.hmis-workflows { color: #fff; background: var(--hc-charcoal); }
.hmis-section-head--light .hmis-kicker { color: #91aafb; }
.hmis-section-head--light h2 em { color: #9db3ff; }
.hmis-section-head--light > p:last-child { color: #a7aba5; }
.hmis-workflow-system { display: grid; grid-template-columns: 180px 270px 1fr; min-height: 390px; overflow: hidden; border: 1px solid #393c37; border-radius: 26px; background: #20231f; }
.hmis-workflow-rail { padding: 28px; border-right: 1px solid #393c37; background: #1b1d1a; }
.hmis-workflow-rail span { display: block; margin-bottom: 44px; color: #8f948b; font: 600 .62rem/1.4 "Space Grotesk", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.hmis-workflow-rail i { display: block; width: 100%; height: 1px; margin: 20px 0; background: #343832; }
.hmis-workflow-rail i::after { content: ""; display: block; width: 6px; height: 6px; transform: translateY(-3px); border-radius: 50%; background: #687066; }
.hmis-workflow-core { display: flex; flex-direction: column; justify-content: center; padding: 38px; border-right: 1px solid #393c37; background: radial-gradient(circle at center, rgba(36,87,245,.28), transparent 62%); }
.hmis-workflow-core small { color: #93998f; font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; }
.hmis-workflow-core strong { margin: 12px 0; font: 500 2.25rem/1 "Instrument Serif", Georgia, serif; }
.hmis-workflow-core span { color: #9eb4ff; font-size: .72rem; }
.hmis-workflow-modules { display: grid; grid-template-columns: repeat(2, 1fr); align-content: center; gap: 10px; padding: 34px; }
.hmis-workflow-modules span { position: relative; padding: 13px 14px 13px 31px; border: 1px solid #3c403a; border-radius: 10px; color: #d6dad3; background: #252824; font-size: .76rem; }
.hmis-workflow-modules span::before { content: ""; position: absolute; top: 50%; left: 14px; width: 6px; height: 6px; transform: translateY(-50%); border-radius: 50%; background: var(--hc-blue); }
.hmis-workflow-modules span:nth-child(5n)::before { background: var(--hc-lime); }
.hmis-fineprint { margin: 18px 0 0; color: #858b82; font-size: .72rem; }

.hmis-approach { background: #fff; }
.hmis-process { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.hmis-process::before { content: ""; position: absolute; top: 21px; right: 8%; left: 8%; height: 1px; background: #cfd4df; }
.hmis-process li { position: relative; z-index: 1; padding-right: 28px; }
.hmis-process li > span { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid #cfd4df; border-radius: 50%; color: var(--hc-blue); background: #fff; font: 700 .65rem/1 "Space Grotesk", sans-serif; }
.hmis-process h3 { margin: 28px 0 10px; font: 500 1.25rem/1.2 "Space Grotesk", sans-serif; }
.hmis-process p { margin: 0; color: #6c706a; font-size: .84rem; line-height: 1.6; }

.hmis-neutral { background: var(--hc-blue-soft); }
.hmis-neutral-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(350px, .75fr); gap: clamp(60px, 9vw, 130px); align-items: center; }
.hmis-principles { border-top: 1px solid rgba(36,87,245,.2); }
.hmis-principles article { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid rgba(36,87,245,.2); }
.hmis-principles article > span { color: var(--hc-blue); font: 700 .65rem/1.4 "Space Grotesk", sans-serif; }
.hmis-principles h3 { margin: 0 0 5px; font: 600 1.08rem/1.2 "Space Grotesk", sans-serif; }
.hmis-principles p { margin: 0; color: #667084; font-size: .86rem; }

.hmis-abdm { background: #fff; }
.hmis-abdm-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(390px, .9fr); gap: clamp(60px, 9vw, 140px); align-items: center; }
.hmis-disclosure { margin-top: 28px; padding: 21px 22px; border: 1px solid #cbd8f8; border-radius: 14px; background: #f4f7ff; }
.hmis-disclosure strong { color: var(--hc-blue-dark); font: 700 .75rem/1 "Space Grotesk", sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.hmis-disclosure p { margin: 9px 0 0; color: #586174; font-size: .87rem; line-height: 1.65; }
.hmis-abdm-notice { padding-left: 20px; border-left: 2px solid var(--hc-blue); font-weight: 600; }
.hmis-roadmap { position: relative; margin: 0; padding: 0; list-style: none; }
.hmis-roadmap::before { content: ""; position: absolute; top: 34px; bottom: 34px; left: 17px; width: 1px; background: #cbd3e3; }
.hmis-roadmap li { position: relative; display: flex; flex-direction: column; margin-bottom: 18px; padding: 26px 26px 26px 58px; border: 1px solid #e0e4eb; border-radius: 16px; background: #fafbfc; }
.hmis-roadmap li::before { content: ""; position: absolute; z-index: 1; top: 31px; left: 12px; width: 11px; height: 11px; border: 5px solid #fff; border-radius: 50%; background: #a3aaba; box-shadow: 0 0 0 1px #cbd3e3; }
.hmis-roadmap li.current { border-color: rgba(36,87,245,.3); background: var(--hc-blue-soft); }
.hmis-roadmap li.current::before { background: var(--hc-blue); }
.hmis-roadmap li:last-child { margin-bottom: 0; }
.hmis-roadmap span { color: var(--hc-blue); font: 700 .62rem/1 "Space Grotesk", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.hmis-roadmap strong { margin: 9px 0 6px; font: 600 1rem/1.3 "Space Grotesk", sans-serif; }
.hmis-roadmap small { color: #747a83; line-height: 1.5; }

.hmis-audience { background: #f1f2ef; }
.hmis-audience-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.hmis-audience-grid article { min-height: 245px; padding: 23px; border: 1px solid #d9dcd4; border-radius: 16px; background: rgba(255,255,255,.55); }
.hmis-audience-grid h3 { margin: 82px 0 10px; font: 500 1.13rem/1.2 "Space Grotesk", sans-serif; }
.hmis-audience-grid p { margin: 0; color: #6a6e67; font-size: .82rem; line-height: 1.58; }

.hmis-why { background: #fff; }
.hmis-why-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: clamp(60px, 9vw, 140px); align-items: center; }
.hmis-why-list { border-top: 1px solid #dfe2dc; }
.hmis-why-list p { display: flex; align-items: center; gap: 24px; margin: 0; padding: 23px 0; border-bottom: 1px solid #dfe2dc; font: 600 1rem/1.3 "Space Grotesk", sans-serif; }
.hmis-why-list span { color: var(--hc-blue); font-size: .64rem; }

.hmis-enquiry { background: var(--hc-charcoal); }
.hmis-enquiry-shell { display: grid; grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr); gap: clamp(56px, 7vw, 100px); align-items: start; }
.hmis-enquiry-copy { position: sticky; top: 118px; color: #fff; }
.hmis-enquiry-copy .hmis-kicker { color: #a7baff; }
.hmis-enquiry-copy > p { color: #a9afa6; }
.hmis-enquiry-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.hmis-enquiry-meta span { padding: 8px 11px; border: 1px solid #40443e; border-radius: 999px; color: #b9beb6; font-size: .68rem; }
.hmis-form-wrap { padding: clamp(24px, 4vw, 42px); border-radius: 24px; background: #f8f9f7; }
.hmis-form { display: flex; flex-direction: column; gap: 19px; }
.hmis-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }
.hmis-form label { display: flex; flex-direction: column; gap: 8px; color: #30332f; font: 700 .68rem/1.3 "Space Grotesk", sans-serif; letter-spacing: .055em; text-transform: uppercase; }
.hmis-form input,
.hmis-form select,
.hmis-form textarea { width: 100%; min-height: 50px; padding: 13px 14px; border: 1px solid #d8dcd5; border-radius: 9px; color: var(--ink); background: #fff; font: 400 .92rem/1.4 "DM Sans", sans-serif; text-transform: none; transition: border-color 180ms ease, box-shadow 180ms ease; }
.hmis-form textarea { resize: vertical; }
.hmis-form input:focus,
.hmis-form select:focus,
.hmis-form textarea:focus { outline: 0; border-color: var(--hc-blue); box-shadow: 0 0 0 3px rgba(36,87,245,.13); }
.hmis-form-note { margin: -5px 0 0; color: #6e736c; font-size: .71rem; line-height: 1.55; }
.hmis-form .button { width: 100%; min-height: 56px; margin-top: 3px; border-radius: 10px; }

.hmis-faq { background: #f1f2ef; }
.hmis-faq-grid { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); gap: clamp(58px, 8vw, 120px); align-items: start; }
.hmis-faq-grid .hmis-section-head { position: sticky; top: 118px; margin-bottom: 0; }
.hmis-faq-list { border-top: 1px solid #cfd2ca; }
.hmis-faq-list details { border-bottom: 1px solid #cfd2ca; }
.hmis-faq-list summary { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; font: 600 1rem/1.35 "Space Grotesk", sans-serif; }
.hmis-faq-list summary::-webkit-details-marker { display: none; }
.hmis-faq-list summary span { width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #bfc4bb; border-radius: 50%; font-size: 1.1rem; font-weight: 400; transition: transform 200ms ease, background 200ms ease; }
.hmis-faq-list details[open] summary span { transform: rotate(45deg); color: #fff; border-color: var(--hc-blue); background: var(--hc-blue); }
.hmis-faq-list details > p { max-width: 700px; margin: -4px 54px 25px 0; color: #656a62; font-size: .92rem; line-height: 1.7; }

.healthcare-page a:focus-visible,
.healthcare-page button:focus-visible,
.healthcare-page summary:focus-visible,
.healthcare-page input:focus-visible,
.healthcare-page select:focus-visible,
.healthcare-page textarea:focus-visible { outline: 3px solid rgba(36,87,245,.35); outline-offset: 3px; }

@media (max-width: 1120px) {
  .hmis-hero-grid { grid-template-columns: 1fr; }
  .hmis-hero-copy { max-width: 820px; }
  .hmis-interface { width: min(100%, 720px); transform: none; }
  .hmis-service-grid { grid-template-columns: repeat(2, 1fr); }
  .hmis-audience-grid { grid-template-columns: repeat(3, 1fr); }
  .hmis-enquiry-shell { grid-template-columns: 1fr; }
  .hmis-enquiry-copy { position: static; max-width: 790px; }
}

@media (max-width: 980px) {
  .hmis-section-head--split,
  .hmis-neutral-grid,
  .hmis-abdm-grid,
  .hmis-why-grid,
  .hmis-faq-grid { grid-template-columns: 1fr; }
  .hmis-section-head--split { gap: 0; }
  .hmis-problem-grid { grid-template-columns: repeat(2, 1fr); }
  .hmis-problem-grid article:nth-child(2) { border-right: 0; }
  .hmis-problem-grid article:nth-child(-n+2) { border-bottom: 1px solid #cfd2ca; }
  .hmis-fieldview-grid { min-height: 920px; grid-template-columns: 1.25fr .75fr; }
  .hmis-workflow-system { grid-template-columns: 120px 220px 1fr; }
  .hmis-workflow-rail { padding: 24px 20px; }
  .hmis-workflow-modules { grid-template-columns: 1fr; padding: 24px; }
  .hmis-process { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .hmis-process::before { display: none; }
  .hmis-faq-grid .hmis-section-head { position: static; }
}

@media (max-width: 760px) {
  .hmis-hero { padding-top: 60px; }
  .hmis-hero-grid { gap: 48px; }
  .hmis-hero-copy h1 { font-size: clamp(3rem, 15vw, 4.4rem); line-height: .98; letter-spacing: -.045em; }
  .hmis-hero-copy h1 br { display: none; }
  .hmis-inline-space { display: inline; }
  .hmis-actions { align-items: flex-start; flex-direction: column; }
  .hmis-interface-body { min-height: 390px; grid-template-columns: 42px 1fr; }
  .hmis-interface-nav { padding-inline: 9px; }
  .hmis-interface-main { padding: 16px; }
  .hmis-interface-topbar { grid-template-columns: 1fr 1fr; }
  .hmis-interface-topbar > span:nth-child(2) { display: none; }
  .hmis-system-map { height: 250px; }
  .hmis-map-node { min-width: 88px; padding: 8px; font-size: .58rem; }
  .hmis-map-node.node-registration,
  .hmis-map-node.node-billing { left: 12px; }
  .hmis-map-node.node-clinical,
  .hmis-map-node.node-pharmacy { right: 12px; }
  .hmis-map-core { width: 108px; height: 108px; }
  .hmis-interface-footer { gap: 5px; }
  .hmis-interface-footer div { padding: 8px 6px; }
  .hmis-section { padding: 78px 0; }
  .hmis-section-head { margin-bottom: 38px; }
  .hmis-section-head h2,
  .hmis-neutral-copy h2,
  .hmis-abdm-copy h2,
  .hmis-why-copy h2,
  .hmis-enquiry-copy h2 { font-size: clamp(2.65rem, 12vw, 4.2rem); }
  .hmis-problem-grid,
  .hmis-service-grid,
  .hmis-audience-grid,
  .hmis-form-grid { grid-template-columns: 1fr; }
  .hmis-problem-grid article { min-height: 205px; border-right: 0; border-bottom: 1px solid #cfd2ca; }
  .hmis-problem-grid article:nth-child(3) { border-bottom: 1px solid #cfd2ca; }
  .hmis-problem-grid article:last-child { border-bottom: 0; }
  .hmis-problem-grid h3 { margin-top: 48px; }
  .hmis-fieldview-grid { min-height: 0; grid-template-columns: 1fr; }
  .hmis-photo--primary { min-height: 520px; }
  .hmis-fieldview-side { grid-template-rows: 390px auto; }
  .hmis-operations-card { min-height: 310px; }
  .hmis-service-card { min-height: 250px; }
  .hmis-workflow-system { grid-template-columns: 1fr; }
  .hmis-workflow-rail { display: none; }
  .hmis-workflow-core { min-height: 190px; border-right: 0; border-bottom: 1px solid #393c37; }
  .hmis-workflow-modules { grid-template-columns: 1fr 1fr; padding: 18px; }
  .hmis-process { grid-template-columns: 1fr; gap: 34px; }
  .hmis-process li { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 0; }
  .hmis-process h3 { margin: 3px 0 8px; }
  .hmis-process p { grid-column: 2; }
  .hmis-audience-grid article { min-height: 210px; }
  .hmis-audience-grid h3 { margin-top: 58px; }
  .hmis-form-wrap { padding: 22px 18px; }
  .hmis-faq-list details > p { margin-right: 0; }
}

@media (max-width: 520px) {
  .hmis-photo--primary { min-height: 440px; }
  .hmis-fieldview-side { grid-template-rows: 340px auto; }
  .hmis-photo figcaption { padding: 22px; }
  .hmis-photo figcaption strong { font-size: 1.55rem; }
  .hmis-photo--secondary figcaption strong { font-size: 1.35rem; }
  .hmis-operations-card { min-height: 290px; padding: 23px; }
  .hmis-interface { border-radius: 20px; }
  .hmis-map-node { min-width: 74px; }
  .hmis-map-core { width: 92px; height: 92px; }
  .hmis-map-core strong { font-size: 1.08rem; }
  .hmis-map-core span { display: none; }
  .hmis-interface-heading > span { display: none; }
  .hmis-workflow-modules { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .animate-on-scroll,
  .animate-on-scroll.is-visible { opacity: 1; transform: none; transition: none; }
  .healthcare-page *,
  .healthcare-page *::before,
  .healthcare-page *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
