/* Looking for Alaska — Culver Creek at night (readable, literary) */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Sans+3:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

.gh {
  /* Night woods + humid Georgia sky */
  --gh-bg: #0b100d;
  --gh-bg-elevated: #141c17;
  --gh-surface: rgba(20, 28, 23, 0.94);
  --gh-text: #f4efe6;
  --gh-text-muted: #b8aea0;
  /* Cigarette ember, vanilla, white flowers (LitCharts / novel motifs) */
  --gh-ember: #e8b86d;
  --gh-ember-dim: rgba(232, 184, 109, 0.16);
  --gh-vanilla: #e8d4bc;
  --gh-vanilla-dim: rgba(232, 212, 188, 0.1);
  --gh-forest: #7faa88;
  --gh-forest-dim: rgba(127, 170, 136, 0.14);
  --gh-flower: #f7f3eb;
  --gh-rain: #8fa3b0;
  --gh-border: rgba(232, 184, 109, 0.14);
  /* Legacy class hooks (project card accents) */
  --gh-lavender: var(--gh-forest);
  --gh-lavender-dim: var(--gh-forest-dim);
  --gh-blush: var(--gh-ember);
  --gh-blush-dim: var(--gh-ember-dim);
  --gh-mint: var(--gh-rain);
  --gh-mint-dim: rgba(143, 163, 176, 0.12);
  --gh-radius: 18px;
  --gh-font-display: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --gh-font-body: 'Source Sans 3', system-ui, sans-serif;
  --gh-max: 1180px;
  --gh-header-h: 56px;
  --gh-safe-top: env(safe-area-inset-top, 0px);
  --gh-safe-right: env(safe-area-inset-right, 0px);
  --gh-safe-bottom: env(safe-area-inset-bottom, 0px);
  --gh-safe-left: env(safe-area-inset-left, 0px);
  --gh-page-pad: max(16px, var(--gh-safe-left));

  position: relative;
  min-height: 100vh;
  font-family: var(--gh-font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  color: var(--gh-text);
  background: var(--gh-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Theme-Header/Footer ausblenden */
body.gh-page #masthead,
body.gh-page .site-header,
body.gh-page header.site-header,
body.gh-page header.header,
body.gh-page .wp-block-template-part-header,
body.gh-page .elementor-location-header,
body.gh-page .page-header,
body.gh-page .entry-header,
body.gh-page .post-thumbnail,
body.gh-page #colophon,
body.gh-page .site-footer,
body.gh-page footer.site-footer,
body.gh-page .wp-block-template-part-footer,
body.page-template-template-goth-home #masthead,
body.page-template-template-goth-home .site-header,
body.page-template-template-goth-page #masthead,
body.page-template-template-goth-page .site-header,
body.page-template-template-goth-home .page-header,
body.page-template-template-goth-page .page-header,
body.page-template-template-goth-home .entry-header,
body.page-template-template-goth-page .entry-header,
body.page-template-template-goth-home #colophon,
body.page-template-template-goth-page #colophon,
body.page-template-template-goth-home .site-footer,
body.page-template-template-goth-page .site-footer {
  display: none !important;
}

body.gh-page,
body.page-template-template-goth-home,
body.page-template-template-goth-page {
  margin: 0;
  padding: 0;
  background: var(--gh-bg);
}

body.gh-page #page,
body.gh-page .site,
body.gh-page .site-content,
body.gh-page #content,
body.gh-page .entry-content,
body.gh-page main.site-main,
body.page-template-template-goth-home .site-content,
body.page-template-template-goth-page .site-content,
body.page-template-template-goth-home #content,
body.page-template-template-goth-page #content,
body.page-template-template-goth-home .entry-content,
body.page-template-template-goth-page .entry-content {
  max-width: none;
  padding: 0;
  margin: 0;
  background: transparent;
}

.gh--subpage {
  min-height: 100vh;
}

.gh-content {
  position: relative;
  z-index: 1;
  max-width: var(--gh-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px) 48px;
}

.gh-content > .entry-title,
.gh-content .page-title {
  display: none;
}

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

.gh-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.gh-header__actions--desktop {
  display: none;
}

.gh-header__cta--ghost {
  color: var(--gh-text);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--gh-border);
}

.gh-header__cta--ghost:hover {
  background: var(--gh-ember-dim);
  box-shadow: inset 0 0 0 1px rgba(232, 184, 109, 0.4);
  color: var(--gh-flower);
}

.gh-nav--sub a.is-active,
.gh-nav-strip a.is-active {
  color: var(--gh-ember);
}

/* Film grain + smoke haze */
.gh__grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.gh__glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
}

.gh__glow--1 {
  width: 55vw;
  height: 55vw;
  max-width: 540px;
  top: -18%;
  right: -12%;
  background: radial-gradient(circle, rgba(232, 184, 109, 0.2) 0%, transparent 68%);
}

.gh__glow--2 {
  width: 42vw;
  height: 42vw;
  max-width: 420px;
  bottom: 5%;
  left: -18%;
  background: radial-gradient(circle, rgba(127, 170, 136, 0.16) 0%, transparent 70%);
}

.gh__glow--3 {
  width: 35vw;
  height: 35vw;
  max-width: 320px;
  top: 42%;
  left: 38%;
  background: radial-gradient(circle, rgba(143, 163, 176, 0.1) 0%, transparent 72%);
}

/* Faint white-flower specks (daisies / tulips motif) */
.gh::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  background-image:
    radial-gradient(circle at 12% 22%, var(--gh-flower) 1px, transparent 1px),
    radial-gradient(circle at 78% 18%, var(--gh-flower) 1px, transparent 1px),
    radial-gradient(circle at 44% 72%, var(--gh-flower) 1.5px, transparent 1.5px),
    radial-gradient(circle at 88% 65%, var(--gh-flower) 1px, transparent 1px),
    radial-gradient(circle at 22% 88%, var(--gh-flower) 1px, transparent 1px);
  background-size: 100% 100%;
}

