:root {
  --paper: #f2eadb;
  --paper-light: #fbf7ef;
  --ink: #1f2824;
  --berry: #8e2945;
  --blue: #2e68ad;
  --yellow: #f1c744;
  --green: #457452;
  --line: rgba(31, 40, 36, .2);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

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

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

button, a { -webkit-tap-highlight-color: transparent; }

button { color: inherit; font: inherit; }

.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;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: white;
  background: var(--berry);
  transform: translateY(-160%);
}

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

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1440px, calc(100% - 64px));
  height: 96px;
  margin-inline: auto;
  border-bottom: 1px solid var(--line);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.logo-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--paper-light);
  background: var(--berry);
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .04em;
  transform: rotate(-7deg);
}

.site-nav { display: flex; align-items: center; gap: 38px; font-size: 14px; }

.site-nav a { position: relative; }

.site-nav a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-contact {
  padding: 11px 19px;
  border: 1px solid var(--ink);
  border-radius: 99px;
  transition: .2s ease;
}

.nav-contact:hover { color: var(--paper-light); background: var(--ink); }

.menu-toggle { display: none; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr);
  min-height: 820px;
  padding: 156px max(32px, calc((100vw - 1440px) / 2)) 90px;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 58%;
  background: #e6d6bf;
  content: "";
}

.hero-copy { align-self: center; max-width: 790px; padding-right: 50px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow > span { width: 34px; height: 2px; background: var(--berry); }
.eyebrow-light { color: rgba(255,255,255,.78); }

.hero h1,
.section h2,
.practice h2,
.contact h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .92;
}

.hero h1 { max-width: 780px; font-size: clamp(64px, 6vw, 104px); }

em { color: var(--berry); font-weight: 400; }

.hero-lead { max-width: 560px; margin: 32px 0; font-family: var(--serif); font-size: clamp(20px, 1.7vw, 27px); line-height: 1.35; }

.hero-actions { display: flex; align-items: center; gap: 32px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  min-height: 55px;
  padding: 0 24px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 650;
  transition: transform .2s ease, background .2s ease;
}

.button-primary { color: white; background: var(--berry); }
.button-primary:hover { background: #762039; transform: translateY(-2px); }
.text-link { border-bottom: 1px solid var(--ink); font-size: 14px; }
.hero-publishers { max-width: 590px; margin: 50px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: #5d625e; font-size: 13px; }

.hero-art { position: relative; display: grid; place-items: center; min-height: 570px; }
.sun { position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); }

.art-card {
  position: relative;
  z-index: 2;
  width: min(54%, 365px);
  padding: 13px;
  background: #fffaf0;
  box-shadow: 0 30px 75px rgba(68, 47, 27, .25);
  transform: rotate(3deg);
}

.art-card img { width: 100%; height: auto; aspect-ratio: 20 / 27; object-fit: contain; }

.portrait-stamp {
  position: absolute;
  z-index: 4;
  right: 2%;
  bottom: 7%;
  width: 145px;
  padding: 7px 7px 22px;
  background: var(--paper-light);
  box-shadow: 0 12px 35px rgba(68, 47, 27, .22);
  transform: rotate(7deg);
}

.portrait-stamp img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 24%; filter: saturate(.85); }
.portrait-stamp span { position: absolute; right: 12px; bottom: 3px; color: var(--berry); font-family: var(--serif); font-size: 14px; font-style: italic; }

.hero-scribble { position: absolute; z-index: 3; top: 7%; right: -3%; width: 190px; fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; transform: rotate(18deg); }

.scroll-note {
  position: absolute;
  bottom: 32px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #626763;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  transform: rotate(-90deg);
  transform-origin: left center;
}

.scroll-note span { display: inline-block; color: var(--berry); font-size: 18px; transform: rotate(90deg); }

.recognition {
  display: grid;
  grid-template-columns: auto minmax(300px, 760px) 150px;
  align-items: center;
  gap: clamp(26px, 5vw, 80px);
  min-height: 300px;
  padding: 34px max(32px, calc((100vw - 1320px) / 2));
  color: white;
  background: var(--berry);
  overflow: hidden;
}

