:root {
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  color-scheme: dark;
  --canvas: #09090b;
  --canvas-soft: #0d0d10;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-elevated: rgba(255, 255, 255, 0.08);
  --surface-solid: #121216;
  --text: #ffffff;
  --text-secondary: #e6e6e6;
  --body: #cccccc;
  --muted: #929298;
  --muted-soft: #66666c;
  --hairline: rgba(255, 255, 255, 0.12);
  --hairline-strong: rgba(255, 255, 255, 0.18);
  --glass: rgba(14, 14, 17, 0.76);
  --focus: #a9c7ff;
  --link: #c3d9f3;
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.38);
  --max-width: 1280px;
  --gutter: 48px;
  --section-space: 120px;
  --radius-xs: 12px;
  --radius-md: 28px;
  --radius-lg: 36px;
  --radius-xl: 44px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --header-height: 44px;
}

html[data-theme="light"] {
  color-scheme: light;
  --canvas: #f2f2f2;
  --canvas-soft: #e8e8e8;
  --surface: rgba(0, 0, 0, 0.045);
  --surface-elevated: rgba(0, 0, 0, 0.075);
  --surface-solid: #e7e7e7;
  --text: #171719;
  --text-secondary: #29292c;
  --body: #353539;
  --muted: #68686e;
  --muted-soft: #939399;
  --hairline: rgba(0, 0, 0, 0.12);
  --hairline-strong: rgba(0, 0, 0, 0.2);
  --glass: rgba(242, 242, 242, 0.8);
  --focus: #2458a6;
  --link: #2458a6;
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.14);
}

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

html {
  scroll-behavior: smooth;
  background: var(--canvas);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--text);
  font-family: "Barlow Semi Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.45;
  transition:
    background-color 0.45s ease,
    color 0.45s ease;
}

body.dialog-open {
  overflow: hidden;
}

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

button {
  color: inherit;
  font: inherit;
}

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

img,
svg,
canvas {
  display: block;
}

::selection {
  background: var(--focus);
  color: #09090b;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

::view-transition-new(root) {
  animation: themeReveal 0.65s var(--ease);
  clip-path: circle(0 at var(--theme-x) var(--theme-y));
}

@keyframes themeReveal {
  to {
    clip-path: circle(150vmax at var(--theme-x) var(--theme-y));
  }
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 50%;
  z-index: 1000;
  transform: translate(-50%, -160%);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--text);
  color: var(--canvas);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  width: 100%;
  height: var(--header-height);
  padding-inline: max(var(--gutter), calc((100vw - var(--max-width)) / 2 + var(--gutter)));
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    backdrop-filter 0.25s ease;
}

.site-header.is-scrolled,
.site-header.menu-is-open {
  background: var(--glass);
  border-color: var(--hairline);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  backdrop-filter: blur(20px) saturate(1.3);
}

.header-edge {
  position: relative;
  justify-self: start;
}

