/**
 * NordCrest Union design tokens
 * Royal blue + metallic gold.
 */
:root {
  --shb-navy: #0B1A4A;
  --shb-blue: #152C6B;
  --shb-gold: #C9A84C;
  --shb-gold-deep: #9A7B2F;
  --shb-teal: #2F4FB8;
  --shb-teal-soft: #4A6FD4;
  --shb-bg: #F4F6FB;
  --shb-white: #FFFFFF;
  --shb-text: #121A32;
  --shb-muted: #5C657A;
  --shb-success: #1F6B4A;
  --shb-danger: #C93636;
  --shb-border: #D3DAE8;

  --color-primary: var(--shb-gold);
  --color-secondary: var(--shb-navy);
  --color-title_black: var(--shb-text);
  --color-background: var(--shb-bg);
  --color-paragraph_black: var(--shb-muted);
  --color-border: var(--shb-border);
  --font-primary: "Asap Sharp", "Asap", system-ui, sans-serif;
  --font-display: "Roboto Condensed", "Arial Narrow", sans-serif;

  /* Tighter type scale (body + headings) */
  --text-xs: 0.6875rem;
  --text-xs--line-height: 1.4;
  --text-sm: 0.8125rem;
  --text-sm--line-height: 1.45;
  --text-base: 0.9375rem;
  --text-base--line-height: 1.6;
  --text-lg: 1.0625rem;
  --text-lg--line-height: 1.6;
  --text-xl: 1.1875rem;
  --text-xl--line-height: 1.45;
  --text-2xl: 1.375rem;
  --text-2xl--line-height: 1.3;
  --text-3xl: 1.625rem;
  --text-3xl--line-height: 1.25;
  --text-4xl: 1.875rem;
  --text-4xl--line-height: 1.2;
  --text-5xl: 2.25rem;
  --text-5xl--line-height: 1.15;
  --text-6xl: 2.625rem;
  --text-6xl--line-height: 1.12;
  --text-7xl: 3rem;
  --text-7xl--line-height: 1.1;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: var(--text-base--line-height);
  color: var(--shb-text);
}

p {
  font-size: inherit;
  line-height: inherit;
}

/* Element headings: template defaults ran up to 64–80px.
   Kept in @layer base so utilities like text-xl on cards still apply. */
@layer base {
  h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.01em;
  }
  h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }
  h2 {
    font-size: 1.5rem;
    line-height: 1.25;
  }
  h3 {
    font-size: 1.375rem;
    line-height: 1.3;
  }
  h4 {
    font-size: 1.125rem;
    line-height: 1.35;
  }

  @media (min-width: 640px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
  }

  @media (min-width: 769px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.875rem; }
    h3 { font-size: 1.625rem; }
    h4 { font-size: 1.1875rem; }
  }

  @media (min-width: 1025px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2.125rem; }
    h3 { font-size: 1.75rem; }
  }

  @media (min-width: 1280px) {
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2.25rem; }
    h3 { font-size: 1.875rem; }
  }

  @media (min-width: 1536px) {
    h1 { font-size: 2.875rem; }
  }
}

/* Arbitrary px utilities used on heroes / section titles */
.text-\[32px\] { font-size: 1.625rem; }
.text-\[40px\] { font-size: 1.875rem; }
.text-\[60px\] { font-size: 2.375rem; }
.text-\[64px\] { font-size: 2.5rem; }

@media (min-width: 640px) {
  .sm\:text-\[40px\] { font-size: 1.875rem; }
  .sm\:text-\[42px\] { font-size: 1.9375rem; }
}

@media (min-width: 1025px) {
  .lg\:text-\[40px\] { font-size: 1.875rem; }
  .lg\:text-\[52px\] { font-size: 2.25rem; }
  .lg\:text-\[64px\] { font-size: 2.5rem; }
}

@media (min-width: 1280px) {
  .xl\:text-\[64px\] { font-size: 2.625rem; }
  .xl\:text-\[80px\] { font-size: 2.875rem; }
}

/* Readable gold accents on black surfaces */
.text-primary-on-dark,
.bg-secondary .text-primary,
header .text-primary,
footer .text-primary {
  color: var(--shb-gold);
}

