/* ==========================================================================
   Vinland Immigration -- Design System
   Organized: Tokens > Reset > Base > Layout > Components > Utilities > Animations
   ========================================================================== */

/* ==========================================================================
   1. TOKENS (Custom Properties)
   ========================================================================== */

:root {
  /* Brand palette */
  --color-slate-900: #1E2A38;
  --color-slate-800: #2B3A4E;
  --color-slate-700: #3D4F63;
  --color-slate-600: #4D6478;
  --color-slate-500: #5A6E84;
  --color-slate-400: #8295A8;
  --color-slate-300: #A8B8C8;
  --color-slate-100: #DDE4EB;
  --color-ice-50:    #EEF2F4;
  --color-ice-100:   #C8DDE8;
  --color-forest-700:#2D4A40;
  --color-forest-500:#3D5E53;
  --color-fjord-800: #163838;
  --color-fjord-600: #2A6B6B;
  --color-gold-500:  #D4A854;
  --color-gold-700:  #9E7A2E;
  --color-gold-400:  #E0BE78;
  --color-white:     #FAFBFC;

  /* Semantic colors */
  --color-text-primary:   var(--color-slate-900);
  --color-text-heading:   var(--color-slate-800);
  --color-text-secondary: var(--color-slate-700);
  --color-text-muted:     var(--color-slate-600);
  --color-text-inverted:  var(--color-white);

  --color-surface-page:  var(--color-white);
  --color-surface-light: var(--color-ice-50);
  --color-surface-dark:  var(--color-slate-900);

  --color-border-subtle: var(--color-slate-100);
  --color-border-strong: var(--color-slate-300);

  --color-accent-primary:       var(--color-fjord-600);
  --color-accent-primary-hover: var(--color-forest-700);
  --color-accent-gold:          var(--color-gold-500);
  --color-accent-gold-hover:    var(--color-gold-400);
  --color-accent-gold-subtle:   rgba(212, 168, 84, 0.30);
  --color-accent-gold-border:   rgba(212, 168, 84, 0.3);

  --color-focus-ring: rgba(42, 107, 107, 0.4);
  --color-success:    var(--color-forest-500);
  --color-error:      #B84040;

  /* Overlay & transparency colors */
  --color-overlay-dark:         rgba(30, 42, 56, 0.70);
  --color-overlay-dark-heavy:   rgba(30, 42, 56, 0.85);
  --color-overlay-dark-medium:  rgba(30, 42, 56, 0.65);
  --color-overlay-dark-light:   rgba(30, 42, 56, 0.4);
  --color-text-inverted-soft:   rgba(250, 251, 252, 0.85);
  --color-text-inverted-muted:  rgba(250, 251, 252, 0.65);
  --color-text-inverted-faint:  rgba(250, 251, 252, 0.7);
  --color-border-inverted:      rgba(255, 255, 255, 0.1);
  --color-accent-gold-light:    rgba(212, 168, 84, 0.1);
  --color-accent-fjord-light:   rgba(42, 107, 107, 0.06);
  --color-accent-fjord-border:  rgba(42, 107, 107, 0.25);
  --color-accent-gold-pill:     rgba(212, 168, 84, 0.07);
  --color-sweep-highlight:      rgba(255, 255, 255, 0.08);
  --color-gradient-deepen-end:  #E4EBF0;

  /* Typography */
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans:  'Cabinet Grotesk', system-ui, sans-serif;
  --font-weight-body: 475;

  /* Type scale -- Major Third (1.250), 16px base */
  --text-display:  3.052rem;
  --text-h1:       2.441rem;
  --text-h2:       1.953rem;
  --text-h3:       1.563rem;
  --text-h4:       1.25rem;
  --text-body-lg:  1.125rem;
  --text-body:     1rem;
  --text-body-sm:  0.95rem;
  --text-caption:  0.8rem;
  --text-overline: 0.9rem;

  --lh-display:  1.15;
  --lh-h1:       1.2;
  --lh-h2:       1.25;
  --lh-h3:       1.3;
  --lh-h4:       1.35;
  --lh-body-lg:  1.6;
  --lh-body:     1.6;
  --lh-body-sm:  1.5;
  --lh-overline: 1.4;

  /* Spacing (8px base) */
  --space-1:   8px;
  --space-2:  16px;
  --space-3:  24px;
  --space-4:  32px;
  --space-5:  40px;
  --space-6:  48px;
  --space-7:  56px;
  --space-8:  64px;
  --space-10: 80px;

  /* Containers */
  --container-max:            1152px;
  --container-narrow:          720px;
  --container-form:            640px;
  --container-padding-mobile:   24px;
  --container-padding-tablet:   48px;
  --grid-gutter:                24px;

  /* Border radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:  12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0  1px  3px rgba(30, 42, 56, 0.15),
                0  1px  2px rgba(30, 42, 56, 0.10);
  --shadow-md:  0  4px  8px rgba(30, 42, 56, 0.2),
                0  2px  4px rgba(30, 42, 56, 0.15);
  --shadow-lg:  0 12px 24px rgba(30, 42, 56, 0.30),
                0  4px  8px rgba(30, 42, 56, 0.10);

  /* Animation */
  --duration-fast:   200ms;
  --duration-normal: 400ms;
  --duration-slow:   500ms;
  --ease-out:        cubic-bezier(0.33, 1, 0.68, 1);
  --ease-in-out:     cubic-bezier(0.65, 0, 0.35, 1);
  --ease-bounce:     cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-decelerate: cubic-bezier(0.55, 0, 0.1, 1);

  /* Layout */
  --nav-height: 80px;

  /* Z-index */
  --z-base:     0;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-overlay:  300;
  --z-modal:    400;

  /* Component dimensions */
  --button-padding:        12px 28px;
  --button-padding-hero:   14px 32px;
  --input-padding:         10px 14px;
  --carousel-button-size:  40px;
  --trust-bar-img-height:  48px;
  --hero-min-height:       420px;
  --hero-fade-height:      200px;
  --icon-size-sm:          32px;
}

/* Mobile type overrides */
@media (max-width: 767px) {
  :root {
    --text-display: 2.2rem;
    --text-h1:      1.8rem;
    --text-h2:      1.5rem;
    --text-h3:      1.25rem;
  }
}


/* ==========================================================================
   FONT FACES
   ========================================================================== */

@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/DMSerifDisplay-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Cabinet Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/CabinetGrotesk-Variable.woff2') format('woff2');
}


/* ==========================================================================
   2. RESET (Minimal Normalize)
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

fieldset {
  border: none;
}

table {
  border-collapse: collapse;
}


/* ==========================================================================
   3. BASE (html, body, typography defaults)
   ========================================================================== */

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + var(--space-3));
}

main {
  margin-bottom: 0;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: var(--font-weight-body);
  line-height: var(--lh-body);
  color: var(--color-text-primary);
  background-color: var(--color-surface-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--color-text-heading);
  font-weight: 400;
}

h1 {
  font-size: var(--text-h1);
  line-height: var(--lh-h1);
}

h2 {
  font-size: var(--text-h2);
  line-height: var(--lh-h2);
}

h3 {
  font-size: var(--text-h3);
  line-height: var(--lh-h3);
}

h4 {
  font-size: var(--text-h4);
  line-height: var(--lh-h4);
}

p + p {
  margin-top: var(--space-2);
}

.v-section p a:not(.v-button):not(.v-card),
.v-section li a:not(.v-button):not(.v-card),
.v-accordion__body a:not(.v-button):not(.v-card) {
  color: var(--color-accent-primary);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  text-decoration-color: var(--color-accent-primary);
  transition: text-decoration-color var(--duration-fast) var(--ease-out);
}

.v-section p a:not(.v-button):not(.v-card):hover,
.v-section li a:not(.v-button):not(.v-card):hover,
.v-accordion__body a:not(.v-button):not(.v-card):hover {
  text-decoration-style: solid;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-accent-primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--color-focus-ring);
}

::selection {
  background-color: var(--color-ice-100);
  color: var(--color-slate-900);
}


/* ==========================================================================
   4. LAYOUT
   ========================================================================== */

/* Container */
.v-container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding-mobile);
}

@media (min-width: 768px) {
  .v-container {
    padding-inline: var(--container-padding-tablet);
  }
}

.v-container--narrow {
  max-width: var(--container-narrow);
}

.v-container--form {
  max-width: var(--container-form);
}

/* Grid */
.v-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gutter);
}

/* Section grid */
.v-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gutter);
}

