/* Sukera Developers — shared styles
   Brand colours: change --crm-deep and --erp-deep; every tint is worked out from them. */

:root {
  /* Brand colours, taken from crm.sukheradevelopers.com */
  --crm-deep: #0F766E;      /* CRM accent: teal (CRM --action) */
  --erp-deep: #3B3F9A;      /* ERP accent: indigo (CRM --cat-active-fg) */
  --brand-deep: #0E3B43;    /* deep teal used in the CRM sidebar */
  --brand-indigo: #3B3F7A;
  --grad-hero: linear-gradient(135deg, #0E3B43 0%, #1D4F5B 45%, #3B3F7A 100%);
  --grad-action: linear-gradient(100deg, #0F766E 0%, #3B3F9A 100%);

  --crm-field: color-mix(in srgb, var(--crm-deep) 11%, #fff);
  --erp-field: color-mix(in srgb, var(--erp-deep) 10%, #fff);

  --white: #FFFFFF;
  --paper: #F0F4F3;         /* CRM --soft */
  --page: #EEF2F2;          /* CRM --page */
  --ink: #14202B;           /* CRM --ink */
  --ink-soft: #5B6B73;      /* CRM --muted */
  --line: #E1E8E8;          /* CRM --line */
  --danger: #A2410C;
  --shadow: 0 1px 2px #14202b0a, 0 8px 24px #14202b0f;

  --display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.15rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.9rem, 3.4vw, 2.5rem);
  --step-4: clamp(2.3rem, 4.8vw, 3.4rem);
  --giant: clamp(4.5rem, 11vw, 10rem);

  --max: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius-s: 10px;
  --radius-l: 20px;

  --deep: var(--ink);
  --field: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

a { color: inherit; }
img, svg { max-width: 100%; }

:focus-visible {
  outline: 2.5px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 8px;
}
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, #fff 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 72px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex: none;
}

.brand-mark { width: 32px; height: 32px; flex: none; border-radius: 8px; }

.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.brand-sub { font-weight: 500; color: var(--ink-soft); }

.nav-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.main-nav, .header-actions { display: flex; align-items: center; gap: 0.25rem; }

.main-nav a, .nav-login {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
}

.main-nav a:hover, .nav-login:hover { color: var(--ink); background: var(--paper); }
.main-nav a[aria-current="page"], .nav-login[aria-current="page"] { color: var(--ink); font-weight: 600; }

.btn-sm {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  background: var(--grad-action);
  padding: 0.6rem 1.1rem;
  border-radius: 10px;
  margin-left: 0.4rem;
}

.btn-sm:hover { filter: brightness(1.08); }

.menu-btn {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  place-items: center;
}

.menu-bars, .menu-bars::before, .menu-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease;
}
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .menu-btn { display: grid; }
  .nav-wrap {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.75rem var(--gutter) 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    box-shadow: 0 16px 30px rgba(20, 26, 33, 0.08);
  }
  .nav-wrap.open { display: flex; }
  .main-nav, .header-actions { flex-direction: column; align-items: stretch; }
  .main-nav a, .nav-login { padding: 0.8rem 0.6rem; font-size: 1.05rem; }
  .btn-sm { justify-content: center; margin: 0.25rem 0 0; padding: 0.85rem; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--brand-deep);
  color: #C9D0D8;
  margin-top: 0;
  font-size: 0.95rem;
}

.site-footer a { color: #C9D0D8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr);
  gap: 3rem;
}

.site-footer .brand-name, .site-footer .brand-sub { color: #fff; }
.site-footer .brand-sub { opacity: 0.7; }
.footer-brand p { margin: 1rem 0 1.25rem; max-width: 22rem; }

.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.footer-contact li:empty { display: none; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

.footer-cols h2 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin: 0.25rem 0 1rem;
}

.footer-cols a { display: block; padding: 0.3rem 0; }

.footer-base {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem var(--gutter) 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  font-size: 0.88rem;
}

.footer-base-links { display: flex; gap: 1.5rem; }

@media (max-width: 960px) {
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Home: the two doors ---------- */

.doors {
  flex: 1;
  display: flex;
  gap: 10px;
  padding: 0 10px 10px;
  min-height: 62vh;
}

.door {
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  border-radius: var(--radius-l);
  text-decoration: none;
  overflow: hidden;
  transition: flex-grow 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.door.crm { background: var(--crm-field); --deep: var(--crm-deep); }
.door.erp { background: var(--erp-field); --deep: var(--erp-deep); }

@media (hover: hover) and (min-width: 760px) {
  .doors:hover .door { flex-grow: 0.8; }
  .doors .door:hover,
  .doors .door:focus-visible { flex-grow: 1.35; }
}

.door-top {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 1.25rem;
}

.door-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--giant);
  line-height: 0.82;
  letter-spacing: -0.045em;
  color: var(--deep);
  margin: 0;
  font-variation-settings: "wdth" 100;
}

.door-kicker {
  font-size: var(--step--1);
  color: var(--deep);
  border: 1.5px solid currentColor;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  white-space: nowrap;
}

.door-art {
  position: relative;
  flex: 1;
  min-height: 150px;
  margin: 1rem 0 1.25rem;
}

.door-art svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.door-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.door-bottom p {
  margin: 0;
  font-size: var(--step-1);
  line-height: 1.4;
  max-width: 24rem;
}

.door-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--deep);
  color: #fff;
  font-weight: 600;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  white-space: nowrap;
}

