/* Self-hosted Newsreader & Plus Jakarta Sans (OFL, zero external font requests) */
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('./assets/fonts/newsreader-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('./assets/fonts/newsreader-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('./assets/fonts/newsreader-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('./assets/fonts/newsreader-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('./assets/fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('./assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Metric-matched local fallbacks to minimize layout shift while web fonts load */
@font-face {
  font-family: 'Newsreader Fallback';
  src: local('Georgia');
  size-adjust: 97%;
  ascent-override: 96%;
  descent-override: 24%;
}

@font-face {
  font-family: 'Plus Jakarta Sans Fallback';
  src: local('Helvetica Neue'), local('Arial');
  size-adjust: 101%;
}

:root {
  --paper: #f6f3ec;
  --paper-subtle: #ede8dc;
  --surface: #fbf9f4;
  --ink: #0b2d24;
  --ink-hover: #144135;
  --line: #d9d0be;
  --line-dark: rgba(226, 202, 143, 0.2);

  --text: #0f3027;
  --muted: #3c5249;
  --gold-text: #73551e;
  --gold-accent: #b08d46;
  --gold-light: #e2ca8f;
  --on-dark: #f6f3ec;
  --on-dark-muted: #e2dbcb;

  --serif: 'Newsreader', 'Newsreader Fallback', Georgia, 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', 'Plus Jakarta Sans Fallback', system-ui, -apple-system, sans-serif;

  --container: min(100% - clamp(32px, 6vw, 112px), 1200px);
  --header-h: 76px;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: auto;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(176, 141, 70, 0.55) var(--paper);
  background-color: var(--paper);
}

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: var(--paper);
}

::-webkit-scrollbar-thumb {
  background-color: rgba(176, 141, 70, 0.45);
  border-radius: 999px;
  border: 2px solid var(--paper);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--gold-accent);
}

::-webkit-scrollbar-thumb:active {
  background-color: var(--ink);
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.drawer-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-underline-offset: 0.28em;
}

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

:focus-visible {
  outline: 2px solid var(--gold-text);
  outline-offset: 4px;
  border-radius: var(--radius-xs);
}

.mission :focus-visible {
  outline-color: var(--gold-light);
}

/* Skip Link */
.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--on-dark);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.skip-link:focus-visible {
  top: 16px;
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

.wrap {
  width: var(--container);
  margin-inline: auto;
}

/* Matte Sticky Header & Reading Progress Hairline */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 18px rgba(11, 45, 36, 0.06);
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-accent), var(--ink));
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  opacity: 0;
  transition: opacity 0.2s var(--ease);
  pointer-events: none;
}

.site-header.is-scrolled .scroll-progress {
  opacity: 1;
}

.nav {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  padding-block: 6px;
  flex-shrink: 0;
}

.brand-eye {
  width: 44px;
  height: auto;
  flex-shrink: 0;
  transform: translateY(1px);
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  white-space: nowrap;
}

.wordmark span {
  color: var(--gold-text);
}

.nav-side {
  display: flex;
  align-items: center;
  gap: 24px;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 28px;
}

.navlinks a {
  position: relative;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  padding-block: 8px;
  transition: color 0.18s var(--ease);
}

.navlinks a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1.5px;
  background-color: var(--gold-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s var(--ease);
}

.navlinks a:hover,
.navlinks a[aria-current="location"] {
  color: var(--gold-text);
}

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

/* Crisp Editorial HU / EN Switcher */
.language {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  height: 36px;
  padding: 2px;
  border-radius: var(--radius-sm);
  background: var(--paper-subtle);
  border: 1px solid var(--line);
}

.lang-indicator {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 2px;
  width: calc(50% - 2px);
  border-radius: var(--radius-xs);
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(11, 45, 36, 0.08);
  transition: transform 0.24s var(--ease);
  pointer-events: none;
}

.language[data-active-lang="en"] .lang-indicator {
  transform: translateX(100%);
}

.language a,
.language button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 100%;
  padding: 0 10px;
  border: 0;
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.18s var(--ease);
}

.language a:hover,
.language a[aria-current="page"],
.language button:hover,
.language button[aria-pressed="true"] {
  color: var(--ink);
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.18s var(--ease);
}

.menu-toggle:hover {
  background: var(--paper-subtle);
}

.menu-icon {
  width: 20px;
  height: 14px;
  position: relative;
  display: block;
}

.menu-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.75px;
  background-color: currentColor;
  border-radius: 1px;
  transition: transform 0.22s var(--ease), opacity 0.16s var(--ease), top 0.22s var(--ease);
}

.menu-icon span:nth-child(1) {
  top: 0;
}

.menu-icon span:nth-child(2) {
  top: 6px;
}

.menu-icon span:nth-child(3) {
  top: 12px;
}

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

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

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

/* Mobile Drawer & Backdrop */
.drawer-backdrop {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 40;
  background: rgba(11, 45, 36, 0.34);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), visibility 0.2s var(--ease);
}

