@import url('https://fonts.googleapis.com/css2?family=Oranienbaum&display=swap');

:root {
  --text: #f2f2f2;
  --muted: rgba(255, 255, 255, 0.72);
  --dim: rgba(255, 255, 255, 0.52);
  --line: rgba(255, 255, 255, 0.24);
  --panel: rgba(9, 14, 22, 0.86);
  --panel-strong: rgba(5, 8, 14, 0.94);
  --accent: #c4a15a;
  --accent-cold: #6ca4b8;
  --danger: #bc5b52;
  --shadow: rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: #070a10;
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

body.panel-active { overflow: hidden; }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 50% 15%, rgba(151, 124, 71, 0.22), transparent 24rem),
    radial-gradient(circle at 12% 85%, rgba(108, 164, 184, 0.18), transparent 24rem),
    linear-gradient(130deg, #04060a 0%, #101724 55%, #05070c 100%);
}

#bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle, black 0%, transparent 76%);
  animation: drift 22s linear infinite;
}

#overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.28) 58%, rgba(0, 0, 0, 0.72) 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 4px);
  pointer-events: none;
}

@keyframes drift {
  from { transform: translateY(0); }
  to { transform: translateY(44px); }
}

#wrapper {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  padding: 4rem 1.4rem 2rem;
}

.site-header {
  width: min(900px, 100%);
  text-align: center;
  transition: opacity 240ms ease, transform 240ms ease, filter 240ms ease;
  margin-top: -2.8rem;
}


body.panel-active .site-header {
  opacity: 0;
  transform: scale(0.98);
  filter: blur(3px);
  pointer-events: none;
}

.logo {
  width: 5.2rem;
  height: 5.2rem;
  margin: 0 auto 1.5rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.03);
  box-shadow: 0 1rem 3rem var(--shadow), inset 0 0 2rem rgba(196, 161, 90, 0.08);
}

.logo-mark {
  font-size: 2.2rem;
  line-height: 1;
  color: var(--accent);
  text-shadow: 0 0 1.4rem rgba(196, 161, 90, 0.45);
}

.content {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.content::before,
.content::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 1px;
  height: 1.5rem;
  background: var(--line);
}

.content::before { bottom: 100%; }
.content::after { top: 100%; }

.inner { padding: 3rem 2rem; }

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-family: Arial, Helvetica, sans-serif;
}

h1, h2, h3 {
  margin: 0 0 1rem;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2rem, 6vw, 4.9rem);
  line-height: 1.04;
}

h2 {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.9rem;
}

h3 {
  font-size: 0.9rem;
  color: var(--accent);
}

.tagline {
  max-width: 45rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
}

nav { margin-top: 1.5rem; }

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(0,0,0,0.12);
}

nav li + li { border-left: 1px solid var(--line); }

nav a {
  display: block;
  min-width: 11rem;
  padding: 0.95rem 1.1rem;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

nav a:hover,
nav a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  outline: none;
}

.panel {
  display: none;
  position: fixed;
  inset: 50% auto auto 50%;
  width: min(760px, calc(100vw - 2rem));
  max-height: min(82vh, 900px);
  transform: translate(-50%, -50%) scale(0.97);
  overflow-y: auto;
  padding: clamp(1.4rem, 4vw, 2.6rem);
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-strong) 100%);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 2rem 7rem var(--shadow);
  backdrop-filter: blur(12px);
  opacity: 0;
}

.panel.active {
  display: block;
  animation: panelIn 220ms ease forwards;
}

@keyframes panelIn {
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.close {
  position: sticky;
  top: 0;
  float: right;
  width: 2.35rem;
  height: 2.35rem;
  margin: -0.8rem -0.8rem 0 1rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.close::before,
.close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 25%;
  width: 50%;
  height: 1px;
  background: white;
}

.close::before { transform: rotate(45deg); }
.close::after { transform: rotate(-45deg); }

.close:hover { background: rgba(255, 255, 255, 0.16); }

.image-strip {
  height: 13rem;
  margin: 1.2rem 0 1.6rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  position: relative;
}

.image-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.58));
}