.door-cta svg { transition: transform 0.3s ease; }
.door:hover .door-cta svg { transform: translateX(3px); }

/* ---------- Product page ---------- */

.product {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 10px;
  padding: 0 10px 10px;
}

.product.crm { --field: var(--crm-field); --deep: var(--crm-deep); }
.product.erp { --field: var(--erp-field); --deep: var(--erp-deep); }

.product-story {
  background: var(--field);
  border-radius: var(--radius-l);
  padding: clamp(1.75rem, 4vw, 3.25rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
}

.product-story .door-name { font-size: clamp(5rem, 13vw, 11rem); }

.product-story h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: var(--step-3);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
  max-width: 22ch;
}

.product-story > div > p {
  margin: 0;
  font-size: var(--step-1);
  color: var(--ink);
  max-width: 34rem;
}

.features {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2rem;
  max-width: 38rem;
}

.features li {
  border-top: 1.5px solid var(--deep);
  padding-top: 0.75rem;
}

.features strong {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.features span { color: var(--ink-soft); font-size: 0.95rem; }

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.action {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border-radius: var(--radius-l);
  text-decoration: none;
  border: 1.5px solid var(--line);
  background: #fff;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.action:hover { border-color: var(--deep); }

.action.primary {
  background: var(--deep);
  border-color: var(--deep);
  color: #fff;
}

.action.primary:hover { background: var(--ink); border-color: var(--ink); }

.action h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--step-4);
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0;
}

.action p { margin: 0.6rem 0 0; font-size: 1.05rem; opacity: 0.85; max-width: 26rem; }

.action .go {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 0.15rem;
}

/* ---------- Form pages (sign up / log in) ---------- */

.panel-page {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 10px;
  padding: 0 10px 10px;
}

.panel-page { --field: #E4EAE6; --deep: var(--ink); }
.panel-page[data-product="crm"] { --field: var(--crm-field); --deep: var(--crm-deep); }
.panel-page[data-product="erp"],
.panel-page[data-product="both"] { --field: var(--erp-field); --deep: var(--erp-deep); }
.panel-page[data-product="both"] .panel-side {
  background: linear-gradient(160deg, var(--crm-field) 15%, var(--erp-field) 85%);
}

.panel-side {
  background: var(--field);
  border-radius: var(--radius-l);
  padding: clamp(1.75rem, 4vw, 3.25rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  transition: background-color 0.4s ease;
}

.panel-side h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: var(--step-4);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 1rem;
  max-width: 14ch;
}

.panel-side p { margin: 0; font-size: var(--step-1); max-width: 28rem; }

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 1rem;
  max-width: 26rem;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
}

