*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #15161a;
  --bg-alt: #1c1d22;
  --fg: #e8e6e0;
  --fg-dim: rgba(232, 230, 224, .55);
  --fg-faint: rgba(232, 230, 224, .32);
  --hair: rgba(232, 230, 224, .12);
  --accent: #b04a3a;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Instrument Serif", ui-serif, Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --pad: 36px;
  --gap: 36px;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button {
  font: inherit; color: inherit; background: none; border: 0;
  padding: 0; cursor: default;
}

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-weight: 400;
}
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: .95;
}
.dim { color: var(--fg-dim); }
.faint { color: var(--fg-faint); }
.hair { border: 0; border-top: 1px solid var(--hair); margin: 0; }

/* nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px var(--pad);
  background: linear-gradient(to bottom, var(--bg) 60%, transparent);
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav .brand {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.nav .brand .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  align-self: center;
}
.nav .brand .tag { color: var(--fg-faint); }
.nav .center { display: flex; gap: 28px; justify-content: center; }
.nav .center a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fg-dim);
  position: relative;
  padding: 4px 0;
}
.nav .center a.active { color: var(--fg); }
.nav .center a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--accent);
}
.nav .center a:hover { color: var(--fg); }
.nav .right {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.nav .right .available { color: var(--accent); }

/* page shell */
main { padding: 72px var(--pad) var(--pad); }

/* footer */
footer {
  padding: var(--pad);
  border-top: 1px solid var(--hair);
  margin-top: 80px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--gap);
  align-items: start;
  margin-top: 32px;
}
.foot-mark {
  font-family: var(--font-display);
  font-size: clamp(64px, 14vw, 200px);
  line-height: .85;
  letter-spacing: -0.04em;
}
.foot-mark em {
  font-style: italic;
  color: var(--accent);
}
.foot-col h4 {
  margin: 0 0 12px 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fg-faint);
  font-weight: 400;
}
.foot-col a, .foot-col p {
  display: block;
  color: var(--fg);
  margin: 0 0 6px 0;
}
.foot-col p.dim { color: var(--fg-dim); max-width: 32ch; }
.foot-col a:hover { color: var(--accent); }
.foot-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--hair);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

/* home: hero (split) */
.home-hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  min-height: 38vh;
  align-items: end;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--hair);
}
.home-hero .lede {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 140px);
  line-height: .88;
  letter-spacing: -0.02em;
  margin: 0;
}
.home-hero .lede em {
  font-style: italic;
  color: var(--accent);
}
.home-hero .lede .since { color: var(--fg-dim); }
.home-hero .meta {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.home-hero .meta .row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fg-dim);
  padding: 10px 0;
  border-bottom: 1px dashed var(--hair);
}
.home-hero .meta .row span:last-child { color: var(--fg); }
.home-hero .meta .row .accent { color: var(--accent); }

/* home: featured single */
.featured-single {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 80px 0;
  border-bottom: 1px solid var(--hair);
  align-items: center;
}
.featured-single .img-wrap {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-alt);
}
.featured-single .img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.featured-single .copy h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px 0;
  font-weight: 400;
  max-width: 18ch;
}
.featured-single .copy h2 em {
  font-style: italic;
  color: var(--accent);
}
.featured-single .copy p {
  max-width: 42ch;
  color: var(--fg-dim);
  margin: 0 0 18px 0;
  font-size: 14px;
  line-height: 1.6;
}
.featured-single .copy .feature-mark {
  margin-bottom: 14px;
}
.featured-single .copy .specs {
  color: var(--fg-faint);
}

/* news section */
.news {
  padding: 64px 0;
  border-bottom: 1px solid var(--hair);
}
.section-hd {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 36px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hair);
}
.section-hd h3 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fg-dim);
  font-weight: 400;
}
.section-hd h3 .layout-tag { color: var(--fg-faint); margin-left: 12px; }
.section-hd .count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--fg-faint);
}
.section-hd .view-all {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.section-hd .view-all:hover { color: var(--accent); }
.news-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.news-item {
  display: grid;
  grid-template-columns: 84px 64px 1fr;
  gap: 18px;
  padding: 18px 24px 18px 0;
  border-bottom: 1px solid var(--hair);
  align-items: start;
}
.news-item:nth-child(odd) {
  padding-right: 32px;
  border-right: 1px solid var(--hair);
}
.news-item:nth-child(even) { padding-left: 32px; }
.news-item .date {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--fg-faint);
  text-transform: uppercase;
  padding-top: 2px;
}
.news-item .tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--accent);
  text-transform: uppercase;
  padding-top: 2px;
}
.news-item .body {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--fg);
}
.news-item .body a {
  border-bottom: 1px solid var(--accent);
  color: var(--accent);
  padding-bottom: 1px;
}

