/* MULITMEDIA website styles */
:root {
  /* Brand foundation (Dark is the default/baseline look — unchanged from
     before the Phase 1 theme system; see the data-theme/media-query
     blocks below for the Light equivalents). */
  --brand-ink: #080c12;
  --brand-navy: #0b111b;
  --brand-charcoal: #111a27;
  --brand-panel: #151f2d;
  --brand-gold: #efa007;
  --brand-gold-bright: #ffb31a;
  --brand-gold-soft: rgba(239, 160, 7, 0.14);
  --brand-text: #f7f8fa;
  --brand-text-muted: #aab6c6;
  --brand-border: rgba(210, 221, 235, 0.12);
  --brand-border-strong: rgba(239, 160, 7, 0.35);
  --surface-header: rgba(8, 12, 18, 0.82);
  --surface-header-scrolled: rgba(8, 12, 18, 0.96);
  --focus-ring: #ffbd3d;
  --shadow-dark: 0 24px 70px rgba(0, 0, 0, 0.34);
  --transition-fast: 160ms ease;
  --transition-base: 220ms ease;

  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
  --container: 74rem;
  --header-height: 5.25rem;

  /* Theme-aware surface/overlay tokens (Phase 1). These replace colors
     that used to be hardcoded directly in component rules so that Light
     Mode can give each one a real, theme-appropriate value instead of
     everything just inverting automatically. Values here = current/dark
     baseline, unchanged. --on-accent, the gold tokens, --brand-border-strong
     and --shadow-dark are intentionally the same in both themes (dark text
     reads correctly on the gold accent in either theme; gold/shadow accents
     already look consistent on light or dark surfaces), so they are not
     repeated in the theme override blocks below. */
  --on-accent: #080c12;
  --overlay-soft: rgba(255, 255, 255, 0.035);
  --overlay-soft-strong: rgba(255, 255, 255, 0.07);
  --overlay-faint: rgba(255, 255, 255, 0.025);
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-strong: rgba(255, 255, 255, 0.22);
  --grid-line: rgba(210, 221, 235, 0.028);
  --hero-fade: rgba(8, 12, 18, 0.88);
  --surface-panel-strong: rgba(8, 12, 18, 0.98);
  --surface-float: rgba(17, 26, 39, 0.9);
  --hero-visual-a: rgba(21, 31, 45, 0.9);
  --hero-visual-b: rgba(8, 12, 18, 0.68);
  --hero-bg-end: #0d1521;
  --visual-core-highlight: #202c3b;
  --visual-core-shadow: #0d141e;
  --text-muted-soft: #c2cad4;
  --text-muted-dim: #8996a6;
  --text-muted-faint: #7f8c9c;
}

/* Explicit Dark re-assertion: a manually-chosen Dark theme must win over
   the device's own light preference. Attribute selectors are more
   specific than a bare :root, so this always outranks the
   prefers-color-scheme block below regardless of source order. Values
   are identical to the base :root above (today's look, unchanged). */
:root[data-theme="dark"] {
  --brand-ink: #080c12;
  --brand-navy: #0b111b;
  --brand-charcoal: #111a27;
  --brand-panel: #151f2d;
  --brand-text: #f7f8fa;
  --brand-text-muted: #aab6c6;
  --brand-border: rgba(210, 221, 235, 0.12);
  --surface-header: rgba(8, 12, 18, 0.82);
  --surface-header-scrolled: rgba(8, 12, 18, 0.96);
  --focus-ring: #ffbd3d;
  --overlay-soft: rgba(255, 255, 255, 0.035);
  --overlay-soft-strong: rgba(255, 255, 255, 0.07);
  --overlay-faint: rgba(255, 255, 255, 0.025);
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-strong: rgba(255, 255, 255, 0.22);
  --grid-line: rgba(210, 221, 235, 0.028);
  --hero-fade: rgba(8, 12, 18, 0.88);
  --surface-panel-strong: rgba(8, 12, 18, 0.98);
  --surface-float: rgba(17, 26, 39, 0.9);
  --hero-visual-a: rgba(21, 31, 45, 0.9);
  --hero-visual-b: rgba(8, 12, 18, 0.68);
  --hero-bg-end: #0d1521;
  --visual-core-highlight: #202c3b;
  --visual-core-shadow: #0d141e;
  --text-muted-soft: #c2cad4;
  --text-muted-dim: #8996a6;
  --text-muted-faint: #7f8c9c;
}

/* System (no manual choice stored) on a device set to light: the page
   follows the OS live, with zero JS, via this media query alone. Deliberate
   Light Mode design — navy/charcoal text, warm off-white/near-white
   surfaces, the same amber/gold accent — not a naive color inversion. */
