@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500&family=Libre+Caslon+Display&display=swap");

:root {
  --ivory: #f4efe4;
  --paper: #f9f6ef;
  --charcoal: #292927;
  --muted: #6c6961;
  --line: rgba(41, 41, 39, 0.2);
  --accent: #a96849;
  --serif: "Libre Caslon Display", Baskerville, Georgia, serif;
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--charcoal);
  color: var(--ivory);
}

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

.page-shell {
  width: min(100%, 1600px);
  margin: 0 auto;
  padding: 0 4.5vw;
}

.site-header {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.monogram {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--charcoal);
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: -0.03em;
  transition: background 180ms ease, color 180ms ease;
}

.monogram:hover,
.monogram:focus-visible {
  background: var(--charcoal);
  color: var(--ivory);
}

nav {
  display: flex;
  gap: clamp(24px, 4vw, 60px);
}

nav a,
footer a {
  position: relative;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

nav a::after,
footer a::after,
.contact-secondary-link::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

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

.hero {
  position: relative;
  min-height: min(790px, calc(100vh - 104px));
  padding: clamp(92px, 12vh, 150px) 0 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 1030px;
  margin: 28px 0 70px;
  font-family: var(--serif);
  font-size: clamp(62px, 9.5vw, 142px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(270px, 480px) auto;
  align-items: end;
  gap: 40px;
}

.hero-bottom > p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 300;
  line-height: 1.65;
}

.text-link {
  justify-self: end;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--charcoal);
  font-size: 13px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.text-link span {
  display: inline-block;
  margin-left: 12px;
  transition: transform 180ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translate(3px, -3px);
}

.hero-mark {
  position: absolute;
  right: 3vw;
  bottom: 165px;
  width: 170px;
  height: 170px;
  opacity: 0.65;
  pointer-events: none;
}

.mark-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
}

.mark-line-a {
  transform: rotate(45deg);
}

.mark-line-b {
  transform: rotate(-45deg);
}

.mark-dot {
  position: absolute;
  top: calc(50% - 4px);
  left: calc(50% - 4px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(0, 3.2fr);
  gap: 7vw;
  padding: clamp(110px, 13vw, 190px) 0;
  border-bottom: 1px solid var(--line);
}

.section-grid h2,
.contact h2 {
  max-width: 920px;
  margin-bottom: 52px;
  font-family: var(--serif);
  font-size: clamp(42px, 5.8vw, 88px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(290px, 0.75fr);
  align-items: start;
  gap: clamp(55px, 7vw, 115px);
}

.body-copy {
  max-width: 570px;
  margin: 46px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 22px);
  font-weight: 300;
  line-height: 1.75;
}

.portrait-frame {
  position: relative;
  margin: 0;
}

.portrait-frame::before {
  position: absolute;
  z-index: -1;
  top: -15px;
  right: -15px;
  width: 54%;
  height: 52%;
  border-top: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
  content: "";
}

.portrait-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: saturate(0.92) contrast(0.98);
}

.portrait-frame figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.portrait-frame figcaption span {
  color: var(--charcoal);
}

.work {
  padding: clamp(110px, 13vw, 190px) 0;
  border-bottom: 1px solid var(--line);
}

.work-header {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(0, 3.2fr);
  gap: 7vw;
  margin-bottom: clamp(90px, 11vw, 165px);
}

.work-intro > .eyebrow {
  margin-bottom: 28px;
}

.work h2 {
  margin-bottom: 56px;
  font-family: var(--serif);
  font-size: clamp(58px, 8vw, 122px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.work-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 5vw, 80px);
  max-width: 920px;
}

.work-summary p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 300;
  line-height: 1.7;
}

.project-hero {
  margin: 0 0 clamp(55px, 7vw, 95px);
}

.project-hero--wedding {
  width: 100%;
}

.project-hero img,
.pub-feature img {
  display: block;
  width: 100%;
  object-fit: contain;
}

.project-hero--wedding img {
  height: min(60vh, 520px);
  padding: clamp(16px, 2vw, 30px);
  background: var(--paper);
}

