/* Start here when you're ready to shape the look of the site. */
:root {
  --color-paper: #f6f5f1;
  --color-ink: #20221f;
  --color-muted: #696c66;
  --color-accent: #748176;
  --color-line: #d9d9d2;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: Arial, Helvetica, sans-serif;
  --page-width: 1200px;
  --page-gutter: clamp(1.25rem, 5vw, 5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: 1rem; line-height: 1.65; }
a { color: inherit; }
.skip-link { position: absolute; top: -4rem; left: 1rem; z-index: 10; padding: .75rem 1rem; background: var(--color-ink); color: white; }
.skip-link:focus { top: 1rem; }
.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.25rem var(--page-gutter); }
.site-header { border-bottom: 1px solid var(--color-line); }
.wordmark { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: .02em; text-decoration: none; }
.wordmark span { font-size: .9rem; font-weight: 400; }
.site-nav { display: flex; gap: clamp(1rem, 3vw, 2.75rem); }
.site-nav a, .site-footer > a:last-child { font-size: .9rem; text-decoration: none; }
.site-nav a:hover, .site-footer a:hover, .text-link:hover { color: var(--color-accent); }
.menu-toggle { display: none; }
.intro { max-width: 900px; margin: 0 auto; padding: clamp(6rem, 13vw, 11rem) var(--page-gutter) clamp(5rem, 10vw, 8rem); text-align: center; }
.eyebrow { margin: 0 0 1rem; color: var(--color-muted); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: var(--font-display); font-weight: 400; line-height: 1.08; }
h1 { max-width: 780px; margin-inline: auto; font-size: clamp(3.1rem, 8vw, 6.75rem); letter-spacing: -.045em; }
h1 em { color: var(--color-accent); font-weight: 400; }
.intro-copy { margin: 1.5rem auto 1.75rem; color: var(--color-muted); font-size: 1.1rem; }
.text-link { display: inline-block; border-bottom: 1px solid currentColor; padding-bottom: .25rem; font-size: .92rem; text-decoration: none; }
.section-wrap { width: min(100%, var(--page-width)); margin-inline: auto; padding-inline: var(--page-gutter); }
.portfolio { padding-block: 2rem 8rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
h2 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -.035em; }
.section-heading > p { max-width: 340px; margin: 0 0 .35rem; color: var(--color-muted); }
.photo-grid { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: repeat(2, minmax(240px, 1fr)); gap: 1rem; }
.photo-card { position: relative; display: block; min-height: 270px; overflow: hidden; color: white; background: #b2b6ae; text-decoration: none; }
.photo-card--large { grid-row: span 2; min-height: 560px; }
.photo-placeholder { display: grid; width: 100%; height: 100%; min-height: inherit; place-items: center; padding: 2rem; color: rgba(32,34,31,.72); font-family: var(--font-display); font-size: 1.5rem; text-align: center; transition: transform .45s ease; }
.placeholder-portrait { background: linear-gradient(155deg, #d6d1c7, #9d9f96 56%, #707a70); }
.placeholder-celebration { background: linear-gradient(145deg, #d8c3b3, #a88476 60%, #79675c); }
.placeholder-place { background: linear-gradient(155deg, #c8d0cb, #8a9a93 54%, #66746f); }
.photo-card:hover .photo-placeholder { transform: scale(1.025); }
.photo-caption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; padding: 3.5rem 1.4rem 1.25rem; background: linear-gradient(transparent, rgba(0,0,0,.58)); }
.photo-caption strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; }
.photo-caption span { font-size: .86rem; }
.about { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 8vw, 7rem); padding-block: 6rem; border-top: 1px solid var(--color-line); }
.about-image { display: grid; min-height: 440px; place-items: center; padding: 2rem; color: var(--color-muted); background: linear-gradient(145deg, #d5d4cc, #a8aaa1); font-family: var(--font-display); font-size: 1.5rem; text-align: center; }
.about-copy { max-width: 480px; }
.about-copy > p:not(.eyebrow) { color: var(--color-muted); }
.about-copy .text-link { margin-top: .5rem; }
.contact { padding: clamp(5rem, 10vw, 8rem) var(--page-gutter); background: #e8e9e3; text-align: center; }
.contact h2 { max-width: 760px; margin: 0 auto; }
.contact > p:not(.eyebrow):not(.setup-note) { margin: 1.25rem auto 1.75rem; color: var(--color-muted); }
.contact-link { display: inline-block; padding: .85rem 1.3rem; background: var(--color-ink); color: white; font-size: .9rem; text-decoration: none; }
.contact-link:hover { background: var(--color-accent); }
.setup-note { margin: 1.5rem 0 0; color: var(--color-muted); font-size: .82rem; }
.site-footer { border-top: 1px solid var(--color-line); color: var(--color-muted); font-size: .85rem; }
.site-footer p { margin: 0; }
code { font-size: .9em; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 4px; }

@media (max-width: 700px) {
  .site-header { position: relative; flex-wrap: wrap; }
  .menu-toggle { display: inline-block; border: 1px solid var(--color-line); padding: .5rem .75rem; background: transparent; color: inherit; font: inherit; font-size: .9rem; }
  .site-nav { display: none; flex-basis: 100%; flex-direction: column; gap: .75rem; padding: .5rem 0; }
  .site-nav.is-open { display: flex; }
  .section-heading { align-items: start; flex-direction: column; gap: .5rem; }
  .photo-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .photo-card, .photo-card--large { min-height: 350px; grid-row: auto; }
  .about { grid-template-columns: 1fr; }
  .about-image { min-height: 340px; }
  .site-footer { flex-wrap: wrap; }
  .site-footer p { order: 3; flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
