
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');

:root {
  --paper: #e9e5dc;
  --paper-light: #f3f0e9;
  --ink: #242522;
  --muted: #77766f;
  --line: rgba(36,37,34,.22);
  --rust: #a65d43;
  --olive: #77765d;
  --dark: #222421;
  --dark-paper: #d9d5ca;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --mono: "DM Mono", monospace;
  --gutter: clamp(1.25rem, 5vw, 5.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
}

::selection {
  background: var(--rust);
  color: #fff;
}

.skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 200;
  padding: .8rem 1rem;
  background: var(--ink);
  color: white;
}

.skip-link:focus {
  position: fixed;
  top: 1rem;
}

/* GLOBAL STICKY HEADER + NAVIGATION */

.site-header {
  min-height: 5.5rem;
  padding: 1.1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(233, 229, 220, .88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.wordmark {
  flex: 0 0 auto;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -.09em;
}

.wordmark span {
  color: var(--rust);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 3rem);
}

.main-nav a,
.header-note,
.header-back {
  font-size: .72rem;
  letter-spacing: .04em;
}

.main-nav a {
  position: relative;
  color: var(--muted);
  padding: .45rem 0;
  transition: color .25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .12rem;
  height: 1px;
  background: var(--rust);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"],
.main-nav a.is-current {
  color: var(--ink);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after,
.main-nav a.is-current::after {
  transform: scaleX(1);
}

.main-nav a span {
  margin-left: .35rem;
  font: .6rem var(--mono);
  color: var(--rust);
}

.header-note,
.header-back {
  color: var(--muted);
}

/* HERO */

.hero {
  min-height: min(830px, calc(100svh - 5.5rem));
  padding: 8vh var(--gutter) 2rem;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  grid-template-rows: 1fr auto;
  gap: 2rem 5vw;
  position: relative;
  overflow: hidden;
}

.hero-copy {
  align-self: center;
  position: relative;
  z-index: 2;
  padding-bottom: 4rem;
}

.eyebrow {
  font: .65rem var(--mono);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}

.hero h1,
.page-hero h1 {
  font-size: clamp(4.3rem, 9.2vw, 9.5rem);
  line-height: .91;
  letter-spacing: -.085em;
  font-weight: 500;
  margin: 2.2rem 0;
}

h1 em,
h2 em {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.07em;
}

.hero-intro {
  max-width: 27rem;
  color: #5c5c55;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.65;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.7rem;
  margin-top: 2.4rem;
}

.text-link {
  display: inline-flex;
  gap: 1.5rem;
  align-items: center;
  border-bottom: 1px solid currentColor;
  padding-bottom: .55rem;
  font-size: .8rem;
}

.text-link span {
  color: var(--rust);
  transition: transform .2s;
}

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

/* HERO ARTWORK */

.hero-art {
  min-height: 480px;
  align-self: center;
  position: relative;
  background: #d3cfc3;
  overflow: hidden;
}

.hero-art__frame {
  position: absolute;
  inset: 9% 12% 13% 15%;
  border: 1px solid rgba(36,37,34,.35);
}

.hero-art__shape {
  position: absolute;
}

.hero-art__shape--one {
  width: 52%;
  height: 72%;
  left: 21%;
  top: 10%;
  background: #a65d43;
  border-radius: 48% 48% 3% 3%;
  transform: rotate(12deg);
}

.hero-art__shape--two {
  width: 40%;
  height: 43%;
  right: 5%;
  bottom: 12%;
  background: #77765d;
  border-radius: 50% 50% 0 0;
  mix-blend-mode: multiply;
}

.hero-art__shape--three {
  width: 32%;
  height: 58%;
  left: 4%;
  bottom: 3%;
  background: #c0a68a;
  transform: rotate(-22deg);
  mix-blend-mode: multiply;
}

.hero-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font: .6rem var(--mono);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* GENERAL SECTIONS */

.section-pad {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.intro-section {
  padding-top: 9rem;
  padding-bottom: 10rem;
  background: var(--paper-light);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 8vw;
  align-items: end;
  margin-top: 2rem;
}

.intro-grid h2,
.closing-section h2 {
  font-size: clamp(3.5rem, 7vw, 7.3rem);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.08em;
  margin: 0;
}

.intro-body {
  max-width: 34rem;
  padding-bottom: .5rem;
  color: #62625b;
  line-height: 1.8;
  font-size: 1rem;
}

/* DESTINATION CARDS */

.destination-section {
  padding-top: 1.2rem;
  padding-bottom: 7rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.home-page .destination-card {
  min-height: 540px;
  padding: 2rem;
  display: block;
  position: relative;
  overflow: hidden;
  color: #f0ece3;
  text-decoration: none;
  cursor: pointer;
  isolation: isolate;
}

.home-page .destination-card--ux {
  background: #3c4039;
}

.home-page .destination-card--art {
  background: #8e5745;
}

.home-page .destination-content {
  position: absolute;
  z-index: 1;
  top: 39%;
  left: 2rem;
  right: 2rem;
  transform: translateY(-50%);
  text-align: center;
}

.home-page .destination-content .eyebrow {
  display: block;
  margin: 0 0 1.35rem;
  color: rgba(240, 236, 227, .72);
  font: .62rem var(--mono);
  text-transform: uppercase;
  letter-spacing: .16em;
}

.home-page .destination-content h2 {
  margin: 0;
  font-size: clamp(2.7rem, 4.4vw, 4.8rem);
  line-height: .98;
  letter-spacing: -.075em;
  font-weight: 500;
}

/* Circular arrow */

.home-page .destination-card .circle-link {
  position: absolute;
  z-index: 2;
  right: 2rem;
  bottom: 2rem;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: transparent;
  transition: background .25s ease, color .25s ease, transform .25s ease;
  pointer-events: none;
}

.home-page .destination-card .arrow-icon {
  position: relative;
  display: block;
  width: 1.1rem;
  height: 1.1rem;
}

.home-page .destination-card .arrow-icon::before {
  content: "";
  position: absolute;
  width: .65rem;
  height: .65rem;
  top: .08rem;
  right: .08rem;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}

.home-page .destination-card .arrow-icon::after {
  content: "";
  position: absolute;
  width: 1rem;
  height: 1.5px;
  top: .55rem;
  left: 0;
  background: currentColor;
  transform: rotate(-45deg);
  transform-origin: center;
}

.home-page .destination-card:hover .circle-link {
  background: #fff;
  color: var(--ink);
  transform: translate(2px, -2px);
}

.home-page .destination-card:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 5px;
}

.home-page .destination-card .circle-link,
.home-page .destination-card .arrow-icon {
  pointer-events: none;
}

/* FOOTER */

.site-footer {
  padding: 2rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: .65rem var(--mono);
}

.site-footer .wordmark {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.2rem;
}

/* INNER PAGE HEROES */

.page-hero {
  padding-top: 9rem;
  padding-bottom: 7rem;
}

.page-hero h1 {
  margin-bottom: 2rem;
}

.page-lede {
  max-width: 36rem;
  margin-left: min(40vw, 34rem);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  line-height: 1.55;
  color: #62625b;
}

/* GALLERY */

.gallery-intro {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  padding-top: 1.2rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--line);
}

.gallery-intro p {
  max-width: 32rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.art-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr 1fr;
  gap: 3rem 1.3rem;
  padding-top: 2rem;
  padding-bottom: 9rem;
}

.art-item {
  padding: 0;
  border: 0;
  text-align: left;
  background: transparent;
  cursor: zoom-in;
  min-width: 0;
}

.art-item--large {
  grid-row: span 2;
}

.art-item--wide {
  grid-column: span 2;
}

.art-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), filter .5s;
}

.art-item:hover .art-placeholder,
.art-item:focus-visible .art-placeholder {
  transform: scale(.985);
  filter: saturate(1.08);
}

.art-item--large .art-placeholder {
  aspect-ratio: 3 / 4.2;
}

.art-item--wide .art-placeholder {
  aspect-ratio: 2.1 / 1;
}

.art-placeholder--one {
  background: radial-gradient(ellipse at 48% 42%, #c48b68 0 17%, transparent 18%), linear-gradient(135deg,#d8c9b3,#77765d 52%,#a65d43);
}

.art-placeholder--two {
  background: linear-gradient(145deg,transparent 40%,#343a32 41% 43%,transparent 44%), #c2b9a7;
}

.art-placeholder--three {
  background: radial-gradient(circle at 65% 35%,#a65d43 0 22%,transparent 23%),linear-gradient(35deg,#e1d7c7,#77765d);
}

.art-placeholder--four {
  background: repeating-linear-gradient(115deg,#d4c5b2 0 18px,#b3a18d 19px 20px);
}

.art-placeholder--five {
  background: linear-gradient(165deg,transparent 48%,#77765d 49% 65%,#4a5045 66%),linear-gradient(90deg,#c7b49d,#e2d7c5 55%,#a65d43);
}

.art-caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: .8rem;
  font-size: .75rem;
}

.art-caption span {
  color: var(--muted);
  font: .58rem var(--mono);
  text-transform: uppercase;
}

/* LIGHTBOX */

.lightbox {
  width: min(92vw, 900px);
  max-width: none;
  border: 0;
  padding: 1.2rem;
  background: var(--paper-light);
  color: var(--ink);
}

.lightbox::backdrop {
  background: rgba(20,21,19,.88);
  backdrop-filter: blur(5px);
}

.lightbox-close {
  position: absolute;
  right: 1rem;
  top: .7rem;
  border: 0;
  background: transparent;
  font-size: 2rem;
  cursor: pointer;
}

.lightbox-art {
  min-height: 55vh;
  background: linear-gradient(135deg,#d8c9b3,#77765d 52%,#a65d43);
}

.lightbox-caption {
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
  font-size: .8rem;
}

.lightbox-caption span {
  color: var(--muted);
}

/* DARK PAGE HERO */

.page-hero--dark {
  background: var(--dark);
  color: var(--dark-paper);
}

.page-hero--dark .eyebrow,
.page-hero--dark .page-lede {
  color: #aaa99f;
}

.access-note {
  margin: 5rem 0 0;
  font: .58rem var(--mono);
  letter-spacing: .12em;
  color: #aaa99f;
}

/* WORK PAGE */

.work-intro {
  padding-top: 7rem;
  padding-bottom: 5rem;
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 1rem 5vw;
}

.work-intro h2 {
  max-width: 50rem;
  font-size: clamp(2.3rem, 4.5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -.07em;
  font-weight: 500;
  margin: 0;
}

.work-intro p:last-child {
  grid-column: 2;
  max-width: 32rem;
  color: var(--muted);
  line-height: 1.7;
}

.project-list {
  padding-top: 1rem;
  padding-bottom: 8rem;
}

.project-row {
  display: grid;
  grid-template-columns: .65fr 1.15fr .8fr;
  gap: 3vw;
  padding: 3.5rem 0;
  border-top: 1px solid var(--line);
  align-items: center;
}

.project-number {
  align-self: start;
  font: .6rem var(--mono);
  color: var(--muted);
  text-transform: uppercase;
}

.project-main .eyebrow {
  margin-bottom: 1.2rem;
}

.project-main h2 {
  font-size: clamp(2.4rem, 4vw, 4.3rem);
  line-height: .98;
  font-weight: 500;
  letter-spacing: -.075em;
  margin: 0 0 1.2rem;
}

.project-main p:not(.eyebrow) {
  max-width: 34rem;
  color: #65655e;
  line-height: 1.7;
}

.project-status {
  display: inline-block;
  margin-top: .7rem;
  color: var(--rust);
  font: .58rem var(--mono);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.project-visual {
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 1.1rem var(--mono);
  letter-spacing: .12em;
}

.project-visual--one {
  background: #c4c5b6;
  color: #41463e;
}

.project-visual--two {
  background: #b98a70;
  color: #f3e7d8;
}

.project-visual--three {
  background: #c9c0ad;
  color: #56584b;
}

/* CLOSING SECTION */

.closing-section {
  padding-top: 7rem;
  padding-bottom: 9rem;
  background: var(--paper-light);
}

.closing-section h2 {
  margin: 2rem 0;
}

.closing-section > p:not(.eyebrow) {
  max-width: 30rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.site-footer--dark {
  background: var(--dark);
  color: #aaa99f;
  border-color: rgba(255,255,255,.2);
}

.site-footer--dark .wordmark {
  color: var(--dark-paper);
}

/* SCROLL REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* REDUCED MOTION */

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* TABLET AND MOBILE */

@media (max-width: 760px) {
  .site-header {
    min-height: 4.5rem;
    gap: 1rem;
    padding-top: .9rem;
    padding-bottom: .9rem;
  }

  .header-note {
    display: none;
  }

  .main-nav {
    gap: clamp(.75rem, 2.5vw, 1.2rem);
  }

  .main-nav a {
    font-size: .65rem;
    white-space: nowrap;
  }

  .main-nav a span {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 5rem;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(4rem, 17vw, 7rem);
  }

  .hero-art {
    min-height: 380px;
  }

  .hero-bottom {
    margin-top: 1rem;
  }

  .intro-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .intro-grid,
  .destination-section,
  .work-intro {
    grid-template-columns: 1fr;
  }

  .intro-body {
    margin-top: 1rem;
  }

  .home-page .destination-card {
    min-height: 430px;
    padding: 1.5rem;
  }

  .home-page .destination-content {
    top: 37%;
    left: 1.5rem;
    right: 1.5rem;
  }

  .home-page .destination-content h2 {
    font-size: clamp(2.5rem, 8vw, 3.8rem);
  }

  .home-page .destination-content .eyebrow {
    margin-bottom: 1.1rem;
  }

  .home-page .destination-card .circle-link {
    width: 3rem;
    height: 3rem;
    right: 1.5rem;
    bottom: 1.5rem;
  }

  .site-footer {
    flex-wrap: wrap;
  }

  .site-footer > * {
    flex: 1 1 40%;
  }

  .page-hero {
    padding-top: 6rem;
    padding-bottom: 5rem;
  }

  .page-lede {
    margin-left: 0;
  }

  .gallery-intro {
    flex-direction: column;
    gap: 1rem;
  }

  .art-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem .8rem;
    padding-bottom: 5rem;
  }

  .art-item--large {
    grid-row: auto;
  }

  .art-item--wide {
    grid-column: span 2;
  }

  .art-caption {
    flex-direction: column;
    gap: .25rem;
  }

  .work-intro p:last-child {
    grid-column: auto;
  }

  .project-row {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .project-number {
    grid-column: 1 / -1;
  }

  .project-main {
    grid-column: 1 / -1;
  }

  .project-visual {
    grid-column: 1 / -1;
    min-height: 180px;
  }
}

/* SMALL MOBILE */

@media (max-width: 420px) {
  .site-header {
    gap: .7rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .wordmark {
    font-size: 1.15rem;
  }

  .main-nav {
    gap: .7rem;
  }

  .main-nav a {
    font-size: .58rem;
    letter-spacing: 0;
  }

  .hero-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-art {
    min-height: 300px;
  }

  .home-page .destination-card {
    min-height: 390px;
  }

  .home-page .destination-content h2 {
    font-size: clamp(2.3rem, 9vw, 3.2rem);
  }

  .destination-foot {
    flex-direction: column;
    align-items: flex-start;
  }
}
