/* ==========================================================================
   You & Co — AI Digital Art Studio
   Hand-written static stylesheet. No framework runtime.
   ========================================================================== */

:root {
  --ink: #0b0a09;
  --ink-soft: #141211;
  --ink-line: #2a2622;
  --ivory: #f2ece3;
  --ivory-dim: #a79e92;
  --ivory-faint: #6e665c;
  --copper: #c4693c;
  --copper-soft: #e0a27a;
  --paper: #ede7dd;
  --paper-ink: #17130f;

  --shell: 1320px;
  --gutter: 24px;
  --header-h: 64px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

:where(section, main)[id] {
  scroll-margin-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
p,
figure,
dl,
dd,
blockquote {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

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

img {
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--copper);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--ivory);
  color: var(--ink);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  transition: transform 160ms ease;
}

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

.studio-shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.label-caps {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}

.rule {
  height: 1px;
  width: 100%;
  background: var(--ink-line);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
  transition:
    background-color 200ms var(--ease),
    border-color 200ms var(--ease),
    color 200ms var(--ease);
}

.btn--solid {
  background: var(--ivory);
  color: var(--ink);
}

.btn--solid:hover {
  background: var(--copper-soft);
}

.btn--ghost {
  border: 1px solid rgba(242, 236, 227, 0.3);
  color: var(--ivory);
}

.btn--ghost:hover {
  border-color: rgba(242, 236, 227, 0.7);
}

.btn--dark {
  background: var(--paper-ink);
  color: var(--paper);
}

.btn--dark:hover {
  background: #2c2118;
}

.btn--outline-dark {
  border: 1px solid rgba(23, 19, 15, 0.25);
  color: var(--paper-ink);
}

.btn--outline-dark:hover {
  border-color: rgba(23, 19, 15, 0.6);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--copper);
  color: var(--copper-soft);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 200ms var(--ease);
}

.text-link:hover {
  color: var(--ivory);
}

.text-link--muted {
  border-bottom: 0;
  color: var(--ivory-dim);
}

.text-link--muted:hover {
  color: var(--ivory);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(11, 10, 9, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition:
    background-color 300ms var(--ease),
    border-color 300ms var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--ink-line);
  background: var(--ink);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex: 0 0 auto;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ivory);
}

.brand__tag {
  display: none;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-faint);
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--ivory-dim);
  transition: color 200ms var(--ease);
}

.nav-link:hover {
  color: var(--ivory);
}

.tip-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 16px;
  border: 1px solid rgba(242, 236, 227, 0.25);
  color: var(--ivory);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition:
    border-color 200ms var(--ease),
    color 200ms var(--ease);
}

.tip-link:hover {
  border-color: var(--copper);
  color: var(--copper-soft);
}

.tip-link svg {
  width: 14px;
  height: 14px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(242, 236, 227, 0.2);
  background: rgba(11, 10, 9, 0.25);
}

.lang-switch__btn {
  min-height: 32px;
  padding: 6px 9px;
  color: var(--ivory-faint);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.lang-switch__btn:hover {
  color: var(--ivory);
}

.lang-switch__btn[aria-pressed="true"] {
  background: rgba(224, 162, 122, 0.12);
  color: var(--copper-soft);
}

.lang-switch__sep {
  width: 1px;
  height: 14px;
  background: rgba(242, 236, 227, 0.2);
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 8px;
  border: 1px solid rgba(242, 236, 227, 0.2);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--ivory);
  transition:
    transform 200ms var(--ease),
    opacity 200ms var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 auto;
  z-index: 39;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 20px var(--gutter) 24px;
  border-bottom: 1px solid var(--ink-line);
  background: var(--ink);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid rgba(42, 38, 34, 0.7);
  color: var(--ivory-dim);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mobile-nav__link:hover {
  color: var(--ivory);
}

.mobile-nav .tip-link {
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero__stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 560px;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.hero__shade-h {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    #0b0a09 4%,
    rgba(11, 10, 9, 0.92) 28%,
    rgba(11, 10, 9, 0.62) 52%,
    rgba(11, 10, 9, 0.12) 78%
  );
}

.hero__shade-b {
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(
    180deg,
    rgba(11, 10, 9, 0) 0%,
    #0b0a09 92%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 112px;
  padding-bottom: 56px;
}

.hero__content-inner {
  max-width: 720px;
  animation: fade-rise 900ms var(--ease) both;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--copper);
  flex: 0 0 auto;
}

.hero h1 {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: clamp(40px, 7.2vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--ivory);
}

.hero h1 em {
  font-style: italic;
  color: var(--copper-soft);
}

.hero__sep {
  color: var(--ivory-faint);
}

.hero__lead {
  margin-top: 28px;
  max-width: 46ch;
  color: var(--ivory-dim);
  font-size: 17px;
  line-height: 1.65;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 36px;
}

.practices {
  position: relative;
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
  background: rgba(11, 10, 9, 0.92);
}

.practices__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  padding-block: 16px;
}

