/* Component styles: base rules first, followed by each component's responsive
   and interaction rules. Keep explicit handwriting line heights: they preserve
   section heights while the larger Caveat lettering stays visually prominent. */

/* Foundations and accessibility
----------------------------- */

@font-face {
  font-family: Inter;
  src: url("assets/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Portfolio Hand";
  src: url("assets/caveat-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #f4f3ef;
  --ink: #20211f;
  --red: #fc4b21;
  --nav-paper: #e4e4df;
  --gutter: max(clamp(24px, 5.278vw, 100px), calc((100vw - 1440px) / 2));
  --slide-duration: 620ms;
  --slide-easing: cubic-bezier(0.22, 0.68, 0.18, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
}

body, button {
  font-size: 15px;
}

h1, h2, h3, h4, p {
  margin: 0;
}

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

button {
  font: inherit;
}

img {
  display: block;
}

.gutter {
  padding-inline: var(--gutter);
}

.accent, .brand span {
  color: var(--red);
}

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 6px;
}

a[aria-disabled="true"] {
  cursor: default;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  z-index: 10;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Shared link rows
---------------- */

.channel:is(:hover, :focus-visible) .link-arrow {
  color: var(--ink);
  transform: translate(4px, -4px);
}

.channel {
  display: block;
  position: relative;
  isolation: isolate;
}

.channel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
}

.link-arrow {
  display: block;
  color: var(--red);
}

.destination {
  display: block;
  overflow-wrap: anywhere;
}

.channel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 350ms cubic-bezier(.22, .68, .18, 1);
  pointer-events: none;
}

.channel .link-arrow {
  transition: transform 250ms ease, color 250ms ease;
}

.channel:is(:hover, :focus-visible) {
  color: var(--ink);
}

.channel:is(:hover, :focus-visible)::before {
  transform: scaleX(1);
}

.channel-description {
  display: block;
  margin-top: 10px;
  font-size: 16px;
  line-height: 25px;
}

@media (prefers-reduced-motion: reduce) {
  .channel:is(:hover, :focus-visible) .link-arrow {
    transform: none;
  }
}

/* Hero and portrait
----------------- */

.brand {
  display: inline-block;
  font-size: 25px;
  font-weight: 700;
  line-height: 30px;
}

.site-header {
  position: absolute;
  top: 43px;
  left: 0;
  z-index: 1;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: auto;
  min-height: 100svh;
  padding-top: clamp(140px, 18svh, 222px);
  padding-bottom: 140px;
}

.eyebrow {
  color: #666861;
  font-size: 14px;
  line-height: 17px;
  margin-bottom: 55px;
}

h1 {
  font-size: clamp(50px, 6.32vw, 116px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0;
}

.hero-line {
  display: block;
}

.hero-punchline {
  position: relative;
  width: fit-content;
  max-width: 100%;
}

.hero-handnote {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  color: var(--ink);
  font-family: "Portfolio Hand", "Segoe Print", cursive;
  font-size: clamp(22px, 2.1vw, 32px);
  font-weight: 400;
  line-height: clamp(22.1px, 2.08vw, 31.2px);
  letter-spacing: normal;
  white-space: nowrap;
  transform: rotate(-5deg);
  pointer-events: none;
}

.first-line {
  position: relative;
  width: fit-content;
}

.portrait {
  position: absolute;
  left: calc(100% + 14px);
  bottom: -11px;
  width: clamp(100px, 10.42vw, 190px);
  height: auto;
  mix-blend-mode: multiply;
}

.hero-description {
  max-width: 760px;
  font-size: 23px;
  line-height: 28px;
  margin-top: 59px;
}

.scroll-prompt {
  position: absolute;
  right: calc(var(--gutter) + 24px);
  bottom: 40px;
  color: var(--red);
  font-size: 64px;
  font-weight: 700;
  line-height: 77px;
}

.portrait-reaction {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  line-height: 0;
  mix-blend-mode: multiply;
  cursor: pointer;
  z-index: 2;
}

.portrait-reaction img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
  transform-origin: 50% 85%;
  transition: transform 300ms cubic-bezier(.34, 1.56, .64, 1);
}

.portrait-reaction[aria-expanded="true"] img {
  transform: rotate(-7deg);
}

.portrait-bubble {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  width: max-content;
  max-width: 210px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: normal;
  text-align: center;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
}

.portrait-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: calc(50% - 6px);
  border: 6px solid transparent;
  border-top-color: var(--ink);
}

