:root {
  --bg: #f7f8f6;
  --grid: rgba(16, 24, 40, 0.08);
  --navy: #073f66;
  --navy-dark: #052f4d;
  --orange: #ff7a1a;
  --orange-dark: #d95f08;
  --surface: #ffffff;
  --surface-2: #f2f5f7;
  --ink: #1d2730;
  --muted: #65717c;
  --line: #cfd7de;
  --shadow: 0 18px 45px rgba(18, 35, 52, 0.16);
  --soft-shadow: 0 8px 20px rgba(18, 35, 52, 0.11);
  --radius: 8px;
  --transition: 180ms ease;
  --paper-texture:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #101418;
  --grid: rgba(255, 255, 255, 0.07);
  --surface: #151b22;
  --surface-2: #1d2630;
  --ink: #f7fbff;
  --muted: #aeb9c4;
  --line: #34414e;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.36);
  --soft-shadow: 0 8px 20px rgba(0, 0, 0, 0.26);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    var(--paper-texture),
    var(--bg);
  background-size: 24px 24px;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--orange);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-140%);
  transition: transform var(--transition);
}

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

.site-frame {
  width: 100%;
  margin: 0;
}

.browser-shell {
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    var(--paper-texture),
    var(--surface);
  background-size: 24px 24px;
  box-shadow: none;
}

.browser-bar {
  display: none;
  grid-template-columns: 140px minmax(160px, 1fr) 140px;
  align-items: center;
  gap: 14px;
  height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #f8fafb;
}

:root[data-theme="dark"] .browser-bar {
  background: #111821;
}

.window-dots,
.browser-icons,
.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
}

.window-dots {
  gap: 6px;
}

.window-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #ef4444; }
.window-dots span:nth-child(2) { background: #f59e0b; }
.window-dots span:nth-child(3) { background: #22c55e; }

.address-pill {
  height: 14px;
  border-radius: 999px;
  background: #e6e8ea;
}

.browser-icons {
  justify-content: flex-end;
  gap: 10px;
}

.browser-icons span {
  width: 12px;
  height: 12px;
  border: 1px solid #9aa5ad;
  border-radius: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 66px;
  padding: 12px clamp(20px, 7vw, 88px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--navy);
  border-radius: 4px;
  color: var(--navy);
  font: 800 18px/1 "Manrope", sans-serif;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  font-size: 13px;
  font-weight: 700;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--ink);
  text-decoration: none;
  border-right: 1px solid var(--line);
}

.nav-links a:last-child {
  border-right: 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
}

.header-actions {
  gap: 8px;
  justify-content: flex-end;
}

.search-icon {
  position: relative;
  width: 16px;
  height: 16px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  opacity: 0.78;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transform: rotate(45deg);
}

.menu-toggle-btn {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle-btn {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.menu-toggle-btn span {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}

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

.menu-toggle-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.9fr);
  min-height: 390px;
  padding: 58px 88px;
  background: var(--navy);
  color: #ffffff;
}

.eyebrow {
  color: #b9d7ea;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 560px;
  margin-top: 12px;
  font-size: clamp(34px, 4.7vw, 56px);
  line-height: 0.98;
  text-transform: uppercase;
}

.hero-text {
  max-width: 520px;
  margin-top: 14px;
  color: #d7e7f2;
  font-size: 17px;
  font-weight: 600;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  margin-top: 24px;
  background: var(--orange);
  color: #ffffff;
  box-shadow: 0 6px 0 var(--orange-dark);
}

.button.dark {
  background: var(--navy-dark);
  color: #ffffff;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.22);
}

.button.arrowed::after {
  content: "\2192";
  margin-left: 12px;
  font-size: 18px;
  line-height: 1;
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.hero-illustration {
  position: relative;
  min-height: 290px;
}

.server-stack {
  position: absolute;
  left: 38%;
  top: 28%;
  display: grid;
  gap: 5px;
}

.server-stack span {
  width: 76px;
  height: 28px;
  border: 3px solid #1c2730;
  border-radius: 4px;
  background: #dfe7ed;
}

.cloud {
  position: absolute;
  right: 12%;
  top: 21%;
  width: 96px;
  height: 54px;
  border: 3px solid #1c2730;
  border-radius: 999px;
  background: #cfe7f5;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  bottom: 18px;
  width: 36px;
  height: 36px;
  border: 3px solid #1c2730;
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  background: #cfe7f5;
}

.cloud::before { left: 18px; }
.cloud::after { right: 16px; }

.laptop {
  position: absolute;
  left: 18%;
  top: 22%;
  width: 82px;
  height: 58px;
  border: 3px solid #1c2730;
  border-radius: 4px;
  background: #dfe7ed;
}

.laptop::after {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  bottom: -10px;
  height: 8px;
  border: 3px solid #1c2730;
  border-radius: 0 0 8px 8px;
  background: #9fb7c7;
}

.person {
  position: absolute;
  bottom: 20px;
  width: 96px;
  height: 126px;
  border: 3px solid #1c2730;
  border-radius: 40px 40px 10px 10px;
  background: #d9a37a;
}

.person::before {
  content: "";
  position: absolute;
  left: 28px;
  top: -34px;
  width: 38px;
  height: 38px;
  border: 3px solid #1c2730;
  border-radius: 50%;
  background: #c38358;
}

.person-left {
  left: 12%;
  background: #7f9fb3;
}

.person-right {
  right: 13%;
  background: #f3d6bd;
}

.mail {
  position: absolute;
  width: 42px;
  height: 28px;
  border: 3px solid #1c2730;
  border-radius: 4px;
  background: var(--orange);
}

.mail-one {
  top: 12%;
  left: 44%;
}

.mail-two {
  top: 33%;
  right: 10%;
  background: #ffffff;
}

.section {
  padding: 44px 88px;
  background:
    var(--paper-texture),
    var(--surface);
  background-size: 24px 24px;
}

.section-heading.center {
  text-align: center;
}

.section-heading h2,
.why-section h2,
.testimonials-section h2,
.cta-band h2 {
  color: var(--ink);
  font-size: clamp(25px, 3vw, 36px);
  text-transform: uppercase;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 830px;
  margin: 24px auto 0;
}

.service-card {
  min-height: 184px;
  padding: 20px;
  border: 1px solid #9facb6;
  border-radius: 7px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.service-icon,
.why-grid span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #6f7d89;
  color: #ffffff;
  font-weight: 800;
}

.service-card.accent .service-icon {
  background: var(--orange);
}

.service-card h3 {
  margin-top: 13px;
  font-size: 16px;
  line-height: 1.1;
  text-transform: uppercase;
}

.service-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.service-card a {
  display: inline-block;
  margin-top: 12px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.why-section {
  background:
    var(--paper-texture),
    var(--surface-2);
  background-size: 24px 24px;
  border-top: 1px solid var(--line);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 760px;
  margin: 24px auto 0;
  text-align: center;
}

.why-grid span {
  margin: 0 auto;
  background: #707c88;
}

.why-grid h3 {
  margin-top: 12px;
  font-size: 15px;
  text-transform: uppercase;
}

.why-grid p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.testimonials-section {
  background:
    var(--paper-texture),
    var(--surface-2);
  background-size: 24px 24px;
  border-top: 1px solid var(--line);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 700px;
  margin: 24px auto 0;
}

blockquote {
  position: relative;
  padding: 24px;
  border: 1px solid #9facb6;
  border-radius: 7px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

blockquote::before {
  content: "\"";
  position: absolute;
  top: -18px;
  left: 16px;
  color: #7f8b95;
  font-size: 56px;
  font-weight: 800;
}

blockquote p {
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.cta-band {
  display: grid;
  place-items: center;
  gap: 18px;
  padding: 48px 24px;
  background: var(--orange);
  color: #ffffff;
  text-align: center;
}

.cta-band h2 {
  max-width: 560px;
  color: #ffffff;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  padding: 42px 88px;
  background: var(--navy);
  color: #ffffff;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.site-footer .brand-mark {
  border-color: #ffffff;
  color: #ffffff;
}

.site-footer div {
  display: grid;
  gap: 8px;
  align-content: start;
}

.site-footer strong {
  font-size: 13px;
  text-transform: uppercase;
}

.site-footer a,
.site-footer span {
  color: #d7e7f2;
  font-size: 13px;
  text-decoration: none;
}

.page-hero {
  padding: 70px 88px 28px;
  background:
    var(--paper-texture),
    var(--surface);
  background-size: 24px 24px;
}

.page-hero h1 {
  max-width: 850px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
}

.page-hero p,
.section-heading p,
.page-card p,
.contact-panel p,
.faq-list p {
  color: var(--muted);
}

.page-grid,
.contact-layout,
.process-layout,
.faq-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.page-card,
.contact-panel,
.contact-form,
.process-step,
.faq-list details {
  padding: 24px;
  border: 1px solid #9facb6;
  border-radius: 7px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.contact-layout,
.faq-layout,
.process-layout {
  grid-template-columns: 0.9fr 1.1fr;
}

.process-list,
.faq-list,
.contact-methods,
.contact-form {
  display: grid;
  gap: 14px;
}

.process-step h3,
.page-card h3,
.contact-panel h2 {
  text-transform: uppercase;
}

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

.field label {
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
}

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

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

summary {
  cursor: pointer;
  font-weight: 800;
}

.home-premium {
  --premium-bg: #050607;
  --premium-panel: rgba(255, 255, 255, 0.055);
  --premium-panel-strong: rgba(255, 255, 255, 0.085);
  --premium-line: rgba(255, 255, 255, 0.14);
  --premium-text: #f8fafc;
  --premium-muted: #a5adb8;
  --premium-soft: #d6dbe2;
  --premium-gold: #9be67a;
  --premium-accent: #9be67a;
  --premium-accent-strong: #b6ff5e;
  min-height: 100vh;
  color: var(--premium-text);
  background:
    radial-gradient(circle at 22% 14%, rgba(155, 230, 122, 0.10), transparent 28rem),
    radial-gradient(circle at 76% 10%, rgba(101, 217, 198, 0.08), transparent 32rem),
    linear-gradient(180deg, #050607 0%, #0b0d10 48%, #050607 100%);
}

.home-premium::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.premium-shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 22px clamp(18px, 4vw, 58px) 72px;
}

.premium-header {
  position: sticky;
  top: 16px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 68px;
  padding: 10px 10px 10px 18px;
  border: 1px solid var(--premium-line);
  border-radius: 999px;
  background: rgba(7, 8, 10, 0.72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(20px);
}

.premium-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  flex: 0 0 auto;
  min-width: 0;
  padding: 0 16px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
  color: var(--premium-text);
  border-radius: 999px;
  text-decoration: none;
}

.premium-brand-word,
.premium-brand-soft {
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.premium-brand-word {
  font-size: 20px;
}

.premium-brand-soft {
  color: var(--premium-muted);
  font-size: 15px;
}

.premium-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 0;
}

.premium-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--premium-muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.premium-nav a::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 8px;
  left: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--premium-gold);
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity var(--transition), transform var(--transition);
}

.premium-nav a:hover,
.premium-nav a.active {
  background: rgba(255, 255, 255, 0.09);
  color: var(--premium-text);
}

.premium-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.premium-status-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.premium-status-kicker span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--premium-soft);
}

.premium-status-kicker span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #69d98f;
  box-shadow: 0 0 18px rgba(105, 217, 143, 0.8);
}

.premium-nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 19px;
  border-radius: 999px;
  background: var(--premium-text);
  color: #07080a;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform var(--transition), background var(--transition);
}