/* home: selected work strip */
.work-strip {
  padding: 64px 0;
  border-bottom: 1px solid var(--hair);
}

/* home: selected work grid (4-up) */
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.strip-grid figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.strip-grid .img-wrap {
  aspect-ratio: 4/5;
  background: var(--bg-alt);
  overflow: hidden;
}
.strip-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.strip-grid figure:hover img { transform: scale(1.02); }
.strip-grid figcaption {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fg-dim);
  padding-top: 4px;
}
.strip-grid figcaption em {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  color: var(--fg);
}

/* WORK page grid layout (3-up) */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 24px;
}
.work-grid figure { margin: 0; }
.work-grid .img-wrap {
  aspect-ratio: 4/5;
  background: var(--bg-alt);
  overflow: hidden;
  margin-bottom: 14px;
}
.work-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.work-grid figcaption {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.work-grid figcaption .title {
  color: var(--fg);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-display);
  font-size: 18px;
}
.work-grid figcaption .index { align-self: end; }
.work-grid figcaption .meta-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  padding-top: 6px;
  border-top: 1px solid var(--hair);
  margin-top: 4px;
}
.work-grid figure[hidden] { display: none; }

/* WORK page editorial layout */
.editorial {
  display: flex;
  flex-direction: column;
  gap: 96px;
  padding-top: 24px;
}
.ed-row {
  display: grid;
  gap: 48px;
  align-items: center;
}
.ed-row.left { grid-template-columns: .55fr 1fr; }
.ed-row.right { grid-template-columns: 1fr .55fr; }
.ed-row.full {
  grid-template-columns: 1fr;
  justify-items: center;
}
.ed-row.full .full-inner { width: min(680px, 80%); }
.ed-row .img-wrap {
  aspect-ratio: 4/5;
  background: var(--bg-alt);
  overflow: hidden;
}
.ed-row.full .img-wrap { aspect-ratio: 1/1; }
.ed-row .img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.ed-row .copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ed-row .copy .num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--fg-faint);
  text-transform: uppercase;
}
.ed-row .copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-style: italic;
}
.ed-row .copy p {
  margin: 0;
  max-width: 36ch;
  color: var(--fg-dim);
  font-size: 14px;
  line-height: 1.6;
}
.ed-row .copy .meta {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--fg-dim);
  text-transform: uppercase;
  max-width: 32ch;
}
.ed-row .copy .meta .row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed var(--hair);
}
.ed-row .copy .meta .row span:last-child { color: var(--fg); }
.ed-row .copy .meta .row .accent { color: var(--accent); }
.ed-row.full .full-caption {
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.ed-row.full .full-caption em {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--fg);
  text-transform: none;
  letter-spacing: 0;
}

/* page heading (work / studio) */
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--hair);
  margin-bottom: 48px;
  gap: 32px;
}
.page-head .left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.page-head h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 6.4vw, 104px);
  line-height: .92;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.page-head h1 em {
  font-style: italic;
  color: var(--accent);
}
.page-head .crumb {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--fg-faint);
  text-transform: uppercase;
}
.page-head .right {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fg-dim);
  text-align: right;
}
.page-head .right .accent { color: var(--accent); }

/* filter bar (work page) */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 24px;
  border-bottom: 1px solid var(--hair);
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.filter-bar .filters {
  display: flex;
  gap: 8px;
  align-items: center;
}
.filter-bar .label {
  color: var(--fg-faint);
  margin-right: 8px;
}
.filter-btn {
  padding: 6px 12px;
  border: 1px solid var(--hair);
  background: transparent;
  color: var(--fg-dim);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: default;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.filter-btn .count {
  color: var(--fg-faint);
  font-variant-numeric: tabular-nums;
}
.filter-btn.active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
}
.filter-btn.active .count { color: var(--bg); }
.filter-bar .enquire { color: var(--fg-dim); }
.filter-bar .enquire a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}
.ed-row[hidden] { display: none; }

/* studio page */
.studio-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--hair);
  margin-top: 32px;
}
.studio-hero .lede {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin: 0;
}
.studio-hero .lede em {
  font-style: italic;
  color: var(--accent);
}
.studio-hero aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.studio-hero aside .row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--hair);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.studio-hero aside .row span:last-child { color: var(--fg); }

