:root {
  --navy: #2a2622;
  --navy-deep: #1c1916;
  --ink: #2a2622;
  --muted: #5e5852;
  --paper: #f7f5f2;
  --white: #fffcf9;
  --wood: #9a7349;
  --wood-deep: #6e4e30;
  --wood-soft: #e8d7c4;
  --line: rgba(42, 38, 34, 0.12);
  --header-h: 4.25rem;
  --serif: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --gutter: clamp(1.25rem, 4vw, 6rem);
  --wrap: calc(100% - 2 * var(--gutter));
  --edge: var(--gutter);
}

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

html {
  font-size: clamp(100%, 0.75rem + 0.3125vw, 112.5%);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: var(--header-h);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 400;
}

body.nav-open {
  overflow: hidden;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.02;
  overflow-wrap: break-word;
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
}

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

::selection {
  background: var(--wood-soft);
  color: var(--navy);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--white);
  color: var(--navy);
  padding: 0.6rem 0.8rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}

.lede {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.55;
}

.section {
  padding: 5.25rem 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.band h2,
.cta h2 {
  margin: 0;
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.1rem;
  border: 0;
  background: var(--ink);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: #3d3833;
}

.btn-line {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(42, 38, 34, 0.28);
}

.btn-line:hover {
  background: rgba(42, 38, 34, 0.04);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 var(--edge);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.logo {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
}

.logo-mark {
  width: 2rem;
  height: 2rem;
  flex: none;
  display: block;
}

.logo strong {
  display: block;
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.logo small {
  display: block;
  margin-top: 0.12rem;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  padding: 0.4rem;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.55rem;
}

.site-nav a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--wood-deep);
}

.site-nav a[data-nav-item="contact"] {
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--ink);
  color: var(--ink);
}

.hero-frame {
  position: relative;
  height: min(78svh, 46rem);
  min-height: 22rem;
  background: var(--navy);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 45%;
  background: linear-gradient(to bottom, rgba(8, 12, 24, 0.45), transparent);
  pointer-events: none;
}

.hero-copy {
  position: absolute;
  top: clamp(1.5rem, 5vh, 3.25rem);
  right: var(--edge);
  z-index: 1;
  color: #f7f4ef;
  text-align: right;
}

