:root {
  --ink: #2b291b;
  --text: #231f20;
  --muted: #686356;
  --paper: #ffffff;
  --wash: #f1f0ef;
  --soft: #faf9f6;
  --line: rgba(43, 41, 27, 0.15);
  --shadow: 0 24px 74px rgba(43, 41, 27, 0.11);
  --serif: "Prata", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  color: white;
  background: var(--ink);
  border-radius: 6px;
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 15px clamp(20px, 5vw, 72px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--line);
  box-shadow: 0 10px 34px rgba(43, 41, 27, 0.07);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  min-width: 126px;
}

.brand img {
  width: 142px;
  height: auto;
}

.footer-brand img {
  width: 132px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.6vw, 42px);
  color: rgba(35, 31, 32, 0.72);
  font-size: 0.76rem;
  font-weight: 500;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 11px 16px !important;
  border: 1px solid var(--ink);
}

.nav-cta::after {
  display: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  align-items: end;
  gap: clamp(32px, 7vw, 104px);
  min-height: 100vh;
  padding: clamp(128px, 14vw, 190px) clamp(20px, 6vw, 96px) 74px;
  background: var(--paper);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  display: block;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Prata", Georgia, serif;
  font-weight: 400;
  line-height: 1.05;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.3rem, 7.2vw, 7rem);
}

h2 {
  font-size: clamp(2.6rem, 5.5vw, 6.1rem);
}

p {
  margin: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 1.02rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 34px;
  padding: 13px 24px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  text-transform: lowercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  color: var(--ink);
  background: var(--wash);
  transform: translateY(-2px);
}

.photo-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--wash);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(0.98);
}

.photo-frame.large {
  height: min(68vh, 710px);
  min-height: 520px;
}

.photo-frame.large img {
  object-position: center center;
}

.photo-frame.portrait {
  height: 580px;
}

.photo-frame.portrait img {
  object-position: center top;
}

.photo-frame.square {
  aspect-ratio: 1 / 1;
  min-height: 420px;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(170px, 0.28fr) minmax(0, 0.8fr) minmax(300px, 0.52fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: center;
  padding: clamp(76px, 10vw, 140px) clamp(20px, 6vw, 96px);
}

.about {
  background: var(--soft);
}

.about-text {
  display: grid;
  gap: 24px;
}

.about-text p,
.portfolio-copy p,
.agenda p {
  max-width: 590px;
  color: var(--muted);
}

.text-link {
  justify-self: start;
  margin-top: 8px;
  border-bottom: 1px solid currentColor;
  font-family: var(--serif);
  font-size: 1.1rem;
}

.services {
  padding: clamp(78px, 10vw, 138px) clamp(20px, 6vw, 96px);
  color: var(--ink);
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.services-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.32fr) minmax(0, 0.8fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  max-width: 1180px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(46px, 7vw, 86px);
  background: var(--line);
  border: 1px solid var(--line);
}

.service-list a {
  display: flex;
  align-items: center;
  min-height: 92px;
  padding: 24px 28px;
  background: white;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.35vw, 2.5rem);
  line-height: 1;
  transition: background 180ms ease, color 180ms ease;
}

.service-list a:hover,
.service-list a:focus-visible {
  color: white;
  background: var(--ink);
}

.portfolio {
  grid-template-columns: minmax(300px, 0.55fr) minmax(160px, 0.18fr) minmax(0, 0.8fr);
  background: var(--soft);
}

.portfolio-copy {
  grid-column: 3;
  display: grid;
  gap: 24px;
}

.agenda {
  display: grid;
  place-items: center;
  padding: clamp(80px, 11vw, 150px) 20px;
  text-align: center;
  background: white;
}

.agenda h2 {
  max-width: 760px;
}

.agenda p {
  margin-top: 24px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(150px, 0.6fr) minmax(200px, 1fr) minmax(200px, 0.8fr) minmax(180px, 0.6fr);
  gap: 32px;
  padding: 58px clamp(20px, 6vw, 96px) 36px;
  color: rgba(35, 31, 32, 0.72);
  background: var(--wash);
}

.site-footer nav,
.site-footer address,
.social-links {
  display: grid;
  align-content: start;
  gap: 8px;
  font-size: 0.82rem;
  font-style: normal;
  text-transform: lowercase;
}

.privacy {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 16px;
  color: rgba(35, 31, 32, 0.56);
  font-size: 0.78rem;
  text-transform: lowercase;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    box-shadow: 0 18px 48px rgba(43, 41, 27, 0.12);
    transform: translateY(-12px);
    visibility: hidden;
    opacity: 0;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .main-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .nav-cta {
    margin-top: 10px;
    text-align: center;
  }

  .hero,
  .section-grid,
  .portfolio,
  .services-heading,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .portfolio-copy {
    grid-column: auto;
  }

  .section-kicker {
    margin-bottom: 0;
  }

  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand img {
    width: 122px;
  }

  .hero {
    padding: 108px 18px 56px;
  }

  h1 {
    font-size: clamp(3.35rem, 19vw, 5.2rem);
  }

  h2 {
    font-size: clamp(2.45rem, 13vw, 4.2rem);
  }

  .photo-frame.large,
  .photo-frame.portrait,
  .photo-frame.square {
    height: auto;
    min-height: 360px;
  }

  .section-grid,
  .services,
  .agenda,
  .site-footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service-list a {
    min-height: 74px;
    padding: 20px;
  }

  .contact-actions,
  .button {
    width: 100%;
  }
}