.studio-portrait {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 80px 0;
  border-bottom: 1px solid var(--hair);
  align-items: center;
}
.studio-portrait .img-wrap {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--bg-alt);
  max-width: 520px;
}
.studio-portrait .img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.studio-portrait .copy {
  max-width: 50ch;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.studio-portrait .copy .mono.dim { color: var(--fg-dim); }
.studio-portrait .copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg);
}
.studio-portrait .copy p + p {
  color: var(--fg-dim);
  font-size: 14px;
}

.studio-cv {
  padding: 80px 0;
  border-bottom: 1px solid var(--hair);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
}
.studio-cv h3 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fg-dim);
  font-weight: 400;
}
.cv-list {
  display: flex;
  flex-direction: column;
}
.cv-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hair);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fg-dim);
  align-items: start;
}
.cv-row .y { color: var(--fg-faint); }
.cv-row .what {
  color: var(--fg);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  letter-spacing: -0.005em;
  text-transform: none;
  line-height: 1.15;
}
.cv-row .where { text-align: right; }

.studio-contact {
  padding: 80px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.studio-contact h2 {
  margin: 0 0 24px 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 96px);
  line-height: .95;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.studio-contact h2 em {
  font-style: italic;
  color: var(--accent);
}
.studio-contact p {
  max-width: 44ch;
  color: var(--fg-dim);
  font-size: 15px;
  line-height: 1.65;
}
.studio-contact .links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.studio-contact .links a {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--hair);
  color: var(--fg);
}
.studio-contact .links a:hover { color: var(--accent); }
.studio-contact .links a span:last-child { color: var(--fg-faint); }

/* arrow link */
.arrow-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fg);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 3px;
}
.arrow-link .arrow { color: var(--accent); }
.arrow-link:hover { color: var(--accent); }

/* status chip */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 999px;
  background: transparent;
}
.chip.sold {
  border-color: var(--fg-faint);
  color: var(--fg-faint);
}
.chip .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
}

/* editor (edit.html) */
#ed-status.accent { color: var(--accent); }
#ed-status.error { color: #ff6b6b; }

.ed-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.ed-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--hair);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  border-radius: 999px;
  transition: border-color .12s ease, color .12s ease, background .12s ease;
}
.ed-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.ed-btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}
.ed-btn.primary:hover {
  background: transparent;
  color: var(--accent);
}

.ed-banner {
  margin: 0 0 16px 0;
  padding: 14px 18px;
  border: 1px solid var(--accent);
  background: rgba(176, 74, 58, 0.07);
  border-radius: 4px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.ed-banner-text {
  flex: 1;
  min-width: 280px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .02em;
  color: var(--fg-dim);
  line-height: 1.6;
}
.ed-banner-text strong {
  color: var(--fg);
  font-weight: 500;
}

.ed-help {
  margin: 0 0 24px 0;
  padding: 14px 18px;
  border: 1px dashed var(--hair);
  border-radius: 4px;
  line-height: 1.7;
  color: var(--fg-dim);
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
}
.ed-help code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg);
  background: var(--bg-alt);
  padding: 1px 6px;
  border-radius: 2px;
}

.ed-tabs {
  display: flex;
  gap: 0;
  margin: 0 0 18px 0;
  border-bottom: 1px solid var(--hair);
}
.ed-tab {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 12px 18px;
  background: transparent;
  color: var(--fg-dim);
  cursor: pointer;
  border: 0;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  transition: color .12s ease, border-color .12s ease;
}
.ed-tab:hover { color: var(--fg); }
.ed-tab.active {
  color: var(--fg);
  border-bottom-color: var(--accent);
}

.ed-pane[hidden] { display: none; }

.ed-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 80px;
}

.ed-row {
  display: grid;
  grid-template-columns: 32px 64px 80px 1fr 32px;
  gap: 14px;
  padding: 10px 12px;
  background: var(--bg-alt);
  border: 1px solid var(--hair);
  border-radius: 4px;
  align-items: center;
  transition: border-color .12s ease, opacity .12s ease, background .12s ease;
}
.ed-row.dragging { opacity: .35; }
.ed-row.drop-above { border-top-color: var(--accent); box-shadow: 0 -2px 0 var(--accent); }
.ed-row.drop-below { border-bottom-color: var(--accent); box-shadow: 0 2px 0 var(--accent); }