.recognition-number { color: var(--yellow); font-family: var(--serif); font-size: clamp(100px, 14vw, 190px); line-height: .8; letter-spacing: -.07em; }
.recognition-copy .eyebrow { margin-bottom: 14px; }
.recognition-copy > p:last-child { margin: 0; font-family: var(--serif); font-size: clamp(21px, 2vw, 30px); line-height: 1.28; }
.recognition img { width: 130px; max-height: 210px; object-fit: cover; box-shadow: 0 8px 24px rgba(0,0,0,.2); transform: rotate(5deg); }

.section { padding: 130px max(32px, calc((100vw - 1320px) / 2)); }

.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 65px; }
.section-heading h2, .about h2 { font-size: clamp(68px, 8vw, 128px); }
.section-heading > p { max-width: 520px; margin: 0 0 8px auto; font-family: var(--serif); font-size: 22px; line-height: 1.45; }

.works { background: var(--paper-light); }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 54px 24px; }

.work-card {
  position: relative;
  grid-column: span 5;
  padding: 0;
  text-align: left;
  background: none;
  border: 0;
  cursor: zoom-in;
}

.work-card:nth-child(2), .work-card:nth-child(4) { grid-column: 7 / span 6; }
.work-card:nth-child(3) { grid-column: 2 / span 4; }
.work-card:nth-child(4) { margin-top: -50px; }
.work-card:nth-child(5) { grid-column: 2 / span 4; margin-top: 30px; }
.work-card:nth-child(6) { grid-column: 8 / span 4; margin-top: -30px; }

.work-image { display: block; overflow: hidden; background: #e7dece; }
.work-card-tall .work-image { aspect-ratio: .78; }
.work-card-wide .work-image { aspect-ratio: 1.3; }
.work-card:not(.work-card-tall):not(.work-card-wide) .work-image { aspect-ratio: .82; }
.work-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.work-card:hover .work-image img { transform: scale(1.025); }

.work-meta { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0 0; border-top: 1px solid var(--ink); }
.work-meta > span { font-family: var(--serif); font-size: 20px; }
.work-meta small { max-width: 160px; color: #717571; text-align: right; font-size: 11px; line-height: 1.4; }

.view-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--paper-light);
  background: var(--berry);
  border-radius: 50%;
  font-size: 20px;
  opacity: 0;
  transform: translateY(8px);
  transition: .25s ease;
}

.work-card:hover .view-icon, .work-card:focus-visible .view-icon { opacity: 1; transform: translateY(0); }