@media (prefers-color-scheme: light) {
  :root {
    --brand-ink: #f7f4ee;
    --brand-navy: #f0ebdf;
    --brand-charcoal: #eae3d3;
    --brand-panel: #fffdf9;
    --brand-text: #13202f;
    --brand-text-muted: #4b5768;
    --brand-border: rgba(19, 32, 47, 0.14);
    --surface-header: rgba(247, 244, 238, 0.82);
    --surface-header-scrolled: rgba(247, 244, 238, 0.96);
    --focus-ring: #a9640a;
    --overlay-soft: rgba(19, 32, 47, 0.05);
    --overlay-soft-strong: rgba(19, 32, 47, 0.09);
    --overlay-faint: rgba(19, 32, 47, 0.035);
    --hairline: rgba(19, 32, 47, 0.12);
    --hairline-strong: rgba(19, 32, 47, 0.18);
    --grid-line: rgba(19, 32, 47, 0.05);
    --hero-fade: rgba(247, 244, 238, 0.88);
    --surface-panel-strong: rgba(247, 244, 238, 0.98);
    --surface-float: rgba(255, 253, 249, 0.92);
    --hero-visual-a: rgba(255, 253, 249, 0.9);
    --hero-visual-b: rgba(240, 235, 223, 0.6);
    --hero-bg-end: #ece4d2;
    --visual-core-highlight: #fffdf9;
    --visual-core-shadow: #e4dcc8;
    --text-muted-soft: #3c4759;
    --text-muted-dim: #5b6677;
    --text-muted-faint: #626c7b;
  }
}

/* Explicit Light re-assertion: a manually-chosen Light theme must win over
   the device's own dark preference, regardless of the media query above —
   same reasoning as the explicit Dark block, mirrored for Light. */
:root[data-theme="light"] {
  --brand-ink: #f7f4ee;
  --brand-navy: #f0ebdf;
  --brand-charcoal: #eae3d3;
  --brand-panel: #fffdf9;
  --brand-text: #13202f;
  --brand-text-muted: #4b5768;
  --brand-border: rgba(19, 32, 47, 0.14);
  --surface-header: rgba(247, 244, 238, 0.82);
  --surface-header-scrolled: rgba(247, 244, 238, 0.96);
  --focus-ring: #a9640a;
  --overlay-soft: rgba(19, 32, 47, 0.05);
  --overlay-soft-strong: rgba(19, 32, 47, 0.09);
  --overlay-faint: rgba(19, 32, 47, 0.035);
  --hairline: rgba(19, 32, 47, 0.12);
  --hairline-strong: rgba(19, 32, 47, 0.18);
  --grid-line: rgba(19, 32, 47, 0.05);
  --hero-fade: rgba(247, 244, 238, 0.88);
  --surface-panel-strong: rgba(247, 244, 238, 0.98);
  --surface-float: rgba(255, 253, 249, 0.92);
  --hero-visual-a: rgba(255, 253, 249, 0.9);
  --hero-visual-b: rgba(240, 235, 223, 0.6);
  --hero-bg-end: #ece4d2;
  --visual-core-highlight: #fffdf9;
  --visual-core-shadow: #e4dcc8;
  --text-muted-soft: #3c4759;
  --text-muted-dim: #5b6677;
  --text-muted-faint: #626c7b;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  color: var(--brand-text);
  background: var(--brand-ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 2.5rem), var(--container));
  margin-inline: auto;
}

.section {
  padding: 7.5rem 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  color: var(--on-accent);
  background: var(--brand-gold);
  border-radius: 0.5rem;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.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;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.25rem;
  color: var(--brand-gold-bright);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 1.8rem;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
}

h1,
h2 {
  letter-spacing: -0.045em;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.75rem;
  color: var(--brand-text);
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 750;
}

h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.25rem, 4.5vw, 4.25rem);
  font-weight: 750;
}

