:root {
  color-scheme: light;
  --paper: #f6f4ed;
  --paper-2: #ebe7dc;
  --ink: #111111;
  --muted: #5e5a50;
  --line: rgba(17, 17, 17, 0.14);
  --line-strong: rgba(17, 17, 17, 0.28);
  --green: #0f6b57;
  --green-dark: #0a473b;
  --clay: #9d463a;
  --white: #fffdf8;
  --shadow: 0 22px 70px rgba(35, 32, 25, 0.13);
  --radius: 8px;
  --display: "Cormorant Garamond", "Bodoni 72", Didot, Georgia, serif;
  --body: "Manrope", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-family: var(--body);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.site-header,
.hero,
.photo-section,
.notes-section,
.shortlist-section,
.workflow-section,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: grid;
  grid-template-columns: auto;
  align-items: center;
  justify-content: start;
  margin-top: 14px;
  padding: 6px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-lockup {
  min-width: 0;
}

.brand-emblem {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: #10100f;
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 10px 18px rgba(20, 18, 15, 0.1);
}

.brand-emblem::before {
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255, 253, 248, 0.3);
  border-radius: 8px;
  content: "";
}

.emblem-letter {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-size: 1.86rem;
  font-weight: 700;
  line-height: 1;
}

.emblem-bars {
  position: absolute;
  right: 6px;
  bottom: 7px;
  display: grid;
  gap: 2px;
}

.emblem-bars span {
  display: block;
  width: 14px;
  height: 2px;
  background: var(--green);
}

.brand-type {
  display: grid;
  gap: 1px;
}

.brand-name {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.72rem, 2.6vw, 2.12rem);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.brand-name span {
  color: var(--green);
  font-style: italic;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(58px, 7vw, 92px) 0 52px;
}

.date-line,
.small-label,
.note-kicker {
  margin: 0 0 13px;
  color: var(--green-dark);
  font-size: 0.74rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 5vw, 5.1rem);
  line-height: 0.96;
  letter-spacing: 0;
  font-family: var(--display);
  font-weight: 700;
}

.hero-text {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.52;
}

.button,
.pending-link,
.photo-action,
.filter-chip {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px solid transparent;
  padding: 11px 15px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 760;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover,
.pending-link:hover,
.photo-action:hover,
.filter-chip:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--green);
  color: var(--white);
}

.button.secondary,
.pending-link,
.filter-chip {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.inline-disclosure,
.section-footnote,
.link-note,
.muted {
  color: var(--muted);
}

.inline-disclosure {
  max-width: 540px;
  margin: 18px 0 0;
  font-size: 0.92rem;
}

.curator-panel {
  display: grid;
  gap: 16px;
  align-items: center;
  justify-items: center;
  padding: 0;
}

.photo-frame {
  display: block;
  width: min(236px, 100%);
  cursor: pointer;
}

.frame-wood {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background:
    radial-gradient(ellipse at 26% 24%, rgba(44, 24, 12, 0.72) 0 7%, rgba(119, 68, 34, 0.42) 8% 13%, transparent 14%),
    radial-gradient(ellipse at 78% 72%, rgba(55, 30, 15, 0.58) 0 5%, rgba(151, 88, 42, 0.34) 6% 12%, transparent 13%),
    repeating-linear-gradient(96deg, rgba(51, 27, 13, 0.26) 0 3px, rgba(191, 120, 61, 0.16) 3px 8px, rgba(78, 41, 19, 0.24) 8px 12px),
    linear-gradient(112deg, #5d3219 0%, #a46534 18%, #7d4725 36%, #c07b3f 54%, #6c3a1e 72%, #9c5c2d 100%);
  box-shadow:
    inset 0 0 0 1px rgba(54, 28, 11, 0.56),
    inset 0 0 0 5px rgba(255, 226, 176, 0.12),
    0 20px 34px rgba(35, 24, 14, 0.2);
  padding: 16px;
}

.frame-wood::before,
.frame-wood::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.frame-wood::before {
  background:
    radial-gradient(ellipse at 18% 34%, transparent 0 16%, rgba(47, 25, 12, 0.28) 17% 18%, transparent 20%),
    radial-gradient(ellipse at 68% 44%, transparent 0 20%, rgba(255, 217, 156, 0.16) 21% 22%, transparent 24%),
    repeating-linear-gradient(88deg, transparent 0 9px, rgba(32, 18, 9, 0.16) 10px 12px, transparent 13px 21px);
  mix-blend-mode: multiply;
  opacity: 0.72;
}

.frame-wood::after {
  border-radius: inherit;
  box-shadow:
    inset 12px 12px 18px rgba(255, 217, 158, 0.18),
    inset -14px -16px 22px rgba(43, 22, 10, 0.38);
}

.frame-mat {
  position: relative;
  z-index: 1;
  display: flex;
  aspect-ratio: 2 / 3;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 9px solid #f8f3e7;
  border-radius: 4px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(237, 229, 211, 0.82)),
    #f4efe4;
  color: var(--green-dark);
  min-height: 164px;
}

.frame-mat::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(80, 54, 31, 0.15);
  content: "";
  pointer-events: none;
}

.curator-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-photo-copy {
  max-width: 92px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.25;
  text-transform: uppercase;
}

.photo-upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.curator-signature {
  text-align: center;
}

.curator-signature h2 {
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-style: italic;
  font-weight: 700;
  line-height: 0.92;
}