/* Header */
.gh-header {
  position: sticky;
  top: 0;
  z-index: 100;
  max-width: var(--gh-max);
  margin: 0 auto;
  padding-top: var(--gh-safe-top);
  background: rgba(11, 16, 13, 0.88);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--gh-border);
}

.gh-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--gh-header-h);
  padding: 8px var(--gh-page-pad);
}

.gh-header__end {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.gh-header__cta--compact {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: #1a1510;
  background: linear-gradient(135deg, var(--gh-ember) 0%, var(--gh-vanilla) 100%);
  border-radius: 999px;
  white-space: nowrap;
}

.gh-header__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--gh-border);
  border-radius: 12px;
  background: var(--gh-surface);
  color: var(--gh-ember);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.gh-header__toggle-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 20px;
}

.gh-header__toggle-line {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.gh-header.is-menu-open .gh-header__toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.gh-header.is-menu-open .gh-header__toggle-line:nth-child(2) {
  opacity: 0;
}

.gh-header.is-menu-open .gh-header__toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile subpage: horizontal quick nav */
.gh-nav-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding: 0 var(--gh-page-pad) 10px;
  margin: 0;
  border: 0;
}

.gh-nav-strip::-webkit-scrollbar {
  display: none;
}

.gh-nav-strip a {
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gh-text-muted);
  background: var(--gh-surface);
  border: 1px solid var(--gh-border);
  border-radius: 999px;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.gh-nav-strip a.is-active {
  color: #1a1510;
  background: linear-gradient(135deg, var(--gh-ember) 0%, var(--gh-vanilla) 100%);
  border-color: transparent;
}