.button-primary {
  color: var(--shb-navy) !important;
  font-weight: 600;
}

.button-primary::before {
  background: var(--shb-navy);
}

.button-primary:hover {
  color: var(--shb-white) !important;
  border-color: var(--shb-navy);
}

header .button-primary::before,
footer .button-primary::before,
.bg-secondary .button-primary::before {
  background: var(--shb-white);
}

header .button-primary:hover,
footer .button-primary:hover,
.bg-secondary .button-primary:hover {
  color: var(--shb-navy) !important;
  border-color: var(--shb-white);
}

.service-card:hover,
.group:hover .service-card {
  background-color: var(--shb-navy);
}

/* Soften stroke numbers to navy/gold brand */
.service-card [class*="webkit-text-stroke"],
.service-card > div:last-child {
  -webkit-text-stroke-color: var(--shb-navy);
}

.placeholder-note {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 0.25rem;
  background: color-mix(in oklab, var(--shb-gold) 18%, white);
  color: var(--shb-navy);
  font-size: 0.875em;
  font-weight: 500;
}

#internet,
#mobile,
#ussd,
#payments,
#channels,
#tools,
#support,
#mobile-apps,
#who-we-are,
#story,
#mission,
#values,
#approach,
#governance,
#savings,
#current,
#accounts,
#sme,
#corporate,
#debit,
#credit,
#options,
#personal,
#business,
#working-capital,
#asset,
#mortgage,
#process {
  scroll-margin-top: 6.5rem;
}

.shb-quick-actions {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .shb-quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .shb-quick-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Subtle corporate preloader */
.preloader-area {
  position: fixed;
  inset: 0;
  z-index: 99999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--shb-navy);
  pointer-events: auto;
}

.shb-preloader {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
}

.shb-preloader-logo {
  height: 3.25rem;
  width: auto;
  max-width: 14rem;
  object-fit: contain;
  opacity: 0.96;
}

/* Zurich house mark — replaces the former US deposit badge */
.shb-compliance-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  max-width: 16rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(198, 163, 90, 0.55);
  border-radius: 0.75rem;
  background: rgba(10, 10, 10, 0.45);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.shb-compliance-kicker,
.shb-compliance-line {
  display: block;
  color: #F7F4EE;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.3;
}

.shb-compliance-kicker {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--shb-gold);
}

.shb-compliance-line {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(247, 244, 238, 0.82);
}

.shb-preloader-kicker {
  margin: 1.15rem 0 0;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.shb-preloader-bar {
  width: 7.5rem;
  height: 1px;
  margin-top: 1.5rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 0;
}

.shb-preloader-bar .progress-fill {
  height: 100%;
  width: 0;
  background: var(--shb-gold);
}

.preloader-area .loader-block {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .preloader-area {
    transition: none;
  }
}

/* Outline-dark: readable on light surfaces; invert on navy */
.button-autline-dark {
  color: var(--shb-navy);
  border-color: var(--shb-navy);
  background-color: transparent;
}

.button-autline-dark:hover {
  color: var(--shb-white);
  border-color: var(--shb-navy);
}

.bg-secondary .button-autline-dark,
header .button-autline-dark,
footer .button-autline-dark {
  color: var(--shb-white);
  border-color: rgba(255, 255, 255, 0.85);
}

.bg-secondary .button-autline-dark::before,
header .button-autline-dark::before,
footer .button-autline-dark::before {
  background-color: var(--shb-white);
}

.bg-secondary .button-autline-dark:hover,
header .button-autline-dark:hover,
footer .button-autline-dark:hover {
  color: var(--shb-navy);
  border-color: transparent;
}

/* Stock photos: fill the slot on any screen without stretching */
.shb-photo {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}

.shb-photo-top {
  object-position: top center;
}

.bg-shb-blue {
  background-color: var(--shb-blue);
}

.bg-shb-blue-deep {
  background-color: #14265C;
}

/* Section kicker: gold diamond + vertical rule (replaces spinning plus icon) */
.shb-kicker-mark {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 0.95em;
  flex-shrink: 0;
  overflow: visible;
}

.shb-kicker-mark::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 5px;
  bottom: 0;
  width: 1.5px;
  transform: translateX(-50%);
  border-radius: 1px;
  background: linear-gradient(
    180deg,
    var(--shb-gold) 0%,
    color-mix(in oklab, var(--shb-gold) 45%, transparent) 100%
  );
}

