:root {
  color-scheme: dark;
  --bg: #111713;
  --bg-deep: #0b100d;
  --panel: #18201b;
  --panel-soft: #1d2721;
  --sage: #24382e;
  --sage-deep: #315144;
  --sage-ink: #a7d2b9;
  --apricot: #4b3024;
  --apricot-strong: #e59862;
  --apricot-ink: #f0b78f;
  --text: #f2eee6;
  --muted: #aebbb3;
  --line: rgba(207, 224, 212, 0.14);
  --line-strong: rgba(207, 224, 212, 0.28);
  --accent: #e59862;
  --accent-ink: #151a17;
  --focus: #f0b78f;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 14px 36px rgba(0, 0, 0, 0.28);
  --radius: 28px;
  --radius-sm: 17px;
  --rail: 248px;
  --content-max: 1480px;
  --page-gutter: clamp(24px, 3.4vw, 56px);
  --page-top: clamp(42px, 5.2vw, 72px);
  --section-space: clamp(72px, 8vw, 112px);
  --layout-gap: clamp(28px, 4.5vw, 64px);
  --panel-pad: clamp(24px, 3vw, 36px);
  --sticky-top: 24px;
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
  background: var(--bg);
  scrollbar-color: var(--sage-deep) var(--bg-deep);
}

body {
  margin: 0;
  min-width: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 0%, rgba(229, 152, 98, 0.14), transparent 32rem),
    radial-gradient(circle at 28% 24%, rgba(91, 137, 111, 0.18), transparent 38rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  z-index: 1;
  animation: mirayami-page-out 160ms ease-in both;
  mix-blend-mode: normal;
}

::view-transition-new(root) {
  z-index: 2;
  animation: mirayami-page-in 340ms var(--ease-smooth) both;
  mix-blend-mode: normal;
}

@keyframes mirayami-page-out {
  to { opacity: 0; transform: translateY(-4px) scale(.998); }
}

@keyframes mirayami-page-in {
  from { opacity: 0; transform: translateY(8px) scale(.998); }
}

@keyframes mirayami-fallback-in {
  from { opacity: 0; }
}

@keyframes mirayami-fallback-out {
  to { opacity: 0; }
}

html.page-transition-fallback.page-is-entering body {
  animation: mirayami-fallback-in 220ms var(--ease-smooth) both;
}

html.page-transition-fallback body.fallback-exit-active {
  pointer-events: none;
  animation: mirayami-fallback-out 120ms ease-in both;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(207, 224, 212, 0.12) 0.7px, transparent 0.7px);
  background-size: 21px 21px;
  opacity: 0.2;
  mask-image: linear-gradient(180deg, #000, transparent 76%);
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
p { overflow-wrap: anywhere; }
h1, h2, h3, h4 {
  margin: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

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

/* Fixed editorial rail */

.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 50;
  width: var(--rail);
  min-height: 100svh;
  padding: 30px 24px 24px;
  border-right: 1px solid var(--line);
  background: rgba(24, 32, 27, 0.92);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  backdrop-filter: blur(22px) saturate(130%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}

.sidebar > div:first-child {
  min-width: 0;
  display: grid;
  gap: 42px;
}

.brand { min-width: 0; }

.brand__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 11px;
  color: var(--sage-ink);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.brand__mark {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--apricot);
  color: var(--apricot-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.84rem;
  letter-spacing: 0;
}

.brand__name {
  margin: 0;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.brand__sub {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.nav {
  display: grid;
  gap: 3px;
}

.nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 45px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.nav a > span:first-child {
  width: 7px;
  height: 7px;
  overflow: hidden;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  color: transparent;
}

.nav a > span:last-child {
  position: relative;
}

.nav a:hover,
.nav a:focus-visible {
  transform: translateX(3px);
  border-color: var(--line);
  background: rgba(49, 81, 68, 0.5);
  color: var(--text);
}

.nav .active {
  border-color: var(--line-strong);
  background: var(--sage);
  color: var(--sage-ink);
}

.nav .active > span:last-child::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.sidebar__footer {
  display: grid;
  gap: 12px;
}

.status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--sage);
  color: var(--sage-ink);
  font-size: 0.72rem;
  font-weight: 700;
}

.status > span:first-child {
  width: 7px;
  height: 7px;
  overflow: hidden;
  border-radius: 50%;
  background: #6a9b7f;
  color: transparent;
  box-shadow: 0 0 0 4px rgba(106, 155, 127, 0.14);
}

.chip {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.primary-btn,
.ghost-btn,
.text-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.primary-btn,
.ghost-btn { padding: 0 20px; }

.primary-btn {
  background: linear-gradient(135deg, #44705a, #365846);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
  color: var(--text);
}

.ghost-btn {
  border-color: var(--line-strong);
  background: rgba(24, 32, 27, 0.72);
  color: var(--text);
}

.text-link {
  min-height: 42px;
  padding: 0;
  border-radius: 0;
  color: var(--sage-ink);
}

.text-link::after { content: none; }

.primary-btn:hover,
.ghost-btn:hover,
.primary-btn:focus-visible,
.ghost-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(59, 80, 68, 0.17);
}

.content {
  grid-column: 2;
  width: min(100%, var(--content-max));
  min-width: 0;
  margin: 0 auto;
  padding: 24px var(--page-gutter) 48px;
}

/* Shared editorial typography */

.eyebrow,
.section-kicker,
.faq-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--apricot-ink);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow > span:first-child,
.section-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  overflow: hidden;
  background: currentColor;
  color: transparent;
}

.section {
  min-width: 0;
  margin-top: var(--section-space);
}

.content > .section:first-child { margin-top: 0; }

.section__head {
  display: grid;
  grid-template-columns: minmax(28px, 1fr) minmax(0, auto) minmax(28px, 1fr);
  align-items: center;
  gap: clamp(14px, 2.5vw, 34px);
  margin-bottom: 26px;
  text-align: center;
}

.section__head::before {
  content: "";
  height: 1px;
  background: var(--line-strong);
}

.section__head h1,
.section__head h2,
.page-title,
.hero__title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.055em;
}