/* Fullscreen mobile menu */
.gh-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 198;
  background: rgba(5, 8, 6, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.gh-nav-panel[hidden] {
  display: none !important;
}

.gh-nav-panel:not([hidden]) {
  display: block;
}

.gh-nav-panel {
  position: fixed;
  z-index: 199;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 320px);
  padding: calc(var(--gh-safe-top) + 12px) var(--gh-safe-right) var(--gh-safe-bottom) var(--gh-safe-left);
  background: var(--gh-bg-elevated);
  border-left: 1px solid var(--gh-border);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.gh-nav-panel.is-open {
  transform: translateX(0);
}

.gh-nav-panel__inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: calc(var(--gh-header-h) + 16px) 20px 24px;
}

.gh-nav-panel__label {
  margin: 16px 0 6px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gh-text-muted);
}

.gh-nav-panel__label:first-child {
  margin-top: 0;
}

.gh-nav-panel__link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px;
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--gh-text);
  border-radius: 12px;
  -webkit-tap-highlight-color: transparent;
}

.gh-nav-panel__link:active {
  background: var(--gh-ember-dim);
}

body.gh-menu-open {
  overflow: hidden;
  touch-action: none;
}

.gh-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--gh-text);
}

.gh-logo__mark {
  font-size: 1rem;
  color: var(--gh-ember);
  opacity: 0.95;
}

.gh-logo__text {
  font-family: var(--gh-font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.gh-nav--desktop {
  display: none;
  gap: 28px;
}

.gh-nav a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gh-text-muted);
  transition: color 0.2s;
}

.gh-nav a:hover,
.gh-nav a:focus-visible {
  color: var(--gh-ember);
}

.gh-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: #1a1510;
  background: linear-gradient(135deg, var(--gh-ember) 0%, var(--gh-vanilla) 100%);
  border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.gh-header__cta:hover,
.gh-header__cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(232, 184, 109, 0.35);
  color: #1a1510;
}

/* Hero */
.gh-hero {
  position: relative;
  z-index: 1;
  max-width: var(--gh-max);
  margin: 0 auto;
  padding: clamp(48px, 10vw, 120px) var(--gh-page-pad) clamp(80px, 12vw, 140px);
  text-align: center;
}

.gh-hero__eyebrow {
  font-family: var(--gh-font-display);
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--gh-vanilla);
  margin: 0 0 24px;
  opacity: 0.92;
}

.gh-hero__title {
  font-family: var(--gh-font-display);
  font-size: clamp(2.35rem, 6.5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 32px;
  color: var(--gh-text);
}

.gh-hero__line {
  display: block;
}

.gh-hero__line--accent {
  font-style: italic;
  font-weight: 400;
  color: var(--gh-ember);
  background: none;
  -webkit-text-fill-color: unset;
}

.gh-hero__body {
  max-width: 34em;
  margin: 0 auto;
  font-size: clamp(1.05rem, 2vw, 1.15rem);
  line-height: 1.8;
  color: var(--gh-text-muted);
}

.gh-hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 64px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gh-text-muted);
}

.gh-hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gh-ember), transparent);
  animation: gh-pulse 2.4s ease-in-out infinite;
}

@keyframes gh-pulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.75); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Sections */
.gh-section {
  position: relative;
  z-index: 1;
  max-width: var(--gh-max);
  margin: 0 auto;
  padding: 0 var(--gh-page-pad) clamp(72px, 10vw, 100px);
}

.gh-section__head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}

.gh-section__num {
  font-family: var(--gh-font-display);
  font-size: 2rem;
  font-style: italic;
  color: rgba(232, 184, 109, 0.35);
  line-height: 1;
}

.gh-section__title {
  font-family: var(--gh-font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: 0.01em;
  color: var(--gh-flower);
}

.gh-section__sub {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--gh-text-muted);
}

/* Carousel */
.gh-carousel {
  position: relative;
  display: block;
}

.gh-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 24px;
  width: 28px;
  pointer-events: none;
  background: linear-gradient(to left, var(--gh-bg) 0%, transparent 100%);
  opacity: 0.85;
}

.gh-carousel__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  padding: 8px var(--gh-page-pad) 24px;
  margin: 0 calc(-1 * var(--gh-page-pad));
  scroll-padding-inline: var(--gh-page-pad);
  scrollbar-width: none;
}

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

