:root {
  color-scheme: light;
  --paper: #f7f2e9;
  --paper-deep: #ede4d6;
  --ink: #27221d;
  --muted: #62584d;
  --accent: #805023;
  --line: #cbbfae;
  --dark: #292521;
  --light: #f5eee3;
  --display: "Iowan Old Style", Baskerville, Georgia, serif;
  --text: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --edge: clamp(1.1rem, 4.25vw, 4.8rem);
  --photo-edge: clamp(.75rem, 2vw, 2.35rem);
  --gap: clamp(1.25rem, 3.4vw, 4rem);
  --photo-gap: clamp(.5rem, 1vw, .875rem);
  --measure: 86rem;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.58 var(--text); }
img { display: block; width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
a { color: inherit; text-underline-offset: .24em; }
button, input, select, textarea { font: inherit; }
button:not(:disabled) { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: .3rem; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 1.25rem; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.shell { width: min(calc(100% - 2 * var(--edge)), var(--measure)); margin-inline: auto; }
.photo-shell { width: min(calc(100% - 2 * var(--photo-edge)), 104rem); margin-inline: auto; }
.title, h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.04; }
h1 { font-size: clamp(3.25rem, 7.9vw, 8rem); letter-spacing: -.06em; }
h2 { font-size: clamp(2.55rem, 5.2vw, 5.5rem); letter-spacing: -.055em; }
h3 { font-size: clamp(1.7rem, 2.9vw, 3.15rem); letter-spacing: -.035em; }
.eyebrow { color: var(--accent); font-size: .69rem; font-weight: 680; letter-spacing: .15em; line-height: 1.45; text-transform: uppercase; }
.measure { max-width: 52ch; }
.photo { overflow: hidden; background: #e0d6c9; }
.image-link { display: block; text-decoration: none; }
.image-link:hover .card-title { text-decoration: underline; text-decoration-thickness: 1px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 2.75rem;
  width: fit-content;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
}
.text-link:hover { color: var(--accent); }
.arrow { font-family: var(--text); font-size: 1em; line-height: 1; }
.button {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  min-height: 2.95rem;
  width: fit-content;
  padding: .55rem 1.05rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: .9rem;
  font-weight: 620;
  text-decoration: none;
}
.button:hover { background: var(--accent); border-color: var(--accent); }
.button:disabled { opacity: .64; }
.skip-link { position: absolute; top: .55rem; left: var(--edge); z-index: 3; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  min-height: 6rem;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { width: clamp(7.7rem, 12vw, 11rem); mix-blend-mode: multiply; }
.brand span {
  color: var(--accent);
  border-left: 1px solid var(--line);
  padding-left: .75rem;
  font-size: .63rem;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.site-nav, .footer-nav, .category-nav { display: flex; align-items: center; gap: clamp(.8rem, 2.45vw, 2.55rem); }
.site-nav a, .category-nav a, .footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .88rem;
  text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current], .category-nav a:hover, .footer-nav a:hover { text-decoration: underline; }
.site-nav .nav-contact { color: var(--accent); }

.hero {
  position: relative;
  display: grid;
  align-items: end;
  isolation: isolate;
  min-height: clamp(31rem, 81svh, 54rem);
  margin-block: var(--photo-edge);
  background: var(--dark);
  color: var(--light);
}
.hero-media, .hero-media::after, .hero-slide { position: absolute; inset: 0; }
.hero-media::after {
  content: "";
  background: linear-gradient(90deg, #16110ee8 0%, #1a1511bc 32%, #1a15112c 69%, transparent 100%),
              linear-gradient(0deg, #1a15117a, transparent 46%);
}
.hero-slide { opacity: 0; transition: opacity 650ms ease; }
.hero-slide.is-current { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 47%; }
.hero-copy {
  position: relative;
  display: grid;
  gap: clamp(.7rem, 1.7vw, 1.45rem);
  width: min(51rem, 72%);
  padding: clamp(1.45rem, 5.25vw, 5.5rem);
}
.hero .eyebrow, .hero h1 em { color: #efc596; }
.hero h1 { max-width: 11ch; font-size: clamp(3.4rem, 7.55vw, 7.75rem); line-height: .93; }
.hero h1 em { font-weight: inherit; letter-spacing: -.07em; }
.hero-description { max-width: 36ch; font-size: clamp(1rem, 1.6vw, 1.2rem); }
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem 1rem; }
.hero .button { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.hero .button:hover { background: #efc596; border-color: #efc596; }
.hero .text-link:hover { color: #efc596; }
.hero :focus-visible { outline-color: #efc596; }
.hero-controls {
  position: absolute;
  right: clamp(.65rem, 2vw, 1.35rem);
  bottom: clamp(.65rem, 2vw, 1.35rem);
  display: flex;
  gap: .2rem;
  padding: .2rem;
  background: #1a1511df;
}
.hero-controls button {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: var(--light);
  background: transparent;
  border: 0;
}
.hero-controls button:hover { background: #64564a; }

.story { color: var(--light); background: var(--dark); }
.story-panel {
  display: grid;
  grid-template-columns: minmax(0, .67fr) minmax(0, 1.33fr);
  align-items: center;
  gap: var(--gap);
  min-width: 0;
  padding-block: clamp(2.25rem, 7vh, 6rem);
}
.story-panel + .story-panel { border-top: 1px solid #72685c; }
.story-panel .eyebrow { color: #e5b67e; margin-bottom: 1rem; }
.story-panel h2 { max-width: 12ch; }
.story-panel .photo { background: #21201e; }
.story-panel img { aspect-ratio: 4 / 3; object-fit: cover; }
.story-progress { display: none; }
.story.is-animated { min-height: 205svh; }
.is-animated .story-stage { position: sticky; top: 0; display: grid; min-height: 100svh; }
.is-animated .story-panel {
  grid-area: 1 / 1;
  border: 0;
  opacity: 0;
  transform: translateY(.8rem);
  transition: opacity 260ms ease, transform 260ms ease;
}
.is-animated .story-panel.is-current { opacity: 1; transform: none; }
.is-animated .story-panel .photo { max-height: 76svh; }
.is-animated .story-panel img { max-height: 76svh; }
.is-animated .story-progress {
  position: absolute;
  bottom: clamp(1.35rem, 5vh, 3rem);
  left: 0;
  display: flex;
  gap: .36rem;
}
.story-progress span { width: 1.5rem; height: 2px; background: #72685c; }
.story-progress .is-current { background: #e5b67e; }

.section { padding-block: clamp(3.5rem, 8vw, 8rem); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem var(--gap);
  margin-bottom: clamp(1.8rem, 4vw, 3.8rem);
}
.section-head p { max-width: 46ch; color: var(--muted); }
.section-head .eyebrow { margin-bottom: .75rem; }
.work-grid, .portfolio-grid, .article-grid, .photo-row {
  display: grid;
  gap: var(--photo-gap);
}
.photo-row { grid-template-columns: var(--photo-columns); align-items: start; }
.photo-row > * { min-width: 0; }
.work-card .photo img, .portfolio-card .photo img { transition: transform 380ms ease; }
.image-link:hover .photo img, .image-link.photo:hover img { transform: scale(1.025); }
#portfolio { padding-block: clamp(2.5rem, 5.5vw, 5.5rem); }
#portfolio .section-head, .portfolio-group .section-head { margin-bottom: clamp(.9rem, 2.4vw, 2rem); }

.service-section { background: var(--paper-deep); }
.services-grid, .entries-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem var(--photo-gap); }
.service-card .photo img { aspect-ratio: 8 / 5; object-fit: cover; }
.service-card h3 { font-size: clamp(1.65rem, 2.75vw, 2.8rem); margin-top: .95rem; }
.service-card p { margin-top: .5rem; }
.service-card .text-link { margin-top: .65rem; }
.entries-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.5rem; }
.entry-card .photo img { aspect-ratio: 1.54; object-fit: cover; }
.entry-card .portrait-cover img { object-position: center 63%; }
.entry-card .caption { margin-top: 1.1rem; }
.entry-card .caption h2, .entry-card .caption h3 { font-size: clamp(1.9rem, 3.8vw, 3.75rem); }
.entry-card .caption .eyebrow { margin-bottom: .45rem; }
.entry-card .caption > p:last-child { margin-top: .55rem; color: var(--muted); }
.entry-card .entry-link { margin-top: .45rem; }

.studio { border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: center; gap: var(--gap); }
.studio .photo { max-width: 32rem; }
.studio .photo img { aspect-ratio: 1; object-fit: cover; object-position: center 45%; }
.studio h2 { margin-top: .6rem; }
.studio .measure { margin-top: 1rem; }

.contact-band { background: var(--dark); color: var(--light); }
.contact-band .eyebrow { color: #e5b67e; margin-bottom: .7rem; }
.contact-band a:hover { color: #ebbf8d; }
.contact-band :focus-visible { outline-color: #ebbf8d; }
.contact-band .button, .contact-band .button:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--gap); }
.contact-grid .measure { margin-top: 1rem; }
.contact-email { overflow-wrap: anywhere; }
.contact-grid a + a { margin-left: .8rem; }
.contact-grid .actions { margin-top: .9rem; }
.hn-project-form { display: grid; gap: 1rem; align-content: start; }
.hn-project-form label { display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; font-weight: 600; }
.hn-project-form input, .hn-project-form select, .hn-project-form textarea {
  min-height: 2.9rem;
  width: 100%;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid #9b8975;
  border-radius: 0;
  padding: .5rem .65rem;
}
.hn-project-form textarea { min-height: 6.5rem; resize: vertical; }
.hn-project-form .hn-form-trap { position: absolute; left: -10000px; }
.hn-form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: .8rem; }
.hn-caption, .preview-note { font-size: .84rem; }
.hn-project-form [role="status"]:empty { display: none; }

.site-footer { padding-block: 2rem; }
.footer-top { display: flex; justify-content: space-between; gap: .7rem var(--gap); align-items: center; }
.footer-top p { font-family: var(--display); font-size: 1.2rem; }
.footer-nav { gap: 1rem; flex-wrap: wrap; }
.coverage { color: var(--muted); font-size: .83rem; }
.footer-top + .coverage { border-top: 1px solid var(--line); margin-top: .75rem; padding-top: .8rem; }

.page-intro { padding-block: clamp(2.7rem, 7vw, 7rem) clamp(1.75rem, 4vw, 4.3rem); }
.page-intro h1 { max-width: 14ch; font-size: clamp(3.1rem, 7.35vw, 7.2rem); margin-top: .65rem; }
.page-intro p:not(.eyebrow) { max-width: 56ch; margin-top: 1rem; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.2rem); }
.category-nav {
  position: sticky;
  top: 0;
  z-index: 2;
  justify-content: center;
  gap: clamp(1rem, 3.6vw, 3rem);
  border-block: 1px solid var(--line);
  padding: .25rem .5rem;
  background: var(--paper);
}
.category-nav a { color: var(--accent); font-weight: 650; padding-inline: .4rem; }
.category-nav a[aria-current] { background: var(--paper-deep); text-decoration: underline; }
.portfolio-group { padding-block: clamp(1.6rem, 3.8vw, 3.5rem); scroll-margin-top: 3.45rem; }
.portfolio-group + .portfolio-group { border-top: 1px solid var(--line); }
.portfolio-card a[id] { scroll-margin-top: 4rem; }
.portfolio-card a:target { outline: 2px solid var(--accent); outline-offset: .15rem; }
.content-bottom { padding-bottom: clamp(3.5rem, 8vw, 8rem); }

.service-details, .project-cta {
  border-top: 1px solid var(--line);
  margin-top: clamp(2rem, 5vw, 4rem);
  padding-top: clamp(1.1rem, 2.5vw, 2.15rem);
}
.service-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem var(--gap); }
.service-details h2, .project-cta h2 { font-size: clamp(1.65rem, 3vw, 2.85rem); }
.service-details p, .project-cta p { max-width: 56ch; margin-top: .55rem; color: var(--muted); }
.project-cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem var(--gap); }
.project-cta .button { flex-shrink: 0; }
.service-details + .article-tail, .project-cta + .article-tail { margin-top: clamp(1.45rem, 3vw, 2.6rem); }

.article .page-intro { padding-top: clamp(1.6rem, 4vw, 3.5rem); }
.article .back-link { margin-bottom: clamp(1rem, 3.2vw, 2.8rem); }
.article-cover { background: transparent; margin: 0 auto var(--photo-gap); }
.article-cover img { width: auto; max-width: 100%; max-height: 88svh; margin-inline: auto; }
.article-grid { margin-inline: auto; }
.article-grid:has(.photo-row--portraits) { max-width: 58rem; }
.article-tail { border-top: 1px solid var(--line); margin-top: clamp(2.4rem, 6vw, 5rem); padding-top: 1rem; display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: .45rem 1.4rem; }
.contact-page .contact-grid {
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  padding-top: clamp(1rem, 3.5vw, 3.7rem);
  border-top: 1px solid var(--line);
}
.contact-page h2, .privacy h2 { font-size: clamp(1.85rem, 3.25vw, 3rem); }
.privacy p + p { margin-top: 1rem; }

@media (max-width: 850px) {
  .section-head { align-items: start; }
  .contact-page .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 660px) {
  .site-header { flex-direction: column; align-items: stretch; justify-content: center; gap: 0; padding-block: .55rem .12rem; }
  .brand { align-self: start; }
  .site-nav { justify-content: space-between; flex-wrap: wrap; gap: 0 .9rem; }
  .site-nav a { font-size: .85rem; }
  .hero { min-height: clamp(32rem, 83svh, 42rem); }
  .hero-copy { width: 100%; padding: 1.05rem 1.05rem 4.7rem; }
  .hero h1 { font-size: clamp(3rem, 12vw, 5.5rem); }
  .hero-media::after { background: linear-gradient(0deg, #16110ef5 0%, #1a1511cf 31%, #1a151140 62%, transparent 89%); }
  .hero-slide img { object-position: 51% 42%; }
  .story-panel, .studio, .contact-grid { grid-template-columns: 1fr; }
  .story-panel { gap: 1.1rem; }
  .story-panel .eyebrow { margin-bottom: .45rem; }
  .story-panel h2 { max-width: 16ch; font-size: clamp(2.6rem, 10vw, 4.35rem); }
  .story-panel img { aspect-ratio: 4 / 3; }
  .is-animated .story-panel { align-content: center; padding-block: 1.5rem 3rem; }
  .is-animated .story-panel .photo, .is-animated .story-panel img { max-height: 50svh; }
  .section-head { flex-direction: column; align-items: start; gap: .35rem; }
  .photo-row { grid-template-columns: 1fr; }
  .services-grid, .entries-grid { grid-template-columns: 1fr; }
  .services-grid, .entries-grid { gap: 1.4rem; }
  .service-details { grid-template-columns: 1fr; }
  .project-cta { flex-direction: column; align-items: start; }
  .service-card .photo img { aspect-ratio: 1.65; }
  .studio .photo img { aspect-ratio: 1.35; }
  .footer-top { flex-direction: column; align-items: start; gap: .1rem; }
  .footer-nav { gap: 0 1rem; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: clamp(2.7rem, 12vw, 3.9rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .image-link:hover .photo img, .image-link.photo:hover img { transform: none; }
}
.lightbox {
  width: min(94vw, 78rem);
  height: min(90svh, 56rem);
  max-width: none;
  max-height: none;
  border: 0;
  padding: clamp(.55rem, 1.35vw, 1rem);
  background: var(--dark);
  color: var(--light);
  overflow: hidden;
}
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: .65rem; }
.lightbox::backdrop { background: #17130fe0; }
.lightbox-controls { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.lightbox-steps { display: flex; gap: .45rem; }
.lightbox .button { border-color: #cbbfae; }
.lightbox-step { justify-content: center; min-width: 2.8rem; padding-inline: .5rem; }
.lightbox :focus-visible { outline-color: #ebbf8d; }
.lightbox figure { min-height: 0; }
.lightbox img { height: 100%; object-fit: contain; }
