/* ============================================
   Utility Equipment Finance Group
   Premium design system
   ============================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Fraunces:ital,opsz,wght@0,9..144,300..600;1,9..144,300..500&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* Color */
  --ink-900: #0A1628;
  --ink-800: #0F2440;
  --ink-700: #1A2D4A;
  --ink-500: #3D4F6B;
  --ink-300: #6C7891;
  --ink-200: #9BA3B4;
  --paper: #FAFAF7;
  --paper-warm: #F4F1EA;
  --paper-pure: #FFFFFF;
  --line: #E5E7EB;
  --line-soft: #EFF0F2;
  --accent: #1A6FFF;
  --accent-hover: #0F58D6;
  --accent-bright: #00A3E0;
  --accent-soft: #EDF3FF;
  --gold: #B89968;
  --success: #0F7B5A;
  --danger: #C8443A;

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fraunces', 'Times New Roman', serif;

  /* Scale */
  --container: 1240px;
  --container-narrow: 920px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.04), 0 1px 3px rgba(10, 22, 40, 0.05);
  --shadow: 0 4px 16px rgba(10, 22, 40, 0.06), 0 2px 6px rgba(10, 22, 40, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(10, 22, 40, 0.18), 0 8px 16px -8px rgba(10, 22, 40, 0.1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--paper);
  font-feature-settings: 'ss01', 'cv11';
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; }
ul { list-style: none; }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent);
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--ink-900);
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.5rem, 5.8vw, 4.75rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
  font-weight: 500;
}

h1 .accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--ink-900);
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  letter-spacing: -0.025em;
  line-height: 1.08;
  font-weight: 500;
}

h2 .accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

h3 {
  font-size: 1.375rem;
  letter-spacing: -0.015em;
  font-weight: 600;
}

p { color: var(--ink-500); }
p.lead {
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--ink-500);
  max-width: 60ch;
}

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.container.narrow { max-width: var(--container-narrow); }

section { padding: 7rem 0; }
section.tight { padding: 4rem 0; }

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  section { padding: 4.5rem 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: var(--radius-pill);
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.4s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
}

.btn-primary {
  background: var(--ink-900);
  color: var(--paper-pure);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 8px 24px -8px rgba(10, 22, 40, 0.4);
}
.btn-primary:hover {
  background: var(--ink-700);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -8px rgba(10, 22, 40, 0.5);
}

.btn-accent {
  background: var(--accent);
  color: var(--paper-pure);
  box-shadow: 0 8px 24px -8px rgba(26, 111, 255, 0.5);
}
.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -6px rgba(26, 111, 255, 0.55);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border: 1px solid var(--ink-900);
}
.btn-ghost:hover {
  background: var(--ink-900);
  color: var(--paper-pure);
}

.btn-ghost-light {
  background: transparent;
  color: var(--paper-pure);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn-ghost-light:hover {
  background: var(--paper-pure);
  color: var(--ink-900);
  border-color: var(--paper-pure);
}

.btn .arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.35s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

/* Text link */
.link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-900);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.005em;
  position: relative;
  padding-bottom: 2px;
}
.link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.link:hover::after { transform: scaleX(0.4); }
.link .arrow { width: 12px; height: 12px; transition: transform 0.35s var(--ease); }
.link:hover .arrow { transform: translateX(3px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.86);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}
.brand picture { display: block; line-height: 0; }
.brand-logo {
  height: 42px;
  width: auto;
  display: block;
  transition: opacity 0.25s var(--ease);
}
.brand:hover .brand-logo { opacity: 0.78; }
@media (max-width: 640px) {
  .brand-logo { height: 36px; width: 36px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-700);
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--ink-900); }
.nav-links a.active { color: var(--ink-900); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -22px;
  height: 2px;
  background: var(--accent);
}

