:root {
  --paper: #fafbfd;
  --ink: #17243d;
  --muted: #5e6c83;
  --accent: #2857d7;
  --line: #d3ddea;
  --soft: #f0f3f9;
  --header-bg: rgba(250, 251, 253, 0.94);
  --button-bg: #2857d7;
  --preview-bg: #e0e8f5;
  --preview-shadow: #30487544;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "DM Sans", sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  color-scheme: light;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
  color: inherit;
}
button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
a,
summary {
  touch-action: manipulation;
}
button,
summary {
  cursor: pointer;
}
a,
button {
  transition:
    color 0.2s,
    background 0.2s,
    transform 0.2s;
}
button:active,
.primary-link:active {
  transform: translateY(2px);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
::selection {
  background: #bed0ff;
  color: #102859;
}
.container {
  width: min(1320px, calc(100% - 112px));
  margin-inline: auto;
}
.serif {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.06em;
}
.eyebrow {
  font: 500 11px/1.5 var(--body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  background: var(--button-bg);
  color: white;
  padding: 12px 20px;
  z-index: 5;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
}
.nav-wrap {
  height: 96px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.monogram {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  background: var(--button-bg);
  color: #fff;
  border-radius: 50%;
  font:
    600 23px/1 Georgia,
    serif;
  letter-spacing: -0.06em;
  padding-bottom: 3px;
}
.nav-wrap nav {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 13px;
  font-weight: 500;
}
.nav-wrap nav a {
  padding: 10px 0;
}
.nav-wrap nav a:hover,
.nav-wrap nav a[aria-current] {
  color: var(--accent);
}
.nav-wrap nav a[aria-current] {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.nav-wrap nav a span {
  margin-left: 4px;
  font-size: 10px;
  color: var(--muted);
}
.nav-wrap nav .nav-contact {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 10px 17px;
}
.nav-wrap nav .nav-contact span {
  margin-left: 22px;
  font-size: 15px;
  color: inherit;
}
.nav-contact:hover {
  background: var(--soft);
}
.hero {
  padding-top: 36px;
}
.hero-overline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.015em;
}
.hero-overline > span:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--button-bg);
  flex: none;
}
.edition {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  min-height: 550px;
  gap: 14px;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 46px 0 58px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(64px, 7.5vw, 108px);
  line-height: 1.04;
  letter-spacing: -0.075em;
}
.hero h1 span {
  display: block;
  white-space: nowrap;
}
.hero h1 .serif {
  color: var(--accent);
  font-size: 1.08em;
  line-height: 1.1;
}
.hero-copy p {
  font-size: 15px;
  line-height: 1.7;
  max-width: 350px;
  color: var(--muted);
  margin: 27px 0 30px;
}
.primary-link {
  display: inline-flex;
  align-items: center;
  gap: 45px;
  background: var(--button-bg);
  color: #fff;
  padding: 15px 21px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}
.primary-link span {
  font-size: 20px;
  line-height: 1;
}
.primary-link:hover {
  background: #2049bf;
  transform: translateY(-2px);
}
.hero-foot {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 75px;
  font-size: 10px;
  color: var(--muted);
}
.hero-foot ul {
  display: flex;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-foot li + li::before {
  content: "+";
  margin-right: 30px;
  color: var(--muted);
}
.hero-foot > a {
  font-size: 23px;
  padding: 10px;
}
.work-section {
  padding-top: 92px;
  padding-bottom: 78px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 40px;
}
.section-heading h2 {
  font: 500 clamp(30px, 3.25vw, 47px) / 1.15 var(--display);
  letter-spacing: -0.055em;
}
.section-heading h2 .serif {
  white-space: nowrap;
}
.section-heading > p {
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 270px;
  padding-bottom: 4px;
}
.work-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 19px;
  margin-bottom: 30px;
}
.filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.filters button {
  border: 0;
  background: transparent;
  padding: 9px 14px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--muted);
}
.filters button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
.filters button:not([aria-pressed="true"]):hover {
  background: var(--soft);
}
.filters button span {
  font-size: 9px;
  margin-left: 8px;
  opacity: 0.65;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid transparent;
}
.search > span {
  font-size: 23px;
  line-height: 1;
}
.search:focus-within {
  border-color: var(--accent);
}
.search input {
  background: transparent;
  border: 0;
  outline: none;
  width: 150px;
  padding: 8px 0;
  font-size: 11px;
}
.search input::placeholder {
  color: var(--muted);
}
.search:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px 30px;
}
.project {
  min-width: 0;
}
.visual {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 1.62;
  background: var(--soft);
}
.shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.65, 0.3, 1);
}
.visual:hover .shot {
  transform: scale(1.035);
}
.visual-label {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 5px 9px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 3px;
  font-size: 9px;
}
.open-arrow {
  position: absolute;
  right: 17px;
  bottom: 17px;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 19px;
  transition: transform 0.25s;
}
.visual:hover .open-arrow {
  transform: rotate(45deg);
}
.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 19px 0 9px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.project h3 {
  font: 550 25px/1.3 var(--display);
  letter-spacing: -0.05em;
}
.project h3 a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.project h3 span {
  font-size: 18px;
  color: var(--accent);
}
.project h3 a:hover {
  color: var(--accent);
}
.project-summary {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 58ch;
  margin-top: 12px;
}
.tags {
  display: flex;
  gap: 6px;
  list-style: none;
  flex-wrap: wrap;
  padding: 0;
  margin: 17px 0 0;
}
.tags li {
  font-size: 9px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--muted);
}
.project-notes {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.project-notes summary,
.more-skills summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  color: var(--accent);
}
summary::-webkit-details-marker {
  display: none;
}
summary span {
  font-size: 18px;
  transition: transform 0.2s;
}
details[open] > summary span {
  transform: rotate(45deg);
}
.project-notes p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  padding: 4px 0 12px;
  max-width: 65ch;
}
.project-notes .full-stack {
  font-size: 10px;
}
.collection-note {
  border-top: 1px solid var(--line);
  margin-top: 45px;
  padding-top: 22px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
}
.collection-note span:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
}
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--soft);
}
.empty-state h3 {
  font-size: 24px;
  font-weight: 500;
}
.empty-state p {
  font-size: 13px;
  margin: 10px 0 20px;
  color: var(--muted);
}
.empty-state button {
  border: 0;
  background: var(--button-bg);
  color: white;
  border-radius: 4px;
  padding: 10px 20px;
  font-size: 12px;
}
.about-section {
  background: var(--soft);
  padding: 94px 0 100px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}
