/* Isabela Murgel - Atlantic Night · High-end polish */
:root {
  --night: #0c0f14;
  --night-elevated: #141920;
  --night-soft: #1a212b;
  --sand: #c4b4a0;
  --sand-dim: #9a8c7a;
  --burgundy: #7a3b45;
  --burgundy-soft: #9a4f5a;
  --text: #ebe5dd;
  --muted: #9a9288;
  --line: rgba(196, 180, 160, 0.14);
  --line-strong: rgba(196, 180, 160, 0.22);
  --radius-outer: 22px;
  --radius-inner: 16px;
  --font: "Outfit", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 1140px;
  --chrome-h: 56px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 28px 80px rgba(0, 0, 0, 0.35);
  --z-grain: 60;
  --z-chrome: 40;
  --z-nav: 50;
  --z-backdrop: 45;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--chrome-h) + 2.5rem);
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--burgundy);
  color: var(--text);
  border-radius: 999px;
}

.skip-link:focus {
  top: 1rem;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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");
}

/* Double-bezel */
.bezel {
  padding: 5px;
  border-radius: var(--radius-outer);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
}

.bezel > * {
  border-radius: var(--radius-inner);
  overflow: hidden;
}

/* Floating island chrome */
.chrome-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-chrome);
  display: flex;
  justify-content: center;
  padding: 0.85rem clamp(0.75rem, 3vw, 1.5rem);
  pointer-events: none;
}

.chrome {
  pointer-events: auto;
  width: min(100%, 1080px);
  height: var(--chrome-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0 0.85rem 0 1.15rem;
  border-radius: 999px;
  background: rgba(14, 17, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}

@media (prefers-reduced-transparency: reduce) {
  .chrome {
    background: var(--night-elevated);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.mark {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--sand);
  flex-shrink: 0;
  transition: color 0.45s var(--ease);
}

.mark:hover {
  color: var(--text);
}

.chrome-nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
  white-space: nowrap;
}

.chrome-nav a {
  font-size: 0.8125rem;
  font-weight: 450;
  color: var(--muted);
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  transition:
    color 0.45s var(--ease),
    background 0.45s var(--ease);
}

.chrome-nav a:hover,
.chrome-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.chrome-tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  padding: 0.15rem 0.2rem;
  transition: color 0.35s var(--ease);
}

.lang-btn.is-active,
.lang-btn:hover {
  color: var(--sand);
}

.lang-btn:active {
  transform: scale(0.96);
}

.lang-sep {
  color: var(--muted);
  opacity: 0.45;
}

.nav-toggle {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background 0.4s var(--ease);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.07);
}

.nav-toggle-bar {
  display: block;
  height: 1.5px;
  width: 16px;
  background: var(--sand);
  border-radius: 2px;
  transition:
    transform 0.5s var(--ease),
    opacity 0.35s var(--ease);
  transform-origin: center;
}

body.is-nav-open .nav-toggle-bar:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

body.is-nav-open .nav-toggle-bar:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .chrome-nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* Mobile overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: var(--z-nav);
  width: 100%;
  padding: 5.5rem clamp(1.5rem, 6vw, 2.5rem) 2.5rem;
  background: rgba(12, 15, 20, 0.88);
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.5s var(--ease),
    visibility 0.5s;
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
}

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

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

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 1rem;
}

.mobile-nav a {
  display: block;
  padding: 1rem 0;
  font-size: clamp(1.75rem, 6vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease),
    color 0.35s var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms + 80ms);
}

.mobile-nav.is-open a {
  opacity: 1;
  transform: none;
}

.mobile-nav a:hover {
  color: var(--sand);
}

.nav-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--sand);
  cursor: pointer;
}

.nav-close-x {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 16px;
  height: 16px;
}

.nav-close-x::before,
.nav-close-x::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1.5px;
  background: var(--sand);
  border-radius: 2px;
}

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

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

.lang-switch--mobile {
  margin-top: auto;
  align-self: flex-start;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: var(--z-backdrop);
  background: rgba(0, 0, 0, 0.35);
}

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

/* Folio */
.folio {
  position: relative;
}

.folio.lang-fade {
  animation: langFade 0.4s var(--ease);
}

@keyframes langFade {
  from {
    opacity: 0.7;
  }
  to {
    opacity: 1;
  }
}

/* Cover */
.cover {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--night);
}

.cover-media {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
}

.cover-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
  transform: scale(1.02);
}