.practices__label {
  color: var(--ivory-faint);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.practices__item {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ivory-dim);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.practices__sep {
  display: none;
  width: 1px;
  height: 12px;
  background: var(--ink-line);
}

/* ==========================================================================
   Section headers
   ========================================================================== */

.section {
  padding-block: 96px;
}

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

.section-head__row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 24px;
}

.section-head__left {
  max-width: 100%;
}

.section-head__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-head__index {
  color: var(--ivory-faint);
}

.section-head__line {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--ink-line);
}

.section-head h2 {
  margin-top: 16px;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.04;
  text-wrap: balance;
  color: var(--ivory);
}

.section-head h2 em {
  font-style: italic;
  color: var(--ivory-dim);
}

.section-head__lead {
  max-width: 36rem;
  color: var(--ivory-dim);
  font-size: 16px;
  line-height: 1.7;
  text-wrap: pretty;
}

/* ==========================================================================
   About
   ========================================================================== */

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  margin-top: 48px;
}

.about__copy p:first-child {
  color: var(--ivory);
  font-size: 19px;
  line-height: 1.65;
  text-wrap: pretty;
}

.about__copy p + p {
  margin-top: 24px;
  max-width: 62ch;
  color: var(--ivory-dim);
  font-size: 16px;
  line-height: 1.75;
}

.about__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 40px;
  margin-top: 40px;
}

.about__facts {
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
}

.about__fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
}

.about__fact + .about__fact {
  border-top: 1px solid var(--ink-line);
}

.about__fact dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}

.about__fact dd {
  color: var(--ivory);
  font-size: 14px;
  text-align: right;
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery-toolbar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 48px;
}

.filter-group {
  display: flex;
  gap: 4px;
  margin-inline: -4px;
  padding-bottom: 2px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.filter-group::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  position: relative;
  flex: 0 0 auto;
  padding: 10px 16px;
  color: var(--ivory-faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  scroll-snap-align: start;
  transition: color 200ms var(--ease);
}

.filter-btn:hover {
  color: var(--ivory-dim);
}

.filter-btn[aria-pressed="true"] {
  color: var(--ivory);
}

.filter-btn sup {
  margin-left: 4px;
  font-size: 9px;
  color: var(--ivory-faint);
  font-variant-numeric: tabular-nums;
  vertical-align: super;
}

.filter-btn__bar {
  position: absolute;
  right: 12px;
  bottom: 0;
  left: 12px;
  height: 2px;
  background: var(--copper);
  opacity: 0;
  transition: opacity 200ms var(--ease);
}

.filter-btn[aria-pressed="true"] .filter-btn__bar {
  opacity: 1;
}

.gallery-count {
  color: var(--ivory-faint);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.gallery-toolbar .rule {
  margin-top: 4px;
}

.masonry {
  margin-top: 32px;
  columns: 1;
  column-gap: 18px;
  column-fill: balance;
}

.art-tile {
  break-inside: avoid;
  margin-bottom: 26px;
}

.art-tile__button {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
}

.art-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--ink-line);
  background: var(--ink-soft);
}

.art-frame--portrait {
  aspect-ratio: 3 / 4;
}

.art-frame--landscape {
  aspect-ratio: 4 / 3;
}

.art-frame--square {
  aspect-ratio: 1 / 1;
}

.art-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 900ms var(--ease),
    filter 500ms ease;
}

.art-tile__button:hover .art-frame img,
.art-tile__button:focus-visible .art-frame img {
  transform: scale(1.025);
  filter: brightness(1.06);
}

.art-caption {
  display: block;
  padding-top: 12px;
}

.art-caption__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.art-caption__title {
  color: var(--ivory);
  font-size: 15px;
  font-weight: 500;
  transition: color 200ms var(--ease);
}

.art-tile__button:hover .art-caption__title {
  color: var(--copper-soft);
}

