/* ==========================================================================
   TRD Trade — Stitch "Luminous Horizon" design layer
   Airy minimalism + glassmorphism. Times New Roman body typography with Georgia editorial headings. Ruby-red actions,
   soft cyan / lavender / peach atmosphere, deep indigo CTA.
   This single file replaces trd-premium / trd-interactive / horizon-trd / trd-polish.
   ========================================================================== */

:root {
  --sh-ink: #0B0B0F;
  --sh-muted: #555560;
  --sh-soft: #8A8A96;
  --sh-line: rgba(20, 20, 40, 0.08);
  --sh-line-strong: rgba(20, 20, 40, 0.14);
  --sh-glass: rgba(255, 255, 255, 0.58);
  --sh-glass-strong: rgba(255, 255, 255, 0.78);
  --sh-glass-border: rgba(255, 255, 255, 0.72);
  --sh-ruby: #9B1C31;
  --sh-ruby-ink: #741321;
  --sh-pink: #A92D4A;
  --sh-cyan: #38BDF8;
  --sh-lavender: #7C9BEA;
  --sh-peach: #75B99A;
  --sh-gold: #FFD166;
  --sh-lime: #D6ED7A;
  --sh-indigo: #173B68;
  --sh-indigo-2: #24518D;
  --sh-teal: #145B4B;
  --sh-sunset: linear-gradient(135deg, #B52A43 0%, #8F172A 52%, #741321 100%);
  --sh-sunset-wide: linear-gradient(135deg, rgba(23, 66, 118, .96) 0%, rgba(20, 91, 75, .94) 100%);
  --sh-radius-sm: 12px;
  --sh-radius: 20px;
  --sh-radius-lg: 28px;
  --sh-radius-xl: 36px;
  --sh-shadow: 0 8px 32px rgba(20, 20, 40, 0.06);
  --sh-shadow-lg: 0 24px 64px rgba(20, 20, 40, 0.10);
  --sh-shadow-glow: 0 18px 50px rgba(155, 28, 49, 0.18);
  --sh-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sh-ease-soft: cubic-bezier(0.23, 1, 0.32, 1);
  --sh-container: 1200px;
  --sh-gutter: clamp(20px, 4vw, 64px);
  --sh-nav-h: 64px;
  --sh-nav-top: 20px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--sh-nav-h) + var(--sh-nav-top) + 24px); -webkit-text-size-adjust: 100%; }
