/* =====================================================================
   angela acosta — portfolio
   editorial · airy · multi-disciplinary
   ===================================================================== */

/* self-hosted fonts */
@font-face {
  font-family: "Domestic Pigeon";
  src: url("../assets/fonts/domestic-pigeon.woff2") format("woff2"),
       url("../assets/fonts/domestic-pigeon.woff")  format("woff"),
       url("../assets/fonts/domestic-pigeon.ttf")   format("truetype"),
       url("../assets/fonts/domestic-pigeon.otf")   format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Pastel Crayon";
  src: url("../assets/fonts/pastel-crayon.woff2") format("woff2"),
       url("../assets/fonts/pastel-crayon.woff")  format("woff"),
       url("../assets/fonts/pastel-crayon.ttf")   format("truetype"),
       url("../assets/fonts/pastel-crayon.otf")   format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }

:root {
  --bg:    #ffffff;
  --bg-2:  #f0efeb;
  --ink:   #211f1b;
  --ink-2: #6f6b61;
  --ink-3: #a7a298;
  --line:  rgba(33,31,27,0.16);
  --line-2:rgba(33,31,27,0.08);
  --mark:  #34409c;

  --serif: "Newsreader", "Hoefler Text", Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, sans-serif;
  --hand:  "Caveat", "Newsreader", cursive;

  --wrap: 1180px;
  --ease: cubic-bezier(.33,.08,.2,1);

  --u: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 13'><path d='M3 7 C25 3 46 11 63 7 C83 2 101 10 117 5' fill='none' stroke='%2334409c' stroke-width='2' stroke-linecap='round'/></svg>");
}

body { position: relative; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--ink); color: var(--bg); }

em, i { font-style: italic; }

/* hand-drawn underline disabled — kept only on nav */
.u { background-image: none; padding-bottom: 0; }
.framed-photo .frame { display: none; }
.framed-photo { padding: 0; }

/* about — bio prose */
.about-body p {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.68;
  margin-bottom: 1.05rem;
  color: var(--ink);
}
.about-body p:last-of-type { margin-bottom: 1.8rem; }
.about-body .id-list { margin-top: .6rem; }

.kicker {
  font-family: var(--sans);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* =====================================================================
   TOP BAR
   ===================================================================== */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.35rem 4vw;
  background: var(--bg);
  border-bottom: 1px solid var(--line-2);
}
.tb-name {
  font-family: "Pastel Crayon", var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1;
  margin-right: auto;
}
.tb-name .pin { font-style: italic; }
.tb-nav {
  display: flex;
  gap: 1.35rem;
  align-items: baseline;
}
.tb-nav a {
  font-family: var(--sans);
  font-size: .8rem;
  color: var(--ink-2);
  transition: color .2s var(--ease);
  white-space: nowrap;
}
.tb-nav a:hover { color: var(--ink); }
.tb-nav a.current { color: var(--ink); }
.tb-nav a::after {
  content: ""; display: block;
  height: 6px; margin-top: 1px;
  background-image: var(--u);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  opacity: 0;
  transition: opacity .22s var(--ease);
}
.tb-nav a:hover::after,
.tb-nav a.current::after { opacity: 1; }
.tb-nav a.sub { color: var(--ink-3); font-style: italic; }
.tb-nav a.sub:hover, .tb-nav a.sub.current { color: var(--ink); }

.tb-menu { display: none; }

/* mobile menu */
.m-menu {
  display: none;
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 200;
  padding: 5.5rem 8vw;
  flex-direction: column;
  gap: .15rem;
}
.m-menu.open { display: flex; }
.m-menu a {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
}
.m-menu a.sub { font-style: italic; padding-left: 1.1rem; color: var(--ink-2); }
.m-menu a.current { font-style: italic; }
.m-close {
  position: absolute; top: 1.5rem; right: 8vw;
  font-family: var(--sans); font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase;
}
.m-menu .m-foot {
  margin-top: 2rem;
  display: flex; gap: 1.3rem;
  font-family: var(--sans); font-size: .82rem;
  color: var(--ink-2);
}

/* =====================================================================
   SHELL
   ===================================================================== */
.shell {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 7rem 4vw 6rem;
  position: relative;
  z-index: 1;
}
.shell-wide { max-width: 1320px; }