.gh-carousel__btn {
  display: none;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gh-border);
  border-radius: 50%;
  background: var(--gh-surface);
  color: var(--gh-ember);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.gh-carousel__btn:hover:not(:disabled),
.gh-carousel__btn:focus-visible:not(:disabled) {
  background: var(--gh-ember-dim);
  border-color: rgba(232, 184, 109, 0.4);
  transform: scale(1.05);
}

.gh-carousel__btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  transform: none;
}

.gh-carousel__hint {
  display: block;
  margin: 0 0 8px;
  padding: 0 var(--gh-page-pad);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gh-text-muted);
}

/* Cards */
.gh-card {
  flex: 0 0 min(300px, calc(100vw - var(--gh-page-pad) * 2 - 32px));
  scroll-snap-align: center;
  scroll-snap-stop: always;
  padding: 28px 24px;
  border-radius: var(--gh-radius);
  background: var(--gh-surface);
  border: 1px solid var(--gh-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}

.gh-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 184, 109, 0.32);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.gh-card--hobby {
  text-align: center;
}

.gh-card--hobby.gh-card--link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.gh-card--hobby .gh-card__link {
  display: block;
  margin-top: 12px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gh-ember);
}

.gh-card__emoji {
  display: block;
  font-size: 2rem;
  margin-bottom: 16px;
  filter: grayscale(0.35) sepia(0.15);
}

.gh-card__title {
  font-family: var(--gh-font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--gh-flower);
}

.gh-card__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--gh-text-muted);
}

.gh-card--project {
  flex: 0 0 min(320px, calc(100vw - var(--gh-page-pad) * 2 - 24px));
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.gh-card--lavender {
  background: linear-gradient(155deg, var(--gh-surface) 0%, var(--gh-forest-dim) 100%);
}

.gh-card--blush {
  background: linear-gradient(155deg, var(--gh-surface) 0%, var(--gh-ember-dim) 100%);
}

.gh-card--mint {
  background: linear-gradient(155deg, var(--gh-surface) 0%, var(--gh-mint-dim) 100%);
}

.gh-card__icon {
  font-size: 1.75rem;
  margin-bottom: 12px;
  opacity: 0.9;
}

.gh-card__tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gh-forest);
  margin-bottom: 8px;
}

.gh-card--blush .gh-card__tag {
  color: var(--gh-ember);
}

.gh-card--mint .gh-card__tag {
  color: var(--gh-rain);
}

.gh-card__link {
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gh-ember);
  letter-spacing: 0.04em;
}

.gh-card--game {
  flex: 0 0 min(280px, 78vw);
  text-decoration: none;
  color: inherit;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gh-card__game-art {
  height: 140px;
  background-size: cover;
  background-position: center;
  background-color: #1a221c;
  background-image: linear-gradient(160deg, #141c17 0%, #1f2a22 45%, rgba(232, 184, 109, 0.18) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gh-card__game-art--placeholder {
  background-image: linear-gradient(160deg, #141c17 0%, #243028 55%, rgba(127, 170, 136, 0.12) 100%);
}

.gh-card__itch-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gh-vanilla);
  padding: 6px 12px;
  border: 1px solid var(--gh-border);
  border-radius: 999px;
  background: rgba(11, 16, 13, 0.65);
}

.gh-card__game-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gh-card--game .gh-card__tag {
  margin-bottom: 6px;
}

.gh-card--game .gh-card__text {
  font-size: 0.9rem;
  margin: 0 0 12px;
}

.gh-card--game .gh-card__link {
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.78rem;
  color: var(--gh-rain);
}

.gh-section__itch {
  margin: 20px 0 0;
  text-align: center;
}

.gh-section__itch a {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gh-ember);
  text-decoration: none;
}

.gh-section__itch a:hover,
.gh-section__itch a:focus-visible {
  color: var(--gh-vanilla);
}

.gh-carousel--wide .gh-card--project {
  flex: 0 0 min(340px, 88vw);
}

