@font-face {
  font-family: Baskervville;
  src: url("assets/fonts/baskervville-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Baskervville;
  src: url("assets/fonts/baskervville-400-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Spectral;
  src: url("assets/fonts/spectral-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("assets/fonts/manrope-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("assets/fonts/manrope-600.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("assets/fonts/manrope-800.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fafbf7;
  --ink: #20271a;
  --muted: #4e5848;
  --green: #677f55;
  --deep: #30432a;
  --pale: #e3ebd9;
  --rule: #d2dacc;
  --serif: Baskervville, Georgia, serif;
  --sans: Manrope, system-ui, sans-serif;
  --header-height: 76px;
  --gutter: clamp(24px, 6vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--header-height) + 16px); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.65 var(--sans);
}

body.lightbox-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
button { color: inherit; font: inherit; cursor: pointer; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid #4b6940; outline-offset: 4px; }

.container {
  width: min(calc(100% - 2 * var(--gutter)), 1280px);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 5;
  transform: translateY(-150%);
  padding: 9px 12px;
  background: white;
}

.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 3;
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid rgba(48, 67, 42, .13);
}

.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-block: 7px;
  font-size: .71rem;
  font-weight: 800;
  line-height: 1.23;
  letter-spacing: .1em;
  text-decoration: none;
}

.brand img { object-fit: contain; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.3vw, 56px);
  font-size: .94rem;
  font-weight: 600;
}

.nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.nav a:hover, .nav a:focus-visible, .nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.menu-toggle {
  display: none;
  min-height: 44px;
  background: transparent;
  border: 1px solid var(--rule);
  padding: 0 15px;
  font-size: .83rem;
  font-weight: 800;
}

.hero {
  background: var(--pale);
  overflow: hidden;
}

.hero-grid {
  min-height: clamp(430px, 38vw, 570px);
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 60px);
  align-items: center;
}

.hero-content { padding-block: clamp(36px, 5.5vw, 75px); }

.eyebrow {
  font-size: .72rem;
  letter-spacing: .135em;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero .eyebrow { color: var(--deep); }

h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.04em;
}

.hero h1 {
  max-width: 27ch;
  margin-top: 18px;
  font-size: clamp(1.85rem, 3.3vw, 3.35rem);
  font-weight: 700;
  line-height: 1.11;
  text-wrap: pretty;
}

.hero-description {
  max-width: 41ch;
  margin-top: 24px;
  font-size: clamp(.97rem, 1.25vw, 1.13rem);
  color: var(--muted);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  margin-top: 28px;
  padding: 12px 24px;
  border: 1px solid var(--deep);
  background: var(--deep);
  color: white;
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
}

.button:hover { background: #406038; }

.hero-illustration {
  display: grid;
  align-items: center;
  justify-items: center;
  width: min(100%, 490px);
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 50%;
  background: #d3e2bd;
}

.hero-illustration img {
  width: 76%;
  height: auto;
  opacity: .96;
}

.section { padding-block: clamp(54px, 6.5vw, 100px); }
h2 { font-size: clamp(2.5rem, 4.55vw, 4.5rem); }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 22px 32px;
  margin-bottom: clamp(24px, 3.5vw, 49px);
}

.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.work-filters button {
  min-height: 44px;
  padding: 6px 13px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: transparent;
  font-size: .88rem;
  font-weight: 600;
  color: var(--deep);
}

.work-filters button:hover { background: var(--pale); }

.work-filters button[aria-pressed="true"] {
  color: white;
  background: var(--deep);
  border-color: var(--deep);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(25px, 4vw, 55px) clamp(18px, 2vw, 30px);
}

.work-card a {
  display: block;
  height: 100%;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
}

.work-photo, .case-cover {
  overflow: hidden;
  aspect-ratio: 1.35;
  background: var(--pale);
}

.work-photo img, .case-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card a:hover h3 { text-decoration: underline; }
.work-caption { padding: 15px 0 19px; }

.work-caption h3 {
  font: 800 clamp(1.06rem, 1.54vw, 1.34rem)/1.35 var(--sans);
  letter-spacing: -.025em;
}

.work-caption p { margin-top: 4px; color: var(--muted); font-size: .93rem; }

.studio { background: var(--pale); }

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px clamp(48px, 9vw, 150px);
  align-items: start;
}

.studio-lead {
  max-width: 27ch;
  margin-top: 24px;
  font: 400 clamp(1.48rem, 2.35vw, 2.6rem)/1.23 var(--serif);
  letter-spacing: -.025em;
}