@media (min-width: 768px) {
  .v-section-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
  .v-section-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Section */
.v-section {
  padding-block: var(--space-2);
}

.v-section--light {
  background-color: var(--color-surface-light);
}

/* Atmospheric section backgrounds */
.v-section--mist {
  background-color: var(--color-ice-50);
}

.v-section--deepen {
  background: linear-gradient(180deg, var(--color-surface-page) 0%, var(--color-ice-50) 40%, var(--color-gradient-deepen-end) 100%);
}

.v-section--textured {
  background-color: var(--color-surface-light);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

.v-section--testimonials {
  background-color: var(--color-surface-light);
  padding-block: var(--space-6);
}

.v-section--flush {
  padding-block: 0;
}

.v-section__header .v-overline {
  margin-bottom: var(--space-1);
}

.v-section__header p,
.v-section__header .v-lead {
  margin-top: var(--space-2);
  margin-bottom: var(--space-2);
}


/* ==========================================================================
   5. COMPONENTS
   ========================================================================== */

/* ---------- Skip Link ---------- */

.visually-hidden:focus {
  position: fixed;
  top: var(--space-1);
  left: var(--space-2);
  z-index: 9999;
  width: auto;
  height: auto;
  padding: var(--space-1) var(--space-2);
  margin: 0;
  clip: auto;
  clip-path: none;
  overflow: visible;
  white-space: nowrap;
}

/* ---------- Buttons ---------- */

.v-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: var(--button-padding);
  font-size: var(--text-body);
  font-weight: 600;
  line-height: 1.4;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  background-color: var(--color-accent-primary);
  color: var(--color-text-inverted);
  position: relative;
  overflow: hidden;
  transition: background-color var(--duration-fast) var(--ease-out),
              border-color   var(--duration-fast) var(--ease-out),
              color          var(--duration-fast) var(--ease-out),
              box-shadow     var(--duration-fast) var(--ease-out),
              transform      var(--duration-fast) var(--ease-out);
}

.v-button:hover {
  background-color: var(--color-accent-primary-hover);
}

/* Button sweep effect */
.v-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--color-sweep-highlight), transparent);
  transition: left var(--duration-normal) var(--ease-out);
}

.v-button:hover::after {
  left: 100%;
}

.v-button:active {
  transform: scale(0.97);
}

/* Inverted (white on dark backgrounds) */
.v-button--inverted {
  background-color: var(--color-surface-page);
  color: var(--color-accent-primary);
  border-color: var(--color-surface-page);
}

.v-button--inverted:hover {
  background-color: var(--color-ice-50);
  color: var(--color-accent-primary-hover);
}

/* Text link button */
.v-button--text {
  background: none;
  border: none;
  padding: 0;
  color: var(--color-accent-primary);
  font-weight: 600;
}

.v-button--text::after {
  content: '\2192'; /* right arrow */
  display: inline-block;
  margin-left: var(--space-1);
  transition: transform var(--duration-fast) var(--ease-out);
}

.v-button--text:hover {
  background: none;
  color: var(--color-accent-primary-hover);
  text-decoration: underline;
  text-decoration-color: var(--color-accent-gold);
  text-underline-offset: 3px;
}

.v-button--text:hover::after {
  transform: translateX(4px);
}

/* ---------- Overline ---------- */

.v-overline {
  font-family: var(--font-sans);
  font-size: var(--text-overline);
  font-weight: 600;
  line-height: var(--lh-overline);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border-bottom: 2px solid var(--color-accent-gold);
  display: inline-block;
}

/* ---------- Forms ---------- */

.v-label {
  display: block;
  font-size: var(--text-body-sm);
  font-weight: 600;
  margin-bottom: var(--space-1);
  color: var(--color-text-primary);
}

.v-input,
.v-textarea,
.v-select {
  width: 100%;
  padding: var(--input-padding);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--color-text-primary);
  background-color: var(--color-surface-page);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-sm);
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow   var(--duration-fast) var(--ease-out);
}

.v-input:hover,
.v-textarea:hover,
.v-select:hover {
  border-color: var(--color-border-strong);
}

.v-input:focus,
.v-textarea:focus,
.v-select:focus {
  border-color: var(--color-accent-primary);
  box-shadow: 0 0 0 3px var(--color-focus-ring);
  outline: none;
}

.v-input::placeholder,
.v-textarea::placeholder {
  color: var(--color-text-muted);
}

.v-textarea {
  min-height: 120px;
  resize: vertical;
}

.v-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%236B7F95' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* Form layout */
.v-form__field {
  position: relative;
  margin-bottom: var(--space-1);
}

.v-form__field .v-label {
  margin-bottom: -1px;
  margin-top: var(--space-2);
}

.v-form__field:first-of-type .v-label {
  margin-top: 0;
}

.v-form__footer {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-3);
  flex-wrap: wrap;
}

.v-form__privacy {
  font-size: var(--text-overline);
  color: var(--color-text-muted);
  line-height: var(--lh-body-sm);
  flex: 1;
  min-width: 200px;
}

.v-form__privacy a {
  color: var(--color-text-muted);
  text-decoration: underline;
}

/* Form field animations */
.v-form__field::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-accent-primary);
  transition: width var(--duration-normal) var(--ease-out),
              left var(--duration-normal) var(--ease-out);
}

.v-form__field:focus-within::after {
  width: 100%;
  left: 0;
}

/* Submit button hover fill */
.v-form .v-button {
  transition: background-color var(--duration-fast),
              transform var(--duration-fast);
}

/* ---------- Cards ---------- */

.v-card {
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  background-color: var(--color-surface-page);
}

a.v-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
}

a.v-card:hover,
.v-card--hoverable:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--color-accent-primary);
}

.v-card--hoverable {
  transition: box-shadow var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
}

.v-card--gold {
  border-top: 3px solid var(--color-accent-gold);
}

.v-card--elevated {
  box-shadow: var(--shadow-sm);
}

.v-card--surface {
  border: none;
}

.v-card--gold.v-card--surface {
  border-top: 3px solid var(--color-accent-gold);
}

.v-card--padded {
  padding: var(--space-5);
}

/* Audience card -- atmospheric watercolor background */
.v-card--audience {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: stretch;
  text-decoration: none;
  color: var(--color-text-inverted);
  border-top: 3px solid var(--color-accent-gold);
  transition: box-shadow var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out);
}

.v-card--audience .v-card__bg-picture {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.v-card--audience .v-card__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 5%;
  transition: transform var(--duration-slow) var(--ease-out);
}

.v-card--audience::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 42, 56, 0.95) 0%, rgba(30, 42, 56, 0.85) 30%, rgba(30, 42, 56, 0.4) 60%, transparent 100%);
  z-index: 1;
}

.v-card--audience .v-card__body-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.v-card__body-top {
  position: absolute;
  top: 35%;
  left: var(--space-5);
  right: var(--space-6);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0 var(--space-2);
  align-items: start;
}

.v-card--audience .v-card__heading {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--font-serif);
  font-size: var(--text-h3);
  color: var(--color-text-inverted);
  margin: 0;
  text-shadow: 0 1px 8px rgba(30, 42, 56, 0.6);
}

.v-card__tagline {
  grid-column: 1;
  grid-row: 2;
  font-size: var(--text-body-sm);
  color: var(--color-text-inverted-soft);
  margin: 0;
  text-shadow: 0 1px 6px rgba(30, 42, 56, 0.5);
  line-height: var(--lh-display);
}

.v-card--audience .v-card__arrow {
  grid-column: 2;
  grid-row: 1 / -1;
}

.v-card__visa-hint {
  position: absolute;
  bottom: var(--space-2);
  left: var(--space-3);
  right: var(--space-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-caption);
  letter-spacing: 0.04em;
  color: var(--color-text-inverted-muted);
  margin: 0;
  text-shadow: 0 1px 6px rgba(30, 42, 56, 0.5);
}

.v-card__visa-dot {
  font-size: 1.4em;
  line-height: 1;
}

.v-card__arrow {
  font-size: var(--text-h3);
  color: var(--color-text-inverted);
  opacity: 0.6;
  transition: transform var(--duration-fast) var(--ease-out),
              opacity var(--duration-fast) var(--ease-out);
}

a.v-card--audience:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border: none;
}

.v-card--audience:hover .v-card__bg-img {
  transform: scale(1.03);
}

.v-card--audience:hover .v-card__arrow {
  transform: translateX(6px);
  opacity: 1;
}

.v-card--audience:hover::after {
  background: linear-gradient(to top, rgba(30, 42, 56, 0.97) 0%, rgba(30, 42, 56, 0.88) 30%, rgba(30, 42, 56, 0.45) 60%, transparent 100%);
}

@media (max-width: 767px) {
  .v-card--audience {
    min-height: 200px;
  }
}

.v-card__icon {
  width: var(--icon-size-sm);
  height: var(--icon-size-sm);
  object-fit: contain;
  margin-bottom: var(--space-2);
}

/* Bridge section (business law/tax pills on homepage) */
.v-bridge {
  background-color: var(--color-ice-50);
  padding-top: var(--space-5);
  padding-bottom: var(--space-6);
}

.v-bridge__pills-label {
  text-align: center;
  font-size: var(--text-overline);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
  display: none;
}