.art-caption__year {
  color: var(--ivory-faint);
  font-family: var(--font-display);
  font-size: 13px;
  font-style: italic;
}

.art-caption__meta {
  display: block;
  margin-top: 4px;
  color: var(--ivory-dim);
  font-size: 12px;
}

.gallery-note {
  max-width: 42rem;
  margin-top: 24px;
  color: var(--ivory-faint);
  font-size: 13px;
  line-height: 1.7;
}

.gallery-empty {
  margin-top: 64px;
  color: var(--ivory-dim);
}

.gallery-empty button {
  color: var(--copper-soft);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==========================================================================
   Lightbox
   ========================================================================== */

.art-dialog {
  width: min(1120px, 94vw);
  max-width: none;
  max-height: 90vh;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ivory);
}

.art-dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
}

.art-dialog__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--ink-line);
  background: var(--ink-soft);
}

.art-dialog__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ink-line);
  background: rgba(11, 10, 9, 0.82);
  color: var(--ivory);
  transition:
    background-color 200ms ease,
    border-color 200ms ease;
}

.art-dialog__close:hover {
  border-color: var(--copper);
  background: var(--ink);
}

.art-dialog__close svg {
  width: 16px;
  height: 16px;
}

.art-dialog__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
  padding: 12px;
  background: var(--ink);
}

.art-dialog__image {
  width: auto;
  max-width: 100%;
  max-height: 62vh;
  object-fit: contain;
}

.art-dialog__nav {
  position: absolute;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(242, 236, 227, 0.25);
  border-radius: 999px;
  background: rgba(11, 10, 9, 0.7);
  color: var(--ivory);
  transform: translateY(-50%);
  transition:
    border-color 200ms ease,
    color 200ms ease;
}

.art-dialog__nav:hover {
  border-color: var(--copper);
  color: var(--copper-soft);
}

.art-dialog__nav:disabled {
  opacity: 0.3;
  cursor: default;
}

.art-dialog__nav--prev {
  left: 16px;
}

.art-dialog__nav--next {
  right: 16px;
}

.art-dialog__nav svg {
  width: 16px;
  height: 16px;
}

.art-dialog__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  border-top: 1px solid var(--ink-line);
}

.art-dialog__category {
  color: var(--ivory-dim);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.art-dialog__title {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.08;
  color: var(--ivory);
}

.art-dialog__desc {
  color: var(--ivory-dim);
  font-size: 15px;
  line-height: 1.7;
}

.art-dialog__meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 16px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--ink-line);
  font-size: 12px;
}

.art-dialog__meta dt {
  color: var(--ivory-faint);
}

.art-dialog__meta dd {
  color: var(--ivory-dim);
  text-align: right;
}

.art-dialog__note {
  margin-top: auto;
  color: var(--ivory-faint);
  font-size: 12px;
  line-height: 1.7;
}

.art-dialog__download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 20px;
  border: 1px solid rgba(242, 236, 227, 0.25);
  color: var(--ivory);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    border-color 200ms ease,
    color 200ms ease;
}

.art-dialog__download:hover {
  border-color: var(--copper);
  color: var(--copper-soft);
}

/* ==========================================================================
   Support / payment
   ========================================================================== */

.support__head {
  max-width: 42rem;
}

.support__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(23, 19, 15, 0.55);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.support__line {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: rgba(23, 19, 15, 0.25);
}

.section--paper .support__eyebrow {
  color: rgba(23, 19, 15, 0.55);
}

.support__head h2 {
  margin-top: 16px;
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.02;
  text-wrap: balance;
  color: var(--paper-ink);
}

.support__head h2 em {
  font-style: italic;
}

.support__lead {
  margin-top: 24px;
  max-width: 62ch;
  color: rgba(23, 19, 15, 0.75);
  font-size: 17px;
  line-height: 1.7;
}

.support__thanks {
  margin-top: 16px;
  color: var(--paper-ink);
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
}

.support__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(23, 19, 15, 0.15);
}