.menu-button,
.theme-button {
  display: inline-flex;
  min-width: 44px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.menu-button {
  gap: 12px;
  margin-left: -12px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.menu-button:hover,
.menu-button[aria-expanded="true"],
.theme-button:hover {
  border-color: var(--hairline-strong);
  background: var(--surface);
}

.menu-lines {
  display: grid;
  width: 15px;
  gap: 5px;
}

.menu-lines span {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.25s var(--ease);
  transform-origin: center;
}

.menu-button[aria-expanded="true"] .menu-lines span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-lines span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.wordmark {
  justify-self: center;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  min-width: 0;
  gap: 4px;
}

.language-switcher {
  position: relative;
  display: grid;
  width: 72px;
  height: 34px;
  grid-template-columns: repeat(2, 34px);
  align-items: center;
  padding: 1px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  background: var(--surface);
  isolation: isolate;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.language-switcher:hover,
.language-switcher:focus-within {
  border-color: var(--hairline-strong);
  background: var(--surface-elevated);
}

.language-thumb {
  position: absolute;
  z-index: -1;
  top: 2px;
  left: 2px;
  width: 32px;
  height: 28px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-pill);
  background: var(--text);
  box-shadow: 0 2px 9px rgba(0, 0, 0, 0.16);
  transition: transform 0.38s var(--ease);
}

.language-switcher[data-active-language="pt-BR"] .language-thumb {
  transform: translateX(34px);
}

.language-option {
  position: relative;
  z-index: 1;
  display: grid;
  width: 34px;
  height: 30px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
  cursor: pointer;
  transition:
    color 0.25s ease,
    transform 0.2s var(--spring);
}

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

.language-option:active {
  transform: scale(0.9);
}

.language-option[aria-pressed="true"] {
  color: var(--canvas);
}

.language-option:focus-visible {
  outline-offset: 3px;
}

.theme-button {
  justify-self: end;
  width: 44px;
  margin-right: -10px;
  padding: 10px;
  border-radius: 50%;
}

.theme-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.moon-icon {
  display: none;
}

html[data-theme="light"] .sun-icon {
  display: none;
}

html[data-theme="light"] .moon-icon {
  display: block;
}

.site-menu {
  position: absolute;
  top: 42px;
  left: 0;
  display: grid;
  min-width: 220px;
  padding: 18px 20px;
  visibility: hidden;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: var(--glass);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  transform-origin: top left;
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  backdrop-filter: blur(24px) saturate(1.2);
  transition:
    opacity 0.2s ease,
    transform 0.25s var(--ease),
    visibility 0.2s;
}

.site-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.site-menu a {
  position: relative;
  padding: 10px 8px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.site-menu a::before {
  position: absolute;
  top: 50%;
  left: -4px;
  width: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transition: width 0.2s ease;
}

.site-menu a:hover {
  color: var(--text);
  transform: translateX(8px);
}

.site-menu a:hover::before {
  width: 7px;
}

main {
  display: block;
}

section {
  scroll-margin-top: var(--header-height);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  background: var(--canvas);
}

#dotCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  background: linear-gradient(to bottom, transparent, var(--canvas));
  pointer-events: none;
  content: "";
}

.hero-fallback {
  position: relative;
  z-index: 1;
  display: none;
  text-align: center;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(60px, 13vw, 180px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 0.93;
}

.hero-fallback span {
  display: block;
}

.hero-note {
  position: absolute;
  z-index: 2;
  bottom: 34px;
  left: max(var(--gutter), calc((100vw - var(--max-width)) / 2 + var(--gutter)));
  max-width: 270px;
  margin: 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  right: max(var(--gutter), calc((100vw - var(--max-width)) / 2 + var(--gutter)));
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-line {
  position: relative;
  display: block;
  width: 56px;
  height: 1px;
  overflow: hidden;
  background: var(--hairline-strong);
}

.scroll-line::after {
  position: absolute;
  inset: 0;
  background: var(--text);
  content: "";
  transform: translateX(-100%);
  animation: scrollLine 2.2s var(--ease) infinite;
}

@keyframes scrollLine {
  0% {
    transform: translateX(-100%);
  }
  55%,
  100% {
    transform: translateX(100%);
  }
}

.approach {
  display: grid;
  min-height: 100svh;
  grid-template-rows: repeat(4, 1fr);
  align-items: center;
  padding: 80px var(--gutter);
}

.approach-line {
  width: min(100%, 760px);
  margin: 0 auto;
  color: var(--text-secondary);
  text-align: center;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.12;
}

.approach-line--wide {
  width: min(100%, 860px);
}

.section-shell {
  width: min(100%, var(--max-width));
  margin-inline: auto;
  padding: var(--section-space) var(--gutter);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 56px;
  margin-bottom: 78px;
}

.section-heading > div:first-child {
  max-width: 840px;
}

.section-heading--solo {
  display: block;
}

.eyebrow,
.project-type {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-heading h2,
.about-copy h2,
.dialog-shell > h2,
.picture-dialog-copy h2 {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.section-intro {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--body);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 36px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.rail-controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  padding-bottom: 3px;
}

.rail-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    opacity 0.2s ease,
    transform 0.2s var(--spring);
}

.rail-arrow:hover:not(:disabled) {
  border-color: var(--hairline-strong);
  background: var(--surface-elevated);
  transform: scale(1.06);
}

.rail-arrow:active:not(:disabled) {
  transform: scale(0.96);
}

.rail-arrow:disabled {
  cursor: default;
  opacity: 0.24;
}

.rail-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.rail-meter {
  display: block;
  width: 80px;
  height: 1px;
  overflow: hidden;
  background: var(--hairline-strong);
}

.rail-meter span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
}

.project-rail,
.archive-rail {
  display: flex;
  gap: 40px;
  margin: -12px calc(var(--gutter) * -1);
  padding: 14px var(--gutter) 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
}

.project-rail::-webkit-scrollbar,
.archive-rail::-webkit-scrollbar {
  display: none;
}

.project-rail.is-dragging,
.archive-rail.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.project-card {
  position: relative;
  width: 520px;
  flex: 0 0 auto;
}

.project-card--wide {
  width: 900px;
}

.project-card--portrait {
  width: 260px;
}

.project-open {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: transparent;
  cursor: pointer;
}

.project-open:focus-visible {
  outline-offset: 5px;
}

.project-visual {
  position: relative;
  height: 520px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: translateZ(0);
  transition:
    transform 0.55s var(--ease),
    border-color 0.35s ease,
    box-shadow 0.55s ease;
}

.project-card:hover .project-visual {
  border-color: var(--hairline-strong);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-12px);
}

.project-copy {
  padding: 22px 4px 0;
}

.project-copy .project-type {
  margin-bottom: 8px;
}

.project-copy h3,
.idea-card h3 {
  display: inline;
  margin: 0 7px 0 0;
  font-family: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}

.project-copy > p:last-child {
  display: inline;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.visual-dashboard {
  display: grid;
  place-items: center;
  padding: 58px;
  background:
    radial-gradient(circle at 80% 20%, rgba(169, 199, 255, 0.15), transparent 32%),
    linear-gradient(145deg, #15161c, #08090c 68%);
}

.dashboard-window {
  width: min(100%, 780px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 18px;
  background: #eff1f6;
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.45);
  color: #17181d;
  transform: perspective(1100px) rotateX(4deg) rotateY(-6deg);
}

.window-bar {
  display: flex;
  height: 38px;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border-bottom: 1px solid #d6d8de;
  background: #fafbfc;
}

.window-bar > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c3c6ce;
}

.window-bar b {
  margin-left: auto;
  color: #898d98;
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.dashboard-body {
  display: grid;
  min-height: 320px;
  grid-template-columns: 104px 1fr;
}

.dashboard-nav {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 32px 22px;
  border-right: 1px solid #d9dbe1;
}

.dashboard-nav i,
.dashboard-title,
.dashboard-list i,
.dashboard-stat i {
  display: block;
  border-radius: 10px;
  background: #d7dae1;
}

.dashboard-nav i {
  width: 100%;
  height: 7px;
}

.dashboard-nav i:first-child {
  background: #3a6be8;
}

.dashboard-content {
  padding: 34px;
}

.dashboard-title {
  width: 38%;
  height: 17px;
  margin-bottom: 30px;
  background: #252932;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 18px;
}

.dashboard-chart,
.dashboard-stat,
.dashboard-list {
  border: 1px solid #d8dae0;
  border-radius: 14px;
  background: #fff;
}

.dashboard-chart {
  position: relative;
  grid-row: span 2;
  min-height: 215px;
  overflow: hidden;
  background:
    linear-gradient(#f1f2f5 1px, transparent 1px),
    linear-gradient(90deg, #f1f2f5 1px, transparent 1px),
    #fff;
  background-size: 32px 32px;
}

.dashboard-chart span {
  position: absolute;
  right: -5%;
  bottom: 18%;
  left: -5%;
  height: 50%;
  border-top: 4px solid #3a6be8;
  border-radius: 50% 35% 0 0;
  background: linear-gradient(to bottom, rgba(58, 107, 232, 0.2), transparent);
  transform: skewY(-9deg);
}

.dashboard-stat {
  display: grid;
  grid-template-columns: 1fr 28px;
  align-items: center;
  padding: 20px;
}

.dashboard-stat b {
  grid-row: span 2;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 46px;
}

.dashboard-stat i {
  width: 25px;
  height: 6px;
}

.dashboard-list {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.dashboard-list i {
  height: 8px;
}

.dashboard-list i:nth-child(even) {
  width: 72%;
}

.visual-device {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(179, 149, 255, 0.52), transparent 27%),
    radial-gradient(circle at 20% 78%, rgba(255, 108, 143, 0.24), transparent 30%),
    #0d0c14;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.orbit--one {
  width: 440px;
  height: 440px;
}

.orbit--two {
  width: 310px;
  height: 310px;
}

.phone {
  position: relative;
  z-index: 1;
  width: 216px;
  height: 450px;
  padding: 8px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 42px;
  background: #070709;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.64);
  transform: rotate(-4deg);
}

.phone-island {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 50%;
  width: 74px;
  height: 19px;
  border-radius: var(--radius-pill);
  background: #050506;
  transform: translateX(-50%);
}

.phone-screen {
  height: 100%;
  padding: 58px 18px 18px;
  overflow: hidden;
  border-radius: 33px;
  background:
    radial-gradient(circle at 80% 10%, #d7b6ff, transparent 26%),
    radial-gradient(circle at 15% 55%, #fd8a9c, transparent 34%),
    linear-gradient(160deg, #5d3fc0, #1b173c 70%);
  color: #fff;
}

.phone-kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.phone-screen > b {
  display: block;
  margin-top: 12px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 27px;
  font-weight: 500;
  line-height: 0.95;
}

.phone-card {
  display: grid;
  gap: 8px;
  margin-top: 95px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(12px);
}

.phone-card i {
  display: block;
  height: 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.75);
}

.phone-card i:nth-child(2) {
  width: 70%;
}

.phone-card i:nth-child(3) {
  width: 44%;
}

.phone-dock {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}

.phone-dock span {
  width: 11px;
  height: 11px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
}

.visual-identity {
  display: grid;
  place-items: center;
  background: #d7ff48;
  color: #0b0c0a;
}

.identity-sheet {
  position: absolute;
  width: 72%;
  aspect-ratio: 0.76;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: #f3f1e8;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.identity-sheet--back {
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 24px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  transform: translate(-18px, -14px) rotate(-8deg);
}

.identity-sheet--front {
  display: grid;
  align-content: space-between;
  padding: 24px;
  transform: translate(24px, 21px) rotate(7deg);
}

.identity-sheet--front b {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 170px;
  font-weight: 600;
  line-height: 0.8;
}

.identity-sheet--front div {
  display: flex;
  justify-content: space-between;
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.12em;
}

.visual-map {
  background: #e9e7df;
}

.map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.9;
  background:
    linear-gradient(34deg, transparent 48%, rgba(99, 103, 111, 0.18) 49%, rgba(99, 103, 111, 0.18) 51%, transparent 52%) 0 0 / 90px 76px,
    linear-gradient(-34deg, transparent 48%, rgba(99, 103, 111, 0.13) 49%, rgba(99, 103, 111, 0.13) 51%, transparent 52%) 0 0 / 130px 90px,
    linear-gradient(90deg, rgba(99, 103, 111, 0.1) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(rgba(99, 103, 111, 0.1) 1px, transparent 1px) 0 0 / 42px 42px;
}

.visual-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-route {
  fill: none;
  stroke: #4169e1;
  stroke-linecap: round;
  stroke-width: 7px;
}

.map-route--ghost {
  stroke: rgba(255, 111, 80, 0.8);
  stroke-width: 4px;
}

.map-pin {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 6px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: #4169e1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
  transform: rotate(-45deg);
}

.map-pin--one {
  top: 44%;
  left: 32%;
}

.map-pin--two {
  top: 26%;
  right: 23%;
  background: #ff6f50;
}

.map-label {
  position: absolute;
  right: 11%;
  bottom: 16%;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
  color: #1b1c20;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.visual-orb {
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    #111116;
  background-size: 30px 30px;
}

.orb {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #f1d4ff, transparent 20%),
    radial-gradient(circle at 65% 70%, #ff705e, transparent 26%),
    conic-gradient(from 20deg, #6c53ef, #35c7bd, #e55d9c, #6c53ef);
  box-shadow:
    inset -35px -35px 60px rgba(0, 0, 0, 0.35),
    0 30px 90px rgba(97, 79, 255, 0.32);
  animation: orbFloat 7s ease-in-out infinite;
}

.orb::after {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  content: "";
  transform: rotate(34deg) scaleY(0.38);
}

.orb span {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.orb span:nth-child(1) {
  top: 18%;
  left: 28%;
}

.orb span:nth-child(2) {
  top: 42%;
  right: 12%;
}

.orb span:nth-child(3) {
  right: 29%;
  bottom: 13%;
}

.orb span:nth-child(4) {
  bottom: 33%;
  left: 8%;
}

.visual-orb > p {
  position: absolute;
  right: 24px;
  bottom: 18px;
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translateY(-8px) rotate(-3deg);
  }
  50% {
    transform: translateY(12px) rotate(5deg);
  }
}

/* Side project placeholders follow the homepage Field Notes card layout. */
.archive-section .archive-rail {
  gap: 24px;
  margin: 0;
  padding: 12px 0 30px;
  scroll-snap-type: x mandatory;
}

/* Let desktop project rows continue to the screen edges, while the first
   and last cards keep the same inset as their section headings. */
@media (min-width: 1025px) {
  #work #selectedWorkRail,
  #archive #archiveRail {
    --rail-inset: max(var(--gutter), calc((100vw - var(--max-width)) / 2 + var(--gutter)));
    margin-inline: calc((100% - 100vw) / 2);
    padding-inline: var(--rail-inset);
    scroll-padding-inline: var(--rail-inset);
  }
}

.archive-card {
  flex: 0 0 clamp(300px, 34vw, 420px);
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--surface);
  scroll-snap-align: start;
}

.archive-card__cover {
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--hairline);
  background: var(--surface-solid);
}

.archive-card__copy {
  padding: 20px;
}

.archive-card__copy .project-type {
  margin-bottom: 10px;
}

.archive-card__copy h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.12;
}

.archive-card__copy > p:not(.project-type) {
  margin: 12px 0 16px;
  color: var(--muted);
}

.archive-card__status {
  color: var(--body);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .archive-card { flex-basis: 85%; }
}

.ideas-section {
  padding-bottom: 96px;
}

.library-window {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-xl);
  background: #09090b;
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #fff;
  transform-style: preserve-3d;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s ease;
}

.library-window:hover {
  box-shadow:
    0 52px 110px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.11);
  transform: translateY(-12px);
}

.library-topbar {
  display: grid;
  min-height: 54px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.48);
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.library-topbar span:last-child {
  justify-self: end;
}

.library-mark {
  color: #fff;
  font-weight: 500;
}

.library-body {
  display: grid;
  min-height: 636px;
  grid-template-columns: 190px 1fr;
}

.library-sidebar {
  display: grid;
  align-content: start;
  gap: 22px;
  padding: 42px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.38);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.library-sidebar span {
  position: relative;
}

.library-sidebar .active {
  color: #fff;
}

.library-sidebar .active::before {
  position: absolute;
  top: 50%;
  left: -14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a9c7ff;
  content: "";
  transform: translateY(-50%);
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 28px;
}

.idea-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.idea-art {
  position: absolute;
  inset: 0;
}

.idea-card > p,
.idea-card > h3 {
  position: absolute;
  z-index: 2;
  right: 20px;
  left: 20px;
  margin: 0;
}

.idea-card > p {
  bottom: 46px;
  color: rgba(255, 255, 255, 0.56);
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.idea-card > h3 {
  bottom: 18px;
  color: #fff;
  font-size: 16px;
}

.idea-card::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.88));
  content: "";
}

.idea-card--signal .idea-art {
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 50% 40%, rgba(75, 114, 255, 0.45), transparent 35%);
  background-size: 22px 22px, 22px 22px, auto;
}

.idea-card--signal .idea-art span {
  position: absolute;
  top: 40%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 28px #a9c7ff;
  transform: translate(-50%, -50%);
}

.idea-card--signal .idea-art span:nth-child(2) {
  transform: translate(-90px, -58px) scale(0.55);
}

.idea-card--signal .idea-art span:nth-child(3) {
  transform: translate(72px, 36px) scale(0.7);
}

.idea-card--signal .idea-art span:nth-child(4) {
  transform: translate(-58px, 70px) scale(0.4);
}

.idea-card--unfinished .idea-art {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #f8e9d5 0 50%, #ef694e 50%);
}

.idea-card--unfinished .idea-art b {
  color: #131313;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 138px;
  font-weight: 500;
  letter-spacing: -0.07em;
  transform: translateY(-22px);
}

.idea-card--unfinished .idea-art i {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(0, 0, 0, 0.35);
  border-radius: 50%;
}

.idea-card--questions .idea-art {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #19191e;
}

.idea-card--questions .idea-art span {
  color: rgba(255, 255, 255, 0.88);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 106px;
  font-weight: 400;
  transform: translateY(-18px) rotate(-12deg);
}

.idea-card--questions .idea-art span:nth-child(2) {
  color: #a9c7ff;
  transform: translateY(-34px) rotate(8deg);
}

.idea-card--questions .idea-art span:nth-child(3) {
  transform: translateY(-8px) rotate(15deg);
}

.idea-card--images .idea-art {
  background: linear-gradient(160deg, #2a3b64, #18151e 62%);
}

.idea-card--images .idea-art i {
  position: absolute;
  top: 24px;
  width: 40%;
  height: 70%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background:
    radial-gradient(circle at 42% 30%, #f3d8b7 0 7%, transparent 8%),
    linear-gradient(155deg, transparent 40%, rgba(111, 164, 151, 0.8) 41% 62%, transparent 63%),
    #293a50;
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.35);
}

.idea-card--images .idea-art i:nth-child(1) {
  left: 11%;
  transform: rotate(-10deg);
}

.idea-card--images .idea-art i:nth-child(2) {
  left: 30%;
  z-index: 1;
  transform: translateY(-6px);
}

.idea-card--images .idea-art i:nth-child(3) {
  right: 10%;
  transform: rotate(10deg);
}

.library-button {
  position: absolute;
  z-index: 3;
  bottom: 24px;
  left: 50%;
  padding: 14px 26px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-pill);
  background: rgba(10, 10, 12, 0.76);
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
  transition:
    background-color 0.2s ease,
    transform 0.25s var(--spring);
}

.library-button:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(-50%) scale(1.04);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.principle {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  padding: 38px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition:
    background-color 0.3s ease,
    transform 0.4s var(--ease);
}

.principle:hover {
  background: var(--surface-elevated);
  transform: translateY(-7px);
}

.principle p {
  margin: 0;
  color: var(--text-secondary);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 34px;
  letter-spacing: -0.015em;
  line-height: 1.05;
}

.principle footer {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  align-items: stretch;
  gap: 90px;
}

.about-copy {
  align-self: center;
}

.about-copy > p:not(.eyebrow) {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--body);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 30px;
  letter-spacing: -0.01em;
  line-height: 1.16;
}