.about { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(60px, 9vw, 150px); align-items: center; }
.about-photo { position: relative; max-width: 490px; padding: 20px 20px 48px; background: var(--paper-light); box-shadow: 0 22px 55px rgba(69, 52, 31, .16); transform: rotate(-2deg); }
.about-photo img { width: 100%; aspect-ratio: .76; object-fit: cover; object-position: center; filter: saturate(.9); }
.about-photo p { margin: 17px 0 0; font-family: var(--serif); font-size: 14px; font-style: italic; }
.tape { position: absolute; z-index: 2; top: -20px; left: 37%; width: 110px; height: 45px; background: rgba(241,199,68,.78); transform: rotate(4deg); }
.about h2 { margin-bottom: 34px; }
.about-intro { max-width: 760px; margin: 0 0 35px; font-family: var(--serif); font-size: clamp(23px, 2.3vw, 34px); line-height: 1.35; }
.membership-note { max-width: 620px; margin: 0 0 36px; padding: 16px 0 16px 22px; border-left: 3px solid var(--green); font-family: var(--serif); font-size: 18px; line-height: 1.35; }
.membership-note span { display: block; margin-bottom: 6px; color: var(--green); font-family: var(--sans); font-size: 9px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.about-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; color: #545a56; font-size: 14px; }
.about-columns p { margin: 0; }
.about .philosophy { margin: 42px 0 0; padding: 20px 0 0 26px; border-top: 1px solid var(--line); border-left: 4px solid var(--yellow); font-family: var(--serif); font-size: 20px; font-style: italic; }

.practice { padding: 120px max(32px, calc((100vw - 1320px) / 2)) 135px; color: var(--paper-light); background: var(--blue); }
.practice-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 70px; }
.practice h2 { font-size: clamp(62px, 7vw, 108px); }
.practice h2 em, .contact h2 em { color: var(--yellow); }
.practice-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.practice-card { display: grid; grid-template-columns: 1fr; background: #245995; }
.practice-card-featured { grid-row: span 2; }
.practice-card img { width: 100%; height: 330px; object-fit: cover; }
.practice-card:nth-child(3) img { object-position: left center; }
.practice-card-featured img { height: 540px; }
.practice-card > div { position: relative; padding: 30px; }
.practice-card span { position: absolute; top: 32px; right: 30px; color: var(--yellow); font-family: var(--serif); font-size: 18px; }
.practice-card h3 { margin: 0 50px 12px 0; font-family: var(--serif); font-size: 30px; font-weight: 400; }
.practice-card p { max-width: 540px; margin: 0; color: rgba(255,255,255,.68); font-size: 14px; }
.practice-card:not(.practice-card-featured) { grid-template-columns: .95fr 1.05fr; }
.practice-card:not(.practice-card-featured) img { height: 100%; min-height: 265px; }

.services { background: var(--paper); }
.service-list { border-top: 1px solid var(--ink); }
.service-list > div { display: grid; grid-template-columns: 80px 1fr 1fr; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.service-list span { color: var(--berry); font-family: var(--serif); }
.service-list h3 { margin: 0; font-family: var(--serif); font-size: clamp(34px, 4vw, 60px); font-weight: 400; letter-spacing: -.04em; }
.service-list p { margin: 0; color: #636965; }

.contact { position: relative; padding: 120px 32px 130px; color: white; text-align: center; background: var(--berry); overflow: hidden; }
.contact .eyebrow { justify-content: center; }
.contact h2 { font-size: clamp(62px, 8vw, 125px); }
.contact > p:not(.eyebrow) { max-width: 570px; margin: 35px auto; color: rgba(255,255,255,.72); font-family: var(--serif); font-size: 20px; }
.contact-star { position: absolute; top: -25px; left: 4%; width: 160px; fill: none; stroke: var(--yellow); stroke-width: 2; transform: rotate(10deg); }
.contact-links { display: grid; grid-template-columns: repeat(2, minmax(0, 330px)); justify-content: center; gap: 12px; margin-top: 40px; }
.contact-link { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 112px; padding: 22px 54px 20px 24px; color: white; text-align: left; border: 1px solid rgba(255,255,255,.5); border-radius: 8px; transition: transform .2s ease, color .2s ease, background .2s ease; }
.contact-link-primary { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }
.contact-link:hover { color: var(--ink); background: var(--paper-light); border-color: var(--paper-light); transform: translateY(-3px); }
.contact-link small { margin-bottom: 12px; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .65; }
.contact-link span { font-family: var(--serif); font-size: 21px; font-weight: 700; line-height: 1.15; }
.contact-link b { position: absolute; top: 18px; right: 20px; font-size: 20px; font-weight: 400; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 32px max(32px, calc((100vw - 1320px) / 2)); background: var(--paper-light); font-size: 13px; }
.site-footer p { color: #6c716d; }
.site-footer > a:last-child { border-bottom: 1px solid; }

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 28px;
  color: white;
  background: rgba(20, 24, 22, .96);
  border: 0;
}

.lightbox::backdrop { background: rgba(20, 24, 22, .7); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { display: flex; flex-direction: column; align-items: center; max-width: min(1100px, 88vw); max-height: 90vh; margin: 0; }
.lightbox img { max-width: 100%; max-height: 82vh; object-fit: contain; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.lightbox figcaption { margin-top: 12px; font-family: var(--serif); font-size: 15px; }
.lightbox-close { position: fixed; z-index: 2; top: 20px; right: 25px; width: 50px; height: 50px; color: white; background: transparent; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; font-size: 30px; cursor: pointer; }

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

@media (max-width: 1020px) {
  .site-header { width: calc(100% - 40px); }
  .hero { grid-template-columns: 1fr 1fr; padding-inline: 28px; }
  .hero::before { inset-inline-start: 55%; }
  .hero-copy { padding-right: 20px; }
  .hero h1 { font-size: clamp(56px, 7.8vw, 78px); }
  .art-card { width: 64%; }
  .recognition { grid-template-columns: auto 1fr; }
  .recognition img { display: none; }
  .about { grid-template-columns: .9fr 1.1fr; gap: 55px; }
  .practice-grid { grid-template-columns: 1fr; }
  .practice-card-featured { grid-row: auto; grid-template-columns: 1fr 1fr; }
  .practice-card-featured img { height: 100%; min-height: 400px; }
}

@media (max-width: 760px) {
  .site-header { position: absolute; height: 76px; }
  .menu-toggle { z-index: 22; display: grid; width: 44px; height: 44px; padding: 12px; place-content: center; gap: 7px; background: transparent; border: 1px solid var(--ink); border-radius: 50%; }
  .menu-toggle > span:not(.sr-only) { width: 18px; height: 1px; background: var(--ink); transition: .2s ease; }
  .menu-toggle[aria-expanded="true"] > span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: fixed; z-index: 21; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 30px; color: var(--paper-light); background: var(--blue); font-family: var(--serif); font-size: 34px; opacity: 0; pointer-events: none; transform: translateY(-16px); transition: .25s ease; }
  .site-nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav-contact { border-color: currentColor; font-size: 22px; }
  .menu-open .menu-toggle { border-color: white; }
  .menu-open .menu-toggle > span:not(.sr-only) { background: white; }

  .hero { display: flex; flex-direction: column; min-height: auto; padding: 120px 20px 75px; }
  .hero::before { inset: auto 0 0; height: 42%; }
  .hero-copy { padding-right: 0; }
  .hero h1 { font-size: clamp(46px, 12vw, 62px); }
  .hero-lead { font-size: 20px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-publishers { margin-top: 34px; }
  .hero-art { min-height: 560px; margin-top: 25px; }
  .sun { width: 95%; }
  .art-card { width: min(64%, 300px); }
  .portrait-stamp { right: 1%; bottom: 6%; width: 120px; }
  .hero-scribble { top: 7%; right: -12%; width: 140px; }
  .scroll-note { display: none; }

  .recognition { grid-template-columns: 1fr; gap: 20px; padding-block: 60px; }
  .recognition-number { font-size: 120px; }
  .recognition-copy > p:last-child { font-size: 21px; }

  .section { padding: 85px 20px; }
  .section-heading { grid-template-columns: 1fr; gap: 25px; margin-bottom: 45px; }
  .section-heading h2, .about h2 { font-size: 72px; }
  .section-heading > p { margin-left: 0; font-size: 19px; }

  .gallery { grid-template-columns: 1fr; gap: 45px; }
  .work-card, .work-card:nth-child(2), .work-card:nth-child(3), .work-card:nth-child(4), .work-card:nth-child(5), .work-card:nth-child(6) { grid-column: auto; margin-top: 0; }
  .work-meta { flex-direction: column; gap: 4px; }
  .work-meta small { max-width: none; text-align: left; }
  .view-icon { opacity: 1; transform: none; }

  .about { grid-template-columns: 1fr; gap: 65px; }
  .about-photo { width: 88%; margin-inline: auto; }
  .about-columns { grid-template-columns: 1fr; gap: 16px; }
  .about .philosophy { font-size: 18px; }
  .membership-note { font-size: 17px; }

  .practice { padding: 85px 20px; }
  .practice-heading { align-items: flex-start; flex-direction: column; margin-bottom: 45px; }
  .practice h2 { font-size: 62px; }
  .practice-card, .practice-card-featured, .practice-card:not(.practice-card-featured) { grid-template-columns: 1fr; }
  .practice-card img, .practice-card-featured img, .practice-card:not(.practice-card-featured) img { height: 330px; min-height: 0; }
  .practice-card:nth-child(2) img { order: -1; }
  .practice-card h3 { font-size: 27px; }

  .service-list > div { grid-template-columns: 45px 1fr; gap: 5px; }
  .service-list p { grid-column: 2; }
  .service-list h3 { font-size: 36px; }

  .contact { padding: 90px 20px 100px; }
  .contact h2 { font-size: 58px; }
  .contact-star { width: 105px; opacity: .55; }
  .contact-links { grid-template-columns: 1fr; }
  .contact-link { width: 100%; }
  .site-footer { align-items: flex-start; flex-direction: column; padding: 30px 20px; }
  .site-footer p { margin: 0; }
  .lightbox { padding: 16px; }
  .lightbox figure { max-width: 96vw; }
}

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