.amount-label {
  color: rgba(23, 19, 15, 0.55);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.amount-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.amount-btn {
  min-width: 92px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid rgba(23, 19, 15, 0.25);
  color: var(--paper-ink);
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition:
    background-color 200ms var(--ease),
    border-color 200ms var(--ease),
    color 200ms var(--ease);
}

.amount-btn:hover {
  border-color: rgba(23, 19, 15, 0.6);
}

.amount-btn[aria-pressed="true"] {
  border-color: var(--paper-ink);
  background: var(--paper-ink);
  color: var(--paper);
}

.custom-label {
  display: block;
  margin-top: 24px;
  color: rgba(23, 19, 15, 0.65);
  font-size: 12px;
  font-weight: 500;
}

.custom-input {
  display: block;
  width: 100%;
  max-width: 240px;
  height: 48px;
  margin-top: 8px;
  padding: 0 16px;
  border: 1px solid rgba(23, 19, 15, 0.25);
  background: transparent;
  color: var(--paper-ink);
  font-size: 15px;
}

.custom-input::placeholder {
  color: rgba(23, 19, 15, 0.35);
}

.custom-input:focus {
  border-color: var(--paper-ink);
  outline: none;
}

.custom-input:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

.support-help {
  max-width: 46ch;
  margin-top: 16px;
  color: rgba(23, 19, 15, 0.55);
  font-size: 12px;
  line-height: 1.7;
}

.support-help--tax {
  margin-top: 8px;
}

.support-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid rgba(23, 19, 15, 0.2);
}