.section__head h1,
.section__head h2,
.page-title {
  grid-column: 2;
  max-width: 16ch;
  font-size: clamp(2.5rem, 5.4vw, 5.2rem);
  line-height: 0.96;
  text-align: center;
}

.rule {
  grid-column: 3;
  height: 1px;
  margin: 0;
  background: var(--line-strong);
}

.section__lede,
.lede {
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.8;
}

.section__lede { margin: 0 auto 38px; text-align: center; }
.page-intro h1 + .section__lede,
.process-layout__intro h2 + .section__lede { margin-top: 20px; }
.lede { margin: 24px 0 0; }

.quote {
  max-width: 50ch;
  margin: 23px 0 0;
  padding: 11px 0 11px 18px;
  border-left: 2px solid rgba(217, 130, 73, 0.48);
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.65;
}

.page-intro {
  position: relative;
  min-width: 0;
  padding-top: var(--page-top);
}

.page-intro--editorial {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--layout-gap);
  align-items: end;
}

.page-intro--editorial > * { min-width: 0; }

.page-intro--editorial .page-intro__copy > .section__head { margin-top: 15px; }

.page-intro--editorial .page-intro__copy h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5.4vw, 5.2rem);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -.055em;
  text-align: center;
}

.page-intro--editorial .page-intro__note {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-self: end;
  align-items: center;
  text-align: center;
  padding: 22px 0 0;
  border-top: 1px solid var(--line-strong);
  border-left: 0;
}

.page-intro--editorial .eyebrow { justify-content: center; }

.page-intro--editorial .page-intro__note p { margin: 0; }
.page-intro--editorial .page-intro__note a { justify-self: end; color: var(--sage-ink); font-weight: 800; }
.page-intro--editorial .page-intro__note .status { justify-self: start; }

.page-intro__head,
.editorial-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.58fr);
  gap: clamp(30px, 7vw, 110px);
  align-items: end;
  margin-bottom: clamp(46px, 7vw, 90px);
}

.page-intro__copy { max-width: 60ch; }
.page-intro--editorial .page-intro__copy,
.page-intro--editorial .page-intro__note { grid-column: 1 / -1; max-width: none; min-width: 0; }
.page-intro--editorial .page-intro__copy { text-align: center; }

.page-intro__note {
  max-width: 36ch;
  padding: 22px 0 8px 24px;
  border-left: 1px solid var(--line-strong);
  color: var(--muted);
  line-height: 1.7;
}

/* CSS artwork system */

