/* =========================================================
   highMor — Shared Design System
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
  --hm-ink:      #0a0a0a;
  --hm-char:     #141414;
  --hm-bone:     #f5f3ef;
  --hm-mist:     #ececea;
  --hm-ash:      #8a8680;
  --hm-ash-2:    #b5b1a8;
  --hm-brass:    #c79a5b;
  --hm-brass-2:  #d4a574;
  --hm-crimson:  #a8443c;
  --hm-line:     rgba(245,243,239,0.14);
  --hm-line-ink: rgba(10,10,10,0.12);

  --hm-serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --hm-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;

  --hm-container: 1120px;
  --hm-nav-height: 72px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--hm-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--hm-bone);
  background: var(--hm-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* =========================================================
   Global utilities
   ========================================================= */

.hm-wrap { max-width: var(--hm-container); margin: 0 auto; padding: 0 28px; }
.hm-serif { font-family: var(--hm-serif); font-weight: 400; letter-spacing: -0.01em; }
.hm-eyebrow {
  font-family: var(--hm-sans);
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--hm-brass-2); font-weight: 600;
}
.hm-rule { width: 40px; height: 1px; background: var(--hm-brass); margin: 22px 0; }

.hm-btn {
  display: inline-block;
  padding: 18px 40px;
  background: var(--hm-brass-2);
  color: var(--hm-ink);
  font-family: var(--hm-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid var(--hm-brass-2);
  cursor: pointer;
  transition: all .3s ease;
}
.hm-btn:hover {
  background: transparent;
  color: var(--hm-brass-2);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(212,165,116,.22);
}
.hm-btn.ghost {
  background: transparent; color: var(--hm-bone); border-color: var(--hm-line);
}
.hm-btn.ghost:hover {
  border-color: var(--hm-brass-2); color: var(--hm-brass-2); box-shadow: none;
}

/* =========================================================
   Reveal engine
   ========================================================= */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"].is-in { transition-delay: .12s; }
[data-reveal][data-delay="2"].is-in { transition-delay: .26s; }
[data-reveal][data-delay="3"].is-in { transition-delay: .42s; }
[data-reveal][data-delay="4"].is-in { transition-delay: .60s; }
[data-reveal][data-delay="5"].is-in { transition-delay: .80s; }

[data-reveal="left"]  { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="scale"] { transform: scale(.96); }
[data-reveal].is-in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   Navigation
   ========================================================= */

.hm-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--hm-nav-height);
  z-index: 100;
  display: flex; align-items: center;
  background: transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.hm-nav.is-scrolled,
.hm-nav.is-light-bg {
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--hm-line);
}
body.light-nav .hm-nav.is-scrolled {
  background: rgba(245,243,239,0.92);
  border-bottom-color: var(--hm-line-ink);
}
body.light-nav .hm-nav .hm-nav-link,
body.light-nav .hm-nav .hm-logo { color: var(--hm-ink); }
body.light-nav .hm-nav .hm-logo-dot { background: var(--hm-crimson); }

.hm-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--hm-container); margin: 0 auto; padding: 0 28px;
}
.hm-logo {
  display: inline-flex; align-items: center;
  color: var(--hm-bone);
  line-height: 1;
}
.hm-logo img {
  display: block;
  height: 48px;
  width: auto;
  object-fit: contain;
}
.hm-footer .hm-logo img { height: 60px; }
.hm-nav-links {
  display: flex; gap: 36px; align-items: center;
  list-style: none; margin: 0; padding: 0;
}
.hm-nav-link {
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--hm-bone); opacity: .82;
  transition: opacity .2s ease, color .2s ease;
  position: relative;
}
.hm-nav-link:hover { opacity: 1; color: var(--hm-brass-2); }
.hm-nav-link.is-active { color: var(--hm-brass-2); opacity: 1; }
.hm-nav-link.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--hm-brass-2);
}

.hm-nav-cta {
  padding: 10px 20px; border: 1px solid var(--hm-brass-2);
  color: var(--hm-brass-2); font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; border-radius: 2px;
  transition: all .25s ease;
}
.hm-nav-cta:hover { background: var(--hm-brass-2); color: var(--hm-ink); opacity: 1; }