.premium-nav-cta:hover {
  transform: translateY(-1px);
  background: #e9edf2;
}

.premium-menu-toggle {
  display: none;
  margin-left: auto;
  border-color: var(--premium-line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--premium-text);
}

.premium-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: 640px;
  padding: clamp(64px, 8vw, 104px) 0 46px;
}

.premium-hero-copy {
  max-width: 920px;
}

.premium-kicker {
  color: var(--premium-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.premium-hero h1 {
  max-width: 980px;
  margin-top: 18px;
  color: var(--premium-text);
  font-size: clamp(46px, 6.6vw, 96px);
  font-weight: 800;
  line-height: 0.96;
}

.premium-lede {
  max-width: 690px;
  margin-top: 26px;
  color: var(--premium-soft);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.65;
}

.premium-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.premium-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--premium-line);
  border-radius: 999px;
  color: var(--premium-text);
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.premium-button:hover {
  transform: translateY(-2px);
}

.premium-button.primary {
  border-color: transparent;
  background: var(--premium-text);
  color: #08090b;
}

.premium-button.ghost {
  background: rgba(255, 255, 255, 0.045);
}

.systems-panel {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding: 28px;
  border: 1px solid var(--premium-line);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.34);
}

.systems-panel::before {
  content: "";
  position: absolute;
  inset: -22% -28% auto auto;
  width: 420px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 181, 109, 0.25), transparent 68%);
}

.systems-copy {
  position: relative;
  z-index: 1;
  max-width: 430px;
}