body.sh {
  margin: 0;
  padding-top: 0 !important;
  font-family: 'Times New Roman', Times, serif;
  color: var(--sh-ink);
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}
body.sh ::selection { background: #F4DDE1; color: #4D1020; }
body.sh img { max-width: 100%; }
body.sh a { -webkit-tap-highlight-color: transparent; }
body.sh :focus-visible { outline: 2px solid var(--sh-ruby); outline-offset: 3px; border-radius: 10px; }
body.sh .font-mono, body.sh code, body.sh kbd { font-family: 'Times New Roman', Times, serif; }
body.sh h1, body.sh h2, body.sh h3, body.sh h4 { text-wrap: balance; }
body.sh p { text-wrap: pretty; }
.sh-skip { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 18px; border-radius: 999px; background: #fff; color: var(--sh-ink); font-weight: 700; box-shadow: var(--sh-shadow); transition: top .25s var(--sh-ease); }
.sh-skip:focus { top: 16px; }

/* Atmosphere: soft drifting aurora behind everything */
.sh-atmos { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: #fff; }
.sh-atmos i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.sh-atmos i:nth-child(1) { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: radial-gradient(circle, rgba(56, 189, 248, .22), transparent 65%); animation: shDrift1 26s var(--sh-ease-soft) infinite alternate; }
.sh-atmos i:nth-child(2) { width: 42vw; height: 42vw; right: -10vw; top: 8vh; background: radial-gradient(circle, rgba(192, 132, 252, .20), transparent 65%); animation: shDrift2 32s var(--sh-ease-soft) infinite alternate; }
.sh-atmos i:nth-child(3) { width: 38vw; height: 38vw; left: 30vw; bottom: -18vw; background: radial-gradient(circle, rgba(255, 154, 158, .20), transparent 65%); animation: shDrift3 28s var(--sh-ease-soft) infinite alternate; }
@keyframes shDrift1 { to { transform: translate3d(8vw, 10vh, 0) scale(1.12); } }
@keyframes shDrift2 { to { transform: translate3d(-10vw, 14vh, 0) scale(.92); } }
@keyframes shDrift3 { to { transform: translate3d(-6vw, -12vh, 0) scale(1.1); } }

/* Scroll progress */
.sh-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 120; transform-origin: 0 50%; transform: scaleX(var(--sh-progress, 0)); background: linear-gradient(90deg, var(--sh-cyan), var(--sh-lavender), var(--sh-ruby)); pointer-events: none; }

/* ---------- Layout primitives ---------- */
.sh-container { width: 100%; max-width: calc(var(--sh-container) + var(--sh-gutter) * 2); margin-inline: auto; padding-inline: var(--sh-gutter); box-sizing: border-box; }
.sh-container--wide { max-width: calc(1360px + var(--sh-gutter) * 2); }
.sh-container--narrow { max-width: calc(880px + var(--sh-gutter) * 2); }
.sh-section { position: relative; padding-block: clamp(64px, 9vw, 120px); }
.sh-section--tight { padding-block: clamp(44px, 6vw, 80px); }
.sh-stack > * + * { margin-top: var(--sh-stack, 16px); }
.sh-dots { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(192, 132, 252, .55) 1px, transparent 1px); background-size: 32px 32px; opacity: .22; -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }

/* ---------- Typography ---------- */
.sh-display { font-size: clamp(40px, 6.2vw, 72px); line-height: 1.04; letter-spacing: -0.045em; font-weight: 800; color: var(--sh-ink); margin: 0; }
.sh-h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.1; letter-spacing: -0.035em; font-weight: 750; color: var(--sh-ink); margin: 0; }
.sh-h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; margin: 0; }
.sh-slogan { font-size: clamp(34px, 5.4vw, 64px); line-height: 1.16; letter-spacing: -0.035em; font-weight: 400; color: var(--sh-ink); margin: 0; }
.sh-slogan em { font-style: normal; font-weight: 750; background: linear-gradient(100deg, var(--sh-ruby) 0%, var(--sh-pink) 50%, var(--sh-lavender) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sh-lead { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; color: var(--sh-muted); margin: 0; }
.sh-label, .trd-section-kicker { display: inline-block; font-size: 12px; line-height: 1; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sh-ruby-ink); }
.sh-label--muted { color: var(--sh-soft); }
.sh-index { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--sh-soft); }
.sh-grad-text { background: linear-gradient(100deg, #B52A43, var(--sh-ruby) 35%, var(--sh-pink) 70%, var(--sh-lavender)); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: shGradShift 8s ease-in-out infinite alternate; }
@keyframes shGradShift { to { background-position: 100% 0; } }

/* ---------- Badge / chips ---------- */
.sh-badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--sh-glass); border: 1px solid var(--sh-glass-border); box-shadow: 0 4px 18px rgba(20, 20, 40, .05); backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); font-size: 14px; font-weight: 500; color: var(--sh-ink); }
.sh-badge b { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; background: var(--sh-lime); color: #4A5A00; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; line-height: 1; }
.sh-badge--dark { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #fff; }
.sh-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--sh-glass-border); background: rgba(255, 255, 255, .45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 2px 10px rgba(20, 20, 40, .04); font-size: 14px; font-weight: 500; color: var(--sh-ink); cursor: pointer; transition: transform .35s var(--sh-ease), background .3s, box-shadow .35s var(--sh-ease), border-color .3s; font-family: inherit; }
.sh-chip:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .8); box-shadow: 0 10px 24px rgba(20, 20, 40, .08); border-color: rgba(155, 28, 49, .25); }
.sh-chip:active { transform: translateY(0) scale(.97); }
.sh-tag { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(214, 237, 122, .35); color: #4A5A00; }
.sh-tag--cyan { background: rgba(56, 189, 248, .16); color: #0B5577; }
.sh-tag--orange { background: rgba(155, 28, 49, .12); color: var(--sh-ruby-ink); }

/* ---------- Buttons ---------- */
.sh-btn { --b-pad-y: 14px; --b-pad-x: 26px; position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: var(--b-pad-y) var(--b-pad-x); border-radius: 999px; border: 1px solid transparent; font: 600 15px/1.2 'Times New Roman', Times, serif; letter-spacing: -0.005em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .45s var(--sh-ease), box-shadow .45s var(--sh-ease), background-color .3s, border-color .3s, color .3s; will-change: transform; }
.sh-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.sh-btn:active { transform: translateY(0) scale(.97) !important; }
.sh-btn--sm { --b-pad-y: 10px; --b-pad-x: 20px; font-size: 14px; }
.sh-btn--lg { --b-pad-y: 18px; --b-pad-x: 34px; font-size: 17px; }
.sh-btn--primary { color: #fff; background: var(--sh-sunset); box-shadow: 0 10px 28px rgba(155, 28, 49, .28), inset 0 1px 0 rgba(255, 255, 255, .25); }
.sh-btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(155, 28, 49, .36), inset 0 1px 0 rgba(255, 255, 255, .3); color: #fff; }
.sh-btn--primary::after, .sh-btn--glass::after, .sh-btn--light::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--sh-ease); }
.sh-btn--primary:hover::after, .sh-btn--glass:hover::after, .sh-btn--light:hover::after { transform: translateX(120%); }
.sh-btn--glass { color: var(--sh-ink); background: rgba(255, 255, 255, .5); border-color: var(--sh-glass-border); box-shadow: 0 4px 16px rgba(20, 20, 40, .05); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.sh-btn--glass:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .85); box-shadow: 0 14px 30px rgba(20, 20, 40, .08); border-color: rgba(155, 28, 49, .22); }
.sh-btn--light { color: #fff; background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.sh-btn--light:hover { transform: translateY(-3px) scale(1.02); background: rgba(255, 255, 255, .26); color: #fff; }
.sh-btn--dark { color: #fff; background: #111118; }
.sh-btn--dark:hover { transform: translateY(-2px); background: #000; box-shadow: 0 14px 30px rgba(0, 0, 0, .18); color: #fff; }
.sh-btn-ico { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .65); color: var(--sh-ink); transition: transform .45s var(--sh-ease); }
.sh-btn-ico svg { width: 15px; height: 15px; }
.sh-btn:hover .sh-btn-ico { transform: translateX(3px) rotate(-8deg); }
.sh-btn--primary .sh-btn-ico { background: rgba(255, 255, 255, .28); color: #fff; }
.sh-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--sh-ruby-ink); text-decoration: none; transition: gap .35s var(--sh-ease), color .2s; }
.sh-link:hover { gap: 10px; color: #741321; }
.sh-link::after { content: "→"; transition: transform .35s var(--sh-ease); }

/* ---------- Header / floating pill navigation ---------- */
.sh-header { position: fixed; top: var(--sh-nav-top); left: 0; right: 0; z-index: 100; padding-inline: 2.5vw; pointer-events: none; transition: transform .55s var(--sh-ease), top .4s var(--sh-ease); }
.sh-header.is-hidden { transform: translateY(calc(-100% - var(--sh-nav-top) - 12px)); }
.sh-nav { pointer-events: auto; position: relative; max-width: 1280px; margin-inline: auto; min-height: var(--sh-nav-h); box-sizing: border-box; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 8px 10px 8px 18px; border-radius: 999px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .75); box-shadow: 0 8px 32px rgba(20, 20, 40, .06); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%); transition: background .4s, box-shadow .4s, border-color .4s; }
.sh-header.is-scrolled .sh-nav { background: rgba(255, 255, 255, .82); box-shadow: 0 12px 40px rgba(20, 20, 40, .10); border-color: rgba(255, 255, 255, .9); }
.sh-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--sh-ink); min-width: 0; }
.sh-brand-mark { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--sh-line); overflow: hidden; flex: 0 0 auto; transition: transform .6s var(--sh-ease); }
.sh-brand:hover .sh-brand-mark { transform: rotate(-10deg) scale(1.06); }
.sh-brand-mark img { width: 26px; height: 26px; object-fit: contain; }
.sh-brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.sh-brand-text strong { font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.sh-brand-text small { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sh-soft); margin-top: 3px; }
.sh-links { display: none; align-items: center; justify-content: center; gap: 2px; }
.sh-links .nav-item { position: relative; display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--sh-muted); text-decoration: none; white-space: nowrap; transition: color .25s, background .25s, transform .35s var(--sh-ease); }
.sh-links .nav-item:hover, .sh-links .nav-group:hover > .nav-item, .sh-links .nav-group:focus-within > .nav-item { color: var(--sh-ruby-ink); background: rgba(255, 255, 255, .7); }
.sh-links .nav-item[aria-current="page"], .sh-links .nav-item.is-active { color: var(--sh-ruby-ink); font-weight: 700; }
.sh-links .nav-item[aria-current="page"]::after, .sh-links .nav-item.is-active::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--sh-ruby); }
.sh-caret { width: 14px; height: 14px; transition: transform .35s var(--sh-ease); opacity: .7; }
.nav-group { position: relative; }
.nav-group:hover .sh-caret, .nav-group:focus-within .sh-caret { transform: rotate(180deg); }
.nav-dropdown { position: absolute; left: 50%; top: calc(100% + 14px); width: 340px; padding: 8px; border-radius: 22px; background: rgba(255, 255, 255, .88); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 24px 60px rgba(20, 20, 40, .14); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%); opacity: 0; visibility: hidden; transform: translate(-50%, 8px) scale(.98); transform-origin: top center; transition: opacity .3s var(--sh-ease), transform .4s var(--sh-ease), visibility .3s; z-index: 5; }
.nav-dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-group:hover .nav-dropdown, .nav-group:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.nav-dropdown a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 14px; font-size: 14px; font-weight: 500; color: var(--sh-ink); text-decoration: none; transition: background .2s, color .2s, padding .35s var(--sh-ease); }
.nav-dropdown a::after { content: "→"; opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .35s var(--sh-ease); color: var(--sh-ruby); }
.nav-dropdown a:hover { background: rgba(155, 28, 49, .07); color: var(--sh-ruby-ink); padding-left: 18px; }
.nav-dropdown a:hover::after { opacity: 1; transform: none; }
.sh-nav-actions { display: flex; align-items: center; gap: 8px; justify-self: end; }
.sh-icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid transparent; background: transparent; color: var(--sh-muted); cursor: pointer; transition: color .25s, background .25s, transform .4s var(--sh-ease); }
.sh-icon-btn:hover { color: var(--sh-ruby-ink); background: rgba(255, 255, 255, .8); transform: rotate(-8deg); }
.sh-icon-btn svg { width: 20px; height: 20px; }
.sh-burger { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--sh-glass-border); background: rgba(255, 255, 255, .6); cursor: pointer; }
.sh-burger span { display: block; position: relative; width: 18px; height: 2px; border-radius: 2px; background: var(--sh-ink); transition: background .2s; }
.sh-burger span::before, .sh-burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px; background: var(--sh-ink); transition: transform .45s var(--sh-ease); }
.sh-burger span::before { transform: translateY(-6px); }
.sh-burger span::after { transform: translateY(6px); }
.sh-burger[aria-expanded="true"] span { background: transparent; }
.sh-burger[aria-expanded="true"] span::before { transform: rotate(45deg); }
.sh-burger[aria-expanded="true"] span::after { transform: rotate(-45deg); }
.sh-nav-cta { display: none; }
.sh-mobile { pointer-events: auto; max-width: 1280px; margin: 10px auto 0; max-height: calc(100vh - 120px); overflow-y: auto; overscroll-behavior: contain; padding: 10px; border-radius: 26px; background: rgba(255, 255, 255, .92); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 24px 60px rgba(20, 20, 40, .14); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%); transform-origin: top center; animation: shMenuIn .45s var(--sh-ease); box-sizing: border-box; }
.sh-mobile.hidden { display: none; }
@keyframes shMenuIn { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.sh-mobile .mobile-link, .sh-mobile summary { display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 0 16px; border-radius: 16px; font-size: 16px; font-weight: 600; color: var(--sh-ink); text-decoration: none; cursor: pointer; list-style: none; transition: background .2s, color .2s; }
.sh-mobile summary::-webkit-details-marker { display: none; }
.sh-mobile summary::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--sh-soft); transition: transform .35s var(--sh-ease); }
.sh-mobile details[open] summary::after { transform: rotate(45deg); color: var(--sh-ruby); }
.sh-mobile .mobile-link:hover, .sh-mobile summary:hover { background: rgba(155, 28, 49, .07); color: var(--sh-ruby-ink); }
.sh-mobile details { border-top: 1px solid var(--sh-line); }
.sh-mobile details > a { display: block; padding: 11px 16px 11px 28px; border-radius: 14px; font-size: 15px; color: var(--sh-muted); text-decoration: none; transition: background .2s, color .2s; }
.sh-mobile details > a:hover { background: rgba(155, 28, 49, .06); color: var(--sh-ruby-ink); }
.sh-mobile details[open] > a { animation: shFadeUp .4s var(--sh-ease) both; }
.sh-mobile .sh-btn { width: 100%; margin-top: 8px; }
@media (min-width: 1180px) {
  .sh-links { display: flex; }
  .sh-burger { display: none; }
  .sh-nav-cta { display: inline-flex; }
  .sh-mobile { display: none !important; }
}
@media (min-width: 640px) and (max-width: 1179px) { .sh-nav-cta { display: inline-flex; } }
@media (max-width: 420px) { .sh-brand-text small { display: none; } .sh-nav { padding-left: 12px; } }

/* ---------- Page hero (inner pages) ---------- */
.sh-reactive { --mx: 50%; --my: 40%; }
.sh-pagehero { position: relative; isolation: isolate; text-align: center; padding: calc(var(--sh-nav-h) + var(--sh-nav-top) + clamp(56px, 8vw, 104px)) var(--sh-gutter) clamp(48px, 6vw, 80px); overflow: hidden; }
.sh-pagehero .sh-glow, .sh-hero .sh-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at var(--mx) var(--my), rgba(45, 212, 191, .16) 0%, rgba(99, 102, 241, .12) 30%, rgba(168, 85, 247, .08) 55%, transparent 78%), linear-gradient(180deg, rgba(255, 255, 255, 0) 60%, #fff 100%); transition: background .4s var(--sh-ease-soft); }
.sh-pagehero .sh-badge { margin-bottom: 28px; }
.sh-pagehero .sh-display { max-width: 900px; margin-inline: auto; }
.sh-pagehero .sh-lead { max-width: 680px; margin: 22px auto 0; }
.sh-hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 36px; }