.hm-nav-toggle {
  display: none; background: transparent; border: 0; cursor: pointer;
  padding: 8px; color: var(--hm-bone);
}
.hm-nav-toggle span {
  display: block; width: 22px; height: 1px; background: currentColor; margin: 5px 0;
  transition: transform .25s ease, opacity .25s ease;
}
.hm-nav.is-open .hm-nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hm-nav.is-open .hm-nav-toggle span:nth-child(2) { opacity: 0; }
.hm-nav.is-open .hm-nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .hm-nav-toggle { display: block; }
  .hm-nav-links {
    position: fixed;
    top: var(--hm-nav-height); left: 0; right: 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: rgba(10,10,10,0.96);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--hm-line);
    padding: 20px 28px 32px;
    transform: translateY(-20px); opacity: 0; pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
  }
  .hm-nav.is-open .hm-nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .hm-nav-links li { border-bottom: 1px solid var(--hm-line); }
  .hm-nav-links li:last-child { border-bottom: 0; padding-top: 16px; }
  .hm-nav-link { display: block; padding: 16px 0; font-size: 15px; opacity: 1; }
  .hm-nav-cta { display: inline-block; margin-top: 8px; }
  body.light-nav .hm-nav-links { background: rgba(245,243,239,0.96); }
  body.light-nav .hm-nav-links li { border-bottom-color: var(--hm-line-ink); }
}

/* =========================================================
   1. Earth Page (cinematic hero)
   ========================================================= */

.hm-earth {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(199,154,91,0.18) 0%, rgba(10,10,10,0) 55%),
    radial-gradient(ellipse at 50% 90%, rgba(168,68,60,0.12) 0%, rgba(10,10,10,0) 60%),
    var(--hm-ink);
  text-align: center;
  padding: 140px 28px 100px;
  overflow: hidden;
}
.hm-earth::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,.35), transparent),
    radial-gradient(1px 1px at 28% 68%, rgba(255,255,255,.25), transparent),
    radial-gradient(1px 1px at 45% 14%, rgba(255,255,255,.28), transparent),
    radial-gradient(1px 1px at 63% 58%, rgba(255,255,255,.32), transparent),
    radial-gradient(1px 1px at 78% 30%, rgba(255,255,255,.22), transparent),
    radial-gradient(1px 1px at 88% 78%, rgba(255,255,255,.30), transparent),
    radial-gradient(1px 1px at 6% 80%, rgba(255,255,255,.25), transparent);
  pointer-events: none;
}
.hm-orbit {
  position: absolute; left: 50%; top: 50%;
  width: 720px; height: 720px;
  border: 1px solid var(--hm-line);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: hmOrbit 80s linear infinite;
  pointer-events: none;
}
.hm-orbit.sm { width: 440px; height: 440px; opacity: .5; animation-duration: 55s; animation-direction: reverse; }
.hm-orbit.lg { width: 1040px; height: 1040px; opacity: .35; }
@keyframes hmOrbit { to { transform: translate(-50%, -50%) rotate(360deg); } }

.hm-earth-inner { position: relative; z-index: 2; max-width: 820px; }
.hm-earth h1 {
  font-family: var(--hm-serif);
  font-size: clamp(36px, 6.4vw, 68px);
  line-height: 1.05;
  margin: 0 0 44px;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--hm-bone);
}
.hm-earth h1 em { color: var(--hm-brass-2); font-style: italic; font-weight: 500; }

.hm-triad {
  display: inline-grid;
  grid-template-columns: auto 1fr auto;
  column-gap: 18px;
  row-gap: 12px;
  text-align: left;
  font-family: var(--hm-serif);
  font-size: clamp(17px, 2.1vw, 24px);
  line-height: 1.8;
  letter-spacing: 0.01em;
  max-width: 100%;
}
.hm-triad .t-label { color: var(--hm-ash-2); white-space: nowrap; }
.hm-triad .t-dots  {
  align-self: end;
  margin-bottom: 0.5em;
  height: 3px;
  min-width: 140px;
  background-image: radial-gradient(circle, rgba(245,243,239,0.55) 1px, transparent 1.5px);
  background-size: 14px 3px;
  background-repeat: repeat-x;
  background-position: 0 center;
}
.hm-triad .t-value { color: var(--hm-bone); font-style: italic; white-space: nowrap; }
@media (max-width: 560px) {
  .hm-triad { grid-template-columns: auto auto; column-gap: 14px; row-gap: 8px; }
  .hm-triad .t-dots { display: none; }
}

