/* Cristiana Barreira Advogada: Design system */
:root {
  --ink: #0c1a24;
  --ink-soft: #1a2f3d;
  --atlantic: #1f6b6e;
  --atlantic-deep: #155255;
  --atlantic-soft: #2a8a8e;
  --sand: #e8e2d6;
  --paper: #f4f1ea;
  --paper-bright: #fbfaf7;
  --line: rgba(12, 26, 36, 0.12);
  --muted: #5a6b76;
  --accent: #8b3a3a;
  --accent-soft: #a84f4f;
  --success: #1f6b4a;
  --warning: #9a6b1f;
  --shadow: 0 18px 50px rgba(12, 26, 36, 0.12);
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Sora", system-ui, sans-serif;
  --max: 1180px;
  --header-h: 72px;
  --transition: 220ms ease;
  color-scheme: light;
  --bg: var(--paper-bright);
  --bg-elevated: #ffffff;
  --bg-muted: var(--paper);
  --text: var(--ink);
  --text-muted: var(--muted);
  --border: var(--line);
  --hero-overlay: linear-gradient(120deg, rgba(12, 26, 36, 0.88) 0%, rgba(21, 82, 85, 0.72) 55%, rgba(12, 26, 36, 0.55) 100%);
  --nav-bg: rgba(251, 250, 247, 0.88);
  --chip-bg: rgba(31, 107, 110, 0.08);
  --focus: #1f6b6e;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a1218;
  --bg-elevated: #121e28;
  --bg-muted: #152430;
  --text: #eef3f6;
  --text-muted: #9aafbc;
  --border: rgba(238, 243, 246, 0.12);
  --sand: #1c2c38;
  --paper: #152430;
  --ink: #eef3f6;
  --ink-soft: #c5d4de;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --nav-bg: rgba(10, 18, 24, 0.9);
  --chip-bg: rgba(42, 138, 142, 0.16);
  --hero-overlay: linear-gradient(120deg, rgba(6, 12, 18, 0.92) 0%, rgba(15, 55, 58, 0.78) 55%, rgba(6, 12, 18, 0.62) 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-radius: 0 !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--atlantic-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-soft);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--atlantic);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 10000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section--muted {
  background: var(--bg-muted);
}

.section--ink {
  background: var(--ink-soft);
  color: #f4f7f8;
}

[data-theme="dark"] .section--ink {
  background: #071015;
}

.section--ink .muted,
.section--ink p {
  color: rgba(244, 247, 248, 0.82);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--atlantic-soft);
  margin: 0 0 0.85rem;
}

.eyebrow .material-symbols-outlined {
  font-size: 1.1rem;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 550;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 0.85rem;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--text-muted);
  max-width: 42rem;
}

.muted {
  color: var(--text-muted);
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  vertical-align: middle;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  backdrop-filter: blur(14px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
  line-height: 1.1;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand__tag {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.55rem 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 0;
}

.nav__list a:hover,
.nav__list a[aria-current="page"] {
  background: var(--chip-bg);
  color: var(--atlantic-soft);
}

.nav__controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.5rem;
}

.icon-btn,
.lang-btn,
.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0 0.75rem;
  transition: background var(--transition), border-color var(--transition);
}

.icon-btn:hover,
.lang-btn:hover,
.theme-btn:hover {
  background: var(--chip-bg);
  border-color: transparent;
}

.lang-btn[aria-pressed="true"] {
  background: var(--ink-soft);
  color: #fff;
  border-color: transparent;
}

[data-theme="dark"] .lang-btn[aria-pressed="true"] {
  background: var(--atlantic);
}