.support-box__label {
  color: rgba(23, 19, 15, 0.55);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.support-box__amount {
  margin-top: 8px;
  color: var(--paper-ink);
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.support-box__desc {
  margin-top: 16px;
  color: rgba(23, 19, 15, 0.6);
  font-size: 12px;
  line-height: 1.7;
}

.support-form {
  margin-top: 32px;
}

.support-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 14px 24px;
  background: var(--paper-ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 200ms var(--ease);
}

.support-cta:hover {
  background: #2c2118;
}

.support-cta svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.support-status {
  min-height: 40px;
  margin-top: 16px;
  color: rgba(23, 19, 15, 0.7);
  font-size: 12px;
  line-height: 1.7;
}

.support-status a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-after {
  margin-top: 4px;
  color: rgba(23, 19, 15, 0.6);
  font-size: 12px;
  line-height: 1.7;
}

.support-after a {
  color: var(--paper-ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(23, 19, 15, 0.3);
  text-underline-offset: 4px;
}

.support-after a:hover {
  text-decoration-color: var(--paper-ink);
}

.support-agree {
  margin-top: 12px;
  color: rgba(23, 19, 15, 0.55);
  font-size: 11px;
  line-height: 1.7;
}

.support-agree a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-noscript {
  margin-top: 16px;
  padding: 12px 16px;
  border: 1px solid rgba(23, 19, 15, 0.2);
  color: rgba(23, 19, 15, 0.7);
  font-size: 12px;
  line-height: 1.7;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--ink-line);
  background: var(--ink);
}

.footer-main {
  padding-block: 56px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-brand__name {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
  color: var(--ivory);
}

.footer-brand__name em {
  color: var(--copper-soft);
  font-style: italic;
}

.footer-brand__sep {
  color: var(--ivory-faint);
}

.footer-brand__desc {
  max-width: 24rem;
  margin-top: 12px;
  color: var(--ivory-dim);
  font-size: 13px;
  line-height: 1.7;
}

.footer-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

.footer-info__label {
  color: var(--ivory-dim);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-contact {
  display: inline-block;
  margin-top: 12px;
  color: var(--ivory);
  font-size: 14px;
  transition: color 200ms ease;
  overflow-wrap: anywhere;
}

.footer-contact:hover {
  color: var(--copper-soft);
}

.footer-address {
  margin-top: 12px;
  color: var(--ivory-dim);
  font-size: 14px;
  font-style: normal;
  line-height: 1.7;
}

.footer-rule {
  margin-top: 48px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  margin-top: 24px;
}

.footer-legal__label {
  color: var(--ivory-faint);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-legal a {
  color: var(--ivory-dim);
  font-size: 12px;
  transition: color 200ms ease;
}

.footer-legal a:hover {
  color: var(--copper-soft);
}

.footer-copyright {
  margin-top: 24px;
  color: var(--ivory-faint);
  font-size: 12px;
  line-height: 1.7;
}

/* ==========================================================================
   Thank-you page
   ========================================================================== */

.thanks-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.thanks-header {
  border-bottom: 1px solid var(--ink-line);
}

.thanks-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.thanks-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.thanks-back {
  display: none;
  color: var(--ivory-dim);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 200ms ease;
}

.thanks-back:hover {
  color: var(--ivory);
}

.thanks-main {
  flex: 1;
  padding-block: 64px 96px;
}

.thanks-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
}

.thanks-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.thanks-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--copper);
}

.thanks-main h1 {
  margin-top: 24px;
  font-size: clamp(40px, 6.4vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.thanks-main h1 em {
  color: var(--copper-soft);
  font-style: italic;
}

.thanks-lead {
  max-width: 54ch;
  margin-top: 28px;
  color: var(--ivory-dim);
  font-size: 17px;
  line-height: 1.7;
  text-wrap: pretty;
}

.thanks-note {
  max-width: 54ch;
  margin-top: 20px;
  color: var(--ivory-faint);
  font-size: 15px;
  line-height: 1.7;
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 40px;
}

.thanks-question {
  margin-top: 32px;
  color: var(--ivory-dim);
  font-size: 13px;
}

.thanks-question a {
  color: var(--copper-soft);
  text-decoration: underline;
  text-decoration-color: rgba(196, 105, 60, 0.4);
  text-underline-offset: 4px;
}

.thanks-question a:hover {
  color: var(--ivory);
}

.thanks-aside {
  align-self: start;
  border: 1px solid var(--ink-line);
  background: var(--ink-soft);
}

.thanks-aside__head {
  padding: 24px;
  border-bottom: 1px solid var(--ink-line);
}

.thanks-aside__amount {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 1;
  color: var(--ivory);
  font-variant-numeric: tabular-nums;
}

.thanks-aside__note {
  margin-top: 12px;
  color: var(--ivory-dim);
  font-size: 12px;
  line-height: 1.7;
}

.thanks-details {
  padding-inline: 24px;
}

.thanks-details__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
  font-size: 12px;
}

.thanks-details__row + .thanks-details__row {
  border-top: 1px solid var(--ink-line);
}

.thanks-details__row dt {
  color: var(--ivory-faint);
}

.thanks-details__row dd {
  color: var(--ivory-dim);
  text-align: right;
}

.thanks-details__row dd.truncate {
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}

.thanks-finance {
  padding: 24px;
  border-top: 1px solid var(--ink-line);
}

.thanks-finance ul {
  margin-top: 16px;
  list-style: none;
}

.thanks-finance li + li {
  margin-top: 16px;
}

.thanks-finance strong {
  display: block;
  color: var(--ivory);
  font-size: 12px;
  font-weight: 600;
}

.thanks-finance span {
  display: block;
  margin-top: 4px;
  color: var(--ivory-faint);
  font-size: 12px;
  line-height: 1.7;
}

.thanks-footer {
  border-top: 1px solid var(--ink-line);
  padding-block: 24px;
}

.thanks-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ivory-faint);
  font-size: 12px;
  line-height: 1.7;
}

.thanks-footer a {
  color: var(--ivory-dim);
}

.thanks-footer a:hover {
  color: var(--copper-soft);
}

.thanks-footer__address {
  margin-top: 4px;
  color: var(--ivory-faint);
  font-style: normal;
  line-height: 1.7;
}

/* ==========================================================================
   Legal pages
   ========================================================================== */

.legal-header {
  border-bottom: 1px solid var(--ink-line);
}

.legal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.legal-back {
  color: var(--ivory-dim);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 200ms ease;
}

.legal-back:hover {
  color: var(--ivory);
}

.legal-main {
  padding-block: 72px 96px;
}

.legal-doc {
  max-width: 760px;
}

.legal-eyebrow {
  color: var(--copper-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.legal-doc h1 {
  margin-top: 16px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ivory);
}

.legal-doc h1 em {
  color: var(--copper-soft);
  font-style: italic;
}

.legal-intro {
  margin-top: 24px;
  color: var(--ivory-dim);
  font-size: 17px;
  line-height: 1.75;
}

.legal-body {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--ink-line);
}

.legal-body p {
  color: var(--ivory-dim);
  font-size: 16px;
  line-height: 1.85;
}

.legal-body p + p,
.legal-body p + ol,
.legal-body ol + p {
  margin-top: 20px;
}

.legal-body ol {
  padding-left: 1.5rem;
  list-style: decimal;
}

.legal-body li {
  padding-left: 8px;
  color: var(--ivory-dim);
  font-size: 16px;
  line-height: 1.85;
}

.legal-body li + li {
  margin-top: 16px;
}

.legal-body strong {
  color: var(--ivory);
  font-weight: 600;
}

.legal-body a {
  color: var(--copper-soft);
  text-decoration: underline;
  text-decoration-color: rgba(196, 105, 60, 0.4);
  text-underline-offset: 4px;
}

.legal-body a:hover {
  color: var(--ivory);
}

.legal-contact {
  margin-top: 40px;
  padding: 24px;
  border: 1px solid var(--ink-line);
  background: var(--ink-soft);
}

.legal-contact p {
  color: var(--ivory-dim);
  font-size: 13px;
  line-height: 1.7;
}

.legal-contact a {
  display: inline-block;
  margin-top: 6px;
  color: var(--copper-soft);
  font-size: 14px;
}

.legal-contact a:hover {
  color: var(--ivory);
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-line);
}