/* Footer */
.gh-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--gh-max);
  margin: 0 auto;
  padding: 32px var(--gh-page-pad) calc(48px + var(--gh-safe-bottom));
  border-top: 1px solid var(--gh-border);
  font-size: 0.88rem;
  color: var(--gh-text-muted);
}

.gh-footer__top {
  text-decoration: none;
  color: var(--gh-ember);
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
}

.gh-footer__top:hover,
.gh-footer__top:focus-visible {
  color: var(--gh-vanilla);
}

/* Focus visibility (keyboard) */
.gh a:focus-visible,
.gh button:focus-visible {
  outline: 2px solid var(--gh-ember);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .gh-hero__scroll-line {
    animation: none;
  }

  .gh-card:hover {
    transform: none;
  }

  .gh-nav-panel {
    transition: none;
  }
}

/* ——— Mobile-first enhancements ——— */
@media (max-width: 767px) {
  .gh {
    font-size: 1rem;
  }

  .gh-logo__text {
    font-size: 1.05rem;
    max-width: 42vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .gh-hero {
    padding-top: clamp(32px, 8vw, 64px);
    padding-bottom: clamp(48px, 10vw, 80px);
  }

  .gh-hero__title {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .gh-hero__body {
    font-size: 1rem;
    text-align: left;
    padding: 0 4px;
  }

  .gh-hero__scroll {
    margin-top: 40px;
  }

  .gh-section {
    padding-bottom: clamp(48px, 12vw, 72px);
  }

  .gh-section__head {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
  }

  .gh-section__num {
    font-size: 1.5rem;
  }

  .gh-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: calc(32px + var(--gh-safe-bottom));
  }

  .gh-footer__top {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .gh-content {
    padding-left: var(--gh-page-pad);
    padding-right: max(16px, var(--gh-safe-right));
    padding-bottom: calc(32px + var(--gh-safe-bottom));
  }

  .gh--subpage .gh-header + .gh-content {
    padding-top: 8px;
  }

  /* Touch: no hover lift on phones */
  .gh-card:hover {
    transform: none;
    box-shadow: none;
  }

  .gh-card:active {
    border-color: rgba(232, 184, 109, 0.35);
  }
}

@media (min-width: 768px) {
  .gh {
    --gh-header-h: 72px;
    --gh-page-pad: clamp(20px, 4vw, 48px);
  }

  .gh-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-left: var(--gh-page-pad);
    padding-right: var(--gh-page-pad);
  }

  .gh-header__bar {
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .gh-header__end .gh-header__cta--compact,
  .gh-header__toggle,
  .gh-nav-strip {
    display: none;
  }

  .gh-nav--desktop {
    display: flex;
    order: 2;
    flex: 1 1 100%;
    justify-content: center;
    padding-bottom: 12px;
  }

  .gh-header__actions--desktop {
    display: flex;
    order: 3;
  }

  .gh-header__bar {
    order: 1;
    flex: 0 1 auto;
  }

  .gh-nav-panel,
  .gh-nav-backdrop {
    display: none !important;
  }

  .gh-carousel {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
  }

  .gh-carousel::after {
    display: none;
  }

  .gh-carousel__track {
    margin: 0;
    padding: 8px 4px 20px;
    scroll-padding-inline: 0;
  }

  .gh-carousel__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .gh-carousel__hint {
    display: none;
  }

  .gh-card {
    flex: 0 0 min(280px, 78vw);
    scroll-snap-align: start;
  }

  .gh-carousel--wide .gh-card--project {
    flex: 0 0 min(340px, 88vw);
  }
}

@media (min-width: 1024px) {
  .gh-nav--desktop {
    flex: 0 1 auto;
    order: 2;
    padding-bottom: 0;
  }

  .gh-header {
    flex-wrap: nowrap;
    height: var(--gh-header-h);
  }

  .gh-header__bar {
    flex: 0 1 auto;
  }

  .gh-header__actions--desktop {
    order: 3;
  }
}