.lang-btn .flag-icon {
  width: 22px;
  height: 16px;
  display: block;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.lang-btn {
  padding: 0 0.55rem;
  gap: 0.4rem;
  min-width: 44px;
}

.lang-btn__code {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.nav-toggle {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 0;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn--primary {
  background: var(--atlantic);
  color: #fff;
}

.btn--primary:hover {
  background: var(--atlantic-deep);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn--outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn--outline:hover {
  border-color: var(--atlantic);
  color: var(--atlantic-soft);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(100vh, 960px);
  display: grid;
  align-items: center;
  color: #f7fafb;
  overflow: hidden;
  background:
    var(--hero-overlay),
    radial-gradient(ellipse at 20% 20%, rgba(42, 138, 142, 0.35), transparent 45%),
    radial-gradient(ellipse at 80% 60%, rgba(139, 58, 58, 0.22), transparent 40%),
    linear-gradient(160deg, #0c1a24 0%, #12343a 45%, #0c1a24 100%);
}

.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
  animation: pattern-drift 28s linear infinite;
}

.hero__stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  will-change: transform;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
  animation: glow-breathe 9s ease-in-out infinite;
}

.hero__glow--1 {
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  left: 48%;
  top: 12%;
  background: radial-gradient(circle, rgba(42, 138, 142, 0.55), transparent 70%);
  animation-delay: 0s;
}

.hero__glow--2 {
  width: min(34vw, 340px);
  height: min(34vw, 340px);
  right: 4%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(159, 214, 216, 0.28), transparent 70%);
  animation-delay: -3s;
}

.hero__glow--3 {
  width: min(28vw, 280px);
  height: min(28vw, 280px);
  left: 62%;
  top: 58%;
  background: radial-gradient(circle, rgba(139, 58, 58, 0.22), transparent 70%);
  animation-delay: -5.5s;
}

.hero__ring {
  position: absolute;
  border: 1px solid rgba(159, 214, 216, 0.16);
  border-radius: 50%;
  animation: ring-spin 36s linear infinite;
}

.hero__ring--1 {
  width: min(38vw, 420px);
  height: min(38vw, 420px);
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  border-style: dashed;
}

.hero__ring--2 {
  width: min(52vw, 580px);
  height: min(52vw, 580px);
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.55;
  animation-duration: 54s;
  animation-direction: reverse;
}

.hero__scales {
  position: absolute;
  right: clamp(-1rem, 2vw, 3rem);
  top: 50%;
  width: min(48vw, 520px);
  height: min(48vw, 520px);
  transform: translate3d(0, -50%, 0);
  opacity: 0.34;
  filter: drop-shadow(0 0 28px rgba(159, 214, 216, 0.18));
  will-change: transform;
}

.hero__scales svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.scales-beam {
  transform-origin: 100px 56px;
  animation: scales-tilt 5.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.scales-pan-l {
  transform-box: fill-box;
  transform-origin: center top;
  animation: pan-l 5.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.scales-pan-r {
  transform-box: fill-box;
  transform-origin: center top;
  animation: pan-r 5.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.scales-pivot {
  animation: pivot-glow 5.5s ease-in-out infinite;
}

.hero__orbits {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.hero__float {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(159, 214, 216, 0.28);
  background: rgba(12, 26, 36, 0.35);
  color: rgba(159, 214, 216, 0.85);
  backdrop-filter: blur(4px);
  box-shadow: 0 0 0 0 rgba(159, 214, 216, 0.18);
  animation: float-drift 12s ease-in-out infinite, float-pulse 4.8s ease-in-out infinite;
}

.hero__float .material-symbols-outlined {
  font-size: 1.55rem;
}

.hero__float--1 { left: 56%; top: 14%; animation-delay: 0s, 0s; }
.hero__float--2 { left: 78%; top: 28%; animation-delay: -2s, -0.8s; }
.hero__float--3 { left: 70%; top: 58%; animation-delay: -4s, -1.6s; }
.hero__float--4 { left: 88%; top: 68%; animation-delay: -6s, -2.4s; }
.hero__float--5 { left: 50%; top: 72%; animation-delay: -3s, -1.2s; }
.hero__float--6 { left: 64%; top: 40%; width: 44px; height: 44px; animation-delay: -5s, -2s; animation-name: float-drift-alt, float-pulse; }
.hero__float--7 { left: 84%; top: 16%; width: 40px; height: 40px; animation-delay: -7s, -3s; animation-name: float-drift-alt, float-pulse; }
.hero__float--6 .material-symbols-outlined,
.hero__float--7 .material-symbols-outlined { font-size: 1.25rem; }

.hero__particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(159, 214, 216, 0.55);
  box-shadow: 0 0 12px rgba(159, 214, 216, 0.35);
  animation: particle-float 14s ease-in-out infinite;
}

.hero__particle--1 { left: 48%; top: 22%; animation-delay: 0s; }
.hero__particle--2 { left: 61%; top: 48%; width: 4px; height: 4px; animation-delay: -3s; }
.hero__particle--3 { left: 74%; top: 18%; width: 5px; height: 5px; animation-delay: -6s; }
.hero__particle--4 { left: 92%; top: 42%; animation-delay: -8s; }
.hero__particle--5 { left: 54%; top: 64%; width: 3px; height: 3px; animation-delay: -2s; }
.hero__particle--6 { left: 82%; top: 78%; width: 4px; height: 4px; animation-delay: -10s; }
.hero__particle--7 { left: 44%; top: 38%; width: 5px; height: 5px; animation-delay: -4.5s; }
.hero__particle--8 { left: 96%; top: 58%; width: 3px; height: 3px; animation-delay: -7.5s; }

.hero__scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(159, 214, 216, 0.45), transparent);
  animation: scan-line 8s linear infinite;
  opacity: 0.5;
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding: clamp(6.5rem, 11vh, 8.5rem) 0 clamp(4rem, 8vh, 6rem);
  max-width: min(100%, 58rem);
}

.hero > .container.hero__inner,
.hero .container.hero__inner {
  max-width: min(100% - 2rem, 1180px);
  width: min(100% - 2rem, 1180px);
}

.hero__copy {
  max-width: 54rem;
}

.hero h1 {
  color: #fff;
  margin-bottom: 0.85rem;
  animation: rise 0.8s ease both;
}

.hero-typed {
  min-height: 3.2em;
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #9fd6d8;
  animation: rise 0.8s ease 0.08s both;
}

.hero-typed__text {
  white-space: pre-wrap;
}

.hero-typed__cursor {
  display: inline-block;
  width: 0.08em;
  height: 1em;
  margin-left: 0.12em;
  background: #9fd6d8;
  vertical-align: -0.1em;
  animation: blink 0.9s steps(1) infinite;
}

.hero .lead {
  color: rgba(247, 250, 251, 0.86);
  animation: rise 0.8s ease 0.14s both;
}

.hero .eyebrow {
  color: #9fd6d8;
  animation: rise 0.8s ease both;
}

.hero .btn-row {
  animation: rise 0.8s ease 0.22s both;
}

@keyframes scales-tilt {
  0%, 100% { transform: rotate(-10deg); }
  25% { transform: rotate(-2deg); }
  50% { transform: rotate(10deg); }
  75% { transform: rotate(2deg); }
}

@keyframes pan-l {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(14px); }
}

@keyframes pan-r {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes pivot-glow {
  0%, 100% { fill: rgba(159, 214, 216, 0.85); }
  50% { fill: rgba(255, 255, 255, 0.95); }
}

@keyframes float-drift {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.75; }
  33% { transform: translate3d(8px, -16px, 0); opacity: 1; }
  66% { transform: translate3d(-6px, -8px, 0); opacity: 0.85; }
}

@keyframes float-drift-alt {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0.7; }
  40% { transform: translate3d(-10px, -18px, 0) rotate(-4deg); opacity: 1; }
  70% { transform: translate3d(8px, -6px, 0) rotate(3deg); opacity: 0.8; }
}

@keyframes float-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(159, 214, 216, 0.12); border-color: rgba(159, 214, 216, 0.28); }
  50% { box-shadow: 0 0 18px 2px rgba(159, 214, 216, 0.22); border-color: rgba(159, 214, 216, 0.5); }
}