.studio-copy {
  max-width: 53ch;
  padding-top: 9px;
  color: var(--muted);
}

.studio-copy p + p { margin-top: 20px; }

.services-grid { border-bottom: 1px solid var(--rule); }
.service {
  display: grid;
  grid-template-columns: minmax(175px, 1fr) minmax(0, 2.4fr);
  gap: 22px clamp(24px, 4vw, 64px);
  padding-block: clamp(24px, 3vw, 43px);
  border-top: 1px solid var(--rule);
}
.service h3 {
  font: 400 clamp(1.55rem, 2.45vw, 2.45rem)/1.13 var(--serif);
  letter-spacing: -.025em;
}
.service-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 21px clamp(24px, 4vw, 60px);
  font-size: 1rem;
  line-height: 1.55;
}
.service-details dt { font-weight: 800; }
.service-details dd { max-width: 35ch; color: var(--muted); margin-top: 5px; }

.clients { background: var(--pale); }

.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0;
  padding: 1px;
  background: var(--rule);
  list-style: none;
}

.client-logo {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: clamp(104px, 10.5vw, 145px);
  padding: 18px;
  background: white;
}

.client-logo img {
  width: min(100%, 154px);
  height: clamp(47px, 6.2vw, 75px);
  object-fit: contain;
}

.client-logo[data-client="mihan-aromatics"] img,
.client-logo[data-client="bvlgari"] img { width: min(100%, 170px); }

.client-logo[data-client="fiftysix"] img,
.client-logo[data-client="soul-artisan"] img { height: clamp(46px, 5.4vw, 64px); }

.footer {
  padding-top: clamp(48px, 7vw, 98px);
  background: var(--deep);
  color: #fbfcf8;
}

.footer :focus-visible { outline-color: white; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) 1fr;
  gap: 27px 55px;
  align-items: end;
  padding-bottom: clamp(42px, 6vw, 86px);
}

.contact-email {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 18px;
  overflow-wrap: anywhere;
  font-size: clamp(.95rem, 2.25vw, 1.8rem);
}

.copy-email {
  min-height: 44px;
  margin: 8px 12px 0 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: .8rem;
  text-decoration: underline;
  text-underline-offset: .25em;
}

.copy-status { font-size: .8rem; }
.contact-grid address { font-style: normal; font-size: .91rem; }
.contact-grid address a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; border-top: 1px solid #778571; padding-block: 13px; font-size: .78rem; }
.footer-base a { display: flex; align-items: center; min-height: 35px; }

.case-intro { padding-block: clamp(20px, 3vw, 40px) clamp(42px, 5.5vw, 82px); background: var(--pale); }
.case-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(26px, 5vw, 80px);
  margin-top: clamp(10px, 2vw, 30px);
}

.case-intro h1 {
  max-width: 17ch;
  margin-top: 12px;
  font-size: clamp(2.65rem, 4.65vw, 5rem);
  text-wrap: balance;
}

.case-lede { margin-top: 18px; max-width: 48ch; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.2rem); }
.text-link { display: inline-flex; min-height: 44px; align-items: center; font-size: .9rem; font-weight: 800; }

.case-story { padding-bottom: 0; }
.case-story-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 29px clamp(38px, 7vw, 130px); align-items: start; }
.case-story-grid p { margin-top: 16px; max-width: 70ch; }
.case-scope { background: var(--pale); padding: clamp(22px, 4vw, 49px); }
.case-scope h3 { margin-bottom: 9px; font-size: 1.05rem; }
.case-scope ul { padding-left: 18px; }
.case-stats { margin-top: 38px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 16px; }
.case-stats div { padding-top: 13px; border-top: 1px solid var(--rule); display: flex; flex-direction: column-reverse; }
.case-stats dd {
  font: 400 clamp(2rem, 3.65vw, 3.45rem)/1.12 Spectral, var(--serif);
  font-variant-numeric: lining-nums;
  white-space: nowrap;
}
.case-stats .stat-qualifier { font-size: .47em; }
.case-stats dt { color: var(--muted); font-size: .9rem; line-height: 1.45; margin-top: 6px; }
.gallery-hint { color: var(--muted); font-size: .93rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2vw, 24px); }
.zoom-image { display: block; aspect-ratio: 1.22; overflow: hidden; background: var(--pale); }
.zoom-image img { width: 100%; height: 100%; object-fit: cover; }

.next-project { padding-block: clamp(40px, 5vw, 76px); background: var(--pale); }
.next-project a { display: inline-block; margin-top: 8px; font: 400 clamp(1.8rem, 4vw, 4.1rem)/1.1 var(--serif); }

