﻿:root {
  --bg: #050505;
  --fg: #f5f1e8;
  --muted: rgba(245, 241, 232, 0.68);
  --card: rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--fg);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(12, 12, 12, 0.82), rgba(5, 5, 5, 0.96)),
    #050505;
}

body {
  padding-bottom: 2rem;
}

.profile-shell {
  width: min(92rem, calc(100vw - 2rem));
  margin: 0 auto;
  padding: 1.2rem 0 2rem;
}

.profile-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}


.ui-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: var(--card);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-weight: 700;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.ui-button:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
}

.ui-button:active {
  transform: translateY(0) scale(0.98);
  background: rgba(255, 255, 255, 0.24);
}

.ui-button:focus-visible {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.2),
    0 14px 30px rgba(0, 0, 0, 0.28);
}
.back-link,
.folder-pill,
.subpage-footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0.66rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: var(--card);
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.folder-pill {
  color: var(--muted);
}

.back-link:hover,
.folder-pill:hover,
.subpage-footer-link:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
}

.back-link:active,
.folder-pill:active,
.subpage-footer-link:active {
  transform: translateY(0) scale(0.98);
  background: rgba(255, 255, 255, 0.24);
}

.profile-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background: rgba(8, 8, 8, 0.94);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
}

.profile-hero {
  display: grid;
  grid-template-columns: minmax(16rem, 24rem) minmax(0, 1fr);
  gap: 1.3rem;
  align-items: center;
  padding: 1.35rem 1.4rem;
}

.profile-hero-media {
  position: relative;
  min-height: clamp(18rem, 42vw, 29rem);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.profile-hero-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.profile-hero-copy {
  display: grid;
  gap: 0.35rem;
}

.profile-eyebrow {
  margin: 0 0 0.45rem;
  color: var(--muted);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 700;
}

.profile-hero h1 {
  margin: 0;
  font-family: "Anton", sans-serif;
  font-size: clamp(2.1rem, 4.6vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.profile-subtitle {
  margin: 0.45rem 0 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.68;
}

.profile-note {
  margin-top: 0.9rem;
  padding: 0.95rem 1.1rem;
  color: var(--muted);
  line-height: 1.7;
}

.profile-note strong {
  color: #ffffff;
}

.mediafeed-hero {
  padding: 1.35rem 1.4rem;
}

.mediafeed-copy {
  display: grid;
  gap: 0.35rem;
}

.feed-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin: 1.15rem 0 0.8rem;
}

.feed-head h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.12rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feed-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.post-feed {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  grid-auto-flow: dense;
  align-items: start;
}

.post-card {
  overflow: hidden;
  width: 100%;
  margin-inline: 0;
  grid-column: span var(--post-card-span, 6);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.website-post-card {
  grid-column: span 12;
}

.website-project-card,
.website-project-empty {
  grid-column: span 12;
}

.website-project-body {
  display: grid;
  align-content: center;
  min-height: 100%;
}

.website-project-copy {
  margin-block: auto;
}

.post-media {
  aspect-ratio: var(--post-media-ratio, 16 / 9);
  background: #050505;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.post-media img,
.post-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  background: #050505;
  image-rendering: auto;
}

.post-body {
  padding: 1rem 1.1rem 1.1rem;
  background: rgba(8, 8, 8, 0.96);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.36);
  border-color: rgba(255, 255, 255, 0.18);
}

.post-media-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  color: var(--muted);
}

.post-body {
  padding: 1rem 1.1rem 1.1rem;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
}

.post-date {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.post-kind {
  display: none;
}

.post-title {
  margin: 0 0 0.45rem;
  font-family: "Sora", sans-serif;
  font-size: 1.12rem;
  letter-spacing: 0.03em;
}

.post-description {
  margin: 0;
  color: rgba(245, 241, 232, 0.84);
  line-height: 1.72;
}

.website-post-shell {
  display: grid;
  grid-template-columns: minmax(18rem, 1.15fr) minmax(16rem, 0.95fr);
  gap: 0;
}

.website-post-shell-static {
  grid-template-columns: minmax(18rem, 1.02fr) minmax(16rem, 0.88fr);
  max-width: 64rem;
  margin: 0 auto;
}

.website-post-shell-static.is-portrait {
  grid-template-columns: minmax(13rem, 0.72fr) minmax(18rem, 1fr);
  max-width: 56rem;
}

.website-post-shell-static.is-landscape {
  grid-template-columns: minmax(20rem, 1.08fr) minmax(16rem, 0.86fr);
}

.website-post-shell-static.is-square {
  grid-template-columns: minmax(16rem, 0.88fr) minmax(16rem, 0.92fr);
  max-width: 58rem;
}

.website-post-media {
  position: relative;
  min-height: 28rem;
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.website-post-media-static {
  min-height: 23rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.028);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 18px 36px rgba(0, 0, 0, 0.2);
}

.website-post-shell-static.is-portrait .website-post-media-static {
  min-height: 24rem;
}

.website-post-shell-static.is-landscape .website-post-media-static {
  min-height: 21rem;
}

.website-post-shell-static.is-square .website-post-media-static {
  min-height: 22rem;
}

.website-post-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: transparent;
}

.website-post-single-frame {
  display: grid;
  place-items: center;
}

.website-post-video-preview {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
}

.team-standard-post {
  grid-column: span 12;
  align-content: start;
  max-width: none;
  width: 100%;
  margin: 0 auto;
}

.team-standard-post-shell {
  display: grid;
  grid-template-columns: clamp(18rem, 38vw, 30rem) minmax(20rem, 1fr);
  align-items: center;
}

.team-standard-post.is-reversed .team-standard-post-shell {
  grid-template-columns: minmax(20rem, 1fr) clamp(18rem, 38vw, 30rem);
}

.team-standard-post-media-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 1rem;
}