/* page header */
.phead { margin-bottom: 3.4rem; max-width: 640px; }
.phead .kicker { display: block; margin-bottom: 1.1rem; }
.phead h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.7vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -.015em;
}
.phead h1 em { font-style: italic; }
.phead .intro {
  margin-top: 1rem;
  font-size: 1.04rem;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 52ch;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: .9rem;
  margin: 4.5rem 0 2rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--line);
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.32rem;
}
.section-head h2 em { font-style: italic; }
.section-head .count {
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--ink-3);
}

/* reveal */
.reveal { opacity: 0; transform: translateY(12px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }

/* =====================================================================
   HOME — statement + collage
   ===================================================================== */
.intro-statement {
  max-width: 30ch;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  line-height: 1.36;
  letter-spacing: -.012em;
}
.intro-statement em { font-style: italic; }
.intro-statement .sub {
  display: block;
  margin-top: 1.2rem;
  max-width: 42ch;
  font-size: clamp(.98rem, 1.3vw, 1.1rem);
  line-height: 1.6;
  color: var(--ink-2);
}
.intro-meta {
  margin-top: 1.6rem;
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* collage */
.collage {
  position: relative;
  margin-top: 3rem;
}
.c-item {
  display: block;
}
.c-item .ph { overflow: hidden; background: var(--bg-2); }
.c-item img {
  width: 100%; height: auto;
  transition: opacity .5s var(--ease);
}
.c-item:hover img { opacity: .8; }
.c-item .tag {
  margin-top: .5rem;
  font-family: var(--sans);
  font-size: .72rem;
  color: var(--ink-2);
  display: flex; gap: .5ch; align-items: baseline;
}
.c-item .tag .ar { color: var(--ink-3); }
.c-item:hover .tag { color: var(--ink); }

/* desktop: scattered absolute collage */
@media (min-width: 900px) {
  .collage { height: 1460px; max-width: 1320px; margin-left: auto; margin-right: auto; }
  .c-item { position: absolute; }
}

/* mobile: collage collapses to a stack */
@media (max-width: 899px) {
  .c-item {
    position: static !important;
    width: auto !important;
    left: auto !important; top: auto !important;
    margin-bottom: 2.4rem;
    max-width: 460px;
  }
}

/* hand-drawn doodle marks */
.doodle {
  position: absolute;
  pointer-events: none;
  color: var(--mark);
  z-index: 0;
}
.doodle svg { display: block; width: 100%; height: auto; overflow: visible; }
@media (max-width: 899px) { .doodle { display: none; } }

/* page margin doodles */
.page-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
@media (max-width: 1340px) { .page-deco { display: none; } }

/* =====================================================================
   GALLERY GRID
   ===================================================================== */
.grid { column-gap: 2rem; }
.grid.c2 { column-count: 2; }
.grid.c3 { column-count: 3; }
.grid.c4 { column-count: 4; }

.work {
  break-inside: avoid;
  margin-bottom: 2rem;
  display: block;
  cursor: pointer;
}
.work .ph { overflow: hidden; background: var(--bg-2); }
.work img {
  width: 100%; height: auto;
  transition: opacity .5s var(--ease);
}
.work:hover img { opacity: .82; }
.work .cap {
  margin-top: .55rem;
  display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--sans);
  font-size: .72rem;
  color: var(--ink-2);
}
.work .cap .ct { color: var(--ink); }
.work .cap .cn { color: var(--ink-3); }

/* line art: blend white into paper */
.grid.art .ph { background: transparent; }
.grid.art .work img { mix-blend-mode: multiply; }

/* photographs: captions as small reflective notes */
.grid.notes .cap {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: .95rem;
  line-height: 1.42;
  color: var(--ink-2);
  margin-top: .6rem;
}

/* =====================================================================
   ABOUT
   ===================================================================== */
.about {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 4rem;
  align-items: start;
}
.about-bio { max-width: 54ch; }
.about-bio .big {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.4;
  font-weight: 400;
  margin-bottom: 1.6rem;
}
.about-bio .big em { font-style: italic; }
.about-bio p {
  font-size: 1.04rem;
  line-height: 1.68;
  margin-bottom: 1.05rem;
  color: var(--ink);
}
.about-bio p.muted { color: var(--ink-2); }
.about-side { position: sticky; top: 6rem; }
.about-side .portrait { background: var(--bg-2); }
.about-side .portrait img { width: 100%; height: auto; }
.about-side .pcap {
  margin-top: .5rem;
  font-family: var(--sans); font-size: .68rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3);
}
.detail {
  margin-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.detail a, .detail .row {
  display: flex; gap: 1rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line-2);
  font-size: .96rem;
}
.detail .k {
  font-family: var(--sans); font-size: .66rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); width: 5.4rem; flex: none;
  align-self: center;
}
.detail a .ar { margin-left: auto; color: var(--ink-3); }
.detail a:hover .v { color: var(--ink-2); }