.systems-copy span {
  color: var(--premium-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.systems-copy h2 {
  margin-top: 14px;
  color: var(--premium-text);
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.02;
}

.systems-copy p {
  margin-top: 14px;
  color: var(--premium-soft);
  line-height: 1.6;
}

.systems-illustration {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 590px;
  margin-top: 30px;
  overflow: visible;
}

.systems-illustration .input-stack > rect {
  fill: rgba(0, 0, 0, 0.18);
  stroke: var(--premium-line);
  stroke-width: 1.5;
}

.systems-illustration .node-icon {
  fill: var(--premium-gold);
  stroke: none;
}

.systems-illustration .lock-icon path,
.systems-illustration .device-icon path,
.systems-illustration .device-icon rect {
  fill: none;
  stroke: var(--premium-gold);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.systems-illustration .lock-icon rect {
  fill: var(--premium-gold);
}

.connection-lines path {
  fill: none;
  stroke: rgba(215, 181, 109, 0.72);
  stroke-width: 2;
  stroke-linecap: round;
}

.connection-lines circle {
  fill: var(--premium-gold);
  filter: drop-shadow(0 0 6px rgba(215, 181, 109, 0.72));
}

.building-hex {
  fill: url(#relay-building-glow);
  stroke: rgba(215, 181, 109, 0.9);
  stroke-width: 2.5;
}

.building-body {
  fill: rgba(6, 8, 10, 0.62);
  stroke: var(--premium-gold);
  stroke-width: 3;
  stroke-linejoin: round;
}

.building-top-svg {
  fill: none;
  stroke: var(--premium-gold);
  stroke-width: 3;
  stroke-linecap: round;
}

.building-window-svg,
.building-door-svg {
  fill: var(--premium-gold);
}

.secure-lines path {
  fill: none;
  stroke: rgba(34, 197, 94, 0.78);
  stroke-width: 2;
  stroke-linecap: round;
}

.secure-lines circle {
  fill: #22c55e;
  filter: drop-shadow(0 0 6px rgba(34, 197, 94, 0.78));
}

.assurance-circle {
  fill: url(#relay-shield);
  filter: drop-shadow(0 0 20px rgba(34, 197, 94, 0.28));
}

.check-svg {
  fill: none;
  stroke: #062915;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (prefers-reduced-motion: reduce) {
  .systems-illustration animateMotion {
    display: none;
  }

  .tool-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
  }

  .tool-marquee {
    mask-image: none;
  }

  .project-card-featured,
  .project-tab {
    animation: none !important;
    transition: none !important;
  }
}

.premium-strip {
  overflow: hidden;
  padding: 16px 0;
  border-block: 1px solid var(--premium-line);
}

.tool-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.tool-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: tool-scroll 34s linear infinite;
}

.tool-marquee:hover .tool-track {
  animation-play-state: paused;
}

.tool-tile {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  min-height: 50px;
  padding: 0 16px 0 10px;
  border: 1px solid var(--premium-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--premium-soft);
  font-weight: 800;
}

.tool-tile img {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: transparent;
  object-fit: contain;
}

.tool-tile b {
  font-size: 13px;
  white-space: nowrap;
}

@keyframes tool-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 7px));
  }
}

.premium-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 92px);
  padding: 92px 0 38px;
}

.premium-section h2 {
  max-width: 680px;
  margin-top: 14px;
  color: var(--premium-text);
  font-size: clamp(38px, 5.2vw, 76px);
  line-height: 0.98;
}

.premium-section > p {
  align-self: end;
  max-width: 720px;
  color: var(--premium-soft);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.7;
}

.premium-intro {
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
  align-items: start;
  padding: 72px 0 28px;
}

.premium-intro > p {
  align-self: start;
  max-width: 780px;
}

.premium-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 28px;
}

.premium-card-grid article {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--premium-line);
  border-radius: 24px;
  background: var(--premium-panel);
}

.premium-card-grid span {
  color: var(--premium-gold);
  font: 800 12px/1 "Manrope", sans-serif;
  text-transform: uppercase;
}

.premium-card-grid h3 {
  margin-top: 34px;
  color: var(--premium-text);
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.02;
}

.premium-card-grid p {
  margin-top: 18px;
  color: var(--premium-muted);
  line-height: 1.65;
}

.recent-work {
  padding: 46px 0 26px;
}

.recent-work-heading {
  max-width: 820px;
  margin-bottom: 26px;
}

.recent-work-heading h2 {
  margin-top: 14px;
  color: var(--premium-text);
  font-size: clamp(36px, 4.8vw, 70px);
  line-height: 1;
}

.project-stack {
  --project-tab-width: clamp(64px, 5.6vw, 82px);
  --project-tab-overlap: 12px;
  position: relative;
  min-height: 500px;
  padding-right: calc((var(--project-tab-width) * 2) - var(--project-tab-overlap));
}