.nav-cta { display: flex; align-items: center; gap: 0.75rem; }
.nav-cta .btn { padding: 0.65rem 1.1rem; font-size: 0.88rem; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
}
.menu-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink-900);
  position: relative;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  background: var(--ink-900);
  transition: transform 0.4s var(--ease);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-links, .nav-cta .btn:not(.menu-toggle) { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--paper);
  z-index: 99;
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
  padding: 2.5rem 24px 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  overflow-y: auto;
}
.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-drawer a {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.25rem;
}
.mobile-drawer .btn { align-self: flex-start; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 9rem 0 6rem;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 80% 0%, rgba(26, 111, 255, 0.06), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(184, 153, 104, 0.05), transparent 60%);
  pointer-events: none;
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10, 22, 40, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 22, 40, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent 80%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
  max-width: 920px;
}
.hero h1 { margin-top: 1.5rem; }
.hero .lead { margin-top: 0.5rem; }
.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--ink-300);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.hero-meta-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(15, 123, 90, 0.18);
}

/* ---------- Stats strip ---------- */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-pure);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 3rem 2rem;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.5rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink-900);
}
.stat-num sup {
  font-size: 0.45em;
  font-style: normal;
  font-family: var(--font-sans);
  font-weight: 500;
  vertical-align: super;
  margin-left: 4px;
  color: var(--accent);
}
.stat-label {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--ink-500);
  letter-spacing: 0.02em;
}
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 2rem 1.25rem; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Section header ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}
.section-head .lead { margin-top: 1.5rem; }
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2.5rem; }
}

/* ---------- Service cards ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 980px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } }

.service {
  position: relative;
  background: var(--paper-pure);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease), box-shadow 0.5s var(--ease);
  overflow: hidden;
  min-height: 280px;
}
.service::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 111, 255, 0) 0%, rgba(26, 111, 255, 0.04) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.service:hover {
  transform: translateY(-4px);
  border-color: var(--ink-900);
  box-shadow: var(--shadow-lg);
}
.service:hover::before { opacity: 1; }

.service-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.service h3 {
  font-size: 1.35rem;
  letter-spacing: -0.018em;
  line-height: 1.18;
  margin-bottom: 0.25rem;
}
.service p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-500);
}
.service-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-900);
  font-weight: 600;
  font-size: 0.88rem;
  padding-top: 0.5rem;
}
.service-cta .arrow { width: 14px; height: 14px; transition: transform 0.35s var(--ease); }
.service:hover .service-cta .arrow { transform: translateX(4px); }

/* Service detail (services page) */
.service-detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  padding: 4rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.service-detail:last-child { border-bottom: 0; }
.service-detail .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.service-detail h3 {
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0.5rem 0 1rem;
}
.service-detail p { font-size: 1.05rem; line-height: 1.55; color: var(--ink-500); }
.service-detail ul {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}
.service-detail li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line-soft);
  font-size: 0.97rem;
  color: var(--ink-700);
}
.service-detail li:first-child { border-top: 1px solid var(--line); }
.service-detail li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 0.55rem;
}
@media (max-width: 820px) {
  .service-detail { grid-template-columns: 1fr; gap: 1.5rem; padding: 3rem 0; }
}

/* ---------- Dark section (CTA / contrast) ---------- */
.dark {
  background: var(--ink-900);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(26, 111, 255, 0.25), transparent 60%),
    radial-gradient(ellipse 50% 50% at 100% 100%, rgba(0, 163, 224, 0.12), transparent 60%);
  pointer-events: none;
}
.dark h2 { color: var(--paper-pure); }
.dark p { color: rgba(255, 255, 255, 0.7); }
.dark .eyebrow { color: var(--accent-bright); }
.dark .eyebrow::before { background: var(--accent-bright); }

