:root {
  --paper: #ffffff;
  --ink: #141414;
  --soft-ink: #2d2b28;
  --muted: #8d867d;
  --line: #ded8cf;
  --wash: #f8f7f4;
  --accent: #4a1f24;
  --focus: rgba(74, 31, 36, 0.22);
  --font-ui: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: Didot, "Bodoni 72", "Bodoni 72 Oldstyle", Baskerville, Cochin, Georgia, serif;
  --font-copy: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  line-height: 1.5;
}

body:has(dialog[open]) {
  overflow: hidden;
}

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

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

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

button {
  border-radius: 0;
}

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

h1,
h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  font-size: 4.05rem;
}

h2 {
  font-size: 1.85rem;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 72px;
  padding: 22px 42px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.brand-logo {
  display: inline-flex;
  width: 210px;
  max-width: 48vw;
  padding: 0;
  background: transparent;
}

.brand-logo img {
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--ink);
  border-color: currentColor;
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-hero {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 0;
  min-height: auto;
  padding: clamp(34px, 5vw, 58px) 32px clamp(40px, 5vw, 62px);
}

.home-hero-full {
  min-height: calc(100svh - 72px);
  padding: 0;
  align-items: stretch;
}

.home-artwork {
  width: 100%;
  max-width: 940px;
}

.home-hero-full .home-artwork {
  width: 100%;
  max-width: none;
}

.home-artwork a {
  display: block;
}

.home-hero-full .home-artwork,
.home-hero-full .home-artwork a {
  height: 100%;
  min-height: calc(100svh - 72px);
}

.home-artwork img {
  width: 100%;
  height: auto;
  aspect-ratio: 6000 / 3376;
  background: var(--wash);
  filter: grayscale(100%);
  object-fit: cover;
  object-position: 50% 50%;
}

.home-hero-full .home-artwork img {
  height: 100%;
  min-height: calc(100svh - 72px);
  object-position: 50% 48%;
}

.home-artwork figcaption {
  display: none;
  justify-content: space-between;
  gap: 24px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.home-copy {
  max-width: 720px;
}

.home-copy-minimal {
  display: grid;
  grid-template-columns: minmax(160px, 0.38fr) minmax(240px, 0.62fr);
  gap: 28px;
  width: min(100%, 940px);
  max-width: 940px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  justify-self: center;
}

.home-copy-minimal h1 {
  max-width: none;
  font-size: clamp(1.22rem, 1.8vw, 1.62rem);
  line-height: 1.1;
}

.home-copy p:not(.eyebrow),
.page-intro p:not(.eyebrow),
.about-copy p,
.contact-copy p {
  max-width: 680px;
  margin-top: 24px;
  color: var(--soft-ink);
  font-family: var(--font-copy);
  font-size: 1.12rem;
  line-height: 1.58;
}

.home-copy-minimal p:not(.eyebrow) {
  justify-self: end;
  max-width: 420px;
  margin-top: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.68;
}

.home-copy-minimal .home-note {
  max-width: 390px;
  margin-top: 18px;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.98rem;
  line-height: 1.6;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 38px;
}

.plain-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.plain-link:hover,
.plain-link:focus-visible {
  color: var(--accent);
}

.page-intro {
  padding: 86px 32px 48px;
  border-bottom: 1px solid var(--line);
}

.page-intro h1,
.page-intro p {
  max-width: 840px;
}

.work-list {
  display: grid;
  justify-items: center;
  gap: 92px;
  padding: 72px 32px 110px;
}

.work-item {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 18px;
  width: 100%;
  max-width: 920px;
  padding: 0;
  border-bottom: 0;
}

.image-button {
  display: grid;
  place-items: center;
  width: 100%;
  padding: 0;
  cursor: zoom-in;
  background: transparent;
  border: 0;
}

.work-gallery {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
}

.work-gallery .work-image {
  grid-area: 1 / 1;
}

.work-gallery .work-image[hidden] {
  display: none;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  padding: 0;
  transform: translateY(-50%);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(222, 216, 207, 0.9);
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1;
}

.gallery-arrow:hover,
.gallery-arrow:focus-visible {
  background: var(--paper);
  border-color: var(--ink);
}

.gallery-arrow-prev {
  left: clamp(8px, 2vw, 22px);
}

.gallery-arrow-next {
  right: clamp(8px, 2vw, 22px);
}

.gallery-arrow span {
  display: block;
  transform: translateY(-1px);
}

.work-image img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 78svh;
  aspect-ratio: auto;
  background: var(--wash);
  object-fit: contain;
  object-position: 50% 50%;
}

.work-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 22px;
  width: min(100%, 760px);
  max-width: 760px;
}