h1 em,
h2 em {
  color: var(--brand-gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: var(--header-height);
  color: var(--brand-text);
  background: var(--surface-header);
  border-bottom: 1px solid var(--brand-border);
  backdrop-filter: blur(18px) saturate(130%);
  transition: box-shadow var(--transition-base), background-color var(--transition-base), border-color var(--transition-base);
}

.site-header.is-scrolled {
  background: var(--surface-header-scrolled);
  border-color: rgba(239, 160, 7, 0.16);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.brand-logo-symbol,
.brand-logo-wordmark {
  width: auto;
  height: 2.75rem;
}

/* Two wordmark assets (light-ink for Dark Mode, navy-ink for Light Mode —
   same symbol, same kerning, only the extracted text color differs; see
   assets/logo-wordmark.png / assets/logo-wordmark-light.png). Exactly one
   is ever displayed, so this never shifts the logo's layout — it behaves
   like the single wordmark image that was here before, just theme-aware.
   Dark is the baseline (matches the dark-is-default token cascade above),
   so only the Light-mode cases need a rule. */
.brand-logo-wordmark-light {
  display: none;
}

@media (prefers-color-scheme: light) {
  .brand-logo-wordmark-dark {
    display: none;
  }

  .brand-logo-wordmark-light {
    display: block;
  }
}

:root[data-theme="light"] .brand-logo-wordmark-dark {
  display: none;
}

:root[data-theme="light"] .brand-logo-wordmark-light {
  display: block;
}

.brand-logo-footer {
  gap: 0.8125rem;
}

.brand-logo-footer .brand-logo-symbol,
.brand-logo-footer .brand-logo-wordmark {
  height: 3.4375rem;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.8vw, 1.8rem);
}

.primary-navigation a {
  position: relative;
  color: var(--brand-text-muted);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  transition: color var(--transition-fast);
}

.primary-navigation a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -0.55rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--brand-gold);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-fast);
}

.primary-navigation a:hover,
.primary-navigation a[aria-current="true"] {
  color: var(--brand-text);
}

.primary-navigation a:hover::after,
.primary-navigation a[aria-current="true"]::after {
  transform: scaleX(1);
}

.primary-navigation .nav-cta {
  min-height: 2.75rem;
  padding: 0.72rem 1.2rem;
  color: var(--on-accent);
  background: var(--brand-gold);
  border: 1px solid var(--brand-gold);
  border-radius: 0.65rem;
  box-shadow: 0 8px 24px rgba(239, 160, 7, 0.16);
}

.primary-navigation .nav-cta:hover,
.primary-navigation .nav-cta[aria-current="true"] {
  color: var(--on-accent);
  background: var(--brand-gold-bright);
  border-color: var(--brand-gold-bright);
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.62rem;
  color: var(--brand-text);
  background: var(--overlay-soft);
  border: 1px solid var(--brand-border);
  border-radius: 0.65rem;
  cursor: pointer;
  transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
}

.menu-toggle:hover,
.menu-toggle[aria-expanded="true"] {
  color: var(--brand-gold-bright);
  background: var(--brand-gold-soft);
  border-color: var(--brand-border-strong);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.theme-switcher {
  position: relative;
  flex-shrink: 0;
}

/* Custom theme switcher: a trigger button (current mode's icon + label)
   that opens a theme-styled popup with the 3 modes as menuitemradio
   options. Replaces the native <select> — see assets/js/main.js for the
   open/close/keyboard wiring; getStoredTheme/setStoredTheme/applyTheme
   are unchanged from Phase 1. */
.theme-switcher-trigger {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  height: 2.25rem;
  padding: 0 0.75rem;
  color: var(--brand-text-muted);
  background-color: var(--overlay-soft);
  border: 1px solid var(--brand-border);
  border-radius: 0.55rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
}

.theme-switcher-trigger:hover,
.theme-switcher-trigger[aria-expanded="true"] {
  color: var(--brand-text);
  border-color: var(--brand-border-strong);
}

.theme-switcher-trigger[aria-expanded="true"] {
  background-color: var(--overlay-soft-strong);
}

.theme-switcher-trigger-icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
}

.theme-switcher-trigger-icon .icon {
  width: 1rem;
  height: 1rem;
}

.theme-switcher-trigger-chevron {
  width: 0.7rem;
  height: 0.7rem;
  flex-shrink: 0;
  opacity: 0.7;
}

.theme-switcher-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 9.5rem;
  padding: 0.4rem;
  background: var(--brand-panel);
  border: 1px solid var(--brand-border);
  border-radius: 0.65rem;
  box-shadow: var(--shadow-dark);
}

.theme-switcher-menu[hidden] {
  display: none;
}

