@font-face {
  font-family: Manrope;
  src: url("assets/manrope.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --bg: #111714;
  --surface: #19201c;
  --surface-light: #202923;
  --text: #f0f0e7;
  --muted: #a5afa5;
  --accent: #c6edb6;
  --border: #303b33;
  --serif: Georgia, "Times New Roman", serif;
  --radius: 18px;
  /* Keep type between the first and second versions, leaning toward the larger one. */
  --type-copy: clamp(13.5px, 1.05vw, 15.2px);
  --type-meta: 11.5px;
  --type-action: 13.5px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
body.dialog-open {
  overflow: hidden;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.15;
}
button {
  border: 0;
}
::selection {
  background: var(--accent);
  color: var(--bg);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
section[id],
article[id] {
  scroll-margin-top: 110px;
}
[hidden] {
  display: none !important;
}
.svg-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.container {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}
.mono,
.eyebrow {
  font-size: 12px;
  letter-spacing: 1.6px;
  font-weight: 600;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.6;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.accent {
  color: var(--accent);
}
.muted-heading {
  color: var(--muted);
}
em {
  font-family: var(--serif);
  font-weight: 400;
}
a,
button {
  transition:
    color 0.2s,
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -90px;
  background: var(--accent);
  color: var(--bg);
  z-index: 100;
  padding: 12px 20px;
  border-radius: 8px;
}
.skip-link:focus {
  top: 16px;
}
.enhanced {
  display: none;
}
.js-ready .enhanced {
  display: flex;
}
.site-header {
  position: sticky;
  top: 0;
  background: rgba(17, 23, 20, 0.95);
  backdrop-filter: blur(18px);
  z-index: 30;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1.2;
}
.brand-mark {
  height: 46px;
  width: 46px;
  border: 1px solid #62715c;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--serif);
  font-size: 43px;
  line-height: 1;
  padding-bottom: 6px;
  color: var(--accent);
}
.brand-mark span {
  font-size: 30px;
  margin-left: -2px;
}
.brand-sub {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--muted);
  margin-top: 7px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 12px;
  font-weight: 600;
}
.main-nav > a {
  color: #c5cec3;
}
.main-nav > a:hover,
.main-nav > a[aria-current] {
  color: var(--accent);
}
.main-nav > .nav-contact {
  display: flex;
  gap: 24px;
  align-items: center;
  border: 1px solid #56634f;
  padding: 10px 16px;
  border-radius: 6px;
  color: var(--text);
}
.nav-contact:hover {
  background: var(--surface-light);
}
.main-nav .icon {
  width: 16px;
  height: 16px;
}
.js-ready .menu-toggle {
  display: none;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 35px;
  padding-block: 62px 54px;
  align-items: center;
}
.hero-copy > .eyebrow {
  color: var(--accent);
  margin-bottom: 26px;
  font-size: 12px;
}
.hero h1 {
  font-size: clamp(65px, 6.8vw, 101px);
  line-height: 1.06;
  letter-spacing: -5.5px;
  font-weight: 500;
}
.hero h1 em {
  color: var(--accent);
  letter-spacing: -5px;
}
.hero-intro {
  font-size: 15px;
  color: var(--muted);
  max-width: 425px;
  margin-top: 24px;
  line-height: 1.85;
}
.hero-intro strong {
  color: var(--text);
  font-weight: 600;
}
.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 24px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 13px 21px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 5px;
  line-height: 1.6;
}
.button-primary {
  color: #172217;
  background: var(--accent);
  border: 1px solid var(--accent);
}
.button-primary:hover {
  background: #d8f6cc;
  border-color: #d8f6cc;
  transform: translateY(-2px);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
}
.text-link:hover {
  color: var(--accent);
}
.text-link .icon {
  width: 16px;
  height: 16px;
}
.hero-footnote {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  margin-top: 31px;
  color: var(--muted);
}
.short-line {
  width: 23px;
  height: 1px;
  background: #53614f;
  flex-shrink: 0;
}
.hero-visual {
  position: relative;
  min-width: 0;
  height: 490px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background-color: #171f19;
  background-image:
    linear-gradient(#35472c2b 1px, transparent 1px),
    linear-gradient(90deg, #35472c2b 1px, transparent 1px);
  background-size: 42px 42px;
  margin-top: 10px;
}
.visual-label {
  position: absolute;
  top: 24px;
  left: 25px;
  color: var(--muted);
  font-size: 12px;
}
.visual-cross {
  position: absolute;
  top: 11px;
  right: 20px;
  color: #66775e;
  font-size: 27px;
  font-weight: 200;
}
.orbit-label {
  position: absolute;
  right: -10px;
  top: 210px;
  transform: rotate(90deg) translateX(50%);
  transform-origin: right top;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--muted);
}
.hero-project {
  position: absolute;
  left: -20px;
  right: 26px;
  top: 80px;
  border-radius: 10px;
  background: #111a13;
  box-shadow: 0 20px 40px #0007;
  overflow: hidden;
  border: 1px solid #4c5c43;
  transform: rotate(-5deg);
}
.hero-project:hover {
  transform: rotate(-3deg) translateY(-5px);
}
.browser-bar {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  font-size: 12px;
  letter-spacing: 0.4px;
  color: #a5b19e;
  background: #1b251d;
  border-bottom: 1px solid #34452d;
}
.browser-dots {
  display: flex;
  gap: 5px;
}
.browser-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #61765b;
}
.browser-dots i:first-child {
  background: #af9a7b;
}
.browser-dots i:nth-child(2) {
  background: #acb57e;
}
.hero-project > img {
  width: 100%;
  aspect-ratio: 1.9;
  object-fit: cover;
  object-position: top;
}
.hero-project-caption {
  padding: 15px 19px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.hero-project-caption strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
.hero-project-caption > span > span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}
.round-arrow {
  border: 1px solid #4d6243;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
}
.round-arrow .icon {
  width: 14px;
  height: 14px;
}
.floating-note {
  position: absolute;
  bottom: 29px;
  right: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 6px;
  background: var(--accent);
  color: #243222;
  padding: 15px 20px;
  box-shadow: 0 7px 24px #0003;
  font-size: 12px;
  line-height: 1.6;
  transform: rotate(4deg);
}
.note-icon {
  font-size: 37px;
  line-height: 1;
}
.floating-note strong {
  font-size: 13px;
  font-weight: 600;
}

.focus-strip {
  border-block: 1px solid var(--border);
  background: #151d17;
}
.focus-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-block: 24px;
}
.focus-inner > span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 1.6px;
}
.focus-inner > div {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
}
.focus-inner i {
  color: var(--accent);
  font-size: 20px;
  font-style: normal;
}
.section {
  padding-block: 76px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 35px;
  margin-bottom: 30px;
}
.section-kicker {
  color: var(--accent);
  margin-bottom: 20px;
}
h2 {
  font-size: clamp(33px, 3.25vw, 46px);
  letter-spacing: -1.6px;
  line-height: 1.2;
}
.section-description {
  max-width: 340px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  padding-bottom: 4px;
}
.featured-project {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.featured-visual {
  position: relative;
  min-width: 0;
  background: #24312a;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 28px 26px;
}
.project-visual-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  z-index: 1;
  font-size: 12px;
  letter-spacing: 1px;
  color: #c0d2bd;
}
.small-badge {
  font-size: 12px;
  letter-spacing: 1.2px;
  border: 1px solid #718167;
  padding: 4px 8px;
  border-radius: 3px;
}
.project-screen {
  border-radius: 8px;
  border: 1px solid #5a6c5b;
  overflow: hidden;
  margin: 30px -55px 30px 20px;
  box-shadow: -14px 25px 40px #0004;
  transform: rotate(-5deg);
}
.project-screen > img {
  width: 100%;
  aspect-ratio: 1.44;
  object-fit: cover;
  object-position: top;
}
.visual-tech {
  display: flex;
  justify-content: center;
  gap: 14px;
  color: #b5c4b1;
  font-size: 12px;
}
.visual-tech span {
  color: var(--accent);
}
.featured-content {
  padding: 36px 38px;
}
.project-category {
  color: var(--accent);
  font-size: 12px;
  margin-bottom: 14px;
}
.featured-content h3 {
  font-size: 43px;
  letter-spacing: -1.8px;
  font-weight: 500;
  margin-bottom: 19px;
}
.featured-content > p:not(.project-category) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}
.feature-list {
  padding: 0;
  list-style: none;
  margin: 20px 0;
  font-size: 12px;
  color: #c5cec1;
}
.feature-list li {
  padding-left: 16px;
  position: relative;
  margin-bottom: 7px;
  line-height: 1.7;
}
.feature-list li::before {
  position: absolute;
  content: "↗";
  left: 0;
  color: var(--accent);
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tags span {
  font-size: 12px;
  border: 1px solid #42513f;
  padding: 3px 8px;
  border-radius: 4px;
  color: #c3d0bd;
  line-height: 1.7;
}
.project-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
}
.detail-button {
  gap: 16px;
  align-items: center;
  padding: 7px 0;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  color: #d1d9cc;
}
.detail-button:hover {
  color: var(--accent);
}
.detail-button span {
  font-size: 18px;
  color: var(--accent);
  font-weight: 400;
  line-height: 1;
}
.source-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  font-size: 12px;
  color: var(--muted);
}
.source-link .icon {
  width: 12px;
  height: 12px;
}
.source-link:hover {
  color: var(--accent);
}
.selected-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
.selected-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
}
.selected-visual {
  height: 300px;
  position: relative;
  padding: 23px 24px 0;
  overflow: hidden;
}
.kadr-visual {
  background: #2d2828;
}
.arcade-visual {
  background: #2c2d20;
}
.selected-visual img {
  margin-top: 23px;
  width: 100%;
  border: 1px solid #5b5650;
  border-radius: 6px 6px 0 0;
  box-shadow: 0 15px 40px #0005;
  transition: transform 0.5s;
}
.selected-card:hover .selected-visual img {
  transform: translateY(-5px);
}
.new-badge {
  background: #17201799;
  color: var(--accent);
  border-color: #738267;
}
.selected-content {
  padding: 27px 29px;
}
.project-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.project-title-row h3 {
  font-size: 29px;
  letter-spacing: -0.9px;
  font-weight: 500;
}
.project-glyph {
  color: var(--accent);
  font-size: 27px;
  line-height: 1;
}
.selected-content > p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
  min-height: 91px;
  margin-bottom: 20px;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 25px;
  padding-top: 19px;
  border-top: 1px solid var(--border);
}
.project-links {
  display: flex;
  gap: 24px;
}
.project-links > a,
.archive-links > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
}
.project-links > a .icon,
.archive-links > a .icon {
  width: 13px;
  height: 13px;
}
.project-links > a:hover,
.archive-links > a:hover {
  color: var(--accent);
}
.projects-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 27px;
  font-size: 12px;
  color: var(--muted);
}
.projects-note .status-dot {
  width: 4px;
  height: 4px;
}
.projects-note p {
  flex: 1;
}
.projects-note > a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d6dfd1;
  white-space: nowrap;
}
.projects-note .icon {
  width: 12px;
  height: 12px;
}
.archive-section {
  padding-block: 68px 72px;
  background: #151c17;
  border-block: 1px solid var(--border);
}
.archive-section .section-heading {
  margin-bottom: 30px;
}
.archive-toolbar {
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 20px;
}
.filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.filters button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  font-size: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  border-radius: 5px;
  min-height: 39px;
}
.filters button[aria-pressed="true"] {
  background: #263223;
  border-color: #52624b;
  color: var(--accent);
}
.filters button:hover {
  color: var(--accent);
  border-color: #52624b;
}
.filters button span {
  font-size: 12px;
  opacity: 0.9;
}
.archive-toolbar > p {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.7px;
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.archive-card {
  padding: 25px 23px;
  background: #19201b;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.archive-card:hover {
  border-color: #65775c;
}
.archive-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 28px;
}
.archive-top .mono {
  font-size: 12px;
  letter-spacing: 0.6px;
  color: var(--muted);
}
.archive-mark {
  color: var(--accent);
  font-size: 23px;
  line-height: 1;
}
.archive-card h3 {
  font-size: 17px;
  letter-spacing: -0.4px;
  margin-bottom: 13px;
  line-height: 1.4;
}
.archive-card > p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 28px;
  flex: 1;
}
.archive-links {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.archive-links > a {
  font-size: 12px;
}
.archive-links > a:last-child {
  color: var(--muted);
}
.about-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  align-items: center;
  padding-block: 82px;
}
.about-portrait {
  position: relative;
  background: #202921;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  max-width: 390px;
  margin-left: 17px;
  transform: rotate(-3deg);
}
.portrait-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5px 15px;
  font-size: 12px;
  color: var(--muted);
}
.portrait-top span:last-child {
  font-size: 17px;
  line-height: 1;
}
.about-portrait > img {
  width: 100%;
  aspect-ratio: 0.86;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 4px;
  filter: saturate(0.6);
}
.portrait-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 17px 5px 5px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 25px;
  line-height: 1.2;
}
.portrait-caption .mono {
  font-family: Manrope, Arial, sans-serif;
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1px;
}
.portrait-stamp {
  position: absolute;
  bottom: 67px;
  right: -29px;
  transform: rotate(9deg);
  background: var(--accent);
  color: #2d4026;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 18px 20px;
  border-radius: 3px;
}
.about-copy h2 {
  font-size: 40px;
  line-height: 1.3;
}
.about-copy h2 em {
  color: var(--accent);
}
.about-copy > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.95;
  margin-top: 17px;
}
.about-copy > .section-kicker {
  font-size: 12px;
  color: var(--accent);
  margin-top: 0;
}
.about-copy > .about-lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  margin-top: 25px;
}
.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 30px;
  gap: 20px;
}
.about-facts > div {
  display: flex;
  flex-direction: column;
}
.fact-number {
  font-size: 28px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.3;
}
.about-facts > div > span:last-child {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.expertise-section {
  border-top: 1px solid var(--border);
  padding-top: 68px;
}
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--border);
  margin-top: 24px;
}
.expertise-grid > article {
  padding: 35px 30px 30px 0;
}
.expertise-grid > article + article {
  border-left: 1px solid var(--border);
  padding-left: 30px;
}
.expertise-icon {
  display: block;
  font-family: monospace;
  font-size: 25px;
  color: var(--accent);
  margin-bottom: 29px;
  line-height: 1;
}
.expertise-grid h3 {
  font-size: 18px;
  margin-bottom: 17px;
  letter-spacing: -0.4px;
}
.expertise-grid p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.9;
}
.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 13px;
}
.skill-list span {
  font-size: 12px;
  color: #c3cdbc;
}
.skill-list span::before {
  content: "•";
  padding-right: 6px;
  color: #71886b;
}
.process {
  display: grid;
  grid-template-columns: 1fr 2.4fr;
  gap: 80px;
  margin-top: 48px;
}
.process-intro .eyebrow {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 15px;
}
.process-intro h3 {
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.6px;
  line-height: 1.4;
}
.process ol {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 40px;
  margin: 0;
  padding: 0;
}
.process li {
  display: flex;
  gap: 16px;
}
.process li > .mono {
  font-size: 12px;
  color: var(--accent);
  line-height: 1.8;
}
.process h4 {
  font-size: 12px;
  margin-bottom: 9px;
}
.process li p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}
.contact-section {
  background: var(--accent);
  color: #1b2b1c;
  padding-block: 47px 38px;
}
.contact-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #91b17e;
  padding-bottom: 25px;
}
.contact-top .eyebrow {
  font-size: 12px;
}
.contact-top .mono {
  font-size: 12px;
  letter-spacing: 1px;
}
.contact-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding-block: 43px 40px;
}
.contact-main h2 {
  font-size: 65px;
  letter-spacing: -2.5px;
  line-height: 1.15;
  font-weight: 500;
}
.contact-main h2 em {
  color: #3e6134;
}
.contact-main p {
  max-width: 460px;
  font-size: 12px;
  line-height: 1.9;
  margin-top: 23px;
  color: #40583b;
}
.contact-arrow {
  width: 116px;
  height: 116px;
  border: 1px solid #7e9d6c;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-right: 30px;
}
.contact-arrow .icon {
  width: 50px;
  height: 50px;
  stroke-width: 1;
}
.contact-arrow:hover {
  background: #1b2b1c;
  color: var(--accent);
  transform: rotate(8deg);
}
.contact-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  border-top: 1px solid #91b17e;
  padding-top: 26px;
}
.email-group {
  display: flex;
  align-items: center;
  gap: 13px;
  position: relative;
}
.email-link {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.4px;
}
.email-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.copy-button {
  padding: 4px 7px;
  background: transparent;
  font-size: 12px;
  gap: 7px;
  align-items: center;
  min-height: 30px;
  border: 1px solid #85a674;
  border-radius: 4px;
  color: #294225;
}
.copy-button:hover {
  background: #b4dca3;
}
.copy-status {
  position: absolute;
  top: 100%;
  font-size: 12px;
  color: #294225;
  margin-top: 4px;
}
.contact-socials {
  display: flex;
  gap: 24px;
}
.contact-socials > a {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
}
.contact-socials .icon {
  width: 13px;
  height: 13px;
}
.contact-socials > a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.contact-section :focus-visible {
  outline-color: #1b2b1c;
}
.site-footer {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding-block: 30px;
  color: var(--muted);
  font-size: 12px;
}
.footer-brand {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.4px;
}
.footer-brand span {
  margin-left: 8px;
  color: var(--accent);
  font-weight: 400;
}
.more-socials {
  position: relative;
}
.more-socials summary {
  cursor: pointer;
  list-style: none;
}
.more-socials summary::-webkit-details-marker {
  display: none;
}
.more-socials summary span {
  margin-left: 9px;
}
.more-socials > div {
  position: absolute;
  bottom: 35px;
  left: -15px;
  display: flex;
  flex-direction: column;
  background: #1e2920;
  border: 1px solid #52624b;
  border-radius: 8px;
  padding: 15px 20px;
  gap: 8px;
  min-width: 140px;
  box-shadow: 0 5px 20px #0004;
}
.more-socials a:hover,
.back-top:hover {
  color: var(--accent);
}
.project-dialog {
  position: fixed;
  width: min(680px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  border: 1px solid #52624b;
  border-radius: 18px;
  background: var(--surface);
  color: var(--text);
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0 25px 100px #0008;
}
.project-dialog::backdrop {
  background: #060c08cf;
  backdrop-filter: blur(7px);
}
.dialog-inner {
  padding: 34px 39px 40px;
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.dialog-top .eyebrow {
  color: var(--accent);
  font-size: 12px;
}
.dialog-close {
  width: 36px;
  height: 36px;
  border: 1px solid #607056;
  background: transparent;
  display: grid;
  place-items: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.dialog-close:hover {
  background: #35472e;
  color: var(--accent);
}
.dialog-close .icon {
  width: 16px;
  height: 16px;
}
.project-dialog h2 {
  font-size: 35px;
  letter-spacing: -1px;
  line-height: 1.2;
}
.dialog-intro {
  font-size: 13px;
  color: #cfdbca;
  line-height: 1.9;
  margin-top: 19px;
}
.dialog-section {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 24px;
}
.dialog-section h3 {
  font-size: 13px;
  margin-bottom: 12px;
  color: var(--accent);
}
.dialog-section p,
.dialog-section ul {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  margin: 0;
}
.dialog-section ul {
  padding-left: 18px;
}
.dialog-section li {
  margin-block: 6px;
}
.dialog-links {
  display: flex;
  gap: 25px;
  align-items: center;
  margin-top: 30px;
}
@media (min-width: 1600px) {
  .hero {
    padding-block: 70px 58px;
  }
  .hero h1 {
    font-size: 108px;
  }
  .hero-visual {
    height: 535px;
  }
  .hero-project {
    top: 120px;
  }
  .hero-project > img {
    aspect-ratio: 1.7;
  }
}
@media (max-width: 1150px) {
  .container {
    width: calc(100% - 72px);
  }
  .hero {
    gap: 30px;
    padding-top: 65px;
  }
  .hero h1 {
    font-size: 78px;
    letter-spacing: -4px;
  }
  .hero h1 em {
    letter-spacing: -4px;
  }
  .hero-visual {
    height: 450px;
  }
  .hero-project {
    top: 80px;
    left: -15px;
    right: 16px;
  }
  .hero-project > img {
    aspect-ratio: 1.4;
  }
  .hero-project-caption {
    padding: 14px;
  }
  .hero-project-caption strong {
    font-size: 12px;
  }
  .hero-intro {
    font-size: 13px;
  }
  .hero-actions {
    gap: 20px;
  }
  .hero-footnote {
    font-size: 12px;
  }
  .focus-inner > div {
    gap: 20px;
    font-size: 12px;
  }
  .featured-content {
    padding: 30px 27px;
  }
  .featured-content h3 {
    font-size: 36px;
  }
  .featured-visual {
    padding-inline: 18px;
  }
  .featured-project {
    grid-template-columns: 1fr 1fr;
  }
  .project-actions {
    gap: 15px;
  }
  .detail-button {
    gap: 10px;
    font-size: 12px;
  }
  .button {
    padding-inline: 17px;
    gap: 15px;
    font-size: 12px;
  }
  .selected-visual {
    height: 250px;
    padding-inline: 19px;
  }
  .selected-content {
    padding: 25px;
  }
  .about-section {
    gap: 60px;
  }
  .about-copy h2 {
    font-size: 36px;
  }
  .contact-main h2 {
    font-size: 57px;
  }
  .contact-socials {
    gap: 16px;
  }
  .contact-bottom {
    gap: 15px;
  }
  .email-link {
    font-size: 13px;
  }
  .contact-arrow {
    margin-right: 0;
  }
  .orbit-label {
    right: -5px;
  }
}
@media (max-width: 900px) {
  .container {
    width: calc(100% - 48px);
  }
  .header-inner {
    height: 80px;
  }
  .brand-sub {
    font-size: 12px;
  }
  .main-nav {
    gap: 20px;
    font-size: 12px;
  }
  .main-nav > .nav-contact {
    padding: 8px 12px;
    gap: 14px;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding-block: 44px;
  }
  .hero h1 {
    font-size: 65px;
    letter-spacing: -3.5px;
  }
  .hero h1 em {
    letter-spacing: -3.5px;
  }
  .hero-copy > .eyebrow {
    font-size: 12px;
    letter-spacing: 1.1px;
  }
  .hero-intro {
    font-size: 12px;
  }
  .hero-actions {
    gap: 15px;
    align-items: flex-start;
    flex-direction: column;
    margin-top: 22px;
  }
  .hero-footnote {
    font-size: 12px;
    margin-top: 22px;
  }
  .hero-visual {
    height: 405px;
  }
  .hero-project {
    top: 75px;
  }
  .hero-project > img {
    aspect-ratio: 1.2;
  }
  .floating-note {
    bottom: 20px;
    padding: 12px 15px;
    font-size: 12px;
    right: 10px;
  }
  .floating-note strong {
    font-size: 12px;
  }

  .visual-label {
    font-size: 12px;
    left: 17px;
  }
  .hero-project-caption > span > span {
    font-size: 12px;
  }
  .hero-project-caption {
    padding: 12px;
  }
  .hero-project-caption strong {
    font-size: 12px;
  }
  .browser-bar {
    font-size: 12px;
    padding-inline: 10px;
  }
  .round-arrow {
    width: 25px;
    height: 25px;
  }
  .focus-inner {
    padding-block: 18px;
  }
  .focus-inner > span {
    font-size: 12px;
    letter-spacing: 1px;
  }
  .focus-inner > div {
    gap: 15px;
    font-size: 12px;
  }
  .focus-inner i {
    font-size: 16px;
  }
  .section {
    padding-block: 58px;
  }
  .section-description {
    max-width: 265px;
    font-size: 12px;
  }
  .section-heading {
    gap: 30px;
  }
  .section-kicker {
    font-size: 12px;
    margin-bottom: 17px;
  }
  h2 {
    font-size: 32px;
  }
  .featured-project {
    grid-template-columns: 1fr;
  }
  .featured-visual {
    height: 380px;
    padding: 24px;
  }
  .project-screen {
    width: 85%;
    align-self: center;
    margin: 25px 0 0;
    transform: rotate(-4deg);
  }
  .project-screen > img {
    aspect-ratio: 1.8;
  }
  .visual-tech {
    display: none;
  }
  .featured-content {
    padding: 30px;
  }
  .featured-content h3 br {
    display: none;
  }
  .featured-content h3 {
    font-size: 33px;
    margin-bottom: 17px;
  }
  .featured-content > p:not(.project-category) {
    font-size: 13px;
    max-width: 600px;
  }
  .feature-list {
    font-size: 12px;
    columns: initial;
  }
  .featured-content .tags span {
    font-size: 12px;
  }
  .featured-content .project-actions {
    gap: 25px;
  }
  .featured-content .detail-button {
    font-size: 12px;
  }
  .featured-content .source-link {
    font-size: 12px;
  }
  .selected-grid {
    gap: 18px;
    margin-top: 18px;
  }
  .selected-visual {
    height: 200px;
    padding: 20px 16px 0;
  }
  .project-visual-top {
    font-size: 12px;
    letter-spacing: 0.6px;
  }
  .small-badge {
    font-size: 12px;
    letter-spacing: 0.7px;
  }
  .selected-content {
    padding: 23px;
  }
  .project-title-row h3 {
    font-size: 25px;
  }
  .selected-content > p {
    font-size: 12px;
    min-height: 126px;
  }
  .tags span {
    font-size: 12px;
  }
  .card-bottom {
    align-items: flex-start;
    gap: 10px;
  }
  .project-links {
    gap: 16px;
  }
  .project-links > a {
    font-size: 12px;
  }
  .card-bottom .detail-button {
    font-size: 12px;
    gap: 8px;
    padding: 0;
  }
  .projects-note {
    align-items: flex-start;
    font-size: 12px;
  }
  .projects-note .status-dot {
    margin-top: 5px;
  }
  .archive-section {
    padding-block: 54px;
  }
  .archive-card {
    padding: 22px 18px;
  }
  .archive-grid {
    gap: 12px;
  }
  .archive-card h3 {
    font-size: 15px;
  }
  .archive-card > p {
    font-size: 12px;
  }
  .archive-top .mono {
    font-size: 12px;
  }
  .about-section {
    gap: 45px;
    padding-block: 64px;
  }
  .about-portrait {
    margin-left: 0;
    padding: 13px;
  }
  .about-copy h2 {
    font-size: 30px;
  }
  .about-copy > .about-lead {
    font-size: 14px;
  }
  .about-copy > p {
    font-size: 12px;
  }
  .portrait-stamp {
    font-size: 12px;
    padding: 12px 13px;
    right: -20px;
  }
  .about-facts {
    gap: 12px;
  }
  .fact-number {
    font-size: 24px;
  }
  .about-facts > div > span:last-child {
    font-size: 12px;
  }
  .expertise-grid > article {
    padding-right: 22px;
  }
  .expertise-grid > article + article {
    padding-left: 22px;
  }
  .expertise-grid h3 {
    font-size: 16px;
  }
  .expertise-grid p {
    font-size: 12px;
  }
  .process {
    gap: 40px;
  }
  .contact-main h2 {
    font-size: 49px;
  }
  .contact-arrow {
    width: 90px;
    height: 90px;
  }
  .contact-arrow .icon {
    width: 40px;
    height: 40px;
  }
  .contact-bottom {
    flex-wrap: wrap;
    gap: 25px;
  }
  .contact-socials {
    gap: 27px;
  }
  .site-footer {
    gap: 15px;
    font-size: 12px;
  }
  .footer-brand {
    font-size: 12px;
  }
}
@media (max-width: 640px) {
  html {
    scroll-padding-top: 75px;
  }
  body {
    font-size: 14px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .header-inner {
    height: 76px;
  }
  .brand {
    font-size: 17px;
    gap: 10px;
  }
  .brand-mark {
    height: 39px;
    width: 39px;
    border-radius: 10px;
    font-size: 36px;
  }
  .brand-mark span {
    font-size: 27px;
  }
  .brand-sub {
    font-size: 12px;
    letter-spacing: 1.6px;
  }
  .js-ready .menu-toggle {
    display: flex;
    gap: 12px;
    align-items: center;
    border: 1px solid #53624c;
    background: transparent;
    border-radius: 5px;
    padding: 9px 12px;
    font-size: 12px;
  }
  .menu-lines {
    width: 14px;
    height: 9px;
    border-block: 1px solid var(--accent);
  }
  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 20px;
    font-size: 12px;
  }
  .js-ready .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 20px;
    background: #19221b;
    border-bottom: 1px solid #52624b;
    box-shadow: 0 15px 25px #0003;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    font-size: 13px;
  }
  .js-ready .main-nav.is-open {
    display: flex;
  }
  .main-nav > a {
    padding: 14px 8px;
  }
  .main-nav > .nav-contact {
    justify-content: space-between;
    margin-top: 5px;
    padding: 12px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    gap: 45px;
    padding-block: 34px 28px;
    align-items: stretch;
  }
  .hero-copy > .eyebrow {
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 24px;
  }
  .hero h1 {
    font-size: clamp(59px, 14.7vw, 86px);
    letter-spacing: -3.5px;
    line-height: 1.02;
  }
  .hero h1 em {
    letter-spacing: -3.5px;
  }
  .hero-intro {
    font-size: 13px;
    max-width: 400px;
    margin-top: 25px;
    line-height: 1.9;
  }
  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 23px;
    margin-top: 25px;
  }
  .hero-actions > .text-link {
    font-size: 12px;
    gap: 6px;
  }
  .hero-actions > .text-link .icon {
    width: 13px;
    height: 13px;
  }
  .button {
    font-size: 12px;
    padding: 13px 16px;
    gap: 14px;
  }
  .hero-footnote {
    font-size: 12px;
    margin-top: 23px;
    gap: 7px;
  }
  .short-line {
    width: 15px;
  }
  .hero-visual {
    height: 386px;
    margin: 0 8px 0 14px;
  }
  .hero-project {
    top: 72px;
    left: -12px;
    right: 14px;
  }
  .hero-project > img {
    aspect-ratio: 1.6;
  }
  .hero-project-caption {
    padding: 14px;
  }
  .hero-project-caption strong {
    font-size: 12px;
  }
  .hero-project-caption > span > span {
    font-size: 12px;
  }
  .floating-note {
    bottom: 16px;
    right: 12px;
    padding: 11px 16px;
    font-size: 12px;
  }
  .floating-note strong {
    font-size: 12px;
  }
  .note-icon {
    font-size: 30px;
  }
  .orbit-label {
    top: 156px;
    font-size: 12px;
  }

  .focus-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding-block: 20px;
  }
  .focus-inner > span {
    font-size: 12px;
  }
  .focus-inner > div {
    gap: 13px;
    justify-content: space-between;
    width: 100%;
    font-size: 12px;
  }
  .focus-inner i {
    font-size: 16px;
  }
  .section {
    padding-block: 48px;
  }
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 27px;
  }
  .section-description {
    max-width: 100%;
    font-size: 12px;
    padding-bottom: 0;
  }
  .section-kicker {
    font-size: 12px;
    margin-bottom: 16px;
  }
  h2 {
    font-size: 32px;
    letter-spacing: -1.3px;
  }
  .featured-visual {
    height: 275px;
    padding: 19px 17px;
  }
  .project-visual-top {
    font-size: 12px;
    letter-spacing: 0.7px;
  }
  .small-badge {
    font-size: 12px;
  }
  .project-screen {
    width: 100%;
    margin-top: 25px;
  }
  .project-screen > img {
    aspect-ratio: 1.7;
  }
  .featured-content {
    padding: 26px 23px;
  }
  .project-category {
    font-size: 12px;
  }
  .featured-content h3 {
    font-size: 32px;
    letter-spacing: -1.3px;
    line-height: 1.2;
  }
  .featured-content h3 br {
    display: block;
  }
  .featured-content > p:not(.project-category) {
    font-size: 12px;
  }
  .feature-list {
    font-size: 12px;
    margin-block: 19px;
  }
  .featured-content .tags span {
    font-size: 12px;
  }
  .featured-content .project-actions {
    gap: 20px;
  }
  .featured-content .detail-button {
    font-size: 12px;
  }
  .source-link {
    margin-top: 16px;
  }
  .selected-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }
  .selected-visual {
    height: 255px;
    padding: 20px;
  }
  .selected-visual img {
    margin-top: 22px;
  }
  .selected-content {
    padding: 24px;
  }
  .project-title-row h3 {
    font-size: 28px;
  }
  .selected-content > p {
    min-height: 0;
    font-size: 12px;
    margin-bottom: 20px;
  }
  .selected-content .tags span {
    font-size: 12px;
  }
  .card-bottom {
    align-items: center;
    margin-top: 24px;
    padding-top: 18px;
  }
  .project-links {
    gap: 22px;
  }
  .project-links > a {
    font-size: 12px;
  }
  .card-bottom .detail-button {
    font-size: 12px;
    gap: 13px;
  }
  .projects-note {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    line-height: 1.8;
    margin-top: 24px;
  }
  .projects-note p {
    flex-basis: calc(100% - 20px);
  }
  .projects-note > a {
    margin: 5px 0 0 12px;
  }
  .archive-section {
    padding-block: 44px;
  }
  .archive-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .filters {
    gap: 5px;
  }
  .filters button {
    padding: 7px 10px;
    font-size: 12px;
    gap: 7px;
  }
  .archive-toolbar > p {
    font-size: 12px;
  }
  .archive-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .archive-card {
    padding: 24px;
  }
  .archive-top {
    margin-bottom: 22px;
  }
  .archive-top .mono {
    font-size: 12px;
  }
  .archive-card h3 {
    font-size: 20px;
  }
  .archive-card > p {
    font-size: 12px;
    margin-bottom: 23px;
  }
  .archive-links > a {
    font-size: 12px;
  }
  .archive-mark {
    font-size: 25px;
  }
  .about-section {
    display: flex;
    flex-direction: column-reverse;
    gap: 40px;
    align-items: stretch;
    padding-block: 54px;
  }
  .about-copy h2 {
    font-size: 34px;
    letter-spacing: -1.4px;
  }
  .about-copy > .about-lead {
    font-size: 16px;
  }
  .about-copy > p {
    font-size: 12px;
  }
  .about-facts {
    padding-top: 23px;
    margin-top: 25px;
    gap: 17px;
  }
  .fact-number {
    font-size: 28px;
  }
  .about-facts > div > span:last-child {
    font-size: 12px;
  }
  .about-portrait {
    width: calc(100% - 28px);
    max-width: 350px;
    margin: 10px auto 0;
    padding: 15px;
  }
  .about-portrait > img {
    aspect-ratio: 0.95;
    object-position: center 38%;
  }
  .portrait-top {
    font-size: 12px;
  }
  .portrait-stamp {
    right: -15px;
    bottom: 65px;
    font-size: 12px;
    padding: 15px;
  }
  .portrait-caption {
    font-size: 24px;
  }
  .portrait-caption .mono {
    font-size: 12px;
  }
  .expertise-grid {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }
  .expertise-grid > article,
  .expertise-grid > article + article {
    padding: 28px 0;
    border-left: 0;
  }
  .expertise-grid > article + article {
    border-top: 1px solid var(--border);
  }
  .expertise-icon {
    margin-bottom: 20px;
  }
  .expertise-grid h3 {
    font-size: 20px;
  }
  .expertise-grid p {
    font-size: 12px;
    max-width: 390px;
    margin-bottom: 21px;
  }
  .skill-list {
    gap: 10px 15px;
  }
  .skill-list span {
    font-size: 12px;
  }
  .process {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 40px;
  }
  .process-intro h3 {
    font-size: 27px;
  }
  .process-intro h3 br {
    display: none;
  }
  .process ol {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .process li {
    gap: 18px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
  }
  .process h4 {
    font-size: 14px;
    margin-bottom: 8px;
  }
  .process li p {
    font-size: 12px;
  }
  .process li > .mono {
    font-size: 12px;
  }
  .contact-section {
    padding-block: 30px 36px;
  }
  .contact-top {
    padding-bottom: 20px;
  }
  .contact-top .eyebrow {
    font-size: 12px;
  }
  .contact-top .mono {
    font-size: 12px;
    letter-spacing: 0.8px;
  }
  .contact-main {
    padding-block: 31px;
    gap: 16px;
    align-items: flex-end;
  }
  .contact-main h2 {
    font-size: clamp(31px, 8.3vw, 49px);
    letter-spacing: -1.5px;
    line-height: 1.2;
  }
  .contact-main p {
    font-size: 12px;
    margin-top: 20px;
  }
  .contact-arrow {
    width: 49px;
    height: 49px;
    margin-bottom: 4px;
    border-color: #759c63;
  }
  .contact-arrow .icon {
    width: 26px;
    height: 26px;
  }
  .contact-bottom {
    padding-top: 22px;
    gap: 27px;
  }
  .email-group {
    flex-wrap: wrap;
    gap: 10px;
  }
  .email-link {
    font-size: 12px;
    letter-spacing: -0.2px;
  }
  .copy-button {
    font-size: 12px;
    padding: 4px 6px;
    gap: 4px;
  }
  .contact-socials {
    gap: 23px;
  }
  .contact-socials > a {
    font-size: 12px;
  }
  .site-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 10px;
    padding-block: 27px;
    font-size: 12px;
    align-items: center;
  }
  .site-footer > p {
    grid-row: 2;
    grid-column: 1;
  }
  .footer-brand {
    font-size: 13px;
  }
  .more-socials {
    grid-row: 2;
    grid-column: 2;
    justify-self: end;
  }
  .back-top {
    justify-self: end;
    grid-row: 1;
    grid-column: 2;
  }
  .more-socials > div {
    left: auto;
    right: 0;
  }
  .dialog-inner {
    padding: 23px 24px 28px;
  }
  .project-dialog {
    max-height: calc(100dvh - 24px);
  }
  .dialog-top {
    margin-bottom: 20px;
  }
  .dialog-top .eyebrow {
    font-size: 12px;
    letter-spacing: 1px;
  }
  .project-dialog h2 {
    font-size: 28px;
  }
  .dialog-intro {
    font-size: 12px;
  }
  .dialog-section {
    margin-top: 21px;
  }
  .dialog-section h3 {
    font-size: 12px;
  }
  .dialog-section p,
  .dialog-section ul {
    font-size: 12px;
  }
  .dialog-links {
    gap: 20px;
  }
  .dialog-links .text-link {
    font-size: 12px;
  }
}
@media (max-width: 370px) {
  .container {
    width: calc(100% - 32px);
  }
  .hero h1 {
    font-size: 56px;
  }
  .hero-copy > .eyebrow {
    font-size: 12px;
  }
  .hero-actions {
    gap: 15px;
  }
  .hero-actions > .text-link {
    font-size: 12px;
  }
  .hero .button {
    font-size: 12px;
    gap: 10px;
    padding-inline: 13px;
  }
  .hero-visual {
    height: 355px;
  }
  .selected-visual {
    height: 220px;
  }
  .contact-arrow {
    display: none;
  }
  .contact-main h2 {
    font-size: 36px;
  }
  .filters button {
    font-size: 12px;
    padding-inline: 8px;
  }
  .featured-content .project-actions {
    gap: 15px;
  }
  .email-link {
    font-size: 12px;
  }
  .main-nav {
    gap: 5px 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Compact spacing and intermediate type, with social cards and motion retained. */
.mono,
.eyebrow {
  font-size: var(--type-meta);
}
.hero-copy > .eyebrow {
  font-size: var(--type-meta);
  margin-bottom: 22px;
}
.hero-intro {
  margin-top: 22px;
}
.hero-actions {
  margin-top: 22px;
}
.section-kicker {
  margin-bottom: 16px;
}
.hero-intro,
.section-description,
.featured-content > p:not(.project-category),
.selected-content > p,
.archive-card > p,
.about-copy > p:not(.eyebrow):not(.about-lead),
.expertise-grid p,
.process li p,
.contact-main p,
.dialog-intro,
.dialog-section p,
.dialog-section ul {
  font-size: var(--type-copy);
  line-height: 1.75;
}
.button,
.text-link,
.project-links > a,
.archive-links > a,
.detail-button,
.feature-list,
.main-nav {
  font-size: var(--type-action);
}
.hero-copy > .eyebrow {
  letter-spacing: 1.2px;
}
.brand-sub {
  font-size: var(--type-meta);
  letter-spacing: 1px;
}
.hero-footnote {
  font-size: var(--type-meta);
  line-height: 1.8;
}
.hero-actions,
.project-actions,
.card-bottom {
  flex-wrap: wrap;
}
.hero-actions {
  gap: 20px;
}
.hero-footnote {
  margin-top: 18px;
}
.project-visual-top {
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: var(--type-meta);
  letter-spacing: 0.8px;
}
.small-badge {
  font-size: var(--type-meta);
  letter-spacing: 0.7px;
}
.visual-tech {
  flex-wrap: wrap;
  font-size: var(--type-meta);
  gap: 8px;
}
.browser-bar {
  font-size: var(--type-meta);
}
.selected-visual {
  height: 300px;
}
.selected-content > p {
  min-height: 0;
}
.clash-visual {
  background: #242238;
}
.tags span {
  font-size: var(--type-meta);
}
.featured-content .tags span {
  font-size: var(--type-meta);
}
.project-category {
  font-size: 13px;
}
.feature-list li {
  line-height: 1.8;
}
.project-actions {
  gap: 16px 22px;
}
.featured-content .detail-button {
  font-size: var(--type-action);
}
.source-link,
.featured-content .source-link {
  font-size: 13px;
}
.hero-project-caption strong {
  font-size: 15px;
}
.hero-project-caption > span > span {
  font-size: var(--type-meta);
}
.archive-top .mono {
  font-size: var(--type-meta);
  line-height: 1.7;
}
.archive-card h3 {
  font-size: 20px;
}
.archive-card,
.selected-card {
  transition:
    transform 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}
.archive-card:hover,
.selected-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px #0002;
}
.archive-card:hover {
  border-color: #7c926f;
}
.filters button {
  font-size: 13px;
  min-height: 44px;
}
.filters button span {
  font-size: var(--type-meta);
}
.about-facts > div > span:last-child {
  font-size: var(--type-meta);
}
.portrait-caption .mono {
  font-size: var(--type-meta);
  letter-spacing: 0.3px;
}
.expertise-grid h3 {
  font-size: 20px;
}
.skill-list span {
  font-size: var(--type-meta);
}
.process h4 {
  font-size: 15px;
}
.focus-inner {
  flex-wrap: wrap;
}
.focus-inner > div {
  flex-wrap: wrap;
  font-size: var(--type-action);
  gap: 12px 22px;
}
.focus-inner > span {
  font-size: var(--type-meta);
  letter-spacing: 1px;
}
.projects-note {
  font-size: var(--type-meta);
}
.social-section {
  border-top: 1px solid var(--border);
}
.social-section h2 em {
  color: var(--accent);
}
.social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.social-card {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  transition:
    transform 0.25s,
    border-color 0.25s,
    background 0.25s;
}
.social-card:hover {
  transform: translateY(-5px);
  border-color: #91ad83;
  background: #222e24;
}
.social-logo {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: transform 0.3s;
}
.social-card:hover .social-logo {
  transform: rotate(-9deg) scale(1.1);
}
.social-identity {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}
.social-identity strong {
  font-size: 16px;
  font-weight: 600;
}
.social-identity > span {
  font-size: var(--type-meta);
  color: var(--muted);
  overflow-wrap: anywhere;
}
.social-card > .icon {
  width: 17px;
  height: 17px;
  color: var(--muted);
}
.contact-social-jump {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: var(--type-action);
  font-weight: 600;
}
.contact-social-jump:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.copy-button {
  font-size: var(--type-meta);
  min-height: 38px;
}
.email-link {
  font-size: clamp(14px, 1.4vw, 18px);
}
.email-group {
  flex-wrap: wrap;
}
.copy-status {
  font-size: var(--type-meta);
  position: static;
  flex-basis: 100%;
}
.copy-status:empty {
  display: none;
}
.site-footer {
  font-size: var(--type-meta);
  flex-wrap: wrap;
}
.footer-social-link:hover {
  color: var(--accent);
}
.site-header.has-scrolled {
  box-shadow: 0 8px 25px #0002;
}
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: 3px;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}
.js-ready .hero-copy > * {
  animation: welcome-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}