@keyframes particle-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.25; }
  50% { transform: translate3d(12px, -28px, 0) scale(1.35); opacity: 0.85; }
}

@keyframes glow-breathe {
  0%, 100% { transform: scale(1); opacity: 0.35; }
  50% { transform: scale(1.18); opacity: 0.55; }
}

@keyframes ring-spin {
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-50%) rotate(360deg); }
}

@keyframes pattern-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 48px 48px, 48px 48px; }
}

@keyframes scan-line {
  0% { top: 8%; }
  100% { top: 92%; }
}

@keyframes blink {
  0%, 45% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.area-link {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.4rem 1.35rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 0;
  text-decoration: none;
  color: var(--text);
  min-height: 100%;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.area-link:hover {
  border-color: var(--atlantic);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: var(--text);
  text-decoration: none;
}

.area-link__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: var(--chip-bg);
  color: var(--atlantic-soft);
}

.area-link h3 {
  margin: 0;
}

.area-link p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.area-link__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--atlantic-soft);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Portrait */
.portrait {
  position: relative;
}

.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(100%);
  border-radius: 0;
}

.portrait:after {
  content: "";
  position: absolute;
  inset: auto -12px -12px auto;
  width: 42%;
  height: 42%;
  border-right: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  pointer-events: none;
}

.portrait__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(12, 26, 36, 0.88);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0;
  font-size: 0.82rem;
  backdrop-filter: blur(8px);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 550;
  letter-spacing: -0.02em;
}