.v-bridge__pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gutter);
  max-width: 800px;
  margin: 0 auto;
}

.v-bridge__pill {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: var(--space-3);
  background: var(--color-accent-gold-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  text-decoration: none;
  color: var(--color-text-primary);
  transition: background var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.v-bridge__pill:hover {
  background: var(--color-accent-gold-border);
  box-shadow: var(--shadow-sm);
}

.v-bridge__pill-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.v-bridge__pill-heading {
  font-family: var(--font-serif);
  font-size: var(--text-h4);
  line-height: var(--lh-h4);
  color: var(--color-accent-primary);
  margin-bottom: var(--space-1);
}

.v-bridge__pill-body {
  font-size: var(--text-body-sm);
  line-height: var(--lh-body-sm);
  color: var(--color-text-secondary);
  margin-top: auto;
}

.v-bridge__pill-arrow {
  font-size: var(--text-h3);
  color: var(--color-gold-700);
  opacity: 0.6;
  flex-shrink: 0;
  margin-top: var(--space-1);
  transition: transform var(--duration-fast) var(--ease-out),
              opacity var(--duration-fast) var(--ease-out);
}

.v-bridge__pill:hover .v-bridge__pill-arrow {
  transform: translateX(6px);
  opacity: 1;
}

@media (max-width: 767px) {
  .v-bridge__pills-label {
    display: block;
  }

  .v-bridge__pills {
    grid-template-columns: 1fr;
    max-width: 90%;
    margin: 0 auto;
  }

  .v-bridge__pill {
    padding: var(--space-2) var(--space-3);
  }
}

/* Differentiator card (D3: icon overlapping from right with gradient mask) */
.v-card--differentiator {
  border: none;
  background: none;
  padding: 0;
  position: relative;
  min-height: 120px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
}

.v-card--differentiator .v-card__icon {
  position: absolute;
  right: 0;
  left: auto;
  top: 45%;
  transform: translateY(-40%);
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 0;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at center, black 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 70% at center, black 20%, transparent 70%);
  z-index: 0;
}

.v-card--differentiator h3,
.v-card--differentiator h4 {
  margin-bottom: 0;
  padding-right: 60px;
  position: relative;
  z-index: 1;
}

.v-card--differentiator p {
  margin-top: -5px;
  padding-right: 60px;
  position: relative;
  z-index: 1;
  max-width: 300px;
}

/* Section-specific grid overrides */
.v-differentiators-grid {
  padding-top: var(--space-3);
  gap: var(--space-3) var(--grid-gutter);
}

@media (min-width: 1024px) {
  .v-differentiators-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.v-articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: var(--container-narrow);
  margin: 0 auto;
}

/* Testimonial card */
.v-card--testimonial {
  min-width: 320px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.v-card--testimonial .v-card__quote {
  flex: 1;
}

.v-card--testimonial .v-card__author {
  margin-top: var(--space-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.v-card__source-badge {
  display: inline-flex;
  align-items: center;
}

.v-card__source-badge img {
  display: block;
}

a.v-card__source-badge:hover {
  opacity: 0.7;
}

.v-card--testimonial::before {
  content: "\201C"; /* left double quotation mark */
  font-family: var(--font-serif);
  font-size: 6rem;
  line-height: 1;
  color: var(--color-accent-primary);
  opacity: 0.20;
  position: absolute;
  top: var(--space-1);
  right: var(--space-3);
  pointer-events: none;
}

/* Aggregate trust line below carousel */
.v-testimonials-aggregate {
  text-align: center;
  margin-top: var(--space-4);
  font-size: var(--text-body-sm);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

.v-testimonials-aggregate img {
  height: 20px;
  width: auto;
  opacity: 0.6;
}

.v-testimonials-aggregate a {
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Article card -- text-driven layout */
.v-card--article {
  border: none;
  border-bottom: 1px solid var(--color-border-subtle);
  border-radius: 0;
  padding: var(--space-3) 0;
  background: none;
}

.v-card--article:first-child {
  padding-top: 0;
}

.v-card__title {
  font-family: var(--font-serif);
  font-size: var(--text-h3);
  line-height: var(--lh-h3);
  margin: var(--space-1) 0;
}

.v-card__title a {
  color: var(--color-text-heading);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.v-card__title a:hover {
  color: var(--color-accent-primary);
}

.v-card__meta {
  font-size: var(--text-body-sm);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex-wrap: wrap;
}

.v-card__meta-sep {
  color: var(--color-border-strong);
}

.v-card__excerpt {
  color: var(--color-text-secondary);
  margin: var(--space-1) 0;
}

a.v-pill {
  text-decoration: none;
  color: var(--color-accent-primary);
}

.v-card__meta .v-pill {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
}

/* ---------- Visa info cards ---------- */

.v-visa-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gutter);
}

.v-container:has(.v-visa-cards-grid) .v-lead {
  margin-inline: 0;
}

.v-visa-card {
  box-shadow: var(--shadow-md);
}

.v-visa-card__top {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.v-visa-card__top .v-visa-card__toggle {
  order: 3;
}

.v-visa-card__title {
  font-family: var(--font-serif);
  font-size: var(--text-h4);
  margin-bottom: var(--space-1);
}

.v-visa-card__summary {
  font-size: var(--text-body-sm);
  color: var(--color-text-secondary);
}

.v-visa-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  column-gap: var(--space-1);
  margin-bottom: var(--space-2);
}

.v-visa-card__pill:not(.v-visa-card__pill--req) {
  flex: 1 1 auto;
  min-width: 0;
}

@media (min-width: 768px) {
  .v-visa-cards-grid {
    max-width: 720px;
  }

  .v-visa-card__top {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0 var(--space-3);
    align-items: start;
  }

  .v-visa-card__header {
    grid-column: 1;
    grid-row: 1;
  }

  .v-visa-card__top .v-visa-card__toggle {
    order: unset;
    grid-column: 1;
    grid-row: 2;
  }

  .v-visa-card__top .v-visa-card__pills {
    grid-column: 2;
    grid-row: 1 / -1;
    margin-bottom: 0;
  }

  .v-visa-card__pills {
    display: grid;
    grid-template-columns: repeat(3, auto);
    margin-bottom: 0;
  }

  .v-visa-card__pill--req {
    grid-column: 1 / -1;
  }
}

.v-visa-card__pill {
  display: flex;
  flex-direction: column;
  padding: 6px 3px 6px 6px;
  font-size: var(--text-body-sm);
  font-weight: 500;
  background: var(--color-accent-fjord-light);
  border-left: 2px solid var(--color-accent-fjord-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-secondary);
}

.v-visa-card__pill svg {
  flex-shrink: 0;
  color: var(--color-accent-primary);
}

.v-visa-card__pill-label {
  font-weight: 600;
  color: var(--color-fjord-600);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  line-height: 1;
  margin-bottom: 2px;
}

.v-visa-card__pill--req {
  flex-basis: 100%;
  background: var(--color-accent-gold-pill);
  border-left-color: var(--color-accent-gold);
  color: var(--color-text-heading);
}

.v-visa-card__pill--req .v-visa-card__pill-label {
  color: var(--color-gold-700);
}

.v-visa-card__toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: none;
  background: none;
  font-weight: 600;
  font-size: var(--text-body-sm);
  font-family: inherit;
  color: var(--color-accent-primary);
  cursor: pointer;
}

.v-visa-card__toggle-icon {
  color: var(--color-text-muted);
}

.v-visa-card__details {
  border-top: 1px solid var(--color-border-subtle);
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  font-size: var(--text-body-sm);
  color: var(--color-text-secondary);
}

/* ---------- Credentials bar ---------- */

.v-credentials {
  padding-block: var(--space-4);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.v-credentials__row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-size: var(--text-body-sm);
  color: var(--color-text-secondary);
}

.v-credentials__row + .v-credentials__row {
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-accent-gold-border);
  font-size: var(--text-body-sm);
  color: var(--color-text-secondary);
}

.v-credentials__label {
  font-weight: 600;
  text-transform: uppercase;
  font-size: var(--text-overline);
  letter-spacing: 0.15em;
  color: var(--color-text-secondary);
  margin-right: var(--space-3);
}

.v-credentials__item {
  padding-bottom: 4px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  letter-spacing: 0.02em;
}

.v-credentials__item + .v-credentials__item::before {
  content: "\00B7";
  color: var(--color-accent-gold);
  font-size: 1.5rem;
  vertical-align: middle;
  margin-inline: var(--space-2);
}

@media (max-width: 767px) {
  .v-credentials__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-1);
    text-align: center;
    justify-items: center;
  }

  .v-credentials__label {
    grid-column: 1 / -1;
  }

  .v-credentials__industries {
    grid-column: 1 / -1;
    text-align: center;
  }

  .v-credentials__item + .v-credentials__item::before {
    content: none;
  }
}

/* ---------- Accordion ---------- */

.v-accordion {
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--space-3);
}