.work-details h2 {
  font-size: 1.18rem;
  line-height: 1.2;
}

.work-number {
  display: none;
}

.work-details dl {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 0;
  border-top: 0;
}

.work-details dl div {
  display: block;
  padding: 0;
  border-bottom: 0;
}

.work-details dt {
  display: none;
}

.work-details dd {
  color: var(--muted);
  font-size: 0.84rem;
}

.work-details .plain-link {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  min-height: auto;
  margin-top: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  justify-items: center;
  gap: 54px 34px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 32px 110px;
}

.photo-item {
  display: grid;
  gap: 0;
  align-content: start;
  justify-items: center;
  width: 100%;
}

.photo-wide {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 980px;
}

.photo-image img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 82svh;
  aspect-ratio: auto;
  background: var(--wash);
  object-fit: contain;
  object-position: 50% 50%;
}

.photo-wide .photo-image img {
  aspect-ratio: auto;
  object-position: 50% 50%;
}

.caption {
  display: none;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.caption h2 {
  font-family: var(--font-ui);
  font-size: 0.98rem;
  font-weight: 700;
}

.caption p {
  color: var(--muted);
  font-size: 0.9rem;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) minmax(360px, 0.58fr);
  gap: clamp(42px, 6vw, 76px);
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
  padding: 76px 32px 96px;
}

.about-image {
  position: sticky;
  top: 32px;
  justify-self: center;
  width: min(100%, 520px);
}

.about-image img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  background: var(--wash);
  object-fit: contain;
  object-position: 50% 50%;
}

.about-copy {
  max-width: 760px;
}

.about-copy p {
  max-width: 720px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.58fr) minmax(300px, 0.42fr);
  gap: 70px;
  min-height: calc(100svh - 142px);
  align-items: center;
  padding: 76px 32px 88px;
}

.contact-copy {
  max-width: 780px;
}

.contact-panel {
  padding: 34px;
  background: #fffdf8;
  border: 1px solid var(--line);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 11px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  text-transform: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--focus);
  border-color: var(--accent);
}

.advisory-page-body {
  --advisory-header-height: 72px;
  background: var(--paper);
}

.advisory-header {
  position: relative;
  z-index: 2;
}

.advisory-page {
  background: var(--paper);
}

.advisory-hero {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: clamp(34px, 5vw, 54px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(40px, 5.5vw, 72px) 32px 78px;
}

.advisory-hero-copy {
  width: 100%;
  max-width: 860px;
  color: var(--ink);
  text-align: left;
}

.advisory-hero-copy h1 {
  max-width: 520px;
  font-family: var(--font-copy);
  font-size: clamp(0.86rem, 1.05vw, 0.98rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.advisory-hero-copy p {
  max-width: 640px;
  margin-top: 18px;
  color: var(--soft-ink);
  font-family: var(--font-copy);
  font-size: 1rem;
  line-height: 1.68;
}

.advisory-hero-body {
  display: block;
  max-width: 640px;
  margin: 28px 0 0;
  text-align: left;
}

.advisory-hero-body p {
  max-width: none;
  margin-top: 0;
  color: var(--soft-ink);
  font-family: var(--font-copy);
  font-size: 0.98rem;
  line-height: 1.68;
}

.hero-note {
  padding-left: 0;
}

.hero-note::before {
  display: none;
}

.advisory-hero-image {
  width: min(100%, 800px);
  margin: 0;
  background: #f2ede3;
  border: 0;
}

.advisory-hero-image img {
  display: block;
  width: 100%;
  height: auto;
}

.advisory-hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 38px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.advisory-body {
  display: grid;
  justify-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 32px 104px;
  background: var(--paper);
}

.advisory-body > div {
  width: min(100%, 880px);
  text-align: center;
}

.advisory-body h2,
.advisory-cta h2 {
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(2rem, 3.5vw, 3.45rem);
}

.advisory-body p,
.advisory-cta p {
  max-width: 760px;
  margin-top: 22px;
  color: var(--soft-ink);
  font-family: var(--font-copy);
  font-size: 1.04rem;
  line-height: 1.72;
}

.advisory-body p {
  margin-right: auto;
  margin-left: auto;
}

.advisory-cta {
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) minmax(420px, 0.58fr);
  gap: clamp(44px, 7vw, 78px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px 32px 108px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.advisory-cta p {
  max-width: 420px;
  margin-top: 18px;
}

.advisory-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 26px;
  row-gap: 24px;
}

.advisory-form .form-full {
  grid-column: 1 / -1;
}

.advisory-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.advisory-form input,
.advisory-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 8px 0 10px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #bfb8ae;
  color: var(--ink);
}

.advisory-form textarea {
  min-height: 110px;
  resize: vertical;
}

.advisory-form input:focus,
.advisory-form textarea:focus {
  outline: 0;
  border-color: var(--ink);
}

.advisory-form button {
  justify-self: start;
  grid-column: 1 / -1;
  min-height: 50px;
  margin-top: 8px;
  padding: 0 24px;
  cursor: pointer;
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button-link {
  justify-self: start;
  min-height: 44px;
  margin-top: 8px;
  padding: 0 15px;
  cursor: pointer;
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--paper);
  font-weight: 700;
}

.button-link:hover,
.button-link:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lightbox {
  width: min(94vw, 1180px);
  max-width: none;
  max-height: 92svh;
  padding: 0;
  background: var(--paper);
  border: 0;
  box-shadow: 0 28px 90px rgba(20, 18, 15, 0.28);
}

.lightbox::backdrop {
  background: rgba(20, 18, 15, 0.72);
}

.lightbox figure {
  display: grid;
}

.lightbox img {
  width: 100%;
  max-height: 82svh;
  object-fit: contain;
  background: var(--wash);
}

.lightbox figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 18px;
  color: var(--ink);
}

.lightbox figcaption span {
  font-weight: 700;
}

.lightbox figcaption small {
  color: var(--muted);
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  cursor: pointer;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  font-size: 1.5rem;
  line-height: 1;
}

.site-footer {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  padding: 25px 32px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--ink);
  font-weight: 700;
}