/* ---------- Glass cards ---------- */
.sh-card { position: relative; isolation: isolate; border-radius: var(--sh-radius-lg); background: var(--sh-glass); border: 1px solid var(--sh-glass-border); box-shadow: var(--sh-shadow); backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%); padding: clamp(24px, 3vw, 40px); box-sizing: border-box; transition: transform .6s var(--sh-ease), box-shadow .6s var(--sh-ease), border-color .4s, background .4s; }
.sh-card--hover:hover, a.sh-card:hover { transform: translateY(-6px); box-shadow: var(--sh-shadow-lg); border-color: rgba(255, 255, 255, .95); background: rgba(255, 255, 255, .78); }
a.sh-card { display: block; color: inherit; text-decoration: none; }
.sh-card::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(420px circle at var(--cx, 50%) var(--cy, 0%), rgba(155, 28, 49, .09), transparent 60%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.sh-card:hover::before { opacity: 1; }
.sh-card--tint-cyan { background: linear-gradient(180deg, rgba(56, 189, 248, .10), rgba(255, 255, 255, .55) 70%); }
.sh-card--tint-lavender { background: linear-gradient(180deg, rgba(192, 132, 252, .12), rgba(255, 255, 255, .55) 70%); }
.sh-card--tint-peach { background: linear-gradient(180deg, rgba(255, 154, 158, .14), rgba(255, 255, 255, .55) 70%); }
.sh-card--tint-gold { background: linear-gradient(180deg, rgba(255, 209, 102, .16), rgba(255, 255, 255, .55) 70%); }
.sh-card-num { text-transform: uppercase; display: inline-grid; place-items: center; min-width: 44px; height: 30px; padding: 0 10px; border-radius: 999px; background: rgba(155, 28, 49, .1); color: var(--sh-ruby-ink); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.sh-card h2, .sh-card h3 { color: var(--sh-ink); }
.sh-card p { color: var(--sh-muted); }

/* Sunset feature panel with glass "log" inside (template feature 02) */
.sh-sunset { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--sh-radius-lg); background: var(--sh-sunset-wide); color: #fff; padding: clamp(24px, 3vw, 40px); box-shadow: 0 24px 60px rgba(23, 59, 104, .22); box-sizing: border-box; }
.sh-sunset::after { content: ""; position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg at 50% 50%, rgba(255, 209, 102, .35), transparent 30%, rgba(192, 132, 252, .35) 60%, transparent 80%, rgba(255, 209, 102, .35)); animation: shSpin 18s linear infinite; opacity: .6; }
@keyframes shSpin { to { transform: rotate(1turn); } }
.sh-sunset h2, .sh-sunset h3 { color: #fff; }
.sh-log { border-radius: 20px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 8px 32px rgba(0, 0, 0, .08); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 22px 24px; color: var(--sh-ink); }
.sh-log-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .7); font-weight: 700; font-size: 17px; color: var(--sh-ink); }
.sh-log-head svg { width: 20px; height: 20px; color: var(--sh-ruby); }
.sh-log p { color: #3F3F48; margin: 0; line-height: 1.6; }
.sh-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sh-checks li { display: flex; align-items: flex-start; gap: 12px; color: #3F3F48; font-weight: 500; line-height: 1.5; }
.sh-checks li::before { content: ""; flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: #556500 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.sh-checks li.is-pending { opacity: .55; }
.sh-checks li.is-pending::before { background: none; border: 2px solid var(--sh-soft); border-top-color: transparent; animation: shSpin 1.1s linear infinite; box-sizing: border-box; }

/* Feature split card (template feature 01/02) */
.sh-feature { display: grid; grid-template-columns: 1fr; overflow: hidden; padding: 0 !important; }
.sh-feature > .sh-feature-copy { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.sh-feature > .sh-feature-art { position: relative; min-height: 300px; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .6); }
@media (min-width: 900px) { .sh-feature { grid-template-columns: 1fr 1fr; } .sh-feature > .sh-feature-art { border-top: 0; border-left: 1px solid rgba(255, 255, 255, .6); min-height: 100%; } }

/* ---------- Visual / image hero card ---------- */
.sh-visual, .trd-page-visual, .trd-industry-hero { position: relative; display: block; overflow: hidden; margin: 0 auto; width: 100%; height: clamp(240px, 34vw, 460px); border-radius: var(--sh-radius-xl); background: #1E1B4B; box-shadow: 0 30px 80px rgba(30, 27, 75, .18); isolation: isolate; }
.sh-visual > img, .trd-page-visual > img, .trd-industry-hero > img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; object-position: center; transform: translate3d(0, var(--py, 0px), 0) scale(1.04); transition: transform .2s linear, filter .8s; will-change: transform; }
.sh-visual::after, .trd-page-visual::after, .trd-industry-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 12, 40, .55) 0%, rgba(14, 12, 40, 0) 55%); pointer-events: none; }
.trd-page-visual-overlay, .sh-visual-cap { position: absolute; left: clamp(16px, 2.5vw, 28px); bottom: clamp(16px, 2.5vw, 28px); right: auto; z-index: 2; display: flex; flex-direction: column; gap: 6px; max-width: min(560px, calc(100% - 32px)); padding: 16px 22px; border-radius: 22px; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .38); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); color: #fff; box-sizing: border-box; }
.trd-page-visual-overlay span, .sh-visual-cap span { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.trd-page-visual-overlay strong, .sh-visual-cap strong { font-size: clamp(18px, 2.2vw, 26px); line-height: 1.2; font-weight: 750; letter-spacing: -.025em; color: #fff; }

/* ---------- Final CTA + footer (template sections 8 + footer) ---------- */
.sh-cta { position: relative; isolation: isolate; overflow: hidden; color: #fff; margin-top: clamp(40px, 6vw, 80px); }
.sh-cta-bg { position: absolute; inset: 0; z-index: -2; background: radial-gradient(circle at var(--mx, 50%) var(--my, 40%), #3B3593 0%, #312E81 22%, #1E1B4B 52%, #134E4A 100%); transition: background .6s var(--sh-ease-soft); }
.sh-cta-bg::before, .sh-cta-bg::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.sh-cta-bg::before { width: 40vw; height: 40vw; left: -10vw; top: -10vw; background: rgba(56, 189, 248, .35); animation: shDrift1 22s ease-in-out infinite alternate; }
.sh-cta-bg::after { width: 36vw; height: 36vw; right: -8vw; bottom: -12vw; background: rgba(155, 28, 49, .32); animation: shDrift2 26s ease-in-out infinite alternate; }
.sh-cta-grain { position: absolute; inset: 0; z-index: -1; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.sh-cta-inner { min-height: min(72vh, 640px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: clamp(96px, 12vw, 150px) var(--sh-gutter) clamp(72px, 9vw, 110px); box-sizing: border-box; }
.sh-cta-inner h2 { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.08; letter-spacing: -.04em; font-weight: 800; max-width: 820px; margin: 22px 0 0; color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, .15); }
.sh-cta-inner > p { max-width: 600px; margin: 18px 0 0; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.65; color: rgba(255, 255, 255, .78); }
.sh-cta-inner .sh-hero-actions { margin-top: 40px; }
.sh-footer { position: relative; color: rgba(255, 255, 255, .72); font-size: 14px; }
.sh-footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; padding-block: 56px 40px; border-top: 1px solid rgba(255, 255, 255, .14); }
@media (min-width: 720px) { .sh-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .sh-footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; } }
.sh-footer h2 { margin: 0 0 16px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.sh-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sh-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; transition: color .2s, padding .35s var(--sh-ease); }
.sh-footer ul a:hover { color: #fff; padding-left: 4px; }
.sh-footer p { margin: 0; line-height: 1.65; }
.sh-footer .sh-brand { color: #fff; margin-bottom: 16px; }
.sh-footer .sh-brand-text small { color: rgba(255, 255, 255, .55); }
.sh-footer .sh-mail { display: inline-flex; margin-top: 10px; font-weight: 700; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .35); padding-bottom: 2px; }
.sh-footer .sh-mail:hover { border-color: var(--sh-ruby); }
.sh-footer-small { font-size: 12.5px; color: rgba(255, 255, 255, .55); margin-top: 14px !important; }
.sh-footer-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 22px 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .55); }
.sh-footer-bar nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.sh-footer-bar nav a:hover { color: #fff; }

/* ---------- Back to top / assistant float / lightbox ---------- */
.trd-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--sh-glass-border); background: rgba(255, 255, 255, .7); color: var(--sh-ink); font-size: 18px; font-weight: 700; cursor: pointer; box-shadow: 0 10px 30px rgba(20, 20, 40, .12); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .4s var(--sh-ease), transform .5s var(--sh-ease), background .2s, color .2s; }
.trd-top.show { opacity: 1; transform: none; pointer-events: auto; }
.trd-top:hover { background: var(--sh-ruby); color: #fff; transform: translateY(-3px); }
.trd-top svg { width: 20px; height: 20px; }
.trd-lb { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(14, 12, 40, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; visibility: hidden; transition: opacity .35s var(--sh-ease), visibility .35s; cursor: zoom-out; }
.trd-lb.open { opacity: 1; visibility: visible; }
.trd-lb img { max-width: min(92vw, 1400px); max-height: 82vh; object-fit: contain; border-radius: 24px; box-shadow: 0 40px 100px rgba(0, 0, 0, .4); transform: scale(.94) translateY(10px); transition: transform .55s var(--sh-ease); }
.trd-lb.open img { transform: none; }
.trd-lb span { position: absolute; left: 20px; right: 20px; bottom: 22px; text-align: center; color: #fff; font-size: 14px; font-weight: 500; }
.trd-lb-close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .14); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; transition: background .2s, transform .4s var(--sh-ease); }
.trd-lb-close:hover { background: rgba(255, 255, 255, .28); transform: rotate(90deg); }
.trd-image-unavailable { visibility: hidden; }

/* ---------- Shared TRD components (homepage + rich pages) ---------- */
.trd-wrap { max-width: calc(var(--sh-container) + var(--sh-gutter) * 2); margin-inline: auto; padding-inline: var(--sh-gutter); box-sizing: border-box; }
.trd-sec { position: relative; padding-block: clamp(64px, 8vw, 110px); }
.trd-sec h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 750; letter-spacing: -.035em; line-height: 1.1; margin: 14px 0 12px; color: var(--sh-ink); }
.trd-sec p.lead { color: var(--sh-muted); max-width: 640px; font-size: 18px; line-height: 1.65; margin: 0; }
.trd-noise { position: relative; }

.trd-stat { position: relative; overflow: hidden; border-radius: var(--sh-radius); padding: 22px 24px; background: var(--sh-glass); border: 1px solid var(--sh-glass-border); box-shadow: var(--sh-shadow); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); transition: transform .6s var(--sh-ease), box-shadow .6s var(--sh-ease); }
.trd-stat:hover { transform: translateY(-4px); box-shadow: var(--sh-shadow-lg); }
.trd-stat::after { content: ""; position: absolute; width: 120px; height: 120px; right: -50px; top: -50px; border-radius: 50%; background: radial-gradient(circle, rgba(56, 189, 248, .25), transparent 70%); }
.trd-stat:nth-child(2)::after { background: radial-gradient(circle, rgba(192, 132, 252, .28), transparent 70%); }
.trd-stat:nth-child(3)::after { background: radial-gradient(circle, rgba(255, 154, 158, .3), transparent 70%); }
.trd-stat:nth-child(4)::after { background: radial-gradient(circle, rgba(255, 209, 102, .35), transparent 70%); }
.trd-stat .text-2xl { font-size: 40px !important; line-height: 1.1; font-weight: 800 !important; letter-spacing: -.04em; }

.trd-marquee-wrap { position: relative; overflow: hidden; padding-block: 6px; border-block: 1px solid var(--sh-line); background: rgba(255, 255, 255, .5); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.trd-marquee { display: flex; width: max-content; animation: shMarquee 46s linear infinite; }
.trd-marquee-wrap:hover .trd-marquee { animation-play-state: paused; }
@keyframes shMarquee { to { transform: translateX(-50%); } }
.trd-chip { white-space: nowrap; display: inline-flex; align-items: center; padding: 12px 22px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sh-muted); }
.trd-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; margin-right: 12px; background: var(--sh-ruby); box-shadow: 0 0 0 4px rgba(155, 28, 49, .12); }
.trd-chip:nth-child(3n+2)::before { background: var(--sh-cyan); box-shadow: 0 0 0 4px rgba(56, 189, 248, .14); }
.trd-chip:nth-child(3n)::before { background: var(--sh-lavender); box-shadow: 0 0 0 4px rgba(192, 132, 252, .14); }