.cta-block {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}
.cta-block .lead { color: rgba(255, 255, 255, 0.78); font-size: 1.15rem; }
.cta-block-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
@media (max-width: 820px) {
  .cta-block { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Approach / timeline ---------- */
.approach {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.approach-step {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  position: relative;
}
.approach-step::before {
  counter-increment: step;
  content: '0' counter(step);
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--accent);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.approach-step h4 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  margin-bottom: 0.5rem;
}
.approach-step p { font-size: 0.93rem; line-height: 1.55; }
@media (max-width: 900px) { .approach { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .approach { grid-template-columns: 1fr; } }

/* ---------- About specifics ---------- */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  padding-top: 6rem;
}
.about-hero .eyebrow { margin-bottom: 1.5rem; }
.about-hero p { font-size: 1.1rem; line-height: 1.6; color: var(--ink-500); }
@media (max-width: 820px) { .about-hero { grid-template-columns: 1fr; gap: 1.5rem; padding-top: 4rem; } }

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.value {
  padding: 2.25rem 0;
  border-top: 1px solid var(--ink-700);
}
.value .num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent-bright);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.value h4 {
  color: var(--paper-pure);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  letter-spacing: -0.018em;
}
.value p { color: rgba(255, 255, 255, 0.7); font-size: 0.97rem; line-height: 1.6; }
@media (max-width: 820px) { .values { grid-template-columns: 1fr; gap: 0.5rem; } }

.sectors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.sector {
  padding: 1.5rem 1.25rem;
  background: var(--paper-pure);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-900);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.sector:hover { border-color: var(--ink-900); transform: translateY(-2px); }
.sector-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
@media (max-width: 820px) { .sectors { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; } }

.contact-info { padding-top: 1rem; }
.contact-info h1 { margin-bottom: 1.5rem; }
.contact-info .lead { margin-bottom: 3rem; }

.contact-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.contact-item {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1.5rem;
  align-items: start;
}
.contact-item dt {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-300);
  padding-top: 4px;
}
.contact-item dd {
  font-size: 1.05rem;
  color: var(--ink-900);
  font-weight: 500;
}
.contact-item dd a:hover { color: var(--accent); }

/* Form */
.form-card {
  background: var(--paper-pure);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.form-card h3 { font-size: 1.35rem; margin-bottom: 0.5rem; font-weight: 600; }
.form-card .hint { font-size: 0.95rem; color: var(--ink-500); margin-bottom: 2rem; }

.field {
  position: relative;
  margin-bottom: 1.25rem;
}
.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 0.5rem;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink-900);
  background: var(--paper-pure);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--ink-900);
  box-shadow: 0 0 0 4px rgba(10, 22, 40, 0.06);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

.form-card button[type="submit"] {
  margin-top: 0.75rem;
  width: 100%;
}

/* Honeypot: visually hidden but still in the DOM (bots fill it, users don't see it) */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.flash {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.93rem;
  border: 1px solid;
}
.flash-success {
  background: rgba(15, 123, 90, 0.06);
  border-color: rgba(15, 123, 90, 0.2);
  color: var(--success);
}
.flash-error {
  background: rgba(200, 68, 58, 0.06);
  border-color: rgba(200, 68, 58, 0.2);
  color: var(--danger);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 5rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(26, 111, 255, 0.12), transparent 70%);
  pointer-events: none;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}
.footer-logo {
  height: 96px;
  width: auto;
  display: block;
  margin-bottom: 1.75rem;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.footer-brand p { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; max-width: 38ch; }
.footer-brand .btn { margin-top: 1.5rem; }
@media (max-width: 900px) {
  .footer-logo { height: 80px; }
}

.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: grid; gap: 0.8rem; }
.footer-col a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--paper-pure); }

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.7); }
.footer-bottom a:hover { color: var(--paper-pure); }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ---------- Animations / Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"].in { transition-delay: 0.08s; }
.reveal[data-delay="2"].in { transition-delay: 0.16s; }
.reveal[data-delay="3"].in { transition-delay: 0.24s; }
.reveal[data-delay="4"].in { transition-delay: 0.32s; }
.reveal[data-delay="5"].in { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.divider {
  height: 1px;
  background: var(--line);
  margin: 0;
}
.muted { color: var(--ink-500); }