.stat span {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Feature / education blocks */
.prose {
  max-width: 68ch;
}

.prose h2,
.prose h3 {
  margin-top: 2rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.4rem;
}

.callout {
  padding: 1.25rem 1.35rem;
  border-left: 3px solid var(--atlantic);
  background: var(--bg-muted);
  border-radius: 0;
  margin: 1.5rem 0;
}

.callout strong {
  display: block;
  margin-bottom: 0.35rem;
}

.timeline {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.timeline time {
  font-weight: 600;
  color: var(--atlantic-soft);
  font-size: 0.9rem;
}

/* Dovment */
.dovment {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.dovment__card {
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.dovment__card img {
  width: 100%;
  object-fit: cover;
}

/* Links useful */
.link-list {
  display: grid;
  gap: 0.75rem;
}

.link-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 0;
  text-decoration: none;
  color: var(--text);
  transition: border-color var(--transition);
}

.link-item:hover {
  border-color: var(--atlantic);
  text-decoration: none;
  color: var(--text);
}

.link-item .material-symbols-outlined {
  color: var(--atlantic-soft);
  margin-top: 0.1rem;
}

.link-item strong {
  display: block;
}

.link-item span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 1.5rem;
  align-items: stretch;
}

.contact-direct {
  display: grid;
  gap: 1rem;
}

.contact-action {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 1.4rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.contact-action:hover {
  border-color: var(--atlantic);
  background: var(--chip-bg);
  color: var(--text);
  text-decoration: none;
  transform: translateY(-2px);
}

.contact-action__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--chip-bg);
  color: var(--atlantic-soft);
  flex-shrink: 0;
}

.contact-action__icon .material-symbols-outlined {
  font-size: 1.6rem;
}

.contact-action strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.contact-action span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.contact-card {
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 0;
  height: 100%;
}

.contact-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.contact-list a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.contact-list a:hover {
  color: var(--atlantic-soft);
}

.contact-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.contact-list .material-symbols-outlined {
  color: var(--atlantic-soft);
}

.map-embed {
  border: 0;
  width: 100%;
  min-height: 360px;
  border-radius: 0;
  filter: grayscale(20%);
}

.form {
  display: grid;
  gap: 1rem;
}

.form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form .hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

.checkbox {
  display: flex !important;
  align-items: flex-start;
  gap: 0.65rem;
  grid-template-columns: none;
}

.checkbox input {
  width: auto;
  margin-top: 0.25rem;
}

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary:-webkit-details-marker {
  display: none;
}

.faq summary:after {
  content: "expand_more";
  font-family: "Material Symbols Outlined";
  color: var(--text-muted);
}

.faq details[open] summary:after {
  content: "expand_less";
}

.faq p {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
}

/* Page hero compact */
.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 2rem;
  background:
    radial-gradient(ellipse at top right, rgba(31, 107, 110, 0.12), transparent 45%),
    var(--bg-muted);
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--atlantic-soft);
}

/* Footer */
.site-footer {
  background: #081218;
  color: rgba(244, 247, 248, 0.86);
  padding: 3.5rem 0 1.5rem;
}

.site-footer a {
  color: rgba(244, 247, 248, 0.86);
  text-decoration: none;
}

.site-footer a:hover {
  color: #9fd6d8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

/* Cookie banner - slim bar */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  max-width: none;
  margin: 0;
  background: rgba(12, 26, 36, 0.94);
  color: #eef3f6;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
  padding: 0.55rem 1rem;
  display: none;
  animation: fade-in 0.35s ease;
  backdrop-filter: blur(10px);
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner__inner {
  width: min(100%, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  flex-wrap: wrap;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(238, 243, 246, 0.78);
  flex: 1 1 220px;
}

.cookie-banner a {
  color: #9fd6d8;
}

.cookie-banner strong {
  font-weight: 600;
  color: #fff;
  margin-right: 0.35rem;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  flex-shrink: 0;
}

.cookie-banner .btn {
  min-height: 34px;
  padding: 0.35rem 0.8rem;
  font-size: 0.78rem;
}

.cookie-banner .btn--outline {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.cookie-banner .btn--outline:hover {
  border-color: #9fd6d8;
  color: #9fd6d8;
}

/* Legal pages */
.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  padding: 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 0;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: 2rem;
  align-items: start;
}

/* Privacy / legal pages: sticky TOC comes first */
.legal-layout:has(> .legal-toc:first-child) {
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
}

.legal-toc a {
  display: block;
  padding: 0.35rem 0;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.legal-toc a:hover {
  color: var(--atlantic-soft);
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.divider {
  height: 1px;
  background: var(--border);
  border: 0;
  margin: 2rem 0;
}

.badge-oa {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--atlantic-soft);
}

/* Responsive */
@media (max-width: 980px) {
  .grid-2,
  .dovment,
  .contact-grid,
  .legal-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .legal-toc {
    position: static;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .nav.is-open {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav__list a {
    border-radius: 0;
  }

  .nav__controls {
    margin-left: 0;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .grid-3,
  .grid-4,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    align-items: start;
  }

  .hero__inner {
    padding: clamp(5rem, 14vw, 7rem) 0 3.5rem;
  }

  .hero__scales {
    opacity: 0.12;
    width: 70vw;
    height: 70vw;
    right: -12vw;
  }

  .hero__float,
  .hero__particle,
  .hero__ring,
  .hero__glow {
    display: none;
  }

  .brand__name {
    font-size: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-typed__cursor {
    display: none;
  }
}