.portrait-reaction[aria-expanded="true"] .portrait-bubble {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

.hand-underline {
  position: relative;
  display: inline-block;
}

.hand-underline::after {
  content: "";
  position: absolute;
  left: -1%;
  right: -1%;
  bottom: -0.04em;
  height: 0.12em;
  border-bottom: 0.045em solid currentColor;
  border-radius: 50%;
  transform: rotate(-2deg);
  pointer-events: none;
}

.hero-contact-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 12px;
  min-height: 44px;
  margin-top: 20px;
  font-size: 16px;
  line-height: 24px;
  text-decoration: underline;
  text-underline-offset: 5px;
}

@media (max-width: 1100px) {
  .hero {
    padding-top: clamp(128px, 18svh, 190px);
    padding-bottom: 140px;
  }

  .hero-description {
    max-width: 680px;
  }
}

@media (max-width: 760px) {
  .site-header {
    top: 28px;
  }

  .hero {
    justify-content: flex-start;
    padding-top: 166px;
    padding-bottom: 120px;
  }

  .eyebrow {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 32px;
  }

  h1 {
    font-size: clamp(35px, 7.4vw, 56px);
    line-height: 1.18;
  }

  .first-line {
    margin-bottom: 16px;
  }

  .portrait {
    width: clamp(64px, 13vw, 100px);
    left: calc(100% + 8px);
    bottom: -4px;
  }

  .hero-description {
    font-size: 18px;
    line-height: 27px;
    margin-top: 40px;
    max-width: 540px;
  }

  .hero-handnote {
    top: calc(100% + 3px);
    font-size: 20px;
    transform: rotate(-3deg);
    line-height: 20.8px;
  }

  .scroll-prompt {
    font-size: 48px;
    right: var(--gutter);
    bottom: 34px;
  }
}

