:root {
  --ink: #161616;
  --muted: #696965;
  --paper: #fbfaf7;
  --line: rgba(22, 22, 22, .82);
  --soft-line: rgba(22, 22, 22, .24);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 13px; line-height: 1.55; }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(1168px, calc(100% - 96px)); margin-inline: auto; }
.section-space { padding: 150px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 18px; top: -100px; z-index: 30; padding: 10px 14px; color: var(--paper); background: var(--ink); }
.skip-link:focus { top: 18px; }

.site-header { padding: 47px 0 0; }
.header-main { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.wordmark { font-family: var(--serif); font-size: 25px; font-weight: 500; letter-spacing: .01em; line-height: 1; }
.site-nav, .footer-nav { display: flex; align-items: center; gap: 37px; }
.site-nav a, .footer-nav a, .back-top, .social-links a { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.site-nav a, .footer-nav a, .social-links a, .underlined-link, .contact-button, .back-top { transition: opacity .2s ease, color .2s ease, background-color .2s ease; }
.site-nav a:hover, .footer-nav a:hover, .social-links a:hover, .underlined-link:hover, .contact-button:hover, .back-top:hover { color: var(--muted); }
.menu-toggle { display: none; border: 0; background: transparent; }

.home { padding-top: 26px; }
.intro-row { display: flex; align-items: center; justify-content: space-between; min-height: 54px; border-bottom: 1px solid var(--soft-line); }
.intro-row p, .social-links { margin: 0; color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.social-links { display: flex; gap: 30px; }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; padding-top: 19px; }
.gallery-grid.is-masonry { position: relative; display: block; }
.photo { grid-column: span 4; margin: 0 0 32px; }
.gallery-grid.is-masonry .photo { position: absolute; margin: 0; }
.gallery-grid.is-masonry .photo-wide { grid-column: auto; }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.88); transition: filter .35s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
.photo:hover img { filter: saturate(1); transform: scale(1.018); }
.photo-landscape { aspect-ratio: 1.38 / 1; }
.photo-portrait { aspect-ratio: .78 / 1; }
.photo-tall { aspect-ratio: .7 / 1; }
.photo-wide { grid-column: span 8; aspect-ratio: 1.72 / 1; }
.photo figcaption { display: flex; justify-content: space-between; margin-top: 9px; color: var(--muted); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }

.section-kicker { margin: 0 0 26px; color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: .96; letter-spacing: -.025em; }
h1 { font-size: clamp(64px, 8.5vw, 116px); }
h2 { font-size: clamp(56px, 7vw, 94px); }
em { font-style: italic; }
.underlined-link { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 5px; border-bottom: 1px solid var(--line); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.underlined-link span { font-size: 16px; line-height: .5; }

.about { border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: minmax(280px, .8fr) 1fr; align-items: center; gap: 110px; }
.about-image { width: min(100%, 450px); aspect-ratio: .82 / 1; overflow: hidden; }
.about-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82); }
.about-copy { max-width: 510px; }
.about-copy h2 { margin-bottom: 32px; }
.about-copy p:not(.section-kicker) { max-width: 420px; margin-bottom: 17px; color: var(--muted); font-family: var(--serif); font-size: 23px; line-height: 1.2; }
.about-copy .underlined-link { margin-top: 20px; }