.artwork-open {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

.artwork-open::after {
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  content: "";
  pointer-events: none;
  transition: border-color 180ms ease;
}

.artwork-open:hover::after,
.artwork-open:focus-visible::after {
  border-color: currentColor;
}

.artwork-open:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.artwork-open-label {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 9px 12px;
  background: rgba(41, 41, 39, 0.9);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 180ms ease;
}

.artwork-open:hover .artwork-open-label,
.artwork-open:focus-visible .artwork-open-label {
  transform: translateY(-3px);
}

.project-hero figcaption,
.carousel-slide figcaption {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.portfolio-carousel {
  margin-top: clamp(45px, 5vw, 75px);
}

.carousel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.carousel-kicker,
.carousel-status {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.carousel-kicker {
  color: var(--muted);
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.carousel-status {
  min-width: 54px;
  color: var(--muted);
  text-align: center;
}

.carousel-button {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, opacity 180ms ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  background: var(--charcoal);
  color: var(--ivory);
}

.carousel-button:disabled {
  opacity: 0.28;
  cursor: default;
}

.carousel-button:disabled:hover {
  background: transparent;
  color: inherit;
}

.carousel-track {
  display: grid;
  grid-auto-columns: min(52%, 640px);
  grid-auto-flow: column;
  gap: clamp(20px, 2.6vw, 42px);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track:focus-visible {
  outline: 1px solid var(--charcoal);
  outline-offset: 7px;
}

.carousel-slide {
  margin: 0;
  scroll-snap-align: start;
}

.carousel-media {
  display: flex;
  height: clamp(240px, 24vw, 300px);
  padding: clamp(14px, 1.8vw, 26px);
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--paper);
}

.carousel-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
}

.carousel-media--pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
  gap: clamp(12px, 2vw, 30px);
}

.carousel-media--pair img {
  width: 100%;
  height: 100%;
}

.carousel-media--logo {
  background: #f3e6bd;
}

.pub-case-study {
  margin: clamp(95px, 11vw, 170px) calc(-1 * 4.5vw) 0;
  padding: clamp(90px, 10vw, 155px) 4.5vw clamp(95px, 11vw, 170px);
  background: #0d2d1d;
  color: #f3e6bd;
}

.pub-header {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(0, 3.2fr);
  gap: 7vw;
  margin-bottom: clamp(70px, 8vw, 125px);
}

.pub-project-number,
.pub-case-study figcaption {
  margin: 0;
  color: rgba(243, 230, 189, 0.68);
  font-size: 10px;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.pub-intro > .eyebrow {
  margin-bottom: 28px;
  color: #bc8d3d;
}

.pub-case-study h2 {
  max-width: 1000px;
  margin-bottom: 56px;
  color: #f7edcf;
}

.pub-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 5vw, 80px);
  max-width: 920px;
}

.pub-summary p {
  margin: 0;
  color: rgba(247, 237, 207, 0.72);
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 300;
  line-height: 1.7;
}

.pub-feature {
  margin: 0;
}

.pub-feature img {
  height: min(58vh, 500px);
  padding: clamp(10px, 1.2vw, 18px);
  object-fit: contain;
  background: rgba(247, 237, 207, 0.04);
  border: 1px solid rgba(243, 230, 189, 0.16);
}

.pub-feature .artwork-open-label {
  background: rgba(243, 230, 189, 0.94);
  color: #0d2d1d;
}

.artwork-lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: clamp(18px, 3vw, 44px);
  border: 0;
  background: rgba(22, 22, 20, 0.96);
  color: var(--ivory);
}

.artwork-lightbox::backdrop {
  background: rgba(22, 22, 20, 0.76);
}

.artwork-lightbox[open] {
  display: grid;
  place-items: center;
}

.artwork-lightbox-panel {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 16px;
}

.artwork-lightbox-close {
  justify-self: end;
  padding: 8px 0 8px 16px;
  border: 0;
  background: transparent;
  color: inherit;
  font: 500 10px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.artwork-lightbox-close span {
  margin-left: 7px;
  font-size: 18px;
  font-weight: 300;
  vertical-align: -1px;
}

.artwork-lightbox-stage {
  display: grid;
  min-height: 0;
  place-items: center;
}

.artwork-lightbox-stage img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.artwork-lightbox-caption {
  margin: 0;
  color: rgba(244, 239, 228, 0.7);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

body.lightbox-open {
  overflow: hidden;
}

.pub-case-study figcaption {
  margin-top: 14px;
}

.pub-carousel {
  margin-top: clamp(55px, 6vw, 90px);
}

.pub-carousel .carousel-heading {
  border-color: rgba(243, 230, 189, 0.28);
}

.pub-carousel .carousel-kicker,
.pub-carousel .carousel-status,
.pub-carousel .carousel-slide figcaption {
  color: rgba(243, 230, 189, 0.68);
}

.pub-carousel .carousel-button:hover,
.pub-carousel .carousel-button:focus-visible {
  background: #f3e6bd;
  color: #0d2d1d;
}

.pub-carousel .carousel-track:focus-visible {
  outline-color: #f3e6bd;
}

.pub-carousel .carousel-media {
  height: clamp(240px, 24vw, 300px);
  background: rgba(247, 237, 207, 0.06);
}

.pub-carousel .carousel-media--logo {
  background: #f3e6bd;
}

.yoga-case-study {
  margin: 0 calc(-1 * 4.5vw) calc(-1 * clamp(110px, 13vw, 190px));
  padding: clamp(90px, 10vw, 155px) 4.5vw clamp(100px, 12vw, 175px);
  background: #e7eef1;
  color: #075a9c;
}

.yoga-header {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(0, 3.2fr);
  gap: 7vw;
  margin-bottom: clamp(70px, 8vw, 120px);
}

.yoga-project-number,
.yoga-case-study figcaption {
  margin: 0;
  color: rgba(7, 90, 156, 0.64);
  font-size: 10px;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.yoga-intro > .eyebrow {
  margin-bottom: 28px;
  color: #ef4969;
}

.yoga-case-study h2 {
  max-width: 1000px;
  margin-bottom: 56px;
  color: #075a9c;
}

.yoga-summary {
  display: grid;
  max-width: 920px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 5vw, 80px);
}

.yoga-summary p {
  margin: 0;
  color: rgba(22, 70, 103, 0.72);
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 300;
  line-height: 1.7;
}

.yoga-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: center;
  gap: clamp(26px, 4vw, 64px);
}

.yoga-visual {
  margin: 0;
}

.yoga-visual .artwork-open {
  padding: clamp(12px, 1.6vw, 24px);
  background: rgba(255, 255, 255, 0.35);
}

.yoga-visual img {
  display: block;
  width: 100%;
  height: min(72vh, 700px);
  object-fit: contain;
}

.yoga-visual--artwork img {
  height: min(60vh, 560px);
}

.yoga-case-study figcaption {
  margin-top: 14px;
}

.yoga-visual .artwork-open-label {
  background: rgba(7, 90, 156, 0.94);
  color: #f5fbfd;
}

.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.service-list li {
  display: grid;
  grid-template-columns: 55px minmax(180px, 0.8fr) minmax(250px, 1fr);
  align-items: baseline;
  gap: 28px;
  padding: 30px 0 32px;
  border-bottom: 1px solid var(--line);
}

.service-list span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.service-list h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 40px);
  font-weight: 400;
}

