:root {
  --paper: #efeae1;
  --paper-deep: #e5ddd0;
  --ink: #221e1a;
  --muted: #534e47;
  --line: #d8d0c4;
  --accent: #7a3228;
  --night: #1b1916;
  --cream: #f6f1e8;
  --shadow: rgba(34, 30, 26, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Figtree", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

figure {
  margin: 0;
}

h1,
h2,
h3,
.wordmark,
.price {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.03em;
}

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

h1 {
  margin-bottom: 0;
  font-size: clamp(2.8rem, 6.4vw, 5.15rem);
  line-height: 0.96;
  max-width: 11ch;
}

h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

h3 {
  margin-bottom: 0.35rem;
  font-size: 1.55rem;
  line-height: 1.15;
}

a {
  color: inherit;
}

a:visited {
  color: inherit;
}

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

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: var(--cream);
  padding: 0.5rem 0.75rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.5rem;
}

.page {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem 1.5rem;
  flex-wrap: wrap;
  padding: 1rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(239, 234, 225, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header .bar {
  align-items: center;
}

.wordmark {
  display: block;
  line-height: 0;
  text-decoration: none;
}

.wordmark img {
  display: block;
  height: 118px;
  width: auto;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.15rem;
}

nav a {
  white-space: nowrap;
  text-decoration: none;
}

nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.28em;
  text-decoration-thickness: 1px;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  background: var(--night);
}

.hero img {
  display: block;
  width: 100%;
  height: min(70vh, 760px);
  object-fit: cover;
}

.hero figcaption {
  position: absolute;
  left: max(1.25rem, calc((100% - 1120px) / 2));
  bottom: 1.1rem;
  width: max-content;
  max-width: min(34rem, calc(100% - 2.5rem));
  background: var(--paper);
  color: var(--ink);
  padding: 0.4rem 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero figcaption a {
  text-decoration: none;
}

.hero figcaption a:hover {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.home-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem 1.15rem;
  margin-top: 0.4rem;
  padding-top: 1.6rem;
  padding-bottom: 3rem;
  border-top: 1px solid var(--line);
}

.home-photos .work:first-child {
  grid-column: 1 / -1;
}

.home-photos .frame img {
  height: auto;
}

.home-photos .work:first-child .frame img {
  width: 100%;
  max-height: min(28rem, 58vh);
  object-fit: cover;
  object-position: center;
}

.home-lead {
  padding: 3.2rem 0 0.4rem;
}

.home-lead h1 {
  margin-bottom: 0.85rem;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
}

.home-services,
.print-prompt,
.service-block {
  margin-top: 2.4rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
}

.service-block {
  padding-bottom: 4rem;
}

.service {
  max-width: 38rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.service:first-of-type {
  border-top: 0;
  padding-top: 0.2rem;
}

.service p {
  margin: 0;
}

.service .section-link {
  margin-top: 0.55rem;
}

.service-block .ask {
  margin-top: 1.6rem;
}

.print-prompt {
  padding-bottom: 0.4rem;
}

.print-prompt .actions,
.print-info .actions {
  margin: 1.3rem 0 2.4rem;
}

.print-info {
  padding-bottom: 3rem;
}

.gallery-section {
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
}

.gallery-section h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.gallery-note {
  margin: 0 0 2rem;
  color: var(--muted);
}

.work-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
}

.order-label {
  color: var(--accent);
}

.lede p,
.lede-text {
  font-size: 1.12rem;
  max-width: 38rem;
}

.lede p {
  margin-bottom: 1.25rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button,
button.button,
.button:visited,
.button:hover,
.button:focus,
.button:active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 2px;
  background: var(--ink);
  color: var(--cream);
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  line-height: 1;
  padding: 0.9rem 1.15rem;
  text-decoration: none;
}

.button.secondary,
.button.secondary:visited,
.button.secondary:hover,
.button.secondary:focus,
.button.secondary:active {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--line);
  margin-top: 2.5rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.section-head h2 {
  margin: 0;
}

.section-link {
  margin: 1.4rem 0 0;
}

.section-link a {
  text-underline-offset: 0.2em;
}

.frame {
  display: block;
  overflow: hidden;
  background: var(--paper-deep);
}

.frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.work {
  color: inherit;
  text-decoration: none;
}

.work:hover .frame img,
.work-open:hover .frame img,
.print-photo:hover img {
  transform: scale(1.03);
}

.caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.55rem;
  font-size: 0.95rem;
}

.caption .place,
.caption .price {
  color: var(--muted);
}

.caption .price {
  color: var(--accent);
  font-size: 1.15rem;
  line-height: 1.2;
}

.page-intro {
  padding: 3.4rem 0 0.4rem;
}

.page-intro h1 {
  margin-bottom: 0.9rem;
}

.page-intro .actions {
  margin-top: 1.4rem;
}

.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.2rem;
  margin-top: 1.4rem;
}

.filter button,
.filter button:hover,
.filter button:focus,
.filter button:active {
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  padding: 0.15rem 0;
}

.filter button[aria-pressed="true"],
.filter button[aria-pressed="true"]:hover,
.filter button[aria-pressed="true"]:focus,
.filter button[aria-pressed="true"]:active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.works {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem 1.15rem;
  padding-bottom: 3rem;
}

.works .frame img {
  height: auto;
}

iframe[src*="identity.netlify.com"],
.netlify-identity-widget,
#netlify-identity-widget {
  display: none !important;
}

