:root {
  font-family: "DM Sans", sans-serif;
  color: #f5f3ee;
  background: #171918;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
  --paper: #171918;
  --ink: #f5f3ee;
  --muted: #a6aca8;
  --accent: #91aa9f;
  --serif: "Playfair Display", Georgia, serif;
  --page-gutter: clamp(24px, 7.2vw, 112px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  min-width: 320px;
  margin: 0;
}

body,
button,
a {
  font-family: "DM Sans", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

img {
  display: block;
  width: 100%;
}

.section-shell {
  padding-right: var(--page-gutter);
  padding-left: var(--page-gutter);
}

.site-header {
  height: 88px;
  padding: 0 var(--page-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(36, 36, 31, 0.1);
}

.brand,
.site-nav,
.nav-cta,
.hero-actions,
.button,
.text-link,
.image-caption,
.work-meta,
.social-links,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 11px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 13px;
}

.brand-name,
.footer-brand {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.brand-dot,
.footer-brand span {
  color: var(--accent);
}

.site-nav {
  height: 100%;
  gap: clamp(22px, 3.2vw, 48px);
  font-size: 12px;
}

.nav-link {
  position: relative;
  color: #65645e;
  transition: color 180ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink);
}

.nav-link.active::after {
  position: absolute;
  right: 0;
  bottom: -34px;
  left: 0;
  height: 1px;
  background: var(--accent);
  content: "";
}

.nav-cta {
  gap: 13px;
  padding: 12px 16px;
  border: 1px solid rgba(36, 36, 31, 0.25);
  transition: background 180ms ease, color 180ms ease;
}

.nav-cta:hover {
  color: var(--paper);
  background: var(--ink);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 645px;
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  align-items: center;
  gap: 6%;
  padding-top: 50px;
  padding-bottom: 92px;
}

.hero-copy {
  padding-top: 6px;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.55px;
}

.hero-copy > .eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #83916f;
  box-shadow: 0 0 0 4px rgba(131, 145, 111, 0.13);
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1,
h2,
blockquote {
  font-family: var(--serif);
  font-weight: 500;
}

.hero h1 {
  margin: 27px 0 22px;
  font-size: clamp(56px, 6.2vw, 88px);
  line-height: 1.06;
  letter-spacing: -3.2px;
}

h1 em,
h2 em {
  color: var(--accent);
  font-weight: 500;
}

.hero-description {
  max-width: 390px;
  margin-bottom: 29px;
  color: #73726b;
  font-size: 13px;
  line-height: 1.9;
}

.hero-actions {
  gap: 27px;
}

.button {
  min-height: 46px;
  justify-content: center;
  gap: 19px;
  padding: 0 18px;
  font-size: 11px;
  font-weight: 500;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button-dark {
  color: #fff;
  background: var(--ink);
}

.button-dark:hover {
  background: var(--accent);
}

.text-link {
  gap: 12px;
  font-size: 11px;
}

.text-link span,
.button span,
.nav-cta span {
  transition: transform 180ms ease;
}

.text-link:hover span,
.button:hover span,
.nav-cta:hover span {
  transform: translate(2px, -2px);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 64px;
  color: #89877f;
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
}

.note-line {
  width: 33px;
  height: 1px;
  background: var(--accent);
}

.hero-visual {
  position: relative;
  width: min(100%, 520px);
  justify-self: end;
}

.image-frame {
  overflow: hidden;
  background: #ded8ca;
}

.hero-image {
  height: clamp(375px, 43vw, 510px);
}

.hero-image img {
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.image-caption {
  justify-content: space-between;
  margin-top: 12px;
  color: #77766f;
  font-size: 9px;
  letter-spacing: 0.3px;
}

.hero-stamp {
  position: absolute;
  top: 31px;
  left: -42px;
  width: 88px;
  height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid rgba(245, 243, 238, 0.8);
  border-radius: 50%;
  color: white;
  background: rgba(36, 36, 31, 0.26);
  backdrop-filter: blur(7px);
  font-size: 7px;
  letter-spacing: 1px;
}

.hero-stamp strong {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0;
}

.hero-side-label {
  position: absolute;
  top: 27%;
  right: -37px;
  color: #85837b;
  font-size: 8px;
  letter-spacing: 1.5px;
  writing-mode: vertical-rl;
}

.scroll-hint {
  position: absolute;
  bottom: 34px;
  left: var(--page-gutter);
  display: flex;
  align-items: center;
  gap: 11px;
  color: #838179;
  font-size: 8px;
  letter-spacing: 1.3px;
}

.scroll-hint span {
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.work-section {
  padding-top: 105px;
  padding-bottom: 120px;
  background: #202321;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 47px;
}

.section-heading h2,
.about-copy h2,
.contact-inner h2 {
  margin: 14px 0 0;
  font-size: clamp(38px, 4.2vw, 57px);
  line-height: 1.12;
  letter-spacing: -1.5px;
}

.section-heading .text-link {
  margin-bottom: 8px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(18px, 2.8vw, 42px);
  row-gap: 58px;
  align-items: start;
}

.work-card {
  display: block;
}

.work-card-tall {
  width: 100%;
  grid-column: 1 / span 5;
}

.work-card-offset {
  width: 100%;
  grid-column: 8 / span 5;
  margin-top: 93px;
}

.work-card-wide {
  width: 100%;
  grid-column: 3 / span 8;
  justify-self: center;
  margin-top: -13px;
}

.work-image {
  position: relative;
  overflow: hidden;
  background: #d7d2c8;
}

.work-card-tall .work-image,
.work-card-offset .work-image {
  height: clamp(260px, 34vw, 430px);
}

.work-card-wide .work-image {
  height: clamp(260px, 40vw, 500px);
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.work-card:hover .work-image img {
  transform: scale(1.045);
}

.work-index,
.work-arrow {
  position: absolute;
  top: 16px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: white;
  background: rgba(36, 36, 31, 0.35);
  font-size: 10px;
  backdrop-filter: blur(4px);
}

.work-index {
  left: 16px;
}

.work-arrow {
  right: 16px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  font-size: 14px;
  transition: color 180ms ease, background 180ms ease;
}

.work-card:hover .work-arrow {
  color: var(--ink);
  background: var(--paper);
}

.work-meta {
  justify-content: space-between;
  gap: 12px;
  padding-top: 17px;
}

.work-meta h3 {
  margin-bottom: 5px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
}

.work-meta p,
.work-meta > span {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.work-meta > span {
  align-self: flex-start;
  padding-top: 4px;
}

.mobile-link {
  display: none;
}

.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper);
}

.about-image {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: #c9c4b8;
}

.about-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-note {
  position: absolute;
  bottom: 27px;
  left: 30px;
  color: white;
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.about-copy {
  align-self: center;
  padding: 95px clamp(36px, 8vw, 120px);
}

.about-copy h2 {
  margin: 17px 0 25px;
  font-size: clamp(38px, 4vw, 54px);
}

.about-copy > p:not(.eyebrow) {
  max-width: 440px;
  color: #73726b;
  font-size: 12px;
  line-height: 1.95;
}

.button-outline {
  width: fit-content;
  margin-top: 12px;
  border: 1px solid rgba(36, 36, 31, 0.38);
}

.button-outline:hover {
  color: white;
  border-color: var(--ink);
  background: var(--ink);
}

.about-stats {
  display: flex;
  gap: clamp(22px, 4vw, 52px);
  margin-top: 54px;
  padding-top: 26px;
  border-top: 1px solid rgba(36, 36, 31, 0.15);
}

.about-stats div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.about-stats strong {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
}

.about-stats strong span {
  color: var(--accent);
}

.about-stats div > span {
  color: var(--muted);
  font-size: 9px;
}

.quote-section {
  padding-top: 111px;
  padding-bottom: 105px;
  text-align: center;
}

.quote-mark {
  display: block;
  height: 41px;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 65px;
  line-height: 1;
}

.quote-section blockquote {
  margin: 18px 0 24px;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.3;
  letter-spacing: -0.8px;
}

.quote-section > p {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.1px;
}

.quote-section > p span {
  color: var(--muted);
  font-weight: 400;
}

.contact-section {
  color: #f5f3ee;
  background: #292a25;
}

.contact-inner {
  min-height: 375px;
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  align-items: center;
  gap: 10%;
  padding-top: 70px;
  padding-bottom: 70px;
}

.contact-inner .eyebrow {
  color: #b1aea3;
}

.contact-inner h2 {
  margin-top: 18px;
  font-size: clamp(43px, 5vw, 64px);
}

.contact-inner h2 em {
  color: #d38b70;
}

.contact-details {
  padding-top: 29px;
}

.contact-details > p {
  max-width: 340px;
  margin-bottom: 24px;
  color: #c1beb4;
  font-size: 12px;
  line-height: 1.8;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(245, 243, 238, 0.45);
  font-family: var(--serif);
  font-size: clamp(18px, 2.2vw, 25px);
}

.contact-email span,
.social-links span {
  color: #d38b70;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
}

.social-links {
  gap: 24px;
  margin-top: 31px;
}

.social-links a {
  display: inline-flex;
  gap: 7px;
  color: #c1beb4;
  font-size: 10px;
  transition: color 180ms ease;
}

.social-links a:hover {
  color: white;
}

.site-footer {
  min-height: 82px;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  font-size: 16px;
}

.site-footer p,
.back-to-top {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 9px;
}

.back-to-top {
  transition: color 180ms ease;
}

.back-to-top:hover {
  color: var(--ink);
}

@media (min-width: 1500px) {
  :root {
    --page-gutter: max(112px, calc((100vw - 1300px) / 2));
  }
}

@media (max-width: 900px) {
  :root {
    --page-gutter: 6vw;
  }

  .hero {
    min-height: 585px;
    gap: 4%;
  }

  .hero h1 {
    font-size: clamp(54px, 7vw, 70px);
  }

  .hero-stamp {
    left: -25px;
    width: 72px;
    height: 72px;
  }

  .hero-side-label {
    right: -20px;
  }

  .about-image {
    min-height: 580px;
  }

  .about-copy {
    padding: 70px 7vw;
  }

  .about-stats {
    gap: 23px;
  }
}

@media (max-width: 680px) {
  :root {
    --page-gutter: 24px;
  }

  html {
    scroll-padding-top: 70px;
  }

  .site-header {
    position: relative;
    z-index: 5;
    height: 70px;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
  }

  .brand-name {
    font-size: 17px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(36, 36, 31, 0.2);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 15px;
    height: 1px;
    background: var(--ink);
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 69px;
    right: 0;
    left: 0;
    height: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--page-gutter) 20px;
    border-bottom: 1px solid rgba(36, 36, 31, 0.12);
    background: var(--paper);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-link {
    padding: 13px 0;
    border-bottom: 1px solid rgba(36, 36, 31, 0.08);
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-cta {
    justify-content: space-between;
    margin-top: 15px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 37px;
    padding-top: 56px;
    padding-bottom: 88px;
  }

  .hero h1 {
    margin-top: 22px;
    font-size: clamp(57px, 14vw, 78px);
    letter-spacing: -2.6px;
  }

  .hero-description {
    max-width: 360px;
    font-size: 12px;
  }

  .hero-note {
    margin-top: 36px;
  }

  .hero-visual {
    width: calc(100% - 13px);
    justify-self: start;
    margin-left: 13px;
  }

  .hero-image {
    height: min(115vw, 480px);
  }

  .hero-stamp {
    top: 23px;
    left: -26px;
  }

  .hero-side-label {
    right: -18px;
    font-size: 7px;
  }

  .scroll-hint {
    bottom: 35px;
  }

  .work-section {
    padding-top: 75px;
    padding-bottom: 80px;
  }

  .section-heading {
    display: block;
    margin-bottom: 32px;
  }

  .section-heading h2,
  .about-copy h2 {
    font-size: 40px;
  }

  .desktop-link {
    display: none;
  }

  .work-grid {
    grid-template-columns: 1fr;
    row-gap: 35px;
  }

  .work-card-tall,
  .work-card-wide {
    width: 100%;
  }

  .work-card-offset {
    width: 92%;
    margin-top: 0;
    justify-self: end;
  }

  .work-card-tall,
  .work-card-offset,
  .work-card-wide {
    grid-column: auto;
  }

  .work-card-wide {
    justify-self: auto;
    margin-top: 0;
  }

  .work-card-tall .work-image,
  .work-card-offset .work-image,
  .work-card-wide .work-image {
    height: clamp(260px, 88vw, 390px);
  }

  .work-meta h3 {
    font-size: 18px;
  }

  .mobile-link {
    display: flex;
    width: fit-content;
    margin-top: 36px;
  }

  .about-section {
    grid-template-columns: 1fr;
  }

  .about-image {
    min-height: 105vw;
    max-height: 490px;
  }

  .about-copy {
    padding: 66px var(--page-gutter) 70px;
  }

  .about-copy h2 {
    font-size: clamp(38px, 10.5vw, 48px);
  }

  .about-stats {
    justify-content: space-between;
    gap: 12px;
    margin-top: 39px;
  }

  .about-stats strong {
    font-size: 27px;
  }

  .about-stats div > span {
    font-size: 8px;
  }

  .quote-section {
    padding-top: 78px;
    padding-bottom: 76px;
  }

  .quote-section blockquote {
    font-size: clamp(30px, 8.3vw, 40px);
  }

  .desktop-break {
    display: none;
  }

  .contact-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 72px;
    padding-bottom: 69px;
  }

  .contact-inner h2 {
    font-size: clamp(45px, 12vw, 58px);
  }

  .contact-details {
    padding-top: 20px;
  }

  .site-footer {
    min-height: 95px;
    flex-wrap: wrap;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .site-footer p {
    order: 1;
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  background-color: var(--paper);
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 0.65px, transparent 0.65px);
  background-size: 7px 7px;
}

.site-header {
  border-bottom-color: rgba(245, 243, 238, 0.12);
}

.brand-mark {
  border-color: rgba(245, 243, 238, 0.55);
}

.nav-link {
  color: #bac2bd;
}

.nav-cta {
  border-color: rgba(245, 243, 238, 0.28);
}

.nav-cta:hover,
.button-dark {
  color: #edf2f3;
  background: #233746;
}

.nav-cta:hover,
.button-dark:hover {
  background: var(--accent);
}

.hero {
  background: linear-gradient(115deg, rgba(220, 230, 233, 0.24), transparent 67%);
}

.status-dot {
  background: #728c94;
  box-shadow: 0 0 0 4px rgba(114, 140, 148, 0.15);
}

.hero-description,
.about-copy > p:not(.eyebrow) {
  color: #bac2bd;
}

.hero-note {
  color: #a6aca8;
}

.image-frame {
  position: relative;
  isolation: isolate;
  background: #aab9be;
}

.hero-image img,
.work-image img,
.about-image img {
  filter: saturate(0.78) contrast(1.04);
}

.hero-image::after,
.work-image::after,
.about-image::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.hero-image::after {
  z-index: 1;
  background-image:
    linear-gradient(180deg, rgba(31, 51, 65, 0.08), rgba(31, 51, 65, 0.16)),
    repeating-linear-gradient(169deg, transparent 0 17px, rgba(227, 239, 242, 0.24) 18px, transparent 19px, transparent 34px);
  background-size: auto, 45px 110px;
  animation: rain-fall 1.2s linear infinite;
}

.work-image {
  isolation: isolate;
  background: #aab9be;
}

.work-image::after {
  z-index: 1;
  background-image:
    linear-gradient(180deg, rgba(31, 51, 65, 0.03), rgba(31, 51, 65, 0.16)),
    repeating-linear-gradient(169deg, transparent 0 22px, rgba(227, 239, 242, 0.19) 23px, transparent 24px, transparent 44px);
}

.work-index,
.work-arrow {
  z-index: 2;
  background-color: rgba(29, 43, 55, 0.48);
}

.work-section {
  background: #202321;
}

.work-meta p,
.work-meta > span {
  color: #a6aca8;
}

.about-section {
  background: #171918;
}

.about-image {
  isolation: isolate;
  background: #82979e;
}

.about-image::after {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(28, 48, 62, 0.04), rgba(28, 48, 62, 0.34)),
    repeating-linear-gradient(169deg, transparent 0 20px, rgba(227, 239, 242, 0.2) 21px, transparent 22px, transparent 41px);
}

.about-image-note {
  z-index: 2;
}

.about-stats {
  border-top-color: rgba(245, 243, 238, 0.16);
}

.button-outline {
  border-color: rgba(245, 243, 238, 0.38);
}

.button-outline:hover {
  border-color: #233746;
  background: #233746;
}

.contact-section {
  background: #1f303c;
}

.contact-inner .eyebrow,
.contact-details > p,
.social-links a {
  color: #bdc9cd;
}

.contact-inner h2 em,
.contact-email span,
.social-links span {
  color: #d78a78;
}

.contact-email {
  border-bottom-color: rgba(237, 242, 243, 0.45);
}

.quote-mark {
  color: var(--accent);
}

.site-footer p,
.back-to-top {
  color: #71808a;
}

.hero-stamp {
  border-color: rgba(237, 242, 243, 0.72);
  background: rgba(25, 45, 59, 0.38);
}

.hero-stamp strong {
  font-family: sans-serif;
  font-size: 18px;
}

.hero-side-label {
  color: #a6aca8;
}

.scroll-hint {
  color: #71808a;
}

@keyframes rain-fall {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 0 0, 45px 110px;
  }
}