.about-grid h2 {
  font: 500 clamp(35px, 4vw, 57px) / 1.15 var(--display);
  letter-spacing: -0.06em;
}
.about-signature {
  margin-top: 36px;
  font-size: 12px;
  display: flex;
  gap: 30px;
  color: var(--accent);
}
.about-copy {
  font-size: 13px;
  color: var(--muted);
}
.about-copy > .intro {
  font: 500 22px/1.5 var(--display);
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 22px;
}
.about-copy > p {
  line-height: 1.85;
  max-width: 60ch;
}
.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-block: 1px solid var(--line);
  margin: 30px 0;
  padding: 24px 0;
  gap: 20px;
}
.about-facts strong {
  display: block;
  font: 500 31px/1.3 var(--display);
  letter-spacing: -0.05em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.about-facts span {
  display: block;
  font-size: 10px;
  margin-top: 7px;
}
.about-copy h3 {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin: 26px 0 10px;
}
.toolkit {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  gap: 7px;
  margin: 15px 0 0;
}
.toolkit li {
  border: 1px solid var(--line);
  padding: 5px 10px;
  font-size: 10px;
  border-radius: 3px;
}
.more-skills {
  margin-top: 15px;
}
.more-skills summary {
  font-size: 11px;
  justify-content: flex-start;
  gap: 15px;
}
.contact-section {
  padding-block: 94px 90px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 90px;
  align-items: center;
}
.contact-grid h2 {
  font: 500 clamp(45px, 6vw, 82px) / 1.08 var(--display);
  letter-spacing: -0.065em;
}
.contact-grid > div {
  max-width: 340px;
}
.contact-grid p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
}
.contact-links {
  margin-top: 25px;
}
.contact-links a {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 500;
}
.contact-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}
.contact-links .data-link {
  font-size: 11px;
  color: var(--muted);
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-block: 30px;
  gap: 25px;
  font-size: 10px;
  color: var(--muted);
}
footer .brand {
  font-size: 10px;
  font-weight: 400;
}
footer .monogram {
  width: 29px;
  height: 29px;
  font-size: 18px;
}
footer > a:last-child {
  white-space: nowrap;
}
@media (min-width: 1500px) {
  .hero-grid {
    min-height: 600px;
  }
}
@media (max-width: 1050px) {
  .container {
    width: calc(100% - 64px);
  }
  .hero-grid {
    min-height: 475px;
  }
  .hero h1 {
    font-size: clamp(62px, 8vw, 84px);
  }
  .section-heading {
    gap: 35px;
  }
  .about-grid,
  .contact-grid {
    gap: 45px;
  }
  .hero-foot ul {
    gap: 15px;
  }
  .hero-foot li + li::before {
    margin-right: 15px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 88px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .nav-wrap {
    height: 77px;
  }
  .brand {
    font-size: 12px;
    gap: 9px;
  }
  .monogram {
    width: 32px;
    height: 32px;
    font-size: 21px;
  }
  .nav-wrap nav {
    gap: 20px;
    font-size: 12px;
  }
  .nav-wrap nav .nav-contact {
    border: 0;
    padding: 10px 0;
  }
  .nav-wrap nav .nav-contact span {
    margin-left: 5px;
  }
  .nav-wrap nav a:first-child span {
    display: none;
  }
  .hero {
    padding-top: 25px;
  }
  .hero-overline {
    font-size: 10px;
  }
  .edition {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
  }
  .hero-copy {
    padding: 46px 0 8px;
  }
  .hero h1 {
    font-size: clamp(64px, 12.5vw, 92px);
  }
  .hero-copy p {
    font-size: 14px;
    max-width: 370px;
    margin: 23px 0;
  }
  .hero-foot {
    min-height: 64px;
  }
  .hero-foot > span {
    display: none;
  }
  .hero-foot ul {
    font-size: 9px;
    gap: 10px;
  }
  .hero-foot li + li::before {
    margin-right: 10px;
  }
  .work-section {
    padding-top: 58px;
    padding-bottom: 50px;
  }
  .section-heading {
    display: block;
    margin-bottom: 27px;
  }
  .section-heading h2 {
    font-size: 35px;
  }
  .eyebrow {
    font-size: 10px;
    margin-bottom: 17px;
  }
  .section-heading > p {
    max-width: 330px;
    margin-top: 19px;
    font-size: 12px;
  }
  .work-controls {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
    padding-bottom: 17px;
    margin-bottom: 24px;
  }
  .filters {
    gap: 3px;
  }
  .filters button {
    font-size: 10px;
    padding: 9px 11px;
  }
  .search {
    width: 100%;
    background: var(--soft);
    padding: 2px 11px;
    border-radius: 4px;
  }
  .search input {
    width: 100%;
    padding: 9px 0;
    font-size: 12px;
  }
  .projects-grid {
    gap: 35px 20px;
  }
  .project h3 {
    font-size: 20px;
  }
  .project-meta {
    font-size: 8px;
    margin-top: 14px;
    gap: 8px;
  }
  .project-summary {
    font-size: 12px;
  }
  .visual-label {
    top: 10px;
    left: 10px;
    font-size: 8px;
  }
  .open-arrow {
    width: 28px;
    height: 28px;
    right: 10px;
    bottom: 10px;
    font-size: 17px;
  }
  .tags {
    gap: 4px;
  }
  .tags li {
    font-size: 8px;
    padding: 3px 6px;
  }
  .collection-note {
    font-size: 9px;
    flex-direction: column;
    gap: 8px;
    margin-top: 34px;
  }
  .about-section {
    padding: 55px 0 60px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .about-grid h2 {
    font-size: 43px;
  }
  .about-signature {
    margin-top: 22px;
  }
  .about-copy > .intro {
    font-size: 20px;
  }
  .contact-section {
    padding: 60px 0;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact-grid h2 {
    font-size: 63px;
  }
  .contact-grid > div {
    max-width: none;
  }
  footer {
    flex-wrap: wrap;
    padding-block: 25px;
    gap: 20px 15px;
  }
  footer > span {
    order: 3;
    width: 100%;
    font-size: 9px;
  }
  footer .brand {
    flex: 1;
  }
}
@media (max-width: 520px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 37px;
  }
  .project h3 {
    font-size: 25px;
  }
  .project-summary {
    font-size: 13px;
  }
  .project-meta {
    font-size: 9px;
  }
  .tags li {
    font-size: 9px;
  }
  .visual-label {
    top: 15px;
    left: 15px;
    font-size: 9px;
  }
  .open-arrow {
    width: 32px;
    height: 32px;
    right: 14px;
    bottom: 14px;
  }
  .visual {
    aspect-ratio: 1.55;
  }
  .nav-wrap nav {
    gap: 16px;
  }
  .nav-contact {
    font-size: 0 !important;
  }
  .nav-wrap nav .nav-contact span {
    font-size: 18px;
  }
  .hero h1 {
    font-size: clamp(54px, 15vw, 76px);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  body {
    background: white;
    color: black;
  }
  .site-header,
  .showcase,
  .primary-link,
  .work-controls,
  .visual,
  .contact-section,
  footer,
  .hero-foot,
  .project-notes summary {
    display: none !important;
  }
  .container {
    width: 100%;
  }
  .hero-grid {
    display: block;
    min-height: 0;
  }
  .hero {
    padding: 0;
  }
  .hero-copy {
    padding: 20px 0;
  }
  .hero h1 {
    font-size: 45px;
  }
  .work-section,
  .about-section {
    padding: 25px 0;
    background: none;
  }
  .projects-grid {
    display: block;
  }
  .project {
    display: block !important;
    break-inside: avoid;
    margin-bottom: 25px;
  }
  .project-notes {
    display: block;
  }
  .project-notes > p {
    display: block !important;
  }
  .about-grid {
    display: block;
  }
  .project h3 {
    font-size: 20px;
  }
  .project-summary {
    font-size: 11px;
  }
  .section-heading {
    margin-bottom: 25px;
  }
}

.has-preview {
  background: var(--preview-bg);
  padding: 34px 22px 24px;
  display: flex;
  align-items: center;
}
.has-preview .shot {
  height: auto;
  aspect-ratio: 16/9;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 12px 24px -12px var(--preview-shadow);
}
.has-preview .visual-label {
  top: 10px;
  left: 22px;
  padding: 0;
  background: none;
  font-size: 8px;
}
.has-preview .open-arrow {
  width: 29px;
  height: 29px;
  bottom: 8px;
  right: 10px;
  font-size: 16px;
}
@media (max-width: 520px) {
  .has-preview {
    padding: 30px 16px 22px;
  }
  .has-preview .visual-label {
    left: 16px;
  }
}

:root[data-theme="dark"] {
  --paper: #0e1525;
  --ink: #e7edf8;
  --muted: #a0aec6;
  --accent: #8daeff;
  --line: #2c3a52;
  --soft: #151f33;
  --header-bg: rgba(14, 21, 37, 0.95);
  --button-bg: #3768e9;
  --preview-bg: #1d2a43;
  --preview-shadow: #02091688;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --paper: #0e1525;
    --ink: #e7edf8;
    --muted: #a0aec6;
    --accent: #8daeff;
    --line: #2c3a52;
    --soft: #151f33;
    --header-bg: rgba(14, 21, 37, 0.95);
    --button-bg: #3768e9;
    --preview-bg: #1d2a43;
    --preview-shadow: #02091688;
    color-scheme: dark;
  }
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--soft);
  font-size: 11px;
  white-space: nowrap;
}
.theme-toggle:hover {
  background: var(--preview-bg);
}
.nav-wrap nav {
  gap: 26px;
}
.word-section {
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.word-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding-block: 80px;
  align-items: center;
}
.word-copy h2 {
  font: 500 clamp(38px, 4.8vw, 66px) / 1.12 var(--display);
  letter-spacing: -0.06em;
}
.word-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
  margin-top: 25px;
  line-height: 1.8;
}
.word-skip {
  display: inline-flex;
  gap: 30px;
  margin-top: 30px;
  padding-block: 10px;
  font-size: 12px;
  color: var(--accent);
}
.inspiration-words {
  list-style: none;
  margin: 0;
  padding: 0;
  font: 500 clamp(26px, 4vw, 56px) / 1.5 var(--display);
  letter-spacing: -0.05em;
  color: var(--muted);
}
.inspiration-words li {
  overflow-wrap: anywhere;
}
.word-position {
  display: none;
  font: 10px/1.5 monospace;
  letter-spacing: 0.06em;
  color: var(--muted);
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.word-section.is-enhanced {
  height: calc(100svh + 1500px);
}
.is-enhanced .word-stage {
  position: sticky;
  top: 96px;
  height: calc(100svh - 96px);
  min-height: 480px;
  padding-block: 40px;
}
.is-enhanced .word-window {
  height: 360px;
  overflow: hidden;
  mask-image: linear-gradient(transparent, #000 24%, #000 76%, transparent);
}
.is-enhanced .inspiration-words {
  --word-step: 80px;
  will-change: transform;
}
.is-enhanced .inspiration-words li {
  height: var(--word-step);
  line-height: var(--word-step);
  white-space: nowrap;
  color: var(--muted);
  opacity: 0.4;
  transition:
    color 0.18s,
    opacity 0.18s;
}
.is-enhanced .inspiration-words li.is-active {
  color: var(--accent);
  opacity: 1;
}
.is-enhanced .word-position {
  display: flex;
}
@media (max-width: 1050px) {
  .word-stage {
    gap: 35px;
  }
  .inspiration-words {
    font-size: 38px;
  }
}
@media (max-width: 760px) {
  .nav-wrap nav {
    gap: 17px;
  }
  .theme-toggle {
    padding: 8px;
    min-width: 36px;
  }
  .theme-label {
    display: none;
  }
  .word-stage {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-block: 55px;
  }
  .word-copy h2 {
    font-size: 38px;
  }

  .word-copy > p:not(.eyebrow) {
    margin-top: 13px;
  }
  .word-copy > p br {
    display: none;
  }
  .word-skip {
    margin-top: 8px;
  }
  .word-section.is-enhanced {
    height: calc(100svh + 1200px);
  }
  .is-enhanced .word-stage {
    top: 77px;
    height: calc(100svh - 77px);
    min-height: 570px;
    gap: 20px;
    padding-block: 25px;
  }
  .is-enhanced .word-window {
    height: 245px;
  }
  .is-enhanced .inspiration-words {
    --word-step: 66px;
    font-size: 40px;
  }
  .word-position {
    padding-top: 12px;
  }
}
@media (max-width: 390px) {
  .nav-wrap nav {
    gap: 12px;
  }
  .brand {
    gap: 6px;
  }
  .brand > span:last-child {
    font-size: 11px;
  }
  .theme-toggle {
    min-width: 32px;
    padding: 6px;
  }
  .is-enhanced .inspiration-words {
    font-size: 34px;
  }
  .word-copy h2 {
    font-size: 34px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .word-section.is-enhanced {
    height: auto;
  }
  .is-enhanced .word-stage {
    position: static;
    height: auto;
    min-height: 0;
    padding-block: 60px;
  }
  .is-enhanced .word-window {
    height: auto;
    overflow: visible;
    mask-image: none;
  }
  .is-enhanced .inspiration-words {
    transform: none !important;
    will-change: auto;
  }
  .is-enhanced .inspiration-words li {
    height: auto;
    line-height: 1.7;
    white-space: normal;
    opacity: 1;
  }
  .is-enhanced .word-position {
    display: none;
  }
}
@media print {
  :root[data-theme] {
    --paper: white;
    --ink: black;
    --muted: #444;
    --accent: #244ea7;
    --soft: white;
    --line: #ccc;
    color-scheme: light;
  }
  .word-section,
  .theme-toggle {
    display: none !important;
  }
}

/* An airy, product-led portfolio with quiet bookish details. */
.container { width: min(1120px, calc(100% - 80px)); }
.nav-wrap { height: 76px; border: 0; }
.brand { font: 600 23px/1.2 var(--display); letter-spacing: -.025em; }
.monogram { background: transparent; color: var(--accent); border-radius: 0; font: italic 600 29px/1 var(--display); width: 31px; padding: 0; }
.nav-wrap nav { font-size: 13px; gap: 30px; }
.nav-wrap nav .nav-contact { border-radius: 30px; padding: 9px 19px; background: var(--ink); color: var(--paper); border-color: transparent; }
.nav-wrap nav .nav-contact:hover { background: var(--accent); color: var(--paper); }
.theme-toggle { border-radius: 50%; width: 40px; padding: 8px; background: transparent; }
.theme-label { display: none; }
.hero { position: relative; isolation: isolate; padding-top: 39px; }
.hero::before { content: ""; position: absolute; z-index: -1; top: 0; left: -30px; right: -30px; height: 560px; pointer-events: none; background: radial-gradient(ellipse at 12% 55%, color-mix(in srgb, var(--accent) 5%, transparent), transparent 48%), radial-gradient(ellipse at 86% 32%, color-mix(in srgb, var(--accent) 5%, transparent), transparent 45%); }
.hero-overline { justify-content: center; font-size: 12px; letter-spacing: .015em; }
.hero-overline > span:first-child { gap: 11px; }
.hero-grid { display: block; min-height: 0; }
.hero-copy { text-align: center; padding: 20px 0 59px; }
.hero h1 { font: 550 clamp(48px, 5.8vw, 78px)/1.08 var(--body); letter-spacing: -.055em; text-wrap: balance; }
.hero h1 span { display: inline; white-space: normal; }
.hero h1 .serif { font-size: 1.12em; line-height: inherit; letter-spacing: -.05em; font-weight: 500; }
.hero-copy p { font-size: 18px; line-height: 1.6; max-width: 560px; margin: 22px auto 28px; text-wrap: pretty; }
.hero-actions { display: flex; justify-content: center; align-items: center; gap: 12px; }
.primary-link, .secondary-link { border-radius: 40px; padding: 13px 25px; font-size: 13px; font-weight: 550; min-height: 48px; }
.primary-link { gap: 20px; }
.secondary-link { background: var(--paper); border: 1px solid var(--line); }
.secondary-link:hover { background: var(--soft); transform: translateY(-2px); }
.showcase { width: min(100%, 1040px); margin-inline: auto; }
.showcase-window { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--paper); box-shadow: 0 18px 65px -28px var(--preview-shadow); }
.browser-bar { height: 49px; padding-inline: 18px; display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; gap: 15px; border-bottom: 1px solid var(--line); background: var(--soft); color: var(--muted); font-size: 11px; }
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { height: 8px; width: 8px; background: var(--muted); opacity: .3; border-radius: 50%; }
.browser-address { background: var(--paper); padding: 5px 14px; border-radius: 6px; text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser-bar > a { justify-self: end; padding-block: 8px; white-space: nowrap; }
.browser-bar > a:hover { color: var(--accent); }
.browser-bar > a span { margin-left: 8px; }
.showcase-image { display: block; background: var(--soft); }
.showcase-image img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; display: block; }
.showcase-panel figcaption { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 22px; border-top: 1px solid var(--line); }
.showcase-panel figcaption strong { font-size: 14px; font-weight: 550; }
.showcase-panel figcaption > span { font-size: 11px; color: var(--muted); }
.showcase-panel figcaption > span span { padding: 0 8px; }
.showcase-switcher { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 21px; }
.showcase-switcher button { padding: 9px 16px; border: 1px solid transparent; background: transparent; border-radius: 24px; color: var(--muted); font-size: 12px; }
.showcase-switcher button[aria-pressed="true"] { color: var(--accent); background: var(--soft); border-color: var(--line); }
.showcase-switcher button:hover { color: var(--accent); background: var(--soft); }
.hero-foot { border: 0; margin-top: 40px; padding-bottom: 10px; font-size: 11px; }
.hero-foot li + li::before { content: "·"; }
.hero-foot a:hover { color: var(--accent); }
.work-section { padding-top: 110px; padding-bottom: 95px; }
.section-heading { margin-bottom: 38px; gap: 50px; }
.eyebrow { font-size: 10px; margin-bottom: 16px; letter-spacing: .12em; }
.section-heading h2 { font: 550 clamp(32px, 3.3vw, 44px)/1.15 var(--body); letter-spacing: -.045em; }
.section-heading h2 .serif { font-size: 1.15em; }
.section-heading > p { max-width: 330px; font-size: 14px; }
.work-controls { border: 0; margin-bottom: 23px; padding: 0; }
.filters button { border-radius: 24px; font-size: 12px; padding: 9px 17px; }
.filters button[aria-pressed="true"] { background: var(--accent); color: var(--paper); }
.search { background: var(--soft); border-radius: 24px; padding: 2px 16px; }
.search input { font-size: 12px; }
.projects-grid { gap: 52px 28px; }
.visual { border-radius: 15px; }
.has-preview { padding: 39px 25px 30px; }
.has-preview .shot { border-radius: 6px; }
.project h3 { font: 550 25px/1.25 var(--body); letter-spacing: -.04em; }
.project-meta { letter-spacing: .04em; font-size: 9px; }
.project-summary { font-size: 14px; line-height: 1.65; }
.tags li { border: 0; background: var(--soft); border-radius: 5px; padding: 4px 8px; font-size: 10px; }
.project-notes { margin-top: 17px; }
.project-notes p { font-size: 13px; }
.about-grid h2, .word-copy h2 { font-family: var(--body); font-weight: 500; letter-spacing: -.045em; }
.about-copy > .intro { font: 500 30px/1.25 var(--display); letter-spacing: -.02em; }
.about-copy { font-size: 14px; }
.about-prose::first-letter { float: left; font: 500 57px/.8 var(--display); padding: 8px 8px 0 0; color: var(--accent); }
.about-signature { font: italic 26px/1.3 var(--display); }
.inspiration-words { letter-spacing: -.02em; }
.contact-section { padding-block: 110px; }
.contact-grid h2 { font-family: var(--body); font-weight: 500; letter-spacing: -.05em; font-size: clamp(45px, 5.2vw, 68px); }
footer { border-top: 1px solid var(--line); }
footer .brand { font-family: var(--body); }
@media (max-width: 1050px) {
  .hero h1 { font-size: 62px; }
  .section-heading { gap: 25px; }
  .section-heading h2 .serif { white-space: normal; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .nav-wrap { height: 72px; }
  .brand { font-size: 20px; gap: 8px; }
  .nav-wrap nav { gap: 18px; font-size: 12px; }
  .nav-wrap nav .nav-contact { display: none; }
  .hero { padding-top: 31px; }
  .hero::before { left: -15px; right: -15px; }
  .hero-overline { font-size: 10px; }
  .hero-copy { padding: 22px 0 36px; }
  .hero h1 { font-size: clamp(43px, 7.9vw, 60px); max-width: 600px; margin: auto; }
  .hero h1 span { display: block; }
  .hero-copy p { font-size: 16px; max-width: 430px; margin: 20px auto 24px; }
  .primary-link, .secondary-link { padding: 12px 20px; font-size: 12px; }
  .primary-link { gap: 12px; }
  .showcase-window { border-radius: 10px; }
  .browser-bar { height: 40px; grid-template-columns: 30px 1fr auto; padding-inline: 12px; gap: 12px; font-size: 9px; }
  .browser-dots { gap: 4px; }
  .browser-dots i { width: 6px; height: 6px; }
  .browser-address { padding: 4px 7px; }
  .browser-bar > a span { margin-left: 3px; }
  .showcase-panel figcaption { padding: 12px 14px; }
  .showcase-panel figcaption strong { font-size: 12px; }
  .showcase-panel figcaption > span { font-size: 10px; }
  .showcase-switcher { margin-top: 14px; gap: 3px; }
  .showcase-switcher button { font-size: 10px; padding: 8px 12px; }
  .hero-foot { margin-top: 22px; padding-bottom: 0; min-height: 50px; }
  .work-section { padding-top: 65px; padding-bottom: 60px; }
  .section-heading h2 { font-size: 34px; }
  .section-heading > p { font-size: 14px; max-width: 420px; }
  .filters button { font-size: 10px; padding: 9px 13px; }
  .search { width: 100%; }
  .about-grid h2, .word-copy h2 { font-size: 38px; }
  .contact-section { padding-block: 65px; }
  .contact-grid h2 { font-size: 52px; }
}
@media (max-width: 520px) {
  .brand > span:last-child { font-size: 19px; }
  .monogram { width: 25px; font-size: 26px; }
  .nav-wrap nav { gap: 13px; }
  .theme-toggle { width: 34px; min-width: 34px; min-height: 34px; }
  .showcase-panel figcaption > span { display: none; }
  .projects-grid { gap: 39px; }
  .has-preview { padding: 32px 19px 24px; }
  .visual { aspect-ratio: 1.62; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 32px); }
  .brand > span:last-child { font-size: 17px; }
  .nav-wrap nav { gap: 10px; }
  .brand { gap: 5px; }
  .hero-actions { gap: 8px; }
  .primary-link, .secondary-link { padding-inline: 15px; font-size: 11px; }
  .hero-foot ul { gap: 7px; }
  .hero-foot li + li::before { margin-right: 7px; }
  .hero-foot > a { padding: 4px; }
}
@media print {
  .showcase, .hero-actions { display: none; }
  .hero h1 { font-size: 45px; }
  .hero::before { display: none; }
}

.landscape-stage { position: relative; color: var(--accent); }
.landscape-heading { position: absolute; z-index: 1; left: 4.5%; top: 7%; pointer-events: none; }
.landscape-heading > span { font-size: 10px; color: var(--muted); letter-spacing: .03em; }
.landscape-heading h2 { font: 500 clamp(22px, 3vw, 36px)/1.2 var(--display); margin-top: 5px; letter-spacing: -.025em; }
#landscape { width: 100%; height: auto; display: block; }
.landscape-controls { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 28px; border-top: 1px solid var(--line); }
.landscape-controls label { display: flex; flex-direction: column; gap: 6px; font-size: 10px; color: var(--muted); flex: 1; max-width: 200px; }
.landscape-controls input { width: 100%; accent-color: var(--accent); cursor: pointer; margin: 0; min-height: 20px; }
.landscape-controls button { border: 1px solid var(--line); background: transparent; border-radius: 30px; padding: 10px 16px; font-size: 11px; white-space: nowrap; }
.landscape-controls button span { margin-left: 10px; }
.landscape-controls button:hover { background: var(--soft); color: var(--accent); }
.landscape-notes { border-top: 1px solid var(--line); font-size: 11px; }
.landscape-notes summary { display: flex; align-items: center; justify-content: space-between; list-style: none; padding: 10px 28px; color: var(--muted); }
.landscape-notes summary:hover { color: var(--accent); }
.landscape-notes > div { padding: 4px 28px 24px; }
.landscape-notes p { max-width: 75ch; font-size: 13px; color: var(--muted); }
.landscape-notes .landscape-metrics { font: 10px/1.7 monospace; color: var(--accent); margin: 12px 0; }
.landscape-notes a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) {
  .landscape-controls { gap: 14px; padding: 15px 18px; flex-wrap: wrap; }
  .landscape-controls label { flex-basis: calc(50% - 14px); max-width: none; }
  .landscape-controls button { flex: 1; padding: 9px 12px; }
  .landscape-heading { top: 7%; }
  .landscape-heading > span { font-size: 8px; }
  .landscape-heading h2 { font-size: 25px; }
  .landscape-notes summary { padding: 10px 18px; }
  .landscape-notes > div { padding: 4px 18px 20px; }
}
@media (max-width: 520px) {
  #landscape { min-height: 230px; object-fit: cover; }
  .landscape-heading h2 { font-size: 24px; }
  .landscape-heading > span { font-size: 8px; }
}

/* A small theatre of paper: real CSS 3D planes, not a flattened tilt image. */
.landscape-stage { perspective: 1100px; overflow: hidden; }
.landscape-heading { z-index: 2; }
.landscape-depth { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; display: none; }
.landscape-plane { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: translateZ(var(--depth)); backface-visibility: hidden; }
[data-motion] .has-depth .landscape-depth { display: block; transform: rotateX(calc(5deg + var(--tilt-x, 0deg))) rotateY(calc(-3deg + var(--tilt-y, 0deg))) scale(.95); }
[data-motion] .has-depth #landscape { opacity: 0; }
[data-motion="on"] .scene-visible .landscape-depth { animation: scene-drift 12s ease-in-out infinite; }
[data-motion="on"] .scene-visible .boat-sway { transform-box: fill-box; transform-origin: center; animation: boat-sway 5s ease-in-out infinite; }
.scene-tools { position: absolute; z-index: 2; bottom: 10px; left: 20px; right: 20px; display: flex; justify-content: space-between; align-items: center; gap: 15px; font-size: 10px; }
.scene-hint { color: var(--muted); background: var(--paper); padding: 3px 7px; border-radius: 10px; }
#motion-toggle { border: 1px solid var(--line); background: var(--paper); border-radius: 20px; padding: 5px 11px; font-size: 10px; }
#motion-toggle:hover { color: var(--accent); background: var(--soft); }
.project { perspective: 1000px; }
[data-motion="on"] .depth-preview { transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transform-style: preserve-3d; box-shadow: 0 12px 30px -25px var(--preview-shadow); transition: box-shadow .3s; }
[data-motion="on"] .depth-preview:hover { box-shadow: 0 28px 45px -25px var(--preview-shadow); }
.depth-preview::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; border: 1px solid color-mix(in srgb, var(--paper) 35%, transparent); background: linear-gradient(125deg, color-mix(in srgb, var(--paper) 15%, transparent), transparent 48%); opacity: 0; transition: opacity .3s; }
.depth-preview:hover::after { opacity: 1; }
[data-motion="on"] .hero-copy h1 { animation: title-arrive .95s cubic-bezier(.2,.7,.2,1) both; }
[data-motion="on"] .hero-copy > p { animation: title-arrive .95s .12s cubic-bezier(.2,.7,.2,1) both; }
[data-motion="on"] .hero-actions { animation: title-arrive .95s .22s cubic-bezier(.2,.7,.2,1) both; }
[data-motion="on"] .showcase-panel:not([hidden]) { animation: panel-arrive .45s ease-out; }
@keyframes scene-drift {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}
@keyframes boat-sway {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-3px) rotate(1.5deg); }
}
@keyframes title-arrive {
  from { opacity: 0; transform: perspective(900px) translateY(22px) rotateX(-12deg); }
  to { opacity: 1; transform: perspective(900px) translateY(0) rotateX(0); }
}
@keyframes panel-arrive { from { opacity: .4; } to { opacity: 1; } }
@media (hover: none), (pointer: coarse) {
  .scene-hint { display: none; }
  .scene-tools { justify-content: flex-end; }
}
@media (max-width: 520px) {
  .scene-tools { bottom: 8px; right: 12px; left: 12px; }
  .scene-hint { display: none; }
  .scene-tools { justify-content: flex-end; }
  #motion-toggle { font-size: 9px; padding: 5px 9px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-motion] .has-depth .landscape-depth { display: none; }
  [data-motion] .has-depth #landscape { opacity: 1; }
  .scene-tools { display: none; }
  .depth-preview { transform: none !important; }
}
@media print {
  [data-motion] .hero-copy h1, [data-motion] .hero-copy > p, [data-motion] .hero-actions { animation: none; opacity: 1; transform: none; }
}

html:not([data-motion]) .scene-tools { display: none; }
[data-motion="off"] .scene-hint { visibility: hidden; }

.landscape-notes a { display: inline-block; margin-right: 20px; margin-top: 4px; }