@media (min-width: 768px) {
  .v-accordion {
    padding-right: var(--space-8);
  }
}

.v-accordion__item {
  border-bottom: 1px solid var(--color-border-subtle);
}

.v-accordion__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 6px 0;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: 500;
  color: var(--color-text-heading);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
}

.v-accordion__header::after {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-left: var(--space-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none'%3E%3Cpath d='M5 8l5 5 5-5' stroke='%236B7F95' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform var(--duration-fast) var(--ease-bounce);
}

.v-accordion__item--active {
  border-left: 3px solid var(--color-accent-gold);
  padding-left: var(--space-2);
}

.v-accordion__item--active .v-accordion__header {
  color: var(--color-accent-primary);
}

.v-accordion__item--active .v-accordion__header::after {
  transform: rotate(180deg);
}

.v-accordion__content {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--duration-normal) var(--ease-bounce);
}

.v-accordion__body {
  padding-bottom: var(--space-2);
  color: var(--color-text-secondary);
}

.v-accordion__item--active .v-accordion__content {
  transition: max-height 300ms var(--ease-decelerate);
}

/* Nested FAQ details within visa accordion */
.v-accordion__faqs {
  margin-top: var(--space-3);
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-border-subtle);
}

.v-accordion__faqs-heading {
  font-size: var(--text-body);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text-heading);
}

.v-faq-detail {
  border-bottom: 1px solid var(--color-border-subtle);
}

.v-faq-detail summary {
  padding: var(--space-1) 0;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--color-text-secondary);
}

.v-faq-detail summary::-webkit-details-marker {
  display: none;
}

.v-faq-detail summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: var(--text-h4);
  color: var(--color-text-muted);
  margin-left: var(--space-2);
}

.v-faq-detail[open] summary::after {
  content: '\2212';
}

.v-faq-detail__answer {
  padding-bottom: var(--space-2);
  color: var(--color-text-secondary);
  font-size: var(--text-body-sm);
  line-height: var(--lh-body);
}

/* ---------- Accordion open highlight ---------- */

@keyframes accordion-highlight {
  0% { background-color: var(--color-ice-50); }
  100% { background-color: transparent; }
}

.v-accordion__item--active .v-accordion__body {
  animation: accordion-highlight 800ms ease-out;
}

/* ---------- Navigation ---------- */

.v-nav {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  height: var(--nav-height);
  background-color: var(--color-surface-page);
  border-top: 1px solid var(--color-accent-gold);
  border-bottom: 1px solid var(--color-border-subtle);
}

.v-nav > .v-container {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  height: 100%;
}

@media (min-width: 768px) {
  .v-nav {
    padding-inline: var(--container-padding-tablet);
  }
}

.v-nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.v-nav__logo img {
  height: 40px;
  width: auto;
}

.v-nav__logo-text {
  font-family: var(--font-serif);
  font-size: var(--text-h4);
  font-weight: 400;
  color: var(--color-fjord-800);
  line-height: 0.95;
  max-width: 10ch;
}

.v-nav__links {
  display: none;
  align-items: center;
  gap: var(--space-3);
}

.v-nav__links a {
  font-size: var(--text-body-sm);
  font-weight: 600;
  line-height: 1;
  color: var(--color-text-secondary);
  transition: color var(--duration-fast) var(--ease-out);
}

.v-nav__links a:hover {
  color: var(--color-accent-primary);
}

.v-nav__links a[aria-current="page"],
.v-nav__links a.active {
  color: var(--color-accent-primary);
  border-bottom: 2px solid var(--color-accent-gold);
  padding-bottom: 2px;
}

.v-nav__cta {
  display: none;
}

/* Dropdown -- .v-dropdown is the <ul> submenu inside .v-nav__item--has-dropdown */
.v-nav__item--has-dropdown {
  position: relative;
}

.v-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: var(--z-dropdown);
  min-width: 220px;
  padding: var(--space-1) 0;
  margin: 0;
  background: var(--color-surface-page);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-fast) var(--ease-out),
              visibility var(--duration-fast) var(--ease-out);
}

.v-nav__item--has-dropdown:hover > .v-dropdown,
.v-nav__item--has-dropdown:focus-within > .v-dropdown {
  opacity: 1;
  visibility: visible;
}

.v-dropdown a {
  display: block;
  padding: var(--space-1) var(--space-2);
  font-size: var(--text-body-sm);
  white-space: nowrap;
}

.v-dropdown a:hover {
  background-color: var(--color-surface-light);
}

/* Nav actions (right side) */
.v-nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-left: auto;
}

.v-nav__search-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-secondary);
  padding: var(--space-1);
  display: flex;
  align-items: center;
}

.v-nav__search-toggle:hover {
  color: var(--color-accent-primary);
}

/* Language Switcher */
.v-lang-switcher {
  position: relative;
}

.v-lang-switcher__toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: var(--text-body-sm);
  font-weight: 600;
  color: var(--color-text-secondary);
  padding: var(--space-1);
}

.v-lang-switcher__toggle:hover {
  color: var(--color-accent-primary);
}

.v-lang-switcher__globe {
  margin-bottom: 2px;
  width: 16px;
  height: 16px;
}

.v-lang-switcher__options {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: var(--z-dropdown);
  min-width: 140px;
  padding: var(--space-1) 0;
  margin: 0;
  background: var(--color-surface-page);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-fast) var(--ease-out),
              visibility var(--duration-fast) var(--ease-out);
}

.v-lang-switcher.is-open .v-lang-switcher__options {
  opacity: 1;
  visibility: visible;
}

.v-lang-switcher__options a {
  display: block;
  padding: var(--space-1) var(--space-2);
  font-size: var(--text-body-sm);
}

.v-lang-switcher__options a:hover {
  background-color: var(--color-surface-light);
}

/* Hamburger toggle */
.v-nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

.v-nav__hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text-primary);
  border-radius: var(--radius-full);
  transition: transform var(--duration-fast) var(--ease-out),
              opacity var(--duration-fast) var(--ease-out);
}

/* Hamburger to X transform when mobile nav is open */
.menushown .v-nav__hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menushown .v-nav__hamburger-line:nth-child(2) {
  opacity: 0;
}

.menushown .v-nav__hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
/* When mobile menu is open, raise nav above the overlay so lang-switcher stays accessible */
.menushown .v-nav {
  z-index: calc(var(--z-overlay) + 1);
}

.v-nav-mobile {
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  z-index: var(--z-overlay);
  background: var(--color-overlay-dark);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--color-text-inverted);
  padding: var(--space-4) var(--container-padding-mobile);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--duration-normal) var(--ease-in-out);
}

.v-nav-mobile.is-open {
  transform: translateX(0);
}

.v-nav-mobile a {
  display: block;
  padding: var(--space-1) 0;
  font-size: var(--text-h4);
  font-weight: 500;
  color: var(--color-text-inverted);
  border-bottom: 1px solid var(--color-border-inverted);
}

.v-nav-mobile a:hover {
  color: var(--color-accent-gold);
}