.hm-scroll-cue {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--hm-ash); z-index: 2;
}
.hm-scroll-cue::after {
  content: ""; display: block; width: 1px; height: 42px;
  background: linear-gradient(to bottom, var(--hm-brass), transparent);
  margin: 14px auto 0;
  animation: hmPulse 2.4s ease-in-out infinite;
}
@keyframes hmPulse { 0%,100%{opacity:.3} 50%{opacity:1} }

/* =========================================================
   2. Telescopic view
   ========================================================= */

.hm-telescope {
  background: #070707;
  padding: 140px 0;
  border-top: 1px solid var(--hm-line);
  border-bottom: 1px solid var(--hm-line);
  position: relative;
  overflow: hidden;
}
.hm-pulse-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(199,154,91,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199,154,91,0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 75%);
}
.hm-pulse-dot {
  position: absolute; width: 8px; height: 8px; border-radius: 50%;
  background: var(--hm-brass-2); box-shadow: 0 0 20px var(--hm-brass-2);
  animation: hmDot 3.5s ease-in-out infinite;
}
.hm-pulse-dot.d1 { top: 28%; left: 22%; }
.hm-pulse-dot.d2 { top: 64%; left: 38%; animation-delay: .7s; }
.hm-pulse-dot.d3 { top: 34%; left: 72%; animation-delay: 1.4s; background: var(--hm-crimson); box-shadow: 0 0 20px var(--hm-crimson);}
.hm-pulse-dot.d4 { top: 78%; left: 80%; animation-delay: 2.1s; }
@keyframes hmDot {
  0%,100% { opacity: .3; transform: scale(1); }
  50%     { opacity: 1; transform: scale(1.6); }
}
.hm-telescope-text {
  position: relative; z-index: 2; text-align: center; max-width: 760px; margin: 0 auto;
}
.hm-telescope-text p {
  font-family: var(--hm-sans);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(21px, 2.8vw, 30px);
  line-height: 1.5;
  color: var(--hm-bone);
  letter-spacing: -0.01em;
  margin: 0;
}
.hm-telescope-text p em {
  font-family: var(--hm-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--hm-brass-2);
  letter-spacing: 0;
}
.hm-telescope-text .small {
  font-family: var(--hm-sans); font-style: normal;
  font-size: 12px; letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--hm-ash); margin-bottom: 38px;
}

/* =========================================================
   3. The Conversation (sensory)
   ========================================================= */

.hm-convo {
  background: var(--hm-ink);
  padding: 140px 0 120px;
}
.hm-convo .hm-wrap { max-width: 820px; }
.hm-convo h2 {
  font-family: var(--hm-serif); font-weight: 500;
  font-size: clamp(28px, 4vw, 44px); line-height: 1.2;
  margin: 18px 0 36px; letter-spacing: -0.015em;
}
.hm-convo p {
  font-size: 18px; line-height: 1.75; color: #d9d6d0; margin: 0 0 24px;
}
.hm-convo p.lead { font-size: 20px; color: var(--hm-bone); }
.hm-convo .emphasis { color: var(--hm-brass-2); font-style: italic; }
.hm-reveal-name {
  margin-top: 56px; padding-top: 40px;
  border-top: 1px solid var(--hm-line);
  font-family: var(--hm-serif);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.45; color: var(--hm-bone);
}
.hm-reveal-name strong { color: var(--hm-brass-2); font-weight: 600; letter-spacing: 0.01em; }

/* =========================================================
   4. Four pillars (light section)
   ========================================================= */