.steps li::before {
  content: counter(step);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--deep);
}

.panel-main {
  border-radius: var(--radius-l);
  background: #fff;
  border: 1.5px solid var(--line);
  padding: clamp(1.75rem, 4vw, 3.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.panel-main > * { width: 100%; max-width: 32rem; }

.panel-main h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--step-2);
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
}

.panel-main .lede { color: var(--ink-soft); margin: 0 0 1.75rem; }

/* Product switch */

.switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 1.5rem;
}

.switch input { position: absolute; opacity: 0; pointer-events: none; }

.switch label {
  text-align: center;
  padding: 0.55rem 0.5rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.switch input:checked + label { background: var(--deep); color: #fff; }
.switch input:focus-visible + label { outline: 2.5px solid var(--ink); outline-offset: 2px; }

/* Fields */

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1rem;
}

.field { margin-bottom: 1.1rem; }

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}

.field .optional { font-weight: 400; color: var(--ink-soft); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  padding: 0.75rem 0.85rem;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.field textarea { resize: vertical; min-height: 5.5rem; }

.field input:hover, .field select:hover, .field textarea:hover { border-color: #A9B5AF; }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--deep);
  background: #fff;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--deep) 18%, transparent);
}

.field.invalid input, .field.invalid select { border-color: var(--danger); }

.field .error {
  display: none;
  color: var(--danger);
  font-size: 0.85rem;
  margin: 0.3rem 0 0;
}

.field.invalid .error { display: block; }

.phone-wrap { display: flex; gap: 0.5rem; }
.phone-wrap select { width: 6.5rem; flex: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  font: inherit;
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
  background: var(--deep);
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.5rem;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.btn:hover { background: var(--ink); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn.ghost:hover { border-color: var(--ink); background: transparent; }

.form-note { font-size: 0.85rem; color: var(--ink-soft); margin: 1rem 0 0; }

.form-alert {
  display: none;
  background: #FBEDEA;
  color: var(--danger);
  border-radius: var(--radius-s);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.form-alert.show { display: block; }

/* Success state */

.success { display: none; }
.sent .success { display: block; }
.sent form, .sent .form-head { display: none; }

.success-mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--deep);
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
}

.success-mark path {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
}

.sent .success-mark path { animation: draw 0.5s 0.15s ease forwards; }

@keyframes draw { to { stroke-dashoffset: 0; } }

/* Login choices */

.workspace {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  margin-bottom: 0.75rem;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.workspace:hover { border-color: var(--ink); }

.workspace.is-current { border-color: var(--deep); background: var(--field); }

.workspace .ws-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.workspace .ws-url { display: block; font-size: 0.9rem; color: var(--ink-soft); }

.workspace .ws-go {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
}

.workspace.crm .ws-go { background: var(--crm-deep); }
.workspace.erp .ws-go { background: var(--erp-deep); }

.divider-text {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 1.75rem 0 1rem;
}

.divider-text::before, .divider-text::after {
  content: "";
  flex: 1;
  height: 1.5px;
  background: var(--line);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .product, .panel-page { grid-template-columns: 1fr; }
  .panel-side { gap: 1.5rem; }
  .panel-side h1 { max-width: none; }
}

@media (max-width: 759px) {
  .doors { flex-direction: column; min-height: 0; }
  .door { flex: none; min-height: 0; }
  .door-art { flex: none; height: 150px; }
  .features { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .action h2 { font-size: 2.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .success-mark path { stroke-dashoffset: 0; }
}

/* ======================================================
   v2 additions: illustrations, journey, 3-step login
   ====================================================== */

/* Illustration colour helpers (inline SVG) */
.ill .d  { fill: var(--deep); }
.ill .d2 { fill: var(--deep); opacity: 0.55; }
.ill .d3 { fill: var(--deep); opacity: 0.28; }
.ill .d4 { fill: var(--deep); opacity: 0.14; }
.ill .w  { fill: #fff; }
.ill .sh { fill: var(--deep); opacity: 0.1; }
.ill .ln { fill: none; stroke: var(--deep); stroke-width: 2; stroke-linecap: round; }
.ill .dash { stroke-dasharray: 2 7; opacity: 0.6; }
.ill text { font-family: var(--body); font-size: 11px; font-weight: 600; fill: var(--ink-soft); }

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Home: journey ---------- */

.journey {
  padding: clamp(3rem, 8vw, 6rem) var(--gutter) clamp(2rem, 5vw, 3.5rem);
}

.journey h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: var(--step-3);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 0.6rem;
  max-width: 20ch;
}

.journey > p {
  margin: 0 0 clamp(2rem, 5vw, 3.5rem);
  color: var(--ink-soft);
  font-size: var(--step-1);
  max-width: 34rem;
}

.journey ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  position: relative;
}

.journey ol::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 28px;
  right: 12%;
  border-top: 2px dashed var(--line);
}

.journey li { position: relative; }

.journey .bubble {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper);
  border: 2px solid var(--ink);
  margin-bottom: 1.1rem;
  position: relative;
}

.journey li:nth-child(1) .bubble { background: var(--crm-field); border-color: var(--crm-deep); color: var(--crm-deep); }
.journey li:nth-child(2) .bubble { background: #fff; }
.journey li:nth-child(3) .bubble { background: var(--erp-field); border-color: var(--erp-deep); color: var(--erp-deep); }
.journey li:nth-child(4) .bubble { background: var(--ink); color: #fff; }

.journey .num {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  display: grid;
  place-items: center;
  color: var(--ink);
}

.journey h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  margin: 0 0 0.3rem;
}

.journey li p { margin: 0; color: var(--ink-soft); max-width: 17rem; }

/* ---------- Product page art ---------- */

.story-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.product-story .story-head .door-name { font-size: clamp(4.2rem, 9vw, 8.5rem); color: var(--deep); }

.product-art {
  width: min(100%, 360px);
  flex: none;
  filter: drop-shadow(0 14px 22px color-mix(in srgb, var(--deep) 16%, transparent));
}

.product-art svg { display: block; width: 100%; height: auto; }

/* ---------- Login: stepper ---------- */

.stepper {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  max-width: 24rem;
}

.stepper li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.9rem;
  align-items: start;
  position: relative;
  padding-bottom: 1.4rem;
  color: var(--ink-soft);
}

.stepper li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 46px;
  bottom: 2px;
  width: 2px;
  background: color-mix(in srgb, var(--deep) 25%, transparent);
}

.stepper .dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, #fff 55%, transparent);
  color: var(--deep);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.stepper strong {
  display: block;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  margin-top: 0.55rem;
}

.stepper small { font-size: 0.9rem; }

.stepper li.is-active .dot { background: var(--deep); color: #fff; }
.stepper li.is-done .dot { background: #fff; color: var(--deep); }
.stepper li.is-done .dot .icon { display: none; }
.stepper li.is-done .dot::before {
  content: "";
  width: 14px;
  height: 8px;
  border-left: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: translateY(-2px) rotate(-45deg);
}

.stepper .picked { display: block; color: var(--deep); font-weight: 600; font-size: 0.9rem; }

/* ---------- Login: steps ---------- */

.step { display: none; }
.step.is-active { display: block; animation: step-in 0.35s ease; }

@keyframes step-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.switch.two { grid-template-columns: repeat(2, 1fr); }

.company-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.8rem 0.7rem 0.7rem;
  border-radius: 14px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  margin-bottom: 1.5rem;
}

.company-chip .avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--deep);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  flex: none;
}