.project-card {
  border: 1px solid var(--premium-line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.026)),
    var(--premium-panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.project-card-featured {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-rows: auto minmax(220px, 1fr) auto;
  min-height: 500px;
  padding: clamp(26px, 4vw, 42px);
  border-radius: 30px;
  overflow: hidden;
  transform-origin: right center;
  transition: opacity 180ms ease, transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card-featured.is-leaving {
  opacity: 0.42;
  transform: translateX(calc(var(--project-tab-width) * 0.72)) scale(0.985);
}

.project-card-featured.is-entering {
  animation: project-page-enter 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.project-card-featured::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: min(42%, 420px);
  background:
    radial-gradient(circle at 16% 18%, rgba(220, 185, 102, 0.18), transparent 34%),
    linear-gradient(90deg, rgba(220, 185, 102, 0.12), transparent);
  pointer-events: none;
}

.project-card-top,
.project-window,
.project-card-body {
  position: relative;
  z-index: 1;
}

.project-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.project-card-top span,
.project-tab span {
  color: var(--premium-text);
  font-weight: 800;
}

.project-card-top span {
  font-size: clamp(24px, 2.6vw, 38px);
}

.project-card-top small {
  color: var(--premium-gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-window {
  align-self: stretch;
  min-height: 220px;
  margin: 24px 0 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 28%, rgba(220, 185, 102, 0.18), transparent 34%),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: auto, 38px 38px, 38px 38px;
  overflow: hidden;
}

.project-window span {
  position: absolute;
  left: 22px;
  top: 18px;
  color: rgba(246, 247, 250, 0.48);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-window i {
  position: absolute;
  right: 28px;
  width: clamp(160px, 22vw, 320px);
  height: 1px;
  background: linear-gradient(90deg, rgba(220, 185, 102, 0.68), transparent);
}

.project-window i:nth-of-type(1) {
  top: 34%;
}

.project-window i:nth-of-type(2) {
  top: 46%;
  right: 74px;
}

.project-window i:nth-of-type(3) {
  top: 58%;
}

.project-window i:nth-of-type(4) {
  top: 70%;
  right: 116px;
}

.project-card-body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
}

.project-card-body p {
  max-width: 760px;
  color: var(--premium-soft);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.6;
}

.project-card-body a {
  display: inline-flex;
  flex: 0 0 auto;
  color: var(--premium-text);
  font-weight: 900;
}

.project-tabs {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: calc(var(--project-tab-width) * 2);
  filter: drop-shadow(0 24px 55px rgba(0, 0, 0, 0.2));
  overflow: visible;
}

.project-tab {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: var(--project-tab-width);
  min-width: 0;
  padding: 26px 18px;
  border: 1px solid var(--premium-line);
  border-radius: 24px 30px 30px 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.026)),
    rgba(255, 255, 255, 0.038);
  color: var(--premium-soft);
  cursor: pointer;
  font: inherit;
  text-align: left;
  writing-mode: vertical-rl;
  transition: background var(--transition), color var(--transition), transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-tab.is-active {
  display: none;
}

.project-tab[data-tab-slot="1"] {
  right: calc(var(--project-tab-width) - var(--project-tab-overlap));
  z-index: 2;
  animation: project-tab-settle 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.project-tab[data-tab-slot="2"] {
  right: 0;
  z-index: 1;
  animation: project-tab-settle 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.project-tab:hover,
.project-tab:focus-visible,
.project-tab.is-active,
.project-tab[data-tab-slot] {
  background:
    linear-gradient(135deg, rgba(220, 185, 102, 0.18), rgba(255, 255, 255, 0.05)),
    rgba(255, 255, 255, 0.06);
  color: var(--premium-text);
}

.project-tab:focus-visible {
  outline: 2px solid rgba(220, 185, 102, 0.65);
  outline-offset: -4px;
}

.project-tab span {
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 900;
  white-space: nowrap;
}

.project-tab small {
  color: var(--premium-gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

@keyframes project-page-enter {
  from {
    opacity: 0.35;
    transform: translateX(calc(var(--project-tab-width) * 1.05)) scale(0.99);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes project-tab-settle {
  from {
    opacity: 0.7;
    transform: translateX(10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.premium-page-hero {
  max-width: 960px;
  padding: clamp(64px, 8vw, 112px) 0 clamp(34px, 5vw, 64px);
}

.premium-page-hero h1 {
  max-width: 920px;
  margin-top: 16px;
  color: var(--premium-text);
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.02;
}

.premium-page-hero p:last-child,
.premium-page-hero h1 + p {
  max-width: 760px;
  margin-top: 24px;
  color: var(--premium-soft);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.65;
}

.work-detail-grid {
  display: grid;
  gap: 18px;
  padding-top: 20px;
}

.work-case {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
  gap: clamp(22px, 5vw, 72px);
  scroll-margin-top: 110px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--premium-line);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.024)),
    var(--premium-panel);
}

.work-case:target {
  border-color: rgba(220, 185, 102, 0.46);
  box-shadow: 0 0 0 1px rgba(220, 185, 102, 0.12), 0 24px 70px rgba(0, 0, 0, 0.24);
}

.work-case h2 {
  margin-top: 12px;
  color: var(--premium-text);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
}

.work-case p:not(.premium-kicker) {
  max-width: 740px;
  margin-top: 18px;
  color: var(--premium-soft);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.7;
}

.work-case-aside {
  display: flex;
  align-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}

.work-case-aside span {
  padding: 10px 13px;
  border: 1px solid rgba(220, 185, 102, 0.24);
  border-radius: 999px;
  color: var(--premium-soft);
  background: rgba(220, 185, 102, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.premium-card-grid-six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.premium-card-grid-six article {
  min-height: 270px;
}

.premium-process-layout,
.premium-contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 6vw, 92px);
  padding-top: 24px;
}

.premium-process-layout > div:first-child,
.premium-contact-panel {
  align-self: start;
}

.premium-process-layout h2,
.premium-contact-panel h2,
.premium-cta h2 {
  margin-top: 14px;
  color: var(--premium-text);
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1;
}

.premium-process-layout > div:first-child > p:last-child,
.premium-contact-panel > p:not(.premium-kicker) {
  margin-top: 20px;
  color: var(--premium-soft);
  font-size: 18px;
  line-height: 1.7;
}

.premium-step-list {
  display: grid;
  gap: 14px;
}

.premium-step-list article {
  display: grid;
  grid-template-columns: 58px minmax(0, 0.35fr) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--premium-line);
  border-radius: 22px;
  background: var(--premium-panel);
}

.premium-step-list span {
  color: var(--premium-gold);
  font: 800 13px/1 "Manrope", sans-serif;
}

.premium-step-list h3 {
  color: var(--premium-text);
  font-size: clamp(21px, 2vw, 28px);
}

.premium-step-list p {
  color: var(--premium-muted);
  line-height: 1.6;
}

.premium-tool-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 32px;
  border: 1px solid var(--premium-line);
  border-radius: 28px;
  background: var(--premium-panel);
}

.premium-tool-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--premium-line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--premium-soft);
  font-size: 14px;
  font-weight: 800;
}

.premium-contact-panel,
.premium-contact-form {
  padding: 28px;
  border: 1px solid var(--premium-line);
  border-radius: 28px;
  background: var(--premium-panel);
}

.premium-contact-methods {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.premium-contact-methods p {
  display: grid;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--premium-line);
}

.premium-contact-methods strong {
  color: var(--premium-text);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.premium-contact-methods a,
.premium-contact-methods span {
  color: var(--premium-muted);
  text-decoration: none;
}

.premium-contact-form {
  display: grid;
  gap: 16px;
}

.premium-contact-form .field label {
  color: var(--premium-text);
  font-size: 13px;
}

.premium-contact-form .field input,
.premium-contact-form .field select,
.premium-contact-form .field textarea {
  border-color: var(--premium-line);
  background: rgba(0, 0, 0, 0.2);
  color: var(--premium-text);
}

.premium-contact-form .field select {
  color-scheme: dark;
}

.premium-contact-form .field select option {
  background: #101317;
  color: var(--premium-text);
}

.premium-contact-form .field select option:checked {
  background: #d7b56d;
  color: #07080a;
}

.premium-contact-form .field textarea {
  min-height: 172px;
}

.premium-contact-form .premium-button {
  justify-self: start;
  border: 0;
}

.premium-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(56px, 8vw, 96px);
  padding: 32px;
  border: 1px solid var(--premium-line);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(215, 181, 109, 0.16), rgba(255, 255, 255, 0.035)),
    var(--premium-panel);
}

.premium-footer {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) minmax(140px, 0.6fr) minmax(220px, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  margin-top: 84px;
  padding: 34px 0 4px;
  border-top: 1px solid var(--premium-line);
}

.premium-footer-brand {
  display: grid;
  gap: 18px;
  align-content: start;
}

.premium-footer-brand .premium-brand {
  justify-self: start;
}

.premium-footer-brand p {
  max-width: 470px;
  color: var(--premium-muted);
  line-height: 1.7;
}

.premium-footer-links,
.premium-footer-contact {
  display: grid;
  gap: 10px;
  align-content: start;
}

.premium-footer strong {
  color: var(--premium-text);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.premium-footer a,
.premium-footer span {
  color: var(--premium-muted);
  font-size: 14px;
  text-decoration: none;
  transition: color var(--transition);
}

.premium-footer a:hover {
  color: var(--premium-text);
}

@media (max-width: 1040px) {
  .premium-header {
    gap: 12px;
  }

  .premium-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: grid;
    padding: 10px;
    border-radius: 24px;
    background: rgba(7, 8, 10, 0.94);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  }

  .premium-header.menu-open .premium-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .premium-nav a {
    justify-content: center;
    min-height: 46px;
  }

  .premium-menu-toggle {
    display: flex;
  }

  .premium-hero,
  .premium-section,
  .premium-card-grid,
  .premium-card-grid-six,
  .premium-process-layout,
  .premium-contact-layout,
  .work-case,
  .premium-footer {
    grid-template-columns: 1fr;
  }

  .systems-panel {
    min-height: 0;
  }

  .systems-illustration {
    max-width: 640px;
  }

  .premium-page-hero {
    padding-top: 74px;
  }

  .premium-step-list article {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .premium-step-list p {
    grid-column: 2;
  }

  .premium-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-stack {
    --project-tab-width: 68px;
  }

  .project-tab {
    padding: 24px 18px;
  }
}

@media (max-width: 680px) {
  .premium-shell {
    padding: 12px 14px 48px;
  }

  .premium-header {
    top: 10px;
    gap: 8px;
    min-height: 60px;
    padding: 8px;
    border-radius: 24px;
  }

  .premium-brand {
    max-width: calc(100vw - 94px);
    min-height: 42px;
    padding: 0 13px;
  }

  .premium-brand-word {
    font-size: 18px;
  }

  .premium-brand-soft {
    font-size: 13px;
  }

  .premium-nav-cta {
    display: none;
  }

  .premium-hero {
    min-height: auto;
    padding: 58px 0 38px;
  }

  .premium-hero h1 {
    font-size: clamp(42px, 12vw, 64px);
  }

  .premium-page-hero h1 {
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1.04;
  }

  .premium-lede {
    font-size: 17px;
  }

  .premium-actions .premium-button {
    width: 100%;
    justify-content: center;
  }

  .systems-panel {
    min-height: 0;
    padding: 20px;
    border-radius: 22px;
  }

  .systems-illustration {
    width: min(100%, 560px);
    min-width: 0;
    margin-right: auto;
    margin-left: auto;
    transform: none;
  }

  .systems-copy h2 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .premium-section {
    padding-top: 62px;
  }

  .premium-intro {
    padding: 52px 0 20px;
  }

  .recent-work {
    padding-top: 42px;
  }

  .project-stack {
    padding-right: 0;
    gap: 14px;
    min-height: 0;
  }

  .project-card-featured {
    min-height: 0;
    padding: 22px;
    border-radius: 22px;
  }

  .project-card-featured::before {
    inset: 0;
    width: auto;
  }

  .project-card-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .project-card-top small {
    letter-spacing: 0.08em;
  }

  .project-window {
    min-height: 180px;
    margin: 22px 0;
  }

  .project-card-body {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .project-card-body a {
    margin-top: 0;
  }

  .project-tabs {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: auto;
  }

  .project-tab {
    position: static;
    display: flex;
    min-height: 56px;
    width: auto;
    padding: 0 16px;
    border-left: 1px solid var(--premium-line);
    border-radius: 999px;
    writing-mode: horizontal-tb;
  }

  .project-tab.is-active {
    display: flex;
  }

  .premium-page-hero {
    padding-top: 54px;
  }

  .premium-page-hero p:last-child {
    font-size: 17px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .work-case {
    padding: 22px;
    border-radius: 22px;
  }

  .premium-card-grid-six article {
    min-height: 0;
  }

  .premium-step-list article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .premium-step-list p {
    grid-column: auto;
  }

  .premium-tool-cloud,
  .premium-contact-panel,
  .premium-contact-form,
  .premium-cta {
    padding: 20px;
    border-radius: 22px;
  }

  .premium-tool-cloud span {
    width: 100%;
    justify-content: center;
  }

  .premium-cta .premium-button,
  .premium-contact-form .premium-button {
    width: 100%;
  }

  .premium-card-grid article {
    min-height: 0;
  }

  .premium-card-grid h3 {
    margin-top: 28px;
  }
}

@media (max-width: 900px) {
  .site-frame {
    width: 100%;
  }

  .browser-bar {
    grid-template-columns: 90px 1fr 80px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 12px 18px;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 18px;
    left: 18px;
    display: grid;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  }

  .nav-links a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px;
    min-height: 44px;
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .browser-shell.menu-open .nav-links,
  .site-header.menu-open .nav-links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu-toggle-btn {
    display: flex;
  }

  .hero,
  .service-grid,
  .why-grid,
  .testimonial-grid,
  .site-footer,
  .page-grid,
  .contact-layout,
  .process-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero,
  .section,
  .site-footer,
  .page-hero {
    padding-left: 28px;
    padding-right: 28px;
  }

  .hero-illustration {
    min-height: 260px;
  }
}

@media (max-width: 560px) {
  .site-frame {
    width: 100%;
    margin: 0;
  }

  .browser-shell {
    border-width: 0;
    border-radius: 0;
  }

  .browser-bar {
    display: none;
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  .search-icon {
    display: none;
  }

  .hero,
  .section,
  .site-footer,
  .page-hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    padding-top: 42px;
  }

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

  .service-grid {
    gap: 14px;
  }

  .hero-illustration {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Direction B — Bold dark + lime accent
   Restructured hero with single-column copy, blurred orb art,
   and pinned testimonial card. Override existing premium-hero.
   ========================================================= */

.relay-hero-v2 {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  min-height: auto;
  padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 7vw, 104px);
  isolation: isolate;
  overflow: visible;
}

.relay-hero-v2 .premium-hero-copy {
  position: relative;
  max-width: 660px;
  z-index: 2;
}

.hero-illustration {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 1.5vw, 24px);
}

.hero-illustration img {
  width: 100%;
  max-width: 580px;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.4));
  animation: hero-illustration-float 8s ease-in-out infinite alternate;
}

@keyframes hero-illustration-float {
  from { transform: translateY(0); }
  to   { transform: translateY(-10px); }
}

@media (max-width: 880px) {
  .relay-hero-v2 {
    grid-template-columns: 1fr;
  }
  .hero-illustration {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-illustration img {
    animation: none;
  }
}

/* =========================================================
   Page transitions — fade out on leave only.
   (Removed on-arrive body animation — it created an ancestor
   stacking context that broke backdrop-filter on the navbar.)
   ========================================================= */

html.is-leaving body {
  opacity: 0;
  transition: opacity 150ms ease-in;
}

@media (prefers-reduced-motion: reduce) {
  html.is-leaving body {
    transition: none;
    opacity: 1;
  }
}


/* Tame the headline — was eating the entire viewport */
.relay-hero-v2 h1 {
  margin-top: 22px;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.relay-hero-v2 .premium-lede {
  margin-top: 22px;
  font-size: clamp(17px, 1.3vw, 19px);
  max-width: 56ch;
}

/* Big blurred lime orb — the one signature visual element */
.relay-orb {
  position: absolute;
  top: -180px;
  right: -220px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #b6ff5e 0%, #5fd97a 35%, rgba(40, 120, 60, 0) 72%);
  filter: blur(70px);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}

.relay-orb-secondary {
  top: 320px;
  right: auto;
  left: -260px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle at 50% 50%, #65d9c6 0%, rgba(40, 120, 110, 0) 70%);
  opacity: 0.28;
  filter: blur(90px);
}

/* Pinned testimonial card above the headline */
.hero-testimonial {
  display: inline-flex;
  flex-direction: column;
  gap: 16px;
  max-width: 520px;
  margin-bottom: 36px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-testimonial-quote {
  margin: 0;
  color: var(--premium-text, #f1f3f5);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.005em;
}

.hero-testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--premium-soft, #9aa1a8);
}

.hero-testimonial-meta strong {
  display: block;
  color: var(--premium-text, #f1f3f5);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.005em;
}

.hero-testimonial-meta span {
  display: block;
  color: var(--premium-soft, #9aa1a8);
}

.hero-testimonial-avatar {
  display: inline-block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, #b6ff5e 0%, #5fd97a 60%, #2c8a4a 100%);
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* Mobile: orb smaller, testimonial full-width */
@media (max-width: 720px) {
  .relay-orb {
    width: 460px;
    height: 460px;
    top: -140px;
    right: -180px;
    opacity: 0.45;
  }

  .relay-orb-secondary {
    display: none;
  }

  .hero-testimonial {
    max-width: 100%;
  }

  .relay-hero-v2 h1 {
    font-size: clamp(30px, 7vw, 44px);
    line-height: 1.05;
  }

  .relay-hero-v2 .premium-lede {
    font-size: 15px;
  }

  .relay-hero-v2 .premium-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .relay-hero-v2 .premium-actions .premium-button {
    width: 100%;
    justify-content: center;
  }
}

/* Reduced-motion already covered upstream */
@media (prefers-reduced-motion: reduce) {
  .relay-orb {
    filter: blur(50px);
  }
}

/* =========================================================
   Direction B — round 2: navbar glass + floated testimonial + logo refresh
   ========================================================= */

/* Glassier navbar — uniform frosted glass across the whole bar */
.premium-header {
  border-color: rgba(255, 255, 255, 0.10);
  background: rgba(20, 20, 22, 0.42);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 24px 70px rgba(0, 0, 0, 0.34);
}

/* Logo refresh — clean unified wordmark with three-bar mark */
.relay-brand-v2 {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  padding: 0 16px 0 12px;
  gap: 10px;
}

.relay-logo-mark {
  display: inline-block;
  height: 18px;
  width: auto;
  flex-shrink: 0;
  color: var(--premium-accent-strong);
  filter: drop-shadow(0 0 8px rgba(155, 230, 122, 0.32));
  transition: filter 280ms ease, transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.relay-brand-v2:hover .relay-logo-mark {
  filter: drop-shadow(0 0 14px rgba(155, 230, 122, 0.55));
  transform: translateX(1px);
}

.relay-brand-v2 .premium-brand-word {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--premium-text);
}

.relay-brand-v2 .premium-brand-word + .premium-brand-word {
  color: var(--premium-text);
  opacity: 0.95;
}

/* Footer brand — no pill background, just the mark + wordmark */
.premium-footer .relay-brand-v2 {
  background: transparent;
  border: 0;
  padding: 0;
  min-height: auto;
}

.premium-footer .relay-logo-mark {
  height: 20px;
}

/* Floated testimonial — sits right side, on top of the orb glow */
.hero-testimonial-floated {
  position: absolute;
  top: clamp(32px, 8vw, 100px);
  right: clamp(0px, 2vw, 16px);
  max-width: 380px;
  z-index: 2;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border-color: rgba(255, 255, 255, 0.11);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 24px 60px rgba(0, 0, 0, 0.45);
}

/* Make sure copy is now the full-width focal — it had max-width 980 */
.relay-hero-v2 .premium-hero-copy {
  max-width: 880px;
  padding-top: clamp(16px, 4vw, 48px);
}

/* On narrow screens, return testimonial to flow above headline */
@media (max-width: 880px) {
  .hero-testimonial-floated {
    position: relative;
    top: auto;
    right: auto;
    max-width: 100%;
    margin-bottom: 28px;
  }
}

/* =========================================================
   Testimonial banner — full-width horizontal bar under intro
   ========================================================= */

.testimonial-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  margin: clamp(28px, 4vw, 48px) 0 clamp(56px, 7vw, 88px);
  padding: clamp(22px, 2.5vw, 30px) clamp(26px, 3vw, 38px);
  border-radius: 22px;
  border: 1px solid rgba(155, 230, 122, 0.14);
  background:
    linear-gradient(135deg, rgba(155, 230, 122, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 18px 50px rgba(0, 0, 0, 0.35);
}

.testimonial-banner-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(155, 230, 122, 0.22), rgba(155, 230, 122, 0.04));
  color: var(--premium-accent-strong);
  font-family: "Manrope", serif;
  font-size: 38px;
  font-weight: 800;
  line-height: 0.65;
  padding-top: 12px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(155, 230, 122, 0.2) inset;
}

.testimonial-banner-quote {
  margin: 0;
  color: var(--premium-text);
  font-size: clamp(15px, 1.35vw, 19px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.005em;
  max-width: 70ch;
}

.testimonial-banner-quote::before {
  content: "\201C";
}

.testimonial-banner-quote::after {
  content: "\201D";
}

.testimonial-banner-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.testimonial-banner-meta strong {
  display: block;
  color: var(--premium-text);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.005em;
}

.testimonial-banner-meta strong.font-alta {
  font-family: "Alta", "Manrope", serif;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.01em;
}

.testimonial-banner-meta span:not(.testimonial-banner-avatar) {
  display: block;
  color: var(--premium-soft);
  font-size: 12px;
}

.testimonial-banner-avatar {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b6ff5e 0%, #5fd97a 60%, #2c8a4a 100%);
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

@media (max-width: 720px) {
  .testimonial-banner {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: left;
  }
  .testimonial-banner-mark {
    width: 38px;
    height: 38px;
    font-size: 44px;
    padding-top: 8px;
  }
}


/* =========================================================
   Direction B — round 3: green primary + section polish
   ========================================================= */

/* Tighter, more refined marquee — match the glass aesthetic */
.premium-strip {
  margin-top: clamp(24px, 4vw, 48px);
  padding: 18px 0;
  border-color: rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0));
}

.tool-tile {
  border-color: rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  color: var(--premium-soft);
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}

.tool-tile:hover {
  border-color: rgba(155, 230, 122, 0.32);
  background: rgba(155, 230, 122, 0.06);
  color: var(--premium-text);
}

/* Intro section h2 — tighter, less screaming */
.premium-intro h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.premium-intro > p {
  color: var(--premium-soft);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.65;
  max-width: 60ch;
}

/* Recent work — tighten the heading rhythm */
.recent-work-heading h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

/* Make 'active' nav link underline use the new green */
.premium-nav a.active::after {
  background: var(--premium-accent-strong);
  box-shadow: 0 0 12px rgba(182, 255, 94, 0.55);
}

/* Status dot in eyebrow → green */
.premium-status-kicker span::before {
  background: var(--premium-accent-strong);
  box-shadow: 0 0 10px rgba(182, 255, 94, 0.65);
}

/* CTA primary button → use green for affordance, dark text for contrast */
.premium-button.primary {
  background: var(--premium-accent-strong);
  color: #0a1410;
}

.premium-button.primary:hover {
  background: #c8ff70;
}

.premium-nav-cta {
  background: var(--premium-accent-strong);
  color: #0a1410;
  border-color: transparent;
}

.premium-nav-cta:hover {
  background: #c8ff70;
}

/* =========================================================
   Round 4: nav pill active state, project section polish, animations
   ========================================================= */

/* Nav: drop underline, use background pill for active page */
.premium-nav a::after {
  display: none;
}

.premium-nav a {
  transition: background 220ms cubic-bezier(0.22, 1, 0.36, 1),
              color 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.premium-nav a.active {
  background: rgba(155, 230, 122, 0.13);
  color: var(--premium-text);
  box-shadow:
    0 0 0 1px rgba(155, 230, 122, 0.22) inset;
}

.premium-nav a:hover:not(.active) {
  background: rgba(255, 255, 255, 0.06);
}

/* Project section — swap amber traces for green and clean up the "scope map" */
.project-card-featured::before {
  background:
    radial-gradient(circle at 16% 18%, rgba(155, 230, 122, 0.16), transparent 38%),
    linear-gradient(90deg, rgba(155, 230, 122, 0.08), transparent);
}

.project-card-top small {
  color: var(--premium-accent-strong);
}

.project-window {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(155, 230, 122, 0.06), transparent 55%),
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
  border-color: rgba(255, 255, 255, 0.10);
}

/* Hide legacy scan lines if any remain in the DOM */
.project-window i,
.project-window > span:first-child {
  display: none;
}

/* Per-project visual — fills the project window */
.project-visual {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: inherit;
  overflow: hidden;
  transition: background 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.05), transparent 55%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
  opacity: 0.7;
  pointer-events: none;
}

.project-visual-glyph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--premium-text);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 18px 50px rgba(0, 0, 0, 0.4);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-visual-label {
  position: relative;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Theme-specific background tints */
.project-visual[data-theme="arcana"] {
  background:
    radial-gradient(circle at 25% 25%, rgba(155, 230, 122, 0.18), transparent 55%),
    linear-gradient(135deg, rgba(20, 60, 40, 0.65), rgba(10, 18, 14, 0.85));
}
.project-visual[data-theme="arcana"] .project-visual-glyph {
  background: linear-gradient(135deg, rgba(155, 230, 122, 0.25), rgba(155, 230, 122, 0.05));
  color: var(--premium-accent-strong);
}

.project-visual[data-theme="email"] {
  background:
    radial-gradient(circle at 70% 30%, rgba(101, 217, 198, 0.18), transparent 55%),
    linear-gradient(135deg, rgba(15, 40, 55, 0.65), rgba(10, 14, 18, 0.85));
}
.project-visual[data-theme="email"] .project-visual-glyph {
  background: linear-gradient(135deg, rgba(101, 217, 198, 0.22), rgba(101, 217, 198, 0.04));
  color: #7ee8d4;
}

.project-visual[data-theme="access"] {
  background:
    radial-gradient(circle at 30% 70%, rgba(170, 145, 255, 0.16), transparent 55%),
    linear-gradient(135deg, rgba(28, 22, 50, 0.65), rgba(10, 10, 18, 0.85));
}
.project-visual[data-theme="access"] .project-visual-glyph {
  background: linear-gradient(135deg, rgba(170, 145, 255, 0.22), rgba(170, 145, 255, 0.04));
  color: #c5b3ff;
}

/* Polished side tabs */
.project-stack {
  --project-tab-width: clamp(72px, 6vw, 92px);
  --project-tab-overlap: 18px;
}

.project-tab {
  cursor: pointer;
  padding: 32px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px 28px 28px 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  transition:
    background 260ms cubic-bezier(0.22, 1, 0.36, 1),
    color 260ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 240ms ease,
    box-shadow 360ms ease;
}

.project-tab span {
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 600;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.78);
}

.project-tab small {
  color: rgba(255, 255, 255, 0.32);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.project-tab:hover {
  transform: translateX(-8px);
  border-color: rgba(155, 230, 122, 0.28);
  background:
    linear-gradient(135deg, rgba(155, 230, 122, 0.10), rgba(255, 255, 255, 0.025));
  box-shadow:
    0 0 0 1px rgba(155, 230, 122, 0.14) inset,
    0 22px 60px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(155, 230, 122, 0.06);
}

.project-tab:hover span {
  color: var(--premium-text);
}

.project-tab:hover small {
  color: var(--premium-accent-strong);
}

/* Make the visual glyph 'breathe' when project enters */
.project-card-featured.is-entering .project-visual-glyph {
  animation: glyph-pop 480ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes glyph-pop {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Tabs — green hover/active treatment */
.project-tab:hover,
.project-tab:focus-visible,
.project-tab.is-active,
.project-tab[data-tab-slot] {
  background:
    linear-gradient(135deg, rgba(155, 230, 122, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.045);
  color: var(--premium-text);
}

.project-tab:focus-visible {
  outline: 2px solid rgba(155, 230, 122, 0.65);
  outline-offset: -4px;
}

.project-tab small {
  color: var(--premium-accent-strong);
}

/* Project card body 'View more' — styled as green pill button */
.project-view-more {
  position: relative;
  padding: 0 22px 0 22px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.project-view-more::after {
  content: "→";
  display: inline-block;
  margin-left: 8px;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-view-more:hover::after {
  transform: translateX(4px);
}

/* =========================================================
   Animations — scroll-reveal, header shadow on scroll
   ========================================================= */

/* Scroll-reveal base state */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children when reveal-stagger is on parent */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 80ms; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 160ms; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 320ms; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 400ms; opacity: 1; transform: none; }

/* Header gets stronger shadow + tighter blur when scrolled */
.premium-header {
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 260ms ease,
    backdrop-filter 220ms ease;
}

.premium-header.is-scrolled {
  background: rgba(10, 11, 13, 0.78);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    0 18px 50px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(155, 230, 122, 0.05);
  backdrop-filter: blur(56px) saturate(200%);
  -webkit-backdrop-filter: blur(56px) saturate(200%);
}

/* Page-load fade-in for hero */
.relay-hero-v2 .premium-hero-copy,
.hero-testimonial-floated {
  animation: hero-fade-up 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-testimonial-floated {
  animation-delay: 180ms;
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subtle drift on the orbs */
.relay-orb {
  animation: orb-drift 18s ease-in-out infinite alternate;
}
.relay-orb-secondary {
  animation: orb-drift-2 22s ease-in-out infinite alternate;
}

@keyframes orb-drift {
  from { transform: translate(0, 0); }
  to   { transform: translate(-22px, 18px); }
}

@keyframes orb-drift-2 {
  from { transform: translate(0, 0); }
  to   { transform: translate(18px, -14px); }
}

/* Honor reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .relay-orb,
  .relay-orb-secondary,
  .relay-hero-v2 .premium-hero-copy,
  .hero-testimonial-floated {
    animation: none;
  }
}

/* =========================================================
   Inner page consistency — orb on page heroes, hero polish
   ========================================================= */

/* Make inner page hero a positioning context for the orb */
.premium-page-hero {
  position: relative;
  isolation: isolate;
  overflow: visible;
}

/* Subtler orb variant for inner page heroes (one orb, top right) */
.relay-orb-page {
  top: -160px;
  right: -200px;
  width: 580px;
  height: 580px;
  opacity: 0.42;
  filter: blur(80px);
  z-index: 0;
}

/* Lift content above the orb — exclude the orb itself
   so it stays absolutely positioned and doesn't take up flow space. */
.premium-page-hero > *:not(.relay-orb) {
  position: relative;
  z-index: 1;
}

/* Hero text fade-up on inner pages (matches homepage feel) */
.premium-page-hero .premium-kicker,
.premium-page-hero h1,
.premium-page-hero > p {
  animation: hero-fade-up 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.premium-page-hero h1 {
  animation-delay: 80ms;
}

.premium-page-hero > p {
  animation-delay: 160ms;
}

@media (prefers-reduced-motion: reduce) {
  .relay-orb-page {
    animation: none;
  }
  .premium-page-hero .premium-kicker,
  .premium-page-hero h1,
  .premium-page-hero > p {
    animation: none;
  }
}

/* =========================================================
   Service cards — green icon top, number bottom-right
   ========================================================= */

.service-card {
  position: relative;
  padding-bottom: clamp(40px, 4vw, 56px);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(155, 230, 122, 0.20), rgba(155, 230, 122, 0.04));
  color: var(--premium-accent-strong);
  box-shadow:
    0 0 0 1px rgba(155, 230, 122, 0.18) inset,
    0 8px 24px rgba(155, 230, 122, 0.08);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 320ms ease;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card:hover .service-icon {
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    0 0 0 1px rgba(155, 230, 122, 0.32) inset,
    0 12px 32px rgba(155, 230, 122, 0.18);
}

/* Move the number to the bottom-right (works on any card grid) */
.service-card .service-num {
  position: absolute;
  bottom: 18px;
  right: 22px;
  color: rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  transition: color 220ms ease;
}

.service-card:hover .service-num {
  color: var(--premium-accent-strong);
}

/* Subtle card hover lift */
.service-card {
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
              border-color 240ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(155, 230, 122, 0.18);
}

/* Tighten h3 spacing (was 34px assuming number on top) */
.service-card h3 {
  margin-top: 0;
}

/* Section heading margin tidy on the process page */
.process-section-h2 {
  margin-top: 14px;
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

/* =========================================================
   Arcana case study — branded font + system stack
   ========================================================= */

@font-face {
  font-family: "Alta";
  src: url("assets/Alta_regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.arcana-title {
  font-family: "Alta", "Manrope", serif;
  font-size: clamp(88px, 12vw, 180px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.78) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Override the parent .work-case h2 margin so Arcana sits flush at top */
.work-case .arcana-title {
  margin-top: 0;
}

.work-case-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(36px, 5vw, 56px);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(155, 230, 122, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  align-items: start;
}

.work-case-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.work-case-summary {
  margin-top: 14px;
  color: var(--premium-soft);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
  max-width: 56ch;
}

.work-case-link {
  align-self: flex-start;
  margin-top: 22px;
  color: var(--premium-accent-strong);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: color 200ms ease, transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.work-case-link:hover {
  color: #c8ff70;
  transform: translateX(2px);
}

/* System stack panel */
.work-case-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border-radius: 20px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.work-case-stack-label {
  margin: 0 0 4px;
  color: var(--premium-accent-strong);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.work-stack-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.work-stack-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 220ms ease, border-color 220ms ease, transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.work-stack-item:hover {
  background: rgba(155, 230, 122, 0.05);
  border-color: rgba(155, 230, 122, 0.18);
  transform: translateX(-2px);
}

.work-stack-item img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 7px;
}

.work-stack-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.work-stack-item strong {
  color: var(--premium-text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.work-stack-item span {
  color: var(--premium-muted);
  font-size: 12px;
  line-height: 1.4;
}

/* Stack on mobile */
@media (max-width: 820px) {
  .work-case-featured {
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .arcana-title {
    font-size: clamp(56px, 14vw, 96px);
  }
}

/* =========================================================
   Work page — placeholder/upcoming project cards
   ========================================================= */

.work-case-placeholder {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(26px, 3.5vw, 38px);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.018);
}

.work-case-placeholder-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(155, 230, 122, 0.18);
  background: rgba(155, 230, 122, 0.06);
  color: var(--premium-accent-strong);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.placeholder-status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--premium-accent-strong);
  box-shadow: 0 0 0 0 rgba(155, 230, 122, 0.7);
  animation: placeholder-pulse 2s ease-out infinite;
}

@keyframes placeholder-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(155, 230, 122, 0.65);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(155, 230, 122, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(155, 230, 122, 0);
  }
}

/* Coming soon variant — muted */
.work-case-placeholder-soon .work-case-placeholder-status {
  border-color: rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.55);
}

.work-case-placeholder-title {
  margin: 0;
  color: var(--premium-text);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.work-case-placeholder-copy {
  margin: 0;
  color: var(--premium-soft);
  font-size: 15px;
  line-height: 1.6;
  max-width: 60ch;
}

/* Coming soon — slightly more muted overall */
.work-case-placeholder-soon {
  background: rgba(255, 255, 255, 0.012);
}

.work-case-placeholder-soon .work-case-placeholder-title {
  color: rgba(255, 255, 255, 0.65);
}

@media (prefers-reduced-motion: reduce) {
  .placeholder-status-dot {
    animation: none;
  }
}

/* 404 page */
.error-page-hero {
  text-align: left;
  padding-bottom: clamp(60px, 10vw, 120px);
}
.error-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* Privacy / legal page */
.legal-content {
  max-width: 760px;
  padding: clamp(24px, 4vw, 56px) 0 clamp(48px, 6vw, 96px);
  color: var(--premium-soft);
  font-size: 16px;
  line-height: 1.7;
}
.legal-content .legal-meta {
  margin: 0 0 28px;
  color: var(--premium-muted);
  font-size: 13px;
  letter-spacing: 0.01em;
}
.legal-content h2 {
  margin: 48px 0 16px;
  color: var(--premium-text);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.legal-content h2:first-of-type {
  margin-top: 0;
}
.legal-content p {
  margin: 0 0 22px;
}
.legal-content ul {
  margin: 0 0 26px;
  padding-left: 22px;
}
.legal-content li {
  margin: 0 0 10px;
}
.legal-content li::marker {
  color: var(--premium-accent-strong);
}
.legal-content a {
  color: var(--premium-accent-strong);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 200ms ease;
}
.legal-content a:hover {
  color: #c8ff70;
}
.legal-content strong {
  color: var(--premium-text);
}

/* Contact form success banner (shown after FormSubmit redirect) */
.contact-sent-banner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 22px;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid rgba(155, 230, 122, 0.28);
  background:
    linear-gradient(135deg, rgba(155, 230, 122, 0.10), rgba(155, 230, 122, 0.02));
  max-width: 540px;
}
.contact-sent-banner strong {
  color: var(--premium-accent-strong);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.contact-sent-banner span {
  color: var(--premium-soft);
  font-size: 13px;
}

/* =========================================================
   CTA strip — tighter, less screaming, button doesn't wrap
   ========================================================= */

.premium-cta {
  margin-top: clamp(40px, 5vw, 64px);
  padding: 22px 28px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(155, 230, 122, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.08);
  align-items: center;
  gap: 28px;
}

.premium-cta h2 {
  margin-top: 6px;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 38ch;
}

.premium-cta .premium-kicker {
  font-size: 11px;
}

/* Make sure CTA button never wraps */
.premium-cta .premium-button {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0 22px;
  min-height: 44px;
  font-size: 14px;
}

@media (max-width: 640px) {
  .premium-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
}