.trd-img-strip { display: grid; grid-template-columns: 1.3fr .85fr .85fr; gap: 16px; height: clamp(240px, 30vw, 400px); }
.trd-img-strip > div { position: relative; min-width: 0; overflow: hidden; border-radius: var(--sh-radius-lg); box-shadow: var(--sh-shadow); }
.trd-img-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--sh-ease), filter .6s; }
.trd-img-strip > div:hover img { transform: scale(1.06); filter: saturate(1.1); }
.trd-img-strip > div > span, .trd-img-strip > div > div { z-index: 2; }

.trd-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 16px; margin-top: 40px; }
.trd-mosaic figure { position: relative; overflow: hidden; margin: 0; border-radius: var(--sh-radius-lg); cursor: zoom-in; box-shadow: var(--sh-shadow); background: #ECECF1; }
.trd-mosaic figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.trd-mosaic figure:nth-child(4) { grid-row: span 2; }
.trd-mosaic figure:nth-child(5) { grid-column: span 2; }
.trd-mosaic figure:nth-child(6) { grid-row: span 2; }
.trd-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--sh-ease), filter .6s; }
.trd-mosaic figure:hover img { transform: scale(1.08); filter: saturate(1.12); }
.trd-mosaic figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 14px; border-radius: 14px; color: #fff; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; transform: translateY(12px); transition: opacity .4s var(--sh-ease), transform .5s var(--sh-ease); }
.trd-mosaic figure:hover figcaption, .trd-mosaic figure:focus-visible figcaption { opacity: 1; transform: none; }