.theme-switcher-option {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.6rem;
  color: var(--brand-text-muted);
  background: transparent;
  border: 0;
  border-radius: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.theme-switcher-option .icon {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.theme-switcher-option:hover {
  color: var(--brand-text);
  background-color: var(--overlay-soft);
}

.theme-switcher-option[aria-checked="true"] {
  color: var(--brand-gold-bright);
  background-color: var(--brand-gold-soft);
}

.hero {
  position: relative;
  display: flex;
  min-height: 50rem;
  padding-top: calc(var(--header-height) + 5.5rem);
  overflow: hidden;
  color: var(--brand-text);
  background:
    radial-gradient(circle at 82% 28%, rgba(239, 160, 7, 0.12), transparent 24rem),
    radial-gradient(circle at 18% 88%, rgba(41, 73, 109, 0.2), transparent 30rem),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(135deg, var(--brand-ink), var(--brand-navy) 55%, var(--hero-bg-end));
  background-size: auto, auto, 72px 72px, 72px 72px, auto;
}

.hero::before {
  position: absolute;
  inset: var(--header-height) 0 auto;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(239, 160, 7, 0.28), transparent);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 10rem;
  content: "";
  background: linear-gradient(transparent, var(--hero-fade));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(27rem, 0.94fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 6rem);
}

.hero .eyebrow {
  color: var(--brand-gold-bright);
}

.hero h1 {
  max-width: 20ch;
  margin-bottom: 1.6rem;
  color: var(--brand-text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(3.4rem, 6.4vw, 6.35rem);
  font-weight: 780;
  letter-spacing: -0.055em;
}

.hero h1 em {
  color: var(--brand-gold-bright);
  font-family: inherit;
  font-weight: inherit;
  font-style: normal;
}

.hero-copy {
  max-width: 39rem;
  margin-bottom: 2.25rem;
  color: var(--brand-text-muted);
  font-size: 1.125rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button {
  display: inline-flex;
  min-height: 3.4rem;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 0.82rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  font-size: 0.9rem;
  font-weight: 750;
  transition: transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.button:hover {
  transform: translateY(-2px);
}

.hero .button-primary {
  color: var(--on-accent);
  background: var(--brand-gold);
  box-shadow: 0 12px 30px rgba(239, 160, 7, 0.18);
}

.hero .button-primary:hover {
  background: var(--brand-gold-bright);
  box-shadow: 0 16px 36px rgba(239, 160, 7, 0.24);
}

.hero .button-secondary {
  color: var(--brand-text);
  background: var(--overlay-soft);
  border-color: var(--brand-border);
}

.hero .button-secondary:hover {
  background: var(--overlay-soft-strong);
  border-color: var(--brand-border-strong);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 2rem 0 0;
  padding: 0;
  color: var(--brand-text-muted);
  font-size: 0.78rem;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.7rem;
  background: var(--overlay-faint);
  border: 1px solid var(--brand-border);
  border-radius: 999px;
}

.hero-points span {
  color: var(--brand-gold-bright);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
}

.hero-glow-one {
  top: 12%;
  right: 8%;
  width: 24rem;
  height: 24rem;
  background: rgba(239, 160, 7, 0.08);
  box-shadow: 0 0 90px rgba(239, 160, 7, 0.1);
}

.hero-glow-two {
  bottom: 5%;
  left: 30%;
  width: 22rem;
  height: 22rem;
  background: rgba(60, 99, 143, 0.08);
}

.hero-visual {
  position: relative;
  min-height: 34rem;
  border: 1px solid var(--brand-border);
  border-radius: 2rem;
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(145deg, var(--hero-visual-a), var(--hero-visual-b));
  background-size: 42px 42px, 42px 42px, auto;
  box-shadow: var(--shadow-dark), inset 0 1px var(--overlay-soft);
}

.hero-visual::after {
  position: absolute;
  inset: 1rem;
  content: "";
  border: 1px solid rgba(239, 160, 7, 0.08);
  border-radius: 1.35rem;
  pointer-events: none;
}

.visual-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid var(--brand-border);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 27rem;
  height: 27rem;
  box-shadow: 0 0 60px rgba(239, 160, 7, 0.035);
}

.orbit-two {
  width: 19rem;
  height: 19rem;
  border-color: rgba(239, 160, 7, 0.22);
  border-style: dashed;
  transform: translate(-50%, -50%) rotate(20deg);
}

.visual-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: 15rem;
  height: 15rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at 32% 22%, var(--visual-core-highlight), var(--brand-charcoal) 62%, var(--visual-core-shadow));
  border: 1px solid var(--brand-border);
  border-radius: 50%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42), inset 0 0 40px var(--overlay-faint);
  transform: translate(-50%, -50%);
}

.visual-core::before {
  position: absolute;
  inset: -0.55rem;
  content: "";
  border: 1px solid var(--brand-border-strong);
  border-radius: 50%;
}