.site-footer-bio {
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.site-footer-bio p {
  max-width: 560px;
  color: var(--soft-ink);
  font-family: var(--font-copy);
  font-size: 0.94rem;
  line-height: 1.65;
}

.site-footer-bio a {
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  h1 {
    font-size: 3.05rem;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 18px 22px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 14px 18px;
  }

  .home-hero,
  .work-item,
  .about-layout,
  .contact-layout,
  .advisory-hero,
  .advisory-body,
  .advisory-cta {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .advisory-page-body {
    --advisory-header-height: 162px;
  }

  .home-hero {
    gap: 0;
    min-height: auto;
    padding: 34px 22px 44px;
  }

  .home-hero-full {
    min-height: calc(100svh - 122px);
    padding: 0;
  }

  .home-artwork {
    justify-self: start;
    max-width: 940px;
  }

  .home-hero-full .home-artwork {
    max-width: none;
  }

  .home-hero-full .home-artwork,
  .home-hero-full .home-artwork a,
  .home-hero-full .home-artwork img {
    min-height: calc(100svh - 122px);
  }

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

  .page-intro,
  .work-item,
  .photo-grid,
  .about-layout,
  .contact-layout,
  .advisory-hero,
  .advisory-body,
  .advisory-cta {
    padding-right: 22px;
    padding-left: 22px;
  }

  .advisory-hero {
    padding-top: 38px;
    padding-bottom: 56px;
  }

  .advisory-hero-body {
    grid-template-columns: 1fr;
    max-width: 680px;
    text-align: left;
  }

  .advisory-hero-image {
    width: min(100%, 620px);
  }

  .about-copy {
    order: -1;
  }

  .about-image {
    position: static;
    max-width: 520px;
  }

  .contact-layout {
    min-height: auto;
  }

  .advisory-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .advisory-page-body {
    --advisory-header-height: 152px;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.45rem;
  }

  .brand-logo {
    width: 184px;
  }

  .nav-links {
    font-size: 0.88rem;
  }

  .home-copy p:not(.eyebrow),
  .page-intro p:not(.eyebrow),
  .about-copy p,
  .contact-copy p {
    font-size: 1rem;
  }

  .home-copy-minimal p:not(.eyebrow) {
    font-size: 0.94rem;
  }

  .home-copy-minimal {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 14px;
    padding-top: 14px;
  }

  .home-copy-minimal p:not(.eyebrow) {
    justify-self: start;
  }

  .home-artwork {
    max-width: 100%;
  }

  .work-details dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .photo-wide .photo-image img {
    aspect-ratio: auto;
  }

  .caption,
  .lightbox figcaption,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .contact-panel {
    padding: 22px;
  }
}