.ed-handle {
  cursor: grab;
  color: var(--fg-faint);
  font-family: var(--font-mono);
  text-align: center;
  font-size: 14px;
  line-height: 1;
  user-select: none;
  letter-spacing: -2px;
}
.ed-handle:active { cursor: grabbing; }
.ed-handle:hover { color: var(--accent); }

.ed-thumb {
  width: 64px;
  height: 80px;
  background: var(--bg);
  overflow: hidden;
  border: 1px solid var(--hair);
}
.ed-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ed-idx {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--fg-faint);
  text-transform: uppercase;
}

.ed-fields {
  display: grid;
  grid-template-columns: 1.6fr 1.6fr 1fr 90px 70px 140px;
  gap: 8px;
}

.ed-input {
  font: inherit;
  padding: 6px 8px;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid transparent;
  border-radius: 2px;
  outline: none;
  min-width: 0;
}
.ed-input:hover { border-color: var(--hair); }
.ed-input:focus { border-color: var(--accent); }

.ed-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  letter-spacing: -0.005em;
}
.ed-image {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-dim);
}
.ed-status {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* News rows — no thumb, three fields, body is multiline */
.ed-row.is-news {
  grid-template-columns: 32px 80px 1fr 32px;
  align-items: stretch;
}
.ed-row.is-news .ed-fields {
  grid-template-columns: 110px 130px 1fr;
  align-items: start;
}
.ed-date { font-family: var(--font-mono); font-size: 11px; }
.ed-tag  { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.ed-body {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.55;
  resize: vertical;
  min-height: 44px;
}

/* CV rows — year, title (display), where (mono right-aligned) */
.ed-row.is-cv {
  grid-template-columns: 32px 80px 1fr 32px;
}
.ed-row.is-cv .ed-fields {
  grid-template-columns: 80px 1.6fr 1fr;
}
.ed-cv-what {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  letter-spacing: -0.005em;
}
.ed-cv-where {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-align: right;
}

.ed-delete {
  font-family: var(--font-mono);
  font-size: 18px;
  width: 32px;
  height: 32px;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--fg-faint);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: color .12s ease, border-color .12s ease;
}
.ed-delete:hover {
  color: #ff6b6b;
  border-color: #ff6b6b;
}

@media (max-width: 1100px) {
  .ed-fields { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
}
@media (max-width: 700px) {
  .ed-row { grid-template-columns: 28px 1fr 32px; }
  .ed-thumb, .ed-idx { display: none; }
  .ed-fields { grid-template-columns: 1fr; }
}

/* lightbox */
.work-grid figure,
.strip-grid figure,
.featured-single .img-wrap,
.studio-portrait .img-wrap { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 64px 80px;
  opacity: 0;
  transition: opacity .18s ease;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox.loading .lb-img { opacity: .35; }

.lb-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  max-width: 100%;
  max-height: 100%;
}
.lb-img {
  max-width: 88vw;
  max-height: 78vh;
  object-fit: contain;
  background: var(--bg-alt);
  transition: opacity .18s ease;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .6);
}
.lb-caption {
  display: flex;
  gap: 24px;
  align-items: baseline;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fg-dim);
  flex-wrap: wrap;
  max-width: 88vw;
  text-align: center;
}
.lb-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--fg);
  line-height: 1;
}
.lb-counter { color: var(--fg-faint); }

.lb-close,
.lb-prev,
.lb-next {
  position: fixed;
  background: transparent;
  border: 1px solid var(--hair);
  color: var(--fg-dim);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
  z-index: 1;
}
.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 0, 0, .25);
}
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

@media (max-width: 700px) {
  .lightbox { padding: 24px 12px; }
  .lb-img { max-width: 96vw; max-height: 70vh; }
  .lb-prev { left: 12px; }
  .lb-next { right: 12px; }
  .lb-close { top: 12px; right: 12px; }
}

/* responsive */
@media (max-width: 900px) {
  .home-hero,
  .featured-single,
  .studio-hero,
  .studio-portrait,
  .studio-cv,
  .studio-contact { grid-template-columns: 1fr; gap: 24px; }
  .news-list,
  .work-grid { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .news-item:nth-child(odd) { border-right: 0; padding-right: 0; }
  .news-item:nth-child(even) { padding-left: 0; }
  .ed-row.left,
  .ed-row.right { grid-template-columns: 1fr; }
  .nav { grid-template-columns: 1fr auto; }
  .nav .right { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .page-head h1 { white-space: normal; }
}