.team-standard-post .post-media {
  aspect-ratio: var(--post-media-ratio, 16 / 9);
  width: min(100%, 100%);
}

.team-standard-post[data-media-shape="landscape"] .team-standard-post-shell {
  grid-template-columns: minmax(25rem, 1.18fr) minmax(20rem, 0.9fr);
}

.team-standard-post[data-media-shape="landscape"].is-reversed .team-standard-post-shell {
  grid-template-columns: minmax(20rem, 0.9fr) minmax(25rem, 1.18fr);
}

.team-standard-post[data-media-shape="landscape"] .team-standard-post-media-wrap {
  padding: 0;
}

.team-standard-post.team-standard-post-video[data-media-shape="portrait"] .team-standard-post-shell {
  grid-template-columns: clamp(15rem, 26vw, 19rem) minmax(21rem, 1fr);
}

.team-standard-post.team-standard-post-video[data-media-shape="portrait"].is-reversed .team-standard-post-shell {
  grid-template-columns: minmax(21rem, 1fr) clamp(15rem, 26vw, 19rem);
}

.team-standard-post[data-media-shape="portrait"] .team-standard-post-media-wrap {
  align-items: stretch;
  padding: 0;
}

.team-standard-post.team-standard-post-video[data-media-shape="portrait"] .post-media {
  width: 100%;
}

.team-standard-post.team-standard-post-image[data-media-shape="portrait"] .team-standard-post-shell {
  grid-template-columns: clamp(15rem, 26vw, 19rem) minmax(21rem, 1fr);
}

.team-standard-post.team-standard-post-image[data-media-shape="portrait"].is-reversed .team-standard-post-shell {
  grid-template-columns: minmax(21rem, 1fr) clamp(15rem, 26vw, 19rem);
}

.team-standard-post.team-standard-post-image[data-media-shape="portrait"] .post-media {
  width: 100%;
}

.team-standard-post[data-media-shape="square"] .post-media {
  width: min(100%, 20rem);
}

.team-standard-post.is-reversed .team-standard-post-media-wrap {
  order: 2;
}

.team-standard-post.is-reversed .team-standard-post-body {
  order: 1;
}

.team-standard-post-media,
.team-standard-post .post-media {
  position: relative;
  height: auto;
  border-bottom: none;
}

.team-standard-post[data-media-shape="portrait"] .post-media {
  border-radius: 22px;
  overflow: hidden;
}

.team-standard-media {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  background: #050505;
}

.team-standard-post.team-standard-post-image .team-standard-media {
  width: 100%;
  height: auto;
  object-fit: cover;
  background: transparent;
}

.team-standard-image-gallery {
  position: relative;
}

.team-standard-gallery-controls {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.team-standard-gallery-nav,
.team-standard-gallery-dot {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  background: rgba(8, 8, 8, 0.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.team-standard-gallery-nav:hover,
.team-standard-gallery-nav:focus-visible,
.team-standard-gallery-dot:hover,
.team-standard-gallery-dot:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.34);
  outline: none;
}

.team-standard-gallery-nav:active,
.team-standard-gallery-dot:active {
  transform: scale(0.97);
}

.team-standard-gallery-nav {
  width: 2.65rem;
  height: 2.65rem;
  min-width: 2.65rem;
  padding: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  line-height: 1;
}

.team-standard-gallery-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.team-standard-gallery-dot {
  width: 0.75rem;
  height: 0.75rem;
  min-width: 0.75rem;
  padding: 0;
  border-radius: 999px;
}

.team-standard-gallery-dot.is-active {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.88);
}

.team-standard-video {
  background: #050505;
}

.team-standard-video-controls {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  pointer-events: none;
}