.visual-core-label,
.visual-core-location {
  color: var(--brand-text-muted);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.visual-core strong {
  margin: 0.9rem 0;
  color: var(--brand-text);
  font-size: 1.35rem;
  line-height: 1.22;
}

.service-float {
  position: absolute;
  z-index: 2;
  display: flex;
  min-width: 10.7rem;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  color: var(--brand-text);
  background: var(--surface-float);
  border: 1px solid var(--brand-border);
  border-radius: 0.8rem;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
}

.service-float span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.service-float strong {
  font-size: 0.8rem;
}

.service-float small {
  margin-top: 0.25rem;
  color: var(--brand-text-muted);
  font-size: 0.62rem;
}

/* Inline Lucide icons (see index.html) — one shared base rule plus a
   per-wrapper size override below, replacing the old Unicode-glyph-via-
   font-size approach. Each wrapper already sets its own `color`, and the
   SVGs use stroke="currentColor", so recoloring still needs no per-icon
   rule. */
.icon {
  display: block;
  width: 1.4rem;
  height: 1.4rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* `.icon`'s own `display: block` is an author-stylesheet rule, so it
   overrides the browser's default `[hidden] { display: none }` UA rule
   even though the two selectors have equal specificity — author rules
   always win over UA rules. This re-asserts `display: none` with a
   selector specific enough ([hidden] adds a second attribute-class-level
   match) to beat the bare `.icon` rule regardless of source order, so a
   hidden theme-switcher icon actually stays hidden instead of stacking
   on top of the visible one. */
.icon[hidden] {
  display: none;
}

.service-icon {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  color: var(--brand-gold-bright);
  background: var(--brand-gold-soft);
  border: 1px solid rgba(239, 160, 7, 0.18);
  border-radius: 0.45rem;
  font-size: 0.8rem;
  font-weight: 800;
}

.service-float-web {
  top: 9%;
  left: 0;
}

.service-float-network {
  top: 50%;
  right: -2%;
}

.service-float-care {
  bottom: 7%;
  left: 5%;
}

.services {
  background: var(--brand-navy);
}

.section-heading-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.65fr);
  align-items: end;
  gap: 5rem;
  margin-bottom: 3.5rem;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p,
.section-heading-split > p {
  margin-bottom: 0.25rem;
  color: var(--brand-text-muted);
  font-size: 1.125rem;
  line-height: 1.7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.3rem;
}

.service-card {
  position: relative;
  min-height: 35rem;
  padding: 2.25rem;
  overflow: hidden;
  color: var(--brand-text);
  background: var(--brand-panel);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-dark);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.service-card::after {
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  width: 8rem;
  height: 8rem;
  content: "";
  background: var(--brand-gold-soft);
  border-radius: 50%;
}

.service-card-featured {
  border-color: var(--brand-border-strong);
  box-shadow: var(--shadow-dark), inset 0 0 0 1px rgba(239, 160, 7, 0.08);
}

.service-card-featured::after {
  background: rgba(239, 160, 7, 0.22);
}

.service-number {
  position: absolute;
  top: 1.9rem;
  right: 2rem;
  color: var(--hairline);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.7rem;
  font-style: italic;
  line-height: 1;
}

.service-card-icon {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 3rem;
  place-items: center;
  color: var(--brand-gold-bright);
  background: var(--brand-gold-soft);
  border: 1px solid rgba(239, 160, 7, 0.18);
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 900;
}

.service-card-icon .icon {
  width: 1.75rem;
  height: 1.75rem;
}

.service-card h3 {
  max-width: 12ch;
  margin-bottom: 1.15rem;
  font-size: 1.55rem;
}

.service-card p {
  color: var(--brand-text-muted);
  font-size: 1.125rem;
  line-height: 1.7;
}

.service-card ul {
  position: relative;
  z-index: 1;
  margin: 1.75rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--brand-border);
  list-style: none;
}