.shb-kicker-mark::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 5px;
  height: 5px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--shb-gold);
}

img.rotate[src*="title-icon"] {
  animation: none;
}

/* Navy mosaic cards: gold icon beside the title */
.shb-mosaic-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 0.625rem;
  color: var(--shb-gold);
  background: color-mix(in oklab, var(--shb-gold) 16%, transparent);
  border: 1px solid color-mix(in oklab, var(--shb-gold) 32%, transparent);
}

/* Inner-page hero: editorial split matching the home hero */
.nc-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  min-height: clamp(20rem, 46vh, 28rem);
  background:
    radial-gradient(520px 300px at 12% 100%, rgba(198, 163, 90, 0.14), transparent 65%),
    #0A0A0A;
  color: #F3F0EA;
  border-bottom: 1px solid rgba(198, 163, 90, 0.28);
}

.nc-page-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 5vw, 4.25rem);
}

.nc-page-hero-kicker {
  margin: 0 0 1rem;
  color: #C6A35A;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.nc-page-hero h1 {
  max-width: 16ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.2vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.04;
  color: #F3F0EA;
}

.nc-page-hero-lead {
  max-width: 32rem;
  margin: 1.1rem 0 0;
  color: rgba(243, 240, 234, 0.74);
  font-size: 1.02rem;
  line-height: 1.65;
}

.nc-page-hero-crumbs {
  margin-top: 1.75rem;
  padding-top: 1.1rem;
  max-width: 32rem;
  border-top: 1px solid rgba(243, 240, 234, 0.12);
}

.nc-page-hero-crumbs a,
.nc-page-hero-crumbs p {
  font-size: 0.8rem !important;
  letter-spacing: 0.06em;
}

.nc-page-hero-crumbs p {
  color: #C6A35A;
}

.nc-page-hero-media {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.nc-page-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.nc-page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0A0A0A 0%, rgba(10, 10, 10, 0) 28%);
  pointer-events: none;
}

@media (max-width: 860px) {
  .nc-page-hero {
    grid-template-columns: 1fr;
  }

  .nc-page-hero-media {
    min-height: 15rem;
    order: -1;
  }

  .nc-page-hero-media::after {
    background: linear-gradient(0deg, #0A0A0A 0%, rgba(10, 10, 10, 0) 45%);
  }
}

/*
 * overflow-x: hidden on html/body computes overflow-y to auto (CSS spec).
 * That makes both html and body nested scrollers and leaves a gap after the footer.
 * clip does not trigger that, so the viewport stays the only scroller.
 */
html,
body {
  overflow-x: clip;
  overflow-y: visible;
}

/*
 * Below 1025px the template paints a page-length body::before overlay
 * (position: absolute; height: 100% - header). That overlay, plus the
 * collapsed-but-still-tall mobile nav, extends past the footer.
 */
@media screen and (max-width: 1024px) {
  body::before {
    position: fixed !important;
    top: 80px !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    height: auto !important;
    pointer-events: none;
  }

  body.menu-overlay::before {
    pointer-events: auto;
  }

  .main-menu:not(.menu-active) {
    height: 0 !important;
    max-height: 0 !important;
    padding-block: 0 !important;
    overflow: hidden !important;
    pointer-events: none;
  }
}

/* Language switcher */
.header-area,
.header-wrapper {
  overflow: visible;
}

.shb-lang {
  position: relative;
  z-index: 100;
  flex-shrink: 0;
}

.shb-lang-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.25rem;
  padding: 0 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  visibility: visible !important;
  opacity: 1 !important;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.shb-lang-toggle:hover,
.shb-lang.is-open .shb-lang-toggle {
  border-color: var(--shb-gold);
  color: var(--shb-gold);
  background: color-mix(in oklab, var(--shb-gold) 10%, transparent);
}

.shb-lang-globe {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.shb-lang-caret {
  width: 9px;
  height: 6px;
  opacity: 0.8;
}

.shb-lang.is-open .shb-lang-caret {
  transform: rotate(180deg);
}

.shb-lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 200;
  width: 13.5rem;
  max-height: min(18rem, calc(100vh - 5.5rem));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: 0.4rem;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 12px 32px rgba(11, 31, 58, 0.18);
  border: 1px solid var(--shb-border);
}

.main-menu .shb-lang {
  width: 100%;
}

.main-menu .shb-lang-toggle {
  width: 100%;
  justify-content: flex-start;
}

.main-menu .shb-lang-menu {
  position: static;
  width: 100%;
  max-height: 14rem;
  margin-top: 0.5rem;
  box-shadow: none;
}

.shb-lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--shb-text);
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.shb-lang-option:hover,
.shb-lang-option[aria-selected="true"] {
  background: var(--shb-bg);
  color: var(--shb-navy);
}