/* =====================================================================
   ABOUT — id card
   ===================================================================== */
.about-hand {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
  color: var(--ink);
  text-align: center;
  margin-bottom: 2.6rem;
}
.about-card {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 3.6rem;
  align-items: start;
  max-width: 920px;
  margin: 0 auto;
}
.framed-photo {
  position: relative;
  padding: 15px;
  align-self: start;
}
.framed-photo img { width: 100%; height: auto; display: block; background: var(--bg-2); }
.framed-photo .frame {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  color: var(--mark);
}
.id-list { display: flex; flex-direction: column; }
.id-row {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  padding: .72rem 0;
  border-bottom: 1px solid var(--line-2);
  align-items: baseline;
}
.id-row:first-child { padding-top: 0; }
.id-k {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.id-v {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
}
.id-row.bio .id-v { line-height: 1.78; }
.id-v a {
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: .2em;
  transition: color .2s var(--ease);
}
.id-v a:hover { color: var(--ink-2); }

@media (max-width: 760px) {
  .about-card { grid-template-columns: 1fr; gap: 2rem; max-width: 460px; }
  .id-row { grid-template-columns: 7rem 1fr; }
}

/* =====================================================================
   WRITING
   ===================================================================== */
.writing-list { max-width: 620px; }
.piece { padding: 3rem 0; border-top: 1px solid var(--line); }
.piece:first-child { border-top: none; padding-top: 0; }
.piece .p-meta {
  display: flex; gap: 1rem; align-items: baseline;
  margin-bottom: 1.2rem;
}
.piece .p-meta .num {
  font-family: var(--sans); font-size: .7rem;
  letter-spacing: .1em; color: var(--ink-3);
}
.piece .p-meta .kind {
  font-family: var(--sans); font-size: .66rem;
  letter-spacing: .11em; text-transform: uppercase;
  color: var(--ink-3); margin-left: auto;
}
.piece h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.14;
  letter-spacing: -.015em;
  margin-bottom: 1.4rem;
}
.piece h2 em { font-style: italic; }
.piece-text p {
  font-size: 1.06rem;
  line-height: 1.74;
  margin-bottom: 1.1rem;
}
.piece-fig { margin: 1.8rem 0 .3rem; }
.piece-fig img { width: 100%; height: auto; background: var(--bg-2); }
.piece-fig .cap {
  margin-top: .5rem;
  font-family: var(--sans); font-size: .7rem;
  letter-spacing: .06em; color: var(--ink-3);
}

/* =====================================================================
   PROJECTS
   ===================================================================== */
.proj-intro { max-width: 600px; margin-bottom: 1rem; }
.proj-intro p {
  font-size: 1.06rem;
  line-height: 1.66;
  margin-bottom: 1rem;
}
.proj-intro .pull {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.4;
  margin: 1.6rem 0;
}
.stats {
  display: flex; flex-wrap: wrap; gap: 2.6rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 2.4rem 0 3rem;
}
.stats .n {
  font-family: var(--serif);
  font-size: 1.7rem; font-weight: 400;
}
.stats .l {
  font-family: var(--sans);
  font-size: .67rem; letter-spacing: .07em;
  text-transform: uppercase; color: var(--ink-3);
  margin-top: .2rem; max-width: 20ch;
}

/* per-portrait entries */
.proj-entries { display: flex; flex-direction: column; gap: 5rem; margin-top: 3.2rem; }
.proj-entry {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 3.2rem;
  align-items: start;
}
.proj-entry:nth-child(even) { direction: rtl; }
.proj-entry:nth-child(even) > * { direction: ltr; }
.pe-img { cursor: pointer; }
.pe-img .ph { overflow: hidden; background: var(--bg-2); }
.pe-img img { width: 100%; height: auto; transition: opacity .5s var(--ease); }
.pe-img:hover img { opacity: .85; }
.pe-img .pcap {
  margin-top: .5rem;
  font-family: var(--sans); font-size: .7rem;
  letter-spacing: .06em; color: var(--ink-3);
}
.pe-text .pe-title {
  font-family: var(--serif);
  font-weight: 400; font-style: italic;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.2;
  margin-bottom: 1.1rem;
}
.pe-text p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: .95rem;
}
.pe-text p:last-child { margin-bottom: 0; }

