:root {
  --background: #f4f1e8;
  --foreground: #121212;
  --card: #fffdf7;
  --card-foreground: #121212;
  --popover: #fffdf7;
  --popover-foreground: #121212;
  --primary: #1538ff;
  --primary-foreground: #ffffff;
  --secondary: #dfff00;
  --secondary-foreground: #121212;
  --muted: #e8e4d8;
  --muted-foreground: #5e5c56;
  --accent: #dfff00;
  --accent-foreground: #121212;
  --destructive: #c91f37;
  --border: #171717;
  --input: #8f8b80;
  --ring: #1538ff;
  --radius: 0;
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --radius-xl: 0;
  --font-sans: "Arial", "Helvetica Neue", sans-serif;
  --font-serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button { color: inherit; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid #1538ff;
  outline-offset: 3px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid #171717;
  border-radius: 0;
  padding: 0.7rem 1rem;
  background: #1538ff;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.button.secondary {
  background: #fffdf7;
  color: #121212;
}

.button.danger {
  min-height: 40px;
  background: transparent;
  color: #c91f37;
}

.button:disabled { cursor: wait; opacity: 0.65; }

.tab-panel[hidden] { display: none; }

.lens-tabs button,
.filter-tabs button {
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.filter-tabs {
  display: flex;
}

.filter-tabs button[aria-selected="true"] {
  border-bottom: 3px solid #1538ff;
  color: #1538ff;
}

.skill-group { border-bottom: 1px solid #77756e; }

.skill-trigger {
  display: flex;
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.skill-trigger .chevron {
  width: 1.4rem;
  height: 1.4rem;
  transition: transform 180ms ease;
}

.skill-trigger[aria-expanded="true"] .chevron { transform: rotate(180deg); }

.contact-dialog {
  width: min(520px, calc(100vw - 2rem));
  color: #121212;
}

.contact-dialog::backdrop { background: rgb(18 18 18 / 65%); }

.dialog-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  cursor: pointer;
}

.contact-dialog h2 {
  margin: 0.25rem 0;
  font-family: "Iowan Old Style", Baskerville, serif;
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.contact-dialog > p:first-of-type {
  margin: 0;
  color: #1538ff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.contact-dialog .dialog-description { color: #4a4944; }

.notice {
  margin: 1rem 0;
  border-left: 5px solid #1538ff;
  padding: 0.85rem 1rem;
  background: #fffdf7;
}

.notice.error { border-left-color: #c91f37; color: #8a1628; }

.login-card {
  width: min(520px, 100%);
  margin: 5rem auto;
  border: 1px solid #171717;
  padding: clamp(1.5rem, 5vw, 3rem);
  background: #fffdf7;
  box-shadow: 10px 10px 0 #171717;
}

.login-card h1 {
  margin: 0 0 1rem;
  font-family: "Iowan Old Style", Baskerville, serif;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 500;
  line-height: 0.95;
}

.login-card form { display: grid; gap: 1rem; margin-top: 2rem; }

.login-card label { font-size: 0.75rem; font-weight: 900; letter-spacing: 0.07em; text-transform: uppercase; }

.login-card input,
.field input,
.field textarea,
.studio-select,
.upload-field input {
  width: 100%;
  border: 1px solid #8f8b80;
  padding: 0.75rem;
}

.setup-shell { max-width: 800px; margin: 0 auto; padding: 3rem 4vw 6rem; }
.setup-shell h1 { font-family: "Iowan Old Style", Baskerville, serif; font-size: clamp(2.8rem, 7vw, 5rem); line-height: 0.95; }
.setup-form { display: grid; gap: 1.25rem; }
.setup-form fieldset { display: grid; gap: 1rem; border: 1px solid #171717; padding: 1.25rem; }
.setup-form legend { padding: 0 0.5rem; color: #1538ff; font-weight: 900; }
.setup-form label { display: grid; gap: 0.4rem; font-weight: 700; }
.setup-form input { min-height: 48px; border: 1px solid #8f8b80; padding: 0.7rem; background: #fffdf7; }

::selection {
  background: #dfff00;
  color: #121212;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 4vw;
  border-bottom: 1px solid #171717;
  background: color-mix(in srgb, var(--background) 94%, transparent);
  backdrop-filter: blur(14px);
}

.wordmark {
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.wordmark span {
  color: #1538ff;
  margin: 0 0.35rem;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.9rem, 2.5vw, 2.4rem);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header nav a {
  position: relative;
}

.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.3rem;
  left: 0;
  height: 2px;
  background: #1538ff;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.cover {
  min-height: calc(100vh - 68px);
  padding: 1.15rem 4vw 0;
  border-bottom: 1px solid #171717;
}

.cover-kicker {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 4px solid #171717;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.cover-grid {
  display: grid;
  min-height: calc(100vh - 184px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 28vw);
}

.cover-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 7vw, 7rem) clamp(2rem, 5vw, 5.5rem) 3rem 0;
  border-right: 1px solid #171717;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #1538ff;
  box-shadow: 0 0 0 5px rgb(21 56 255 / 14%);
}

.cover-copy {
  animation: reveal 300ms ease both;
}

.overline {
  margin: 0 0 1rem;
  color: #1538ff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.cover h1 {
  max-width: 11ch;
  margin: 0;
  font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  font-size: clamp(3.25rem, 7.6vw, 8.25rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

.dek {
  max-width: 58rem;
  margin: 2rem 0 0;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  line-height: 1.6;
}

.cover-aside {
  display: grid;
  align-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 4.5rem) 0 3rem clamp(1.5rem, 3vw, 3rem);
}

.profile-monogram {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  max-width: 240px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #171717;
  background: #1538ff;
  color: #fff;
  font-family: "Iowan Old Style", Baskerville, serif;
  font-size: clamp(5rem, 9vw, 9rem);
  line-height: 0.7;
}

.profile-monogram::after {
  position: absolute;
  width: 150%;
  height: 2px;
  background: #dfff00;
  content: "";
  transform: rotate(-37deg);
}

.profile-monogram span:first-child {
  position: absolute;
  top: 8%;
  left: 10%;
}

.profile-monogram span:last-child {
  position: absolute;
  right: 10%;
  bottom: 5%;
}

.aside-label {
  margin: 0 0 0.55rem;
  color: #1538ff;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.aside-copy {
  max-width: 28rem;
  margin: 0;
  font-size: 0.95rem;
}

.lens-tabs {
  display: grid !important;
  width: 100% !important;
  height: auto !important;
  grid-template-columns: 1fr;
  gap: 0 !important;
  padding: 0 !important;
  border: 1px solid #171717;
  background: transparent !important;
}

.lens-tabs button {
  height: 48px;
  justify-content: flex-start;
  border: 0;
  border-bottom: 1px solid #171717;
  border-radius: 0 !important;
  padding: 0 1rem;
  color: #121212 !important;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.lens-tabs button:last-child {
  border-bottom: 0;
}

.lens-tabs button[data-state="active"] {
  background: #dfff00 !important;
  box-shadow: none !important;
}

.lens-tabs button[aria-selected="true"] {
  background: #dfff00 !important;
  box-shadow: none !important;
}

.cover-footer {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #171717;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cover-footer div,
.cover-footer a,
.cover-footer .connect-trigger {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.cover-footer svg {
  width: 1rem;
}

.cover-footer a,
.cover-footer .connect-trigger {
  color: #1538ff;
}

.connect-trigger {
  border: 0;
  padding: 0;
  background: transparent;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.contact-dialog {
  max-width: 520px !important;
  gap: 1.5rem !important;
  border: 2px solid #171717 !important;
  border-radius: 0 !important;
  padding: clamp(1.5rem, 4vw, 2.5rem) !important;
  background: #f4f1e8 !important;
  box-shadow: 10px 10px 0 #171717 !important;
}

.contact-dialog [data-slot="dialog-header"] > p {
  margin: 0;
  color: #1538ff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.contact-dialog [data-slot="dialog-title"] {
  font-family: "Iowan Old Style", Baskerville, serif;
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.contact-dialog [data-slot="dialog-description"] {
  color: #4a4944;
  font-size: 1rem;
  line-height: 1.5;
}

.contact-email {
  padding: 1rem;
  border: 1px solid #171717;
  background: #fffdf7;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(0.9rem, 3vw, 1.1rem);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.contact-actions button,
.contact-actions a {
  min-height: 46px;
  border-radius: 0;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.editorial-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #171717;
}

.editorial-strip article {
  min-height: 210px;
  padding: 2.25rem 4vw;
  border-right: 1px solid #171717;
}

.editorial-strip article:last-child {
  border-right: 0;
  background: #dfff00;
}

.editorial-strip span,
.project-meta,
.slot-label {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.editorial-strip strong {
  display: block;
  margin: 2.25rem 0 0.65rem;
  font-family: "Iowan Old Style", Baskerville, serif;
  font-size: clamp(1.45rem, 2.3vw, 2.4rem);
  font-weight: 500;
  line-height: 1;
}

.editorial-strip p {
  max-width: 34rem;
  margin: 0;
  color: #3f3e39;
}

.resume-section,
.skills-section,
.projects-section {
  padding: clamp(5rem, 9vw, 9rem) 4vw;
  border-bottom: 1px solid #171717;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(170px, 0.75fr) minmax(0, 3fr);
  gap: 0.85rem 2.5rem;
  margin-bottom: clamp(2.5rem, 4vw, 4.5rem);
  align-items: start;
}

.section-heading > p {
  margin: 0;
  color: #1538ff;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.section-heading h2 {
  max-width: 23ch;
  margin: 0;
  font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  font-size: clamp(2.6rem, 5vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.section-heading span {
  grid-column: 2;
  max-width: 62rem;
  color: #4a4944;
  font-size: 1.05rem;
  line-height: 1.55;
}

.resume-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 4px solid #171717;
}

.filter-tabs {
  max-width: 100%;
  overflow-x: auto;
}

.filter-tabs button {
  min-width: 92px;
  height: 44px;
  padding: 0 1rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.print-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  background: transparent;
  color: #1538ff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.print-button svg {
  width: 1rem;
}

.timeline {
  border-top: 1px solid #171717;
}

.timeline-item {
  display: grid;
  grid-template-columns: 70px 130px minmax(250px, 1fr) minmax(260px, 1.25fr);
  gap: 1.5rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid #8f8b80;
}

.timeline-number,
.timeline-period {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.07em;
}

.timeline-number {
  color: #1538ff;
}

.timeline-body > p {
  margin: 0 0 0.55rem;
  color: #5e5c56;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.timeline-body h3 {
  margin: 0 0 1rem;
  font-family: "Iowan Old Style", Baskerville, serif;
  font-size: clamp(1.6rem, 2.5vw, 2.5rem);
  font-weight: 500;
  line-height: 1;
}

.timeline-tags,
.project-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.timeline-tags span,
.project-tools span {
  border: 1px solid #8f8b80;
  padding: 0.25rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.timeline-detail {
  margin: 0;
  color: #3f3e39;
}

.skills-section {
  background: #121212;
  color: #f4f1e8;
}

.skills-section .section-heading > p {
  color: #dfff00;
}

.skills-section .section-heading span {
  color: #b9b7af;
}

.skills-accordion {
  border-top: 1px solid #77756e;
}

.skill-group {
  border-color: #77756e;
}

.skill-trigger {
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 0;
  padding: 0 1.25rem;
  color: #f4f1e8;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.065em;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.skill-trigger:hover,
.skill-trigger:focus-visible {
  background: #dfff00;
  color: #121212;
  text-decoration: none;
}

.skill-trigger > span {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
}

.skill-trigger svg {
  width: 1.75rem;
  height: 1.75rem;
  stroke-width: 2;
}

.skill-trigger > svg {
  color: #dfff00;
}

.skill-trigger:hover > svg,
.skill-trigger:focus-visible > svg {
  color: #121212;
}

.skill-content {
  padding-bottom: 1.5rem;
}

.skill-list {
  border-top: 4px solid #f4f1e8;
}

.skill-list > div {
  display: grid;
  min-height: 70px;
  grid-template-columns: 60px 1fr;
  align-items: center;
  border-bottom: 1px solid #77756e;
}

.skill-list span {
  color: #dfff00;
  font-size: 0.72rem;
  font-weight: 900;
}

.skill-list p {
  margin: 0;
  font-family: "Iowan Old Style", Baskerville, serif;
  font-size: clamp(1.25rem, 2vw, 2rem);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #171717;
  border-left: 1px solid #171717;
}

.project-card {
  display: flex;
  min-height: 540px;
  flex-direction: column;
  padding: 1rem;
  border-right: 1px solid #171717;
  border-bottom: 1px solid #171717;
}

.project-placeholder,
.project-image {
  display: grid;
  aspect-ratio: 4 / 3;
  place-items: center;
  margin-bottom: 1.4rem;
  overflow: hidden;
  background: #ded9cb;
}

.project-placeholder {
  grid-template-columns: 1fr 1fr;
  padding: 1.5rem;
}

.project-placeholder > span {
  align-self: start;
  justify-self: start;
  color: #1538ff;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.project-placeholder svg {
  width: 5rem;
  height: 5rem;
  align-self: end;
  justify-self: end;
  stroke-width: 1;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.project-card:hover .project-image img {
  transform: scale(1.035);
}

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.project-meta span:first-child {
  color: #1538ff;
}

.project-card h3 {
  margin: 0 0 0.75rem;
  font-family: "Iowan Old Style", Baskerville, serif;
  font-size: clamp(1.65rem, 2.6vw, 2.6rem);
  font-weight: 500;
  line-height: 1;
}

.project-card > p {
  margin: 0 0 1rem;
  color: #4a4944;
}

.project-card.published {
  min-height: 0;
}

.project-summary-collapsible {
  display: -webkit-box;
  max-height: 4.65em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.project-summary-collapsible.is-expanded {
  display: block;
  max-height: none;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.project-extra {
  padding-top: 0.25rem;
  animation: reveal 220ms ease both;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.4rem;
  color: #1538ff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-toggle {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border: 0;
  border-top: 1px solid #171717;
  padding: 1rem 0 0;
  background: transparent;
  color: #1538ff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.project-toggle:hover,
.project-toggle:focus-visible {
  color: #121212;
}

.project-toggle b {
  font-size: 1rem;
}

.project-card.published.is-expanded {
  background: #fffdf7;
}

.slot-label {
  margin-top: auto;
  padding-top: 2rem;
  color: #77756e;
}

.project-tools {
  margin-top: 0.5rem;
}

.project-card > a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 2rem;
  color: #1538ff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card > a svg {
  width: 1rem;
}

.studio-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  background: #1538ff;
  color: #fff;
}

.studio-callout span {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.studio-callout strong {
  font-family: "Iowan Old Style", Baskerville, serif;
  font-size: 1.5rem;
  font-weight: 500;
}

.studio-callout svg {
  width: 2rem;
  height: 2rem;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 3fr);
  border-bottom: 1px solid #171717;
}

.about-rail {
  display: flex;
  min-height: 560px;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem 4vw;
  border-right: 1px solid #171717;
  background: #dfff00;
}

.about-rail p {
  margin: 0;
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.about-rail svg {
  width: 5rem;
  height: 5rem;
  stroke-width: 1;
}

.about-rail > b {
  font-size: 4rem;
  font-weight: 400;
}

.about-copy {
  padding: clamp(4rem, 8vw, 8rem) 4vw;
}

.about-copy h2 {
  max-width: 16ch;
  margin: 0 0 4rem;
  font-family: "Iowan Old Style", Baskerville, serif;
  font-size: clamp(2.5rem, 5vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.about-columns {
  display: grid;
  max-width: 72rem;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
}

.about-columns p {
  margin: 0;
}

.resume-downloads {
  display: grid;
  max-width: 72rem;
  grid-template-columns: 0.8fr 1fr 1fr;
  gap: 0;
  margin-top: 4rem;
  border-top: 4px solid #171717;
  border-left: 1px solid #171717;
}

.resume-downloads > div,
.resume-downloads > a {
  min-height: 160px;
  padding: 1.25rem;
  border-right: 1px solid #171717;
  border-bottom: 1px solid #171717;
}

.resume-downloads > div {
  background: #dfff00;
}

.resume-downloads > div p {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.resume-downloads > div span {
  color: #4a4944;
  font-size: 0.86rem;
}

.resume-downloads > a {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  background: #fffdf7;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.resume-downloads > a:hover,
.resume-downloads > a:focus-visible {
  background: #1538ff;
  color: #fff;
}

.resume-downloads > a > span {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8rem;
  line-height: 1.4;
}

.resume-downloads strong {
  font-family: "Iowan Old Style", Baskerville, serif;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.05;
}

.resume-downloads svg {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
}

.site-footer {
  display: grid;
  min-height: 310px;
  grid-template-columns: 1fr auto;
  align-content: space-between;
  gap: 2rem 3rem;
  padding: clamp(3rem, 5vw, 5rem) 4vw 2rem;
  background: #1538ff;
  color: #fff;
}

.site-footer > div:first-child > p {
  margin: 0 0 1.5rem;
  color: #dfff00;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.site-footer h2 {
  max-width: none;
  margin: 0;
  font-family: "Iowan Old Style", Baskerville, serif;
  font-size: clamp(2.5rem, 4.4vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 1rem;
  font-weight: 800;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border-bottom: 1px solid #fff;
}

.footer-links svg {
  width: 1rem;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 45%);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.back-to-top {
  position: fixed;
  right: clamp(1rem, 2vw, 2rem);
  bottom: clamp(1rem, 2vw, 2rem);
  z-index: 40;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid #171717;
  background: #dfff00;
  color: #121212;
  box-shadow: 5px 5px 0 #171717;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  box-shadow: 2px 2px 0 #171717;
  transform: translate(3px, 3px);
}

.back-to-top svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2.5;
}

.print-resume {
  display: none;
}

/* Project Studio */
.studio-shell {
  min-height: 100vh;
  padding: 0 4vw 6rem;
}

.studio-header {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid #171717;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.back-link svg {
  width: 1rem;
}

.studio-header > div {
  text-align: right;
}

.studio-header span,
.studio-intro > p {
  color: #1538ff;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.studio-header p {
  margin: 0.15rem 0 0;
  font-size: 0.84rem;
}

.studio-header form { margin-top: 0.35rem; }

.link-button {
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 0;
  background: transparent;
  color: #1538ff;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.studio-intro {
  padding: clamp(4rem, 8vw, 8rem) 0;
  border-bottom: 4px solid #171717;
}

.studio-intro > p {
  margin: 0 0 1rem;
}

.studio-intro h1,
.studio-locked h1 {
  max-width: 12ch;
  margin: 0 0 1.25rem;
  font-family: "Iowan Old Style", Baskerville, serif;
  font-size: clamp(3.25rem, 7vw, 7.5rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.studio-intro > span {
  display: block;
  max-width: 42rem;
  color: #4a4944;
  font-size: 1.05rem;
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(3rem, 7vw, 7rem);
  padding-top: 4rem;
}

.project-form {
  display: grid;
  gap: 1.4rem;
}

.field {
  display: grid;
  gap: 0.55rem;
}

.field label,
.upload-field label {
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.field input,
.field textarea,
.studio-select,
.upload-field input {
  min-height: 48px;
  border-color: #8f8b80;
  border-radius: 0;
  background: #fffdf7;
  box-shadow: none;
  font-size: 1rem;
}

.field textarea {
  min-height: 150px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 1rem;
}

.studio-select,
.studio-select + svg {
  width: 100%;
}

.field-help,
.upload-field span {
  color: #6c6960;
  font-size: 0.78rem;
}

.upload-field {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.75rem 1rem;
  padding: 1.25rem;
  border: 1px dashed #68655d;
  background: #e9e5da;
}

.upload-field > svg {
  width: 2rem;
  height: 2rem;
  grid-row: 1 / span 2;
  color: #1538ff;
}

.upload-icon {
  grid-row: 1 / span 2;
  color: #1538ff !important;
  font-size: 2rem !important;
}

.upload-field > div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.upload-field input {
  grid-column: 1 / -1;
  background: #fffdf7;
}

.publish-button {
  min-height: 52px;
  border-radius: 0;
  background: #1538ff;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-message {
  min-height: 1.5rem;
  margin: 0;
  color: #1538ff;
  font-size: 0.84rem;
  font-weight: 700;
}

.project-index {
  border-top: 4px solid #171717;
}

.index-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 0;
  border-bottom: 1px solid #171717;
}

.index-heading span {
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.index-heading strong {
  color: #1538ff;
  font-family: "Iowan Old Style", Baskerville, serif;
  font-size: 2.5rem;
  font-weight: 500;
}

.empty-index {
  padding: 2.5rem 0;
  color: #5e5c56;
}

.empty-index p {
  margin: 0 0 0.35rem;
  color: #121212;
  font-weight: 800;
}

.index-list article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #8f8b80;
}

.index-list span {
  color: #1538ff;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.index-list h2 {
  margin: 0.4rem 0;
  font-family: "Iowan Old Style", Baskerville, serif;
  font-size: 1.7rem;
  font-weight: 500;
}

.index-list p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #5e5c56;
  font-size: 0.88rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.studio-locked {
  max-width: 70rem;
  padding: 8rem 0;
}

.studio-locked > p {
  color: #1538ff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1000px) {
  .cover-grid {
    grid-template-columns: minmax(0, 1fr) 250px;
  }

  .timeline-item {
    grid-template-columns: 55px 115px 1fr;
  }

  .timeline-detail {
    grid-column: 3;
  }

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

  .project-card:last-child {
    grid-column: 1 / -1;
    min-height: 440px;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .site-header nav {
    width: 100%;
    justify-content: space-between;
    gap: 0.75rem;
    overflow-x: auto;
  }

  .cover {
    min-height: auto;
  }

  .cover-kicker span:nth-child(2) {
    display: none;
  }

  .cover-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .cover-main {
    min-height: 640px;
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid #171717;
  }

  .cover-aside {
    grid-template-columns: 120px 1fr;
    padding-left: 0;
  }

  .profile-monogram {
    grid-row: 1 / span 2;
  }

  .lens-tabs {
    grid-column: 1 / -1;
  }

  .cover-footer {
    min-height: 70px;
  }

  .editorial-strip {
    grid-template-columns: 1fr;
  }

  .editorial-strip article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid #171717;
  }

  .editorial-strip article:last-child {
    border-bottom: 0;
  }

  .editorial-strip strong {
    margin-top: 1.25rem;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading span {
    grid-column: 1;
  }

  .resume-toolbar {
    align-items: flex-end;
  }

  .filter-tabs {
    width: 100%;
  }

  .filter-tabs button {
    min-width: 80px;
    padding: 0 0.6rem;
  }

  .print-button {
    padding-bottom: 0.75rem;
  }

  .timeline-item {
    grid-template-columns: 48px 1fr;
  }

  .timeline-period {
    text-align: right;
  }

  .timeline-body,
  .timeline-detail {
    grid-column: 2;
  }

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

  .project-card:last-child {
    grid-column: auto;
  }

  .project-card {
    min-height: 500px;
  }

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

  .about-rail {
    min-height: 150px;
    flex-direction: row;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid #171717;
  }

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

  .resume-downloads {
    grid-template-columns: 1fr;
  }

  .resume-downloads > div,
  .resume-downloads > a {
    min-height: 130px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    align-items: flex-start;
  }

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

@media (max-width: 480px) {
  .contact-actions {
    grid-template-columns: 1fr;
  }

  .site-header nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cover-main {
    min-height: 600px;
  }

  .cover h1 {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .cover-aside {
    grid-template-columns: 90px 1fr;
  }

  .cover-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .resume-toolbar {
    align-items: flex-start;
    flex-direction: column;
    border-bottom-width: 1px;
  }

  .print-button {
    align-self: flex-end;
  }

  .studio-callout {
    align-items: flex-start;
  }

  .studio-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem 0;
  }

  .studio-header > div {
    text-align: left;
  }

  .field-row {
    grid-template-columns: 1fr;
  }
}

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

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

@media print {
  @page {
    size: Letter;
    margin: 0.42in 0.5in;
  }

  html,
  body {
    width: 100%;
    background: #fff !important;
    color: #111 !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9.25pt;
    line-height: 1.28;
  }

  .site-header,
  .cover,
  .editorial-strip,
  .resume-section,
  .skills-section,
  .projects-section,
  .about-section,
  .site-footer,
  .back-to-top {
    display: none !important;
  }

  .print-resume {
    display: block !important;
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .print-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 0.15rem 1rem;
    padding-bottom: 0.12in;
    border-bottom: 2.5pt solid #111;
  }

  .print-header h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28pt;
    font-weight: 700;
    letter-spacing: -0.6pt;
    line-height: 1;
  }

  .print-header > p {
    grid-column: 1;
    margin: 0.05in 0 0;
    color: #1538ff;
    font-size: 10pt;
    font-weight: 700;
    letter-spacing: 0.35pt;
    text-transform: uppercase;
  }

  .print-header > span {
    grid-column: 2;
    grid-row: 1 / span 2;
    max-width: 3.6in;
    font-size: 8.3pt;
    line-height: 1.35;
    text-align: right;
  }

  .print-resume section {
    margin-top: 0.11in;
  }

  .print-resume h2 {
    margin: 0 0 0.045in;
    padding-bottom: 0.025in;
    border-bottom: 0.75pt solid #777;
    color: #1538ff;
    font-size: 8.6pt;
    font-weight: 800;
    letter-spacing: 0.7pt;
    text-transform: uppercase;
  }

  .print-resume p {
    margin: 0;
  }

  .print-skills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.12in;
  }

  .print-skills p {
    padding-right: 0.08in;
    font-size: 8.15pt;
  }

  .print-role {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 0.2in;
    margin-top: 0.075in;
    break-inside: avoid;
  }

  .print-role h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 10.2pt;
    font-weight: 700;
    line-height: 1.08;
  }

  .print-role strong {
    font-size: 8.3pt;
    font-weight: 600;
  }

  .print-role > span {
    font-size: 8.1pt;
    font-weight: 700;
  }

  .print-role ul {
    grid-column: 1 / -1;
    margin: 0.025in 0 0 0.17in;
    padding: 0;
    font-size: 8.3pt;
  }

  .print-role li {
    margin: 0.01in 0;
    padding-left: 0.02in;
  }

  .print-role.compact {
    margin-top: 0.065in;
  }

  .print-bottom {
    display: grid;
    grid-template-columns: 1.55fr 0.8fr;
    gap: 0.22in;
    margin-top: 0.1in;
    break-inside: avoid;
  }

  .print-bottom section {
    margin: 0;
  }

  .print-bottom p {
    margin: 0 0 0.025in;
    font-size: 8pt;
  }
}