.hm-pillars {
  background: var(--hm-bone); color: var(--hm-ink);
  padding: 140px 0 120px;
}
.hm-pillars .hm-eyebrow { color: var(--hm-crimson); }
.hm-pillars h2 {
  font-family: var(--hm-serif); font-weight: 500;
  font-size: clamp(30px, 4.4vw, 48px); line-height: 1.15;
  margin: 18px 0 56px; letter-spacing: -0.02em;
  color: var(--hm-ink); max-width: 720px;
}
.hm-pillar-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
}
.hm-pillar {
  background: var(--hm-bone); padding: 48px 40px;
  transition: background .4s ease;
  border-right: 1px solid #dcd8d1;
  border-bottom: 1px solid #dcd8d1;
}
.hm-pillar:nth-child(2n) { border-right: none; }
.hm-pillar:nth-last-child(-n+2) { border-bottom: none; }
.hm-pillar:hover { background: #fffdf9; }
.hm-pillar .num {
  font-family: var(--hm-serif); font-style: italic;
  font-size: 14px; color: var(--hm-crimson); letter-spacing: 0.08em;
}
.hm-pillar h3 {
  font-family: var(--hm-serif); font-weight: 600;
  font-size: 24px; line-height: 1.25; margin: 14px 0 16px;
  color: var(--hm-ink); letter-spacing: -0.01em;
}
.hm-pillar p {
  margin: 0; font-size: 15px; line-height: 1.65; color: #3a3a3a;
}
@media (max-width: 720px) {
  .hm-pillar-grid { grid-template-columns: 1fr; }
  .hm-pillar { border-right: none; border-bottom: 1px solid #dcd8d1; }
  .hm-pillar:last-child { border-bottom: none; }
}

/* =========================================================
   5. Product rows (Emma + FacilityASAP)
   ========================================================= */

.hm-product {
  background: var(--hm-ink);
  padding: 140px 0;
}
.hm-product-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  margin-bottom: 120px;
}
.hm-product-row:last-child { margin-bottom: 0; }
.hm-product-row.reverse { direction: rtl; }
.hm-product-row.reverse > * { direction: ltr; }
@media (max-width: 900px) {
  .hm-product-row,
  .hm-product-row.reverse { grid-template-columns: 1fr; gap: 40px; direction: ltr; }
}
.hm-product h3 {
  font-family: var(--hm-serif); font-weight: 500;
  font-size: clamp(28px, 3.8vw, 42px); line-height: 1.15;
  margin: 14px 0 22px; letter-spacing: -0.02em;
}
.hm-product p { color: #cecac4; font-size: 17px; line-height: 1.72; margin: 0 0 16px; }
.hm-product ul { list-style: none; padding: 0; margin: 22px 0 0; }
.hm-product li {
  padding: 14px 0; border-top: 1px solid var(--hm-line);
  font-size: 15px; color: #d9d6d0; display: flex; gap: 14px;
}
.hm-product li::before {
  content: "→"; color: var(--hm-brass-2); font-weight: 600; flex-shrink: 0;
}

.hm-visual {
  position: relative;
  aspect-ratio: 5/4;
  border-radius: 4px;
  background: linear-gradient(145deg, #1a1a1a 0%, #0f0f0f 100%);
  border: 1px solid var(--hm-line);
  overflow: hidden;
}
.hm-visual video,
.hm-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;   /* fills the frame; change to 'contain' if cropping is an issue */
}
.hm-visual--contain img,
.hm-visual--contain video {
  object-fit: contain;
  padding: 24px;       /* breathing room for UI screenshots */
}

/* =========================================================
   6. The NOTs (mist section)
   ========================================================= */

.hm-nots {
  background: var(--hm-mist); color: var(--hm-ink); padding: 140px 0;
}
.hm-nots h2 {
  font-family: var(--hm-serif); font-weight: 500;
  font-size: clamp(30px, 4.4vw, 48px); line-height: 1.1;
  margin: 18px 0 48px; letter-spacing: -0.02em;
  color: var(--hm-ink); max-width: 820px;
}
.hm-nots h2 em { color: var(--hm-crimson); font-style: italic; }
.hm-not-list { max-width: 820px; }
.hm-not {
  display: flex; gap: 24px; padding: 26px 0;
  border-top: 1px solid var(--hm-line-ink);
  align-items: baseline;
}
.hm-not:last-child { border-bottom: 1px solid var(--hm-line-ink); }
.hm-not .x {
  font-family: var(--hm-serif); font-size: 18px; color: var(--hm-crimson);
  font-weight: 700; flex-shrink: 0; width: 32px;
}
.hm-not .text {
  font-family: var(--hm-serif); font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.45; color: var(--hm-ink); letter-spacing: -0.005em;
}

/* =========================================================
   7. The Guarantee
   ========================================================= */

.hm-guarantee {
  background: var(--hm-ink); padding: 140px 0; text-align: center;
  position: relative; overflow: hidden;
}
.hm-guarantee::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(199,154,91,0.14), transparent 60%);
  pointer-events: none;
}
.hm-guarantee-inner { position: relative; max-width: 760px; margin: 0 auto; padding: 0 28px; }
.hm-seal {
  display: inline-block; margin-bottom: 28px; padding: 14px 22px;
  border: 1px solid var(--hm-brass); border-radius: 999px;
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--hm-brass-2);
}
.hm-guarantee h2 {
  font-family: var(--hm-serif); font-weight: 500;
  font-size: clamp(32px, 5vw, 56px); line-height: 1.1;
  margin: 0 0 28px; letter-spacing: -0.02em;
}
.hm-guarantee h2 em { color: var(--hm-brass-2); font-style: italic; }
.hm-guarantee p {
  font-size: 17px; line-height: 1.72; color: #cecac4; max-width: 620px;
  margin: 0 auto 16px;
}