.team-standard-video-play,
.team-standard-video-fullscreen {
  pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  background: rgba(8, 8, 8, 0.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease, opacity 140ms ease;
}

.team-standard-video-play:hover,
.team-standard-video-play:focus-visible,
.team-standard-video-fullscreen:hover,
.team-standard-video-fullscreen:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.34);
  outline: none;
}

.team-standard-video-play:active,
.team-standard-video-fullscreen:active {
  transform: scale(0.97);
}

.team-standard-video-play {
  min-width: 3rem;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
}

.team-standard-video-play-icon {
  width: 0;
  height: 0;
  margin-left: 0.18rem;
  border-top: 0.48rem solid transparent;
  border-bottom: 0.48rem solid transparent;
  border-left: 0.72rem solid #ffffff;
}

.team-standard-video-fullscreen {
  min-width: 3.5rem;
  width: 3.5rem;
  height: 3rem;
  padding: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(12, 12, 12, 0.82);
}

.team-standard-post .project-fullscreen-toggle {
  position: static;
  z-index: auto;
  width: 3.5rem;
  height: 3rem;
  min-width: 3.5rem;
  min-height: 3rem;
  padding: 0;
  border-radius: 999px;
  letter-spacing: 0;
  line-height: 1;
  display: grid;
  place-items: center;
  background: rgba(8, 8, 8, 0.56);
  border-color: rgba(255, 255, 255, 0.24);
}

.team-standard-post .project-fullscreen-icon {
  position: relative;
  display: block;
  width: 1rem;
  height: 1rem;
}

.team-standard-post .project-fullscreen-icon::before,
.team-standard-post .project-fullscreen-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  transition: transform 180ms ease, opacity 180ms ease;
}

