:root {
  --ivory: #f5f1ea;
  --ink: #1f1b17;
  --gold: #7e6129;
  --line: rgba(31, 27, 23, 0.16);
  --serif: "Lora", "Iowan Old Style", Palatino, serif;
  --sans: "Poppins", "Avenir Next", "Segoe UI", sans-serif;
  --header: 5.4rem;
  --measure: 72rem;
  --wide: 82rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}

p {
  margin: 0;
}

em {
  font-style: italic;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--ivory);
  padding: 0.55rem 0.8rem;
  z-index: 20;
}

.skip:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header);
  padding: 0.85rem 6vw;
  background: rgba(245, 241, 234, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  text-decoration: none;
}

.wordmark-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.1;
}

.wordmark-sub {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.site-nav {
  display: flex;
  gap: 1.6rem;
}

.site-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid transparent;
}

.site-nav a.is-current,
.site-nav a:hover {
  border-bottom-color: var(--gold);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.4rem 0;
  font: inherit;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  cursor: pointer;
}

.page {
  padding: 4.5rem 6vw 5rem;
}

.hero {
  max-width: var(--wide);
  margin: 0 auto;
}

.kicker {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.kicker span {
  white-space: nowrap;
}

.hero h1,
.page-title {
  font-size: clamp(3.3rem, 7vw, 6.4rem);
  max-width: 11ch;
}

.lede {
  max-width: 38rem;
  margin-top: 1.5rem;
}

.offer-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 2.4rem 0 2.8rem;
  border-top: 1px solid var(--line);
}

.offer-row a {
  display: block;
  padding: 1rem 1.2rem 1rem 0;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.offer-row a + a {
  padding-left: 1.2rem;
  border-left: 1px solid var(--line);
}

.offer-row span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.offer-row strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
}

.hero-photo,
.section,
.page-intro {
  max-width: var(--wide);
  margin-left: auto;
  margin-right: auto;
}

.frame {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--ivory);
  cursor: zoom-in;
  text-align: left;
  color: inherit;
  font: inherit;
  line-height: 0;
}

.frame img,
.plain-photo {
  width: 100%;
  height: auto;
}

.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(245, 241, 234, 0.9), rgba(245, 241, 234, 0) 5.5%, rgba(245, 241, 234, 0) 94.5%, rgba(245, 241, 234, 0.9)),
    linear-gradient(to right, rgba(245, 241, 234, 0.9), rgba(245, 241, 234, 0) 4.5%, rgba(245, 241, 234, 0) 95.5%, rgba(245, 241, 234, 0.9)),
    radial-gradient(ellipse at center, transparent 72%, rgba(245, 241, 234, 0.22) 100%);
}

.caption,
.frame + .caption,
figcaption {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.section {
  padding-top: 5.5rem;
  scroll-margin-top: var(--header);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section h2 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  margin-bottom: 1rem;
}

.section-head p + p {
  margin-top: 1rem;
}

.stack {
  display: grid;
  gap: 1.4rem;
}

.gallery,
.split,
.home-grid,
.sketch-grid,
.board-grid,
.trio,
.facts,
.contact-layout {
  display: grid;
  gap: 1.25rem 1.25rem;
}

.gallery,
.sketch-grid,
.board-grid {
  grid-template-columns: 1fr 1fr;
  margin-top: 1.4rem;
}

.home-grid,
.trio {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1.4rem;
}

.section-follow {
  margin-top: 3.6rem;
}

.section-follow h2 {
  margin-bottom: 0.8rem;
}

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  max-width: 52rem;
  margin-top: 2rem;
  padding: 0;
  list-style: none;
}

.steps span {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--gold);
}

.steps h3 {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.7rem;
}

.palette {
  list-style: none;
  margin: 1.3rem 0 0;
  padding: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.45;
}

.pull {
  margin: 1.6rem 0 0;
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
  max-width: 36rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.4;
}

.callout {
  max-width: 46rem;
  margin-top: 2.2rem;
  padding: 1.1rem 0 1.1rem 1.1rem;
  border-left: 2px solid var(--gold);
}

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

.span-2 {
  grid-column: 1 / -1;
}

.sketch-grid p,
.board-grid p {
  margin-top: 0.45rem;
}

.prose > p,
.prose > h2 {
  max-width: 40rem;
}

.note {
  margin-top: 1.6rem;
  padding: 1.6rem 1.5rem;
  background: var(--ink);
  color: var(--ivory);
}

.note .kicker,
.note figcaption,
.note .caption {
  color: #d7c093;
}

.note p {
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.35;
}

.facts {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 2.4rem;
  border-top: 1px solid var(--line);
}

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

.facts dt {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.facts dd {
  margin: 0.35rem 0 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.3;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
  max-width: var(--wide);
  margin: 0 auto;
}

.about-copy p + p,
.prose p + p {
  margin-top: 1rem;
}

.about-copy h2,
.prose h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin: 2.2rem 0 0.8rem;
}

.contact-layout {
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
  max-width: var(--wide);
  margin: 0 auto;
}

.contact-facts {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

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

.contact-facts span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-facts a {
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}

.services {
  margin-top: 2rem;
}

.services article {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.services h3 {
  font-size: 1.55rem;
  margin-bottom: 0.35rem;
}

.contact-form {
  border-top: 1px solid var(--line);
  padding-top: 0.4rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1.1rem;
}

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

label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0.55rem 0;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-bottom-color: var(--gold);
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-bottom-color: #8a3d32;
}

.form-error {
  color: #8a3d32;
  margin-bottom: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.2rem;
  background: var(--ink);
  color: var(--ivory);
  border: 1px solid var(--ink);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.form-hint {
  margin-top: 0.8rem;
  font-size: 0.88rem;
}

.thanks h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin: 0.4rem 0 0.8rem;
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  margin-left: 1rem;
  background: none;
  border: 0;
  padding: 0 0 0.15rem;
  border-bottom: 1px solid var(--gold);
  font: inherit;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  cursor: pointer;
}

.site-footer {
  padding: 2rem 6vw 2.4rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
}

.site-footer a {
  color: var(--gold);
}

.lightbox {
  width: min(1100px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 0;
  border: 0;
  background: var(--ink);
  color: var(--ivory);
}

.lightbox::backdrop {
  background: rgba(31, 27, 23, 0.82);
}

.lightbox img {
  width: 100%;
  max-height: calc(100vh - 7rem);
  object-fit: contain;
  background: #111;
}

.lightbox figcaption {
  padding: 0.8rem 1rem 1rem;
  color: #d7c093;
}

.lightbox-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  background: var(--ivory);
  color: var(--ink);
  border: 0;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
}

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

@media (max-width: 1100px) {
  .offer-row,
  .home-grid,
  .trio {
    grid-template-columns: 1fr 1fr;
  }

  .offer-row a:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
}

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

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    gap: 0;
    padding: 0.3rem 6vw 0.8rem;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .offer-row,
  .gallery,
  .split,
  .home-grid,
  .sketch-grid,
  .board-grid,
  .trio,
  .steps,
  .facts,
  .about-layout,
  .contact-layout,
  .field-row {
    grid-template-columns: 1fr;
  }

  .offer-row a + a {
    padding-left: 0;
    border-left: 0;
  }

  .span-2 {
    grid-column: auto;
  }

  .hero h1,
  .page-title {
    font-size: 3.1rem;
  }

  .text-link {
    margin-left: 0;
  }
}

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