.hero-copy h1 {
  margin: 0;
  color: #f7f4ef;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-copy h1 span {
  margin-left: 0.15em;
  color: rgba(247, 244, 239, 0.8);
  font-family: var(--sans);
  font-size: 0.32em;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.hero-tagline {
  margin: 0.8rem 0 0;
  color: rgba(247, 244, 239, 0.92);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.intro {
  padding: 2.4rem 0 0;
}

.intro h1,
.page-hero h1,
.article-header h1 {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: clamp(2.15rem, 3.6vw, 3.15rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.practice {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1.5rem 4rem;
  align-items: start;
}

.practice h2 {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  max-width: 13ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.75rem, 2.6vw, 2.3rem);
  line-height: 1.15;
}

.practice-body > p {
  max-width: 38rem;
}

.steps {
  margin: 2rem 0 0;
  border-top: 1px solid var(--line);
}

.steps > div {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.steps dt {
  font-weight: 500;
}

.steps dd {
  margin: 0;
  color: var(--muted);
}

.steps strong {
  color: var(--ink);
  font-weight: 500;
}

.service-block,
.journal-list a,
.service-index a {
  border-top: 1px solid var(--line);
}

.service-index {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-index a {
  display: block;
  padding: 0.75rem 0.15rem;
  font-size: 1.05rem;
  text-decoration: none;
}

.service-index li:nth-last-child(-n + 2) a {
  border-bottom: 1px solid var(--line);
}

.service-index a:hover {
  color: var(--wood-deep);
}

.work-grid,
.essay-grid,
.quotes {
  display: grid;
  gap: 1rem;
}

.essay-grid,
.quotes {
  grid-template-columns: repeat(3, 1fr);
}

.work-grid {
  --row-h: clamp(14rem, 22vw, 26rem);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem 1.25rem;
}

.work-grid > .project-card {
  --r: 1.33;
  flex: var(--r) 1 calc(var(--r) * var(--row-h));
  min-width: 0;
  max-width: calc(var(--r) * var(--row-h) * 1.7);
}

.work-grid .project-media {
  aspect-ratio: var(--r);
}

.work-plate,
.project-media.is-plate {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 22rem;
  padding: 1.45rem 1.3rem 1.25rem;
  background: var(--navy);
  color: #f4f1ec;
}

.work-plate {
  aspect-ratio: 4 / 5;
  text-decoration: none;
}

.work-plate[hidden],
.project-card[hidden] {
  display: none;
}

.work-plate::after,
.project-media.is-plate::after {
  content: "";
  position: absolute;
  inset: 0.7rem;
  border: 1px solid rgba(196, 162, 122, 0.45);
  pointer-events: none;
}

.work-plate:hover {
  background: #3a342e;
}

.work-plate-no {
  font-family: var(--serif);
  font-size: clamp(3rem, 4vw, 4.15rem);
  line-height: 0.9;
  color: var(--wood-soft);
}

.work-plate-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.85rem;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.work-plate-note {
  display: block;
  margin-top: 0.5rem;
  color: rgba(231, 211, 191, 0.8);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy);
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover img {
  transform: scale(1.04);
}

.project-open {
  color: inherit;
  text-decoration: none;
}

.project-meta h3 {
  margin: 0.9rem 0 0.3rem;
  font-size: 1.55rem;
}

.project-meta p,
.project-summary,
.archive-status,
.dialog-meta {
  color: var(--muted);
}

.project-meta p,
.project-summary {
  margin: 0;
  font-size: 0.96rem;
}

.project-summary {
  display: -webkit-box;
  margin-top: 0.55rem;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.8rem;
}

.filters button {
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(42, 38, 34, 0.18);
  background: transparent;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.filters button[aria-pressed="true"] {
  border-color: var(--navy);
  background: var(--navy);
  color: #f4f1ec;
}

.archive-status {
  min-height: 1.5rem;
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.empty-filter {
  grid-column: 1 / -1;
  padding: 2rem 0;
}

.page-hero {
  padding: 4.2rem 0 1.5rem;
}

.band {
  background: #efeae4;
  color: var(--ink);
}

.band .eyebrow {
  color: var(--wood-deep);
}

.quotes {
  margin-top: 2.4rem;
}

blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

figcaption {
  margin-top: 1.2rem;
  font-size: 0.92rem;
}

figcaption span {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
}

.essay-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.25rem 0 0.4rem;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.essay-card:hover {
  border-top-color: var(--wood);
}

.essay-card h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

.essay-card p {
  margin: 0;
  color: var(--muted);
}

.essay-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0;
}

.essay-card .text-link {
  margin-top: auto;
}

.cta {
  padding: 1.5rem 0 5rem;
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.cta-row p {
  margin: 0;
  max-width: 36rem;
}

.service-layout {
  display: grid;
  grid-template-columns: 16rem 1fr;
  gap: 3rem;
  align-items: start;
}

.service-nav {
  position: sticky;
  top: calc(var(--header-h) + 1.4rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-nav a {
  color: rgba(26, 38, 54, 0.72);
  font-size: 0.95rem;
  text-decoration: none;
}

.service-nav a:hover {
  color: var(--navy);
}

.service-block {
  padding: 2.1rem 0;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.service-block h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
}

.service-points {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.service-points li {
  padding: 0.45rem 0;
  border-top: 1px solid rgba(42, 38, 34, 0.08);
}

.journal-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.journal-list a {
  display: grid;
  grid-template-columns: 11.5rem 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.55rem 0;
  text-decoration: none;
}

.journal-list li:last-child a {
  border-bottom: 1px solid var(--line);
}

.journal-list h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
}

.journal-list p {
  margin: 0;
  color: var(--muted);
}

.journal-list time {
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0;
}

.article-header {
  padding-top: 3.5rem;
}

.article-kicker {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0;
}

.standfirst {
  max-width: 40rem;
  margin: 0 0 2rem;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.35;
}

.prose {
  width: min(68ch, 100%);
}

.prose p {
  font-size: 1.08rem;
  line-height: 1.75;
}

.prose h2 {
  margin: 2.3rem 0 0.75rem;
  font-size: 1.85rem;
}

.related {
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.related a {
  display: block;
  margin-top: 0.7rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  text-decoration: none;
}

.related a:hover {
  color: var(--wood-deep);
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.contact-grid {
  grid-template-columns: minmax(16rem, 0.7fr) 1.3fr;
  gap: 3.5rem 4rem;
  align-items: start;
}

.contact-aside h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--ink);
}

.contact-aside > p {
  max-width: 28rem;
  color: var(--muted);
}

.contact-details {
  display: grid;
  gap: 1.35rem;
  margin: 2rem 0 0;
}

.contact-details div {
  display: grid;
  gap: 0.2rem;
}

.contact-details dt {
  margin: 0;
  color: var(--wood-deep);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 0;
}

.contact-details a {
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--wood-deep);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.5rem;
}

.optional {
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  color: var(--muted);
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0;
  border: 0;
  border-bottom: 1px solid rgba(42, 38, 34, 0.22);
  border-radius: 0;
  background: transparent;
}

.field textarea {
  min-height: 7rem;
  resize: vertical;
}

.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--navy) 50%),
    linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position:
    calc(100% - 12px) 50%,
    calc(100% - 7px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-bottom-color: var(--wood-deep);
}

[aria-invalid="true"] {
  border-bottom-color: #8c3a32 !important;
}

.field-error {
  min-height: 0;
  margin: 0.25rem 0 0;
  color: #8c3a32;
  font-size: 0.88rem;
}

.field-error:empty {
  display: none;
}

.form-status {
  min-height: 1.4rem;
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.form-sent h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
}

.form-sent p {
  max-width: 36rem;
  margin: 0;
}

.btn:disabled {
  opacity: 0.6;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 0;
  height: 0;
  opacity: 0;
}

.site-footer {
  padding: 3.4rem 0 1.6rem;
  background: #111111;
  color: #f5f3f0;
  font-size: 0.95rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1.25fr;
  gap: 2.2rem 1.5rem;
  align-items: start;
}

.footer-logo,
.footer-slogan,
.footer-person,
.footer-copy {
  margin: 0;
}

.footer-mark {
  width: 2.15rem;
  height: 2.15rem;
  margin-bottom: 0.85rem;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-logo {
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.footer-slogan {
  margin-top: 0.55rem;
  color: rgba(245, 243, 240, 0.62);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-person {
  margin-top: 0.9rem;
  color: rgba(245, 243, 240, 0.82);
  font-size: 0.95rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.footer-col a {
  color: rgba(245, 243, 240, 0.88);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.footer-col-detail a {
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-rule {
  margin: 2.4rem 0 1.35rem;
  border: 0;
  border-top: 1px solid rgba(245, 243, 240, 0.22);
}

.footer-copy {
  color: rgba(245, 243, 240, 0.62);
  font-size: 0.85rem;
  text-align: center;
}

.dialog-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  padding: 0 1.25rem 1.5rem;
}

.dialog-gallery figure {
  margin: 0;
}

.gallery-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  cursor: zoom-in;
}

.dialog-gallery img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fff;
}

.dialog-gallery figure:has(.fit-contain) {
  grid-column: 1 / -1;
}

.dialog-gallery img.fit-contain {
  height: auto;
  max-height: 40rem;
  object-fit: contain;
  background: #fff;
}

.dialog-gallery figcaption {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.project-dialog {
  top: calc(var(--header-h) + 0.75rem);
  width: min(1040px, calc(100% - 2rem));
  height: fit-content;
  max-height: calc(100svh - var(--header-h) - 1.5rem);
  margin-bottom: auto;
  margin: auto;
  padding: 0;
  overflow: auto;
  border: none;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.project-dialog::backdrop,
.photo-dialog::backdrop {
  background: rgba(28, 25, 22, 0.55);
}

.photo-dialog {
  width: min(1080px, calc(100% - 2rem));
  max-height: calc(100svh - 2rem);
  margin: auto;
  padding: 0 0 1.1rem;
  overflow: auto;
  border: none;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.photo-dialog figure {
  margin: 0;
}

.photo-dialog img {
  width: 100%;
  max-height: calc(100svh - 7.5rem);
  object-fit: contain;
  background: #fff;
}

.photo-dialog figcaption {
  margin: 0.65rem 1.25rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.dialog-bar {
  display: flex;
  justify-content: flex-end;
  padding: 0.75rem 0.85rem 0;
}

.dialog-close {
  border: 0;
  background: transparent;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.dialog-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}

.dialog-copy {
  padding: 0.4rem 1.5rem 2rem;
}

.dialog-copy h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.dialog-meta {
  margin-bottom: 1rem;
}

@media (min-width: 721px) {
  .dialog-layout .project-media {
    aspect-ratio: auto;
    min-height: 28rem;
  }
}

@media (max-width: 860px) {
  .practice {
    grid-template-columns: 1fr;
  }

  .practice h2 {
    position: static;
    max-width: 20ch;
  }

  .service-layout,
  .contact-grid,
  .field-row,
  .journal-list a,
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .quotes,
  .essay-grid {
    grid-template-columns: 1fr 1fr;
  }

  .work-grid {
    --row-h: 40vw;
  }

  .service-nav {
    position: static;
    flex-direction: row;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.4rem;
  }

  .service-nav a {
    white-space: nowrap;
  }

  .journal-list .text-link {
    justify-self: start;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.15rem;
    padding: calc(var(--header-h) + 1.5rem) var(--gutter) 3rem;
    background: var(--white);
    visibility: hidden;
    transform: translateY(-102%);
  }

  .site-nav.is-open {
    visibility: visible;
    transform: none;
  }

  .site-nav a,
  .site-nav a[data-nav-item="contact"] {
    padding: 0.55rem 0;
    border: 0;
    color: var(--ink);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0;
  }
}

@media (max-width: 680px) {
  .essay-grid,
  .quotes,
  .service-index,
  .dialog-layout,
  .dialog-gallery {
    grid-template-columns: 1fr;
  }

  .steps > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .work-grid > .project-card {
    flex-basis: 100%;
    max-width: none;
  }

  .service-index li:nth-last-child(-n + 2) a {
    border-bottom: 0;
  }

  .service-index li:last-child a {
    border-bottom: 1px solid var(--line);
  }

  .hero-frame {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    background: rgb(6, 22, 50);
  }

  .hero-frame::after {
    display: none;
  }

  .hero-frame img {
    order: 1;
    height: auto;
    aspect-ratio: 16 / 9;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%);
    mask-image: linear-gradient(to bottom, transparent, #000 30%);
  }

  .hero-copy {
    position: static;
    padding: 2.25rem var(--gutter) 1.75rem;
    text-align: left;
  }

  .hero-copy h1 span {
    display: block;
    margin: 0.35rem 0 0;
    font-size: 0.4em;
  }

  .section-heading,
  .cta-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