.art-panel,
.portrait {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(207, 224, 212, 0.2);
  background:
    radial-gradient(circle at 22% 15%, rgba(242, 226, 207, 0.4), transparent 22%),
    radial-gradient(circle at 76% 18%, rgba(229, 152, 98, 0.38), transparent 30%),
    linear-gradient(145deg, #273a30 0%, #49362d 54%, #203027 100%);
  isolation: isolate;
}

.art-panel::before,
.portrait::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: min(58%, 470px);
  aspect-ratio: 0.82;
  border-radius: 48% 52% 43% 57% / 36% 38% 62% 64%;
  background:
    radial-gradient(circle at 43% 25%, rgba(255, 247, 236, 0.92) 0 6%, transparent 7%),
    radial-gradient(circle at 56% 26%, #765645 0 5%, transparent 6%),
    radial-gradient(ellipse at 50% 38%, #e3ad8d 0 25%, #c98462 26% 34%, transparent 35%),
    radial-gradient(ellipse at 50% 79%, #557363 0 49%, transparent 50%);
  filter: drop-shadow(0 34px 40px rgba(59, 75, 66, 0.24));
  transform: translate(-50%, -47%) rotate(-4deg);
}

.art-panel::after,
.portrait::after {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(242, 238, 230, 0.34);
  background:
    linear-gradient(var(--text), var(--text)) left top / 18px 1px no-repeat,
    linear-gradient(var(--text), var(--text)) left top / 1px 18px no-repeat,
    linear-gradient(var(--text), var(--text)) right bottom / 18px 1px no-repeat,
    linear-gradient(var(--text), var(--text)) right bottom / 1px 18px no-repeat;
  opacity: 0.4;
}

.art-panel--portrait {
  background:
    radial-gradient(circle at 25% 14%, rgba(242, 226, 207, 0.38), transparent 20%),
    linear-gradient(155deg, #2b4034 0%, #49362d 56%, #25362c 100%);
}

.art-panel--scene {
  background:
    radial-gradient(circle at 68% 20%, rgba(242, 226, 207, 0.76) 0 4%, transparent 5%),
    linear-gradient(165deg, #263c35 0 42%, #69483b 43% 66%, #1a2d25 67% 100%);
}

.art-panel--scene::before {
  width: min(34%, 300px);
  aspect-ratio: 0.58;
  border-radius: 46% 54% 35% 65%;
  background:
    radial-gradient(ellipse at 50% 22%, #e2aa8a 0 18%, #8f6048 19% 30%, transparent 31%),
    linear-gradient(160deg, transparent 0 34%, #49695d 35% 76%, transparent 77%);
  transform: translate(-38%, -28%) rotate(5deg);
}

.art-panel--design {
  background:
    radial-gradient(circle at 20% 22%, #b66f47 0 12%, transparent 13%),
    radial-gradient(circle at 78% 70%, #5f9275 0 15%, transparent 16%),
    linear-gradient(135deg, #211b18 0 50%, #1f3228 50% 100%);
}

.art-panel--design::before {
  width: min(47%, 360px);
  border-radius: 34% 66% 42% 58%;
  transform: translate(-50%, -50%) rotate(8deg);
}

.art-panel--twilight {
  background:
    radial-gradient(circle at 74% 16%, rgba(242, 226, 207, .62) 0 5%, transparent 6%),
    linear-gradient(155deg, #405a50 0%, #384d4d 43%, #754d40 74%, #17251f 100%);
}

.art-panel--twilight::before {
  background:
    radial-gradient(circle at 43% 25%, rgba(255, 247, 236, 0.92) 0 6%, transparent 7%),
    radial-gradient(circle at 56% 26%, #65483b 0 5%, transparent 6%),
    radial-gradient(ellipse at 50% 38%, #dca486 0 25%, #a86d58 26% 34%, transparent 35%),
    radial-gradient(ellipse at 50% 79%, #354f4a 0 49%, transparent 50%);
}

.art-panel--bloom {
  background:
    radial-gradient(circle at 18% 18%, rgba(242, 238, 230, .35), transparent 18%),
    radial-gradient(circle at 82% 24%, #b96f47 0 8%, transparent 9%),
    radial-gradient(circle at 74% 74%, #c98f6b 0 14%, transparent 15%),
    linear-gradient(145deg, #2c4035 0%, #5a3d31 56%, #20342a 100%);
}

.art-panel--bloom::before { transform: translate(-50%, -47%) rotate(5deg); }

.art-panel__caption,
.art-label {
  position: absolute;
  inset: auto 22px 20px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #fffdf8;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(40, 53, 47, 0.48);
}

/* Artwork-first home */

.editorial-hero,
.hero {
  position: relative;
  min-width: 0;
}

.editorial-hero {
  min-height: calc(100svh - 48px);
  overflow: hidden;
  border-radius: 8px 8px 42px 42px;
  background: var(--sage);
  box-shadow: var(--shadow);
}

.editorial-hero__art,
.editorial-hero > .art-panel {
  position: absolute;
  inset: 0;
  min-height: 100%;
  border: 0;
}

.editorial-hero .art-panel::before {
  left: 50%;
  width: min(48vw, 640px);
}

.editorial-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(34, 49, 41, 0.72) 0%, rgba(34, 49, 41, 0.35) 44%, transparent 72%),
    linear-gradient(0deg, rgba(34, 49, 41, 0.45), transparent 44%);
}

.editorial-hero .hero__copy {
  position: absolute;
  left: 50%;
  bottom: clamp(30px, 7vh, 84px);
  z-index: 4;
  width: min(760px, calc(100% - 144px));
  color: #fffdf8;
  text-align: center;
  transform: translateX(-50%);
}

.editorial-hero .eyebrow { justify-content: center; color: #f7d9c2; }

.hero__title {
  max-width: 12ch;
  margin: 18px auto 0;
  font-size: clamp(4rem, 7.6vw, 7.6rem);
  line-height: 0.88;
}

.editorial-hero .lede { margin-right: auto; margin-left: auto; color: rgba(255, 253, 248, 0.82); }
.editorial-hero .quote {
  margin-right: auto;
  margin-left: auto;
  padding: 14px 0 0;
  border-top: 1px solid rgba(239, 196, 166, .72);
  border-left: 0;
  color: rgba(255, 253, 248, 0.76);
  text-align: center;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.editorial-hero .primary-btn {
  background: var(--apricot-strong);
  box-shadow: 0 14px 34px rgba(25, 40, 32, 0.2);
  color: var(--accent-ink);
}

.editorial-hero .ghost-btn {
  border-color: rgba(255,255,255,.48);
  background: rgba(255,255,255,.1);
  color: #fffdf8;
  backdrop-filter: blur(12px);
}

.editorial-hero__caption {
  position: absolute;
  inset: 22px auto auto 24px;
  z-index: 5;
  display: flex;
  gap: 16px;
  color: rgba(255,253,248,.76);
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.art-index {
  position: absolute;
  top: 22px;
  right: clamp(16px, 2.4vw, 34px);
  z-index: 5;
  display: grid;
  gap: 12px;
  transform: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

.art-index li { margin: 0; }

.art-index button {
  display: flex;
  width: auto;
  min-height: 40px;
  align-items: center;
  justify-content: flex-end;
  flex-direction: row-reverse;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 253, 248, .88);
  cursor: pointer;
}

.art-index button span:first-child {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 253, 248, 0.48);
  border-radius: 50%;
  background: rgba(11, 16, 13, .44);
  font-size: 0.7rem;
  font-weight: 800;
}

.art-index button span:last-child {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  white-space: nowrap;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: max-width 180ms ease, opacity 180ms ease;
}

.art-index button:hover span:last-child,
.art-index button:focus-visible span:last-child,
.art-index button.active span:last-child { max-width: 120px; opacity: 1; }

.art-index button.active span:first-child { background: var(--apricot-strong); color: var(--accent-ink); }

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(320px, auto);
  gap: 16px;
}

.project-card {
  position: relative;
  min-width: 0;
  min-height: 320px;
  overflow: hidden;
  grid-column: span 1;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.project-card--feature {
  min-height: 620px;
  grid-column: 1 / -1;
  grid-row: auto;
}

.project-card--portrait,
.project-card--landscape { grid-column: span 1; }

.project-card > .art-panel {
  position: absolute;
  inset: 0;
  min-height: 100%;
  border: 0;
}

.project-card__caption,
.project-card__copy,
.project-card__overlay,
.project-card figcaption {
  position: absolute;
  inset: auto 16px 16px;
  z-index: 5;
  padding: 17px 18px;
  border: 1px solid rgba(207, 224, 212, .22);
  border-radius: 16px;
  background: rgba(24, 32, 27, 0.9);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  transform: translateY(5px);
  transition: transform 220ms ease, background 220ms ease;
}

.project-card:hover .project-card__caption,
.project-card:hover .project-card__copy,
.project-card:hover .project-card__overlay,
.project-card:hover figcaption { transform: translateY(0); background: rgba(29, 39, 33, 0.97); }

.project-card__meta,
.project-card small {
  color: var(--apricot-ink);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-card__caption {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 14px;
}

.project-card__caption strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -.02em;
}

.project-card__caption small { display: block; margin-top: 3px; }
.project-card__number { color: var(--apricot-ink); font-size: .63rem; font-weight: 900; letter-spacing: .12em; }

.project-card h3 {
  margin-top: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.project-card p { margin: 7px 0 0; color: var(--muted); font-size: 0.85rem; line-height: 1.55; }

.process-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--layout-gap);
  align-items: start;
}

.process-layout > :first-child { position: sticky; top: var(--sticky-top); }
.process-layout__intro { text-align: center; }
.process-layout__intro .eyebrow { justify-content: center; }

.process-layout__intro h2 {
  max-width: 11ch;
  margin: 15px auto 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -.05em;
}

.process-timeline {
  position: relative;
  display: grid;
  gap: 0;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 23px;
  bottom: 23px;
  left: 26px;
  width: 1px;
  background: linear-gradient(var(--sage-ink), rgba(167, 210, 185, 0.12));
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 24px;
  padding: 0 0 54px;
}

.process-step:last-child { padding-bottom: 0; }

.process-step__number,
.process-step > :first-child {
  position: relative;
  z-index: 2;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--panel);
  color: var(--apricot-ink);
  font-family: Georgia, "Times New Roman", serif;
}

.process-step h3 {
  margin-top: 3px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  font-weight: 500;
}

.process-step p { max-width: 54ch; margin: 10px 0 0; color: var(--muted); line-height: 1.75; }

.final-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--layout-gap);
  align-items: end;
  padding: var(--panel-pad);
  border: 1px solid var(--line-strong);
  border-radius: 34px;
  background:
    radial-gradient(circle at 94% 8%, rgba(229, 152, 98, 0.2), transparent 26%),
    linear-gradient(135deg, var(--sage), var(--panel));
  box-shadow: var(--shadow-soft);
}

.final-cta > div { min-width: 0; text-align: center; }
.final-cta .eyebrow { justify-content: center; }
.final-cta__action { display: grid; justify-items: center; }

.final-cta::after {
  content: "MY / OPEN";
  position: absolute;
  top: 22px;
  right: 28px;
  color: rgba(167, 210, 185, .52);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: .18em;
}

.final-cta h2 {
  max-width: 14ch;
  margin-inline: auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -.05em;
}

.final-cta p { max-width: 55ch; margin: 18px auto 0; color: var(--muted); line-height: 1.7; }

/* Alternating commission catalogue */

.commission-list {
  display: grid;
  border-top: 1px solid var(--line-strong);
}

.commission-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 510px;
  border-bottom: 1px solid var(--line-strong);
}

.commission-row__art {
  min-height: 430px;
  margin: 28px 0;
  overflow: hidden;
  border-radius: 24px;
}

.commission-row__art > .art-panel { min-height: 100%; height: 100%; border-radius: inherit; }
.commission-row__art.art-panel { height: auto; border-radius: inherit; }

.commission-row__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: var(--panel-pad);
}

.commission-row--reverse .commission-row__art { order: 2; }
.commission-row--reverse .commission-row__content { order: 1; }

.commission-row__number,
.commission-row__eyebrow {
  color: var(--apricot-ink);
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.commission-row__art .commission-row__number,
.commission-row__art-label {
  position: absolute;
  z-index: 4;
  color: rgba(255,253,248,.88);
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(40,53,47,.45);
}

.commission-row__art .commission-row__number { top: 22px; left: 24px; }
.commission-row__art-label { right: 24px; bottom: 22px; }

.commission-row h2,
.commission-row h3 {
  margin-top: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 4.8vw, 4.8rem);
  font-weight: 500;
  line-height: .94;
  letter-spacing: -.05em;
}

.commission-row p { max-width: 55ch; margin: 20px 0 0; color: var(--muted); line-height: 1.75; }

.commission-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0;
}

.commission-facts > div,
.commission-facts li {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, .035);
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.45;
}

.commission-facts strong,
.commission-facts span:first-child {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
  font-size: .72rem;
}

.commission-facts dt { color: var(--muted); font-size: .66rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.commission-facts dd { margin: 5px 0 0; color: var(--text); font-weight: 700; }

.commission-row__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.commission-details { margin-top: 8px; }
.commission-details summary { color: var(--sage-ink); cursor: pointer; font-weight: 800; }
.commission-details > div { padding: 0 0 4px 18px; border-left: 1px solid var(--line-strong); }
.commission-details ul { margin: 14px 0 0; padding-left: 19px; color: var(--muted); line-height: 1.8; }

.commission-compare {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--line);
  box-shadow: var(--shadow-soft);
}

.commission-compare > * {
  min-width: 0;
  padding: var(--panel-pad);
  background: rgba(24, 32, 27, .96);
}

.commission-compare h3 { font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 500; }
.commission-compare p { margin: 10px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.commission-compare__number { display: block; margin-bottom: 22px; color: var(--apricot-ink); font-size: .65rem; font-weight: 900; letter-spacing: .14em; }

/* Shared cards, forms, and builder */

.card,
.panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(24, 32, 27, 0.92);
  box-shadow: var(--shadow-soft);
}

.panel { padding: var(--panel-pad); }
.stack { display: grid; gap: 14px; }
.split { display: grid; grid-template-columns: minmax(260px,.7fr) minmax(0,1.3fr); gap: 22px; align-items: start; }

.info-block {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, rgba(36, 56, 46, .84), rgba(24, 32, 27, .9));
}

.info-block__label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.info-block__value { color: var(--text); line-height: 1.55; }
.info-block__value a { color: var(--apricot-ink); text-decoration: underline; text-underline-offset: 4px; }

.commission-builder {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: var(--layout-gap);
  align-items: start;
}

.builder-form {
  display: grid;
  min-width: 0;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.builder-form > .builder-stage {
  border-width: 0 1px 1px;
  border-radius: 0;
  box-shadow: none;
}

.builder-form > .builder-stage:first-child {
  border-top-width: 1px;
  border-radius: 24px 24px 0 0;
}

.builder-form > .builder-stage:last-of-type { border-radius: 0 0 24px 24px; }
.builder-form__footer { margin-top: 18px; }

.builder-stage {
  display: block;
  min-width: 0;
  margin: 0;
  padding: var(--panel-pad);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 24px;
}

.builder-stage:last-of-type { border-bottom: 0; }

.builder-stage__number {
  display: grid;
  width: 44px;
  height: 44px;
  margin-top: 2px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--sage);
  color: var(--sage-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .82rem;
}

.builder-stage__body { min-width: 0; }

.builder-stage__head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  width: 100%;
  max-width: 100%;
  align-items: start;
  gap: 14px;
  margin: 0 0 22px;
  padding: 0;
  color: var(--text);
}

.builder-stage__head > span:last-child { display: grid; min-width: 0; gap: 4px; }
.builder-stage__head strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 2.5vw, 2.05rem); font-weight: 500; line-height: 1.05; letter-spacing: -.03em; }
.builder-stage__head small { color: var(--muted); font-size: .78rem; font-weight: 500; line-height: 1.45; }
.builder-stage__head h2,
.builder-stage__head h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.7vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -.03em;
}
.builder-stage__head p { margin: 7px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.builder-stage > .choice-grid,
.builder-stage > .field,
.builder-stage > .form-grid { margin-top: 18px; }
.builder-stage > .builder-stage__head + :is(.choice-grid, .field, .form-grid) { margin-top: 0; }
.builder-stage > .check { margin-top: 18px; }
.field__label { display: block; margin-bottom: 8px; color: var(--muted); font-size: .68rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }

form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; min-width: 0; gap: 8px; }

label,
.field-label {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  padding: 14px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(11, 16, 13, 0.7);
  color: var(--text);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

input::placeholder,
textarea::placeholder { color: #909d95; }

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(167, 210, 185, 0.72);
  background: var(--bg-deep);
  box-shadow: 0 0 0 4px rgba(167, 210, 185, 0.11);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

option {
  background: var(--panel);
  color: var(--text);
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  box-shadow: 0 0 0 1000px var(--bg-deep) inset;
}

textarea { min-height: 160px; resize: vertical; }

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

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

.choice-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 94px;
  align-content: center;
  gap: 5px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, .035);
  color: var(--text);
  cursor: pointer;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.choice-card:hover { transform: translateY(-2px); border-color: var(--line-strong); }

.choice-card input {
  position: absolute;
  top: 11px;
  right: 11px;
  width: 16px;
  height: 16px;
  padding: 0;
  accent-color: var(--sage-ink);
}

.choice-card__copy { display: grid; gap: 4px; padding-right: 18px; }
.choice-card__copy strong { color: var(--text); font-size: .84rem; font-weight: 800; }
.choice-card__copy small { color: var(--muted); font-size: .71rem; font-weight: 500; line-height: 1.4; }

.choice-card:has(input:checked) {
  border-color: rgba(167, 210, 185, .58);
  background: var(--sage);
  box-shadow: inset 0 0 0 1px rgba(167, 210, 185, .12);
}

.choice-card:has(input:focus-visible),
.faq details:has(summary:focus-visible) {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.check {
  display: flex;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  line-height: 1.6;
  letter-spacing: 0;
  text-transform: none;
}

.check input { width: 18px; height: 18px; margin-top: 3px; padding: 0; accent-color: var(--sage-ink); }
.form-footer { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.summary,
.request-summary {
  display: grid;
  gap: 14px;
  padding: var(--panel-pad);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background:
    linear-gradient(rgba(24, 32, 27, .92), rgba(24, 32, 27, .92)),
    repeating-linear-gradient(0deg, transparent 0 25px, rgba(167, 210, 185, .09) 26px);
  box-shadow: var(--shadow-soft);
}

.request-summary {
  position: sticky;
  top: var(--sticky-top);
}

.request-summary__record {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--apricot-ink);
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.request-summary__record::before {
  content: none;
}

.request-summary__record strong { display: block; margin-top: 4px; color: var(--text); font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; font-weight: 500; letter-spacing: -.02em; }

.request-summary__sigil {
  width: 62px;
  height: 62px;
  color: var(--sage-ink);
  transform: rotate(var(--sigil-turn, 0deg));
  transition: transform 260ms ease;
}

.request-summary__sigil circle,
.request-summary__sigil path { fill: none; stroke: currentColor; stroke-width: 1.4; transform-origin: center; }
.request-summary__sigil circle:last-child { fill: var(--accent); stroke: none; }
.request-summary__sigil[data-variant="1"] path,
.request-summary__sigil[data-variant="4"] path { stroke-dasharray: 5 4; }
.request-summary__sigil[data-variant="2"] circle:first-child,
.request-summary__sigil[data-variant="5"] circle:first-child { stroke-dasharray: 2 5; }

.request-summary__note { padding-top: 15px; border-top: 1px solid var(--line); }
.request-summary__note p { margin: 7px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.request-summary__note a { color: var(--apricot-ink); text-decoration: underline; text-underline-offset: 4px; }

.request-summary h2,
.request-summary h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -.03em;
}

.request-summary__list { display: grid; gap: 0; }

.request-summary__list > div,
.request-summary__row {
  display: grid;
  grid-template-columns: minmax(88px, .7fr) minmax(0, 1.3fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: .84rem;
}

.request-summary__list dt,
.request-summary__label { color: var(--muted); }
.request-summary__list dd { margin: 0; color: var(--text); font-weight: 700; text-align: right; }

.summary strong,
.request-summary strong { color: var(--sage-ink); }

/* Indexed FAQ */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(0, 2fr);
  gap: var(--layout-gap);
  align-items: start;
}

.faq-index {
  position: sticky;
  top: var(--sticky-top);
  padding: var(--panel-pad);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--sage);
  box-shadow: var(--shadow-soft);
}

.faq-index h2,
.faq-index h3 {
  margin-top: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -.03em;
}

.faq-index__nav {
  display: grid;
  gap: 3px;
  margin-top: 22px;
}

.faq-index__group { display: grid; }
.faq-index__group + .faq-index__group { margin-top: 12px; }

.faq-index__nav a {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 9px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
}

.faq-index__nav a:hover { color: var(--text); }

.faq-index__nav .faq-index__category {
  grid-template-columns: 1fr;
  margin-bottom: 2px;
  color: var(--sage-ink);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.faq-index__cta { width: 100%; margin-top: 22px; }

.faq-answer-column { display: grid; gap: 0; }
.faq { display: grid; gap: 14px; }

.faq-group {
  min-width: 0;
  padding-bottom: 24px;
  scroll-margin-top: 24px;
}

.faq-group + .faq-group { padding-top: 24px; border-top: 1px solid var(--line-strong); }

.faq-group > h2,
.faq-group > h3,
.faq-group__head h2,
.faq-group__head h3 {
  margin: 8px 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -.045em;
}

.faq-group__head { margin-bottom: 20px; }
.faq-group__head h2,
.faq-group__head h3 { margin-top: 8px; }

.selected-work,
.commission-row,
.faq-group,
.faq details { scroll-margin-top: 28px; }

.faq details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(24, 32, 27, 0.8);
}

.faq summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 54px 20px 20px;
  color: var(--text);
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  list-style: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  color: var(--apricot-ink);
  font-family: Inter, sans-serif;
  font-size: 1.25rem;
}

.faq details[open] summary::after { content: "\2212"; }
.faq summary::-webkit-details-marker { display: none; }
.faq__answer { padding: 0 20px 20px; color: var(--muted); line-height: 1.75; }

/* Legacy table remains responsive when used */

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(24, 32, 27, .88);
  box-shadow: var(--shadow-soft);
}

table { width: 100%; min-width: 760px; border-collapse: collapse; }
th, td { padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th:last-child, td:last-child { border-right: 0; }
tbody tr:last-child td { border-bottom: 0; }
thead th { background: var(--sage); color: var(--sage-ink); font-size: .7rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }

.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin-top: clamp(70px, 9vw, 120px);
  padding: 30px 0 8px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .82rem;
}

.footer > :last-child { text-align: right; }
.footer__links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__links a { border-bottom: 1px solid transparent; }
.footer__links a:hover { color: var(--text); border-bottom-color: currentColor; }

.mobile-nav { display: none; }

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  max-width: 360px;
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(24, 32, 27, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: 220ms ease;
}

.toast.show { opacity: 1; transform: translateY(0); }
.toast__title { margin-bottom: 6px; color: var(--sage-ink); font-weight: 900; }
.muted { color: var(--muted); }

/* 404 compatibility */

body:not([data-page]) .content { grid-column: 1 / -1; padding-top: 6vh; }
body:not([data-page]) .hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 7vw, 90px);
  align-items: center;
}
body:not([data-page]) .portrait { min-height: 68vh; border-radius: 45% 45% 24px 24px; }
body:not([data-page]) .portrait__frame { position: absolute; inset: 16px; border: 1px solid rgba(242, 238, 230, .38); border-radius: inherit; }
body:not([data-page]) .portrait__figure::before { content: ""; position: absolute; inset: 20% 24%; border-radius: 50%; background: rgba(167, 210, 185, .26); }
body:not([data-page]) .hero__copy { order: 2; }

@media (max-width: 1180px) {
  :root { --rail: 220px; }
  .sidebar { padding-right: 18px; padding-left: 18px; }
  .brand__name { font-size: 1.75rem; }
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  :root {
    --rail: 0px;
    --layout-gap: clamp(28px, 4vw, 40px);
    --panel-pad: clamp(24px, 3vw, 30px);
  }

  .shell { display: block; }

  .sidebar {
    position: sticky;
    inset: 0 auto auto;
    z-index: 60;
    width: 100%;
    min-height: calc(72px + env(safe-area-inset-top));
    padding: calc(11px + env(safe-area-inset-top)) calc(18px + env(safe-area-inset-right)) 11px calc(18px + env(safe-area-inset-left));
    border-right: 0;
    border-bottom: 1px solid var(--line);
    flex-direction: row;
    align-items: center;
    gap: 18px;
  }

  .sidebar > div:first-child { display: block; }
  .brand__eyebrow { margin: 0 0 2px; }
  .brand__eyebrow span:last-child, .brand__sub { display: none; }
  .brand__name { font-size: 1.45rem; }
  .nav { display: none; }
  .sidebar__footer { display: flex; align-items: center; margin-left: auto; }
  .sidebar__footer .status { display: none; }
  .sidebar__footer .primary-btn { min-height: 43px; padding: 0 16px; font-size: .78rem; }

  .content { grid-column: auto; width: min(100%, var(--content-max)); padding-top: 18px; }
  .editorial-hero { min-height: calc(100svh - 108px); }
  .editorial-hero .art-panel::before { left: 50%; width: min(64vw, 590px); }
  .editorial-hero .hero__copy { width: min(720px, calc(100% - 90px)); }

  .page-intro--editorial,
  .process-layout,
  .final-cta,
  .commission-builder,
  .faq-layout { grid-template-columns: 1fr; }

  .page-intro--editorial .page-intro__copy,
  .page-intro--editorial .page-intro__note { grid-column: auto; }
  .page-intro--editorial .page-intro__note { grid-template-columns: 1fr; max-width: none; padding: 22px 0 0; border-top: 1px solid var(--line-strong); border-left: 0; }
  .page-intro--editorial .page-intro__note .status,
  .page-intro--editorial .page-intro__note a { justify-self: center; }

  .process-layout > :first-child,
  .request-summary,
  .faq-index { position: static; }

  .commission-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .builder-stage__head { grid-template-columns: 38px minmax(0, 1fr); }
  .builder-stage__number { width: 38px; height: 38px; }
  .choice-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: calc(88px + env(safe-area-inset-top)); }
  .content { padding-right: calc(18px + env(safe-area-inset-right)); padding-bottom: calc(112px + env(safe-area-inset-bottom)); padding-left: calc(18px + env(safe-area-inset-left)); }
  .section { margin-top: 74px; }

  .editorial-hero { min-height: 700px; border-radius: 8px 8px 30px 30px; }
  .editorial-hero::after {
    background:
      linear-gradient(0deg, rgba(34,49,41,.82) 0%, rgba(34,49,41,.42) 56%, transparent 82%),
      linear-gradient(90deg, rgba(34,49,41,.25), transparent 65%);
  }
  .editorial-hero .art-panel::before { left: 50%; top: 37%; width: min(82vw, 500px); }
  .editorial-hero .hero__copy { left: 22px; right: 22px; bottom: 26px; width: auto; transform: none; }
  .hero__title { max-width: 11ch; font-size: clamp(3.2rem, 13.5vw, 5.2rem); }
  .editorial-hero .quote { display: none; }
  .art-index { top: 18px; right: 16px; display: flex; transform: none; }
  .art-index button { width: 44px; min-height: 44px; justify-content: center; }
  .art-index button span:first-child { width: 36px; height: 36px; }
  .art-index button span:last-child { display: none; }

  .page-intro__head, .editorial-intro { grid-template-columns: 1fr; gap: 22px; }
  .page-intro__note { padding: 18px 0 0; border-top: 1px solid var(--line-strong); border-left: 0; }
  .section__head { grid-template-columns: minmax(20px, 1fr) minmax(0, auto) minmax(20px, 1fr); gap: 10px; }
  .rule { width: 100%; margin: 0; }

  .project-grid { grid-template-columns: repeat(2, minmax(0,1fr)); grid-auto-rows: auto; }
  .project-card, .project-card--feature, .project-card--portrait, .project-card--landscape { grid-column: auto; grid-row: auto; min-height: 420px; }
  .project-card--feature { grid-column: 1 / -1; min-height: 550px; }

  .process-layout { grid-template-columns: 1fr; }
  .process-layout > :first-child { position: static; }

  .final-cta { grid-template-columns: 1fr; align-items: start; }

  .commission-row,
  .commission-row--reverse { grid-template-columns: 1fr; min-height: 0; padding: 30px 0; }
  .commission-row__art,
  .commission-row--reverse .commission-row__art { order: 1; min-height: 430px; margin: 0; }
  .commission-row__content,
  .commission-row--reverse .commission-row__content,
  .commission-row:not(.commission-row--reverse) .commission-row__content { order: 2; padding: var(--panel-pad); }
  .commission-row h2, .commission-row h3 { font-size: clamp(2.7rem, 11vw, 4rem); }
  .commission-compare { grid-template-columns: repeat(2, minmax(0,1fr)); }

  .commission-builder { grid-template-columns: 1fr; }
  .request-summary { position: static; }
  .choice-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }

  .faq-layout { grid-template-columns: 1fr; }
  .faq-index { position: static; }
  .faq-index__nav { grid-template-columns: 1fr; gap: 8px; }
  .faq-index__group { display: contents; }
  .faq-index__group + .faq-index__group { margin-top: 0; }
  .faq-index__nav a { min-width: 0; grid-template-columns: 22px minmax(0, 1fr); align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .04); overflow-wrap: anywhere; }
  .faq-index__nav .faq-index__category { grid-column: 1 / -1; margin: 8px 0 0; padding: 8px 0 3px; border: 0; background: transparent; font-size: .65rem; }
  .faq-index__group:first-child .faq-index__category { margin-top: 0; }

  .split { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; padding-bottom: 8px; text-align: left; }
  .footer > :last-child { text-align: left; }

  .mobile-nav {
    position: fixed;
    inset: auto calc(10px + env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) calc(10px + env(safe-area-inset-left));
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 19px;
    background: rgba(24, 32, 27, .96);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .46);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }

  .mobile-nav a {
    display: grid;
    min-width: 0;
    min-height: 44px;
    place-items: center;
    gap: 4px;
    padding: 11px 3px 10px;
    color: var(--muted);
    font-size: .65rem;
    font-weight: 800;
  }

  .mobile-nav a > span {
    width: 6px;
    height: 6px;
    overflow: hidden;
    border-radius: 50%;
    background: currentColor;
    color: transparent;
  }

  .mobile-nav .active { background: var(--sage-deep); color: var(--sage-ink); }
  .mobile-nav a:focus-visible { outline-offset: -4px; border-radius: 13px; }
  .commission-details summary,
  .commission-row__actions .text-link,
  .faq-index__nav a,
  .footer__links a { min-height: 44px; }
  .commission-details summary,
  .footer__links a { display: inline-flex; align-items: center; }
  .toast { right: 14px; bottom: calc(88px + env(safe-area-inset-bottom)); left: 14px; max-width: none; }

  body:not([data-page]) .hero { grid-template-columns: 1fr; }
  body:not([data-page]) .portrait { min-height: 50vh; }
}

