/* Euloquence Build 02 v02 — revised How It Works page
   Home page styling remains untouched in styles.css. */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

.how-hero,
.how-overview,
.how-process,
.how-last{width:100%;position:relative;isolation:isolate}

/* Top hero */
.how-hero{
  min-height:279px;
  overflow:hidden;
  background:
    linear-gradient(90deg,#062d1d 0%,#0a3422 36%,#193824aa 56%,transparent 76%),
    radial-gradient(circle at 18% 26%,#0d4a31 0%,#083824 34%,#052b1a 60%,#032417 100%);
  border-bottom:1px solid #c5ab78;
}
.how-hero-photo{
  position:absolute;
  inset:0 0 0 auto;
  width:min(53%,810px);
  overflow:hidden;
}
.how-hero-photo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
  filter:saturate(1.02);
}
.how-hero-copy{
  position:relative;
  z-index:1;
  max-width:620px;
  padding:32px 5.86% 30px;
  color:#f3ebd9;
}
.how-hero-copy h1{
  margin:0 0 24px;
  font:normal clamp(62px,6vw,78px)/0.95 'EB Garamond',Georgia,serif;
  color:#f6eee2;
  letter-spacing:-1.8px;
}
.how-hero-copy p{
  margin:0;
  max-width:580px;
  font:normal clamp(20px,2vw,26px)/1.36 'EB Garamond',Georgia,serif;
  color:#f1e5cf;
}

/* Cream overview strip with four photographic panels */
.how-overview{
  background:#efe4d3;
  padding:22px 2.95% 19px;
  border-bottom:1px solid #d4b483;
}
.how-overview-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  align-items:start;
}
.overview-card{
  min-width:0;
  padding:0 22px 0;
  text-align:center;
  border-right:1px solid #dcc7ab;
}
.overview-card:last-child{border-right:0}
.overview-art{
  margin:0 0 14px;
  background:#f5eee3;
  border:1px solid #d8c3a4;
  overflow:hidden;
  box-shadow:0 2px 8px rgba(0,0,0,.06);
}
.overview-art img{
  width:100%;
  height:auto;
  display:block;
}
.overview-card h3{
  margin:0 0 12px;
  font:normal clamp(24px,2vw,28px)/1.06 'EB Garamond',Georgia,serif;
  color:#243d31;
  letter-spacing:-0.2px;
}
.overview-card p{
  margin:0;
  font:normal 17px/1.32 'EB Garamond',Georgia,serif;
  color:#51483e;
}

