:root {
  --ivory: #f7f2e9;
  --warm-white: #fffaf2;
  --charcoal: #28241f;
  --muted: #71695e;
  --stone: #cfc4b3;
  --umber: #725845;
  --accent: #403b34;
  --accent-soft: #5b5349;
  --ink: #403b34;
  --line: #ddd3c5;
  --wash: #efe6d8;
  --focus: #725845;
  --max: 1260px;
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --frame-pad: clamp(.6rem, 1vw, .85rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, var(--warm-white) 0, var(--ivory) 34rem),
    var(--ivory);
  color: var(--charcoal);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.68;
}

img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--wash);
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  transform: translateY(-200%);
  background: var(--accent);
  color: var(--warm-white);
  padding: .5rem .75rem;
  z-index: 30;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: rgba(255, 250, 242, .88);
  border-bottom: 1px solid var(--charcoal);
  box-shadow: 0 .35rem 1.2rem rgba(40, 36, 31, .06);
  -webkit-backdrop-filter: blur(10px) saturate(115%);
  backdrop-filter: blur(10px) saturate(115%);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  width: min(250px, 58vw);
  max-height: 58px;
  object-fit: contain;
  background: transparent;
  object-position: left center;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.1rem;
  justify-content: flex-end;
  font-family: var(--serif);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  padding-bottom: .18rem;
  border-bottom: 1px solid transparent;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

main {
  max-width: var(--max);
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 90px);
  padding: clamp(2rem, 4vw, 2rem) clamp(1.5rem, 3vw, 2.5rem) clamp(4rem, 7vw, 7rem);
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(300px, .62fr);
  gap: clamp(2.5rem, 6vw, 6.5rem);
  align-items: center;
}

.hero-image {
  padding: var(--frame-pad);
  background: rgba(255, 250, 242, .72);
  border: 1px solid var(--line);
}

.hero-image img {
  width: auto;
  max-width: 100%;
  max-height: min(88vh, 900px);
  margin: 0 auto;
  object-fit: contain;
}

.hero-copy {
  max-width: 560px;
  padding-top: 1rem;
}

.eyebrow {
  margin: 0 0 .5rem;
  color: var(--accent);
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 350;
  line-height: 1;
}

h1 {
  font-size: clamp(3.4rem, 8.4vw, 7.0rem);
  max-width: 9ch;
}

h2 {
  font-size: clamp(2.15rem, 4.2vw, 3.8rem);
}

.service-grid h2,
.work-section h2,
.form-section h2 {
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
}

p {
  margin: 1rem 0 0;
}

p,
li {
  max-width: 68ch;
}

.lede {
  color: var(--ink);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.22;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .78rem 1.18rem;
  border: 1px solid var(--charcoal);
  background: var(--charcoal);
  color: var(--warm-white);
  font-family: var(--sans);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .07em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.button.secondary {
  background: transparent;
  color: var(--charcoal);
}

.button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--warm-white);
}

.small-note {
  color: var(--muted);
  font-size: .95rem;
}

.text-section,
.split-section,
.cta-pair,
.featured,
.page-intro,
.work-section,
.form-section,
.thank-you,
.about-hero,
.commission-hero,
.contact-intro,
.process,
.service-grid,
.availability,
.image-strip {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 3vw, 2.5rem);
}

.text-section {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
  background: rgba(255, 250, 242, .38);
}

.featured,
.form-section,
.page-intro,
.cta-pair,
.thank-you {
  background: var(--accent);
  color: var(--warm-white);
  border-top: 0;
}

.featured .eyebrow,
.form-section .eyebrow,
.page-intro .eyebrow,
.cta-pair .eyebrow,
.thank-you .eyebrow {
  color: var(--stone);
}

.featured h2,
.form-section h2,
.page-intro h1,
.cta-pair h2,
.thank-you h1 {
  color: var(--warm-white);
}

.featured figcaption,
.form-section label,
.page-intro p,
.cta-pair p,
.thank-you p {
  color: rgba(255, 250, 242, .78);
}

.featured figure img,
.form-section input,
.form-section textarea {
  border-color: rgba(255, 250, 242, .24);
}

.cta-pair .text-link,
.thank-you .button {
  color: var(--warm-white);
}

.cta-pair .text-link {
  text-decoration-color: rgba(255, 250, 242, .62);
}

.thank-you .button,
.form-section .button {
  background: var(--warm-white);
  border-color: var(--warm-white);
  color: var(--accent);
}

.thank-you .button:hover,
.form-section .button:hover {
  background: var(--stone);
  border-color: var(--stone);
  color: var(--accent);
}

.section-heading,
.page-intro {
  max-width: 760px;
}

.section-copy {
  max-width: 680px;
}

.compact {
  margin-bottom: 2rem;
}

.gallery {
  display: grid;
  gap: clamp(1.25rem, 2.3vw, 2rem);
}

.gallery.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

figure {
  margin: 0;
}

figure img {
  box-sizing: content-box;
  width: calc(100% - (var(--frame-pad) * 2));
  padding: var(--frame-pad);
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, .72);
  object-fit: contain;
}

figcaption {
  padding-top: .8rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: .82rem;
  letter-spacing: .05em;
  line-height: 1.35;
  text-transform: uppercase;
}

.portrait-gallery .gallery-image {
  padding: var(--frame-pad);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, .72);
  transition: border-color .16s ease, background-color .16s ease;
}

.portrait-gallery .gallery-image img {
  box-sizing: border-box;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  transition: transform .55s ease;
}