/* writing — mixed media image strip */
.piece-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .9rem;
  margin: 1.9rem 0 .4rem;
}
.piece-strip a { cursor: pointer; display: block; background: var(--bg-2); }
.piece-strip img { width: 100%; height: auto; transition: opacity .5s var(--ease); }
.piece-strip a:hover img { opacity: .82; }
.piece-cap {
  font-family: var(--sans); font-size: .7rem;
  letter-spacing: .05em; color: var(--ink-3);
}

/* =====================================================================
   LIGHTBOX
   ===================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: #14130f;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  padding: 5vh 6vw;
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 80vh; width: auto; height: auto; }
.lightbox .lb-cap {
  margin-top: 1.1rem;
  font-family: var(--sans); font-size: .74rem;
  letter-spacing: .06em; color: rgba(244,242,236,.62);
  display: flex; gap: 1.3rem;
}
.lightbox .lb-cap .lb-n { color: rgba(244,242,236,.4); }
.lb-btn {
  position: absolute;
  font-family: var(--sans); font-size: 1rem;
  color: rgba(244,242,236,.7);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  transition: color .2s var(--ease);
}
.lb-btn:hover { color: #fff; }
.lb-prev { left: 1.5vw; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.5vw; top: 50%; transform: translateY(-50%); }
.lb-close { top: 3vh; right: 2vw; width: auto; letter-spacing: .1em; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.foot {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 2.4rem 4vw 3rem;
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  justify-content: space-between; align-items: baseline;
  border-top: 1px solid var(--line);
}
.foot .fl {
  display: flex; flex-wrap: wrap; gap: 1.3rem;
  font-family: var(--sans); font-size: .78rem;
  color: var(--ink-2);
}
.foot .fl a:hover { color: var(--ink); }
.foot .fr {
  font-family: var(--sans); font-size: .72rem;
  letter-spacing: .04em; color: var(--ink-3);
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1080px) {
  .grid.c4 { column-count: 3; }
  .about { grid-template-columns: 1fr; gap: 2.4rem; }
  .about-side { position: static; max-width: 340px; }
}
@media (max-width: 860px) {
  .proj-entry { grid-template-columns: 1fr; gap: 1.4rem; }
  .proj-entry:nth-child(even) { direction: ltr; }
  .pe-img { max-width: 460px; }
}
@media (max-width: 760px) {
  .tb-nav { display: none; }
  .tb-menu {
    display: block;
    font-family: var(--sans); font-size: .78rem;
    letter-spacing: .12em; text-transform: uppercase;
  }
  .shell { padding: 6rem 6vw 4rem; }
  /* phones: single-column galleries — no masonry chaos */
  .grid.c2, .grid.c3, .grid.c4 { column-count: 1; }
  .work { margin-bottom: 2.4rem; max-width: 440px; margin-left: auto; margin-right: auto; }
  /* home collage: clean centered stack */
  .collage { margin-top: 2rem; }
  .c-item {
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 2.2rem;
    max-width: 360px;
  }
  .intro-statement { font-size: 1.5rem; }
  /* about: trim padding */
  .about-body p { font-size: 1rem; }
}
@media (max-width: 480px) {
  .shell { padding: 5.5rem 5vw 3rem; }
  .work { max-width: 100%; margin-bottom: 2rem; }
  .c-item { max-width: 100%; margin-bottom: 1.8rem; }
  .stats { gap: 1.6rem; }
  .piece-strip { grid-template-columns: repeat(2, 1fr); }
  .intro-statement { font-size: 1.35rem; }
  .topbar { padding: 1.05rem 5vw; }
  .tb-name { font-size: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* =====================================================================
   SOCIAL ICONS  (added)
   ===================================================================== */
.tb-soc { display: flex; align-items: center; gap: .95rem; }
.soc {
  display: block;
  width: 17px; height: 17px;
  background-color: var(--ink-2);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
  transition: background-color .2s var(--ease);
}
.soc:hover { background-color: var(--ink); }
.soc--ig   { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9'><rect x='3' y='3' width='18' height='18' rx='5'/><circle cx='12' cy='12' r='4.2'/><circle cx='17.6' cy='6.4' r='1.4' fill='black' stroke='none'/></svg>");
             mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9'><rect x='3' y='3' width='18' height='18' rx='5'/><circle cx='12' cy='12' r='4.2'/><circle cx='17.6' cy='6.4' r='1.4' fill='black' stroke='none'/></svg>"); }
.soc--mail { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linejoin='round'><rect x='3' y='5' width='18' height='14' rx='2.5'/><path d='M4 7.5 12 13l8-5.5'/></svg>");
             mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linejoin='round'><rect x='3' y='5' width='18' height='14' rx='2.5'/><path d='M4 7.5 12 13l8-5.5'/></svg>"); }
.soc--li   { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M4.98 3.5A2.5 2.5 0 1 0 5 8.5a2.5 2.5 0 0 0 0-5zM3 9.25h4V21H3zM10 9.25h3.84v1.6h.05c.53-1 1.85-2.06 3.8-2.06 4.06 0 4.81 2.67 4.81 6.14V21h-4v-5.32c0-1.27-.02-2.9-1.77-2.9-1.77 0-2.04 1.38-2.04 2.81V21h-4z'/></svg>");
             mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M4.98 3.5A2.5 2.5 0 1 0 5 8.5a2.5 2.5 0 0 0 0-5zM3 9.25h4V21H3zM10 9.25h3.84v1.6h.05c.53-1 1.85-2.06 3.8-2.06 4.06 0 4.81 2.67 4.81 6.14V21h-4v-5.32c0-1.27-.02-2.9-1.77-2.9-1.77 0-2.04 1.38-2.04 2.81V21h-4z'/></svg>"); }

.foot .fl { align-items: center; }
.foot .soc { width: 18px; height: 18px; }
.foot-link {
  font-family: var(--sans); font-size: .78rem;
  color: var(--ink-2); transition: color .2s var(--ease);
}
.foot-link:hover { color: var(--ink); }
.m-foot { align-items: center; }
.m-foot .soc { width: 24px; height: 24px; }

/* =====================================================================
   PROJECTS INDEX  (added)
   ===================================================================== */
.proj-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.proj-card { display: block; cursor: pointer; }
.proj-card .ph { overflow: hidden; background: var(--bg-2); }
.proj-card img { width: 100%; height: auto; transition: opacity .5s var(--ease); }
.proj-card:hover img { opacity: .85; }
.proj-card .pc-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.14;
  letter-spacing: -.015em;
  margin-top: 1rem;
}
.proj-card .pc-title em { font-style: italic; }
.proj-card .pc-meta {
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: .5rem;
}

/* =====================================================================
   WRITING — justified, typographic  (added)
   ===================================================================== */
.piece-text p {
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
}
.piece .p-meta .kind { display: none; }

@media (max-width: 760px) {
  .tb-soc { display: none; }
  .proj-list { grid-template-columns: 1fr; gap: 2.2rem; }
  .piece-text p { text-align: left; hyphens: manual; }
}

/* =====================================================================
   WRITING v3 — editorial, justified, small sans body  (added)
   ===================================================================== */
.writing-list { max-width: 940px; }
.piece { padding: 3.6rem 0; border-top: 1px solid var(--line); }
.piece:first-child { border-top: none; padding-top: .4rem; }
.piece-head { margin-bottom: 1.7rem; display: flex; align-items: baseline; gap: 1rem; }
.piece-head .num {
  font-family: var(--sans); font-size: .72rem;
  letter-spacing: .1em; color: var(--ink-3);
}
.piece-head h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.6rem, 2.7vw, 2.35rem);
  line-height: 1.06; letter-spacing: -.02em;
}
.piece-head h2 em { font-style: italic; }
.piece-body {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}
.piece-body.solo { grid-template-columns: 1fr; max-width: 60ch; }
.piece-text p {
  font-family: var(--sans);
  font-size: .82rem;
  line-height: 1.75;
  text-align: justify;
  -webkit-hyphens: auto; hyphens: auto;
  margin-bottom: .95rem;
  color: var(--ink);
}
.piece-aside { position: sticky; top: 6rem; }
.piece-aside .one { display: block; cursor: pointer; background: var(--bg-2); }
.piece-aside .one img { width: 100%; height: auto; display: block; transition: opacity .5s var(--ease); }
.piece-aside .one:hover img { opacity: .85; }
.piece-aside .quad { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.piece-aside .quad a { display: block; cursor: pointer; background: var(--bg-2); }
.piece-aside .quad img { width: 100%; height: auto; display: block; transition: opacity .5s var(--ease); }
.piece-aside .quad a:hover img { opacity: .85; }
.piece-aside .acap {
  font-family: var(--sans); font-size: .68rem;
  letter-spacing: .05em; color: var(--ink-3); margin-top: .55rem;
}
@media (max-width: 760px) {
  .piece-body { grid-template-columns: 1fr; gap: 1.5rem; }
  .piece-aside { position: static; }
  .piece-text p { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
}

/* tiktok icon + film video wrapper */
.soc--tt {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M19.59 6.69a4.83 4.83 0 0 1-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 0 1-5.2 1.74 2.89 2.89 0 0 1 2.31-4.64 2.93 2.93 0 0 1 .88.13V9.4a6.84 6.84 0 0 0-1-.05A6.33 6.33 0 0 0 5.8 20.1a6.34 6.34 0 0 0 10.86-4.43V8.16a8.16 8.16 0 0 0 4.77 1.52V6.2a4.85 4.85 0 0 1-1.84-.51z'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M19.59 6.69a4.83 4.83 0 0 1-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 0 1-5.2 1.74 2.89 2.89 0 0 1 2.31-4.64 2.93 2.93 0 0 1 .88.13V9.4a6.84 6.84 0 0 0-1-.05A6.33 6.33 0 0 0 5.8 20.1a6.34 6.34 0 0 0 10.86-4.43V8.16a8.16 8.16 0 0 0 4.77 1.52V6.2a4.85 4.85 0 0 1-1.84-.51z'/></svg>");
}
.video-wrap { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; margin-top: 1rem; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* =====================================================================
   ANIMATIONS — editorial, slow
   ===================================================================== */

/* baseline reveal is already defined above. add stagger + variations. */

/* stagger children: any descendant with .stagger-child gets a delay
   based on its --i custom property (set by JS or inline). */
.stagger-child {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.in .stagger-child,
.stagger-child.in { opacity: 1; transform: none; }

/* intro statement: word-by-word reveal */
.intro-statement .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--i, 0) * 55ms);
}
.intro-statement.in .word { opacity: 1; transform: none; }
.intro-statement .sub .word { transition-duration: .9s; }

/* collage items: stagger + soft scale on enter */
.collage .c-item {
  opacity: 0;
  transform: translateY(20px) scale(.985);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 110ms + 200ms);
}
.collage.in .c-item { opacity: 1; transform: none; }

/* collage hover: gentle lift + image zoom */
.c-item { will-change: transform; }
.c-item .ph img { transition: transform 1.2s var(--ease), opacity .5s var(--ease); }
.c-item:hover { transform: translateY(-3px); }
.c-item:hover .ph img { transform: scale(1.04); opacity: .9; }

/* gallery grid items: stagger fade-up */
.grid .work {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .95s var(--ease), transform .95s var(--ease);
  transition-delay: calc(var(--i, 0) * 75ms);
}
.grid.in .work { opacity: 1; transform: none; }

/* gallery work hover: subtle image zoom */
.work .ph img { transition: transform 1.2s var(--ease), opacity .5s var(--ease); }
.work:hover .ph img { transform: scale(1.035); }

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  .stagger-child,
  .intro-statement .word,
  .collage .c-item,
  .grid .work {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* containers used as stagger triggers shouldn't fade themselves */
.intro-statement.reveal,
.collage.reveal,
.grid.reveal { opacity: 1; transform: none; }

/* draggable collage items */
@media (min-width: 900px) {
  .collage .c-item {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
  }
  .collage .c-item img {
    -webkit-user-drag: none;
    pointer-events: none;
  }
}

}

/* =====================================================================
   WRITING — clean magazine spreads
   ===================================================================== */
.spreads {
  padding: 1rem 0 5rem;
}
.spread {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 5rem 0;
  border-bottom: 1px solid var(--line-2);
}
.spread:last-child { border-bottom: 0; }

.sp-head {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.4rem;
  align-items: baseline;
  margin: 0 auto 2.4rem;
  max-width: 760px;
}
.sp-num {
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .14em;
  color: var(--ink-3);
}
.sp-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--ink);
}
.sp-title em { font-style: italic; }