.company-chip .who { flex: 1; min-width: 0; line-height: 1.3; }
.company-chip .who strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.company-chip .who span { font-size: 0.85rem; color: var(--ink-soft); }

.link-btn {
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--deep);
  background: none;
  border: 0;
  padding: 0.4rem 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-btn:hover { color: var(--ink); }

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: -0.4rem 0 1rem -0.5rem;
  text-decoration: none;
  color: var(--ink-soft);
}

.roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.role {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  text-align: left;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.role:hover { border-color: var(--deep); background: color-mix(in srgb, var(--field) 45%, #fff); }
.role:active { transform: scale(0.98); }

.role .r-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--field);
  color: var(--deep);
  display: grid;
  place-items: center;
}

.role strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.role span.note { display: block; font-size: 0.88rem; color: var(--ink-soft); line-height: 1.4; margin-top: 0.15rem; }

.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 4.5rem; }
.pw-toggle {
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  text-decoration: none;
}

.check-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: -0.2rem 0 1.25rem;
  font-size: 0.92rem;
}

.check-row label { display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.check-row input { width: 18px; height: 18px; accent-color: var(--deep); }
.check-row a { color: var(--deep); font-weight: 600; text-underline-offset: 3px; }

.signed-in {
  text-align: left;
}

/* Sign-up success: next steps */
.next-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.6rem;
}