.image-before {
  background-image:
    radial-gradient(circle at 50% 22%, rgba(196,161,90,0.32), transparent 18rem),
    linear-gradient(180deg, rgba(9, 14, 22, 0.2), rgba(3, 5, 9, 0.92)),
    repeating-linear-gradient(168deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 12px);
}

.image-depth {
  background-image:
    radial-gradient(circle at 35% 38%, rgba(108,164,184,0.35), transparent 12rem),
    radial-gradient(circle at 72% 64%, rgba(196,161,90,0.18), transparent 9rem),
    linear-gradient(120deg, #020408, #111c28 55%, #03060b);
}

.image-exit {
  background-image:
    radial-gradient(circle at 50% 50%, rgba(242,242,242,0.45), transparent 5rem),
    radial-gradient(circle at 50% 50%, rgba(188,91,82,0.28), transparent 11rem),
    linear-gradient(160deg, #05070c, #19171a 60%, #040508);
}

p { color: var(--muted); }

strong { color: var(--text); }

a { color: inherit; text-decoration-color: rgba(255,255,255,0.45); }

a:hover { color: white; }

.compact-list {
  margin: 1.3rem 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.compact-list li + li { margin-top: 0.45rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.card {
  padding: 1.1rem;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.035);
  border-radius: 4px;
}

.card-folder {
  position: relative;
  background:
    linear-gradient(180deg, rgba(196,161,90,0.08), rgba(255,255,255,0.025));
}

.card-folder::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 1rem;
  width: 4.2rem;
  height: 0.8rem;
  border: 1px solid rgba(255,255,255,0.14);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  background: rgba(196,161,90,0.11);
  transform: translateY(-100%);
}

.card p {
  margin: 0;
  font-size: 0.92rem;
}

.card p + p { margin-top: 0.75rem; }

.contact-form {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

label {
  color: var(--dim);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 4px;
  padding: 0.9rem 0.95rem;
  color: var(--text);
  background: rgba(255,255,255,0.06);
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 1px solid rgba(196,161,90,0.7);
  border-color: rgba(196,161,90,0.7);
}

button[type='submit'] {
  justify-self: start;
  margin-top: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.78rem 1.2rem;
  color: var(--text);
  background: rgba(196,161,90,0.12);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

button[type='submit']:hover { background: rgba(196,161,90,0.22); }

.small-note {
  color: var(--dim);
  font-size: 0.85rem;
}

code {
  padding: 0.1rem 0.28rem;
  border-radius: 3px;
  background: rgba(255,255,255,0.08);
}

#footer {
  width: min(900px, 100%);
  text-align: center;
  margin-top: 2rem;
  color: var(--dim);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

#footer p { color: var(--dim); }

@media (max-width: 760px) {
  #wrapper { padding-top: 2.2rem; }
  .inner { padding: 2.2rem 1rem; }
  nav ul { display: block; width: 100%; }
  nav li + li { border-left: 0; border-top: 1px solid var(--line); }
  nav a { min-width: 0; width: 100%; }
  .cards { grid-template-columns: 1fr; }
  .panel { width: calc(100vw - 1rem); max-height: 88vh; }
}

.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.card-link:hover,
.card-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(196, 161, 90, 0.45);
  background: rgba(196, 161, 90, 0.07);
  box-shadow: 0 0.8rem 2.3rem rgba(0, 0, 0, 0.24);
  outline: none;
}

.card-link:hover h3,
.card-link:focus-visible h3 {
  color: #f0c979;
}

#project-wrapper {
  min-height: 100vh;
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 4rem 1.4rem 2rem;
}

.project-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.project-header .tagline {
  max-width: 50rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--dim);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible {
  color: white;
  outline: none;
}

.project-panel {
  padding: clamp(1.4rem, 4vw, 2.6rem);
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-strong) 100%);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 2rem 7rem var(--shadow);
  backdrop-filter: blur(12px);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.project-box {
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 4px;
  background: rgba(255,255,255,0.035);
}

.project-box ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.cover-slot {
  display: grid;
  place-items: center;
  min-height: 12rem;
  margin: 1.2rem 0 1.6rem;
  border: 1px dashed rgba(255,255,255,0.2);
  border-radius: 4px;
  color: var(--dim);
  background:
    radial-gradient(circle at 50% 50%, rgba(196,161,90,0.12), transparent 14rem),
    rgba(255,255,255,0.025);
  text-align: center;
  padding: 1rem;
}

.project-image {
  display: block;
  width: 100%;
  max-height: 32rem;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.14);
  margin: 1.2rem 0 1.6rem;
}