.shb-lang-option[aria-selected="true"] {
  font-weight: 700;
}

.shb-lang-option-code {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--shb-muted);
}

.shb-lang-note {
  margin: 0.35rem 0.4rem 0.25rem;
  padding-top: 0.45rem;
  border-top: 1px solid var(--shb-border);
  font-size: 0.6875rem;
  line-height: 1.4;
  color: var(--shb-muted);
}

#google_translate_element {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.goog-te-banner-frame.skiptranslate,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-te-spinner-pos {
  display: none !important;
}

body {
  top: 0 !important;
}

.goog-te-gadget {
  font-size: 0 !important;
}

/* Text wordmark until a dedicated NordCrest mark ships */
.shb-wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}

.shb-wordmark-light {
  color: #F7F4EE;
  font-size: 1.35rem;
}

.shb-wordmark-dark {
  color: var(--shb-navy);
  font-weight: 800;
}

@media (min-width: 640px) {
  .shb-wordmark-light {
    font-size: 1.55rem;
  }
}

.shb-preloader-wordmark {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

/* Home */
.nc-home {
  background: #F3F0EA;
  color: #161616;
}

.nc-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 5.5rem);
  background: #0A0A0A;
  color: #F3F0EA;
}

.nc-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.25rem);
}

.nc-brand {
  margin: 0 0 1.25rem;
  color: #C6A35A;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}

.nc-hero h1,
.nc-editorial h2,
.nc-desk h2,
.nc-news h2,
.nc-close h2,
.nc-portal-intro h2 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: inherit;
}

.nc-hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.6rem, 4.6vw, 4.4rem);
  color: #F3F0EA;
}

.nc-lede {
  max-width: 34rem;
  margin: 1.25rem 0 0;
  color: rgba(243, 240, 234, 0.78);
  font-size: 1.05rem;
  line-height: 1.65;
}

.nc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.nc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.2rem;
  border-radius: 0.2rem;
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nc-btn-gold {
  background: #C6A35A;
  color: #0A0A0A;
  border: 1px solid #C6A35A;
}

.nc-btn-gold:hover {
  background: #D4B56E;
  color: #0A0A0A;
}

.nc-btn-line {
  background: transparent;
  color: #F3F0EA;
  border: 1px solid rgba(243, 240, 234, 0.4);
}

.nc-btn-line:hover {
  border-color: #C6A35A;
  color: #C6A35A;
}

.nc-btn-block {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.nc-hero-note {
  margin: 1.6rem 0 0;
  color: rgba(243, 240, 234, 0.55);
  font-size: 0.88rem;
}

.nc-hero-media {
  margin: 0;
  min-height: 100%;
  overflow: hidden;
}

.nc-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.nc-portal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}

.nc-portal-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 1.5rem 1.5rem 1.5rem 0;
}

.nc-portal-eyebrow {
  margin: 0 0 0.65rem;
  color: #8C7340;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nc-portal-intro h2 {
  margin: 0;
  color: #111;
  font-size: clamp(2.2rem, 3.4vw, 3.1rem);
}

.nc-portal-intro > p {
  max-width: 34rem;
  margin: 0.9rem 0 0;
  color: #3A3A3A;
  font-size: 1.05rem;
  line-height: 1.65;
}