/* =========================================================
   8. CTA
   ========================================================= */

.hm-cta {
  background: var(--hm-ink); padding: 40px 0 160px; text-align: center;
}
.hm-cta-inner { max-width: 720px; margin: 0 auto; padding: 0 28px; }
.hm-cta h2 {
  font-family: var(--hm-serif); font-weight: 500;
  font-size: clamp(28px, 3.8vw, 40px); line-height: 1.2;
  margin: 0 0 20px; letter-spacing: -0.015em;
}
.hm-cta p {
  color: var(--hm-ash-2); font-size: 15px; margin: 0 0 40px;
}
.hm-cta .fineprint {
  margin-top: 24px; font-size: 12px; color: var(--hm-ash);
  letter-spacing: 0.06em;
}

/* =========================================================
   Page header (for non-home pages)
   ========================================================= */

.hm-page-header {
  padding: calc(var(--hm-nav-height) + 120px) 28px 100px;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(199,154,91,0.12), transparent 60%),
    var(--hm-ink);
  text-align: center;
  border-bottom: 1px solid var(--hm-line);
}
.hm-page-header .hm-eyebrow { margin-bottom: 22px; display: inline-block; }
.hm-page-header h1 {
  font-family: var(--hm-serif); font-weight: 500;
  font-size: clamp(36px, 5.5vw, 60px); line-height: 1.1;
  margin: 0 auto 24px; letter-spacing: -0.02em;
  color: var(--hm-bone); max-width: 900px;
}
.hm-page-header h1 em { color: var(--hm-brass-2); font-style: italic; }
.hm-page-header .lede {
  font-size: 18px; line-height: 1.65; color: var(--hm-ash-2);
  max-width: 640px; margin: 0 auto;
}

/* =========================================================
   Generic content sections
   ========================================================= */

.hm-section { padding: 120px 0; }
.hm-section.light { background: var(--hm-bone); color: var(--hm-ink); }
.hm-section.mist  { background: var(--hm-mist); color: var(--hm-ink); }
.hm-section.ink   { background: var(--hm-ink); color: var(--hm-bone); }

.hm-section h2 {
  font-family: var(--hm-serif); font-weight: 500;
  font-size: clamp(28px, 4vw, 42px); line-height: 1.15;
  letter-spacing: -0.018em; margin: 12px 0 32px;
}
.hm-section h3 {
  font-family: var(--hm-serif); font-weight: 500;
  font-size: clamp(22px, 2.6vw, 28px); line-height: 1.2;
  margin: 0 0 14px; letter-spacing: -0.01em;
}
.hm-section p { font-size: 17px; line-height: 1.72; margin: 0 0 18px; }
.hm-section.light p, .hm-section.mist p { color: #2b2b2b; }

.hm-two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
@media (max-width: 900px) { .hm-two-col { grid-template-columns: 1fr; gap: 40px; } }

/* Research cards (for Who We Serve) */
.hm-research-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  margin-top: 32px;
}
@media (max-width: 720px) { .hm-research-grid { grid-template-columns: 1fr; } }
.hm-research-card {
  padding: 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--hm-line);
  border-radius: 2px;
  transition: background .3s ease, border-color .3s ease;
}
.hm-research-card:hover {
  background: rgba(212,165,116,0.04);
  border-color: rgba(212,165,116,0.3);
}
.hm-section.light .hm-research-card,
.hm-section.mist .hm-research-card {
  background: rgba(10,10,10,0.02);
  border-color: var(--hm-line-ink);
}
.hm-section.light .hm-research-card:hover,
.hm-section.mist .hm-research-card:hover {
  background: rgba(168,68,60,0.04);
  border-color: rgba(168,68,60,0.25);
}
.hm-research-card .icon {
  font-family: var(--hm-serif); font-style: italic;
  font-size: 13px; color: var(--hm-brass-2); letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.hm-section.light .hm-research-card .icon,
.hm-section.mist  .hm-research-card .icon { color: var(--hm-crimson); }
.hm-research-card h4 {
  font-family: var(--hm-serif); font-weight: 600; font-size: 20px;
  margin: 0 0 10px; line-height: 1.3; letter-spacing: -0.005em;
}
.hm-research-card p {
  margin: 0; font-size: 15px; line-height: 1.65;
}

/* Article/blog styles (Transfer Wire) */
/* ---- Index: card grid ---- */
.hm-article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 40px 32px;
  max-width: 1160px;
  margin: 0 auto;
}
.hm-article-card {
  display: flex; flex-direction: column;
  background: transparent;
  border: 1px solid var(--hm-line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.hm-article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 165, 116, 0.45);
  box-shadow: 0 18px 40px -20px rgba(0,0,0,0.6);
}
.hm-article-card a.card-link {
  display: flex; flex-direction: column;
  height: 100%;
  color: inherit;
}
.hm-article-card .thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}
.hm-article-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.hm-article-card:hover .thumb img { transform: scale(1.04); }
.hm-article-card .body {
  padding: 24px 24px 28px;
  flex: 1 1 auto;
  display: flex; flex-direction: column; gap: 12px;
}
.hm-article-card .eyebrow {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--hm-ash);
}
.hm-article-card h3 {
  margin: 0; font-family: var(--hm-serif); font-weight: 500;
  font-size: 22px; line-height: 1.3; letter-spacing: -0.01em;
  color: var(--hm-bone);
}
.hm-article-card:hover h3 { color: var(--hm-brass-2); }
.hm-article-card .read {
  margin-top: auto;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--hm-ash-2);
}
.hm-article-card:hover .read { color: var(--hm-brass-2); }