@media (max-width: 760px) {
  #project-wrapper { padding-top: 2rem; }
}

/* === Background art version: ГыПоФорсаж === */
:root {
  --text: #f3eadc;
  --muted: rgba(243, 234, 220, 0.82);
  --dim: rgba(243, 234, 220, 0.58);
  --line: rgba(216, 107, 74, 0.33);
  --panel: rgba(18, 5, 8, 0.82);
  --panel-strong: rgba(8, 2, 4, 0.94);
  --accent: #fff2d2;
  --accent-cold: #d86b4a;
  --danger: #e45842;
  --shadow: rgba(0, 0, 0, 0.72);
}

body {
  color: var(--text);
  background: #100306;
  font-size: 17px;
}

body::before {
  background:
    linear-gradient(180deg, rgba(18, 4, 7, 0.34) 0%, rgba(14, 3, 5, 0.50) 46%, rgba(4, 1, 2, 0.76) 100%),
    radial-gradient(circle at 18% 18%, rgba(255, 193, 112, 0.20), transparent 23rem),
    radial-gradient(circle at 77% 50%, rgba(216, 18, 32, 0.20), transparent 26rem),
    url('../img/gypo-forsazh-bg.jpg');
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
}

#bg {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(252, 104, 40, 0.18), transparent 32rem),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.020) 0 1px, transparent 1px 5px);
  background-size: auto, auto;
  mask-image: none;
  animation: emberDrift 26s linear infinite;
  opacity: 0.82;
}

#overlay {
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.26) 58%, rgba(0, 0, 0, 0.68) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.54) 0%, rgba(0,0,0,0.10) 28%, rgba(0,0,0,0.16) 64%, rgba(0,0,0,0.60) 100%);
}

@keyframes emberDrift {
  from { transform: translateY(0); }
  to { transform: translateY(-30px); }
}

.logo {
  width: 5.8rem;
  height: 5.8rem;
  margin: 0 auto 1rem;
  background: rgba(18, 5, 8, 0.44);
  border-color: rgba(255, 242, 210, 0.28);
  box-shadow: 0 1rem 3.5rem var(--shadow), inset 0 0 2rem rgba(216, 107, 74, 0.18);
}

.logo-mark {
  color: #fff2d2;
  text-shadow: 0 0 1.2rem rgba(255, 88, 53, 0.62);
}

.content {
  border-color: rgba(255, 242, 210, 0.24);
  background: linear-gradient(90deg, transparent, rgba(18, 5, 8, 0.38), transparent);
}

.content::before,
.content::after {
  background: rgba(255, 242, 210, 0.24);
}

.inner { padding: 2.35rem 2rem 3.1rem; }

.eyebrow {
  color: #d86b4a;
  text-shadow: 0 0 1rem rgba(216, 107, 74, 0.34);
  margin-bottom: 0.55rem;
}


h1 {
  font-size: clamp(2.65rem, 7vw, 6.25rem);
  line-height: 0.98;
  color: #fff2d2;
  text-shadow:
    0 0 1.3rem rgba(255, 68, 44, 0.45),
    0 0.22rem 0.2rem rgba(0, 0, 0, 0.75);
}

h2 {
  color: #fff2d2;
  border-bottom-color: rgba(216, 107, 74, 0.38);
}