.service-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 300;
}

.contact {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(0, 3.2fr);
  gap: 7vw;
  padding: clamp(110px, 14vw, 210px) 0 clamp(120px, 16vw, 230px);
}

.contact-content .eyebrow {
  margin-bottom: 28px;
}

.contact h2 {
  margin-bottom: 72px;
}

.email-link {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--charcoal);
  font-family: var(--serif);
  font-size: clamp(23px, 3.2vw, 48px);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.contact-secondary-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 38px;
  margin-top: 42px;
}

.contact-secondary-link {
  position: relative;
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 110px;
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.reveal {
  animation: reveal 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--delay, 0ms);
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 840px) {
  .page-shell {
    padding: 0 24px;
  }

  .site-header {
    height: 82px;
  }

  nav {
    gap: 18px;
  }

  nav a {
    font-size: 10px;
  }

  .hero {
    min-height: calc(100vh - 82px);
    padding-top: 95px;
  }

  h1 {
    margin-top: 22px;
    font-size: clamp(55px, 16vw, 90px);
    line-height: 0.94;
  }

  .hero-bottom,
  .section-grid,
  .contact,
  .about-layout,
  .work-header {
    grid-template-columns: 1fr;
  }

  .hero-bottom {
    align-items: start;
  }

  .text-link {
    justify-self: start;
  }

  .hero-mark {
    right: -20px;
    bottom: 140px;
    width: 110px;
    height: 110px;
    opacity: 0.3;
  }

  .section-grid,
  .contact {
    gap: 54px;
  }

  .about-layout {
    gap: 65px;
  }

  .work-header {
    gap: 48px;
  }

  .pub-header {
    grid-template-columns: 1fr;
  }

  .pub-header {
    gap: 48px;
  }

  .work-summary,
  .pub-summary,
  .yoga-summary {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .yoga-header {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .yoga-gallery {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .yoga-visual img,
  .yoga-visual--artwork img {
    height: min(62vh, 520px);
  }

  .project-hero--wedding {
    width: 100%;
    margin-left: 0;
  }

  .project-hero--wedding img {
    height: min(54vh, 420px);
  }

  .pub-feature img {
    height: min(50vh, 390px);
  }

  .carousel-track {
    grid-auto-columns: 100%;
  }

  .carousel-media {
    height: min(40vh, 320px);
  }

  .pub-carousel .carousel-media {
    height: min(38vh, 300px);
  }

  .pub-case-study {
    margin-right: -24px;
    margin-left: -24px;
    padding-right: 24px;
    padding-left: 24px;
  }

  .yoga-case-study {
    margin-right: -24px;
    margin-left: -24px;
    padding-right: 24px;
    padding-left: 24px;
  }

  .body-copy {
    margin-top: 0;
  }

  .portrait-frame {
    width: min(78vw, 470px);
    margin-left: auto;
  }

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

  .service-list li p {
    grid-column: 2;
  }
}

@media (max-width: 520px) {
  .site-header nav a:nth-child(3) {
    display: none;
  }

  h1 {
    font-size: 15vw;
  }

  .hero {
    padding-top: 80px;
  }

  .hero-bottom > p {
    max-width: 90%;
  }

  .section-grid h2,
  .contact h2 {
    margin-bottom: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