/* User-approved lower green sections remain visually unchanged */
.how-process{
  height:329px;
  overflow:hidden;
  background:radial-gradient(ellipse at 49% 22%,#0c3927 0%,#042f1f 55%,#002518 100%);
  color:#efd7ae;
  padding:16px 5.15% 16px;
  border-top:1px solid #b88c50;
}
.how-process-heading{display:flex;align-items:center;justify-content:center;gap:24px;height:44px}
.how-process-heading .line{height:1px;width:66px;background:#b88c50}
.how-process-heading h2{font:normal 37px/1 'EB Garamond',Georgia,serif;color:#f1dfba;margin:0}
.how-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(14px,2.8vw,42px);margin-top:7px;height:244px}
.how-card{border:1px solid #ac8b57;border-radius:14px;background:linear-gradient(157deg,#0d422f 0%,#073822 41%,#012c1a 100%);box-shadow:0 7px 14px #0004,inset 0 1px 0 #d7b37d55;display:flex;flex-direction:column;align-items:center;text-align:center;padding:19px 12px 17px;min-width:0}
.how-card img{width:72px;height:68px;object-fit:contain;flex:0 0 68px;margin-bottom:13px}
.how-card h3{font:normal 25px/1.12 'EB Garamond',Georgia,serif;color:#eed8a6;margin:0 0 11px}
.how-card p{font:normal 16px/1.35 Georgia,serif;color:#e0d6c4;margin:0;max-width:250px}
.how-last{height:151px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(ellipse at 49% 35%,#0d3d2b 0%,#04301e 60%,#002616 100%);color:#f0e0c3;text-align:center;padding:14px 16px 20px;border-top:1px solid rgba(184,140,80,.16)}
.how-last h2{font:normal 40px/1.1 'EB Garamond',Georgia,serif;color:#f4e4c5;margin:0 0 5px}
.how-last p{font:normal 18px/1.2 Georgia,serif;color:#dbccb0;margin:0 0 12px}
.how-last .how-last-cta{padding:12px 38px;font-size:15px;min-width:205px}

@media (max-width:1300px){
  .how-hero-copy{max-width:560px;padding-top:26px;padding-bottom:24px}
  .overview-card{padding-inline:16px}
  .overview-card p{font-size:15px}
  .how-card{padding:22px 9px 13px}
  .how-card h3{font-size:21px}
  .how-card p{font-size:14px}
}

@media (max-width:1000px){
  .how-hero{min-height:0;display:flex;flex-direction:column}
  .how-hero-photo{position:relative;width:100%;height:240px;order:2}
  .how-hero-copy{padding:26px 5.5% 28px;max-width:none}
  .how-hero-copy h1{margin-bottom:14px}
  .how-overview{padding:22px 4%}
  .how-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 0}
  .overview-card:nth-child(2){border-right:0}
  .overview-card:nth-child(1),
  .overview-card:nth-child(2){padding-bottom:18px;border-bottom:1px solid #dcc7ab}
  .overview-card:nth-child(3),
  .overview-card:nth-child(4){padding-top:10px}
  .how-process{height:auto;padding:26px 4% 30px}
  .how-steps{gap:16px;height:auto;grid-template-columns:repeat(2,1fr)}
  .how-card{min-height:228px;padding:22px 16px}
  .how-card h3{font-size:24px}
  .how-card p{font-size:15px}
}

@media (max-width:650px){
  .how-hero-copy{padding:22px 18px 24px}
  .how-hero-copy h1{font-size:56px;letter-spacing:-1px}
  .how-hero-copy p{font-size:22px}
  .how-overview{padding:18px 16px 20px}
  .how-overview-grid{grid-template-columns:1fr;gap:20px}
  .overview-card,
  .overview-card:nth-child(1),
  .overview-card:nth-child(2),
  .overview-card:nth-child(3),
  .overview-card:nth-child(4){border-right:0;border-bottom:1px solid #dcc7ab;padding:0 0 18px}
  .overview-card:last-child{border-bottom:0;padding-bottom:0}
  .overview-art{margin-bottom:12px}
  .overview-card h3{font-size:33px}
  .overview-card p{font-size:19px;line-height:1.35}
  .how-process{padding:23px 18px 30px}
  .how-process-heading h2{font-size:34px}
  .how-process-heading{gap:15px}
  .how-process-heading .line{width:40px}
  .how-steps{grid-template-columns:1fr;gap:14px;margin-top:16px}
  .how-card{min-height:0;padding:21px 18px 25px}
  .how-card img{height:55px;flex-basis:55px;margin-bottom:10px}
  .how-card h3{font-size:26px}
  .how-card p{font-size:16px}
  .how-last{height:auto;min-height:200px;padding:24px 20px}
  .how-last h2{font-size:33px}
  .how-last p{font-size:17px}
}

/* Home header hides its pill under 1000px. Keep the page CTA visible. */
@media (max-width:1000px){.how-last .how-last-cta{display:inline-flex}}

/* Four independently created photographic panels, with real numbered overlays. */
.overview-art{position:relative;border-radius:5px;aspect-ratio:1.7/1;background:#362c22}
.overview-art img{height:100%;width:100%;object-fit:cover;object-position:center}
.overview-number{position:absolute;z-index:1;top:10px;left:12px;width:33px;height:33px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#193b29;font:600 21px/1 'EB Garamond',Georgia,serif;background:linear-gradient(135deg,#ffe7b2 0%,#b68c50 100%);border:1px solid #f7d69c;box-shadow:0 2px 8px #0007}