.portrait-gallery figure:hover .gallery-image,
.portrait-gallery figure:focus-visible .gallery-image {
  border-color: var(--umber);
  background-color: var(--warm-white);
}


@media (prefers-reduced-motion: reduce) {
  .portrait-gallery .gallery-image img {
    transition: none;
  }
}

.gallery-note {
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.available-gallery-note {
  grid-column: 1 / -1;
  margin-bottom: 0;
  padding: 0;
}

.split-section,
.about-hero,
.commission-hero,
.contact-intro {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  border-top: 1px solid var(--line);
}

.split-section {
  background: rgba(255, 250, 242, .32);
}

.simple-commission {
  align-items: start;
}

.simple-commission > div {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.simple-commission img {
  align-self: start;
  max-height: 560px;
}

.split-section.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
}

.split-section img,
.about-hero img,
.commission-hero img,
.contact-intro img {
  box-sizing: content-box;
  width: calc(100% - (var(--frame-pad) * 2));
  padding: var(--frame-pad);
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, .72);
  max-height: calc(680px - (var(--frame-pad) * 2));
  object-fit: contain;
}

.cta-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 5rem);
}

.cta-pair img {
  margin-bottom: 1.5rem;
  box-sizing: content-box;
  width: calc(100% - (var(--frame-pad) * 2));
  padding: var(--frame-pad);
  border: 1px solid rgba(255, 250, 242, .24);
  background: rgba(255, 250, 242, .72);
  max-height: calc(520px - (var(--frame-pad) * 2));
  object-fit: contain;
}

.text-link {
  display: inline-block;
  margin-top: 1.1rem;
  color: var(--accent);
  font-family: var(--sans);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-underline-offset: .24em;
}

.page {
  min-height: 70vh;
}

.page-intro {
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  max-width: none;
}

.page-intro h1 {
  max-width: 12ch;
}

.page-intro p {
  max-width: 740px;
}

.work-section {
  border-top: 1px solid var(--line);
}

.work-section h2 {
  margin-bottom: 1.5rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
}

.service-grid article {
  padding: 1.5rem;
  background: rgba(255, 255, 255, .28);
  border: 1px solid var(--line);
}

.service-grid p {
  color: var(--muted);
  font-size: 1rem;
}

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

.process ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style-position: inside;
  color: var(--umber);
  font-family: var(--sans);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.process li {
  padding: 1rem;
  border-top: 1px solid var(--stone);
}

.process span {
  color: var(--charcoal);
}

.image-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  border-top: 1px solid var(--line);
}

.image-strip img {
  object-fit: contain;
}

.form-section {
  display: grid;
  grid-template-columns: minmax(220px, .6fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 6vw, 5rem);
}

form {
  display: grid;
  gap: 1rem;
}

label {
  display: grid;
  gap: .35rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--stone);
  border-radius: 0;
  background: rgba(255, 250, 242, .96);
  color: var(--charcoal);
  font: 1rem/1.4 var(--sans);
  padding: .8rem;
}

input:focus,
textarea:focus {
  border-color: var(--accent-soft);
  outline: 2px solid rgba(255, 250, 242, .32);
  outline-offset: 0;
}

textarea {
  resize: vertical;
}

.hidden {
  display: none;
}

.availability figcaption {
  display: grid;
  gap: .25rem;
  color: var(--charcoal);
}

.availability span {
  color: var(--accent);
  font-size: .75rem;
}

.thank-you {
  padding-top: clamp(6rem, 10vw, 9rem);
  padding-bottom: clamp(6rem, 10vw, 9rem);
}

.thank-you h1 {
  max-width: 12ch;
}

.thank-you .button {
  margin-top: 2rem;
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--charcoal);
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
  min-width: 0;
}

.site-footer a {
  flex: 0 0 auto;
  color: var(--accent);
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero,
  .text-section,
  .split-section,
  .split-section.reverse,
  .about-hero,
  .commission-hero,
  .contact-intro,
  .cta-pair,
  .form-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-image {
    order: -1;
  }

  .gallery.four,
  .service-grid,
  .process ol,
  .image-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .site-header,
  .hero,
  .text-section,
  .split-section,
  .cta-pair,
  .featured,
  .page-intro,
  .work-section,
  .form-section,
  .thank-you,
  .about-hero,
  .commission-hero,
  .contact-intro,
  .process,
  .service-grid,
  .availability,
  .image-strip,
  .site-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  h1 {
    font-size: 3rem;
  }

  .gallery.three,
  .gallery.four,
  .service-grid,
  .process ol,
  .image-strip {
    grid-template-columns: 1fr;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Uncropped artwork, grouped by medium. */
.portrait-gallery { align-items: start; }
.available-gallery figcaption { color: var(--charcoal); }
.available-gallery figcaption span { display: block; margin-top: .35rem; color: var(--muted); font-size: .75rem; }
.commission-hero .commission-sitter { box-sizing: border-box; width: min(100%, 328px); max-height: none; justify-self: center; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Keep every homepage section on the main ivory background. */
.home-page main > section {
  background: var(--ivory);
  color: var(--charcoal);
}
.home-page main > section h2,
.home-page main > section p,
.home-page .cta-pair .text-link {
  color: var(--charcoal);
}
.home-page main > section .eyebrow {
  color: var(--umber);
}
.home-page .cta-pair .text-link {
  text-decoration-color: var(--umber);
}
.home-page .featured figure img,
.home-page .cta-pair img {
  border-color: var(--line);
}