/* ---- Individual article page ---- */
.hm-article-hero {
  position: relative;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto 56px;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border-radius: 4px;
}
.hm-article-hero img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ---- Article lede (typographic hero, replaces photo) ---- */
.hm-article-lede {
  position: relative;
  max-width: 820px;
  margin: 32px auto 80px;
  padding: 72px 24px 76px;
  border-top: 1px solid var(--hm-line);
  border-bottom: 1px solid var(--hm-line);
  text-align: center;
}
.hm-article-lede::before {
  content: "";
  position: absolute;
  top: -1.5px; left: 50%;
  transform: translateX(-50%);
  width: 72px; height: 2px;
  background: var(--hm-brass-2);
}
.hm-article-lede .eyebrow {
  font-family: var(--hm-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--hm-ash-2);
  margin: 0 0 36px;
}
.hm-article-lede .stat {
  font-family: var(--hm-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--hm-brass-2);
  font-size: clamp(26px, 4.2vw, 48px);
  line-height: 1.22;
  letter-spacing: -0.008em;
  margin: 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.hm-article-lede .source {
  font-family: var(--hm-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hm-ash);
  margin: 36px 0 0;
}
@media (max-width: 640px) {
  .hm-article-lede { padding: 52px 16px 56px; margin: 16px auto 56px; }
  .hm-article-lede .eyebrow { margin-bottom: 24px; }
  .hm-article-lede .source { margin-top: 24px; }
}
.hm-article-meta {
  max-width: 760px; margin: 0 auto 44px;
  display: flex; flex-direction: column; gap: 10px;
  text-align: center;
}
.hm-article-meta .byline {
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--hm-ash); font-family: var(--hm-sans);
}
.hm-prose {
  max-width: 720px; margin: 0 auto;
  font-family: var(--hm-sans);
  color: var(--hm-bone);
  font-size: 17px;
  line-height: 1.75;
}
.hm-prose > * { margin: 0 0 22px; }
.hm-prose > *:last-child { margin-bottom: 0; }
.hm-prose p { color: #d9d6d0; }
.hm-prose h2 {
  font-family: var(--hm-serif); font-weight: 500; font-style: normal;
  font-size: clamp(26px, 3vw, 34px); line-height: 1.25; letter-spacing: -0.015em;
  color: var(--hm-bone);
  margin: 56px 0 20px;
}
.hm-prose h3 {
  font-family: var(--hm-serif); font-weight: 500; font-style: italic;
  font-size: clamp(20px, 2.2vw, 24px); line-height: 1.3; letter-spacing: -0.005em;
  color: var(--hm-brass-2);
  margin: 40px 0 14px;
}
.hm-prose h2:first-child,
.hm-prose h3:first-child { margin-top: 0; }
.hm-prose em { font-style: italic; color: var(--hm-brass-2); font-family: var(--hm-serif); }
.hm-prose strong { color: var(--hm-bone); font-weight: 600; }
.hm-prose a { color: var(--hm-brass-2); text-decoration: underline; text-underline-offset: 3px; }
.hm-prose a:hover { color: var(--hm-bone); }
.hm-prose ul, .hm-prose ol { padding-left: 24px; color: #d9d6d0; }
.hm-prose li { margin: 0 0 10px; }
.hm-prose li::marker { color: var(--hm-brass-2); }
.hm-prose blockquote {
  margin: 32px 0; padding: 4px 0 4px 22px;
  border-left: 2px solid var(--hm-brass-2);
  font-family: var(--hm-serif); font-style: italic; font-weight: 400;
  font-size: clamp(20px, 2.2vw, 24px); line-height: 1.4; color: var(--hm-bone);
}
.hm-prose hr {
  border: 0; height: 1px;
  background: var(--hm-line);
  margin: 48px 0;
}
.hm-refs {
  max-width: 720px; margin: 72px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--hm-line);
  font-family: var(--hm-sans);
  font-size: 13px; line-height: 1.7;
  color: var(--hm-ash-2);
}
.hm-refs h2 {
  font-family: var(--hm-sans); font-weight: 500;
  font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--hm-ash); margin: 0 0 18px;
}
.hm-refs ol { padding-left: 20px; margin: 0; }
.hm-refs li { margin: 0 0 10px; }
.hm-refs em, .hm-refs i { color: var(--hm-bone); font-style: italic; }