.service-card li {
  position: relative;
  margin: 0.75rem 0;
  padding-left: 1.3rem;
  color: var(--brand-text-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.service-card li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 0.38rem;
  height: 0.38rem;
  content: "";
  background: var(--brand-gold-bright);
  border-radius: 50%;
}

.service-card-note {
  position: relative;
  z-index: 1;
  margin: 1rem 0 0;
  color: var(--brand-text-muted);
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(25rem, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(4rem, 8vw, 8rem);
}

.about-visual {
  position: relative;
  min-height: 35rem;
}

.about-panel {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: var(--radius-md);
}

.about-panel-main {
  inset: 0 5.5rem 3rem 0;
  padding: 3rem;
  color: var(--brand-text);
  background:
    linear-gradient(var(--overlay-faint) 1px, transparent 1px),
    linear-gradient(90deg, var(--overlay-faint) 1px, transparent 1px),
    var(--brand-charcoal);
  background-size: 45px 45px;
  box-shadow: var(--shadow-dark);
}

.about-panel-main > span {
  color: var(--brand-gold-bright);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.about-panel-main strong {
  margin-top: 2.5rem;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.about-panel-main em {
  color: var(--brand-gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.about-panel-accent {
  right: 0;
  bottom: 0;
  width: 12rem;
  height: 10rem;
  align-items: center;
  padding: 1.2rem;
  color: var(--brand-text);
  background: var(--brand-charcoal);
  border: 1px solid var(--brand-border-strong);
  box-shadow: var(--shadow-dark);
}

.about-panel-accent strong {
  margin: 0.2rem 0;
  font-size: 1.7rem;
  letter-spacing: 0.06em;
}

.about-panel-accent span {
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-dots {
  position: absolute;
  top: -2rem;
  left: -2rem;
  z-index: -1;
  width: 9rem;
  height: 9rem;
  opacity: 0.4;
  background-image: radial-gradient(var(--brand-gold) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
}

.about-content h2 {
  max-width: 11ch;
}

.about-content > p {
  color: var(--brand-text-muted);
  font-size: 1.125rem;
  line-height: 1.7;
}

.about-content .about-lead {
  color: var(--brand-text);
  font-size: 1.125rem;
  line-height: 1.7;
  font-weight: 550;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
  color: var(--brand-gold-bright);
  font-size: 0.9rem;
  font-weight: 800;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.35rem;
}

.why-us {
  color: var(--brand-text);
  background: var(--brand-charcoal);
}

.centered-heading {
  max-width: 45rem;
  margin: 0 auto 4rem;
  text-align: center;
}

.centered-heading .eyebrow {
  justify-content: center;
}

.centered-heading > p {
  max-width: 34rem;
  margin: 1.5rem auto 0;
  color: var(--brand-text-muted);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
}

.target-market {
  background: var(--brand-charcoal);
  color: var(--brand-text);
}

.market-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* Portfolio (demo template) section — reuses the panel/border/radius
   language of .service-card and .value-card; see index.html for the
   "GANTI DI SINI" replacement comments. */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}

.portfolio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--brand-panel);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-border-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

/* Visual thumbnail — a hand-built local SVG UI mockup (not a photo, not
   AI-generated, not a round-icon placeholder). Swap the <img> src/alt for
   a real project photo when one exists; see assets/portfolio/README.md
   and the GANTI DI SINI comments in index.html. The fixed aspect-ratio
   box below never breaks layout either way. */
.portfolio-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--brand-border);
}

.portfolio-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.portfolio-card:hover .portfolio-thumb img {
  transform: scale(1.04);
}

.portfolio-thumb-tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  padding: 0.3rem 0.7rem;
  color: var(--brand-gold-bright);
  background: rgba(8, 12, 18, 0.72);
  border: 1px solid rgba(239, 160, 7, 0.3);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  backdrop-filter: blur(6px);
}

.portfolio-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.75rem 1.75rem 2rem;
}

.portfolio-badge {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 1rem;
  padding: 0.3rem 0.75rem;
  color: var(--brand-gold-bright);
  background: var(--brand-gold-soft);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.portfolio-category {
  margin: 0 0 0.5rem;
  color: var(--brand-gold-bright);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.portfolio-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.12rem;
}

.portfolio-description {
  color: var(--brand-text-muted);
  font-size: 1.125rem;
  line-height: 1.7;
}

.portfolio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 1.25rem;
}

.portfolio-action-link {
  min-height: 2.75rem;
  flex: 1 1 9rem;
  padding: 0.65rem 0.85rem;
  text-align: center;
  line-height: 1.3;
}

.portfolio-status {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--brand-text-muted);
  font-size: 1rem;
  line-height: 1.6;
  border-top: 1px solid var(--brand-border);
}

.portfolio-disclaimer {
  max-width: 40rem;
  margin: 2.5rem auto 0;
  color: var(--brand-text-muted);
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
  text-align: center;
}

/* ---------- Dynamic portfolio states (Phase 3 / TASK-014) ----------
   .portfolio-state covers the "loading", "empty" (no published items),
   and "failed to load" messages rendered by assets/js/portfolio-public.js.
   It sits inside .portfolio-grid (a CSS grid), so it spans every column
   instead of being squeezed into a single grid cell. */
.portfolio-state {
  grid-column: 1 / -1;
  padding: 2.5rem 1.5rem;
  color: var(--brand-text-muted);
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  background: var(--brand-panel);
  border: 1px dashed var(--brand-border);
  border-radius: var(--radius-md);
}

/* Shown in a portfolio card's thumbnail area while its signed image URL
   is still being resolved, or if an item has no image at all -- never a
   broken <img>. */
.portfolio-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: var(--overlay-soft);
}

.portfolio-thumb-placeholder .icon {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--text-muted-dim);
}

.value-card {
  min-height: 19rem;
  padding: 2.2rem 2rem;
  border-right: 1px solid var(--hairline);
}

.value-card:last-child {
  border-right: 0;
}