@media (max-width: 420px) {
  .first-line {
    position: static;
  }

  .portrait {
    width: 72px;
    top: 82px;
    right: var(--gutter);
    left: auto;
    bottom: auto;
  }

  .portrait-bubble {
    left: auto;
    right: 0;
    max-width: 150px;
    transform: translateY(8px);
  }

  .portrait-reaction[aria-expanded="true"] .portrait-bubble {
    transform: translateY(0);
  }

  .portrait-bubble::after {
    left: auto;
    right: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portrait-reaction[aria-expanded="true"] img {
    transform: none;
  }
}

@media (max-height: 760px) and (min-width: 761px) {
  .hero {
    padding-top: 110px;
    padding-bottom: 120px;
  }

  .hero h1 {
    font-size: clamp(46px, min(6.32vw, 10svh), 80px);
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 32px;
  }
}

/* Panel layout and navigation
--------------------------- */

.portfolio {
  display: flow-root;
  position: relative;
  scroll-margin-top: 16px;
}

.panel {
  min-width: 0;
  padding-top: 53px;
  padding-bottom: 74px;
  min-height: 1078px;
  scroll-margin-top: 90px;
}

.section-label {
  font-size: 15px;
  font-weight: 700;
  line-height: 18px;
}

.panel h2 {
  font-size: clamp(40px, 4.445vw, 80px);
  line-height: 1.2;
  margin-top: 30px;
  font-weight: 700;
}

.is-enhanced .panel-viewport {
  overflow: hidden;
  transition: height var(--slide-duration) var(--slide-easing);
  overflow-anchor: none;
  touch-action: pan-y pinch-zoom;
}

.is-enhanced .panel-track {
  display: flex;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform var(--slide-duration) var(--slide-easing);
}

.is-enhanced .panel {
  flex: 0 0 100%;
}

.is-enhanced .panel[aria-hidden="true"] {
  visibility: hidden;
}

.is-enhanced.is-sliding .panel {
  visibility: visible;
}

.is-enhanced .panel-nav {
  position: sticky;
  top: 16px;
  z-index: 5;
  width: min(362px, calc(100% - 2 * var(--gutter)));
  height: 54px;
  margin: 32px var(--gutter) -86px auto;
}

.tabs {
  position: relative;
  display: flex;
  padding: 5px;
  gap: 5px;
  width: 100%;
  border-radius: 28px;
  background: var(--nav-paper);
  overflow: clip;
  box-shadow: 0 3px 12px rgb(32 33 31 / 8%);
}

.tab-indicator {
  position: absolute;
  left: 5px;
  top: 5px;
  width: calc((100% - 20px) / 3);
  height: calc(100% - 10px);
  border-radius: 23px;
  background: var(--ink);
  pointer-events: none;
}

.tabs button {
  position: relative;
  z-index: 1;
  width: 114px;
  min-height: 44px;
  border: 0;
  border-radius: 23px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.tabs button[aria-selected="true"] {
  color: var(--red);
  font-weight: 700;
}

.tabs button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tabs button[aria-selected="true"]:hover {
  text-decoration: none;
}

.tabs button:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: -4px;
}

.portfolio:focus {
  outline: none;
}

.closing-note {
  border-top: 1px solid #20211f40;
  padding-top: 20px;
  margin-top: 98px;
  font-size: 15px;
  line-height: 18px;
  font-weight: 700;
}

.portfolio.is-initializing :is(.panel-track, .panel-viewport) {
  transition: none;
}

.panel :is(a, button, input, [tabindex]) {
  scroll-margin-block: 96px 24px;
}

.tabs button[aria-selected="true"]:focus-visible {
  outline-color: var(--paper);
}

@media (max-width: 1100px) {
  .panel h2 {
    font-size: 48px;
  }

  .panel {
    min-height: 950px;
  }

  .is-enhanced .panel-nav {
    width: 320px;
    margin-top: 24px;
    margin-bottom: -78px;
  }

  .tabs button {
    flex: 1;
  }
}

@media (max-width: 760px) {
  .panel {
    min-height: 0;
    padding-top: 32px;
    padding-bottom: 60px;
  }

  .is-enhanced .panel {
    padding-top: 112px;
  }

  .is-enhanced .panel-nav {
    top: 12px;
    width: min(362px, calc(100% - 2 * var(--gutter)));
    margin: 24px auto -78px var(--gutter);
  }

  .panel h2 {
    font-size: clamp(34px, 6.7vw, 48px);
    margin-top: 22px;
  }

  .closing-note {
    margin-top: 48px;
    line-height: 24px;
  }
}

@media (forced-colors: active) {
  .tabs button[aria-selected="true"] {
    border: 2px solid ButtonText;
  }
}

/* Work canvas
----------- */

.work-panel {
  background: var(--ink);
  color: var(--paper);
}

.work-panel.coming-soon {
  display: flex;
  flex-direction: column;
  min-height: 85svh;
  position: relative;
  isolation: isolate;
}

.coming-soon-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 28px;
  min-width: 0;
  padding: 60px 0 40px;
}