.next-steps li {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: var(--paper);
}

.next-steps .icon { color: var(--deep); }

.btn + .btn { margin-top: 0.6rem; }

@media (max-width: 1100px) {
  .story-head { flex-direction: column; }
  .product-art { width: min(100%, 420px); }
}

@media (max-width: 900px) {
  .journey ol { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .journey ol::before { display: none; }
  .stepper { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; gap: 0.5rem; }
  .stepper li { grid-template-columns: 1fr; padding-bottom: 0; gap: 0.4rem; }
  .stepper li::after { display: none; }
  .stepper strong { margin-top: 0; font-size: 0.95rem; }
  .stepper small { display: none; }
}

@media (max-width: 520px) {
  .journey ol { grid-template-columns: 1fr; }
  .roles { grid-template-columns: 1fr; }
  .role { flex-direction: row; align-items: center; }
}


/* ======================================================
   v3: official pages
   ====================================================== */

.band { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.band.soft { background: var(--paper); }

.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head h2, .about h2, .page-head h1, .cta h2, .journey h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--step-3);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 0.75rem;
  text-wrap: balance;
}
.section-head p { margin: 0; color: var(--ink-soft); font-size: var(--step-1); }

.btn { border-radius: 12px; }
.hero .btn:not(.ghost), .pr-links .btn, .contact-panel .btn:not(.ghost) { background: var(--grad-action); }
.hero .btn:not(.ghost):hover, .pr-links .btn:hover { filter: brightness(1.08); }
.pr-links .btn { width: auto; }
.product-row.crm .pr-links .btn { background: var(--crm-deep); }
.product-row.erp .pr-links .btn { background: var(--erp-deep); }

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.25rem); }
.hero-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem 3rem; flex-wrap: wrap; }
.hero-text { max-width: 46rem; }
.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: var(--step-4);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin: 0 0 1rem;
  text-wrap: balance;
}
.hero-text p { margin: 0; font-size: var(--step-1); color: var(--ink-soft); max-width: 38rem; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-actions .btn { width: auto; min-width: 9rem; }

.doors { max-width: calc(var(--max) + 20px); margin: 0 auto; width: 100%; flex: none; min-height: min(560px, 64vh); }

/* Products */
.product-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--line);
}
.product-row.crm { --deep: var(--crm-deep); --field: var(--crm-field); }
.product-row.erp { --deep: var(--erp-deep); --field: var(--erp-field); }
.product-row.erp .pr-art { order: -1; }
.pr-text h3 {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--display); font-weight: 700; font-size: var(--step-2);
  letter-spacing: -0.02em; margin: 0 0 0.5rem; color: var(--deep);
}
.pr-text h3::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--deep); }
.pr-lede { font-size: var(--step-1); margin: 0 0 1.5rem; max-width: 32rem; }
.ticks { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 0.8rem; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 0.75rem; align-items: start; color: var(--ink-soft); }
.ticks li strong { color: var(--ink); font-weight: 600; }
.ticks .icon { color: var(--deep); margin-top: 1px; }
.pr-links { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.text-link { font-weight: 600; color: var(--deep); text-underline-offset: 4px; }
.pr-art {
  background: var(--field);
  border-radius: var(--radius-l);
  padding: clamp(1.5rem, 4vw, 3rem);
}
.pr-art svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 24px color-mix(in srgb, var(--deep) 18%, transparent)); }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.why { border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1.75rem; background: #fff; }
.why h3 { font-family: var(--display); font-weight: 700; font-size: 1.15rem; margin: 1.1rem 0 0.4rem; }
.why p { margin: 0; color: var(--ink-soft); }
.why-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  color: #fff; background: var(--grad-action);
}

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.about p { font-size: 1.05rem; color: var(--ink-soft); max-width: 40rem; }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.75rem 0; }
.person { display: flex; align-items: center; gap: 0.85rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1rem; }
.person .avatar {
  width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-deep); color: #fff; font-weight: 700; font-size: 0.95rem;
}
.person strong { display: block; line-height: 1.3; }
.person span { font-size: 0.88rem; color: var(--ink-soft); }
.projects { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.5rem; }
.projects a {
  text-decoration: none; font-weight: 600; font-size: 0.92rem;
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 0.45rem 0.95rem;
}
.projects a:hover { border-color: var(--brand-deep); }