.cover-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12, 15, 20, 0.62) 0%, transparent 26%),
    linear-gradient(180deg, transparent 42%, rgba(12, 15, 20, 0.55) 70%, var(--night) 100%);
}

.cover-dock {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem) clamp(1.5rem, 4vw, 2.5rem);
  padding-top: calc(var(--chrome-h) + 2.5rem);
}

.cover-dock-shell {
  padding: 6px;
  border-radius: calc(var(--radius-outer) + 4px);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

@media (prefers-reduced-transparency: reduce) {
  .cover-dock-shell {
    background: rgba(20, 25, 32, 0.95);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.cover-dock-core {
  padding: clamp(1.35rem, 3.5vw, 2rem) clamp(1.25rem, 3vw, 1.85rem);
  border-radius: var(--radius-outer);
  background:
    linear-gradient(160deg, rgba(122, 59, 69, 0.16), transparent 45%),
    rgba(14, 17, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.cover-kicker {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 0.85rem;
}

.cover-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15em 0.4em;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-size: clamp(2.5rem, 7.5vw, 4.75rem);
  margin-bottom: 1.1rem;
}

.name-family {
  color: var(--sand);
  font-weight: 500;
}

.cover-meta-row {
  display: grid;
  gap: 0.55rem;
  max-width: 40rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-strong);
}

.cover-role {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--sand);
}

.cover-lead {
  font-size: 0.975rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 40ch;
}

@media (min-width: 768px) {
  .cover-media img {
    object-position: 52% 12%;
  }

  .cover-meta-row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.1rem 2rem;
    align-items: baseline;
  }

  .cover-role {
    white-space: nowrap;
  }
}

@media (orientation: landscape) and (max-height: 540px) {
  .cover {
    min-height: 640px;
  }

  .cover-name {
    font-size: clamp(2.25rem, 6vw, 3.25rem);
  }
}

@media (min-width: 1100px) {
  .cover-dock {
    padding-bottom: clamp(2.25rem, 5vw, 3.5rem);
  }

  .cover-media img {
    object-position: 48% 10%;
  }
}

/* Sections */
.sec {
  padding: clamp(5rem, 11vw, 8rem) clamp(1.15rem, 4vw, 2.5rem);
  max-width: var(--max);
  margin: 0 auto;
}

.sec-head {
  margin-bottom: 2.5rem;
}

.sec-label {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--burgundy-soft);
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(122, 59, 69, 0.14);
  border: 1px solid rgba(122, 59, 69, 0.22);
}

.sec h2 {
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.body {
  max-width: 62ch;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.body:last-child {
  margin-bottom: 0;
}

/* Roots */
.sec-roots {
  background: var(--night);
}

.roots-grid {
  display: grid;
  gap: 1rem;
}

.roots-grid > .bezel {
  display: flex;
}

.roots-card {
  flex: 1;
  padding: clamp(1.6rem, 3.5vw, 2.35rem);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.roots-card--origin {
  background:
    linear-gradient(165deg, rgba(196, 180, 160, 0.07), transparent 50%),
    var(--night-elevated);
}

.roots-card--traits {
  background:
    linear-gradient(200deg, rgba(122, 59, 69, 0.2), transparent 55%),
    var(--night-soft);
}

.roots-k {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.roots-card h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1.35rem;
}

.roots-card--traits h3 {
  color: var(--sand);
}

.trait-list {
  margin: 0 0 1.5rem;
  border-top: 1px solid var(--line);
}

.trait-list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  font-weight: 500;
}

.trait-n {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  color: var(--burgundy-soft);
}

@media (min-width: 900px) {
  .roots-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 1.25rem;
  }
}

/* About */
.sec-about {
  background: var(--night-elevated);
  max-width: none;
  padding: clamp(5rem, 11vw, 8rem) 0;
}

.about-grid {
  display: grid;
  gap: 2.75rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1.15rem, 4vw, 2.5rem);
}

.about-copy h2 {
  margin-bottom: 1.85rem;
}

.about-copy .body:nth-of-type(3),
.about-copy .body:nth-of-type(5) {
  padding-left: 1rem;
  border-left: 2px solid rgba(122, 59, 69, 0.55);
}

.about-rail {
  display: grid;
  gap: 1rem;
}

.about-photo {
  margin: 0;
  width: 100%;
  height: 380px;
  background: var(--night-soft);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
}