.hm-article-back {
  max-width: 1160px; margin: 0 auto 24px;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
}
.hm-article-back a { color: var(--hm-ash-2); }
.hm-article-back a:hover { color: var(--hm-brass-2); }

/* ---- Legacy placeholder list (keep in case referenced) ---- */
.hm-article-list { display: flex; flex-direction: column; gap: 0; max-width: 820px; margin: 0 auto; }
.hm-article { padding: 40px 0; border-bottom: 1px solid var(--hm-line); display: grid; grid-template-columns: 140px 1fr; gap: 32px; align-items: baseline; }
@media (max-width: 720px) { .hm-article { grid-template-columns: 1fr; gap: 8px; } }
.hm-article .date { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--hm-ash); }
.hm-article h3 { margin: 0 0 10px; font-family: var(--hm-serif); font-weight: 500; font-size: 24px; line-height: 1.3; letter-spacing: -0.01em; }
.hm-article h3 a { color: var(--hm-bone); transition: color .2s ease; }
.hm-article h3 a:hover { color: var(--hm-brass-2); }
.hm-article .excerpt { color: var(--hm-ash-2); font-size: 15px; margin: 0; line-height: 1.6; }

/* Form (Contact / Demo) */
.hm-form {
  max-width: 640px; margin: 0 auto;
  display: grid; gap: 22px;
}
.hm-form label {
  display: block; font-size: 11px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--hm-ash-2); margin-bottom: 8px;
  font-weight: 600;
}
.hm-form input,
.hm-form select,
.hm-form textarea {
  width: 100%;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--hm-line);
  color: var(--hm-bone);
  padding: 10px 0;
  font-family: var(--hm-sans); font-size: 17px;
  outline: none;
  border-radius: 0;
  transition: border-color .2s ease;
}
.hm-form input:focus,
.hm-form select:focus,
.hm-form textarea:focus { border-bottom-color: var(--hm-brass-2); }
.hm-form textarea { min-height: 120px; resize: vertical; }
.hm-form select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath fill='%23d4a574' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 10px;
  cursor: pointer;
}
.hm-form select option { background: var(--hm-ink); color: var(--hm-bone); }
.hm-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 640px) { .hm-form .form-row { grid-template-columns: 1fr; } }
.hm-form .submit-row { display: flex; justify-content: center; margin-top: 16px; }
.hm-form .note {
  text-align: center; font-size: 12px; color: var(--hm-ash);
  margin: 8px 0 0;
}
.hm-form-success {
  text-align: center; padding: 60px 24px;
  border: 1px solid var(--hm-brass-2);
  border-radius: 2px;
  display: none;
}
.hm-form-success.is-visible { display: block; }
.hm-form-success h3 {
  font-family: var(--hm-serif); font-size: 32px; color: var(--hm-brass-2);
  margin: 0 0 14px; letter-spacing: -0.01em;
}
.hm-form-success p { color: var(--hm-ash-2); margin: 0; }