.nc-portal-points {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.nc-portal-points li {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.nc-portal-points li:last-child {
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}

.nc-portal-points strong {
  color: #111;
  font-size: 0.95rem;
}

.nc-portal-points span {
  color: #4A4A4A;
  font-size: 0.92rem;
  line-height: 1.45;
}

.nc-portal-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 1.6rem 1.45rem 1.4rem;
  background: #111111;
  color: #F3F0EA;
  border: 1px solid rgba(198, 163, 90, 0.35);
}

.nc-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
  margin-bottom: 1rem;
  padding: 0.2rem;
  background: #0A0A0A;
}

.nc-portal .form-tab {
  min-height: 2.25rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(243, 240, 234, 0.6);
  font-size: 0.8rem;
  font-weight: 650;
  cursor: pointer;
}

.nc-portal .form-tab::before {
  display: none;
}

.nc-portal .form-tab:hover,
.nc-portal .form-tab.active {
  color: #0A0A0A;
  background: #C6A35A;
}

.nc-portal .form-tab:hover:not(.active) {
  background: transparent;
  color: #C6A35A;
}

.nc-portal .form-tab-panel {
  display: none;
}

.nc-portal .form-tab-panel.active {
  display: block;
}

.nc-field {
  position: relative;
  display: block;
  margin-bottom: 0.7rem;
}

.nc-field span {
  display: block;
  margin-bottom: 0.3rem;
  color: rgba(243, 240, 234, 0.55);
  font-size: 0.75rem;
  font-weight: 600;
}

.nc-field input {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 2.4rem 0.65rem 0.8rem;
  border: 1px solid rgba(243, 240, 234, 0.14);
  border-radius: 0.2rem;
  background: #1A1815;
  color: #F3F0EA;
  font-size: 0.95rem;
}

.nc-field input:focus {
  outline: 2px solid rgba(198, 163, 90, 0.7);
  outline-offset: 1px;
  border-color: transparent;
}

.nc-portal .password-toggle {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #C6A35A;
  cursor: pointer;
}

.nc-remember {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.15rem 0 0.9rem;
  color: rgba(243, 240, 234, 0.72);
  font-size: 0.84rem;
}

.nc-remember input {
  accent-color: #C6A35A;
}

.nc-portal-links {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.85rem 0 0;
  font-size: 0.84rem;
}

.nc-portal-links a {
  color: #C6A35A;
  text-decoration: none;
}

.nc-portal-links a:hover {
  color: #E4C98A;
}

.nc-text-link {
  display: inline-block;
  margin-top: 1.1rem;
  color: #8C7340;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.nc-text-link:hover {
  color: #0A0A0A;
}

.nc-paths {
  padding: 0 0 1.5rem;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
  background: #EAE5DB;
  overflow: hidden;
}

.nc-paths-swiper {
  padding: 1.25rem 1.25rem 2.4rem;
  max-width: 1280px;
  margin: 0 auto;
}

.nc-path-slide {
  display: grid !important;
  grid-template-rows: 210px auto;
  height: auto;
  background: #F3F0EA;
  color: #111;
  text-decoration: none;
  transition: background 0.2s ease;
}

.nc-path-slide:hover {
  background: #EFE9DD;
}

.nc-path-slide img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.nc-path-slide div {
  padding: 1.15rem 1.2rem 1.35rem;
}

.nc-path-slide strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
}

.nc-path-slide p {
  margin: 0.45rem 0 0;
  color: #3A3A3A;
  font-size: 0.92rem;
  line-height: 1.5;
}

.nc-paths-pagination {
  position: static !important;
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

.nc-paths-pagination .swiper-pagination-bullet {
  width: 0.45rem;
  height: 0.45rem;
  margin: 0 !important;
  background: rgba(17, 17, 17, 0.25);
  opacity: 1;
  border-radius: 999px;
  transition: width 0.25s ease, background 0.25s ease;
}

.nc-paths-pagination .swiper-pagination-bullet-active {
  width: 1.4rem;
  background: #C6A35A;
}

.nc-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) 1.5rem;
}

.nc-editorial figure {
  position: relative;
  margin: 0;
  min-height: 100%;
  overflow: hidden;
  background: #ddd;
}

.nc-editorial img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

.nc-editorial-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 28rem;
}