.about-portrait {
  width: 100%;
  max-width: 300px;
  align-self: center;
  justify-self: center;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--surface);
}

.about-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.after-hours-copy { max-width: 730px; }
.after-hours-copy h2 {
  margin: 0;
  font: 600 56px/1.05 "Barlow Condensed", "Arial Narrow", sans-serif;
  letter-spacing: -.02em;
}
.after-hours-copy > p:last-child {
  margin: 28px 0 0;
  color: var(--body);
  font: 400 30px/1.16 "Barlow Condensed", "Arial Narrow", sans-serif;
  letter-spacing: -.01em;
}
/* Shared glass card: the link stays still while its layers move in perspective. */
.after-hours-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: 1072px;
  margin-top: 48px;
}
.after-hours-card {
  --card-accent: #a8c7c2;
  position: relative;
  display: block;
  min-width: 0;
  height: 292px;
  border-radius: 32px;
  perspective: 900px;
  color: #f5f5f7;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.after-hours-card--photography { --card-accent: #c6ad86; }
.after-hours-card--favorites { --card-accent: #bba4b5; }
.after-hours-card--tools { --card-accent: #a2abd0; }
.after-hours-surface {
  position: relative;
  width: 100%;
  height: 100%;
  border: 1px solid #414146;
  border-radius: inherit;
  background: linear-gradient(145deg, #29292d, #0c0c0e 78%);
  box-shadow: 0 14px 28px -15px #0008;
  transform-style: preserve-3d;
  transition: transform 280ms cubic-bezier(.23, 1, .32, 1);
}
.after-hours-glass {
  position: absolute;
  inset: 7px;
  border-radius: 26px;
  border: 1px solid #ffffff12;
  border-left-color: #ffffff30;
  border-bottom-color: #ffffff25;
  background: linear-gradient(140deg, #ffffff18, #ffffff03 60%);
  transform: translateZ(8px);
  pointer-events: none;
}
.after-hours-rings {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 135px;
  height: 135px;
  transform-style: preserve-3d;
  pointer-events: none;
}
.after-hours-rings i {
  position: absolute;
  top: 0;
  right: 0;
  width: 135px;
  height: 135px;
  border: 1px solid #ffffff0c;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff05, #ffffff0c);
  transform: translateZ(12px);
  transition: transform 280ms cubic-bezier(.23, 1, .32, 1);
}
.after-hours-rings i:nth-child(2) { width: 103px; height: 103px; top: 7px; right: 7px; transform: translateZ(20px); }
.after-hours-rings i:nth-child(3) { width: 71px; height: 71px; top: 14px; right: 14px; transform: translateZ(28px); }
.after-hours-number {
  position: absolute;
  top: 23px;
  left: 24px;
  color: #a5a5ac;
  font: 400 10px/1 "IBM Plex Mono", monospace;
  letter-spacing: .08em;
  transform: translateZ(18px);
}
.after-hours-visual {
  position: absolute;
  top: 51px;
  left: 18px;
  right: 18px;
  height: 156px;
  transform: translateZ(26px);
  transition: transform 280ms cubic-bezier(.23, 1, .32, 1);
  pointer-events: none;
}
.after-hours-visual > svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(-4px 10px 6px #0005); }
.after-hours-emblem {
  position: absolute;
  display: grid;
  place-items: center;
  top: 24px;
  right: 25px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #fff9;
  background: linear-gradient(145deg, #fafafa, #bbbcc2);
  color: #303137;
  box-shadow: -4px 8px 12px #0004;
  transform: translateZ(40px);
  transition: transform 280ms cubic-bezier(.23, 1, .32, 1);
}
.after-hours-emblem::after { content: ""; position: absolute; bottom: 0; right: 1px; width: 6px; height: 6px; border-radius: 50%; background: var(--card-accent); border: 1px solid #25252a; }
.after-hours-emblem svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.after-hours-card-copy { position: absolute; inset: auto 23px 25px; transform: translateZ(24px); }
.after-hours-card-copy h3 { margin: 0; color: #f5f5f7; font-size: 20px; line-height: 1.15; letter-spacing: -.025em; }
.after-hours-card-copy p { max-width: 166px; min-height: 30px; margin: 9px 0 0; color: #b2b2ba; font: 400 10px/1.5 "IBM Plex Mono", monospace; }
.after-hours-arrow { position: absolute; bottom: 28px; right: 22px; display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; border: 1px solid #ffffff26; transform: translateZ(28px); }
.after-hours-arrow svg { width: 11px; height: 11px; stroke: #dddde2; fill: none; stroke-width: 1.5; }
.after-hours-card:focus-visible { outline: 2px solid var(--focus); outline-offset: 7px; }
.after-hours-card:focus-visible .after-hours-surface { border-color: #cacacf; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .after-hours-card.is-tilting { z-index: 2; }
  .after-hours-card.is-tilting .after-hours-visual { transform: translate3d(-3px, -4px, 52px) rotate(-2deg); }
  .after-hours-card.is-tilting .after-hours-emblem { transform: translateZ(68px); }
  .after-hours-card.is-tilting .after-hours-rings i:nth-child(2) { transform: translateZ(28px); }
  .after-hours-card.is-tilting .after-hours-rings i:nth-child(3) { transform: translateZ(44px); }
  .after-hours-card:active .after-hours-surface { scale: .98; }
}
@media (max-width: 1024px) {
  .after-hours-copy h2 { font-size: 42px; }
  .after-hours-copy > p:last-child { font-size: 24px; }
  .after-hours-grid { grid-template-columns: repeat(2, minmax(0, 254px)); }
}
@media (max-width: 767px) {
  .after-hours-copy h2 { font-size: 32px; }
  .after-hours-copy > p:last-child { font-size: 22px; }
  .after-hours-grid { display: flex; gap: 18px; margin: 32px -8px -18px; padding: 12px 8px 26px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
  .after-hours-grid::-webkit-scrollbar { display: none; }
  .after-hours-card { flex: 0 0 238px; height: 282px; scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) {
  .after-hours-surface, .after-hours-visual, .after-hours-emblem, .after-hours-rings i { transition: none; }
  .after-hours-surface { transform: none !important; }
}
@media (forced-colors: active) {
  .after-hours-surface { border: 1px solid LinkText; }
  .after-hours-card-copy h3, .after-hours-card-copy p { color: LinkText; }
  .after-hours-visual, .after-hours-emblem { forced-color-adjust: none; }
}

.picture-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.picture-card {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s ease;
}

.picture-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-10px);
}

.picture-card::after {
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.88));
  content: "";
}

.picture-art {
  position: absolute;
  inset: 0;
}

.picture-copy {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 22px;
  left: 22px;
  color: #fff;
}

.picture-copy b,
.picture-copy small {
  display: block;
}

.picture-copy b {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.picture-copy small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.65);
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.picture-card--people .picture-art {
  background:
    radial-gradient(circle at 50% 26%, #e5c1a2 0 8%, transparent 8.5%),
    radial-gradient(ellipse at 50% 50%, #753b48 0 22%, transparent 22.5%),
    linear-gradient(155deg, #bf8461, #473039 55%, #14141a);
}

.picture-card--people .picture-art i {
  position: absolute;
  bottom: 21%;
  width: 36%;
  height: 45%;
  border-radius: 60% 60% 10% 10%;
  background: rgba(20, 20, 26, 0.72);
}

.picture-card--people .picture-art i:nth-child(1) {
  left: -4%;
  transform: scale(0.8);
}

.picture-card--people .picture-art i:nth-child(2) {
  left: 32%;
}

.picture-card--people .picture-art i:nth-child(3) {
  right: -5%;
  transform: scale(0.86);
}

.picture-card--places .picture-art {
  background:
    linear-gradient(to top, #111b23 0 16%, transparent 16%),
    linear-gradient(145deg, transparent 55%, rgba(225, 161, 94, 0.9) 56% 64%, transparent 65%),
    linear-gradient(28deg, #152b3e 0 40%, #35657c 40% 58%, #e1ac76 58% 60%, #7092a1 60%);
}

.picture-card--places .picture-art i {
  position: absolute;
  bottom: 14%;
  width: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.picture-card--places .picture-art i:nth-child(1) {
  left: 18%;
  height: 20%;
}

.picture-card--places .picture-art i:nth-child(2) {
  left: 39%;
  height: 29%;
}

.picture-card--places .picture-art i:nth-child(3) {
  right: 36%;
  height: 23%;
}

.picture-card--places .picture-art i:nth-child(4) {
  right: 13%;
  height: 34%;
}

.picture-card--process .picture-art {
  background:
    radial-gradient(ellipse at 20% 82%, #d6aa82 0 14%, transparent 14.5%),
    radial-gradient(ellipse at 78% 76%, #bc8766 0 18%, transparent 18.5%),
    linear-gradient(145deg, #8e7b65, #2b2926);
}

.picture-card--process .picture-art i {
  position: absolute;
  background: rgba(239, 224, 198, 0.86);
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.2);
}

.picture-card--process .picture-art i:nth-child(1) {
  top: 13%;
  left: 12%;
  width: 52%;
  height: 36%;
  transform: rotate(-8deg);
}

.picture-card--process .picture-art i:nth-child(2) {
  top: 34%;
  right: 8%;
  width: 50%;
  height: 32%;
  transform: rotate(11deg);
}

.picture-card--process .picture-art i:nth-child(3) {
  top: 9%;
  right: 15%;
  width: 4px;
  height: 66%;
  background: #d2573c;
  transform: rotate(27deg);
}

.picture-card--process .picture-art i:nth-child(4) {
  top: 48%;
  left: 8%;
  width: 66%;
  height: 3px;
  background: #1b1b1b;
  transform: rotate(-19deg);
}

.picture-card--details .picture-art {
  background:
    radial-gradient(circle at 40% 42%, transparent 0 19%, rgba(255, 255, 255, 0.5) 20% 20.8%, transparent 21%),
    repeating-radial-gradient(circle at 40% 42%, #5146a1 0 8px, #c370a1 9px 16px, #e6a47e 17px 24px);
  filter: saturate(0.78);
}

.picture-card--details .picture-art i {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(7px);
}

.picture-card--details .picture-art i:nth-child(1) {
  top: 12%;
  right: 11%;
  width: 52px;
  height: 52px;
}

.picture-card--details .picture-art i:nth-child(2) {
  right: 22%;
  bottom: 27%;
  width: 90px;
  height: 90px;
}

.picture-card--details .picture-art i:nth-child(3) {
  bottom: 13%;
  left: 12%;
  width: 34px;
  height: 34px;
}

.circular-gallery-shell {
  position: relative;
  height: clamp(600px, 62vw, 760px);
  margin-top: 72px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 48%, var(--surface-elevated), transparent 34%),
    linear-gradient(155deg, var(--canvas-soft), var(--canvas));
  isolation: isolate;
}

.circular-gallery-shell::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--hairline) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black, transparent 74%);
  opacity: 0.18;
  content: "";
}

.circular-gallery-toolbar {
  position: absolute;
  z-index: 6;
  top: 24px;
  right: 28px;
  left: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.circular-gallery-toolbar > p,
.circular-gallery-position {
  margin: 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.circular-gallery-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
}

.circular-gallery-arrow {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background: var(--glass);
  cursor: pointer;
  backdrop-filter: blur(16px);
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s var(--spring);
}

.circular-gallery-arrow:hover {
  border-color: var(--hairline-strong);
  background: var(--surface-elevated);
  transform: scale(1.06);
}

.circular-gallery-arrow:active {
  transform: scale(0.96);
}

.circular-gallery-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.circular-gallery-position {
  min-width: 58px;
  text-align: center;
}

.circular-gallery-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  cursor: grab;
  perspective: 2000px;
  touch-action: pan-y;
}

.circular-gallery-stage.is-dragging {
  cursor: grabbing;
}

.circular-gallery-ring {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
}

.circular-gallery-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 390px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: var(--radius-md);
  background: #111217;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  color: #fff;
  text-align: left;
  cursor: pointer;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  transition:
    opacity 0.3s linear,
    border-color 0.25s ease,
    box-shadow 0.35s ease;
}

.circular-gallery-card:hover,
.circular-gallery-card.is-front {
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.5);
}

.circular-gallery-card::after {
  position: absolute;
  inset: 36% 0 0;
  z-index: 1;
  background: linear-gradient(to bottom, transparent, rgba(7, 8, 12, 0.94));
  content: "";
}

.circular-gallery-placeholder {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 18%, color-mix(in srgb, var(--gallery-one) 88%, white), transparent 24%),
    radial-gradient(circle at 22% 72%, var(--gallery-one), transparent 34%),
    linear-gradient(145deg, var(--gallery-two), var(--gallery-three) 72%);
}

.circular-gallery-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.circular-gallery-placeholder::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 78%);
  content: "";
}

.circular-gallery-placeholder > span {
  position: absolute;
  top: 22px;
  left: 22px;
  color: rgba(255, 255, 255, 0.74);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
}

.circular-gallery-placeholder i {
  position: absolute;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}

.circular-gallery-placeholder i:nth-of-type(1) {
  top: 18%;
  right: -18%;
  width: 210px;
  height: 210px;
}

.circular-gallery-placeholder i:nth-of-type(2) {
  top: 32%;
  left: -24%;
  width: 180px;
  height: 180px;
}

.circular-gallery-placeholder i:nth-of-type(3) {
  right: 28px;
  bottom: 104px;
  width: 58px;
  height: 58px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.circular-gallery-copy {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 22px;
  left: 24px;
}

.circular-gallery-copy b,
.circular-gallery-copy em,
.circular-gallery-copy small {
  display: block;
}

.circular-gallery-copy b {
  font-family: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}

.circular-gallery-copy em {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.75);
  font-family: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  font-size: 16px;
  font-style: normal;
  line-height: 1.2;
}

.circular-gallery-copy small {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.5);
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.photo-albums {
  display: grid;
  width: calc(100% + 32px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.3vw, 18px);
  margin-top: 76px;
  margin-left: -16px;
}

.photo-album {
  min-width: 0;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: clamp(24px, 2.2vw, 31px);
  background: #050505;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.2);
  color: #f7f7f5;
  text-align: left;
  cursor: pointer;
  transform: translateZ(0);
  transition:
    box-shadow 0.45s ease,
    transform 0.6s var(--ease);
}

.photo-album:hover {
  box-shadow: 0 30px 62px rgba(0, 0, 0, 0.32);
  transform: translateY(-8px) scale(1.012);
}

.photo-album:active {
  transform: translateY(-3px) scale(1.006);
}

.photo-album:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 5px;
}

.photo-album__scene {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: inherit;
  isolation: isolate;
}

.photo-album__scene::after {
  content: none;
}

.photo-album__image {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  background: var(--album-photo, var(--album-background));
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
  transition: transform 0.9s var(--ease);
}

.photo-album__image::after {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.045) 0,
      rgba(255, 255, 255, 0.045) 1px,
      transparent 1px,
      transparent 4px
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.32));
  mix-blend-mode: soft-light;
  content: "";
}

.photo-album__image::before {
  position: absolute;
  z-index: 1;
  top: -18%;
  bottom: -18%;
  left: -52%;
  width: 34%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.18),
    transparent
  );
  opacity: 0;
  content: "";
  transform: skewX(-16deg);
  transition:
    left 0.95s var(--ease),
    opacity 0.3s ease;
}

.photo-album:hover .photo-album__image {
  transform: scale(1.055);
}

.photo-album:hover .photo-album__image::before {
  left: 118%;
  opacity: 0.72;
}

.photo-album__tag {
  position: absolute;
  z-index: 2;
  top: 17px;
  right: 16px;
  padding: 7px 11px 8px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 999px;
  background: rgba(21, 21, 19, 0.24);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
  color: rgba(255, 255, 255, 0.92);
  font-family: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 500;
  line-height: 1;
  backdrop-filter: blur(8px);
  transition:
    background-color 0.4s ease,
    border-color 0.4s ease,
    transform 0.55s var(--ease);
}

.photo-album:hover .photo-album__tag {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(18, 18, 17, 0.36);
  transform: translateY(-2px);
}

.photo-album__folder {
  position: absolute;
  z-index: 3;
  inset: 34% 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 19px 17px 17px;
  background: linear-gradient(145deg, #1d1d1d, #101010 72%);
  clip-path: polygon(0 0, 44% 0, 53% 14%, 100% 14%, 100% 100%, 0 100%);
  filter: none;
}

.photo-album__title {
  display: block;
  max-width: 46%;
  font-family: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(18px, 1.65vw, 23px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: nowrap;
  white-space: nowrap;
  transition: transform 0.55s var(--ease);
}

.photo-album:hover .photo-album__title {
  transform: translateX(2px);
}

.photo-album__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  transition: transform 0.55s var(--ease);
}

.photo-album:hover .photo-album__footer {
  transform: translateY(-1px);
}

.photo-album__count,
.photo-album__date,
.photo-album__date small,
.photo-album__date b {
  display: block;
}

.photo-album__count {
  white-space: nowrap;
  font-family: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  line-height: 1;
}

.photo-album__count b {
  font-size: clamp(25px, 2.3vw, 33px);
  font-weight: 600;
  letter-spacing: -0.035em;
  transition:
    letter-spacing 0.45s ease,
    text-shadow 0.45s ease;
}

.photo-album:hover .photo-album__count b {
  letter-spacing: -0.055em;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.12);
}

.photo-album__count em {
  margin-left: 3px;
  font-size: clamp(12px, 1.05vw, 15px);
  font-style: normal;
  font-weight: 400;
}

.photo-album__date {
  padding-bottom: 2px;
  font-family: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  text-align: right;
  line-height: 1.04;
}

.photo-album__date small,
.photo-album__date b {
  font-size: clamp(10px, 0.92vw, 13px);
}

.photo-album__date small {
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 400;
}

.photo-album__date b {
  font-weight: 500;
}

.photo-album--brazil {
  --album-background:
    radial-gradient(ellipse at 72% 17%, rgba(230, 244, 38, 0.72), transparent 28%),
    radial-gradient(ellipse at 16% 20%, rgba(35, 210, 49, 0.84), transparent 38%),
    linear-gradient(130deg, #0b6d26, #9acb08 58%, #22430d);
}

.photo-album--brazil .photo-album__image {
  background-position: 72% 18%, 12% 20%, 50% 50%;
  background-size: 148% 148%, 158% 158%, 132% 132%;
}

.photo-album--brazil:hover .photo-album__image {
  animation: brazil-color-flow 3.8s ease-in-out infinite alternate;
}

@keyframes brazil-color-flow {
  0% {
    background-position: 72% 18%, 12% 20%, 50% 50%;
    filter: saturate(1) brightness(1);
  }

  48% {
    background-position: 48% 34%, 31% 11%, 53% 47%;
    filter: saturate(1.18) brightness(1.045);
  }

  100% {
    background-position: 82% 31%, 38% 36%, 47% 54%;
    filter: saturate(1.08) brightness(1.02);
  }
}

.photo-album--france {
  --album-background:
    radial-gradient(circle at 72% 16%, rgba(255, 213, 167, 0.88), transparent 23%),
    linear-gradient(155deg, #2d1d58 0%, #d9678d 43%, #f4a85d 72%, #722f54 100%);
}

.photo-album--usa {
  --album-background:
    radial-gradient(circle at 20% 22%, rgba(128, 202, 246, 0.84), transparent 27%),
    linear-gradient(145deg, #172e55 5%, #306f9b 39%, #e76b5d 70%, #492139);
}

.photo-album--wildlife {
  --album-background:
    radial-gradient(circle at 28% 17%, rgba(255, 202, 97, 0.95), transparent 30%),
    linear-gradient(145deg, #401630 0%, #cc425a 38%, #ff9456 71%, #301726 100%);
}

.contact-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: max(620px, 100svh);
  padding: 88px var(--gutter) 22px;
  scroll-margin-top: var(--header-height);
  background: var(--canvas);
  --footer-statement: #eeeeef;
  --footer-signoff: #d4d4d8;
  --footer-heading: #e4e4e7;
  --footer-muted: #a3a3aa;
  --footer-muted-soft: #85858d;
  color: var(--text);
}

html[data-theme="light"] .contact-section {
  --footer-statement: var(--text);
  --footer-signoff: var(--body);
  --footer-heading: var(--text-secondary);
  --footer-muted: var(--muted);
  --footer-muted-soft: var(--muted);
}

.footer-mountains {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 62%;
  object-fit: cover;
  object-position: 61% center;
  mix-blend-mode: screen;
  filter: grayscale(1);
  pointer-events: none;
  z-index: -1;
}

/* Dark ink on the light canvas, preserving the same stippled mountain artwork. */
html[data-theme="light"] .footer-mountains {
  filter: grayscale(1) invert(1);
  mix-blend-mode: multiply;
}

.footer-content {
  position: relative;
  top: 18px;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 2fr) minmax(150px, 1fr) minmax(150px, 1fr);
  gap: 48px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-bottom: 40px;
}

.footer-statement {
  max-width: 440px;
  margin: -8px 0 0;
  padding-bottom: 4px;
  font-family: "Times New Roman", Times, Georgia, serif;
  font-style: italic;
  font-size: clamp(32px, 2.8vw, 40px);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -.025em;
  color: var(--footer-statement);
  text-wrap: pretty;
}

.footer-signoff,
.footer-column,
.contact-footer {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.footer-signoff {
  margin: 24px 0 0;
  color: var(--footer-signoff);
}

.footer-column h2 {
  margin: 0 0 20px;
  color: var(--footer-heading);
  font: inherit;
}

.footer-column ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column a,
.footer-unlinked {
  display: inline-block;
  padding: 6px 0;
  color: var(--footer-muted);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color .2s ease;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--text);
  text-decoration-line: underline;
}

.footer-column a:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 5px;
}

.footer-unlinked {
  color: var(--footer-muted-soft);
}


/* The static artwork occupies the existing landscape area below navigation. */
.footer-landscape {
  position: relative;
  height: max(620px, 100svh);
  margin: min(-235.6px, -38svh) calc(-1 * var(--gutter)) -22px;
  pointer-events: none;
}

.contact-footer {
  position: absolute;
  right: var(--gutter);
  bottom: 22px;
  left: var(--gutter);
  text-align: center;
  font-size: 10px;
  text-transform: none;
}

.contact-footer > p {
  margin: 0;
  color: var(--footer-muted-soft);
}

@media (max-width: 1100px) and (min-width: 735px) {
  .footer-content {
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 48px 32px;
  }

}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease,
    transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

dialog {
  padding: 0;
  border: 1px solid var(--hairline-strong);
  background: var(--canvas);
  color: var(--text);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.project-dialog,
.notebook-dialog {
  width: min(calc(100% - 48px), 1100px);
  max-height: min(88svh, 820px);
  overflow: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.dialog-shell {
  position: relative;
  padding: clamp(40px, 7vw, 86px);
}

.dialog-close {
  position: absolute;
  z-index: 3;
  top: 22px;
  right: 22px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.dialog-close:hover {
  background: var(--surface-elevated);
  transform: rotate(4deg) scale(1.04);
}

.dialog-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.3;
}

.dialog-eyebrow {
  margin-bottom: 20px;
}

.dialog-lede {
  max-width: 760px;
  margin: 24px 0 70px;
  color: var(--body);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 30px;
  line-height: 1.14;
}

.dialog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.dialog-grid > div {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.dialog-grid span {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dialog-grid h3 {
  margin: 54px 0 14px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.05;
}

.dialog-grid p {
  margin: 0;
  color: var(--muted);
}

.notebook-dialog-shell {
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.notebook-dialog-shell .dialog-lede {
  margin-bottom: 34px;
}

.dialog-link {
  align-self: flex-start;
  padding: 13px 22px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-pill);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.dialog-link:hover {
  background: var(--text);
  color: var(--canvas);
}

.picture-dialog {
  position: relative;
  width: min(calc(100% - 48px), 1100px);
  height: min(calc(100svh - 48px), 760px);
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #111217;
  box-shadow: var(--shadow);
}

.picture-dialog .dialog-close {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}

.picture-dialog-art {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 26%, rgba(235, 203, 170, 0.9) 0 6%, transparent 6.5%),
    radial-gradient(circle at 66% 58%, rgba(109, 131, 177, 0.82) 0 18%, transparent 18.5%),
    linear-gradient(145deg, #6b3f4f, #17202d 63%);
}

.picture-dialog-art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent 55%);
  content: "";
}

.picture-dialog-copy {
  position: absolute;
  z-index: 2;
  right: 50px;
  bottom: 44px;
  left: 50px;
  color: #fff;
}

.picture-dialog-copy .eyebrow {
  color: rgba(255, 255, 255, 0.6);
}

.picture-dialog-copy p:last-child {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 1100px) {
  .section-intro {
    font-size: 30px;
  }

  .project-card--wide {
    width: 776px;
  }

  .about-layout {
    gap: 56px;
  }
}

@media (max-width: 1024px) {
  .section-heading h2,
  .about-copy h2,
  .dialog-shell > h2,
  .picture-dialog-copy h2 {
    font-size: 42px;
  }

  .section-intro {
    font-size: 24px;
  }

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

  .principle:first-child {
    grid-column: span 2;
    min-height: 300px;
  }

  .principle:first-child p {
    max-width: 720px;
  }

  .picture-grid {
    gap: 16px;
  }

  .picture-copy {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .about-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
}

@media (max-width: 960px) {
  .section-heading {
    display: grid;
    justify-content: stretch;
    gap: 30px;
  }

  .rail-controls {
    justify-self: start;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-copy > p:not(.eyebrow) {
    max-width: 780px;
  }

  .about-portrait {
    max-width: 260px;
  }

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

  .dialog-grid > div {
    min-height: 220px;
  }

  .dialog-grid h3 {
    margin-top: 34px;
  }

  .photo-albums {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .library-topbar {
    grid-template-columns: 1fr 1fr;
  }

  .library-topbar span:nth-child(2) {
    display: none;
  }

  .library-body {
    grid-template-columns: 124px 1fr;
  }

  .library-sidebar {
    padding-inline: 20px;
  }

  .library-grid {
    gap: 14px;
    padding: 18px;
  }

  .idea-card {
    min-height: 240px;
  }

  .idea-card > p,
  .idea-card > h3 {
    right: 14px;
    left: 14px;
  }

  .picture-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .picture-card {
    aspect-ratio: 2 / 3;
  }

}

@media (max-width: 734px) {
  :root {
    --gutter: 24px;
    --section-space: 80px;
  }

  .site-header {
    padding-inline: 16px;
  }

  .menu-button {
    margin-left: -8px;
    padding-inline: 8px;
  }

  .wordmark {
    font-size: 12px;
    letter-spacing: 0.04em;
  }

  .theme-button {
    margin-right: -6px;
  }

  .header-actions {
    gap: 2px;
  }

  .language-switcher {
    width: 68px;
    height: 32px;
    grid-template-columns: repeat(2, 32px);
  }

  .language-thumb {
    width: 30px;
    height: 26px;
  }

  .language-switcher[data-active-language="pt-BR"] .language-thumb {
    transform: translateX(32px);
  }

  .language-option {
    width: 32px;
    height: 28px;
    font-size: 8px;
  }

  .site-menu {
    left: -4px;
    background: var(--canvas);
    backdrop-filter: none;
  }

  #dotCanvas {
    display: none;
  }

  .hero-fallback {
    display: block;
    font-size: 60px;
  }

  .hero-note {
    right: 24px;
    bottom: 30px;
    left: 24px;
    max-width: 250px;
  }

  .scroll-cue {
    display: none;
  }

  .approach {
    min-height: 920px;
    padding: 90px 24px;
  }

  .approach-line {
    font-size: 22px;
    line-height: 1.18;
  }

  .approach-line br {
    display: none;
  }

  .section-heading {
    margin-bottom: 56px;
  }

  .section-heading h2,
  .about-copy h2,
  .dialog-shell > h2,
  .picture-dialog-copy h2 {
    font-size: 32px;
  }

  .section-intro {
    margin-top: 17px;
    font-size: 22px;
  }

  .rail-controls {
    display: none;
  }

  .project-rail,
  .archive-rail {
    gap: 40px;
    scroll-snap-type: x proximity;
  }

  .project-card,
  .project-card--wide,
  .project-card--portrait,
  .project-card--standard {
    width: 75vw;
    scroll-snap-align: start;
  }

  .project-visual {
    height: 480px;
    border-radius: var(--radius-md);
  }

  .project-copy {
    padding-top: 18px;
  }

  .visual-dashboard {
    padding: 36px 20px;
  }

  .dashboard-window {
    width: 620px;
    max-width: none;
    transform: translateX(108px) perspective(900px) rotateX(3deg) rotateY(-7deg);
  }

  .project-card--portrait .phone {
    width: 218px;
  }

  .identity-sheet {
    width: 76%;
  }

  .identity-sheet--front b {
    font-size: 140px;
  }

  .orb {
    width: 240px;
    height: 240px;
  }

  .library-window {
    min-height: 610px;
    border-radius: var(--radius-md);
  }

  .library-window:hover {
    transform: none;
  }

  .library-topbar {
    padding-inline: 16px;
  }

  .library-topbar span:last-child {
    display: none;
  }

  .library-body {
    min-height: 556px;
    grid-template-columns: 1fr;
  }

  .library-sidebar {
    display: flex;
    gap: 18px;
    padding: 16px 20px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    scrollbar-width: none;
  }

  .library-sidebar .active::before {
    display: none;
  }

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

  .idea-card {
    min-height: 205px;
  }

  .idea-card > h3 {
    bottom: 14px;
    font-size: 14px;
    line-height: 1.15;
  }

  .idea-card > p {
    bottom: 51px;
    font-size: 7px;
  }

  .idea-card--unfinished .idea-art b {
    font-size: 100px;
  }

  .idea-card--questions .idea-art span {
    font-size: 68px;
  }

  .library-button {
    bottom: 20px;
    padding: 11px 20px;
    font-size: 9px;
  }

  .principle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .principle,
  .principle:first-child {
    min-height: 290px;
    padding: 24px;
    border-radius: var(--radius-md);
  }

  .principle:first-child {
    grid-column: span 2;
  }

  .principle p {
    font-size: 24px;
  }

  .about-layout {
    gap: 50px;
  }

  .about-copy > p:not(.eyebrow) {
    font-size: 22px;
  }

  .about-portrait {
    border-radius: var(--radius-md);
  }

  .picture-grid {
    gap: 18px;
  }

  .picture-card {
    border-radius: var(--radius-md);
  }

  .photo-albums {
    width: calc(100% + var(--gutter));
    grid-template-columns: none;
    grid-auto-columns: min(82vw, 310px);
    grid-auto-flow: column;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 0 var(--gutter) 24px 0;
    margin-top: 52px;
    margin-left: 0;
    scroll-padding-inline: 0 var(--gutter);
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .photo-albums::-webkit-scrollbar {
    display: none;
  }

  .photo-album {
    border-radius: 28px;
    scroll-snap-align: start;
  }

  .photo-album__scene::after {
    border-radius: 22px;
  }

  .photo-album__folder {
    padding: 19px 17px 17px;
  }

  .photo-album__title {
    font-size: 22px;
  }

  .photo-album__count b {
    font-size: 31px;
  }

  .photo-album__count em {
    font-size: 14px;
  }

  .photo-album__date small,
  .photo-album__date b {
    font-size: 12px;
  }

  .circular-gallery-shell {
    height: 580px;
    margin-top: 50px;
    border-radius: var(--radius-md);
  }

  .circular-gallery-toolbar {
    top: 16px;
    right: 16px;
    left: 16px;
  }

  .circular-gallery-toolbar > p {
    max-width: 105px;
    font-size: 8px;
    line-height: 1.45;
  }

  .circular-gallery-controls {
    gap: 8px;
  }

  .circular-gallery-arrow {
    width: 34px;
    height: 34px;
  }

  .circular-gallery-position {
    min-width: 52px;
    font-size: 8px;
  }

  .circular-gallery-stage {
    perspective: 1300px;
  }

  .circular-gallery-card {
    width: 220px;
    height: 310px;
    border-radius: 24px;
  }

  .circular-gallery-copy {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .circular-gallery-copy b {
    font-size: 21px;
  }

  .circular-gallery-copy em {
    font-size: 14px;
  }

  .circular-gallery-copy small {
    margin-top: 12px;
    font-size: 7px;
  }

  .picture-copy {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .picture-copy b {
    font-size: 17px;
  }

  .picture-copy small {
    display: none;
  }

  .contact-section {
    padding: 64px 24px 18px;
  }

  .footer-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 28px;
    padding-bottom: 48px;
  }

  .footer-intro { display: contents; }
  .footer-statement { grid-column: 1 / -1; margin: 0; font-size: clamp(30px, 7.5vw, 40px); }
  .footer-signoff { grid-column: 1 / -1; margin-top: -30px; font-size: 12px; }
  .footer-column { font-size: 12px; }
  .footer-column a, .footer-unlinked { min-height: 36px; }
  .footer-column ul { gap: 6px; }

  .footer-landscape {
    margin-right: -24px;
    margin-left: -24px;
    margin-bottom: -18px;
  }

  .contact-footer {
    bottom: max(18px, env(safe-area-inset-bottom));
    font-size: 9px;
  }

  .project-dialog,
  .notebook-dialog,
  .picture-dialog {
    width: calc(100% - 24px);
    border-radius: var(--radius-md);
  }

  .dialog-shell {
    padding: 72px 24px 32px;
  }

  .dialog-close {
    top: 14px;
    right: 14px;
  }

  .dialog-lede {
    margin-bottom: 42px;
    font-size: 22px;
  }

  .dialog-grid > div {
    min-height: auto;
    padding: 22px;
  }

  .dialog-grid h3 {
    margin-top: 24px;
  }

  .picture-dialog-copy {
    right: 24px;
    bottom: 24px;
    left: 24px;
  }
}

@media (max-width: 430px) {
  .menu-button {
    gap: 8px;
  }

  .project-card,
  .project-card--wide,
  .project-card--portrait,
  .project-card--standard {
    width: 78vw;
  }

  .library-grid {
    gap: 9px;
    padding: 12px;
  }

  .idea-card {
    min-height: 198px;
    border-radius: 18px;
  }

  .principle {
    padding: 20px;
  }

}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  #dotCanvas {
    display: none;
  }

  .hero-fallback {
    display: block;
  }
}


.notes-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}
.field-notes-link {
  width: fit-content;
  margin-top: 8px;
  text-decoration: none;
}
.notes-back { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.notes-page main { min-height: 100vh; }
.notes-hero { padding-top: clamp(160px, 21vh, 240px); padding-bottom: 100px; }
.notes-hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(64px, 8vw, 112px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: .93;
}
.notes-hero > p:last-child { max-width: 670px; margin: 36px 0 0; color: var(--body); font-size: clamp(24px, 2.6vw, 36px); line-height: 1.2; }
.notes-archive { padding-top: 30px; }
.notes-archive-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-bottom: 30px; border-bottom: 1px solid var(--hairline); }
.notes-archive-head h2 { margin: 0; font: 600 48px/1 "Barlow Condensed", sans-serif; letter-spacing: -.02em; }
.notes-filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 20px; color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.notes-filters .is-active { color: var(--text); }
.note-row { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 26px; align-items: start; padding: 42px 0; border-bottom: 1px solid var(--hairline); scroll-margin-top: 80px; }
.note-index, .note-status { color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.note-row h3 { margin: 0; font: 600 clamp(28px, 3vw, 42px)/1.05 "Barlow Condensed", sans-serif; letter-spacing: -.02em; }
.note-row div > p:last-child { max-width: 620px; margin: 12px 0 0; color: var(--muted); font-size: 18px; }
.notes-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 60px; padding-bottom: 60px; color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.notes-footer a { color: var(--text); text-decoration: none; }

/* Flow buttons: animated primary actions, adapted from the supplied component. */
.flow-button {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  gap: 4px;
  overflow: hidden;
  padding: 11px 32px;
  border: 1.5px solid var(--hairline-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text);
  font: 600 14px/1 "Barlow Semi Condensed", "Helvetica Neue", sans-serif;
  cursor: pointer;
  transition:
    border-color 600ms var(--ease),
    border-radius 600ms var(--ease),
    color 600ms var(--ease),
    transform 140ms var(--ease);
}
.flow-button__label {
  position: relative;
  z-index: 2;
  transform: translateX(-12px);
  transition: transform 800ms var(--ease);
}
.flow-button__flow {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--text);
  opacity: 0;
  transform: translate(-50%, -50%) scale(.08);
  transition: opacity 200ms ease, transform 800ms cubic-bezier(.19, 1, .22, 1);
}
.flow-button__arrow {
  position: absolute;
  z-index: 2;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 800ms var(--spring);
}
.flow-button__arrow--left { left: 16px; transform: translateX(-56px); }
.flow-button__arrow--right { right: 16px; transform: translateX(0); }
.flow-button:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.flow-button:active { transform: scale(.95); }
@media (hover: hover) and (pointer: fine) {
  .flow-button:hover { border-color: transparent; border-radius: var(--radius-xs); color: var(--canvas); }
  .flow-button:hover .flow-button__label { transform: translateX(12px); }
  .flow-button:hover .flow-button__flow { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  .flow-button:hover .flow-button__arrow--left { transform: translateX(0); }
  .flow-button:hover .flow-button__arrow--right { transform: translateX(56px); }
  .notes-back:hover, .notes-footer a:hover { color: var(--link); }
  .note-row { transition: padding-left 200ms var(--ease); }
  .note-row:hover { padding-left: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-button, .flow-button__label, .flow-button__flow, .flow-button__arrow { transition-duration: .01ms !important; }
  .flow-button__label { transform: none; }
  .flow-button__arrow--left { display: none; }
}
@media (max-width: 767px) {
  .notes-hero { padding-top: 140px; padding-bottom: 60px; }
  .notes-hero h1 { font-size: 60px; }
  .notes-archive-head { display: block; }
  .notes-filters { justify-content: flex-start; margin-top: 24px; }
  .note-row { grid-template-columns: 38px minmax(0, 1fr); gap: 14px; padding: 30px 0; }
  .note-status { grid-column: 2; }
  .notes-footer { display: block; }
  .notes-footer p { margin-top: 18px; }
}

/* Photography archive: quiet framing that keeps the images in command. */
.photography-page main { min-height: 100vh; }
.photo-archive-hero { padding-top: clamp(160px, 21vh, 240px); padding-bottom: 100px; }
.photo-archive-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(64px, 8vw, 112px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: .93;
}
.photo-archive-hero > p:last-child {
  max-width: 680px;
  margin: 36px 0 0;
  color: var(--body);
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.2;
}
.photo-archive { padding-top: 30px; }
.photo-archive-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--hairline);
}
.photo-archive-head h2 { margin: 0; font: 600 48px/1 "Barlow Condensed", sans-serif; letter-spacing: -.02em; }
.photo-archive-head p { margin: 0; color: var(--muted); font: 400 10px/1.4 "IBM Plex Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
.photo-archive-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: 170px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-top: 30px;
}
.photo-archive-item {
  grid-row: span 2;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.photo-archive-item--wide { grid-column: span 2; }
.photo-archive-item--tall { grid-row: span 3; }
.photo-archive-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .photo-archive-item:hover img { transform: scale(1.025); }
}
@media (max-width: 1024px) {
  .photo-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .photo-archive-hero { padding-top: 140px; padding-bottom: 60px; }
  .photo-archive-hero h1 { font-size: 60px; }
  .photo-archive-head { display: block; }
  .photo-archive-head p { margin-top: 18px; }
  .photo-archive-grid { display: block; }
  .photo-archive-item { height: auto; aspect-ratio: 4 / 5; margin-bottom: 12px; }
  .photo-archive-item--wide { aspect-ratio: 16 / 10; }
}