.trd-gw { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; margin-top: 40px; align-items: stretch; }
.trd-gw-list { display: flex; flex-direction: column; gap: 10px; }
.trd-gw-btn { position: relative; overflow: hidden; display: block; width: 100%; text-align: left; padding: 16px 20px; border-radius: 20px; border: 1px solid var(--sh-glass-border); background: var(--sh-glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 2px 10px rgba(20, 20, 40, .04); cursor: pointer; font: inherit; color: inherit; transition: transform .5s var(--sh-ease), box-shadow .5s var(--sh-ease), background .3s, border-color .3s; }
.trd-gw-btn::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 3px; border-radius: 3px; background: var(--sh-sunset); transform: scaleY(0); transition: transform .45s var(--sh-ease); }
.trd-gw-btn b { display: block; font-size: 16px; font-weight: 700; color: var(--sh-ink); margin-top: 4px; }
.trd-gw-btn small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sh-soft); }
.trd-gw-btn:hover { transform: translateX(4px); background: rgba(255, 255, 255, .8); box-shadow: 0 10px 26px rgba(20, 20, 40, .07); }
.trd-gw-btn.active { background: #fff; border-color: rgba(155, 28, 49, .28); box-shadow: 0 14px 34px rgba(155, 28, 49, .12); transform: translateX(8px); }
.trd-gw-btn.active::before { transform: scaleY(1); }
.trd-gw-btn.active small { color: var(--sh-ruby-ink); }
.trd-gw-stage { position: relative; min-height: 440px; border-radius: var(--sh-radius-xl); overflow: hidden; background: #1E1B4B; box-shadow: var(--sh-shadow-lg); }
.trd-gw-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--sh-ease), transform 1.4s var(--sh-ease); }
.trd-gw-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 12, 40, .78), rgba(14, 12, 40, 0) 60%); }
.trd-gw-stage.swap > img { opacity: 0; transform: scale(1.06); }
.trd-gw-info { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 3; padding: 22px 24px; border-radius: 22px; color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .32); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); transition: opacity .45s var(--sh-ease), transform .55s var(--sh-ease); }
.trd-gw-stage.swap .trd-gw-info { opacity: 0; transform: translateY(14px); }
.trd-gw-info h3 { font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin: 0 0 8px; color: #fff; }
.trd-gw-info p { color: rgba(255, 255, 255, .85); max-width: 560px; line-height: 1.6; margin: 0 0 14px; }
.trd-gw-info .t { display: inline-block; margin: 0 6px 6px 0; padding: 5px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); color: #fff; }

.trd-industry-card-image { display: block; width: 100%; height: 190px; object-fit: cover; border-radius: 20px; margin: 0 0 20px; transition: transform .9s var(--sh-ease), filter .6s; }
a:hover .trd-industry-card-image { transform: scale(1.03); filter: saturate(1.1); }
.trd-svg-icon, .trd-inline-icon { display: inline-block; flex: 0 0 auto; vertical-align: middle; }
.trd-user-message { margin-left: auto; }

/* ---------- Forms (glassy pill inputs) ---------- */
body.sh input[type="text"], body.sh input[type="email"], body.sh input[type="tel"], body.sh input[type="number"], body.sh input[type="search"], body.sh input[type="url"], body.sh select, body.sh textarea { font-family: inherit; }
.sh-field, body.sh main input[type="text"]:not(.sh-bare), body.sh main input[type="email"]:not(.sh-bare), body.sh main input[type="tel"]:not(.sh-bare), body.sh main input[type="number"]:not(.sh-bare), body.sh main input[type="search"]:not(.sh-bare), body.sh main select:not(.sh-bare), body.sh main textarea:not(.sh-bare) { width: 100%; box-sizing: border-box; min-height: 48px; padding: 12px 18px; border-radius: 16px; border: 1px solid var(--sh-line-strong); background: rgba(255, 255, 255, .75); color: var(--sh-ink); font-size: 15px; line-height: 1.4; box-shadow: inset 0 1px 2px rgba(20, 20, 40, .03); transition: border-color .25s, box-shadow .35s var(--sh-ease), background .25s; outline: none; }
body.sh main textarea:not(.sh-bare) { min-height: 110px; resize: vertical; }
body.sh main input:not(.sh-bare):hover, body.sh main select:not(.sh-bare):hover, body.sh main textarea:not(.sh-bare):hover { border-color: rgba(20, 20, 40, .24); }
body.sh main input:not(.sh-bare):focus, body.sh main select:not(.sh-bare):focus, body.sh main textarea:not(.sh-bare):focus { border-color: rgba(155, 28, 49, .6); background: #fff; box-shadow: 0 0 0 4px rgba(155, 28, 49, .14); }
body.sh main ::placeholder { color: #9B9BA6; opacity: 1; }
body.sh main input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--sh-ruby); cursor: pointer; }
body.sh main label { color: var(--sh-ink); }

/* ---------- Motion system ---------- */
.sh-js [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--sh-ease), transform 1.1s var(--sh-ease), filter .9s var(--sh-ease); transition-delay: var(--d, 0ms); }
.sh-js [data-reveal="fade"] { transform: none; }
.sh-js [data-reveal="scale"] { transform: scale(.94); }
.sh-js [data-reveal="left"] { transform: translate3d(-36px, 0, 0); }
.sh-js [data-reveal="right"] { transform: translate3d(36px, 0, 0); }
.sh-js [data-reveal="blur"] { filter: blur(12px); transform: translate3d(0, 16px, 0); }
.sh-js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.sh-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.sh-split .w > span { display: inline-block; transform: translate3d(0, 105%, 0); transition: transform 1s var(--sh-ease); transition-delay: calc(var(--i, 0) * 45ms + var(--d, 0ms)); }
.sh-split.is-in .w > span { transform: none; }
.sh-words .w { opacity: .14; transition: opacity .5s ease; }
.sh-words .w.on { opacity: 1; }
@keyframes shFadeUp { from { opacity: 0; transform: translateY(14px); } }
@keyframes shFloat { 50% { transform: translateY(-10px); } }
.sh-float { animation: shFloat 7s ease-in-out infinite; }
.sh-tilt { transform-style: preserve-3d; transition: transform .6s var(--sh-ease); }
.sh-hero-in > * { animation: shFadeUp 1s var(--sh-ease) both; }
.sh-hero-in > *:nth-child(2) { animation-delay: .08s; }
.sh-hero-in > *:nth-child(3) { animation-delay: .16s; }
.sh-hero-in > *:nth-child(4) { animation-delay: .24s; }
.sh-hero-in > *:nth-child(5) { animation-delay: .32s; }
.sh-hero-in > *:nth-child(6) { animation-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .sh-js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .sh-split .w > span { transform: none; }
  .sh-words .w { opacity: 1; }
  .trd-marquee { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .trd-gw { grid-template-columns: 1fr; }
  .trd-gw-stage { min-height: 380px; }
  .trd-gw-btn.active, .trd-gw-btn:hover { transform: none; }
}
@media (max-width: 767px) {
  .trd-img-strip { grid-template-columns: 1fr 1fr; height: auto; }
  .trd-img-strip > div { height: 200px; }
  .trd-img-strip > div:first-child { grid-column: span 2; height: 240px; }
  .trd-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
  .trd-mosaic figure:nth-child(n) { grid-column: auto; grid-row: auto; }
  .trd-mosaic figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .trd-mosaic figcaption { opacity: 1; transform: none; font-size: 12px; }
  .trd-gw-info { left: 12px; right: 12px; bottom: 12px; padding: 16px 18px; }
  .trd-gw-info h3 { font-size: 21px; }
  .sh-visual, .trd-page-visual, .trd-industry-hero { border-radius: 24px; }
  .trd-top { right: 16px; bottom: 16px; }
}
@media print {
  .sh-header, .sh-atmos, .sh-progress, .trd-top, .sh-cta-bg, .trd-marquee-wrap { display: none !important; }
  .sh-cta, .sh-footer { color: #000; }
  .sh-js [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---------- Inner-page building blocks ---------- */
.sh-main { display: block; position: relative; }
.sh-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; margin-bottom: clamp(28px, 4vw, 48px); }
.sh-head .sh-h2 { margin-top: 14px; max-width: 720px; }
.sh-head > .sh-lead { max-width: 440px; font-size: 16px; }
.sh-head--center { flex-direction: column; align-items: center; text-align: center; }
.sh-head--center > .sh-lead { max-width: 620px; }
.sh-grid { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: 1fr; }
@media (min-width: 640px) { .sh-grid-2, .sh-grid-3, .sh-grid-4, .sh-grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .sh-grid-3, .sh-grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sh-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sh-label--light { color: rgba(255, 255, 255, .85); }
.sh-mt { margin-top: 32px; }
.sh-h3--sm { font-size: clamp(19px, 1.8vw, 22px); }
.sh-feature-copy .sh-label { margin: 14px 0 12px; }
.sh-feature-copy .sh-index + .sh-label { margin-top: 18px; }
.sh-feature-copy .sh-h3 { margin-bottom: 14px; }
.sh-feature-copy .sh-lead { font-size: 16.5px; }
.sh-feature-copy > .sh-btn { align-self: flex-start; margin-top: 28px; }
.sh-sunset-art { display: flex; align-items: center; justify-content: center; padding: clamp(28px, 4vw, 56px); background: var(--sh-sunset-wide); isolation: isolate; overflow: hidden; }
.sh-sunset-art::after { content: ""; position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg, rgba(255, 209, 102, .4), transparent 30%, rgba(192, 132, 252, .4) 60%, transparent 80%, rgba(255, 209, 102, .4)); animation: shSpin 20s linear infinite; opacity: .55; }
.sh-sunset-art .sh-log { width: min(100%, 440px); }
.sh-log-btn { margin-top: 18px; }
.sh-checks a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(20, 20, 40, .18); transition: color .2s, border-color .2s; }
.sh-checks a:hover { color: var(--sh-ruby-ink); border-color: var(--sh-ruby); }

.sh-step { display: flex; flex-direction: column; gap: 14px; padding: 26px 26px 28px; border-radius: 24px; }
.sh-step .sh-card-num { align-self: flex-start; }
.sh-step-title { margin: 0; font-size: 17px; line-height: 1.45; font-weight: 650; color: var(--sh-ink) !important; letter-spacing: -.01em; }
.sh-step p:not(.sh-step-title) { margin: 0; font-size: 15px; line-height: 1.6; }
.sh-steps { position: relative; counter-reset: step; }
@media (min-width: 1024px) {
  .sh-steps.sh-grid-4::before { content: ""; position: absolute; left: 26px; right: 26px; top: 41px; height: 2px; z-index: -1; background: linear-gradient(90deg, var(--sh-cyan), var(--sh-lavender), var(--sh-ruby)); opacity: .35; border-radius: 2px; }
}
.sh-dircard { display: flex !important; flex-direction: column; gap: 12px; }
.sh-dircard .trd-industry-card-image { margin: -6px -6px 6px; width: calc(100% + 12px); max-width: none; height: 200px; }
.sh-dircard .sh-card-num { align-self: flex-start; }
.sh-dircard p { margin: 0; flex: 1; font-size: 15.5px; line-height: 1.6; }
.sh-dircard .sh-link { margin-top: 6px; }
.sh-dircard:hover .sh-link { gap: 10px; }
.sh-sunset--cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; padding: clamp(32px, 5vw, 64px); border-radius: var(--sh-radius-xl); }
.sh-sunset--cta > div { max-width: 640px; }
.sh-sunset--cta .sh-h2 { color: #fff; margin: 14px 0 12px; font-size: clamp(28px, 3.4vw, 40px); }
.sh-sunset--cta p { margin: 0; color: rgba(255, 255, 255, .9); font-size: 17px; line-height: 1.65; }
.sh-note { display: flex; gap: 12px; align-items: flex-start; max-width: 880px; margin: clamp(24px, 4vw, 48px) auto 0; padding: 16px 22px; border-radius: 20px; background: rgba(255, 255, 255, .55); border: 1px solid var(--sh-glass-border); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: var(--sh-muted); font-size: 14px; line-height: 1.6; }
.sh-note svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--sh-ruby); margin-top: 1px; }