.nc-editorial h2,
.nc-desk h2,
.nc-news h2 {
  margin: 0;
  color: #111;
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.nc-editorial-copy > p {
  margin: 1rem 0 0;
  color: #3A3A3A;
  line-height: 1.7;
}

.nc-principles {
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}

.nc-principles li {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.75rem;
  padding: 0.8rem 0;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.nc-principles strong {
  color: #111;
  font-size: 0.9rem;
}

.nc-principles span {
  color: #3A3A3A;
  line-height: 1.5;
}

.nc-desk {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem 4.5rem;
}

.nc-desk-intro {
  max-width: 36rem;
  margin-bottom: 1.4rem;
}

.nc-desk-intro p {
  margin: 0.7rem 0 0;
  color: #3A3A3A;
  line-height: 1.6;
}

.nc-desk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.nc-desk-item {
  display: grid;
  grid-template-rows: 160px auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.1);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.nc-desk-item:hover {
  border-color: #C6A35A;
  transform: translateY(-2px);
}

.nc-desk-item img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.nc-desk-item div {
  display: flex;
  flex-direction: column;
  padding: 0.95rem 1rem 1.1rem;
  min-height: 7.2rem;
}

.nc-desk-item em {
  color: #111;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-style: normal;
}

.nc-desk-item span {
  margin-top: auto;
  padding-top: 0.55rem;
  color: #4A4A4A;
  font-size: 0.9rem;
  line-height: 1.45;
}

.nc-news {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.nc-news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.nc-news-head .nc-text-link {
  margin-top: 0;
}

.nc-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.nc-close {
  padding: clamp(3rem, 7vw, 5rem) 1.5rem;
  background: #0A0A0A;
  color: #F3F0EA;
  text-align: center;
}

.nc-close h2 {
  margin: 0;
  color: #F3F0EA;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.nc-close > p {
  max-width: 34rem;
  margin: 0.9rem auto 0;
  color: rgba(243, 240, 234, 0.72);
  line-height: 1.6;
}

.nc-close .nc-actions {
  justify-content: center;
}

@media (max-width: 1024px) {
  .nc-hero,
  .nc-desk-grid,
  .nc-news-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nc-portal,
  .nc-editorial {
    grid-template-columns: 1fr;
  }

  .nc-hero {
    min-height: 0;
  }

  .nc-hero-media {
    min-height: 420px;
  }

  .nc-portal-intro {
    padding: 0 0 0.5rem;
  }

  .nc-editorial figure {
    min-height: 22rem;
  }

  .nc-editorial-copy {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .nc-hero,
  .nc-desk-grid,
  .nc-news-grid,
  .nc-principles li {
    grid-template-columns: 1fr;
  }

  .nc-hero-media {
    min-height: 320px;
    order: -1;
  }

  .nc-editorial figure {
    min-height: 18rem;
  }

  .nc-news-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Desktop nav: vertical dropdown (override 3-col mega style) */
@media screen and (min-width: 1025px) {
  .main-menu > ul > li {
    position: relative;
  }

  .main-menu .sub-menu {
    display: flex !important;
    flex-direction: column;
    grid-template-columns: none !important;
    gap: 0.15rem !important;
    width: 15rem !important;
    left: 50% !important;
    right: auto !important;
    padding: 0.45rem !important;
    border-radius: 0.35rem !important;
    border: 1px solid var(--shb-border) !important;
    background: #fff !important;
    box-shadow: 0 16px 40px rgba(11, 26, 74, 0.16) !important;
    translate: -50% 0 !important;
    --tw-translate-x: -50%;
  }

  .main-menu .sub-menu .submenu-item {
    width: 100%;
    margin: 0;
    padding: 0 !important;
  }

  .main-menu .sub-menu .submenu-item a {
    display: flex !important;
    align-items: center !important;
    width: 100%;
    min-height: 2.55rem;
    padding: 0.55rem 0.85rem !important;
    border-radius: 0.25rem;
    color: var(--shb-text) !important;
    font-family: var(--font-primary);
    font-size: 0.875rem !important;
    font-weight: 500;
    line-height: 1.25;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .main-menu .sub-menu .submenu-item a:hover {
    background: var(--shb-bg);
    color: var(--shb-navy) !important;
  }

  .main-menu .sub-menu .submenu-thumb {
    display: none !important;
  }
}