.about-rail-panel {
  padding: 1.6rem 1.65rem;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  background:
    linear-gradient(155deg, rgba(122, 59, 69, 0.28), transparent 52%),
    var(--night-soft);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.about-rail-motto {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: var(--sand);
}

.about-rail-place {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  line-height: 1.65;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1.25fr 0.9fr;
    gap: 3.5rem;
    align-items: start;
  }

  .about-rail {
    position: sticky;
    top: calc(var(--chrome-h) + 2.25rem);
  }

  .about-photo {
    height: 460px;
  }
}

/* Panorama */
.sec-glance {
  background: var(--night);
}

.fact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.fact-cell {
  padding: 1.45rem 1.35rem;
  background: var(--night-elevated);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  height: 100%;
}

.fact-cell:nth-child(1) {
  background: linear-gradient(160deg, rgba(196, 180, 160, 0.05), var(--night-elevated));
}

.bezel:nth-child(2) .fact-cell {
  background: linear-gradient(160deg, rgba(196, 180, 160, 0.06), var(--night-elevated));
}

.bezel:nth-child(3) .fact-cell {
  background: linear-gradient(200deg, rgba(122, 59, 69, 0.14), var(--night-elevated));
}

.fact-k {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.fact-cell h3 {
  font-size: 1.2rem;
  font-weight: 550;
  letter-spacing: -0.025em;
  margin-bottom: 0.35rem;
}

.fact-cell p:last-child {
  color: var(--muted);
  font-size: 0.9375rem;
}

.fact-cell--now {
  background:
    linear-gradient(145deg, rgba(122, 59, 69, 0.24), transparent 55%),
    var(--night-soft) !important;
}

.fact-cell--now h3 {
  color: var(--sand);
}

@media (min-width: 768px) {
  .fact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

/* Career */
.sec-career {
  background: var(--night-elevated);
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.sec-career > .sec-head,
.sec-career > .rail-timeline {
  --rail-pad: clamp(1.15rem, 4vw, 2.5rem);
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--rail-pad);
  padding-right: var(--rail-pad);
}

.rail-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.rail-timeline::before {
  content: "";
  position: absolute;
  left: calc(var(--rail-pad, 0px) + 5px);
  top: 1.1rem;
  bottom: 1.1rem;
  width: 1px;
  background: linear-gradient(180deg, var(--burgundy), rgba(196, 180, 160, 0.28));
}

.rail-item {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.75rem 1rem;
  padding: 0.35rem 0;
}

.rail-meta {
  display: contents;
}

.rail-phase {
  grid-column: 2;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand-dim);
  margin-bottom: 0.15rem;
}

.rail-dot {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 10px;
  height: 10px;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: var(--burgundy);
  border: 2px solid var(--night-elevated);
  box-shadow: 0 0 0 1px rgba(122, 59, 69, 0.65);
  z-index: 1;
}

.rail-bezel {
  grid-column: 2;
}

.rail-card {
  padding: 1.35rem 1.35rem 1.4rem;
  background: var(--night-soft);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.rail-item--now .rail-dot {
  background: var(--sand);
  box-shadow: 0 0 0 1px rgba(196, 180, 160, 0.45), 0 0 0 6px rgba(196, 180, 160, 0.1);
}

.rail-item--now .rail-phase {
  color: var(--sand);
}

.rail-card h3 {
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 0.25rem;
}

.rail-role {
  font-size: 0.9375rem;
  color: var(--sand);
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .rail-timeline {
    --phase-w: 10.75rem;
    --dot-col: 1.1rem;
    --rail-gap: 1.35rem;
  }

  .rail-timeline::before {
    left: calc(var(--rail-pad, 0px) + var(--phase-w) + var(--rail-gap) + var(--dot-col) / 2);
  }

  .rail-item {
    grid-template-columns: var(--phase-w) var(--dot-col) 1fr;
    gap: 0 var(--rail-gap);
    align-items: start;
  }

  .rail-phase {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    padding-top: 1.15rem;
    padding-right: 0.35rem;
    line-height: 1.35;
  }

  .rail-dot {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    margin-top: 1.25rem;
  }

  .rail-bezel {
    grid-column: 3;
  }
}

/* Credentials */
.sec-cred {
  background: var(--night);
}

.cred-layout {
  display: grid;
  gap: 2.75rem;
  align-items: start;
}

.cred-giant {
  font-size: clamp(4.5rem, 14vw, 7.5rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.9;
  color: rgba(196, 180, 160, 0.09);
  margin-bottom: -0.28em;
  pointer-events: none;
}

.cred-copy h3 {
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.cred-meta {
  margin-top: 1.6rem;
  max-width: 22rem;
  border-top: 1px solid var(--line);
}

.cred-meta li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}

.cred-meta span {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.cred-meta strong {
  font-weight: 500;
}

.cred-figure {
  margin: 0;
  background: #171c24;
}

.cred-figure img {
  width: 100%;
  height: auto;
}

.cred-figure figcaption {
  padding: 0.85rem 1rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--night-elevated);
}

@media (min-width: 768px) {
  .cred-layout {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .cred-layout {
    grid-template-columns: 0.95fr 1.15fr;
    gap: 3.75rem;
  }
}

/* Signature */
.sec-sign {
  background: var(--night-elevated);
  max-width: none;
  padding: clamp(5rem, 11vw, 8rem) clamp(1.15rem, 4vw, 2.5rem);
}

.sign-bezel {
  max-width: calc(var(--max) - 2 * clamp(1.15rem, 4vw, 2.5rem));
  margin: 0 auto;
}

.sign-panel {
  display: grid;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(122, 59, 69, 0.26), transparent 55%),
    var(--night-soft);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.sign-main {
  display: flex;
  flex-direction: column;
  padding: clamp(2.25rem, 5vw, 3.75rem) clamp(1.5rem, 4.5vw, 3.5rem);
}

.sign-main .sec-label {
  align-self: flex-start;
}

.sign-block {
  margin: 0;
}

.sign-en {
  font-size: clamp(2.4rem, 5.6vw, 4.25rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: var(--sand);
  margin: 0.5rem 0 1rem;
}

.sign-pt {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 2.25rem;
}

.sign-seal {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.85rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(122, 59, 69, 0.6);
  margin-bottom: 2.5rem;
}

.sign-seal-name {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.sign-seal-role {
  font-size: 0.9375rem;
  color: var(--muted);
}

.sign-facts {
  display: grid;
  gap: 0;
  margin-top: auto;
  border-top: 1px solid var(--line);
}

.sign-facts li {
  display: grid;
  align-content: start;
  gap: 0.2rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.sign-facts-k {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.sign-facts strong {
  font-size: 1.05rem;
  font-weight: 550;
  letter-spacing: -0.015em;
}

.sign-facts-d {
  font-size: 0.875rem;
  color: var(--sand-dim);
}

.sign-photo {
  position: relative;
  margin: 0;
  min-height: 320px;
  background: var(--night-elevated);
}

.sign-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.sign-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--night-soft) 0%, rgba(26, 33, 43, 0) 35%);
  pointer-events: none;
}

@media (min-width: 768px) {
  .sign-facts {
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--line);
  }

  .sign-facts li {
    padding: 1.1rem 1.25rem 0.25rem;
    border-bottom: 0;
    border-left: 1px solid var(--line);
  }

  .sign-facts li:first-child {
    padding-left: 0;
    border-left: 0;
  }
}

@media (min-width: 900px) {
  .sign-panel {
    grid-template-columns: 1.6fr 1fr;
    min-height: 540px;
  }
}

@media (max-width: 899px) {
  .sign-photo {
    order: -1;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .sign-photo img {
    object-position: center 18%;
  }

  .sign-photo::after {
    background: linear-gradient(180deg, rgba(26, 33, 43, 0) 55%, var(--night-soft) 100%);
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  .sign-photo {
    aspect-ratio: 16 / 9;
  }

  .about-photo {
    height: 440px;
  }
}

/* Footer */
.site-foot {
  padding: 2.25rem clamp(1.15rem, 4vw, 2.5rem) 3.25rem;
  text-align: center;
  border-top: 1px solid var(--line);
}

.foot-name {
  font-weight: 550;
  margin-bottom: 0.35rem;
}

.foot-note {
  font-size: 0.8125rem;
  color: var(--muted);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(4px);
  transition:
    opacity 0.85s var(--ease-out),
    transform 0.85s var(--ease-out),
    filter 0.85s var(--ease-out);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .folio.lang-fade,
  .cover-dock-shell,
  .mobile-nav a {
    animation: none;
    transition: none;
  }

  .cover-media img {
    transform: none;
  }
}

.cover-dock-shell {
  animation: coverIn 0.95s var(--ease-out) both;
}

@keyframes coverIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