.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 45;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(11, 45, 36, 0.14);
  padding: 16px clamp(16px, 5vw, 32px) 26px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), visibility 0.2s var(--ease);
}

.mobile-drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
}

.mobile-drawer-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.28rem;
  color: var(--ink);
}

.mobile-drawer-nav a[aria-current="location"] {
  color: var(--gold-text);
}

.mobile-drawer-email {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--gold-text);
}

/* Exact Anchor Alignment */
#kuldetes,
#rolunk,
#csapat,
#publikaciok,
#kapcsolat,
#mission,
#about,
#team,
#publications,
#contact {
  scroll-margin-top: var(--header-h);
}

/* Shared Editorial Typography */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
}

.section-index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.section-index::after {
  content: '';
  width: 24px;
  height: 1px;
  background-color: currentColor;
  opacity: 0.55;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.15rem, 3.8vw, 3.5rem);
  line-height: 1.07;
  letter-spacing: -0.035em;
  margin: 0;
}

/* Hero Section */
.hero {
  padding-block: clamp(44px, 6vw, 84px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero h1 {
  font-size: clamp(2.75rem, 5vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0 0 24px;
}

.hero-lead {
  max-width: 52ch;
  color: var(--muted);
  margin: 0 0 34px;
  font-size: clamp(1.02rem, 1.15vw, 1.12rem);
  line-height: 1.72;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  background: var(--ink);
  color: var(--on-dark);
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.cta:hover {
  background: var(--ink-hover);
  border-color: var(--ink-hover);
}

.cta:active {
  transform: scale(0.99);
}

.cta-arrow {
  flex-shrink: 0;
  transition: transform 0.22s var(--ease);
}

.cta:hover .cta-arrow {
  transform: translateX(4px);
}

/* Borderless Circular Optical Reticle */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 450px);
  aspect-ratio: 1;
  justify-self: end;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(176, 141, 70, 0.13) 0%,
    rgba(176, 141, 70, 0.04) 44%,
    transparent 70%
  );
}

.hero-reticle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.reticle-ring {
  transform-box: view-box;
  transform-origin: 230px 230px;
  transform: rotate(var(--reticle-rot, 0deg));
}

.hero-eye-wrap {
  position: relative;
  z-index: 1;
  width: 76%;
  will-change: transform;
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(var(--parallax-scale, 1));
}

.hero-eye-wrap img {
  width: 100%;
  height: auto;
}

/* Strict 2-Row Swiss Editorial Grid for Mission & About */
.section-inner {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  column-gap: clamp(40px, 7vw, 112px);
  row-gap: 20px;
  align-items: start;
  padding-block: clamp(72px, 8vw, 116px);
}

.section-inner > .section-label {
  grid-column: 1 / -1;
}

/* Mission Section */
.mission {
  background-color: var(--ink);
  background-image: radial-gradient(64% 58% at 14% 12%, rgba(226, 202, 143, 0.07) 0%, transparent 70%);
  color: var(--on-dark);
}

.mission .section-label {
  color: var(--gold-light);
}

.mission h2 {
  color: var(--on-dark);
}

.copy {
  max-width: 58ch;
}

.copy p {
  margin: 0 0 1.25em;
}

.copy p:last-child {
  margin-bottom: 0;
}

.mission .copy {
  color: var(--on-dark-muted);
  font-size: 1.04rem;
  line-height: 1.76;
}

.mission .copy .copy-lead {
  font-family: var(--serif);
  font-size: clamp(1.18rem, 1.45vw, 1.3rem);
  line-height: 1.62;
  color: var(--on-dark);
  padding-bottom: 1.25em;
  margin-bottom: 1.35em;
  border-bottom: 1px solid var(--line-dark);
}

/* About Section (Flat Swiss Grid, Zero Card Box) */
.about .section-label {
  color: var(--gold-text);
}

.about h2 {
  color: var(--ink);
}

.about .copy {
  color: var(--muted);
  font-size: clamp(1.06rem, 1.25vw, 1.16rem);
  line-height: 1.76;
}

/* Optional Team Section (Enabled via Pages CMS) */
.team {
  border-top: 1px solid var(--line);
}

.team .section-label {
  color: var(--gold-text);
}

.team h2,
.publications h2 {
  grid-column: 1 / -1;
  color: var(--ink);
}

.team-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  padding-top: 16px;
}

.team-member {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.team-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-xs);
  margin-bottom: 16px;
  background: var(--paper-subtle);
}

.team-category {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.team-member h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.42rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 4px;
}

.team-role {
  margin: 0 0 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
}

.team-bio {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--muted);
}

/* Optional Publications Section (Enabled via Pages CMS) */
.publications {
  border-top: 1px solid var(--line);
  background-color: var(--surface);
}

.publications .section-label {
  color: var(--gold-text);
}

.pub-list {
  grid-column: 1 / -1;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.pub-item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 8px 28px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}

.pub-year {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--gold-text);
}

.pub-title {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 1.32rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.pub-meta {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.pub-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-text);
}