/* ---------- Homepage hero (template section 1) ---------- */
.sh-hero { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: calc(var(--sh-nav-h) + var(--sh-nav-top) + clamp(64px, 9vw, 120px)) 0 clamp(64px, 8vw, 110px); }
.sh-hero .sh-glow { mask-image: linear-gradient(#000 70%, transparent); -webkit-mask-image: linear-gradient(#000 70%, transparent); background: radial-gradient(circle at var(--mx) var(--my), rgba(45, 212, 191, .18) 0%, rgba(99, 102, 241, .14) 32%, rgba(168, 85, 247, .09) 58%, transparent 80%); }
.sh-pagehero .sh-glow { background: radial-gradient(circle at var(--mx) var(--my), rgba(45, 212, 191, .16) 0%, rgba(99, 102, 241, .12) 30%, rgba(168, 85, 247, .08) 55%, transparent 78%); mask-image: linear-gradient(#000 60%, transparent); -webkit-mask-image: linear-gradient(#000 60%, transparent); }
.sh-hero-in { display: flex; flex-direction: column; align-items: center; }
.sh-hero .sh-badge { margin-bottom: 32px; }
.sh-hero-title { max-width: 980px; font-size: clamp(44px, 7.4vw, 92px); }
.sh-hero-lead { max-width: 680px; margin-top: 24px; }
.sh-prompt { width: 100%; max-width: 870px; margin-top: 48px; box-sizing: border-box; text-align: left; padding: 22px 22px 16px 26px; border-radius: 30px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 8px 32px rgba(20, 20, 40, .05), 0 30px 80px -30px rgba(99, 102, 241, .25); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%); transition: box-shadow .5s var(--sh-ease), border-color .3s, transform .5s var(--sh-ease); }
.sh-prompt:focus-within { border-color: rgba(155, 28, 49, .35); box-shadow: 0 0 0 5px rgba(155, 28, 49, .10), 0 30px 80px -30px rgba(155, 28, 49, .35); transform: translateY(-2px); }
.sh-prompt textarea { display: block; width: 100%; min-height: 64px; max-height: 220px; resize: none; border: 0; outline: 0; background: transparent; padding: 0; font: 400 18px/1.6 'Times New Roman', Times, serif; color: var(--sh-ink); box-shadow: none !important; }
.sh-prompt textarea::placeholder { color: #9B9BA6; }
.sh-prompt-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 14px; border-top: 1px solid rgba(20, 20, 40, .06); }
.sh-prompt-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-width: 0; }
.sh-prompt-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 2px 8px rgba(20, 20, 40, .04); font-size: 14px; font-weight: 600; color: var(--sh-muted); }
.sh-prompt-pill svg { width: 18px; height: 18px; color: var(--sh-ruby); animation: shSpin 10s linear infinite; }
.sh-prompt-note { font-size: 12.5px; color: var(--sh-soft); }
.sh-prompt-send { flex: 0 0 auto; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; background: var(--sh-sunset); box-shadow: 0 10px 24px rgba(155, 28, 49, .3); transition: transform .45s var(--sh-ease), box-shadow .45s var(--sh-ease); }
.sh-prompt-send svg { width: 20px; height: 20px; }
.sh-prompt-send:hover { transform: translateY(-2px) rotate(-6deg); box-shadow: 0 16px 32px rgba(155, 28, 49, .38); }
.sh-prompt-send:active { transform: scale(.94); }
.sh-shake { animation: shShake .45s var(--sh-ease); }
@keyframes shShake { 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(2px); } }
.sh-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.sh-chips .sh-chip { text-decoration: none; }
.sh-hero-actions--split { margin-top: 30px; }
.sh-caps { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: clamp(56px, 8vw, 96px); text-align: left; }
@media (min-width: 640px) { .sh-caps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sh-caps { grid-template-columns: repeat(4, 1fr); } }
.sh-cap { display: flex !important; flex-direction: column; gap: 8px; padding: 24px 24px 26px; border-radius: 24px; }
.sh-cap strong { font-size: 22px; font-weight: 750; letter-spacing: -.02em; color: var(--sh-ink); margin-top: 6px; }
.sh-cap > span:last-child { font-size: 14.5px; line-height: 1.55; color: var(--sh-muted); }
.sh-cap .sh-label { font-size: 11px; }
.sh-hero .sh-caps > * { animation: shFadeUp 1.1s var(--sh-ease) both; animation-delay: calc(.5s + var(--n, 0) * 90ms); }
.sh-hero .sh-caps > *:nth-child(2) { --n: 1; } .sh-hero .sh-caps > *:nth-child(3) { --n: 2; } .sh-hero .sh-caps > *:nth-child(4) { --n: 3; }

/* Slogan (template section 2) */
.sh-slogan-sec { min-height: min(56vh, 560px); display: flex; align-items: center; text-align: center; }