.lightbox {
  color: white;
  background: #1d241a;
  border: 0;
  padding: 15px 20px;
  margin: auto;
  width: min(1100px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100% - 24px);
  overflow: auto;
}

.lightbox::backdrop { background: rgba(23, 29, 20, .78); }
.lightbox :focus-visible { outline-color: white; }
.lightbox figure { margin: 12px 0; }
.lightbox img { width: 100%; height: min(62vh, 650px); object-fit: contain; }
.lightbox-caption { margin-top: 8px; text-align: center; color: #edf1e9; font-size: .9rem; }
.lightbox-bar, .lightbox-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lightbox-controls { margin-top: 8px; }
.lightbox button { min-height: 44px; padding: 0 12px; background: transparent; border: 1px solid #9ca99a; font-size: .85rem; }
.lightbox button:hover { background: #394535; }
.missing-page h1 { font-size: clamp(3rem, 7vw, 7rem); }

@media (max-width: 900px) {
  .hero-grid { min-height: 425px; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .hero-grid { min-height: 385px; }
  .studio-grid, .case-story-grid, .case-intro-grid { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; }
  .studio-copy { padding-top: 0; }
  .case-intro h1 { text-wrap: wrap; }
  .client-logo { min-height: 104px; padding: 12px; }
}

@media (max-width: 600px) {
  :root { --gutter: 22px; --header-height: 65px; }
  .brand img { width: 36px; height: 36px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; padding-block: 34px 25px; }
  .hero-content { display: contents; }
  .hero-content > :not(.button) { grid-column: 1 / -1; }
  .hero h1 { font-size: clamp(1.7rem, 5.6vw, 2.2rem); margin-top: 14px; }
  .hero-description { margin-top: 17px; }
  .hero .button { justify-self: start; margin-top: 7px; }
  .hero-illustration { width: clamp(108px, 34vw, 155px); margin-top: 11px; }
  .section-heading { gap: 15px; }
  .button { margin-top: 22px; }
  .work-filters button { padding-inline: 9px; font-size: .82rem; }
  .work-grid { gap: 24px 14px; }
  .work-caption { padding: 10px 0 14px; }
  .work-caption h3 { font-size: 1rem; }
  .work-caption p { font-size: .88rem; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .service-details { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  :root { --gutter: 18px; }
  .work-grid, .gallery-grid { grid-template-columns: 1fr; }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .button, .work-filters button { transition: background-color 180ms ease, border-color 180ms ease; }
  .work-photo img, .zoom-image img { transition: transform 320ms ease-out; }
  .work-card a:hover img, .zoom-image:hover img { transform: scale(1.035); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-illustration img { animation: illustration-in 420ms ease-out both; }

  @keyframes illustration-in {
    from { opacity: 0; transform: translateY(7px); }
    to { opacity: .96; transform: translateY(0); }
  }
}

.scent-verdict { background: #eef2e8; }
.scent-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(28px, 5.5vw, 90px);
  align-items: center;
}

.scent-copy .scent-title {
  max-width: 100%;
  margin: 0;
  font-size: clamp(1.95rem, 3.8vw, 3.65rem);
  text-transform: uppercase;
  text-wrap: balance;
}
.scent-subtitle {
  margin-top: 10px;
  font: 400 clamp(1.2rem, 2.1vw, 1.8rem)/1.25 var(--serif);
}
.scent-description { margin-top: 16px; color: var(--muted); }
.scent-copy .text-link { margin-top: 13px; }

.scent-photo { aspect-ratio: 1.13; }
.scent-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 41%; }

.portfolio h1 { font-size: clamp(3rem, 7.8vw, 7rem); }
.portfolio-intro { margin: 17px 0 28px; max-width: 60ch; color: var(--muted); }
.portfolio-controls { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.related-projects { padding-bottom: clamp(36px, 5vw, 72px); }
.related-projects ul { margin-top: 16px; padding-left: 20px; }
.related-projects a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 760px) {
  .scent-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .masthead { flex-wrap: wrap; }
  .nav { flex-basis: 100%; flex-wrap: wrap; gap: 0 18px; padding-bottom: 8px; }
  .has-js .menu-toggle { display: block; }
  .has-js .nav:not(.is-open) { display: none; }
}

[data-project="roger-gallet-pr"] img { object-position: 50% 60%; }
[data-project="antinomie-feng-chen-wang"] img { object-position: 50% 62%; }
[data-project="halloween-scent-salon"] img { object-position: 50% 42%; }