.value-icon {
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 3.2rem;
  place-items: center;
  color: var(--brand-gold-bright);
  background: var(--brand-gold-soft);
  border-radius: 50%;
  font-size: 1.2rem;
}

.value-icon .icon {
  width: 1.6rem;
  height: 1.6rem;
}

.value-card h3 {
  margin-bottom: 0.9rem;
  font-size: 1.12rem;
}

.value-card p {
  margin-bottom: 0;
  color: var(--text-muted-dim);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.process {
  background: var(--brand-navy);
}

.process-heading {
  margin-bottom: 4rem;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.process-list li {
  position: relative;
  padding-right: 2rem;
}

.process-list li:not(:last-child)::before {
  position: absolute;
  top: 1.35rem;
  right: 0;
  left: 3.4rem;
  height: 1px;
  content: "";
  background: var(--brand-border);
}

.process-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 2rem;
  place-items: center;
  color: var(--brand-gold-bright);
  background: var(--brand-panel);
  border: 1px solid var(--brand-gold);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 850;
}

.process-list h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.process-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--brand-gold-bright);
}

.process-icon .icon {
  width: 1.15rem;
  height: 1.15rem;
}

.process-list p {
  max-width: 16rem;
  margin-bottom: 0;
  color: var(--brand-text-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.contact {
  padding-top: 2rem;
  background: var(--brand-ink);
}

.contact-panel {
  position: relative;
  overflow: hidden;
  padding: 5rem clamp(2rem, 7vw, 6rem);
  color: var(--brand-text);
  background:
    radial-gradient(circle at 85% 20%, rgba(239, 160, 7, 0.12), transparent 26rem),
    linear-gradient(145deg, var(--brand-charcoal), var(--brand-navy) 70%);
  border: 1px solid var(--brand-border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-dark);
}

.contact-panel::before {
  position: absolute;
  top: -18rem;
  right: -12rem;
  width: 42rem;
  height: 42rem;
  content: "";
  border: 1px solid var(--hairline-strong);
  border-radius: 50%;
  box-shadow: 0 0 0 5rem var(--overlay-soft), 0 0 0 10rem var(--overlay-faint);
}

.contact-content {
  position: relative;
  z-index: 2;
  max-width: 43rem;
}

.contact h2 {
  margin-bottom: 1.3rem;
  color: var(--brand-text);
}

.contact-content > p {
  max-width: 37rem;
  margin-bottom: 2rem;
  color: var(--brand-text-muted);
  font-size: 1.125rem;
  line-height: 1.7;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.contact-actions .icon {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
}

.button-outline {
  color: var(--brand-text);
  background: var(--overlay-soft);
  border-color: var(--brand-border-strong);
}

.button-outline:hover {
  background: var(--overlay-soft-strong);
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin: 0;
  padding: 0;
  color: var(--brand-text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  list-style: none;
}

.contact-meta a {
  color: inherit;
  transition: color var(--transition-fast);
}

.contact-meta a:hover {
  color: var(--brand-gold-bright);
}

.button-light {
  color: var(--on-accent);
  background: var(--brand-gold);
  box-shadow: 0 12px 30px rgba(239, 160, 7, 0.18);
}

.button-light:hover {
  background: var(--brand-gold-bright);
  box-shadow: 0 16px 36px rgba(239, 160, 7, 0.24);
}

.site-footer {
  margin-top: 7.5rem;
  padding: 4.5rem 0 1.5rem;
  color: var(--brand-text);
  background: var(--brand-ink);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3.5rem;
}

.footer-brand > p {
  max-width: 21rem;
  margin: 1.5rem 0 0;
  color: var(--text-muted-faint);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer-links h2 {
  margin-bottom: 0.55rem;
  color: var(--text-muted-faint);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links a,
.footer-links span {
  color: var(--text-muted-soft);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer-links a:hover {
  color: var(--brand-gold-bright);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 1.5rem;
  color: var(--text-muted-dim);
  border-top: 1px solid var(--overlay-soft-strong);
  font-size: 0.72rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .section {
    padding: 6rem 0;
  }

  .menu-toggle {
    display: block;
  }

  .primary-navigation {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: flex;
    max-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden auto;
    color: var(--brand-text);
    background: var(--surface-panel-strong);
    border-bottom: 1px solid var(--brand-border);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.34);
    opacity: 0;
    visibility: hidden;
    transition: max-height var(--transition-base), opacity var(--transition-fast), visibility var(--transition-fast);
  }

  .primary-navigation.is-open {
    max-height: calc(100vh - var(--header-height));
    padding: 1rem 1.25rem 1.5rem;
    opacity: 1;
    visibility: visible;
  }

  .primary-navigation a {
    min-height: 3rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--brand-border);
  }

  .primary-navigation a:not(.nav-cta)::after {
    display: none;
  }

  .primary-navigation a[aria-current="true"] {
    color: var(--brand-gold-bright);
  }

  .primary-navigation .nav-cta {
    margin-top: 0.85rem;
    text-align: center;
    border-bottom: 0;
  }

  .theme-switcher {
    margin-top: 0.85rem;
  }

  .theme-switcher-trigger {
    width: 100%;
    height: 3rem;
    justify-content: center;
  }

  .theme-switcher-menu {
    left: 0;
    right: 0;
    min-width: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4.5rem;
  }

  .hero-content {
    position: relative;
    z-index: 3;
    max-width: 46rem;
  }

  .hero-visual {
    width: min(100%, 36rem);
    margin-inline: auto;
  }

  .section-heading-split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-heading-split > p {
    max-width: 40rem;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    width: min(100%, 38rem);
  }

  .value-grid {
    grid-template-columns: 1fr 1fr;
  }

  .market-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }

  .value-card:nth-child(2) {
    border-right: 0;
  }

  .value-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--hairline);
  }

  .process-list {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 1.5rem;
  }

  .process-list li:nth-child(2)::before,
  .process-list li:last-child::before {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 4.75rem;
  }

  .container {
    width: min(calc(100% - 2rem), var(--container));
  }

  .section {
    padding: 4.7rem 0;
  }

  .brand-logo {
    gap: 0.5rem;
  }

  .brand-logo-symbol,
  .brand-logo-wordmark {
    height: 2.3rem;
  }

  .brand-logo-footer {
    gap: 0.625rem;
  }

  .brand-logo-footer .brand-logo-symbol,
  .brand-logo-footer .brand-logo-wordmark {
    height: 2.875rem;
  }

  .hero {
    padding-top: calc(var(--header-height) + 4rem);
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2.1rem, 10vw, 3.2rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-points {
    gap: 0.7rem 1rem;
  }

  .hero-grid {
    gap: 3.5rem;
  }

  .hero-visual {
    min-height: clamp(25rem, 112vw, 29rem);
    border-radius: 1.5rem;
  }

  .orbit-one {
    width: min(21rem, 78vw);
    height: min(21rem, 78vw);
  }

  .orbit-two {
    width: min(15rem, 56vw);
    height: min(15rem, 56vw);
  }

  .visual-core {
    width: min(12rem, 45vw);
    height: min(12rem, 45vw);
  }

  .visual-core strong {
    font-size: clamp(1rem, 4.5vw, 1.25rem);
  }

  .service-float {
    min-width: 8.5rem;
    max-width: 10rem;
    gap: 0.55rem;
    padding: 0.65rem 0.7rem;
  }

  .service-float-web {
    top: 8%;
    left: 0.65rem;
  }

  .service-float-network {
    right: 0.65rem;
  }

  .service-float-care {
    bottom: 7%;
    left: 0.65rem;
  }

  .service-grid,
  .value-grid,
  .portfolio-grid,
  .process-list,
  .footer-main,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:last-child {
    grid-column: auto;
    min-height: auto;
    padding: 1.75rem;
  }

  .service-card-icon {
    margin-bottom: 2.4rem;
  }

  .about-visual {
    min-height: 29rem;
  }

  .about-panel-main {
    inset: 0 2rem 3rem 0;
    padding: 2rem;
  }

  .about-panel-accent {
    width: 10.5rem;
    height: 8.5rem;
  }

  .value-card,
  .value-card:nth-child(2),
  .value-card:nth-child(-n + 2) {
    min-height: auto;
    padding: 1.75rem;
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
  }

  .value-card:last-child {
    border-bottom: 0;
  }

  .value-icon {
    margin-bottom: 1.7rem;
  }

  .process-list {
    gap: 0;
  }

  .process-list li {
    display: grid;
    grid-template-columns: 2.75rem 1fr;
    gap: 1.25rem;
    padding: 0 0 2.2rem;
  }

  .process-list li:not(:last-child)::before {
    top: 2.75rem;
    bottom: 0;
    left: 1.36rem;
    width: 1px;
    height: auto;
  }

  .process-list li:nth-child(2)::before {
    display: block;
  }

  .process-number {
    margin-bottom: 0;
  }

  .process-list p {
    max-width: none;
  }

  .contact {
    padding-top: 0;
  }

  .contact-panel {
    padding: 3.5rem 1.5rem;
    border-radius: var(--radius-md);
  }

  .contact-actions {
    flex-direction: column;
  }

  .button-light,
  .button-outline {
    width: 100%;
  }

  .site-footer {
    margin-top: 5rem;
  }

  .footer-main {
    gap: 3rem;
  }

  .footer-links {
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