/* FAQ (template section 7) */
.sh-faq-grid { display: grid; grid-template-columns: 1fr; gap: 40px 72px; }
@media (min-width: 1024px) { .sh-faq-grid { grid-template-columns: 5fr 7fr; } .sh-faq-side { position: sticky; top: 130px; align-self: start; } }
.sh-faq-title { font-size: clamp(36px, 5vw, 60px) !important; line-height: 1.05; margin: 14px 0 16px !important; }
.sh-faq-side .sh-lead { margin-bottom: 26px; max-width: 420px; }
.sh-faq-list { border-top: 1px solid var(--sh-line); }
.sh-faq-item { border-bottom: 1px solid var(--sh-line); }
.sh-faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 4px; cursor: pointer; font-size: clamp(17px, 1.6vw, 20px); font-weight: 650; letter-spacing: -.01em; color: var(--sh-ink); transition: color .25s, padding .45s var(--sh-ease); }
.sh-faq-item summary::-webkit-details-marker { display: none; }
.sh-faq-item summary:hover { color: var(--sh-ruby-ink); padding-left: 10px; }
.sh-faq-item summary i { position: relative; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--sh-line-strong); background: rgba(255, 255, 255, .6); transition: transform .5s var(--sh-ease), background .3s, border-color .3s; }
.sh-faq-item summary i::before, .sh-faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: currentColor; transition: transform .45s var(--sh-ease); }
.sh-faq-item summary i::after { transform: rotate(90deg); }
.sh-faq-item[open] summary i { transform: rotate(180deg); background: var(--sh-ruby); border-color: var(--sh-ruby); color: #fff; }
.sh-faq-item[open] summary i::after { transform: rotate(0deg); }
.sh-faq-body { overflow: hidden; }
.sh-faq-body p { margin: 0; padding: 0 56px 26px 4px; color: var(--sh-muted); font-size: 16.5px; line-height: 1.7; }
.sh-inline-link { color: var(--sh-ruby-ink); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Rich pages (home, contact, estimator, insights, checklist) ---------- */
.sh-rich { padding-top: 0 !important; background: transparent !important; }
.sh-rich [class*="max-w-[1440px]"] { max-width: calc(var(--sh-container) + var(--sh-gutter) * 2) !important; padding-left: var(--sh-gutter) !important; padding-right: var(--sh-gutter) !important; }
.sh-rich section.bg-surface, .sh-rich section.bg-surface-container-low, .sh-rich section.bg-surface-container-lowest { background: transparent !important; }
.sh-rich section.py-space-xl { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.sh-rich h2.font-headline-lg { font-size: clamp(30px, 4.2vw, 48px) !important; line-height: 1.1 !important; letter-spacing: -.035em !important; font-weight: 750 !important; }
.sh-rich h2.font-headline-lg + * { margin-top: 0; }
.sh-rich .font-code-data.text-code-data-sm.uppercase, .sh-rich span.font-code-data-sm.uppercase { letter-spacing: .12em; }
.sh-rich .text-tertiary.uppercase.font-bold, .sh-rich .text-primary.uppercase.font-bold { color: var(--sh-ruby-ink) !important; font-size: 12px; }
/* white panels become glass */
.sh-rich .rounded-xl.bg-surface-container-lowest, .sh-rich .rounded-2xl.bg-white, .sh-rich article.bg-white, .sh-rich .rounded-xl.bg-white, .sh-rich .rounded-3xl.bg-white,
.sh-rich .rounded-xl.bg-surface-container-low:not(input), .sh-rich .bg-surface-container-lowest.shadow-md, .sh-rich .bg-surface-container-lowest.shadow-xl {
  background: var(--sh-glass) !important; border: 1px solid var(--sh-glass-border) !important; box-shadow: var(--sh-shadow) !important;
  backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%); border-radius: 24px !important; }
.sh-rich article.bg-white, .sh-rich .service-card { transition: transform .6s var(--sh-ease), box-shadow .6s var(--sh-ease), background .4s !important; }
.sh-rich article.bg-white:hover, .sh-rich .service-card:hover { transform: translateY(-6px); box-shadow: var(--sh-shadow-lg) !important; background: rgba(255, 255, 255, .8) !important; }
.sh-rich .rounded-lg.bg-surface-container-low, .sh-rich .rounded-lg.bg-surface-container-lowest { background: rgba(255, 255, 255, .6) !important; border: 1px solid rgba(255, 255, 255, .7); border-radius: 16px !important; }
/* tab rails */
.sh-rich .rounded-xl.bg-surface-container { background: rgba(255, 255, 255, .45) !important; border: 1px solid var(--sh-glass-border); border-radius: 22px !important; padding: 6px !important; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--sh-shadow) !important; }
.pipeline-btn { border-radius: 16px !important; transition: background .35s, box-shadow .45s var(--sh-ease), transform .45s var(--sh-ease) !important; }
.pipeline-btn:hover { transform: translateY(-2px); }
.pipeline-btn.active { background: #fff !important; box-shadow: 0 10px 26px rgba(20, 20, 40, .08) !important; }
.pipeline-btn.active span:first-child { color: var(--sh-ruby-ink) !important; }
#pipeline-content-card, #wf-content, [id$="-content-card"] { animation: shFadeUp .6s var(--sh-ease); }
.sh-rich .bg-primary-container, .sh-rich .bg-red-600, .sh-rich button.bg-primary, .sh-rich a.bg-primary { background-image: var(--sh-sunset) !important; background-color: transparent !important; color: #fff !important; border-radius: 999px !important; box-shadow: 0 8px 22px rgba(155, 28, 49, .25); transition: transform .45s var(--sh-ease), box-shadow .45s var(--sh-ease) !important; }
.sh-rich a.bg-primary-container:hover, .sh-rich button.bg-primary-container:hover, .sh-rich .bg-red-600:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(155, 28, 49, .32); }
.sh-rich .trd-user-message { border-radius: 20px 20px 6px 20px !important; }
.sh-rich #chat-messages .rounded-tl-none { border-radius: 20px 20px 20px 6px !important; }
.sh-rich #chat-messages > div { animation: shFadeUp .5s var(--sh-ease) both; }
.sh-rich .bg-on-secondary-fixed { background: linear-gradient(135deg, #1E1B4B, #312E81 60%, #134E4A) !important; }
.sh-rich .bg-inverse-surface { background: linear-gradient(135deg, #1E1B4B, #312E81) !important; }
.sh-rich .no-scrollbar { scrollbar-width: none; }
.sh-rich .no-scrollbar::-webkit-scrollbar { display: none; }
/* Rich pages without a template hero: clear the floating nav */
.sh-rich:not(:has(> div > .sh-hero, > div > .sh-pagehero, > .sh-pagehero)) { padding-top: calc(var(--sh-nav-h) + var(--sh-nav-top) + 40px) !important; }
.sh-rich .bg-on-background, .sh-rich .bg-black, .sh-rich .bg-slate-950, .sh-rich .bg-slate-900 { background: radial-gradient(circle at 20% 0%, #3B3593 0%, #312E81 30%, #1E1B4B 65%, #134E4A 130%) !important; color: #fff; border: 1px solid rgba(255,255,255,.08); border-radius: 28px !important; box-shadow: 0 30px 70px rgba(30, 27, 75, .25) !important; }
.sh-hero-meta { margin: 22px 0 0; font-size: 13px; color: var(--sh-soft); }
#pre-shipment-form { scroll-margin-top: 120px; }


/* ==========================================================================
   TRD 2026 visual refinement — trade photography, stronger blue, red + green
   ========================================================================== */
.sh-hero {
  background: #102f55;
  color: #fff;
}
.sh-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(180deg, rgba(8, 30, 57, .56) 0%, rgba(9, 35, 67, .76) 62%, rgba(255,255,255,.96) 100%),
    linear-gradient(90deg, rgba(8, 31, 61, .82) 0%, rgba(12, 49, 86, .48) 55%, rgba(10, 39, 68, .26) 100%),
    url('/assets/images/trd-port-hero.webp');
  background-size: cover;
  background-position: center 46%;
  background-repeat: no-repeat;
  transform: scale(1.015);
}
.sh-hero .sh-glow {
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 28%), rgba(56, 189, 248, .18) 0%, rgba(92, 130, 225, .10) 34%, rgba(20, 91, 75, .10) 60%, transparent 80%);
}
.sh-hero .sh-display { color: #fff; text-shadow: 0 4px 32px rgba(0,0,0,.24); }
.sh-hero .sh-lead { color: rgba(255,255,255,.84); text-shadow: 0 2px 20px rgba(0,0,0,.22); }
.sh-hero .sh-badge { background: rgba(255,255,255,.86); border-color: rgba(255,255,255,.7); }
.sh-hero .sh-grad-text {
  background: linear-gradient(100deg, #8DD6FF 0%, #A9E6CB 48%, #E6F2FF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sh-hero .sh-chip { background: rgba(255,255,255,.82); border-color: rgba(255,255,255,.5); }
.sh-hero .sh-cap { background: rgba(255,255,255,.88) !important; border-color: rgba(255,255,255,.7) !important; backdrop-filter: blur(18px); }
.sh-cta-bg {
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 40%), #315FAD 0%, #244F91 23%, #173B68 57%, #104C4B 100%);
}
.sh-cta-bg::before { background: rgba(56, 189, 248, .38); }
.sh-cta-bg::after { background: rgba(54, 160, 111, .34); }
.sh-progress { background: linear-gradient(90deg, #38BDF8, #55A7D4, #9B1C31); }
.sh-slogan em { background: linear-gradient(100deg, #9B1C31 0%, #741321 42%, #17845F 100%); -webkit-background-clip: text; background-clip: text; }
.sh-tag--green { background: rgba(47, 143, 101, .13); color: #176044; }
.nav-dropdown { width: 340px; }
.nav-dropdown a:hover { background: rgba(155, 28, 49, .075); }

/* Shipment Inquiry / Pre-Shipment Compliance Assessment */
.sh-shipment-page {
  min-height: 100vh;
  padding: calc(var(--sh-nav-h) + var(--sh-nav-top) + 44px) var(--sh-gutter) 88px;
  background: linear-gradient(135deg, #F3FAFD 0%, #F7F8FC 48%, #F5FAF7 100%);
}
.sh-shipment-shell { max-width: 1100px; margin: 0 auto; }
.sh-shipment-intro { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.sh-shipment-intro .sh-label { color: #741321; }
.sh-shipment-intro h1 { margin: 14px 0 12px; color: #102F55; font-size: clamp(34px, 5vw, 54px); line-height: 1.07; letter-spacing: -.045em; font-weight: 800; }
.sh-shipment-intro p { margin: 0 auto; max-width: 680px; color: #596B80; font-size: 16px; line-height: 1.7; }
.sh-shipment-card { overflow: hidden; border: 1px solid rgba(255,255,255,.9); border-radius: 30px; background: rgba(255,255,255,.91); box-shadow: 0 24px 70px rgba(19,54,91,.10); backdrop-filter: blur(18px); }
.sh-shipment-head { display: grid; grid-template-columns: minmax(220px, 1fr) auto; align-items: center; gap: 28px; padding: 28px 34px; border-bottom: 1px solid #E8EDF3; }
.sh-shipment-title small { display: block; margin-bottom: 7px; color: #741321; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.sh-shipment-title h2 { margin: 0; max-width: 360px; color: #111827; font-size: clamp(24px, 3vw, 32px); line-height: 1.15; letter-spacing: -.035em; font-weight: 800; }
.sh-shipment-steps { display: flex; align-items: center; gap: 8px; }
.sh-shipment-step { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 78px; min-height: 44px; padding: 7px 11px; border-radius: 14px; background: #F0F2F6; color: #697386; font-size: 12px; font-weight: 750; transition: background .25s, color .25s, transform .25s, box-shadow .25s; }
.sh-shipment-step b { font-size: 11px; opacity: .75; }
.sh-shipment-step.is-active { background: linear-gradient(135deg, #E94A55, #C52D40); color: #fff; border-radius: 999px; box-shadow: 0 10px 22px rgba(197,45,64,.22); transform: translateY(-1px); }
.sh-shipment-step.is-complete { background: #E8F5EF; color: #176044; }
.sh-shipment-body { padding: 30px 34px 34px; }
.sh-shipment-section-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 23px; }
.sh-shipment-section-head h3 { display: flex; align-items: center; gap: 10px; margin: 0; color: #101828; font-size: clamp(19px, 2.2vw, 22px); font-weight: 750; letter-spacing: -.025em; }
.sh-shipment-section-head h3 span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #FCEBED; color: #C52D40; font-size: 14px; }
.sh-shipment-section-head small { color: #667085; font-size: 12px; font-weight: 700; letter-spacing: .05em; white-space: nowrap; }
.sh-shipment-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px 18px; }
.sh-shipment-field { min-width: 0; }
.sh-shipment-field--full { grid-column: 1 / -1; }
.sh-shipment-field label, .sh-shipment-field legend { display: block; margin-bottom: 8px; color: #202939; font-size: 13px; font-weight: 700; }
.sh-shipment-field label em { color: #D92D3A; font-style: normal; }
.sh-shipment-field input:not([type=checkbox]):not([type=radio]), .sh-shipment-field select, .sh-shipment-field textarea {
  display: block; width: 100%; min-height: 49px; padding: 12px 15px; border: 1px solid #D7DEE8; border-radius: 15px; background: #fff; color: #182230; font: 500 14px/1.4 'Times New Roman', Times, serif; box-sizing: border-box; outline: none; box-shadow: 0 2px 4px rgba(16,24,40,.02); transition: border-color .2s, box-shadow .2s;
}
.sh-shipment-field textarea { min-height: 100px; resize: vertical; }
.sh-shipment-field input::placeholder, .sh-shipment-field textarea::placeholder { color: #A0A7B4; }
.sh-shipment-field input:focus, .sh-shipment-field select:focus, .sh-shipment-field textarea:focus { border-color: #4A85C5; box-shadow: 0 0 0 4px rgba(56,135,199,.12); }
.sh-shipment-help { display: block; margin-top: 6px; color: #778195; font-size: 11px; line-height: 1.5; }
.sh-shipment-input-prefix { display: flex; align-items: stretch; border: 1px solid #D7DEE8; border-radius: 15px; overflow: hidden; background: #fff; }
.sh-shipment-input-prefix span { display: flex; align-items: center; padding: 0 13px; background: #F1F3F7; color: #687386; font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.sh-shipment-input-prefix input { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; min-width: 0; }
.sh-shipment-checks { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.sh-shipment-check { display: inline-flex; align-items: flex-start; gap: 9px; padding: 8px 10px; border: 1px solid #EDF0F4; border-radius: 12px; color: #4B5565; font-size: 13px; line-height: 1.45; cursor: pointer; }
.sh-shipment-check input { width: 17px; height: 17px; margin: 0; accent-color: #176B54; flex: 0 0 auto; }
.sh-shipment-radio { display: flex; flex-wrap: wrap; gap: 10px; }
.sh-shipment-radio label { display: flex; align-items: center; gap: 9px; margin: 0; padding: 11px 14px; border: 1px solid #E4E9EF; border-radius: 14px; background: #fff; color: #475467; font-size: 13px; font-weight: 600; cursor: pointer; }
.sh-shipment-radio input { accent-color: #176B54; }
.sh-shipment-panel[hidden] { display: none !important; }
.sh-shipment-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid #EDF0F4; }
.sh-shipment-footer-note { max-width: 480px; color: #7A8494; font-size: 11px; line-height: 1.55; }
.sh-shipment-actions { display: flex; gap: 10px; margin-left: auto; }
.sh-shipment-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 23px; border: 0; border-radius: 999px; background: linear-gradient(115deg,#3A328E 0%,#1B4A6C 100%); color: #fff; font: 700 14px 'Times New Roman',Times,serif; cursor: pointer; box-shadow: 0 10px 24px rgba(37,57,125,.18); transition: transform .25s, box-shadow .25s; }
.sh-shipment-btn:hover { transform: translateY(-2px); box-shadow: 0 15px 28px rgba(37,57,125,.24); }
.sh-shipment-btn--back { background: #EFF3F7; color: #475467; box-shadow: none; }
.sh-shipment-btn--submit { background: linear-gradient(115deg,#16734F 0%,#145B4B 100%); }
.sh-shipment-summary { padding: 18px; border: 1px solid #E2EAF2; border-radius: 18px; background: #F7FAFC; color: #344054; font-size: 13px; line-height: 1.65; }
.sh-shipment-summary h4 { margin: 0 0 12px; color: #173B68; font-size: 16px; }
.sh-shipment-summary ul { margin: 0; padding-left: 18px; columns: 2; }
.sh-shipment-summary li { margin: 0 0 5px; break-inside: avoid; }
.sh-shipment-notice { margin-top: 16px; padding: 13px 15px; border: 1px solid #CDE9DA; border-radius: 14px; background: #F0FAF4; color: #246648; font-size: 12px; line-height: 1.55; }
.sh-shipment-error { display: none; margin-top: 10px; color: #741321; font-size: 12px; font-weight: 650; }
.sh-shipment-error.is-visible { display: block; }
@media (max-width: 760px) {
  .sh-shipment-page { padding-top: calc(var(--sh-nav-h) + var(--sh-nav-top) + 28px); }
  .sh-shipment-head { grid-template-columns: 1fr; padding: 24px 22px; gap: 18px; }
  .sh-shipment-title h2 { max-width: none; }
  .sh-shipment-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .sh-shipment-step { min-width: 0; flex-direction: column; gap: 2px; padding: 8px 4px; font-size: 10px; }
  .sh-shipment-body { padding: 24px 22px; }
  .sh-shipment-grid { grid-template-columns: 1fr; gap: 17px; }
  .sh-shipment-field--full { grid-column: auto; }
  .sh-shipment-section-head { align-items: flex-start; }
  .sh-shipment-section-head small { font-size: 10px; }
  .sh-shipment-footer { align-items: flex-start; flex-direction: column; }
  .sh-shipment-actions { width: 100%; margin-left: 0; }
  .sh-shipment-actions .sh-shipment-btn { flex: 1; padding-inline: 12px; }
  .sh-shipment-summary ul { columns: 1; }
}
@media (max-width: 420px) {
  .sh-shipment-intro h1 { font-size: 32px; }
  .sh-shipment-steps { gap: 4px; }
  .sh-shipment-step { font-size: 9px; }
  .sh-shipment-step b { font-size: 10px; }
}


/* ======================================================================
   TRD Trade V11 — corporate typography, high-contrast assistant, ruby
   floating contact controls. This override intentionally sits last.
   ====================================================================== */
body.sh,
body.sh button,
body.sh input,
body.sh select,
body.sh textarea {
  font-family: 'Times New Roman', Times, serif;
}
body.sh h1,
body.sh h2,
body.sh h3,
body.sh h4,
body.sh h5,
body.sh h6,
body.sh .sh-display,
body.sh .sh-h2,
body.sh .sh-h3,
body.sh .sh-slogan,
body.sh .sh-cta-inner h2 {
  font-family: 'Times New Roman', Times, serif;
  font-optical-sizing: auto;
}
body.sh .sh-slogan em {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}
body.sh blockquote,
body.sh .trd-editorial-quote,
body.sh .sh-editorial-quote {
  font-family: Georgia, 'Times New Roman', serif;
}
body.sh code,
body.sh kbd,
body.sh .font-mono {
  font-family: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', monospace;
}

/* Keep the homepage assistant prompt readable over the cinematic hero. */
.sh-prompt {
  background: rgba(255, 255, 255, .96) !important;
  border-color: rgba(255, 255, 255, .98) !important;
  box-shadow: 0 18px 48px rgba(7, 26, 52, .22), 0 0 0 1px rgba(255,255,255,.22);
}
.sh-prompt textarea {
  color: #152B45 !important;
  font-family: 'Times New Roman', Times, serif !important;
  font-weight: 500;
  caret-color: #9B1C31;
}
.sh-prompt textarea::placeholder {
  color: #42536A !important;
  opacity: 1 !important;
  font-weight: 500;
}
body.sh input::placeholder,
body.sh textarea::placeholder {
  color: #66758A;
  opacity: 1;
}
body.sh #chat-input {
  color: #172B45 !important;
  background: #FFFFFF !important;
  border: 1px solid #C9D3E0 !important;
  font-family: 'Times New Roman', Times, serif !important;
}
body.sh #chat-input::placeholder {
  color: #52647B !important;
  opacity: 1 !important;
}

/* Floating controls: arrow is mathematically centered and WhatsApp sits below. */
.trd-float-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 130;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  pointer-events: none;
}
.trd-top {
  position: relative;
  inset: auto;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  margin: 0;
  padding: 0;
  line-height: 0;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(.92);
  pointer-events: none;
  transition: opacity .35s cubic-bezier(.22,1,.36,1),
              transform .4s cubic-bezier(.22,1,.36,1),
              visibility .35s, background .2s, color .2s;
}
.trd-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.trd-top svg {
  display: block;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
}
.trd-top:hover {
  background: var(--sh-ruby, #9B1C31);
  color: #FFFFFF;
  transform: translateY(-2px);
}
.trd-whatsapp {
  position: relative;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  margin: 0;
  padding: 0;
  border: 2px solid rgba(255,255,255,.96);
  border-radius: 50%;
  background: #19A765;
  color: #FFFFFF;
  box-shadow: 0 12px 30px rgba(8, 65, 43, .28);
  text-decoration: none;
  pointer-events: auto;
  transition: transform .3s cubic-bezier(.22,1,.36,1), background .2s, box-shadow .3s;
}
.trd-whatsapp svg {
  display: block;
  width: 29px;
  height: 29px;
  margin: 0;
  flex: 0 0 29px;
}
.trd-whatsapp:hover,
.trd-whatsapp:focus-visible {
  background: #12864F;
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(8, 65, 43, .34);
}
.trd-whatsapp::after {
  content: 'Wafi · +62 852 8546 9417';
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translate(6px, -50%);
  padding: 8px 12px;
  border-radius: 9px;
  background: #102B4B;
  color: #FFFFFF;
  font: 600 12px/1.2 'Times New Roman', Times, serif;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(8, 25, 47, .18);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
}
.trd-whatsapp:hover::after,
.trd-whatsapp:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}
@media (max-width: 767px) {
  .trd-float-actions { right: 16px; bottom: 18px; gap: 10px; }
  .trd-top { flex-basis: 48px; width: 48px; height: 48px; }
  .trd-whatsapp { flex-basis: 52px; width: 52px; height: 52px; }
  .trd-whatsapp::after { display: none; }
}
@media print {
  .trd-float-actions { display: none !important; }
}


/* ---------- Elegant editorial typography (Hostinger V13) ---------- */
/* Body copy uses the familiar Times New Roman reading face; headings use Georgia.
   Both are local system fonts, so no external font request is required. */
body.sh, body.sh * {
  font-family: "Times New Roman", Times, serif !important;
}
body.sh h1, body.sh h2, body.sh h3, body.sh h4,
body.sh .sh-display, body.sh .sh-h1, body.sh .sh-h2,
body.sh .font-headline-lg, body.sh .font-headline-md, body.sh .font-headline-sm {
  font-family: Georgia, "Times New Roman", serif !important;
  letter-spacing: -0.025em;
  font-weight: 600;
}
body.sh button, body.sh input, body.sh textarea, body.sh select, body.sh option {
  font-family: "Times New Roman", Times, serif !important;
}
body.sh .font-mono, body.sh code, body.sh kbd {
  font-family: "Courier New", Courier, monospace !important;
  letter-spacing: 0.01em;
}
body.sh .sh-display { line-height: 0.98; }
body.sh .sh-lead { letter-spacing: 0.005em; }