h3 {
  color: #f0bd83;
}

.tagline {
  color: rgba(243, 234, 220, 0.9);
  font-size: clamp(1rem, 1.65vw, 1.14rem);
  text-shadow: 0 0.15rem 0.18rem rgba(0, 0, 0, 0.68);
  max-width: 42rem;
}


nav ul {
  background: rgba(18, 5, 8, 0.58);
  border-color: rgba(255, 242, 210, 0.24);
  box-shadow: 0 0.9rem 2.4rem rgba(0,0,0,0.34);
  backdrop-filter: blur(8px);
}

nav li + li { border-color: rgba(255, 242, 210, 0.20); }

nav a {
  color: #f3eadc;
}

nav a:hover,
nav a:focus-visible {
  background: rgba(216, 107, 74, 0.22);
  color: #fff7e6;
}

.panel,
.project-panel {
  width: min(860px, calc(100vw - 2rem));
  background:
    linear-gradient(180deg, rgba(18, 5, 8, 0.84) 0%, rgba(8, 2, 4, 0.95) 100%);
  border-color: rgba(216, 107, 74, 0.34);
  box-shadow:
    0 2rem 8rem rgba(0,0,0,0.82),
    inset 0 0 0 1px rgba(255, 242, 210, 0.035);
  backdrop-filter: blur(14px) saturate(118%);
}

p { color: var(--muted); font-size: 1.03rem; line-height: 1.76; }

strong { color: #fff2d2; }

a { text-decoration-color: rgba(216, 107, 74, 0.55); }

a:hover { color: #fff7e6; }

.image-strip {
  height: 14rem;
  border-color: rgba(216, 107, 74, 0.30);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, 0.38);
}

.image-strip::after {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.68)),
    linear-gradient(90deg, rgba(0,0,0,0.40), transparent, rgba(0,0,0,0.40));
}

.image-before,
.image-depth,
.image-exit {
  background-image: url('../img/gypo-forsazh-bg.jpg');
  background-size: cover;
}

.image-before { background-position: 48% 43%; }
.image-depth { background-image: url('../img/depth-sharmanshchik.jpg'); background-position: 52% 44%; background-size: cover; }
.image-exit { background-image: url('../img/exit-bottle.jpg'); background-position: center 46%; background-size: contain; background-repeat: no-repeat; background-color: rgba(6, 6, 8, 0.42); }

.cards {
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.card,
.project-box {
  border-color: rgba(216, 107, 74, 0.24);
  background: rgba(15, 4, 7, 0.62);
  box-shadow: inset 0 0 0 1px rgba(255, 242, 210, 0.025);
}

.card-folder {
  background:
    linear-gradient(180deg, rgba(216, 107, 74, 0.12), rgba(15, 4, 7, 0.62));
}

.card-folder::before {
  border-color: rgba(216, 107, 74, 0.24);
  background: rgba(216, 107, 74, 0.14);
}

.card p { font-size: 0.95rem; line-height: 1.68; }

.card-link:hover,
.card-link:focus-visible {
  border-color: rgba(255, 190, 126, 0.56);
  background: rgba(79, 16, 17, 0.72);
  box-shadow:
    0 1rem 2.6rem rgba(0, 0, 0, 0.36),
    0 0 1.5rem rgba(216, 107, 74, 0.12);
}

.card-link:hover h3,
.card-link:focus-visible h3 {
  color: #fff2d2;
}

.close { background: rgba(216, 107, 74, 0.16); }
.close:hover { background: rgba(216, 107, 74, 0.28); }

input,
textarea {
  border-color: rgba(216, 107, 74, 0.28);
  background: rgba(9, 2, 4, 0.58);
}

input:focus,
textarea:focus {
  outline-color: rgba(255, 190, 126, 0.78);
  border-color: rgba(255, 190, 126, 0.78);
}

button[type='submit'] {
  border-color: rgba(216, 107, 74, 0.38);
  background: rgba(216, 107, 74, 0.16);
}

button[type='submit']:hover { background: rgba(216, 107, 74, 0.28); }

.cover-slot {
  border-color: rgba(216, 107, 74, 0.28);
  background:
    linear-gradient(180deg, rgba(18,5,8,0.52), rgba(8,2,4,0.82)),
    radial-gradient(circle at 50% 50%, rgba(216,107,74,0.18), transparent 14rem);
}

#footer {
  color: rgba(243, 234, 220, 0.58);
  text-shadow: 0 0.15rem 0.18rem rgba(0, 0, 0, 0.74);
}