@media (max-width: 560px) {
  :root { --panel-pad: 20px; }

  .sidebar { min-height: calc(66px + env(safe-area-inset-top)); padding: calc(9px + env(safe-area-inset-top)) calc(12px + env(safe-area-inset-right)) 9px calc(12px + env(safe-area-inset-left)); }
  .brand__mark { width: 24px; height: 24px; }
  .brand__name { font-size: 1.25rem; }
  .sidebar__footer .primary-btn { min-height: 44px; padding: 0 12px; font-size: .7rem; }
  .content { padding-right: calc(14px + env(safe-area-inset-right)); padding-left: calc(14px + env(safe-area-inset-left)); }

  .editorial-hero { min-height: 680px; }
  .editorial-hero__caption { inset: 20px auto auto 18px; display: grid; max-width: 96px; gap: 3px; line-height: 1.35; }
  .editorial-hero .hero__copy { right: 18px; left: 18px; }
  .hero__title { font-size: clamp(2.85rem, 14vw, 4.45rem); }
  .lede { margin-top: 17px; line-height: 1.65; }
  .hero__actions { display: grid; grid-template-columns: 1fr; margin-top: 22px; }
  .hero__actions .primary-btn, .hero__actions .ghost-btn { width: 100%; }

  .section__head h1, .section__head h2, .page-title { font-size: clamp(2.35rem, 12vw, 3.55rem); }
  .page-intro--editorial .page-intro__copy h1 { font-size: clamp(2.35rem, 12vw, 3.55rem); overflow-wrap: normal; }

  .project-grid { grid-template-columns: 1fr; gap: 14px; }
  .project-card,
  .project-card--feature,
  .project-card--portrait,
  .project-card--landscape { min-height: 480px; grid-column: 1; }

  .process-step { grid-template-columns: 46px minmax(0,1fr); gap: 16px; padding-bottom: 40px; }
  .process-timeline::before { left: 22px; }
  .process-step__number, .process-step > :first-child { width: 46px; height: 46px; }
  .final-cta { padding: 34px 22px; border-radius: 24px; }
  .final-cta::after { top: 14px; right: 18px; }

  .commission-row__art { min-height: 390px; }
  .commission-facts { grid-template-columns: 1fr; }
  .commission-compare { grid-template-columns: 1fr; }

  .builder-stage__head { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
  .builder-stage__number { width: 36px; height: 36px; }
  .choice-grid, .choice-grid--two { grid-template-columns: 1fr; }
  .choice-card { min-height: 82px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .form-footer .primary-btn, .form-footer .ghost-btn { width: 100%; }
  .request-summary__list > div, .request-summary__row { grid-template-columns: 1fr; gap: 3px; }
  .request-summary__list dd { text-align: left; }

  .faq-group > h2, .faq-group > h3, .faq-group__head h2, .faq-group__head h3 { font-size: 2.25rem; }
  .faq summary { padding: 18px 48px 18px 17px; }
  .faq summary::after { right: 17px; }
  .faq__answer { padding: 0 17px 18px; }
  .footer__links { gap: 12px; }
  .mobile-nav { inset: auto calc(7px + env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) calc(7px + env(safe-area-inset-left)); border-radius: 17px; }
}

@media (max-width: 760px) and (max-height: 500px) and (orientation: landscape) {
  .editorial-hero { min-height: max(360px, calc(100svh - 72px)); }
  .editorial-hero::after {
    background:
      linear-gradient(90deg, rgba(34, 49, 41, .88) 0%, rgba(34, 49, 41, .62) 54%, transparent 86%),
      linear-gradient(0deg, rgba(34, 49, 41, .58), transparent 74%);
  }
  .editorial-hero .art-panel::before { left: 50%; top: 48%; width: min(52vw, 430px); }
  .editorial-hero .hero__copy { right: auto; left: 50%; bottom: 24px; width: min(540px, calc(100% - 110px)); transform: translateX(-50%); }
  .hero__title { font-size: clamp(3rem, 8vw, 4.2rem); }
  .editorial-hero .lede { max-width: 54ch; font-size: .95rem; line-height: 1.55; }
  .hero__actions { margin-top: 18px; }

  body:not([data-page]) .hero { grid-template-columns: minmax(210px, .72fr) minmax(0, 1fr); gap: 28px; }
  body:not([data-page]) .portrait { min-height: calc(100svh - 36px); }
  body:not([data-page]) .hero__title { font-size: clamp(2.4rem, 6vw, 3.2rem); }
}

@media (max-width: 340px) {
  .sidebar__footer .primary-btn { padding: 0 10px; font-size: .66rem; }
  .brand__eyebrow { display: none; }
  .hero__title { font-size: 2.75rem; }
  .mobile-nav a { font-size: .63rem; }
}

@media (hover: none), (pointer: coarse) {
  .primary-btn:hover,
  .ghost-btn:hover,
  .choice-card:hover { transform: none; }

  .project-card:hover .project-card__caption,
  .project-card:hover .project-card__copy,
  .project-card:hover .project-card__overlay,
  .project-card:hover figcaption {
    transform: translateY(5px);
    background: rgba(24, 32, 27, 0.9);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  body { opacity: 1; transition: none; }
  html.page-transition-fallback.page-is-entering body,
  html.page-transition-fallback body.fallback-exit-active { animation: none !important; opacity: 1 !important; }
  ::view-transition-group(root),
  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none !important; }
}