.mini-ledger {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.mini-ledger div {
  min-height: 92px;
  padding: 15px 12px;
  background: var(--white);
}

.mini-ledger strong {
  display: block;
  margin-bottom: 8px;
  font-size: 2rem;
  line-height: 1;
}

.mini-ledger span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.photo-section,
.notes-section,
.shortlist-section,
.workflow-section {
  padding: 66px 0;
  border-top: 1px solid var(--line);
}

.notes-section {
  max-width: min(1180px, calc(100% - 40px));
}

.notes-section h2 {
  max-width: 900px;
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.1vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
  font-family: var(--display);
  font-weight: 700;
}

.notes-section p:last-child {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.62;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 26px;
}

.section-heading.compact {
  grid-template-columns: minmax(0, 0.74fr) minmax(360px, 0.7fr);
  align-items: start;
}

.section-heading h2,
.workflow-copy h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.1vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
  font-family: var(--display);
  font-weight: 700;
}

.section-heading p,
.workflow-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.category-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr 0.92fr;
  grid-auto-rows: minmax(250px, 1fr);
  gap: 14px;
}

.category-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius);
  background: #1b1b19;
  box-shadow: 0 18px 46px rgba(29, 27, 23, 0.12);
}

.category-card-large {
  grid-row: span 2;
  min-height: 680px;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 450ms ease, filter 450ms ease;
}

.category-card:hover img,
.category-card.is-selected img {
  transform: scale(1.07);
  filter: saturate(1.02) contrast(1.03);
}

.photo-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 34%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.06) 62%);
}

.category-content {
  position: absolute;
  inset: auto 0 0;
  padding: clamp(18px, 2.4vw, 30px);
  color: var(--white);
}

.category-content .small-label {
  color: rgba(255, 255, 255, 0.78);
}

.category-content h3 {
  max-width: 520px;
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 2.7vw, 2.65rem);
  line-height: 1;
  font-family: var(--display);
  font-weight: 700;
}

.category-card:not(.category-card-large) .category-content h3 {
  font-size: clamp(1.28rem, 1.9vw, 1.9rem);
}

.category-content p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.45;
}

.photo-action {
  margin-top: 8px;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.section-footnote {
  margin: 16px 0 0;
  font-size: 0.92rem;
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-chip.is-active {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.shortlist-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.table-row {
  display: grid;
  grid-template-columns: 0.9fr 1.22fr 1.08fr 0.92fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.table-row:first-child {
  border-top: 0;
}

.table-row > div {
  min-width: 0;
  padding: 20px 18px;
  border-left: 1px solid var(--line);
  line-height: 1.52;
}

.table-row > div:first-child {
  border-left: 0;
}

.table-head {
  background: #1b1b18;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tool-name {
  margin-bottom: 5px;
  font-weight: 820;
}

.tool-type,
.link-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.pending-link {
  width: 100%;
}

.table-row.is-hidden {
  display: none;
}

.workflow-section {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(340px, 1fr);
  gap: 40px;
  align-items: start;
}

.workflow-copy p:last-child {
  max-width: 520px;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.workflow-list article {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 20px;
}

.workflow-list span {
  display: block;
  margin-bottom: 28px;
  color: var(--clay);
  font-weight: 850;
}

.workflow-list h3 {
  margin-bottom: 9px;
  font-size: 1.2rem;
}

.workflow-list p {
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding: 44px 0 54px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 14px 0 0;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.site-footer nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.site-footer nav a:hover {
  color: var(--ink);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  max-width: min(360px, calc(100vw - 36px));
  transform: translateY(14px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  padding: 13px 15px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.legal-page {
  min-height: 100vh;
}

.legal-shell {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 76px;
}

.legal-shell h1 {
  margin: 34px 0 18px;
  font-size: clamp(2.5rem, 7vw, 5.8rem);
}

.legal-shell h2 {
  margin: 34px 0 12px;
  font-size: 1.55rem;
}

.legal-shell p,
.legal-shell li {
  color: var(--muted);
  line-height: 1.65;
}

.legal-shell ul {
  padding-left: 22px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--muted);
  font-weight: 760;
  text-decoration: none;
}

.back-link:hover {
  color: var(--ink);
}

@media (max-width: 980px) {
  .hero,
  .section-heading,
  .section-heading.compact,
  .workflow-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 66px;
  }

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

  .category-card-large {
    grid-column: 1 / -1;
    min-height: 520px;
  }

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

  .table-row > div {
    border-top: 1px solid var(--line);
  }

  .table-head {
    display: none;
  }

  .filter-controls {
    justify-content: flex-start;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 660px) {
  .site-header,
  .hero,
  .photo-section,
  .notes-section,
  .shortlist-section,
  .workflow-section,
  .site-footer,
  .legal-shell {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    padding: 50px 0 44px;
  }

  h1 {
    font-size: clamp(2.65rem, 13.5vw, 4.05rem);
  }

  .button {
    width: 100%;
  }

  .button {
    justify-content: center;
  }

  .mini-ledger,
  .category-grid,
  .workflow-list,
  .table-row {
    grid-template-columns: 1fr;
  }

  .curator-panel {
    justify-items: center;
  }

  .photo-frame {
    width: min(210px, 82vw);
  }

  .frame-mat {
    min-height: 190px;
  }

  .curator-signature h2 {
    font-size: clamp(1.9rem, 10vw, 2.8rem);
  }

  .category-card,
  .category-card-large {
    min-height: 360px;
    grid-column: auto;
    grid-row: auto;
  }

  .photo-section,
  .notes-section,
  .shortlist-section,
  .workflow-section {
    padding: 46px 0;
  }

  .section-heading h2,
  .workflow-copy h2 {
    font-size: clamp(2.2rem, 12vw, 3.5rem);
  }

  .site-footer {
    padding-bottom: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