#footer p { color: rgba(243, 234, 220, 0.58); }

@media (max-width: 760px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(2.25rem, 14vw, 4.2rem); }
  .inner { padding: 1.8rem 1.1rem 2.2rem; }
  .panel,
  .project-panel { width: calc(100vw - 1rem); }
  .image-strip { height: 11rem; }
}

/* === Bronze single-line title === */
.site-title,
.site-title-row {
  margin: 0 auto clamp(4.7rem, 11vh, 8rem);
  display: block;
  width: max-content;
  max-width: min(92vw, 58rem);
  font-family: 'Oranienbaum', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  line-height: 0.95;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0.075em;
  font-size: clamp(1.92rem, 4.35vw, 3.95rem);
  color: transparent;
  background: linear-gradient(
    180deg,
    #b97845 0%,
    #8a4e2d 42%,
    #5a2819 72%,
    #28100c 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 0.35px rgba(218, 154, 93, 0.28);
  filter:
    drop-shadow(0 0.16rem 0.03rem rgba(18, 4, 5, 0.96))
    drop-shadow(0 0 0.65rem rgba(127, 43, 24, 0.34))
    drop-shadow(0 0 1.8rem rgba(0, 0, 0, 0.92));
  text-shadow: none;
}

.site-title-row::after {
  content: "";
  display: block;
  width: min(62%, 28rem);
  height: 1px;
  margin: 0.62rem auto 0;
  background: linear-gradient(90deg, transparent, rgba(185, 105, 61, 0.58), transparent);
}

@media (max-width: 760px) {
  .site-title,
  .site-title-row {
    max-width: 94vw;
    font-size: clamp(1.35rem, 7.6vw, 2.45rem);
    letter-spacing: 0.04em;
    margin-bottom: clamp(2rem, 5.5vh, 3.4rem);
    white-space: normal;
  }
  .site-header { margin-top: -1.2rem; }
  .logo { margin-bottom: 0.75rem; }
}



/* === Coin logo and bronze tagline === */
.logo {
  overflow: hidden;
  background: rgba(18, 5, 8, 0.34);
  border-color: rgba(185, 105, 61, 0.42);
  box-shadow:
    0 1rem 3.5rem rgba(0, 0, 0, 0.72),
    inset 0 0 1.4rem rgba(185, 105, 61, 0.16);
}

.logo-img {
  display: block;
  width: 94%;
  height: 94%;
  object-fit: contain;
  border-radius: 50%;
  filter:
    drop-shadow(0 0 0.45rem rgba(0, 0, 0, 0.82))
    drop-shadow(0 0 0.70rem rgba(132, 65, 36, 0.28));
}

.logo-mark {
  display: none;
}

.tagline {
  color: #b98663;
  font-weight: 600;
  text-shadow:
    0 0.10rem 0.14rem rgba(0, 0, 0, 0.72),
    0 0 0.70rem rgba(86, 30, 18, 0.42);
}


/* === Section-specific strip images === */
.image-depth::before,
.image-exit::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}


/* === Clean exit section links, fixed from current deploy === */
.exit-links {
  margin-top: 1.35rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.exit-links .project-box {
  min-height: 11rem;
}

.exit-links a.project-box {
  text-decoration: none;
}

.exit-links .project-box h3 {
  margin-bottom: 0.7rem;
}


/* === Hlyab subfolder cards === */
.hlyab-subfolders {
  margin-top: 1.3rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