.legal-nav a {
  color: var(--ivory-faint);
  font-size: 12px;
  transition: color 200ms ease;
}

.legal-nav a:hover,
.legal-nav a[aria-current="page"] {
  color: var(--copper-soft);
}

.legal-footer {
  border-top: 1px solid var(--ink-line);
  padding-block: 32px;
}

.legal-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--ivory-faint);
  font-size: 12px;
  line-height: 1.7;
}

.legal-footer__inner a {
  color: var(--ivory-dim);
}

.legal-footer__inner a:hover {
  color: var(--copper-soft);
}

.legal-footer__address {
  margin-top: 8px;
  color: var(--ivory-faint);
  font-style: normal;
  line-height: 1.7;
}

/* ==========================================================================
   Animation
   ========================================================================== */

@keyframes fade-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 767px) {
  .hero__shade-h {
    background: linear-gradient(
      180deg,
      rgba(11, 10, 9, 0.2) 0%,
      rgba(11, 10, 9, 0.58) 32%,
      rgba(11, 10, 9, 0.88) 64%,
      #0b0a09 100%
    );
  }
}

@media (min-width: 640px) {
  .brand__tag {
    display: inline;
  }

  .practices__sep {
    display: block;
  }

  .masonry {
    columns: 2;
  }

  .footer-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .thanks-header__actions {
    gap: 20px;
  }

  .thanks-back {
    display: inline;
  }

  .thanks-footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  :root {
    --header-h: 74px;
  }

  .hero__stage {
    min-height: 640px;
  }

  .hero__content {
    padding-top: 128px;
    padding-bottom: 80px;
  }

  .hero__lead {
    font-size: 19px;
  }

  .section {
    padding-block: 128px;
  }

  .section-head__row {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 64px;
  }

  .section-head__left {
    max-width: 56%;
  }

  .section-head__lead {
    max-width: 38%;
    padding-top: 32px;
    font-size: 17px;
  }

  .about__grid {
    gap: 64px;
    margin-top: 48px;
  }

  .about__copy p:first-child {
    font-size: 22px;
    line-height: 1.6;
  }

  .about__copy p + p {
    font-size: 17px;
  }

  .gallery-toolbar {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-top: 48px;
  }

  .gallery-toolbar .rule {
    flex-basis: 100%;
  }

  .support-box {
    padding: 32px;
  }

  .footer-top {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 48px;
  }

  .footer-info {
    gap: 64px;
  }

  .footer-main {
    padding-block: 64px;
  }

  .thanks-main {
    padding-block: 80px 112px;
  }

  .thanks-aside__head {
    padding: 28px;
  }

  .thanks-details {
    padding-inline: 28px;
  }

  .thanks-finance {
    padding: 28px;
  }

  .legal-main {
    padding-block: 96px 128px;
  }

  .legal-footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 960px) {
  .desktop-nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  .hero__stage {
    min-height: 76vh;
  }
}

@media (min-width: 1024px) {
  :root {
    --gutter: 48px;
  }

  .masonry {
    columns: 3;
  }

  .about__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 80px;
  }

  .support__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    gap: 64px;
  }

  .art-dialog__panel {
    grid-template-columns: minmax(0, 1fr) 320px;
    overflow: hidden;
  }

  .art-dialog__media {
    min-height: 70vh;
  }

  .art-dialog__info {
    overflow-y: auto;
    border-top: 0;
    border-left: 1px solid var(--ink-line);
  }

  .thanks-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 80px;
  }
}

@media (min-width: 1440px) {
  .hero__content-inner {
    max-width: 760px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  .site-header,
  .legal-header,
  .site-footer,
  .legal-footer,
  .legal-nav {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  .legal-doc h1,
  .legal-doc h1 em,
  .legal-body p,
  .legal-body li {
    color: #000;
  }
}