.sp-body {
  font-family: var(--serif);
  font-size: .92rem;
  line-height: 1.65;
  color: var(--ink);
  max-width: 580px;
  margin: 0 auto;
}
.sp-body p { margin: 0 0 .9em; }
.sp-body p:last-child { margin-bottom: 0; }
.sp-body em { font-style: italic; }

/* ---- spread :: wrap (image floats in body) ---- */
.spread--wrap .sp-body { max-width: 660px; }
.sp-float {
  display: block;
  float: right;
  width: 200px;
  margin: .4em 0 1rem 1.6rem;
  shape-outside: margin-box;
}
.sp-float img { width: 100%; height: auto; display: block; }
.sp-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 660px;
  margin: 2.6rem auto 0;
  clear: both;
}
.sp-row a { display: block; }
.sp-row img { width: 100%; height: auto; display: block; }

/* ---- spread :: narrow (text only) ---- */
.spread--narrow .sp-body { max-width: 500px; font-size: .9rem; }

/* ---- spread :: side (image + text, 2 columns) ---- */
.spread--side .sp-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 880px;
  margin: 0 auto;
}
.spread--side.reverse .sp-grid {
  grid-template-columns: 1fr 280px;
}
.sp-fig {
  display: block;
}
.sp-fig img { width: 100%; height: auto; display: block; }
.spread--side .sp-body { max-width: none; font-size: .9rem; }