.contact-card {
  background: var(--grad-hero);
  color: #fff;
  border-radius: var(--radius-l);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow);
}
.contact-card h3 { margin: 0 0 1.25rem; font-family: var(--display); font-size: 1.35rem; }
.contact-card dl { margin: 0 0 1.5rem; display: grid; gap: 1rem; }
.contact-card dt { font-size: 0.85rem; opacity: 0.75; }
.contact-card dd { margin: 0.1rem 0 0; font-weight: 500; }
.contact-card a { color: #fff; }
.contact-card .btn.ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.contact-card .btn.ghost:hover { border-color: #fff; }

/* CTA */
.cta {
  background: var(--grad-hero);
  color: #fff;
  border-radius: 24px;
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.cta h2 { color: #fff; margin-bottom: 0.4rem; }
.cta p { margin: 0; opacity: 0.85; font-size: var(--step-1); }
.cta-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.cta-actions .btn { width: auto; min-width: 9rem; background: #fff; color: var(--brand-deep); }
.cta-actions .btn:hover { background: #E6EEF0; }
.cta-actions .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }

/* Page head (inner pages) */
.page-head { background: var(--paper); border-bottom: 1px solid var(--line); padding: clamp(2.5rem, 6vw, 4rem) 0; }
.page-head h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.035em; }
.page-head p { margin: 0; max-width: 40rem; font-size: var(--step-1); color: var(--ink-soft); }
.page-head .meta { margin-top: 0.75rem; font-size: 0.92rem; }

/* Contact */
.contact-layout {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1.5rem; padding-top: clamp(2rem, 5vw, 3rem); padding-bottom: clamp(3rem, 6vw, 5rem);
  align-items: start;
}
.contact-info { display: grid; gap: 1rem; }
.info-card { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1.5rem; }
.info-card.crm .why-icon { background: var(--crm-deep); }
.info-card.erp .why-icon { background: var(--erp-deep); }
.info-card h2 { font-family: var(--display); font-size: 1.15rem; margin: 0.2rem 0 0.35rem; }
.info-card p { margin: 0 0 0.5rem; color: var(--ink-soft); }
.info-lines { display: grid; gap: 0.2rem; }
.info-lines a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.muted { color: var(--ink-soft); font-size: 0.92rem; }
.contact-panel { justify-content: flex-start; align-items: stretch; }
.contact-panel > * { max-width: none; }
.contact-panel.sent form, .contact-panel.sent .form-head { display: none; }
.contact-panel.sent .success { display: block; }

/* Legal */
.legal {
  display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem);
  padding-top: clamp(2rem, 5vw, 3rem); padding-bottom: clamp(3rem, 6vw, 5rem);
}
.toc { position: sticky; top: 96px; align-self: start; font-size: 0.92rem; }
.toc h2 { font-size: 0.95rem; margin: 0 0 0.75rem; }
.toc ol { margin: 0; padding: 0 0 0 1.1rem; display: grid; gap: 0.45rem; color: var(--ink-soft); }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.legal-body { max-width: 72ch; }
.legal-body h2 { font-family: var(--display); font-size: 1.35rem; letter-spacing: -0.01em; margin: 2.5rem 0 0.75rem; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.05rem; margin: 1.5rem 0 0.5rem; }
.legal-body p, .legal-body li { color: #33414B; }
.legal-body ul { padding-left: 1.25rem; display: grid; gap: 0.4rem; }
.legal-body a { color: var(--crm-deep); font-weight: 600; text-underline-offset: 3px; }
.legal-body .contact-box { background: var(--paper); border-radius: 14px; padding: 1.25rem 1.5rem; }
.legal-body .contact-box p { margin: 0.2rem 0; }

/* 404 */
.notfound { padding: clamp(4rem, 10vw, 8rem) 0; text-align: left; }
.notfound .code { font-family: var(--display); font-weight: 800; font-size: clamp(5rem, 14vw, 9rem); line-height: 1; background: var(--grad-action); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0; }
.notfound h1 { font-size: var(--step-3); margin: 0.5rem 0; }
.notfound p { color: var(--ink-soft); }
.notfound .links { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.notfound .links a { font-weight: 600; color: var(--crm-deep); }

@media (max-width: 960px) {
  .product-row, .about, .contact-layout, .legal { grid-template-columns: 1fr; }
  .product-row.erp .pr-art { order: 0; }
  .why-grid { grid-template-columns: 1fr; }
  .toc { position: static; border: 1px solid var(--line); border-radius: 14px; padding: 1.25rem; }
}
@media (max-width: 600px) {
  .people { grid-template-columns: 1fr; }
  .hero-actions, .cta-actions { width: 100%; }
  .hero-actions .btn, .cta-actions .btn { flex: 1; }
}

.journey.band { padding-left: 0; padding-right: 0; }
.product, .panel-page { width: 100%; max-width: calc(var(--max) + 20px); margin: 0 auto; padding-top: 10px; }
.doors { padding-top: 0; }
.hero-actions .btn + .btn, .cta-actions .btn + .btn, .pr-links .btn + .btn, .contact-card .btn { margin-top: 0; }
.toc ol { padding-left: 1.6rem; }
.story-head .product-art { flex: 0 1 360px; min-width: 0; }
@media (max-width: 1280px) { .story-head { flex-direction: column; } .story-head .product-art { flex: none; width: min(100%, 420px); } }
.product, .panel-page { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.product-story h1, .panel-side h1 { font-weight: 700; letter-spacing: -0.03em; }

/* ======================================================
   v4: one-screen home with expanding CRM / ERP doors
   ====================================================== */

.home-main { display: flex; flex-direction: column; min-height: calc(100vh - 73px); }

.home-hero {
  text-align: center;
  padding: clamp(2rem, 5vh, 3.5rem) var(--gutter) clamp(1.5rem, 4vh, 2.5rem);
}
.home-hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 0 auto 1rem;
  color: var(--crm-deep);
  max-width: 18ch;
}
.home-hero h1 .t-erp { color: var(--erp-deep); display: block; }
.home-hero p { margin: 0 auto; max-width: 40rem; font-size: var(--step-1); color: var(--ink-soft); }

.home-doors {
  flex: 1;
  max-width: 1600px;
  min-height: 540px;
  gap: 12px;
  padding: 0 12px 12px;
}
.home-doors .door {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid color-mix(in srgb, var(--deep) 14%, transparent);
  transition: flex-grow 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, transform 0.4s ease;
}
.home-doors .door-top { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.home-doors .door-name { font-size: clamp(4rem, 9vw, 8.5rem); }
.home-doors .door-kicker { background: #fff; border-color: transparent; font-weight: 600; }
.home-doors .door-art { margin: 0.75rem 0; min-height: 110px; transition: opacity 0.4s ease; }
.home-doors .door-art svg { transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }

.door-info { display: grid; gap: 0.9rem; }
.door-line { margin: 0; font-size: 1.12rem; line-height: 1.45; max-width: 34rem; }
.door-line strong { color: var(--deep); }
.door-lede { margin: 0 0 0.9rem; color: var(--ink-soft); max-width: 36rem; }
.door-points {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem 1.5rem;
}
.door-points li { display: grid; grid-template-columns: 22px 1fr; gap: 0.5rem; font-size: 0.95rem; line-height: 1.4; }
.door-points .icon { width: 20px; height: 20px; color: var(--deep); margin-top: 1px; }
.home-doors .door-cta { justify-self: start; gap: 0.5rem; padding: 0.85rem 1.3rem; border-radius: 12px; }
.home-doors .door-cta .icon { width: 20px; height: 20px; transition: transform 0.3s ease; }
.home-doors .door:hover .door-cta .icon, .home-doors .door:focus-visible .door-cta .icon { transform: translateX(4px); }

/* Expanding behaviour: only where there's a mouse and room for it */
@media (hover: hover) and (min-width: 900px) {
  .home-doors .door-more {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.35s ease;
  }
  .home-doors .door-more > div { overflow: hidden; min-height: 0; }
  .home-doors .door:hover .door-more,
  .home-doors .door:focus-visible .door-more { grid-template-rows: 1fr; opacity: 1; transition-delay: 0.1s; }

  .home-doors:hover .door,
  .home-doors:focus-within .door { flex-grow: 0.62; }
  .home-doors .door:hover,
  .home-doors .door:focus-visible { flex-grow: 1.55; box-shadow: 0 24px 48px color-mix(in srgb, var(--deep) 18%, transparent); }
  .home-doors .door:hover .door-art svg,
  .home-doors .door:focus-visible .door-art svg { transform: scale(1.04); }
  .home-doors:hover .door:not(:hover) .door-art { opacity: 0.45; }
  .home-doors:hover .door:not(:hover) .door-line { opacity: 0.7; }
}

@media (max-width: 899px), (hover: none) {
  .door-points { grid-template-columns: 1fr; }
}
@media (max-width: 759px) {
  .home-main { min-height: 0; }
  .home-hero { text-align: left; }
  .home-hero h1, .home-hero p { margin-left: 0; }
  .home-doors .door-top { flex-direction: column-reverse; }
  .home-doors .door-art { height: 140px; }
}

/* v4 fit: keep both doors inside one screen while expanding */
.home-hero { padding: clamp(1.5rem, 4vh, 2.75rem) var(--gutter) clamp(1.25rem, 3vh, 2rem); }
.home-hero h1 { font-size: clamp(2.4rem, min(5.2vw, 7.5vh), 4.3rem); }
@media (min-width: 760px) {
  .home-doors { min-height: 480px; }
  .home-doors .door-art { flex: 1 1 0; min-height: 0; }
  .home-doors .door-top, .home-doors .door-info { flex: none; }
}
@media (hover: hover) and (min-width: 900px) {
  .home-doors .door-kicker { transition: opacity 0.3s ease; }
  .home-doors:hover .door:not(:hover) .door-kicker { opacity: 0; }
}
@media (hover: hover) and (min-width: 900px) {
  .home-doors .door-name { transition: font-size 0.55s cubic-bezier(0.2, 0.8, 0.2, 1); }
  .home-doors .door:hover .door-name,
  .home-doors .door:focus-visible .door-name { font-size: clamp(3.5rem, 6vw, 5.75rem); }
  .home-doors .door-lede { display: none; }
}
.person strong { color: var(--ink); }
.journey .wrap > p { margin: 0 0 clamp(2rem, 5vw, 3.5rem); color: var(--ink-soft); font-size: var(--step-1); max-width: 34rem; }
