:root{
  --white:#ffffff;
  --cream:#f5f6f8;
  --ink:#0f1115;
  --ink-soft:#585c66;
  --primary:#104d92;
  --primary-deep:#0b3769;
  --line:#e2e5eb;
  --shadow: 0 20px 60px rgba(15,17,21,0.08);
  --ease: cubic-bezier(.22,.61,.36,1);
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-heading: 'Jost', 'Gill Sans MT', 'Gill Sans', 'Calibri', 'Trebuchet MS', sans-serif;
  --font-body: 'Jost', 'Gill Sans MT', 'Gill Sans', 'Calibri', 'Trebuchet MS', sans-serif;
}

*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth; background:var(--white) !important;}
body{
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--white) !important;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block;}
a{text-decoration:none !important;color:inherit;}
ul{list-style:none;}
section{position:relative;}
.hmec-container{
  width:min(1180px, 100% - 64px);
  margin-inline:auto;
}
.hmec-eyebrow{
  font-family:var(--font-heading);
  font-size:12px;
  letter-spacing:.32em;
  text-transform:uppercase;
  color:var(--primary-deep);
  font-weight:600;
  display:inline-flex;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
}
.hmec-eyebrow::before{ content:''; display:inline-block; width:28px; height:1px; background:var(--primary); }
h1,h2,h3,h4{ font-family:var(--font-display); font-weight:600; line-height:1.15; letter-spacing:0; }
h1{ font-weight:700; }
p, span, a, li, input, textarea, select{ font-family:var(--font-body); }
.hmec-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:15px 34px;
  border-radius:2px;
  font-family:var(--font-heading);
  font-size:14px;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-weight:600;
  transition:transform .5s var(--ease), background .4s ease, color .4s ease, box-shadow .4s ease;
  cursor:pointer;
  border:1px solid transparent;
  background:none;
  will-change:transform;
}
.hmec-btn-solid{ background:var(--primary); color:#fff; }
.hmec-btn-solid:hover{ background:var(--primary-deep) !important; color:#fff !important; transform:translateY(-2px); box-shadow:0 14px 30px rgba(16,77,146,.28);}
.hmec-btn-outline{ border-color:rgba(15,17,21,.2); color:var(--ink);}
.hmec-btn-outline:hover{ border-color:var(--primary) !important; color:var(--primary) !important; transform:translateY(-2px);}
.hmec-btn-light{ background:#fff; color:var(--primary-deep); margin-top:8px; }
.hmec-btn-light:hover{ background:var(--cream) !important; transform:translateY(-2px); }

/* ---------- reveal animation ---------- */
.hmec-reveal{
  opacity:0;
  transform:translateY(28px);
  transition:opacity 1s var(--ease), transform 1s var(--ease);
}
.hmec-reveal.in{ opacity:1; transform:translateY(0); }
.hmec-stagger > * { transition-delay:calc(var(--i,0) * 90ms); }

/* signature divider */
.hmec-searline{ width:100%; display:flex; justify-content:center; padding:6px 0; }
.hmec-searline svg{ width:min(420px,70%); height:14px; overflow:visible; }
.hmec-searline path{
  stroke:var(--primary); stroke-width:1.4; fill:none; stroke-linecap:round;
  stroke-dasharray:520; stroke-dashoffset:520;
  transition:stroke-dashoffset 1.4s var(--ease);
}
.hmec-searline.in path{ stroke-dashoffset:0; }
.hmec-searline circle{ fill:var(--primary); opacity:0; transition:opacity .5s ease .9s; }
.hmec-searline.in circle{ opacity:1; }

/* ================= HEADER ================= */
header{
  position:fixed; top:0; left:0; width:100%;
  z-index:1000;
  padding:20px 0;
  background:#ffffff !important;
  box-shadow:0 2px 20px rgba(15,17,21,.05);
  transition:padding .45s var(--ease), box-shadow .45s var(--ease);
}
header .hmec-container{ display:flex; align-items:center; justify-content:space-between; }
header.hmec-scrolled{ padding:10px 0; box-shadow:0 8px 30px rgba(15,17,21,.09); }

.hmec-brand{ display:flex; align-items:center; }
.hmec-brand-img{ width:auto; max-width:260px; transition:height .45s var(--ease); }
.hmec-brand-img--header{ height:var(--logo-h, 44px) !important; max-height:60px; }
header.hmec-scrolled .hmec-brand-img--header{ height:calc(var(--logo-h, 44px) - 10px) !important; }
.hmec-brand-img--footer{ height:var(--logo-h, 50px); }
.hmec-brand-word{
  font-family:var(--font-heading); font-weight:700; color:var(--primary);
  font-size:19px; line-height:1.15; letter-spacing:.05em; text-transform:uppercase;
  transition:font-size .45s var(--ease);
}
header.hmec-scrolled .hmec-brand-word{ font-size:16px; }
.hmec-brand-word--footer{ color:var(--primary); font-size:24px; }

.hmec-nav-links{ display:flex; gap:26px; }
.hmec-nav-links a{
  font-family:var(--font-heading);
  font-size:12.5px; letter-spacing:.06em; text-transform:uppercase; font-weight:500;
  color:var(--ink); position:relative; padding-bottom:4px; transition:color .3s ease;
  white-space:nowrap;
}
.hmec-nav-links a::after{
  content:''; position:absolute; left:0; bottom:0; height:1px; width:0;
  background:var(--primary); transition:width .35s var(--ease);
}
.hmec-nav-links a:hover{ color:var(--primary) !important; }
.hmec-nav-links a:hover::after{ width:100%; }

.hmec-header-actions{ display:flex; align-items:center; gap:24px; }
.hmec-btn-header{
  font-family:var(--font-heading); font-size:13px; font-weight:600; letter-spacing:.04em; text-transform:uppercase;
  color:var(--primary); padding:8px 2px; position:relative; transition:color .3s ease;
}
.hmec-btn-header::after{
  content:''; position:absolute; left:0; bottom:4px; height:1px; width:100%;
  background:currentColor; transform:scaleX(0); transform-origin:right; transition:transform .35s var(--ease);
}
.hmec-btn-header:hover{ color:var(--primary-deep) !important; }
.hmec-btn-header:hover::after{ transform:scaleX(1); transform-origin:left; }

.hmec-burger{ display:none; flex-direction:column; gap:5px; cursor:pointer; z-index:1100; }
.hmec-burger span{ width:26px; height:1.6px; background:var(--ink); transition:all .35s var(--ease); }

.hmec-mobile-nav{
  position:fixed; inset:0; background:var(--white);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:32px;
  transform:translateY(-100%); transition:transform .55s var(--ease);
  z-index:1050;
}
.hmec-mobile-nav.open{ transform:translateY(0); }
.hmec-mobile-nav a{ font-size:22px; letter-spacing:.08em; text-transform:uppercase; font-family:var(--font-heading); }
.hmec-mobile-nav a:hover{ color:var(--primary) !important; }
.hmec-mobile-nav-visit{ margin-top:10px; font-size:14px !important; letter-spacing:.06em !important; padding:15px 36px !important; color:#fff !important; }
.hmec-mobile-nav-visit:hover{ color:#fff !important; }

/* ================= SECTIONS ================= */
.hmec-section{ padding:120px 0; }
.hmec-section-tight{ padding:90px 0; }
.hmec-bg-cream{ background:var(--cream); }

/* ---------- HERO ---------- */
.hmec-hero{
  min-height:100vh; min-height:100svh;
  display:flex; align-items:center; justify-content:center; text-align:center;
  position:relative; padding-top:128px; padding-bottom:80px;
  background:var(--ink); overflow:hidden;
}
.hmec-hero-slider{ position:absolute; inset:0; z-index:0; }
.hmec-hero-slide{
  position:absolute; inset:0; background-size:cover; background-position:center;
  opacity:0; transform:scale(1.06); transition:opacity 1.6s ease;
}
.hmec-hero-slide.is-active{ opacity:1; animation:hmecKenBurns 9s ease-out forwards; }
@keyframes hmecKenBurns{ from{ transform:scale(1.06);} to{ transform:scale(1);} }
.hmec-hero-scrim{
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, rgba(20,13,9,.62) 0%, rgba(20,13,9,.5) 45%, rgba(20,13,9,.8) 100%);
}
.hmec-hero-dots{ position:absolute; z-index:3; right:34px; top:50%; transform:translateY(-50%); display:flex; flex-direction:column; gap:10px; }
.hmec-hero-dot{ width:8px; height:8px; border-radius:50%; border:1px solid rgba(255,255,255,.6); background:transparent; cursor:pointer; padding:0; transition:background .35s ease, transform .35s ease; }
.hmec-hero-dot.is-active{ background:#fff; transform:scale(1.3); }
@media (max-width:760px){ .hmec-hero-dots{ right:16px; gap:8px; } }

.hmec-hero-inner{ position:relative; z-index:5; max-width:760px; margin-inline:auto; }
.hmec-hero h1{
  font-size:clamp(38px, 6vw, 70px); letter-spacing:-.01em; color:#fff;
  text-shadow:0 2px 14px rgba(0,0,0,.55), 0 0 46px rgba(0,0,0,.35);
  opacity:0; transform:translateY(30px); animation:hmecHeroUp 1.1s var(--ease) .35s forwards;
}
.hmec-subtitle{
  margin-top:22px; font-family:var(--font-display); font-size:clamp(18px,2.2vw,23px); font-style:italic; font-weight:500;
  color:rgba(255,255,255,.92);
  text-shadow:0 2px 10px rgba(0,0,0,.5);
  opacity:0; transform:translateY(30px); animation:hmecHeroUp 1.1s var(--ease) .55s forwards;
}
.hmec-hero-ctas{
  margin-top:44px; display:flex; gap:18px; justify-content:center; flex-wrap:wrap;
  opacity:0; transform:translateY(30px); animation:hmecHeroUp 1.1s var(--ease) .75s forwards;
}
.hmec-hero-ctas .hmec-btn-outline{ border-color:rgba(255,255,255,.55); color:#fff; }
.hmec-hero-ctas .hmec-btn-outline:hover{ border-color:#fff !important; color:#fff !important; background:rgba(255,255,255,.08); }
@keyframes hmecHeroUp{ to{ opacity:1; transform:translateY(0);} }

.hmec-scroll-cue{
  position:absolute; bottom:38px; left:50%; transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:8px;
  color:rgba(255,255,255,.85); font-size:11px; letter-spacing:.24em; text-transform:uppercase;
  opacity:0; animation:hmecFadeSimple 1s ease 1.3s forwards; z-index:2;
}
@keyframes hmecFadeSimple{ to{ opacity:.85; } }
.hmec-chev{ width:14px; height:14px; border-right:1.4px solid rgba(255,255,255,.85); border-bottom:1.4px solid rgba(255,255,255,.85); transform:rotate(45deg); animation:hmecChevBounce 1.8s ease-in-out infinite; }
@keyframes hmecChevBounce{ 0%,100%{ transform:translateY(0) rotate(45deg);} 50%{ transform:translateY(6px) rotate(45deg);} }

/* ---------- ABOUT ---------- */
.hmec-about-grid{ display:grid; grid-template-columns:.85fr 1.15fr; gap:80px; align-items:center; }
.hmec-about-art{
  aspect-ratio:1/1.05; border-radius:6px; overflow:hidden;
  background:linear-gradient(160deg,#fff 0%, var(--cream) 100%);
  border:1px solid var(--line); box-shadow:var(--shadow);
}
.hmec-about-copy h2{ font-size:clamp(28px,3.4vw,42px); margin-bottom:24px; max-width:16ch; }
.hmec-about-copy p{ font-size:17px; line-height:1.85; color:var(--ink-soft); max-width:52ch; }

.hmec-about-stats{
  display:grid; grid-template-columns:repeat(4,1fr); gap:20px;
  margin-top:64px; padding-top:48px; border-top:1px solid var(--line);
}
.hmec-stat{ text-align:center; display:flex; flex-direction:column; gap:6px; }
.hmec-stat-number{ font-family:var(--font-display); font-size:clamp(30px,3.6vw,44px); font-weight:700; color:var(--primary); line-height:1; }
.hmec-stat-label{ font-size:13px; color:var(--ink-soft); letter-spacing:.02em; line-height:1.4; }

/* ---------- SECTION HEAD (shared) ---------- */
.hmec-section-head{ text-align:center; max-width:680px; margin:0 auto 56px; }
.hmec-section-head p{ font-size:16.5px; color:var(--ink-soft); line-height:1.8; margin-top:14px; }

.hmec-tilt{ transition:transform .5s cubic-bezier(.22,.61,.36,1), box-shadow .6s var(--ease); transform-style:preserve-3d; will-change:transform; }

/* ---------- WHY JOIN US / BENEFITS ---------- */
.hmec-why-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:20px 40px; max-width:900px; margin-inline:auto; }
.hmec-why-item{ display:flex; align-items:flex-start; gap:14px; font-size:16px; color:var(--ink); line-height:1.6; transition:transform .4s var(--ease); }
.hmec-why-item:hover{ transform:translateX(6px); }
.hmec-why-check{
  flex:none; width:28px; height:28px; border-radius:50%; background:var(--primary); color:#fff;
  display:flex; align-items:center; justify-content:center; margin-top:2px;
  transition:transform .4s var(--ease), background .4s ease;
}
.hmec-why-item:hover .hmec-why-check{ transform:scale(1.15) rotate(-8deg); background:var(--primary-deep); }
.hmec-why-check svg{ width:15px; height:15px; }

/* ---------- OPEN POSITIONS (job listings) ---------- */
.hmec-job-list{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:22px; max-width:1180px; margin-inline:auto; align-items:start; }
.hmec-job-card{
  position:relative; display:block; overflow:hidden; height:100%;
  border:1px solid var(--line); border-radius:6px; padding:32px 30px; background:#fff;
  transition:transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.hmec-job-card::before{
  content:''; position:absolute; top:0; left:0; width:3px; height:100%;
  background:var(--primary); transform:scaleY(0); transform-origin:top; transition:transform .5s var(--ease);
}
.hmec-job-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); border-color:var(--line); }
.hmec-job-card:hover::before{ transform:scaleY(1); }
.hmec-job-main{ width:100%; }
.hmec-job-head{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:8px; }
.hmec-job-main h3{ font-size:23px; font-weight:600; color:var(--ink); margin:0; }
.hmec-job-meta{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; margin-bottom:12px; }
.hmec-job-meta span{ font-size:12.5px; color:var(--ink-soft); }
.hmec-job-meta span:not(.hmec-job-type):not(:last-child)::after{ content:'·'; margin-left:14px; color:var(--line); }
.hmec-job-type{
  font-family:var(--font-heading); font-weight:600; color:var(--primary-deep) !important;
  text-transform:uppercase; letter-spacing:.08em; font-size:11px !important;
  background:rgba(16,77,146,.08); padding:5px 12px; border-radius:2px;
}
.hmec-job-desc-wrap{ max-width:56ch; }
.hmec-job-desc{ font-size:14.5px; line-height:1.7; color:var(--ink-soft); display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; }
.hmec-job-desc.hmec-expanded{ -webkit-line-clamp:unset; overflow:visible; }
.hmec-job-desc b, .hmec-job-desc strong{ font-weight:700; color:var(--ink); }
.hmec-job-desc i, .hmec-job-desc em{ font-style:italic; }
.hmec-job-desc ul{ margin:6px 0 6px 20px; list-style:disc; }
.hmec-job-desc li{ margin-bottom:2px; }
.hmec-job-desc-toggle{ display:inline-block; margin-top:8px; padding:0; border:0; background:none; font-family:var(--font-heading); font-size:13px; font-weight:600; color:var(--primary); cursor:pointer; }
.hmec-job-desc-toggle:hover{ color:var(--primary-deep); text-decoration:underline; }
.hmec-job-apply{ flex:none; padding:11px 24px !important; font-size:12.5px !important; letter-spacing:.05em !important; }

/* ---------- CALL TO ACTION ---------- */
.hmec-cta{
  background:linear-gradient(160deg, var(--primary) 0%, var(--primary-deep) 100%);
  padding:110px 0; text-align:center;
}
.hmec-cta-inner{ max-width:640px; margin-inline:auto; }
.hmec-cta h2{ color:#fff; font-size:clamp(28px,3.6vw,44px); margin-bottom:18px; }
.hmec-cta p{ color:rgba(255,255,255,.88); font-size:17px; line-height:1.8; margin-bottom:8px; }

/* ---------- FOOTER — centered, white background ---------- */
footer{ background:#ffffff !important; color:var(--ink); padding:80px 0 40px; border-top:1px solid var(--line); }
.hmec-footer-centered{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:22px; }
.hmec-footer-centered .hmec-brand-word--footer{ display:inline-block; }
.hmec-footer-tagline{ font-size:15px; line-height:1.8; color:var(--ink-soft); max-width:46ch; margin-top:-4px; }

.hmec-footer-nav{ display:flex; flex-wrap:wrap; justify-content:center; gap:28px; margin-top:6px; }
.hmec-footer-nav a{ font-family:var(--font-heading); font-size:13px; letter-spacing:.1em; text-transform:uppercase; color:var(--ink); transition:color .3s ease; }
.hmec-footer-nav a:hover{ color:var(--primary) !important; }

.hmec-footer-info{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px 22px; font-size:14.5px; color:var(--ink-soft); }
.hmec-footer-info li::after{ content:'·'; margin-left:22px; color:var(--line); }
.hmec-footer-info li:last-child::after{ content:''; margin:0; }

.hmec-footer-social{ display:flex; gap:14px; }
.hmec-footer-social a{
  width:36px; height:36px; border:1px solid var(--line); border-radius:50%; color:var(--primary);
  display:flex; align-items:center; justify-content:center; transition:background .35s ease, border-color .35s ease;
}
.hmec-footer-social a:hover{ background:var(--cream); border-color:var(--primary); }
.hmec-footer-social svg{ width:15px; height:15px; }

.hmec-footer-bottom{
  display:flex; justify-content:center; align-items:center; gap:6px 24px; flex-wrap:wrap;
  padding-top:26px; margin-top:12px; width:100%;
  border-top:1px solid var(--line);
  font-size:13px; color:var(--ink-soft);
}
.hmec-footer-bottom a{ color:var(--ink-soft); }
.hmec-footer-bottom a:hover{ color:var(--primary) !important; }

/* ================= RESPONSIVE ================= */
@media (max-width:1100px){
  .hmec-nav-links{ display:none; }
  .hmec-burger{ display:flex; }
}
@media (max-width:980px){
  .hmec-nav-links{ display:none; }
  .hmec-burger{ display:flex; }
  .hmec-about-grid{ grid-template-columns:1fr; gap:50px; }
  .hmec-about-art{ max-width:360px; margin-inline:auto; }
  .hmec-about-stats{ grid-template-columns:repeat(2,1fr); gap:32px 20px; }
  .hmec-why-grid{ grid-template-columns:1fr; }
  .hmec-job-list{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media (max-width:560px){
  .hmec-container{ width:min(560px, 100% - 40px); }
  .hmec-section{ padding:86px 0; }
  .hmec-section-tight{ padding:60px 0; }
  .hmec-job-list{ grid-template-columns:1fr; gap:16px; }
  .hmec-job-card{ padding:22px 20px; }
  .hmec-job-head{ flex-direction:column; align-items:flex-start; gap:12px; }
  .hmec-job-apply{ width:100%; text-align:center; }
  .hmec-footer-nav{ gap:16px 22px; }
  .hmec-footer-info li::after{ margin-left:14px; }
  .hmec-btn-header{ display:none; }
  .hmec-cta{ padding:80px 0; }
}
@media (max-width:400px){
  .hmec-brand-word{ font-size:15px; }
  header.hmec-scrolled .hmec-brand-word{ font-size:13px; }
  .hmec-brand-img--header{ height:min(var(--logo-h, 44px), 34px); }
  header.hmec-scrolled .hmec-brand-img--header{ height:min(calc(var(--logo-h, 44px) - 10px), 28px); }
}

@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; }
  .hmec-reveal{ opacity:1; transform:none; }
  .hmec-hero-slide.is-active{ animation:none; transform:scale(1); }
}

/* ================= APPLICATION MODAL ================= */
.hmec-modal-overlay{
  position:fixed; inset:0; z-index:2000;
  background:rgba(10,20,35,.55);
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  display:flex; align-items:center; justify-content:center;
  padding:24px;
  opacity:0; pointer-events:none;
  transition:opacity .4s var(--ease);
}
.hmec-modal-overlay.open{ opacity:1; pointer-events:auto; }
.hmec-modal-card{
  background:var(--white); border-radius:10px; width:min(560px, 100%);
  max-height:88vh; overflow-y:auto;
  box-shadow:0 40px 90px rgba(10,20,35,.35);
  transform:translateY(24px) scale(.98); transition:transform .45s var(--ease);
  position:relative;
}
.hmec-modal-overlay.open .hmec-modal-card{ transform:translateY(0) scale(1); }
.hmec-modal-head{ padding:36px 40px 8px; text-align:left; }
.hmec-modal-head .hmec-eyebrow{ margin-bottom:10px; }
.hmec-modal-head h3{ font-size:24px; color:var(--primary); }
.hmec-modal-head p{ font-size:14.5px; color:var(--ink-soft); margin-top:8px; }
.hmec-modal-close{
  position:absolute; top:22px; right:22px; width:34px; height:34px; border-radius:50%;
  border:1px solid var(--line); background:none; cursor:pointer; color:var(--ink);
  display:flex; align-items:center; justify-content:center;
  transition:background .3s ease, transform .3s ease;
}
.hmec-modal-close:hover{ background:var(--cream); transform:rotate(90deg); }
.hmec-modal-close svg{ width:14px; height:14px; }

.hmec-modal-form{ padding:20px 40px 40px; }
.hmec-hp-field{ position:absolute !important; left:-9999px !important; width:1px; height:1px; opacity:0; pointer-events:none; }
.hmec-form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px; }
.hmec-form-field{ display:flex; flex-direction:column; gap:6px; margin-bottom:16px; }
.hmec-form-row .hmec-form-field{ margin-bottom:0; }
.hmec-form-field label{ font-size:12px; letter-spacing:.03em; font-weight:600; color:var(--ink-soft); }
.hmec-form-field input, .hmec-form-field textarea{
  font-family:var(--font-body); font-size:15px; padding:12px 14px;
  border:1px solid var(--line); border-radius:5px; background:var(--cream);
  color:var(--ink); transition:border-color .3s ease, background .3s ease;
}
.hmec-form-field input:focus, .hmec-form-field textarea:focus{
  outline:none; border-color:var(--primary); background:#fff;
}
.hmec-form-field textarea{ resize:vertical; }
.hmec-modal-submit{ width:100%; justify-content:center; margin-top:6px; font-size:15px; padding:16px; }
.hmec-modal-submit:disabled{ opacity:.7; cursor:wait; }
.hmec-form-error{ display:none; color:#c0392b; font-size:13.5px; margin-top:12px; text-align:center; }

.hmec-form-banner{
  max-width:920px; margin:0 auto 40px; padding:18px 24px; border-radius:8px;
  font-size:15px; text-align:center;
}
.hmec-form-banner--success{ background:#eaf6ec; color:#1e7a34; border:1px solid #bfe6c8; }
.hmec-form-banner--error{ background:#fbeaea; color:#a12b2b; border:1px solid #f0c4c4; }

.hmec-modal-success{
  display:none; flex-direction:column; align-items:center; text-align:center;
  padding:56px 40px 60px;
}
.hmec-modal-success.show{ display:flex; }
.hmec-modal-success .hmec-check{
  width:64px; height:64px; border-radius:50%; background:var(--cream);
  display:flex; align-items:center; justify-content:center; margin-bottom:22px;
}
.hmec-modal-success .hmec-check svg{ width:28px; height:28px; }
.hmec-modal-success h3{ font-size:22px; margin-bottom:10px; }
.hmec-modal-success p{ font-size:15px; color:var(--ink-soft); max-width:36ch; }

@media (max-width:560px){
  .hmec-modal-head{ padding:30px 24px 4px; }
  .hmec-modal-form{ padding:16px 24px 32px; }
  .hmec-form-row{ grid-template-columns:1fr; }
}

