/* Home page hero (index.php .sghero). Root font-size is 10px, so 1rem = 10px.
   Copy + CTAs on the left; in the middle a 3D phone sliding through live client cards
   (*-card.html in iframes) with dots to pick one.
   Layout: headline + badges left, phone centre, copy + CTAs + figures right.
   Background: WebGL silk (React Bits Silk, ported to js/silk.js) over a flat blue fallback. Icons are inline Lucide paths. */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

.sghero {
  --ink: #0b1a4a;          /* logo navy */
  --text: #2b3758;
  --muted: #5d6886;
  --line: #e1e6f0;
  --line-strong: #cdd4e3;
  --surface: #f6f8fc;
  --red: #e5202b;          /* logo red */
  --red-hover: #c8141f;
  --ok: #15803d;
  --blue: #1f6bff;         /* action blue, reads on the silk */
  --blue-hover: #1557e0;
  --tint: #e8efff;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #1c3faa;     /* the silk colour; shows before WebGL starts or when it is unavailable */
  color: #fff;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  padding: 3.2rem 0 8rem;
}

/* ── Silk background (WebGL2, js/silk.js) ── */
/* The section gradient above stays as the fallback when WebGL2 is unavailable. */
.sghero_silk { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.silk-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }

.sghero_inner {
  max-width: 136rem;
  margin: 0 auto;
  padding: 0 3.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 30rem minmax(32rem, 0.75fr);
  grid-template-areas:
    "head stage side"
    "band band  band";
  align-items: center;
  gap: 4.8rem 4rem;
}
.sghero_head  { grid-area: head; translate: -3rem -5rem; }   /* nudged 30px left and 50px up (wide screens, reset at 1180px) */
.sghero_stage { grid-area: stage; }
.sghero_side  { grid-area: side; }