.pub-link:hover {
  color: var(--ink);
}

/* Contact & Footer */
.site-footer {
  background-color: var(--paper-subtle);
  border-top: 1px solid var(--line);
  padding-block: clamp(56px, 6.5vw, 88px) 32px;
}

.contact-band {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 48px;
  row-gap: 16px;
  align-items: center;
  padding-bottom: clamp(40px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
}

.contact-band > .section-label {
  grid-column: 1 / -1;
  color: var(--gold-text);
}

.contact-band h2 {
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  color: var(--ink);
}

.contact-actions {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.contact-email-link {
  font-family: var(--serif);
  font-size: clamp(1.18rem, 1.7vw, 1.48rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold-accent);
  text-underline-offset: 6px;
  overflow-wrap: anywhere;
}

.contact-email-link:hover {
  color: var(--gold-text);
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 14px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.btn-copy:hover {
  background: rgba(11, 45, 36, 0.06);
  border-color: var(--ink);
}

.btn-copy .icon-check {
  display: none;
}

.btn-copy.is-copied {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-dark);
}

.btn-copy.is-copied .icon-copy {
  display: none;
}

.btn-copy.is-copied .icon-check {
  display: block;
}

.copy-status {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  margin: 0;
  white-space: nowrap;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--gold-text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 24px;
  font-size: 0.86rem;
  color: var(--muted);
}

.footer-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-legal-link {
  text-decoration: none;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.18s var(--ease);
}

.footer-legal-link:hover {
  color: var(--gold-text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.top-arrow {
  transition: transform 0.2s var(--ease);
}

.back-to-top:hover {
  color: var(--gold-text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.back-to-top:hover .top-arrow {
  transform: translateY(-2px);
}

/* Content remains visible at opacity: 1 at all times (never hidden below the fold) */
[data-animate] {
  opacity: 1;
}

/* 404 Error Page */
.error-page {
  padding-block: clamp(72px, 12vw, 140px);
  max-width: 62ch;
}

.error-page .section-label {
  color: var(--gold-text);
  margin-bottom: 16px;
}

.error-page h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 0 8px;
}

.error-subtitle {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--gold-text);
  margin: 0 0 24px;
}

.error-note {
  color: var(--muted);
  margin: 0 0 32px;
}

/* Legal / Imprint Page */
.legal-page {
  padding-block: clamp(56px, 8vw, 104px);
  max-width: 72ch;
}

.legal-page .section-label {
  color: var(--gold-text);
  margin-bottom: 16px;
}

.legal-page h1 {
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 0 32px;
}

.legal-empty {
  color: var(--muted);
  margin: 0 0 32px;
}

.legal-list {
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr;
  margin: 0 0 40px;
  border-top: 1px solid var(--line);
}

.legal-list dt {
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gold-text);
}

.legal-list dd {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  overflow-wrap: anywhere;
}

.legal-privacy {
  margin: 0 0 36px;
}

.legal-privacy h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 12px;
  color: var(--ink);
}

.legal-privacy p {
  margin: 0;
  color: var(--muted);
}

/* Tablet Breakpoint */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-visual {
    max-width: 420px;
    justify-self: center;
  }

  .section-inner {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-band {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact-actions {
    align-items: flex-start;
  }

  .contact-row {
    justify-content: flex-start;
  }

  .copy-status {
    position: static;
    margin-top: 8px;
    white-space: normal;
    min-height: 1.4em;
  }
}

/* Mobile Breakpoint */
@media (max-width: 780px) {
  :root {
    --header-h: 66px;
  }

  .nav {
    gap: 12px;
  }

  .brand-eye {
    width: 40px;
  }

  .wordmark {
    font-size: 1.32rem;
  }

  .navlinks {
    display: none;
  }

  .nav-side {
    gap: 10px;
  }

  .language {
    height: 44px;
  }

  .language a,
  .language button {
    min-width: 44px;
    height: 100%;
  }

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

  .pub-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .legal-list {
    grid-template-columns: 1fr;
  }

  .legal-list dt {
    border-bottom: 0;
    padding-bottom: 2px;
  }

  .legal-list dd {
    padding-top: 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .btn-copy {
    min-height: 44px;
    padding: 10px 16px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .hero-eye-wrap,
  .reticle-ring {
    transform: none !important;
  }
}

/* Print */
@media print {
  .site-header,
  .mobile-drawer,
  .drawer-backdrop,
  .cta,
  .btn-copy,
  .footer-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-legal-link {
  text-decoration: none;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.18s var(--ease);
}

.footer-legal-link:hover {
  color: var(--gold-text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.back-to-top {
    display: none !important;
  }

  body,
  .mission,
  .site-footer {
    background: #fff !important;
    color: #000 !important;
  }

  .mission .copy,
  .mission .section-label,
  .mission h2 {
    color: #000 !important;
  }

  .section-inner {
    grid-template-columns: 1fr;
    padding-block: 24px;
  }
}