.work,
.print,
#order {
  scroll-margin-top: 5.5rem;
}

.empty {
  margin-top: 0;
  color: var(--muted);
}

.print {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: center;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}

.print-flip .print-photo {
  order: 2;
}

.print-photo {
  overflow: hidden;
  background: var(--paper-deep);
}

.print-photo img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.7s ease;
}

.print-copy h2 {
  margin-bottom: 0.6rem;
}

.rate {
  list-style: none;
  margin: 1.2rem 0;
  padding: 0;
}

.rate li {
  display: grid;
  grid-template-columns: 6.5rem 1fr auto;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

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

.price {
  color: var(--accent);
  font-size: 1.35rem;
  line-height: 1;
}

.studio-card {
  background: var(--night);
  color: var(--cream);
  padding: 1.7rem 1.5rem 1.5rem;
}

.studio-card p {
  margin: 0 0 0.85rem;
}

.studio-card .eyebrow {
  color: #cfc6ba;
}

.studio-card a {
  text-underline-offset: 0.18em;
}

.studio-card .button {
  margin-top: 0.6rem;
  background: var(--cream);
  color: var(--night);
}

.contact-block {
  padding-bottom: 4rem;
}

.contact-block .facts {
  max-width: 36rem;
}

.facts {
  margin: 0;
}

.facts div {
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}

.facts div:last-child {
  border-bottom: 1px solid var(--line);
}

.facts dt {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.facts dd {
  margin: 0.2rem 0 0;
}

.order-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.5rem 4rem;
  align-items: start;
}

.order-band {
  background: var(--night);
  color: var(--cream);
  padding: 4rem 0;
}

.order-band .eyebrow {
  color: #cfc6ba;
}

.order-band .rate li,
.order-band .rate li:last-child {
  border-color: rgba(246, 241, 232, 0.22);
}

.order-band .price {
  color: var(--cream);
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.4rem;
}

.fields .wide {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

input,
textarea,
select {
  width: 100%;
  margin-bottom: 1.15rem;
  padding: 0.55rem 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

textarea {
  min-height: 8rem;
  padding: 0.75rem;
  border: 1px solid var(--ink);
  resize: vertical;
}

.order-band label {
  color: #cfc6ba;
}

.order-band input,
.order-band textarea,
.order-band select {
  border-color: rgba(246, 241, 232, 0.7);
}

.order-band .button,
.order-band .button:visited,
.order-band .button:hover,
.order-band .button:focus,
.order-band .button:active {
  background: var(--cream);
  color: var(--night);
}

.form-note {
  margin: 0.9rem 0 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.print-dialog:not([open]) {
  display: none;
}

.print-dialog[open] {
  display: flex;
  flex-direction: column;
  width: min(960px, calc(100vw - 1.5rem));
  max-height: calc(100vh - 1.5rem);
  margin: auto;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  overflow: auto;
}

.print-dialog::backdrop {
  background: rgba(27, 25, 22, 0.62);
}

.dialog-bar {
  display: flex;
  justify-content: flex-end;
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 0.75rem 1rem;
  background: var(--paper);
}

.dialog-close,
.dialog-close:hover,
.dialog-close:focus,
.dialog-close:active {
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  padding: 0.2rem 0;
}

.print-dialog-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.print-dialog-photo {
  background: var(--paper-deep);
}

.print-dialog-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  background: var(--paper-deep);
}

.print-dialog-copy {
  padding: 0.2rem 1.3rem 1.5rem;
}

.print-dialog .fields {
  grid-template-columns: 1fr;
}

.print-dialog #print-dialog-buy-row {
  margin: 0 0 1.1rem;
}

.home-services .section-link {
  margin-top: 0.9rem;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

.site-footer .bar {
  align-items: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.footer-note {
  max-width: 22rem;
}

@media (max-width: 860px) {
  .home-photos,
  .order-grid,
  .print,
  .print-dialog-layout {
    grid-template-columns: 1fr;
  }

  .print-dialog-photo img {
    max-height: 42vh;
  }

  .site-header .bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .site-header nav {
    width: 100%;
  }

  .print-flip .print-photo {
    order: 0;
  }

  h1 {
    max-width: none;
  }

}

@media (max-width: 640px) {
  .page {
    width: min(1120px, calc(100% - 1.5rem));
  }

  .wordmark img {
    height: 92px;
  }

  .site-header nav {
    column-gap: 1rem;
    font-size: 1rem;
  }

  .hero img {
    height: 62vh;
  }

  .hero figcaption {
    left: 0.75rem;
    max-width: calc(100% - 1.5rem);
    letter-spacing: 0.08em;
  }

  .works,
  .fields,
  .rate li {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .footer-note {
    max-width: none;
  }
}

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

  .frame img,
  .print-photo img {
    transition: none;
  }

  .work:hover .frame img,
  .work-open:hover .frame img,
  .print-photo:hover img {
    transform: none;
  }
}