.v-nav-mobile a.v-nav-mobile__sub {
  padding-left: var(--space-3);
  font-size: var(--text-body-sm);
  color: rgba(255, 255, 255, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.v-nav-mobile__cta {
  display: inline-block;
  margin-bottom: var(--space-3);
  padding: var(--button-padding) !important;
  background-color: var(--color-accent-primary);
  border-radius: var(--radius-sm);
  font-size: var(--text-body) !important;
  font-weight: 600;
  border-bottom: none !important;
}

.v-nav-mobile__cta:hover {
  background-color: var(--color-accent-primary-hover);
}

@media (min-width: 1024px) {
  .v-nav__logo-text {
    display: none;
  }

  .v-nav__links {
    display: flex;
  }

  .v-nav__cta {
    display: inline-flex;
    padding: 8px 18px;
    font-size: var(--text-body-sm);
    white-space: nowrap;
  }

  .v-nav__hamburger {
    display: none;
  }
}

/* ---------- Footer ---------- */

.v-footer {
  position: relative;
  overflow: hidden;
  background-color: var(--color-surface-dark);
  color: var(--color-text-inverted);
}

.v-footer h4,
.v-footer h3 {
  color: var(--color-text-inverted);
}

.v-footer__row {
  padding: var(--space-2) 0;
}

.v-footer__row--brand {
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--color-border-inverted);
  margin-bottom: var(--space-2);
}

.v-footer__row--brand .v-container {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.v-footer__logo-img {
  filter: brightness(0) invert(1);
  max-height: 48px;
  width: auto;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.v-footer__logo:hover .v-footer__logo-img {
  opacity: 0.8;
}

.v-footer__tagline {
  color: var(--color-slate-300);
  margin-top: 0;
  line-height: var(--lh-h4);
}

.v-footer__columns {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .v-footer__columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .v-footer__columns {
    grid-template-columns: repeat(4, 1fr);
  }
}

.v-footer__column-title {
  font-family: var(--font-serif);
  font-size: var(--text-body-sm);
  font-weight: 700;
  line-height: var(--lh-h4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: var(--space-2);
}

.v-footer__column-title--toggle {
  width: 100%;
  padding: 0;
  color: inherit;
  text-align: left;
  background: none;
  border: none;
}

/* Mobile footer accordion */
@media (max-width: 767px) {
  .v-footer__column-title--toggle {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .v-footer__column-title--toggle::after {
    content: '+';
    font-size: var(--text-body-lg);
    color: var(--color-slate-500);
    transition: transform var(--duration-fast) var(--ease-out);
  }

  .v-footer__column--open .v-footer__column-title--toggle::after {
    content: '\2212';
  }

  .v-footer__column-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-normal) var(--ease-out);
  }

  .v-footer__column--open .v-footer__column-list {
    max-height: 500px;
  }
}

.v-footer__column .v-footer__social {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.v-footer__social img {
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity var(--duration-fast);
}

.v-footer__social img:hover {
  opacity: 1;
  filter: brightness(0) invert(1) sepia(1) saturate(3) hue-rotate(10deg);
}

.v-footer__row--copyright {
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border-inverted);
}

.v-footer__copyright {
  font-size: var(--text-body-sm);
  color: var(--color-slate-400);
}

.v-footer a {
  font-size: var(--text-body-sm);
  color: var(--color-slate-300);
  transition: color var(--duration-fast) var(--ease-out);
}

.v-footer__column--social li {
  color: var(--color-slate-300);
  font-size: var(--text-body-sm);
}

.v-footer a:hover {
  color: var(--color-accent-gold);
}

/* ---------- Hero ---------- */

.v-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--hero-min-height);
  padding-block: var(--space-8);
  background-size: cover;
  background-position: center;
  color: var(--color-text-inverted);
  overflow: hidden;
}

.v-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(30, 42, 56, 0.65) 0%,
    rgba(30, 42, 56, 0.2) 100%
  );
}

.v-hero > * {
  position: relative;
  z-index: 1;
}

.v-hero h1,
.v-hero h2 {
  color: var(--color-text-inverted);
}

.v-hero:not(.v-hero--split) p {
  font-size: var(--text-h4);
  font-weight: 500;
  line-height: var(--lh-h4);
  text-shadow: 0 1px 12px rgba(30, 42, 56, 0.6), 0 1px 3px rgba(30, 42, 56, 0.4);
}

.v-hero:not(.v-hero--split) .v-hero__secondary {
  text-shadow: 0 1px 12px rgba(30, 42, 56, 0.6), 0 1px 3px rgba(30, 42, 56, 0.4);
}

.v-hero .v-overline {
  color: var(--color-accent-gold);
}

.v-hero .v-button--text {
  color: var(--color-text-inverted);
}

.v-hero .v-button--text:hover {
  color: var(--color-accent-gold);
}

.v-hero__secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-inverted-faint);
  font-weight: 500;
  font-size: var(--text-body-sm);
  transition: color var(--duration-fast) var(--ease-out);
}

.v-hero__secondary:hover {
  color: var(--color-accent-gold);
}

.v-hero__actions {
  margin-top: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.v-hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* Hero bottom fade */
.v-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--hero-fade-height);
  background: linear-gradient(to bottom, transparent 0%, var(--color-surface-page) 100%);
  z-index: 0;
  pointer-events: none;
}

/* Split hero */
.v-hero--split {
  min-height: auto;
  padding-block: 0;
  background: none;
  color: var(--color-text-primary);
}

.v-hero--split::before {
  display: none;
}

.v-hero--split__grid {
  display: grid;
  grid-template-columns: 1fr;
}

.v-hero--split h1,
.v-hero--split h2 {
  color: var(--color-text-heading);
}

.v-hero--split .v-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--container-padding-mobile);
  position: relative;
  z-index: 1;
}

.v-hero--split .v-hero__illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}

.v-hero--split .v-hero__illustration img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  mask-image:
    linear-gradient(to right, transparent, black 10%, black 90%, transparent),
    linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image:
    linear-gradient(to right, transparent, black 10%, black 90%, transparent),
    linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.v-article-hero-img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  mask-image:
    linear-gradient(to right, transparent, black 10%, black 90%, transparent),
    linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image:
    linear-gradient(to right, transparent, black 10%, black 90%, transparent),
    linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.v-article-disclaimer {
  margin-top: var(--space-6);
  padding: var(--space-2) 0 var(--space-2) var(--space-3);
  border-left: 3px solid var(--color-border-strong);
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ---------- Typographic overrides ---------- */

.v-hero h1 {
  font-size: 3.8rem;
  line-height: 1.08;
  max-width: 14ch;
}

.v-hero:not(.v-hero--split) h1 {
  text-shadow: 0 2px 24px rgba(30, 42, 56, 0.7), 0 1px 6px rgba(30, 42, 56, 0.5);
}

@media (min-width: 768px) {
  .v-hero--split__grid {
    grid-template-columns: 7fr 5fr;
    align-items: center;
  }

  .v-hero--split .v-hero__content {
    padding: var(--space-6) var(--container-padding-tablet);
  }
}

@media (max-width: 767px) {
  .v-hero--split .v-hero__illustration {
    display: none;
  }

  .v-hero h1 {
    font-size: 2.2rem;
  }
}

/* Pull quote style */
.v-pull-quote {
  font-family: var(--font-serif);
  font-size: var(--text-h3);
  font-style: italic;
  line-height: 1.4;
  color: var(--color-text-heading);
  text-align: center;
  max-width: min(var(--container-narrow), 100% - 2 * var(--container-padding-mobile));
  margin-block: var(--space-2);
  margin-inline: auto;
  padding: var(--space-4);
  background-color: var(--color-surface-page);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--color-accent-gold);
  box-shadow: var(--shadow-sm);
}

.v-pull-quote cite {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-body-sm);
  font-style: normal;
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}

.v-pricing-section .v-pull-quote {
  margin-top: var(--space-5);
}

/* ---------- Hero CTA premium accent ---------- */

.v-hero .v-button {
  padding: var(--button-padding-hero);
  border-bottom: 3px solid var(--color-accent-gold);
}

/* ---------- Scroll anchor bounce ---------- */

.v-hero__secondary svg,
.v-hero__secondary img {
  animation: bounce-down 1.5s ease-in-out infinite;
}

@keyframes bounce-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

blockquote {
  border-left: 3px solid var(--color-accent-gold);
  padding-left: var(--space-2);
}

.v-card--testimonial blockquote {
  border-left: none;
  padding-left: 0;
}

/* ---------- Trust Bar ---------- */

.v-trust-bar {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-block: var(--space-4);
}

@media (max-width: 767px) {
  .v-trust-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2);
    justify-items: center;
    padding-block: var(--space-3);
  }
}

.v-trust-bar img {
  height: var(--trust-bar-img-height);
  width: auto;
  opacity: 0.8;
  transition: filter var(--duration-fast) var(--ease-out),
              opacity var(--duration-fast) var(--ease-out);
}

.v-trust-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.v-trust-bar__rating {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  margin-top: 5px;
  font-size: var(--text-body-sm);
  font-weight: 600;
  color: var(--color-text-inverted);
  opacity: 0.85;
  text-decoration: none;
  transition: opacity var(--duration-fast) var(--ease-out);
}

a.v-trust-bar__rating:hover {
  opacity: 1;
  color: var(--color-text-inverted);
}

.v-trust-bar img {
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 6px rgba(0, 0, 0, 1));
  opacity: 1;
}

.v-trust-bar .v-trust-bar__google-logo {
  height: 23px;
}

.v-trust-bar .v-trust-bar__anwalt-logo {
  height: 35px;
}

.v-trust-bar__item > span {
  font-size: var(--text-body-sm);
  font-weight: 500;
  color: var(--color-text-inverted);
  opacity: 0.7;
}

/* ---------- Trust compact ---------- */

.v-trust-compact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  font-size: var(--text-overline);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
  flex-wrap: wrap;
  opacity: 0.85;
}

.v-cta-banner .v-trust-compact {
  color: rgba(250, 251, 252, 0.75);
}

.v-trust-compact__sep {
  color: var(--color-border-strong);
}

.v-cta-banner .v-trust-compact__sep {
  color: rgba(250, 251, 252, 0.3);
}

/* ---------- Pricing card ---------- */

.v-pricing-card {
  max-width: 600px;
  margin: 0 auto;
  border-top: 4px solid var(--color-accent-primary);
  text-align: center;
}

.v-pricing-card .v-overline {
  color: var(--color-accent-primary);
  margin-bottom: var(--space-1);
}

.v-pricing-card h3 {
  margin-bottom: var(--space-2);
}