.team-standard-post .project-fullscreen-icon::before {
  background-image:
    linear-gradient(#fff, #fff),
    linear-gradient(#fff, #fff),
    linear-gradient(#fff, #fff),
    linear-gradient(#fff, #fff),
    linear-gradient(#fff, #fff),
    linear-gradient(#fff, #fff),
    linear-gradient(#fff, #fff),
    linear-gradient(#fff, #fff);
  background-size:
    0.28rem 2px, 2px 0.28rem,
    0.28rem 2px, 2px 0.28rem,
    0.28rem 2px, 2px 0.28rem,
    0.28rem 2px, 2px 0.28rem;
  background-position:
    left top, left top,
    right top, right top,
    left bottom, left bottom,
    right bottom, right bottom;
}

.team-standard-post .project-fullscreen-icon::after {
  opacity: 0;
  background-image:
    linear-gradient(#fff, #fff),
    linear-gradient(#fff, #fff);
  background-size:
    100% 2px,
    2px 100%;
  background-position:
    center center,
    center center;
}

.team-standard-post .project-fullscreen-toggle.is-active .project-fullscreen-icon::before {
  transform: scale(0.68);
  opacity: 0;
}

.team-standard-post .project-fullscreen-toggle.is-active .project-fullscreen-icon::after {
  opacity: 1;
  transform: rotate(45deg) scale(0.9);
}

.team-standard-post.is-video-active .team-standard-video-controls {
  opacity: 0;
}

.team-standard-post.is-video-active .team-standard-video-controls,
.team-standard-post.is-video-active .team-standard-video-controls * {
  pointer-events: none;
}

.team-standard-post-body {
  display: grid;
  align-content: center;
  gap: 0.72rem;
  padding: 1.2rem 1.25rem 1.25rem;
}

.team-standard-post-body .post-meta {
  margin-bottom: 0;
}

.team-standard-post-body .post-title {
  margin: 0;
}

.team-standard-post-body .post-description {
  margin: 0;
}

@media (max-width: 700px) {
  .team-standard-post {
    grid-column: span 2;
  }

  .team-standard-post-shell,
  .team-standard-post.is-reversed .team-standard-post-shell {
    grid-template-columns: 1fr;
  }

  .team-standard-post .post-media,
  .team-standard-post.is-portrait .post-media,
  .team-standard-post.is-square .post-media {
    aspect-ratio: var(--post-media-ratio, 16 / 9);
  }

  .team-standard-post-media-wrap,
  .team-standard-post[data-media-shape="portrait"] .team-standard-post-media-wrap {
    padding: 0;
    align-items: stretch;
  }

  .team-standard-post .post-media,
  .team-standard-post[data-media-shape="portrait"] .post-media,
  .team-standard-post[data-media-shape="square"] .post-media {
    width: 100%;
  }

  .team-standard-video-play {
    min-width: 2.7rem;
    width: 2.7rem;
    height: 2.7rem;
  }

  .team-standard-video-play-icon {
    border-top-width: 0.42rem;
    border-bottom-width: 0.42rem;
    border-left-width: 0.64rem;
  }

  .team-standard-video-fullscreen {
    min-width: 2.7rem;
    width: 3rem;
    height: 2.7rem;
  }

  .team-standard-post.is-reversed .team-standard-post-media-wrap,
  .team-standard-post.is-reversed .team-standard-post-body {
    order: initial;
  }
}

.website-post-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.website-post-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.website-post-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  background: #050505;
}

.website-post-single-media {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.website-post-single-video {
  min-height: 100%;
  max-height: 24rem;
  border-radius: 24px;
}

.website-post-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  color: var(--muted);
}

.website-post-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.72);
  color: #ffffff;
  font-size: 1.6rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.website-post-nav:hover,
.website-post-nav:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
  outline: none;
}

.website-post-nav:active {
  transform: translateY(-50%) scale(0.96);
}

.website-post-nav-prev {
  left: 1rem;
}

.website-post-nav-next {
  right: 1rem;
}

.website-post-body {
  display: grid;
  align-content: start;
  gap: 0.72rem;
  padding: 1.2rem 1.25rem 1.25rem;
}

.website-post-body .post-meta {
  margin-bottom: 0;
}

.website-post-body .post-title {
  margin: 0;
}

.website-post-client-label,
.website-post-caption-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.website-post-client,
.website-post-caption {
  margin: 0;
  color: #ffffff;
  line-height: 1.72;
}

.website-post-cover-copy {
  display: grid;
  gap: 0.72rem;
  color: rgba(245, 241, 232, 0.84);
  line-height: 1.72;
}

.website-post-cover-copy p {
  margin: 0;
}

.website-post-caption-block {
  display: grid;
  gap: 0.45rem;
}

.website-post-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.website-post-link:hover,
.website-post-link:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  outline: none;
}

.website-post-link:active {
  transform: scale(0.98);
}

.post-author-row {
  display: grid;
  gap: 0.16rem;
  margin: 0 0 0.72rem;
}

.post-author-link {
  width: fit-content;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.post-author-link:hover,
.post-author-link:focus-visible {
  text-decoration: underline;
  outline: none;
}

.post-author-role {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

code {
  color: #ffffff;
  font-family: "Consolas", "Courier New", monospace;
}

.site-footer {
  position: relative;
  width: min(58rem, calc(100vw - 2rem));
  margin: 0.6rem auto 0;
  padding: 0 0 1.8rem;
}

.footer-inner {
  width: 100%;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: var(--card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.95rem 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.footer-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-legal-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.72rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: var(--card);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.footer-legal-nav a:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
}

.footer-legal-nav a:active {
  transform: translateY(0) scale(0.98);
  background: rgba(255, 255, 255, 0.24);
}

.footer-legal-nav a:focus-visible {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.2),
    0 14px 30px rgba(0, 0, 0, 0.28);
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-meta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
}

.footer-icon {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  display: block;
}

.footer-icon-button {
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 140ms ease, opacity 140ms ease;
}

.footer-icon-button:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.footer-icon-button:active {
  transform: translateY(0) scale(0.96);
}

.footer-icon-button:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.4);
  outline-offset: 2px;
}

.subpage-footer {
  width: min(92rem, calc(100vw - 2rem));
  margin: 1.15rem auto 0;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  background: rgba(8, 8, 8, 0.92);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.subpage-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.subpage-footer-link {
  min-height: 2.4rem;
  padding: 0.56rem 0.88rem;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.subpage-footer-copy {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .site-footer {
    width: calc(100vw - 1rem);
    margin-top: 0.45rem;
    padding: 0 0 1.15rem;
  }

  .footer-inner {
    border-radius: 22px;
    padding: 0.8rem 0.75rem;
  }

  .footer-legal-nav {
    width: 100%;
    justify-content: center;
  }

  .footer-meta {
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }

  .profile-shell {
    width: calc(100vw - 1rem);
    padding-top: 0.8rem;
  }

  .profile-hero {
    grid-template-columns: 1fr;
  }

  .profile-hero-media {
    min-height: clamp(19rem, 68vw, 28rem);
  }

  .profile-topbar,
  .feed-head {
    flex-direction: column;
    align-items: stretch;
  }

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

  .post-card {
    grid-column: span 1;
  }

  .website-post-card {
    grid-column: span 2;
  }

  .profile-card {
    border-radius: 24px;
  }

  .profile-hero,
  .post-body,
  .profile-note {
    padding-left: 1rem;
    padding-right: 1rem;
  }
.subpage-footer {
    width: calc(100vw - 1rem);
    border-radius: 22px;
    padding: 0.9rem;
  }

  .website-post-shell {
    grid-template-columns: 1fr;
  }

  .website-post-media {
    min-height: 18rem;
  }

  .website-post-nav {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1.35rem;
  }

  .website-post-nav-prev {
    left: 0.7rem;
  }

  .website-post-nav-next {
    right: 0.7rem;
  }
}