/* ---- spread :: photo (single image, centered) ---- */
.spread--photo .sp-photo {
  display: block;
  width: 380px;
  max-width: 100%;
  margin: 0 auto;
}
.sp-photo img { width: 100%; height: auto; display: block; }

/* ---- spread :: series (organized varied grid of six) ---- */
.spread--series .hay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem 1.6rem;
  max-width: 880px;
  margin: 0 auto;
}
.hay {
  display: block;
  font-family: var(--sans);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-decoration: none;
}
.hay img { width: 100%; height: auto; display: block; }
.hay-cap { display: block; margin-top: .5rem; }
/* small vertical offsets to vary the row rhythm without chaos */
.spread--series .hay-grid .hay:nth-child(2) { margin-top: 2.4rem; }
.spread--series .hay-grid .hay:nth-child(3) { margin-top: 1rem; }
.spread--series .hay-grid .hay:nth-child(5) { margin-top: 1.6rem; }
.spread--series .hay-grid .hay:nth-child(6) { margin-top: 3rem; }

/* mobile */
@media (max-width: 800px) {
  .spread { padding: 3rem 0; }
  .sp-head { grid-template-columns: 2.6rem 1fr; gap: .8rem; max-width: 100%; }
  .sp-title { font-size: 1.35rem; }
  .sp-body { max-width: 100%; font-size: .92rem; }
  .sp-float { float: none; width: 65%; margin: 1.2rem auto; display: block; }
  .sp-row { grid-template-columns: 1fr; gap: 1.2rem; max-width: 75%; margin-left: auto; margin-right: auto; }
  .spread--side .sp-grid,
  .spread--side.reverse .sp-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .spread--side .sp-fig { width: 75%; margin: 0 auto; }
  .spread--photo .sp-photo { width: 78%; }
  .spread--series .hay-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .spread--series .hay-grid .hay { margin-top: 0 !important; }
}
@media (max-width: 480px) {
  .spread { padding: 2.4rem 0; }
  .sp-head { grid-template-columns: 2rem 1fr; gap: .6rem; }
  .sp-title { font-size: 1.2rem; }
  .sp-body, .sp-body--narrow { font-size: .92rem; line-height: 1.62; }
  .sp-float { width: 75%; }
  .sp-row { max-width: 88%; }
  .spread--side .sp-fig { width: 85%; }
  .spread--photo .sp-photo { width: 88%; }
  .spread--series .hay-grid { grid-template-columns: 1fr; gap: 1.6rem; max-width: 80%; margin: 1rem auto 0; }
}

/* photographs: skip the double-exposure hover (kept calmer with just the soft zoom) */
.grid.notes .work:hover .ph::after { opacity: 0; }