/* Honeypot: visible to bots, hidden from humans. Must remain an active input. */
.hm-hp {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Form submission error message */
.hm-form-error {
  margin: 12px 0 0;
  padding: 12px 16px;
  border: 1px solid var(--hm-crimson);
  border-radius: 2px;
  color: var(--hm-crimson);
  font-size: 14px;
  line-height: 1.5;
}

/* Screen-reader-only utility */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Newsletter block (inline subscribe) */
.hm-newsletter-block {
  max-width: 960px;
  margin: 120px auto 0;
  padding: 64px 56px;
  border: 1px solid var(--hm-line);
  border-radius: 2px;
  background:
    radial-gradient(circle at 85% 0%, rgba(212,165,116,0.08), transparent 60%),
    rgba(255,255,255,0.015);
  position: relative;
}
@media (max-width: 720px) {
  .hm-newsletter-block { padding: 44px 26px; margin-top: 80px; }
}
.hm-newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 820px) {
  .hm-newsletter-inner { grid-template-columns: 1fr; gap: 32px; }
}
.hm-newsletter-copy .hm-eyebrow {
  margin-bottom: 14px;
  font-size: 11px; letter-spacing: 0.28em;
}
.hm-newsletter-copy h3 {
  font-family: var(--hm-serif); font-weight: 500;
  font-size: clamp(26px, 3vw, 34px); line-height: 1.2;
  letter-spacing: -0.01em; color: var(--hm-bone);
  margin: 0 0 16px;
}
.hm-newsletter-copy h3 em {
  font-family: var(--hm-serif); font-style: italic;
  color: var(--hm-brass-2);
}
.hm-newsletter-copy p {
  color: var(--hm-ash-2); margin: 0;
  font-size: 15px; line-height: 1.65;
}
.hm-newsletter-form .newsletter-row {
  display: flex; gap: 12px; align-items: stretch;
}
@media (max-width: 480px) {
  .hm-newsletter-form .newsletter-row { flex-direction: column; gap: 16px; }
}
.hm-newsletter-form input[type="email"] {
  flex: 1 1 auto; min-width: 0;
  background: transparent;
  border: 1px solid var(--hm-line);
  border-radius: 2px;
  padding: 14px 16px;
  font-family: var(--hm-sans); font-size: 15px;
  color: var(--hm-bone);
  transition: border-color .25s ease;
}
.hm-newsletter-form input[type="email"]::placeholder { color: var(--hm-ash); }
.hm-newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--hm-brass-2);
}
.hm-newsletter-form button {
  white-space: nowrap;
}
.hm-newsletter-form .note {
  margin: 16px 0 0;
  font-size: 12px; color: var(--hm-ash);
  line-height: 1.55;
}

/* Petition / signatures */
.hm-petition-wrap {
  max-width: 760px; margin: 0 auto;
  padding: 56px 48px;
  border: 1px solid var(--hm-line);
  background: rgba(255,255,255,0.02);
  border-radius: 2px;
}
@media (max-width: 640px) { .hm-petition-wrap { padding: 36px 24px; } }
.hm-petition-wrap h3 {
  font-family: var(--hm-serif); font-size: 26px; margin: 0 0 18px;
  color: var(--hm-bone);
}
.hm-petition-wrap p { color: var(--hm-ash-2); font-size: 16px; line-height: 1.65; }

/* =========================================================
   Footer
   ========================================================= */

.hm-footer {
  background: #050505; color: var(--hm-ash-2); padding: 80px 0 40px;
  border-top: 1px solid var(--hm-line); font-size: 14px;
}
.hm-footer-inner {
  max-width: var(--hm-container); margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
}
@media (max-width: 800px) {
  .hm-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .hm-footer-inner { grid-template-columns: 1fr; }
}
.hm-footer h4 {
  font-family: var(--hm-sans); font-size: 11px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--hm-bone); margin: 0 0 18px;
  font-weight: 600;
}
.hm-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hm-footer a { color: var(--hm-ash-2); transition: color .2s ease; }
.hm-footer a:hover { color: var(--hm-brass-2); }
.hm-footer .hm-footer-brand p {
  max-width: 320px; font-size: 14px; line-height: 1.65; margin: 16px 0 0;
}
.hm-footer-bottom {
  max-width: var(--hm-container); margin: 56px auto 0;
  padding: 28px 28px 0; border-top: 1px solid var(--hm-line);
  display: flex; justify-content: space-between; font-size: 12px;
  color: var(--hm-ash); flex-wrap: wrap; gap: 12px;
}