.v-pricing-highlight {
  display: inline-block;
  background: var(--color-accent-gold-light);
  border-left: 3px solid var(--color-accent-gold);
  padding: var(--space-1) var(--space-2);
  margin: var(--space-3) 0;
  font-size: var(--text-body-lg);
  font-weight: 600;
  color: var(--color-text-heading);
}

/* ---------- Pricing section ---------- */

.v-pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gutter);
  margin-top: var(--space-3);
}

@media (min-width: 768px) {
  .v-pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.v-pricing-item {
  position: relative;
  padding: var(--space-4) var(--space-3) var(--space-3);
  border-top: 3px solid var(--color-accent-gold);
  background: var(--color-surface-page);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.v-pricing-item__number {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1;
  color: var(--color-accent-primary);
  opacity: 0.08;
  position: absolute;
  top: var(--space-1);
  right: var(--space-2);
  pointer-events: none;
  user-select: none;
}

.v-pricing-item h3 {
  font-size: var(--text-h4);
  margin-bottom: var(--space-1);
}

.v-pricing-item p {
  font-size: var(--text-body-sm);
  color: var(--color-text-secondary);
}

.v-pricing-note {
  margin-top: var(--space-3);
  font-size: var(--text-body-sm);
  color: var(--color-text-muted);
}

/* ---------- Breadcrumb ---------- */

.v-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-1);
  font-size: var(--text-body-sm);
  color: var(--color-text-muted);
}

.v-breadcrumb a {
  color: var(--color-text-secondary);
  transition: color var(--duration-fast) var(--ease-out);
}

.v-breadcrumb a:hover {
  color: var(--color-accent-primary);
}

/* ---------- Category Pill ---------- */

.v-pill {
  display: inline-block;
  padding: 4px 12px;
  font-size: var(--text-body-sm);
  font-weight: 500;
  line-height: var(--lh-body-sm);
  color: var(--color-accent-primary);
  background-color: var(--color-surface-light);
  border-radius: var(--radius-full);
}

/* ---------- Article filters ---------- */

.v-article-filters {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
  max-width: var(--container-narrow);
  margin-inline: auto;
}

.v-article-filters__tab {
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--color-text-secondary);
  font-family: inherit;
  font-size: var(--text-body-sm);
  font-weight: var(--font-weight-body);
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out);
}

.v-article-filters__tab:hover {
  border-color: var(--color-accent-primary);
  color: var(--color-accent-primary);
}

.v-article-filters__tab--active,
.v-article-filters__tab--active:hover {
  background: var(--color-accent-primary);
  border-color: var(--color-accent-primary);
  color: var(--color-text-inverted);
}

.v-card--article[hidden] {
  display: none;
}

/* ---------- Visa guide ---------- */

.v-visa-guide .v-lead {
  margin-inline: 0;
}

.v-visa-guide__list {
  display: grid;
  gap: 0;
  max-width: var(--container-narrow);
}

.v-visa-guide__item {
  display: grid;
  grid-template-columns: 1fr 1.2em 1fr;
  gap: var(--space-2);
  align-items: first baseline;
  padding: var(--space-1) 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

.v-visa-guide__item:last-child {
  border-bottom: none;
}

.v-visa-guide__situation {
  color: var(--color-text-secondary);
  font-size: var(--text-body-sm);
}

.v-visa-guide__arrow {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-body-sm);
  text-align: center;
}

.v-visa-guide__visa {
  margin: 0;
  font-weight: 600;
  font-size: var(--text-body-sm);
}

.v-visa-guide__visa a {
  color: var(--color-accent-primary);
  text-decoration: none;
}

.v-visa-guide__visa a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .v-visa-guide__item {
    grid-template-columns: 1fr 1em 1fr;
    gap: var(--space-1);
    font-size: var(--text-caption);
  }

  .v-visa-guide__situation,
  .v-visa-guide__arrow,
  .v-visa-guide__visa {
    font-size: var(--text-caption);
  }
}

/* ---------- CTA Banner ---------- */

.v-cta-banner {
  position: relative;
  padding-block: var(--space-8);
  background-image:
    linear-gradient(135deg, rgba(42, 107, 107, 0.78) 0%, rgba(45, 74, 64, 0.72) 60%, rgba(30, 42, 56, 0.85) 100%),
    url('/images/illustrations/contact-header.png');
  background-size: cover, cover;
  color: var(--color-text-inverted);
  text-align: center;
  overflow: hidden;
}

.v-cta-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 20%, var(--color-accent-gold) 50%, transparent 80%);
  opacity: 0.4;
}

.v-cta-banner h2,
.v-cta-banner h3 {
  color: var(--color-text-inverted);
}

.v-cta-banner .v-container {
  position: relative;
  z-index: 1;
}

.v-cta-banner .v-button {
  margin-top: var(--space-3);
}


/* Contact page toggle */
.v-contact-toggle {
  display: inline-flex;
  background: var(--color-surface-light);
  border-radius: 24px;
  padding: 3px;
  margin-top: var(--space-3);
}

.v-contact-toggle__option {
  padding: 10px 24px;
  border-radius: 20px;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-family: inherit;
  font-size: var(--text-body-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out);
}

.v-contact-toggle__option--active {
  background: var(--color-accent-primary);
  color: var(--color-text-inverted);
}

.v-contact-helper {
  font-size: var(--text-body-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}

.v-calendar-embed {
  margin-top: var(--space-3);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
  overflow: hidden;
  max-width: var(--container-form);
  margin-left: auto;
  margin-right: auto;
}

.v-calendar-embed iframe {
  display: block;
  width: 100%;
  min-height: 1100px;
  border: none;
}

.v-contact-form-panel {
  margin-top: var(--space-3);
  max-width: var(--container-form);
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

@media (max-width: 599px) {
  .v-contact-toggle {
    display: flex;
  }

  .v-contact-toggle__option {
    flex: 1;
    text-align: center;
    padding: 10px 16px;
  }

  .v-calendar-embed iframe {
    min-height: 1700px;
  }
}

/* ---------- Testimonial Carousel ---------- */

.v-carousel {
  position: relative;
  margin-top: var(--space-4);
}

.v-carousel__track {
  display: flex;
  gap: var(--grid-gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;  /* Firefox */
  padding: var(--space-1) var(--space-2);
  scroll-padding-inline: var(--space-2);
}

.v-carousel__track::-webkit-scrollbar {
  display: none;
}

.v-carousel__card {
  scroll-snap-align: start;
  flex-shrink: 0;
  display: flex;
  min-width: 320px;
  width: calc(33.333% - var(--grid-gutter) * 2 / 3);
}

/* Prev/Next buttons overlay the carousel on the sides */
.v-carousel__prev,
.v-carousel__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--carousel-button-size);
  height: var(--carousel-button-size);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-full);
  background: var(--color-surface-page);
  color: var(--color-text-secondary);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: border-color var(--duration-fast) var(--ease-out),
              color       var(--duration-fast) var(--ease-out),
              opacity      var(--duration-fast) var(--ease-out);
}

.v-carousel__prev {
  left: -20px;
}

.v-carousel__next {
  right: -20px;
}

@media (max-width: 1023px) {
  .v-carousel__card {
    width: calc(50% - var(--grid-gutter) / 2);
  }

  .v-carousel__prev {
    left: 0;
  }
  .v-carousel__next {
    right: 0;
  }
}

@media (max-width: 767px) {
  .v-carousel__card {
    width: 85%;
  }
}

.v-carousel__prev:hover,
.v-carousel__next:hover {
  border-color: var(--color-accent-primary);
  color: var(--color-accent-primary);
}

.v-carousel__prev:disabled,
.v-carousel__next:disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* Controls row (dots only, centered below the track) */
.v-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-3);
}

.v-carousel__dots {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.v-carousel__dot {
  display: block;
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: var(--radius-full);
  background-color: var(--color-border-strong);
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-out),
              width            var(--duration-fast) var(--ease-out);
}

.v-carousel__dot--active {
  width: 24px;
  background-color: var(--color-accent-primary);
}

/* ---------- Star Rating ---------- */

.v-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--color-accent-gold);
}

.v-hero .v-stars {
  text-shadow: 0 2px 24px rgba(30, 42, 56, 0.7), 0 1px 6px rgba(30, 42, 56, 0.5);
}

.v-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ---------- Process Timeline ---------- */