.panel .coming-soon-title {
  margin: 0;
  font-size: clamp(72px, 8vw, 128px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.coming-soon-description {
  max-width: 570px;
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.5;
}

.coming-soon-note {
  border-top: 1px solid #f4f3ef40;
  padding-top: 24px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.coming-soon-heading {
  position: relative;
  width: fit-content;
  max-width: 100%;
  padding: 14px 22px 22px 14px;
  border: 1px solid var(--selection-blue);
}

.eventually-note, .spacing-note {
  font-family: "Portfolio Hand", "Segoe Print", cursive;
  font-weight: 400;
  letter-spacing: normal;
}

.eventually-note {
  display: block;
  width: fit-content;
  margin-top: 14px;
  margin-left: 120px;
  color: var(--red);
  font-size: clamp(24px, 2.1vw, 32px);
  line-height: clamp(25.2px, 2.24vw, 33.6px);
  transform: rotate(-8deg);
}

.spacing-note {
  text-align: right;
  margin-top: 8px;
  margin-right: 12px;
  color: var(--paper);
  font-size: 24px;
  line-height: 27px;
  transform: rotate(-4deg);
}

.workbench {
  --selection-blue: #8ab4ff;
  margin-top: 72px;
  margin-bottom: 48px;
  border: 1px solid #f4f3ef24;
  border-radius: 8px;
  background: #252622;
}

.workbench-bar, .workbench-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 18px 24px;
  color: #c4c5be;
  font-size: 11px;
  line-height: 1.5;
}

.workbench-bar {
  border-bottom: 1px solid #f4f3ef1a;
}

.workbench-file, .draft-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.workbench-file {
  color: var(--paper);
  font-size: 13px;
}

.frame-icon {
  color: var(--selection-blue);
  font-size: 18px;
}

.draft-badge {
  letter-spacing: .06em;
}

.draft-badge > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.workbench-canvas {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding: 28px 40px 44px;
  background-image: radial-gradient(#f4f3ef20 .7px, transparent .7px);
  background-size: 18px 18px;
}

.workbench-status {
  border-top: 1px solid #f4f3ef1a;
  font-size: 12px;
}

.selection-label, .selection-size {
  position: absolute;
  font-size: 12px;
  line-height: 18px;
  font-weight: 400;
  white-space: nowrap;
  color: var(--selection-blue);
}

.selection-label {
  left: -1px;
  bottom: calc(100% + 5px);
}

.selection-size {
  left: 50%;
  top: calc(100% + 6px);
  transform: translateX(-50%);
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--selection-blue);
  color: var(--ink);
}

.selection-corner {
  position: absolute;
  width: 7px;
  height: 7px;
  border: 1px solid var(--selection-blue);
  background: var(--paper);
}

.corner-tl {
  left: -4px;
  top: -4px;
}

.corner-tr {
  right: -4px;
  top: -4px;
}

.corner-bl {
  left: -4px;
  bottom: -4px;
}

.corner-br {
  right: -4px;
  bottom: -4px;
}

.draft-sketch {
  margin: 32px 0;
  min-width: 0;
}

.sketch-frame-label {
  padding-left: 6%;
  color: #c4c5be;
  font-size: 12px;
  line-height: 1.5;
}

.draft-art {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  pointer-events: none;
}

.draft-cursor {
  opacity: 0;
}

.work-contact-link {
  align-self: flex-start;
  margin-bottom: 32px;
  padding-block: 8px;
  font-size: 16px;
  line-height: 24px;
  text-decoration: underline;
  text-underline-offset: 5px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.work-contact-link:hover {
  color: var(--red);
}

.draft-replay {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 12px;
  margin: 20px 12px 0 auto;
  border: 1px solid #f4f3ef55;
  border-radius: 3px;
  background: transparent;
  color: var(--paper);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.draft-replay:hover {
  border-color: var(--paper);
}

.draft-replay:disabled {
  opacity: .65;
  cursor: default;
}

.draft-replay[hidden] {
  display: none;
}

.work-contact-note {
  max-width: 52ch;
  margin-bottom: 4px;
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 1000px) {
  .workbench-canvas {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .coming-soon-content {
    padding-top: 48px;
  }

  .panel .coming-soon-title {
    font-size: clamp(72px, 12vw, 120px);
  }

  .draft-sketch {
    width: min(100%, 560px);
    justify-self: center;
    margin-block: 0 24px;
  }

  .coming-soon-description {
    max-width: 570px;
  }
}

@media (max-width: 600px) {
  .workbench {
    margin-top: 40px;
  }

  .workbench-bar, .workbench-status {
    padding: 14px 16px;
  }

  .workbench-canvas {
    padding: 20px 18px 24px;
  }

  .workbench-status > span:last-child {
    display: none;
  }

  .panel .coming-soon-title {
    font-size: clamp(42px, 15vw, 80px);
  }

  .coming-soon-heading {
    padding: 12px 14px 16px 10px;
  }

  .eventually-note {
    margin-left: 60px;
  }

  .draft-sketch {
    margin-top: 12px;
  }

  .spacing-note {
    font-size: 20px;
    line-height: 22.5px;
  }

  .workbench-status, .sketch-frame-label, .draft-badge {
    display: none;
  }

  .draft-art text:not(.draft-main-title), .draft-cursor-tag {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .draft-cursor {
    display: none;
  }
}

/* About and Polaroid
------------------ */

.about-panel {
  background: var(--red);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  padding-bottom: 74px;
}

.about-profile {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(48px, 7vw, 100px);
  margin-top: 64px;
}

.about-photo-column {
  position: relative;
  min-width: 0;
  padding: 40px 24px 40px 10px;
}

.about-photo-card {
  position: relative;
  width: min(100%, 390px);
  margin: 0 auto;
  padding: 18px 18px 0;
  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 1px;
  background: linear-gradient(145deg, #fffef9 0%, #f6f3ea 56%, #ece8dd 100%);
  color: var(--ink);
  box-shadow: 0 1px 2px rgb(32 33 31 / 28%),
    2px 7px 12px rgb(32 33 31 / 17%),
    7px 23px 35px -12px rgb(32 33 31 / 30%),
    inset 0 0 0 1px rgb(255 255 255 / 45%);
  transform: rotate(-4deg);
  transition: transform 350ms cubic-bezier(.22, .68, .18, 1), box-shadow 350ms ease;
}

.about-photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 10px rgb(90 75 45 / 5%);
  pointer-events: none;
}

.instant-photo {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #282923;
}

.instant-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgb(255 255 255 / 16%), transparent 38%, transparent 68%, rgb(255 255 255 / 5%));
  box-shadow: inset 0 1px 3px rgb(0 0 0 / 45%), inset 0 0 0 1px rgb(0 0 0 / 18%);
  pointer-events: none;
}

.about-photo-card .instant-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) sepia(.08) contrast(.96) brightness(1.02);
}

.about-photo-card figcaption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-height: clamp(76px, 6.8vw, 98px);
  padding: 18px 2px 22px;
  font-family: "Portfolio Hand", "Segoe Print", cursive;
}

.photo-caption-name {
  font-size: 38px;
  line-height: 34.8px;
  font-weight: 400;
  letter-spacing: -.04em;
  transform: rotate(-2deg);
}

.photo-caption-aside {
  font-size: 17px;
  line-height: 19.5px;
  opacity: .8;
}

.photo-annotation, .photo-margin-note {
  position: relative;
  z-index: 1;
  font-family: "Portfolio Hand", "Segoe Print", cursive;
  color: var(--ink);
  font-size: clamp(25px, 2.6vw, 35px);
  line-height: clamp(28.5px, 3vw, 40.5px);
  font-weight: 400;
}

.photo-annotation {
  width: fit-content;
  margin: 0 0 20px auto;
  transform: rotate(5deg);
}

.photo-margin-note {
  display: block;
  width: fit-content;
  margin: 40px auto 0;
  font-size: 23px;
  transform: rotate(-5deg);
  line-height: 25.5px;
}

.panel .about-statement {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.about-bio {
  max-width: 60ch;
  display: grid;
  gap: 20px;
  margin-top: 28px;
  font-size: 20px;
  line-height: 30px;
  color: var(--ink);
}

.about-practice, .about-approach {
  margin-top: 32px;
}

.about-story h4 {
  font-size: 12px;
  line-height: 18px;
  letter-spacing: .06em;
}

.discipline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 16px 0 20px;
  list-style: none;
}

.discipline-tags li {
  padding: 8px 14px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.discipline-tags li:nth-child(2) {
  transform: rotate(2deg);
}

.discipline-tags li:nth-child(3) {
  transform: rotate(-2deg);
}

.about-practice > p, .about-approach > p {
  font-size: 18px;
  line-height: 27px;
}

.about-approach > p {
  margin-top: 14px;
}

.about-panel .closing-note {
  position: relative;
  z-index: 1;
  margin-top: 64px;
}

@media (hover: hover) and (pointer: fine) {
  .about-photo-card:hover {
    transform: rotate(0deg) translateY(-4px);
    box-shadow: 0 1px 2px rgb(32 33 31 / 20%),
      3px 12px 20px rgb(32 33 31 / 18%),
      9px 30px 42px -12px rgb(32 33 31 / 27%),
      inset 0 0 0 1px rgb(255 255 255 / 45%);
  }
}

@media (max-width: 900px) {
  .about-profile {
    gap: 44px;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  }

  .about-photo-column {
    padding-inline: 8px;
  }

  .about-bio {
    font-size: 18px;
    line-height: 28px;
  }

  .photo-annotation {
    font-size: 25px;
    line-height: 28.5px;
  }

  .photo-margin-note {
    font-size: 19px;
    line-height: 21px;
  }
}

@media (max-width: 760px) {
  .about-profile {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 32px;
  }

  .about-photo-column {
    padding: 8px 16px 16px;
    width: min(100%, 410px);
    justify-self: center;
  }

  .photo-annotation {
    margin-bottom: 24px;
  }

  .about-photo-card {
    padding: 14px 14px 0;
  }

  .about-photo-card figcaption {
    padding: 16px 0 18px;
  }

  .photo-margin-note {
    margin-top: 30px;
  }

  .panel .about-statement {
    font-size: clamp(28px, 6.5vw, 38px);
  }

  .about-panel .closing-note {
    margin-top: 44px;
  }

  .about-panel {
    padding-bottom: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-photo-card:hover {
    transform: rotate(-4deg);
  }
}

/* Contact
------- */

.contact-panel {
  background: var(--paper);
  color: var(--ink);
  min-height: 0;
}

.contact-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: end;
  gap: clamp(40px, 6vw, 88px);
  margin-top: 44px;
}

.contact-panel #contact-title {
  margin: 0;
  font-size: clamp(54px, 7.3vw, 112px);
  line-height: 1.02;
  letter-spacing: -.055em;
}

.contact-invitation {
  padding-bottom: 8px;
  max-width: 440px;
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.5;
}

.contact-aside {
  margin-top: 20px;
  font-size: 16px;
}

.contact-primary {
  position: relative;
  margin-top: 92px;
}

.contact-handnote {
  position: absolute;
  right: 30px;
  bottom: calc(100% + 14px);
  margin: 0;
  font-family: "Portfolio Hand", "Segoe Print", cursive;
  color: var(--ink);
  font-size: clamp(26px, 2.6vw, 35px);
  line-height: 1.5;
  transform: rotate(-5deg);
}

.contact-email {
  min-height: 0;
  padding: 28px 24px 34px;
  border-top: 1px solid #20211f50;
  border-bottom: 1px solid #20211f50;
}

.contact-email-label {
  display: block;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: .06em;
}

.contact-email .destination {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: clamp(24px, 4.5vw, 68px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.04em;
}

.contact-email .link-arrow {
  position: absolute;
  top: 23px;
  right: 26px;
  font-size: 36px;
  line-height: 1;
}

.email-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 18px;
}

.copy-email {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.copy-email:hover {
  background: var(--ink);
  color: var(--paper);
}

.copy-email:disabled {
  opacity: .6;
  cursor: wait;
}

.email-tools-aside, .copy-email-status {
  font-size: 13px;
  line-height: 1.5;
}

.email-tools-aside {
  color: #5b5d56;
}

.copy-email-status {
  font-weight: 600;
}

.copy-email-fallback {
  display: block;
  width: min(100%, 360px);
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.copy-email[hidden], .copy-email-fallback[hidden] {
  display: none;
}

.contact-socials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  margin-top: 52px;
}

.contact-social {
  min-height: 0;
  padding: 24px 20px;
  border-top: 1px solid #20211f40;
}

.contact-social .channel-heading {
  padding-right: 0;
  font-size: 28px;
  line-height: 36px;
}

.contact-social .link-arrow {
  font-size: 30px;
}

.contact-social .destination {
  margin-top: 16px;
  padding: 0;
  border: 0;
  font-size: 14px;
  line-height: 20px;
  color: #5b5d56;
}

.contact-social:is(:hover, :focus-visible) .destination {
  color: var(--ink);
}

.copy-icon {
  position: relative;
  display: inline-block;
  width: 12px;
  height: 13px;
  border: 1px solid currentColor;
}

.copy-icon::before {
  content: "";
  position: absolute;
  left: -4px;
  top: -4px;
  width: 9px;
  height: 10px;
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
}

@media (max-width: 760px) {
  .contact-intro {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
    margin-top: 30px;
  }

  .contact-panel #contact-title {
    font-size: clamp(42px, 11vw, 84px);
  }

  .contact-invitation {
    max-width: 540px;
    padding-bottom: 0;
    font-size: 19px;
  }

  .contact-aside {
    margin-top: 14px;
    font-size: 15px;
  }

  .contact-primary {
    margin-top: 88px;
  }

  .contact-handnote {
    right: 8px;
    font-size: 26px;
  }

  .contact-email {
    padding: 24px 16px 28px;
  }

  .contact-email-label {
    font-size: 10px;
  }

  .contact-email .destination {
    font-size: clamp(18px, 5.5vw, 32px);
    letter-spacing: -.025em;
  }

  .contact-email .link-arrow {
    right: 16px;
    top: 22px;
    font-size: 28px;
  }

  .email-tools {
    gap: 12px;
  }

  .email-tools-aside {
    font-size: 12px;
  }

  .copy-email-status {
    flex-basis: 100%;
  }

  .contact-socials {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 36px;
  }

  .contact-social {
    padding: 22px 16px;
  }

  .contact-social .channel-heading {
    font-size: 26px;
  }
}

/* Footer
------ */

.site-footer {
  border-top: 1px solid #20211f18;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 112px;
  padding-block: 35px;
}

.footer-right, .footer-links {
  display: flex;
  align-items: center;
}

.footer-right {
  gap: 64px;
}

.footer-links {
  gap: 48px;
  font-size: 20px;
  line-height: 24px;
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer small {
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .footer-right {
    gap: 32px;
  }

  .footer-links {
    gap: 24px;
    font-size: 18px;
  }
}

@media (max-width: 760px) {
  .site-footer {
    align-items: flex-start;
    padding-block: 32px;
    flex-direction: column;
  }

  .footer-right {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
    width: 100%;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 24px;
    font-size: 17px;
  }
}

/* Custom cursor
------------- */

.custom-cursor {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: white;
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 160ms ease,
    height 160ms ease;
}

html.dot-cursor-active, html.dot-cursor-active * {
  cursor: none !important;
}

.dot-cursor-active .custom-cursor {
  display: block;
}

.custom-cursor.is-clickable {
  width: 30px;
  height: 30px;
}

html.dot-cursor-active :is(input, textarea, [contenteditable="true"]) {
  cursor: text !important;
}

@media (forced-colors: active) {
  html.dot-cursor-active, html.dot-cursor-active * {
    cursor: auto !important;
  }

  .custom-cursor {
    display: none !important;
  }
}