.lc {
  width: 1.8rem;
  height: 1.8rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Copy ── */
.sghero_kicker {
  margin: 0 0 1.6rem;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

/* "Go AI · Go Green · Go Digital" in place of the kicker */
.sghero_slogan { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; font-weight: 700; color: #fff; }
.sghero_slogan span + span::before { content: "\00b7"; margin-right: 1.2rem; color: rgba(255, 255, 255, 0.55); }

.sghero_title {
  margin: 0;
  font-family: inherit;
  font-size: clamp(3rem, 2.7vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #fff;
}
/* "Singapore": logo red with a light sweep passing over it */
.sghero_shine {
  color: #ff3a44;
  background: linear-gradient(100deg, #e5202b 0%, #ff4550 35%, #ffd6d9 50%, #ff4550 65%, #e5202b 100%);
  background-size: 250% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sghero_lead {
  max-width: 40rem;
  margin: 3.2rem 0;
  font-size: max(16px, 1.7rem);
  line-height: 1.6;
  color: #fff;
}

.sghero_actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2.8rem; }

.sgbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 5.2rem;
  padding: 0 2.6rem;
  border-radius: 1.4rem;
  border: 1px solid transparent;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease),
              box-shadow 0.18s var(--ease), transform 0.18s var(--ease);
}
.sgbtn .lc { width: 1.7rem; height: 1.7rem; transition: transform 0.18s var(--ease); }
.sgbtn--primary { background: var(--blue); color: #fff; box-shadow: 0 1.2rem 2.8rem -1.2rem rgba(31, 107, 255, 0.9); }
.sgbtn--primary:hover { background: var(--blue-hover); color: #fff; text-decoration: none; transform: translateY(-1px); }
.sgbtn--primary:hover .lc { transform: translateX(0.3rem); }
.sgbtn:active { transform: translateY(0) scale(0.98); }
.sgbtn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.sghero_demo {
  padding: 0.4rem 0;
  border-bottom: 2px solid rgba(110, 160, 255, 0.9);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.18s var(--ease);
}
.sghero_demo:hover { border-color: #fff; color: #fff; text-decoration: none; }
.sghero_demo:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

/* certification + award logos under the headline */
.sghero_badges { margin-top: 4rem; }
.sghero_badges_label { margin: 0 0 1.4rem; font-size: 1.2rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.sghero_badges ul { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem 3.2rem; margin: 0; padding: 0; list-style: none; }
.sghero_badges li { margin: 0; }
.sghero_badges img { display: block; width: auto; height: 5.6rem; }
.sghero_badges .is-iso { height: 4rem; filter: brightness(0) invert(1); }   /* blue artwork, shown white on the silk */
.sghero_badges .is-vapt { height: 6.4rem; }
.sghero_badges .is-soc { height: 4.8rem; }

/* ── Stage ── */
.sghero_stage {
  position: relative;
  cursor: grab;
  touch-action: pan-y;          /* page still scrolls vertically; horizontal drags rotate the phone */
  user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  left: -4rem;                  /* sit a little left of the column centre, away from the copy on the right */
}
/* soft glow behind the globe, with a faint outer ring */
.sghero_stage::before,
.sghero_stage::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.sghero_stage::before {
  width: var(--globe-d, 48rem);        /* js/globe.js sets the sphere's actual size */
  background: radial-gradient(circle at 50% 40%, rgba(110, 165, 255, 0.34), rgba(45, 115, 255, 0.16) 70%, rgba(30, 90, 240, 0.08));
  box-shadow: 0 0 10rem rgba(40, 110, 255, 0.45);
}
.sghero_stage::after {
  width: 62rem;
  border: 1px solid rgba(170, 200, 255, 0.28);
}
/* vector globe (js/globe.js): the canvas keeps 2rem around the sphere, so a 52rem canvas
   holds a 48rem sphere, the size of the glow above */
.sghero_globe {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 52rem;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
/* ── 3D phone ── */
.sg3d {
  position: relative;
  z-index: 2;
  perspective: 160rem;
  border-radius: 5rem;
}
.sg3d:focus-visible { outline: 3px solid var(--ink); outline-offset: 1.2rem; }
.sg3d_phone {
  position: relative;
  width: 22rem;
  aspect-ratio: 9 / 19.4;
  padding: 0.9rem;
  border-radius: 4.2rem;
  background: linear-gradient(145deg, #4a4f5c 0%, #1a1c22 30%, #23262e 70%, #4a4f5c 100%);   /* metal frame */
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.12), inset 0 0 0 0.6rem #0b0c10;
  transform-style: preserve-3d;
  transform: rotateY(var(--ry, -18deg)) rotateX(var(--rx, 7deg)) rotateZ(3deg);
  transition: transform 0.6s var(--ease);
}
.sg3d_phone.is-dragging { transition: none; }
.sghero_stage:has(.is-dragging) { cursor: grabbing; }

/* body: ten stacked slabs give the phone real thickness from any angle */
.sg3d_body, .sg3d_body i, .sg3d_back { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.sg3d_body { transform-style: preserve-3d; }
.sg3d_body i {
  background: #3a3e49;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: translateZ(calc(var(--i) * -0.16rem));
}
.sg3d_body i:nth-child(even) { background: #2f323c; }
.sg3d_back {
  background: linear-gradient(160deg, #2a2d36, #16171c);
  transform: translateZ(-1.76rem) rotateY(180deg);
}
.sg3d_cam {
  position: absolute;
  top: 2.4rem;
  left: 2.4rem;
  display: grid;
  grid-template-columns: repeat(2, 2.8rem);
  gap: 0.6rem;
  padding: 0.8rem;
  border-radius: 2rem;
  background: #1f2128;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.sg3d_cam i { width: 2.8rem; height: 2.8rem; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #3b4a6b, #07080b 60%); box-shadow: 0 0 0 0.3rem #2c2f38; }
.sg3d_btn {
  position: absolute;
  left: -0.4rem;
  width: 0.5rem;
  border-radius: 0.3rem;
  background: #4a4e5a;
  transform: translateZ(-0.8rem);
}
.sg3d_btn--a { top: 17%; height: 2.6rem; }
.sg3d_btn--b { top: 25%; height: 4.2rem; }
.sg3d_btn--c { top: 35%; height: 4.2rem; }

.sg3d_screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 3.3rem;
  background: #fff;
  transform: translateZ(0.1rem);
}
.sg3d_status {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.8rem;
  padding: 0 2.2rem 0 2.6rem;
  background: #fff;
  color: #0d0f14;
  font-size: 1.2rem;
  font-weight: 700;
}
.sg3d_island {
  position: absolute;
  top: 0.9rem;
  left: 50%;
  width: 7.6rem;
  height: 2.2rem;
  margin-left: -3.8rem;
  border-radius: 999px;
  background: #0b0c10;
}
.sg3d_icons { display: flex; align-items: flex-end; gap: 0.25rem; height: 1.1rem; }
.sg3d_icons i { width: 0.35rem; background: #0d0f14; border-radius: 1px; }
.sg3d_icons i:nth-child(1) { height: 40%; }
.sg3d_icons i:nth-child(2) { height: 70%; }
.sg3d_icons i:nth-child(3) { height: 100%; }
/* client cards sit side by side under the status bar; --pos is each card's place relative to
   the one on screen (0), and only the outgoing and incoming cards animate (.is-parked jumps) */
.sg3d_slides { position: absolute; inset: 3.8rem 0 0; overflow: hidden; }
.sg3d_slide {
  position: absolute;
  inset: 0;
  background: #fff;
  transform: translateX(calc(var(--pos, 0) * 100%));
  transition: transform 0.7s var(--ease);
}
.sg3d_slide.is-parked { transition: none; }
/* each card renders at 390px (a real phone width) and is scaled to the screen by --card-scale */
.sg3d_slide iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 390px;
  height: calc(100% / var(--card-scale, 0.57));
  border: 0;
  background: #fff;
  transform: scale(var(--card-scale, 0.57));
  transform-origin: 0 0;
}

/* card picker under the phone: client name + one dot per card */
.sg3d_dots {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 6.4rem;
  cursor: default;
}
.sg3d_dots_name { margin: 0; font-size: 1.4rem; font-weight: 700; letter-spacing: 0.02em; color: #fff; }
.sg3d_dots_row { display: flex; gap: 0.2rem; }
.sg3d_dot {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.sg3d_dot::before {
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition: width 0.3s var(--ease), background-color 0.3s var(--ease);
}
.sg3d_dot:hover::before { background: rgba(255, 255, 255, 0.8); }
.sg3d_dot[aria-current="true"]::before { width: 2rem; background: #fff; }
.sg3d_dot:focus-visible { outline: 2px solid #fff; outline-offset: -2px; border-radius: 999px; }
.sg3d_dots_row { align-items: center; }
.sg3d_play {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  margin-left: 0.6rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: none;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.sg3d_play .lc { width: 1.1rem; height: 1.1rem; fill: currentColor; stroke: none; }
.sg3d_play:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); }
.sg3d_play:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.sg3d_play .sg3d_play_play,
.sg3d_play[aria-pressed="true"] .sg3d_play_pause { display: none; }
.sg3d_play[aria-pressed="true"] .sg3d_play_play { display: block; }
.sg3d_glare {        /* glass reflection; lets clicks and scrolling through */
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 26%);
  pointer-events: none;
}
.sg3d_shadow {
  position: absolute;
  left: 50%;
  bottom: -4.4rem;
  width: 22rem;
  height: 4rem;
  margin-left: -10rem;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(2, 10, 50, 0.55), transparent);
  filter: blur(0.6rem);
  z-index: -1;
}

/* live view counter in the side column (js/viewcount.js fills it, hides it if the API fails) */
.sgviews {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: fit-content;   /* hug the figure; stretched full-column it reads as a tab */
  padding: 2.4rem 2.8rem 2.4rem 2.4rem;
  border-radius: 1.6rem;
  background: #fff;
  box-shadow: 0 2rem 4rem -2rem rgba(2, 10, 50, 0.6);
  text-align: left;
}
.sgviews[hidden] { display: none; }
.sgviews_icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 6rem;
  height: 6rem;
  border-radius: 1.4rem;
  background: var(--tint);
  color: var(--blue);
}
.sgviews_icon .lc { width: 2.8rem; height: 2.8rem; }
.sgviews_value {
  margin: 0;
  font-size: clamp(3.6rem, 3vw, 4.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.sgviews_label { display: flex; align-items: center; gap: 0.8rem; margin: 0.8rem 0 0; font-size: 1.5rem; color: var(--muted); }
.sgviews_dot { width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--ok); }
.sgviews_exact { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }   /* exact count, beside the "2.7M" */
.sgviews.is-fallback .sgviews_dot { display: none; }   /* placeholder figure: not live */

/* preview controls */
.sgtools {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  width: 100%;
  margin-top: 1.2rem;
}
.sgtools_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 4.2rem;
  padding: 0 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 1rem;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease), transform 0.15s var(--ease);
}
.sgtools_btn .lc { width: 1.6rem; height: 1.6rem; }
.sgtools_btn:hover { border-color: var(--ink); color: var(--ink); text-decoration: none; }
.sgtools_btn:active { transform: scale(0.97); }
.sgtools_btn[aria-pressed="true"] { background: var(--surface); }
.sgtools_btn--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.sgtools_btn--dark:hover { background: #142a6e; color: #fff; }
.sgtools_btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

/* share popover */
/* ── Band: verified figures + departments ── */
.sghero_band {
  grid-area: band;
  display: grid;
  gap: 1.6rem;
  margin-top: 4rem;
}

/* Premium offer banner under the department inboxes */
.sgprice {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  padding: 2rem 2.8rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.6rem;
  background: #3b32ec;
  box-shadow: 0 3.2rem 6.4rem -3.2rem rgba(2, 10, 50, 0.6);
  color: #fff;
  text-align: left;
}
.sgprice p { margin: 0; }
.sgprice_amount { flex: none; font-size: 4.4rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.sgprice_body { flex: 1; min-width: 0; }
.sgprice_title { font-size: 1.8rem; font-weight: 700; }
.sgprice_cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  flex: none;
  min-height: 4.8rem;
  padding: 0 2.4rem;
  border-radius: 1.2rem;
  background: #fff;
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.sgprice_cta .lc { width: 1.6rem; height: 1.6rem; transition: transform 0.18s var(--ease); }
.sgprice_cta:hover { background: #e6edff; color: var(--ink); text-decoration: none; transform: translateY(-1px); }
.sgprice_cta:hover .lc { transform: translateX(0.3rem); }
.sgprice_cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* figures sit straight on the silk under the CTAs, like the headline */
.sghero_stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: space-between;
  gap: 2.4rem;
  max-width: 48rem;
  margin: 4rem 0 0;
}
.sghero_stats dt {
  font-size: clamp(2.8rem, 2.4vw, 3.4rem);
  white-space: nowrap;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.sghero_stats dd { margin: 0.8rem 0 0; font-size: 1.5rem; line-height: 1.35; color: rgba(255, 255, 255, 0.8); }

/* department inboxes: intro on the left, small cards drifting sideways in a loop */
.sghero_contact {
  display: flex;
  align-items: center;
  gap: 3.2rem;
  padding: 2rem 0 2rem 2.8rem;
  border-radius: 1.6rem;
  background: #fff;
  box-shadow: 0 3.2rem 6.4rem -3.2rem rgba(2, 10, 50, 0.6);
  overflow: hidden;
}
.sghero_contact_intro { flex: 0 0 26rem; }
.sghero_contact_title { margin: 0 0 0.4rem; font-family: inherit; font-size: 2rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
.sghero_contact_text { margin: 0; font-size: 1.35rem; line-height: 1.5; color: var(--text); }
.sgmarquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 92%, transparent);
}
.sgmarquee_track { display: flex; width: max-content; }
/* each copy ends with one gap so the -50% jump lands exactly on the start */
.sghero_mails { display: flex; gap: 1rem; margin: 0; padding: 0.4rem 1rem 0.4rem 0; list-style: none; }
.sghero_mails li { margin: 0; }
.sghero_mails a {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.6rem;
  border-radius: 1rem;
  background: var(--surface);
  color: var(--ink);
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.sghero_mails a:hover { background: var(--tint); color: var(--blue); text-decoration: none; }
.sghero_mails a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.sghero_mails_dept { font-size: 1.15rem; color: var(--muted); }
.sghero_mails_addr { font-size: 1.4rem; font-weight: 600; }

@media (prefers-reduced-motion: no-preference) {
  .sgmarquee_track { animation: sgmarquee 48s linear infinite; }
  .sgmarquee:hover .sgmarquee_track,
  .sgmarquee:focus-within .sgmarquee_track { animation-play-state: paused; }
}
/* with script: the strip is driven from JS and can be dragged back and forth */
.sgmarquee.is-js { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.sgmarquee.is-js.is-dragging { cursor: grabbing; }
.sgmarquee.is-js .sgmarquee_track { animation: none; will-change: transform; }
.sgmarquee.is-js a { -webkit-user-drag: none; }
@media (prefers-reduced-motion: reduce) {
  .sg3d_slide { transition: none; }
  .sgmarquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .sghero_mails[aria-hidden="true"] { display: none; }
}
@keyframes sgmarquee {
  to { transform: translateX(-50%); }
}

/* mail app picker, opened from an email link (placed by script next to the link) */
.sgmailpick {
  position: fixed;
  z-index: 50;
  width: max-content;
  min-width: 26rem;
  max-width: calc(100vw - 24px);
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: #fff;
  box-shadow: 0 2.4rem 4.8rem -1.6rem rgba(2, 10, 50, 0.45);
  color: var(--ink);
  text-align: left;
}
.sgmailpick[hidden] { display: none; }
.sgmailpick_head { display: flex; flex-direction: column; gap: 0.2rem; margin: 0 0 0.8rem; padding: 0.4rem 0.8rem 1rem; border-bottom: 1px solid var(--line); }
.sgmailpick_head span { font-size: 1.2rem; color: var(--muted); }
.sgmailpick_head b { font-size: 1.4rem; font-weight: 700; overflow-wrap: anywhere; }
.sgmailpick_list { margin: 0; padding: 0; list-style: none; }
.sgmailpick_list li { margin: 0; }
.sgmailpick_list a,
.sgmailpick_list button {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  min-height: 4rem;
  padding: 0 0.8rem;
  border: 0;
  border-radius: 0.8rem;
  background: none;
  color: var(--ink);
  font-family: inherit;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.sgmailpick_list .lc { width: 1.7rem; height: 1.7rem; color: var(--muted); }
.sgmailpick_list a:hover,
.sgmailpick_list button:hover { background: var(--tint); color: var(--blue); text-decoration: none; }
.sgmailpick_list a:hover .lc,
.sgmailpick_list button:hover .lc { color: var(--blue); }
.sgmailpick_list a:focus-visible,
.sgmailpick_list button:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.sgmailpick_list li:last-child { margin-top: 0.4rem; padding-top: 0.4rem; border-top: 1px solid var(--line); }

/* ── Motion ── */
@media (prefers-reduced-motion: no-preference) {
  .sghero_shine { animation: sghero-shine 4s ease-in-out 1s infinite; }  .sghero_kicker, .sghero_title, .sghero_badges, .sgviews, .sghero_lead, .sghero_actions, .sghero_stats {
    animation: sghero-rise 0.6s var(--ease) both;
  }
  .sghero_title { animation-delay: 0.05s; }
  .sghero_badges { animation-delay: 0.15s; }
  .sgviews { animation-delay: 0.3s; }
  .sghero_lead { animation-delay: 0.46s; }
  .sghero_actions { animation-delay: 0.54s; }
  .sghero_stats { animation-delay: 0.62s; }

  .sg3d { animation: sg3d-in 0.9s var(--ease) 0.15s both; }
  /* gentle float; `translate`/`scale` stack with the drag rotation on `transform` */
  .sg3d_phone { animation: sg3d-float 6s ease-in-out 1.1s infinite; }
  .sg3d_shadow { animation: sg3d-shadow 6s ease-in-out 1.1s infinite; }
  .sg3d_dots { animation: sghero-rise 0.5s var(--ease) 0.6s both; }

  .sghero_contact, .sgprice {
    animation: sghero-rise 0.6s var(--ease) both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
  .sgviews_dot { animation: sghero-pulse 2s ease-in-out infinite; }
}
@keyframes sghero-shine {      /* sweep, then rest before the next pass */
  0% { background-position: 100% 0; }
  55%, 100% { background-position: 0% 0; }
}
@keyframes sghero-rise {
  from { opacity: 0; transform: translateY(1.6rem); }
  to { opacity: 1; transform: none; }
}
@keyframes sg3d-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -1.6rem; }
}
@keyframes sg3d-shadow {      /* the shadow tightens and fades as the phone rises */
  0%, 100% { scale: 1; opacity: 1; }
  50% { scale: 0.82; opacity: 0.6; }
}
@keyframes sg3d-in {
  from { opacity: 0; transform: translateY(3rem); }
  to { opacity: 1; transform: none; }
}
@keyframes sghero-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ── Responsive ── */
@media (max-width: 1180px) {
  .sghero_inner {
    grid-template-columns: minmax(0, 1fr) 30rem;
    grid-template-areas:
      "head stage"
      "side stage"
      "band band";
    gap: 4rem;
  }
  .sghero_head { align-self: end; translate: none; }   /* the nudge is for the wide three-column layout only */
  .sghero_side { align-self: start; max-width: 48rem; }
}
@media (max-width: 1024px) {
  .sghero { padding-top: 4.8rem; }
  .sghero_inner {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "stage" "side" "band";
    justify-items: center;
    text-align: center;
  }
  .sghero_title { max-width: 24ch; margin-inline: auto; }
  .sghero_slogan { justify-content: center; }
  .sghero_stage { width: 100%; max-width: 48rem; left: 0; }
  .sghero_stage::before { width: var(--globe-d, min(44rem, 92vw)); }
  .sghero_globe { width: calc(min(44rem, 92vw) + 4rem); }
  .sghero_stage::after { width: min(56rem, 120vw); }
  .sgtools { width: auto; }
  .sghero_side { max-width: 48rem; width: 100%; display: flex; flex-direction: column; align-items: center; }
  .sgviews { width: 100%; }
  .sghero_lead { margin-inline: auto; }
  .sghero_actions { justify-content: center; }
  .sghero_stats { width: 100%; margin-inline: auto; }
  .sghero_badges ul { justify-content: center; }
  .sghero_band { width: 100%; text-align: left; }
}

@media (max-width: 600px) {
  .sghero { padding: 3.6rem 0 5.6rem; }
  .sghero_inner { padding: 0 2rem; gap: 3.2rem; }
  .sghero_kicker { font-size: 1.2rem; }
  .sghero_title { font-size: 2.8rem; }
  .sghero_actions { flex-direction: column; width: 100%; }
  .sgbtn { width: 100%; }
  .sg3d { --ry: -10deg; --rx: 5deg; }
  .sg3d_phone { width: 22rem; }
  .sgtools { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .sgtools_btn { justify-content: center; padding: 0 1rem; font-size: 1.3rem; }
  .sghero_stats { gap: 1.6rem; margin-top: 3.2rem; }
  .sghero_stats dt { font-size: 2.8rem; }
  .sghero_stats dd { font-size: 1.3rem; }
  .sghero_contact { flex-direction: column; align-items: stretch; gap: 1.6rem; padding: 2rem 0 2rem 2rem; }
  .sgprice { flex-wrap: wrap; gap: 1.2rem 1.8rem; padding: 2rem; }
  .sgprice_amount { font-size: 3.6rem; }
  .sgprice_body { flex-basis: calc(100% - 10rem); }
  .sgprice_cta { width: 100%; justify-content: center; }
  .sghero_contact_intro { flex: none; padding-right: 2rem; }
}