.testimonials { border-top: 1px solid var(--line); text-align: center; }
.testimonials-inner { max-width: 820px; }
.testimonials h2 { margin-bottom: 45px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.testimonial-card { margin: 0; padding: 36px 28px 32px; border-top: 1px solid var(--soft-line); border-bottom: 1px solid var(--soft-line); }
.testimonial-card p { margin: 0 auto 18px; color: var(--muted); font-family: var(--serif); font-size: 22px; line-height: 1.28; }
.testimonial-card p:last-of-type { margin-bottom: 23px; }
.testimonial-card cite { color: var(--ink); font-size: 11px; font-style: normal; letter-spacing: .1em; text-transform: uppercase; }

.contact { border-top: 1px solid var(--line); text-align: center; }
.contact-inner { max-width: 760px; }
.contact h2 { margin-bottom: 32px; }
.contact-inner > p:not(.section-kicker) { max-width: 425px; margin: 0 auto 31px; color: var(--muted); font-family: var(--serif); font-size: 22px; line-height: 1.25; }
.contact-button { display: inline-flex; align-items: center; gap: 13px; padding: 13px 21px 12px; border: 1px solid var(--line); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.contact-button:hover { background: var(--ink); color: var(--paper); }
.contact-button span { font-family: var(--serif); font-size: 18px; line-height: .5; }
.contact-gmail { display: block; width: fit-content; margin: 15px auto 0; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; }
.contact-gmail:hover { color: var(--ink); }
.contact-address { margin: 17px 0 0; color: var(--muted); font-family: var(--serif); font-size: 19px; }
.contact-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 29px; }
.contact-socials a { max-width: 100%; color: var(--muted); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; transition: color .2s ease; }
.contact-socials a:hover { color: var(--ink); }

.site-footer { border-top: 1px solid var(--line); padding: 29px 0 23px; }
.footer-main { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-bottom: 27px; border-bottom: 1px solid var(--soft-line); }
.footer-main .wordmark { font-size: 21px; }
.back-top { justify-self: end; }
.back-top span { margin-left: 8px; font-family: var(--serif); font-size: 18px; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 18px; color: var(--muted); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .container { width: min(100% - 48px, 650px); }
  .site-header { padding-top: 29px; }
  .site-nav, .footer-nav { gap: 22px; }
  .about-grid { gap: 60px; }
  .testimonial-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container { width: calc(100% - 38px); }
  .site-header { padding-top: 23px; }
  .header-main { padding-bottom: 16px; }
  .wordmark { font-size: 21px; }
  .menu-toggle { position: relative; z-index: 12; display: grid; gap: 5px; width: 30px; padding: 8px 0; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { display: block; width: 25px; height: 1px; background: var(--ink); transition: transform .2s ease; }
  .site-nav { position: fixed; inset: 0; z-index: 10; display: grid; align-content: center; justify-items: center; gap: 27px; background: var(--paper); font-family: var(--serif); font-size: 35px; opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .2s ease, transform .2s ease; }
  .site-nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .site-nav a { font-size: 35px; letter-spacing: 0; text-transform: none; }
  .home { padding-top: 13px; }
  .intro-row { display: block; padding: 17px 0 13px; }
  .intro-row p { margin-bottom: 12px; font-size: 10px; }
  .social-links { gap: 20px; font-size: 10px; }
  .gallery-grid { display: flex; flex-direction: column; gap: 12px; padding-top: 12px; }
  .photo, .photo-wide { width: 100%; margin-bottom: 20px; }
  .photo-portrait, .photo-tall { width: 82%; }
  .photo:nth-child(even) { align-self: flex-end; }
  .photo figcaption { margin-top: 7px; font-size: 9px; }
  .section-space { padding: 93px 0; }
  h1 { font-size: clamp(57px, 16vw, 87px); }
  h2 { font-size: clamp(53px, 15vw, 79px); }
  .about-copy p:not(.section-kicker), .contact-inner > p:not(.section-kicker) { font-size: 20px; }
  .contact-button { max-width: 100%; }
  .contact-address { overflow-wrap: anywhere; }
  .contact-socials { flex-direction: column; align-items: center; gap: 13px; margin-top: 27px; }
  .contact-socials a { text-align: center; overflow-wrap: anywhere; }
  .about-grid { display: flex; flex-direction: column; align-items: stretch; gap: 54px; }
  .about-image { width: 84%; }
  .about-copy { width: 100%; }
  .footer-main { display: flex; flex-wrap: wrap; gap: 24px; }
  .footer-nav { order: 3; width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: 10px 18px; }
  .back-top { margin-left: auto; }
  .footer-bottom { display: block; line-height: 2; }
  .footer-bottom span { display: block; }
}

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