.js-ready .hero-copy > :nth-child(2) {
  animation-delay: 0.08s;
}
.js-ready .hero-copy > :nth-child(3) {
  animation-delay: 0.16s;
}
.js-ready .hero-copy > :nth-child(n + 4) {
  animation-delay: 0.24s;
}
.js-ready .floating-note {
  animation: note-float 4.5s ease-in-out;
}
.js-ready .note-icon {
  animation: note-turn 4.5s ease-in-out;
}
.project-dialog[open] {
  animation: dialog-enter 0.22s ease-out;
}
@keyframes welcome-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes note-float {
  0%,
  100% {
    transform: translateY(0) rotate(4deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}
@keyframes note-turn {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(180deg);
  }
}
@keyframes dialog-enter {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 1000px) {
  .social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .selected-grid {
    grid-template-columns: 1fr 1fr;
  }
  .selected-visual {
    height: 240px;
  }
  .selected-visual img {
    width: 100%;
  }
  .focus-inner > div {
    gap: 10px 16px;
  }
  .hero-project-caption {
    padding: 12px;
  }
  .hero-project-caption strong {
    font-size: 13px;
  }
  .hero-project-caption > span > span {
    font-size: var(--type-meta);
  }
}
@media (max-width: 760px) {
  .selected-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .hero-copy > .eyebrow {
    font-size: var(--type-meta);
    letter-spacing: 1px;
  }
  .hero-actions > .text-link {
    font-size: 13px;
  }
  .hero-actions > .button {
    font-size: var(--type-action);
  }
  .hero {
    gap: 28px;
  }
  .hero-visual {
    height: 390px;
  }
  .hero-project-caption {
    padding: 12px;
  }
  .hero-project-caption strong {
    font-size: 13px;
  }
  .hero-project-caption > span > span {
    font-size: var(--type-meta);
  }
  .floating-note {
    font-size: var(--type-meta);
    bottom: 20px;
  }
  .floating-note strong {
    font-size: var(--type-action);
  }
  .focus-inner > div {
    justify-content: flex-start;
    font-size: 13px;
  }
  .focus-inner > div i {
    font-size: 16px;
  }
  .featured-content h3 {
    font-size: 33px;
  }
  .featured-content .tags span,
  .selected-content .tags span {
    font-size: var(--type-meta);
  }
  .featured-content .source-link,
  .card-bottom .detail-button,
  .archive-links > a,
  .project-links > a {
    font-size: var(--type-action);
  }
  .card-bottom {
    gap: 20px;
  }
  .project-links {
    gap: 22px;
  }
  .featured-visual {
    height: 290px;
  }
  .selected-visual {
    height: 250px;
  }
  .project-visual-top {
    font-size: var(--type-meta);
  }
  .archive-top .mono {
    font-size: var(--type-meta);
  }
  .filters {
    gap: 6px;
  }
  .filters button {
    padding-inline: 9px;
    font-size: var(--type-meta);
  }
  .social-card {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 15px;
    gap: 12px;
    align-items: start;
  }
  .social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .social-identity {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .social-card > .icon {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .social-identity strong {
    font-size: 15px;
  }
  .social-identity > span {
    font-size: var(--type-meta);
  }
  .social-logo {
    width: 30px;
    height: 30px;
  }
  .contact-top {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }
  .contact-top .mono,
  .contact-top .eyebrow {
    font-size: var(--type-meta);
  }
  .contact-main {
    align-items: flex-start;
  }
  .contact-arrow {
    margin-top: 12px;
  }
  .email-link {
    font-size: var(--type-action);
  }
  .contact-bottom {
    gap: 22px;
  }
  .site-footer {
    display: flex;
    gap: 18px;
    justify-content: space-between;
    font-size: var(--type-meta);
  }
  .site-footer > p {
    order: 3;
    flex-basis: 100%;
  }
  .footer-brand {
    font-size: 16px;
  }
  .back-top {
    margin-left: auto;
  }
  .footer-social-link {
    flex-basis: 100%;
    order: 2;
  }
  .dialog-top .eyebrow {
    font-size: var(--type-meta);
    letter-spacing: 0.5px;
  }
  .dialog-links {
    flex-wrap: wrap;
    gap: 20px;
  }
  .dialog-links .text-link {
    font-size: var(--type-action);
  }
}
@media (prefers-reduced-motion: reduce) {
  .archive-card:hover,
  .selected-card:hover,
  .social-card:hover,
  .social-card:hover .social-logo,
  .selected-card:hover .selected-visual img {
    transform: none;
  }
}

.footer-social-link .icon {
  width: 15px;
  height: 15px;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.browser-bar > .icon {
  width: 13px;
  height: 13px;
}
.feature-list li::before {
  font-family: Arial, sans-serif;
}