/* Process timeline -- vertical stepper with alternating layout */
.v-process {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.v-process__phase {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  padding: var(--space-4) 0;
}

.v-process__illustration img,
.v-process__illustration video {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  mask-image:
    linear-gradient(to right, transparent, black 10%, black 90%, transparent),
    linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image:
    linear-gradient(to right, transparent, black 10%, black 90%, transparent),
    linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  mask-composite: intersect;
  -webkit-mask-composite: destination-in;
}

.v-process__content {
  position: relative;
  z-index: 1;
}

.v-process__content h3 {
  margin-bottom: var(--space-2);
}

.v-process__content .v-overline {
  font-size: 0.8rem;
  margin-bottom: var(--space-1);
}

.v-process__content li {
  margin-bottom: var(--space-2);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .v-process__phase {
    grid-template-columns: 5fr 7fr;
    align-items: center;
  }

  .v-process__phase--left .v-process__illustration { order: 1; }
  .v-process__phase--left .v-process__content { order: 2; }

  .v-process__phase--right .v-process__content { order: 1; }
  .v-process__phase--right .v-process__illustration { order: 2; }

  .v-process__phase--left .v-process__illustration {
    margin-right: calc(-1 * var(--space-6));
  }

  .v-process__phase--right .v-process__illustration {
    margin-left: calc(-1 * var(--space-6));
  }
}

@media (max-width: 767px) {
  .v-process__phase--left .v-process__illustration {
    order: 2;
  }

  .v-process__phase--left .v-process__content {
    order: 1;
  }

  .v-process__illustration {
    margin-block: calc(-1 * var(--space-6));
  }
}

/* ---------- Prose spacing (for rendered markdown in narrow containers) ---------- */

.v-container--narrow h2 {
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
}

.v-container--narrow h2:first-child {
  margin-top: 0;
}

.v-container--narrow h3 {
  margin-top: var(--space-4);
  margin-bottom: var(--space-1);
}

.v-container--narrow p {
  margin-bottom: var(--space-2);
}

.v-container--narrow img.is_svg {
  display: block;
  width: 100%;
  margin: var(--space-4) 0;
  padding: var(--space-3);
  border: 1px solid var(--color-accent-fjord-border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, var(--color-surface-page) 0%, var(--color-surface-light) 100%);
  box-shadow: var(--shadow-sm);
}

.v-container--narrow .mermaid {
  margin: var(--space-4) 0;
  padding: var(--space-3);
  border: 1px solid var(--color-accent-fjord-border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, var(--color-surface-page) 0%, var(--color-surface-light) 100%);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}

.v-container--narrow .v-mermaid-preview {
  margin: var(--space-4) 0;
}

.v-container--narrow .v-mermaid-preview__header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-1);
  margin-bottom: var(--space-2);
}

.v-container--narrow .v-mermaid-preview__title {
  font-size: var(--text-overline);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.v-container--narrow .v-mermaid-preview__frame {
  position: relative;
  max-height: 220px;
  overflow: hidden;
  cursor: pointer;
  transition: max-height var(--duration-normal) var(--ease-decelerate);
}

.v-container--narrow .v-mermaid-preview__frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 88px;
  background: linear-gradient(
    180deg,
    rgba(250, 251, 252, 0) 0%,
    rgba(250, 251, 252, 0.82) 55%,
    rgba(250, 251, 252, 1) 100%
  );
  pointer-events: none;
}

.v-container--narrow .v-mermaid-preview--expanded .v-mermaid-preview__frame {
  max-height: none;
  cursor: default;
}

.v-container--narrow .v-mermaid-preview--expanded .v-mermaid-preview__frame::after {
  display: none;
}

.v-container--narrow .v-mermaid-preview__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  margin-left: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--color-text-heading);
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out);
}

.v-container--narrow .v-mermaid-preview__toggle:active {
  transform: scale(0.97);
}

.v-container--narrow .v-mermaid-preview__toggle:hover {
  color: var(--color-accent-primary);
}

.v-container--narrow .v-mermaid-preview__toggle-icon {
  width: 1rem;
  height: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%233A5066' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform var(--duration-fast) var(--ease-bounce);
}

.v-container--narrow .v-mermaid-preview--expanded .v-mermaid-preview__toggle-icon {
  transform: rotate(180deg);
}

.v-container--narrow .v-mermaid-preview .mermaid {
  margin: 0;
}

.v-container--narrow .mermaid svg {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .v-container--narrow .mermaid {
    max-width: 30rem;
    margin-left: auto;
    margin-right: auto;
  }

  .v-container--narrow .v-mermaid-preview__title {
    font-size: 0.72rem;
  }

  .v-container--narrow .v-mermaid-preview__frame {
    max-height: 340px;
  }
}

.v-container--narrow ul,
.v-container--narrow ol {
  margin-bottom: var(--space-2);
  padding-left: var(--space-3);
  list-style: disc;
}

.v-container--narrow li {
  margin-bottom: var(--space-1);
}

/* ---------- Prose tables (article content) ---------- */

.v-container--narrow .v-table-wrapper {
  margin: var(--space-4) 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.v-container--narrow .v-table-scroll-hint + .v-table-wrapper {
  margin-top: 0;
}

.v-container--narrow .v-table-scroll-hint {
  display: none;
  font-size: var(--text-caption);
  color: var(--color-text-muted);
  text-align: right;
  margin-bottom: 4px;
}

.v-container--narrow table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-body-sm);
}

.v-container--narrow thead {
  background: var(--color-surface-light);
  border-bottom: 2px solid var(--color-border-subtle);
}

.v-container--narrow th {
  text-align: left;
  padding: var(--space-1) var(--space-2);
  font-weight: 650;
  color: var(--color-text-heading);
  font-size: var(--text-caption);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.v-container--narrow td {
  padding: var(--space-1) var(--space-2);
  border-bottom: 1px solid var(--color-border-subtle);
  color: var(--color-text-secondary);
}

.v-container--narrow tbody tr:last-child td {
  border-bottom: none;
}

.v-container--narrow tbody tr:hover {
  background: var(--color-accent-fjord-light);
}

/* ---------- Definition lists (article content) ---------- */

.v-container--narrow dl {
  margin: var(--space-3) 0;
}

.v-container--narrow dt {
  font-weight: 650;
  color: var(--color-text-heading);
  font-size: var(--text-body-sm);
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.v-container--narrow dt::before {
  content: '';
  width: 3px;
  height: 16px;
  background: var(--color-accent-primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.v-container--narrow dd {
  color: var(--color-text-secondary);
  font-size: var(--text-body-sm);
  margin-left: 11px;
  padding-left: var(--space-2);
  padding-bottom: var(--space-2);
  border-left: 1px solid var(--color-border-subtle);
  line-height: 1.5;
}

.v-container--narrow dd:last-child {
  padding-bottom: 0;
}

/* ---------- Callout boxes (blockquote alerts) ---------- */

.v-callout {
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
  margin: var(--space-3) 0;
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  font-size: var(--text-body-sm);
  line-height: 1.5;
}

.v-callout__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
}

.v-callout__label {
  font-weight: 650;
  font-size: var(--text-caption);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-1);
}

.v-callout p {
  margin-bottom: 0;
}

.v-callout--tip {
  background: var(--color-accent-fjord-light);
  border: 1px solid var(--color-accent-fjord-border);
}

.v-callout--tip .v-callout__icon,
.v-callout--tip .v-callout__label {
  color: var(--color-accent-primary);
}

.v-callout--note {
  background: var(--color-accent-fjord-light);
  border: 1px solid var(--color-accent-fjord-border);
}

.v-callout--note .v-callout__icon,
.v-callout--note .v-callout__label {
  color: var(--color-accent-primary);
}

.v-callout--warning {
  background: var(--color-accent-gold-light);
  border: 1px solid var(--color-accent-gold-border);
}

.v-callout--warning .v-callout__icon,
.v-callout--warning .v-callout__label {
  color: var(--color-gold-700);
}

.v-callout--caution,
.v-callout--important {
  background: rgba(184, 64, 64, 0.05);
  border: 1px solid rgba(184, 64, 64, 0.2);
}

.v-callout--caution .v-callout__icon,
.v-callout--caution .v-callout__label,
.v-callout--important .v-callout__icon,
.v-callout--important .v-callout__label {
  color: var(--color-error);
}

/* ---------- Highlight / Takeaway box ---------- */

.v-highlight {
  background: var(--color-surface-light);
  border: 1px solid var(--color-border-subtle);
  border-left: 3px solid var(--color-accent-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-3);
  margin: var(--space-3) 0;
}

.v-highlight__label {
  font-size: var(--text-caption);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent-primary);
  font-weight: 650;
  margin-bottom: var(--space-1);
}

.v-highlight p {
  font-size: var(--text-body-sm);
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin-bottom: 0;
}

.v-highlight ul {
  padding-left: var(--space-3);
  font-size: var(--text-body-sm);
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

.v-highlight li {
  margin-bottom: var(--space-1);
}

.v-highlight li:last-child {
  margin-bottom: 0;
}

.v-highlight--gold {
  border-left-color: var(--color-accent-gold);
}

.v-highlight--gold .v-highlight__label {
  color: var(--color-gold-700);
}

/* ---------- Key figures / stats strip ---------- */

.v-key-figures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-2);
  margin: var(--space-4) 0;
}

.v-key-figure {
  text-align: center;
  padding: var(--space-2);
  background: var(--color-surface-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
}

.v-key-figure__value {
  font-family: var(--font-serif);
  font-size: var(--text-h3);
  color: var(--color-accent-primary);
  line-height: 1.2;
  margin-bottom: var(--space-1);
}

.v-key-figure__label {
  font-size: var(--text-caption);
  color: var(--color-text-muted);
  line-height: 1.3;
}

/* ---------- Scenario cards ---------- */

.v-scenarios {
  display: grid;
  gap: var(--space-2);
  margin: var(--space-4) 0;
}

.v-scenario {
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  background: var(--color-surface-page);
}

.v-scenario__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--color-accent-fjord-light);
  border: 1px solid var(--color-accent-fjord-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.v-scenario__icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-accent-primary);
  fill: none;
  stroke-width: 2;
}

.v-scenario__if {
  font-weight: 650;
  font-size: var(--text-body-sm);
  color: var(--color-text-heading);
  margin-bottom: 3px;
}

.v-scenario__then {
  font-size: var(--text-body-sm);
  color: var(--color-text-muted);
  line-height: 1.45;
}

.v-scenario__then strong {
  color: var(--color-accent-primary);
  font-weight: 600;
}

@media (max-width: 480px) {
  .v-scenario {
    flex-direction: column;
    gap: var(--space-1);
  }
}

/* ---------- Timeline / process steps (article content) ---------- */

.v-timeline {
  list-style: none;
  margin: var(--space-4) 0;
  padding-left: 0;
  position: relative;
}

.v-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--color-border-subtle);
}

.v-timeline li {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  position: relative;
  padding-bottom: var(--space-2);
  margin-bottom: 0;
}

.v-timeline li:last-child {
  padding-bottom: 0;
}

.v-timeline__marker {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-accent-primary);
  color: var(--color-text-inverted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-caption);
  font-weight: 700;
  z-index: 1;
}

.v-timeline__content h4 {
  font-weight: 650;
  font-size: var(--text-body-sm);
  color: var(--color-text-heading);
  margin-bottom: 2px;
}

.v-timeline__content p {
  font-size: var(--text-body-sm);
  color: var(--color-text-muted);
  line-height: 1.45;
  margin-bottom: 0;
}

/* ---------- Team member ---------- */

.v-team-member {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-5);
  align-items: start;
  margin: var(--space-5) 0;
}

@media (max-width: 767px) {
  .v-team-member { grid-template-columns: 1fr; }
}

.v-team-member__photo {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.v-credentials-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-1) var(--space-3);
  margin-top: var(--space-3);
  font-size: var(--text-body-sm);
}

.v-credentials-list dt {
  font-weight: 600;
  color: var(--color-text-heading);
}

.v-credentials-list dd {
  color: var(--color-text-secondary);
}

@media (min-width: 768px) {
  .v-credentials-list {
    display: block;
  }

  .v-credentials-list dt {
    margin-top: var(--space-2);
  }

  .v-credentials-list dt:first-child {
    margin-top: 0;
  }

  .v-credentials-list dd {
    margin-bottom: 0;
  }
}

/* Service link cards grid (us-immigration index) */
.v-service-cards-grid {
  margin-top: var(--space-4);
}

.v-service-link-card .v-overline {
  color: var(--color-accent-primary);
  margin-bottom: var(--space-1);
}

.v-service-link-card h3 {
  margin-bottom: var(--space-2);
}

.v-service-link-card p {
  color: var(--color-text-secondary);
  font-size: var(--text-body-sm);
}

/* ---------- Numbered steps ---------- */

.v-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-top: var(--space-3);
}

.v-steps__item {
  display: grid;
  grid-template-columns: 2ch 1fr;
  gap: 0 var(--space-4);
  align-items: start;
}

.v-steps__number {
  grid-row: 1 / 3;
  font-size: 2rem;
  font-weight: 200;
  color: var(--color-accent-primary);
  line-height: 1;
}

.v-steps__heading {
  font-weight: 700;
}

.v-steps__body {
  grid-column: 2;
  color: var(--color-text-secondary);
  font-size: var(--text-body-sm);
  margin: 0;
}

/* ---------- Values grid ---------- */

.v-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: var(--space-2) 0;
}

@media (max-width: 767px) {
  .v-values-grid { grid-template-columns: 1fr; }
}

.v-value-card {
  text-align: center;
}

.v-value-card img {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-2);
  opacity: 0.8;
}

/* ---------- Stat bar ---------- */

.v-stat-bar {
  display: flex;
  justify-content: center;
  gap: var(--space-6);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  margin: var(--space-2) 0;
  flex-wrap: wrap;
}

.v-stat {
  text-align: center;
}

.v-stat__number {
  font-family: var(--font-serif);
  font-size: var(--text-h2);
  color: var(--color-accent-primary);
  display: block;
}

.v-stat__label {
  font-size: var(--text-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

/* ==========================================================================
   6. UTILITIES
   ========================================================================== */

.v-br-mobile {
  display: none;
}

@media (max-width: 767px) {
  .v-br-mobile {
    display: block;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.v-lead {
  font-size: var(--text-body-lg);
  line-height: var(--lh-body-lg);
  color: var(--color-text-secondary);
  margin-top: var(--space-2);
  max-width: var(--container-narrow);
  margin-inline: auto;
}

.v-meta {
  display: block;
  font-size: var(--text-body-sm);
  color: var(--color-text-muted);
}

h1 + .v-meta {
  margin-top: var(--space-2);
}

.v-meta--secondary {
  display: block;
  font-size: var(--text-caption);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

.v-section--light .v-container--narrow .v-button {
  margin-top: var(--space-4);
}

.v-text-center { text-align: center; }

.v-mt-1  { margin-top: var(--space-1); }
.v-mt-4  { margin-top: var(--space-4); }


/* ==========================================================================
   SCROLL INDICATOR
   ========================================================================== */

.v-scroll-indicator {
  position: fixed;
  right: 16px;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--color-border-subtle);
  z-index: var(--z-sticky);
  pointer-events: none;
}

.v-scroll-indicator__fill {
  width: 100%;
  height: 100%;
  background: var(--color-accent-primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 50ms linear;
}

@media (max-width: 1023px) {
  .v-scroll-indicator { display: none; }
}

/* ==========================================================================
   7. ANIMATIONS (gated behind prefers-reduced-motion)
   ========================================================================== */

/* --- Scroll-triggered entrance animations (data-animate) --- */

@media (prefers-reduced-motion: no-preference) {
  [data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--duration-slow) var(--ease-out),
                transform var(--duration-slow) var(--ease-out);
  }

  [data-animate].v-animate--visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Prevent data-animate inside hero from conflicting with hero entrance */
  .v-hero [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- Hero page-load entrance choreography --- */

@media (prefers-reduced-motion: no-preference) {
  .v-hero:not(.v-hero--split) .v-hero__heading,
  .v-hero:not(.v-hero--split) .v-hero__subhead,
  .v-hero:not(.v-hero--split) .v-hero__actions,
  .v-hero:not(.v-hero--split) .v-trust-bar {
    opacity: 0;
    transform: translateY(20px);
  }

  .v-hero--loaded .v-hero__heading {
    animation: hero-enter 600ms var(--ease-out) 100ms forwards;
  }
  .v-hero--loaded .v-hero__subhead {
    animation: hero-enter 600ms var(--ease-out) 250ms forwards;
  }
  .v-hero--loaded .v-hero__actions {
    animation: hero-enter 600ms var(--ease-out) 400ms forwards;
  }
  .v-hero--loaded .v-trust-bar {
    animation: hero-enter var(--duration-slow) var(--ease-out) 550ms forwards;
  }
}

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Cursor glow on dark sections --- */

.v-cursor-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms var(--ease-out);
  background: radial-gradient(
    450px circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(212, 168, 84, 0.2),
    transparent 70%
  );
  z-index: 0;
}

/* --- Animated shimmer border on audience cards --- */

@media (prefers-reduced-motion: no-preference) {
  .v-card--audience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: linear-gradient(
      90deg,
      var(--color-accent-gold) 0%,
      #f0d99a 45%,
      var(--color-accent-gold) 55%,
      var(--color-accent-gold) 100%
    );
    background-size: 200% 100%;
    background-position: 100% 0;
    z-index: 3;
    transition: background-position var(--duration-normal) var(--ease-out);
  }

  .v-card--audience:hover::before {
    background-position: 0 0;
  }

  a.v-card--audience {
    border: none;
  }
}

/* --- Reduced motion: disable all animations --- */

@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .v-hero:not(.v-hero--split) .v-hero__heading,
  .v-hero:not(.v-hero--split) .v-hero__subhead,
  .v-hero:not(.v-hero--split) .v-hero__actions,
  .v-hero:not(.v-hero--split) .v-trust-bar {
    opacity: 1;
    transform: none;
  }

  .v-hero__secondary svg,
  .v-hero__secondary img {
    animation: none;
  }
}
