/* RP Interiors — Direction E ("Atelier"), the production build. RP's own sage and deep teal
   over pale stone, a thin display serif with a heavier word for emphasis, light Poppins for
   everything else. Brand colours from the logo: sage #778D8B, deep teal #1A3C46. */

:root {
  --stone: #eef0ef;
  --stone-2: #e1e6e4;
  --grey: #cfd6d4;
  /* Panels: the logo's sage, deepened until white text passes 4.5:1. */
  --panel: #5f7573;
  --sage: #778d8b;
  --dark: #1a3c46;
  --ink: #1d2b30;
  --body: #34444a;
  --muted: #536266;
  --white: #ffffff;
  --error: #9b3f36;
  --line: rgba(29, 43, 48, 0.16);
  --line-soft: rgba(29, 43, 48, 0.09);

  --display: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --pad: clamp(18px, 4vw, 56px);
  --header: 76px;
  --ease: cubic-bezier(0.16, 0.84, 0.3, 1);
  --ease-soft: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ------------------------------------------------------------------ base */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

* {
  scrollbar-width: none;
}

::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.menu-open,
.menu-open body {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 200ms ease, opacity 200ms ease;
}

a:hover {
  color: var(--panel);
}

h1,
h2,
h3,
p,
dl,
dd,
blockquote,
figure,
ul,
ol,
fieldset {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 300;
  text-wrap: balance;
}

h1 b,
h2 b,
h3 b {
  font-weight: 600;
}

p {
  text-wrap: pretty;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 3px;
}

[tabindex="-1"]:focus {
  outline: none;
}

.skip {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
}

.skip:focus {
  top: 8px;
  color: var(--white);
}

.ico {
  width: 12px;
  height: 12px;
  flex: none;
}

/* ------------------------------------------------------------- type kit */

.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
}

.eyebrow--light {
  color: var(--white);
}

.link {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
}

/* -------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.btn--ink {
  background: var(--ink);
  color: var(--white);
}

.btn--ink:hover {
  background: var(--panel);
  color: var(--white);
}

.btn--line {
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: inset 0 0 0 4px var(--stone), inset 0 0 0 5px rgba(29, 43, 48, 0.35);
}

.btn--line:hover {
  background: var(--ink);
  color: var(--white);
  box-shadow: none;
}

.btn--white {
  background: var(--white);
  color: var(--ink);
}

.btn--white:hover {
  background: var(--ink);
  color: var(--white);
}

.btn--light {
  border-color: rgba(255, 255, 255, 0.8);
  color: var(--white);
}

.btn--light:hover {
  background: var(--white);
  color: var(--ink);
}

.btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding: clamp(36px, 5vw, 56px) var(--pad) 0;
}

/* --------------------------------------------------------------- header */

.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 var(--pad);
  background: rgba(238, 240, 239, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* Home: the header sits on the photograph. */
html[data-route="home"] .hdr {
  position: absolute;
  left: 0;
  right: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.hdr__mark {
  display: inline-flex;
  color: var(--dark);
}

.hdr__mark:hover {
  color: var(--panel);
}

.logo {
  display: block;
  height: 52px;
  width: auto;
  overflow: visible;
}

.logo--full {
  height: 96px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 44px);
}

.nav a {
  position: relative;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 8px 0;
}

.nav a[aria-current="page"]::after,
.nav a:not(.nav__cta):hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.18em;
  bottom: 2px;
  height: 1px;
  background: currentColor;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid currentColor;
}

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.burger span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1px;
  background: var(--ink);
}

.burger span:first-child {
  top: 18px;
}

.burger span + span {
  top: 25px;
}

@media (max-width: 939.98px) {
  .nav {
    display: none;
  }
  .burger {
    display: block;
  }
  :root {
    --header: 64px;
  }
  .logo:not(.logo--full) {
    height: 40px;
  }
}

/* ----------------------------------------------------------------- menu */

.menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  background: var(--stone);
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  opacity: 0;
  transition: opacity 320ms var(--ease-soft), visibility 0s linear 320ms;
}

.menu-open .menu {
  visibility: visible;
  opacity: 1;
  transition: opacity 320ms var(--ease-soft), visibility 0s;
}

.menu__bar {
  flex: none;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
}

.menu__close {
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu__close span {
  position: absolute;
  left: 11px;
  top: 50%;
  width: 22px;
  height: 1px;
  background: var(--ink);
  transform: rotate(45deg);
}

.menu__close span + span {
  transform: rotate(-45deg);
}

.menu__nav {
  display: flex;
  flex-direction: column;
  padding: 10px var(--pad) 0;
}

.menu__nav a {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(32px, 9vw, 46px);
  line-height: 1.15;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  transform: translateY(14px);
  opacity: 0;
  transition: transform 600ms var(--ease), opacity 600ms var(--ease), color 200ms ease;
}

.menu-open .menu__nav a {
  transform: none;
  opacity: 1;
}

.menu-open .menu__nav a:nth-child(2) { transition-delay: 40ms; }
.menu-open .menu__nav a:nth-child(3) { transition-delay: 80ms; }
.menu-open .menu__nav a:nth-child(4) { transition-delay: 120ms; }
.menu-open .menu__nav a:nth-child(5) { transition-delay: 160ms; }
.menu-open .menu__nav a:nth-child(6) { transition-delay: 200ms; }

.menu__nav a[aria-current="page"] {
  color: var(--panel);
}

.menu__cta {
  align-self: flex-start;
  margin: 28px var(--pad) 0;
}

.menu__contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 32px var(--pad) 40px;
  font-size: 15px;
}

/* --------------------------------------------------------------- motion */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 900ms var(--ease-soft), transform 900ms var(--ease-soft);
}

[data-reveal].rp-in {
  opacity: 1;
  transform: none;
}

[data-mask] {
  display: block;
  overflow: hidden;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}

[data-mask] > * {
  display: block;
  transform: translateY(105%);
  transition: transform 1100ms var(--ease);
}

[data-mask].rp-in > * {
  transform: none;
}

@keyframes rp-drift {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.08);
  }
}

.drift {
  animation: rp-drift 26s cubic-bezier(0.3, 0.1, 0.3, 1) both alternate infinite;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 420ms;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

::view-transition-group(rp-hero) {
  animation-duration: 760ms;
  animation-timing-function: cubic-bezier(0.7, 0, 0.18, 1);
}

::view-transition-old(rp-hero),
::view-transition-new(rp-hero) {
  animation-duration: 760ms;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-mask] > *,
  .menu__nav a,
  .car__track {
    opacity: 1 !important;
    transform: none;
    transition: none !important;
  }
  [data-reveal],
  [data-mask] > *,
  .menu__nav a {
    transform: none !important;
  }
  .drift {
    animation: none;
  }
  .fig img,
  .card .fig img,
  .panel .fig img,
  .next .fig img,
  .post .fig img {
    transition: none !important;
  }
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}

@media print {
  [data-reveal],
  [data-mask] > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* -------------------------------------------------------------- figures */

.fig {
  position: relative;
  overflow: hidden;
  background: var(--stone-2);
}

.fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 700ms ease, transform 1200ms var(--ease);
}

.fig img.is-loaded {
  opacity: 1;
}

img[data-wm="br"] {
  object-position: 100% 100%;
  transform-origin: 100% 100%;
}

img[data-wm="bl"] {
  object-position: 0% 100%;
  transform-origin: 0% 100%;
}

.tag {
  position: absolute;
  left: 0;
  top: clamp(16px, 2.4vw, 32px);
  padding: 14px clamp(18px, 2.4vw, 32px);
  background: var(--panel);
  color: var(--white);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* ----------------------------------------------------------------- hero */

.hero {
  position: relative;
  height: 100svh;
  min-height: 520px;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  background: #d9d5d2;
}

.hero__media img {
  opacity: 1;
}

/* A light mist from the lower left, and a little at the top for the nav. */
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(12deg, rgba(239, 241, 240, 0.97) 0%, rgba(239, 241, 240, 0.9) 24%, rgba(239, 241, 240, 0.5) 44%, rgba(239, 241, 240, 0) 64%),
    linear-gradient(180deg, rgba(239, 241, 240, 0.82) 0, rgba(239, 241, 240, 0) 150px);
  pointer-events: none;
}

.hero__text {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: clamp(36px, 6vw, 80px);
  max-width: 760px;
}

.hero__text .eyebrow {
  margin-bottom: clamp(14px, 1.6vw, 20px);
  letter-spacing: 0.3em;
  font-size: 13px;
}

.hero__title {
  font-size: clamp(42px, 6.2vw, 84px);
  line-height: 1.02;
  letter-spacing: 0.01em;
  color: var(--ink);
}

@media (max-width: 560px) {
  .hero__scrim {
    background:
      linear-gradient(0deg, rgba(239, 241, 240, 0.97) 0%, rgba(239, 241, 240, 0.9) 30%, rgba(239, 241, 240, 0.4) 52%, rgba(239, 241, 240, 0) 68%),
      linear-gradient(180deg, rgba(239, 241, 240, 0.82) 0, rgba(239, 241, 240, 0) 120px);
  }
}

/* ---------------------------------------------------------------- intro */

.intro {
  padding: clamp(64px, 9vw, 120px) var(--pad) clamp(56px, 7vw, 96px);
  text-align: center;
}

.intro__line {
  max-width: 24ch;
  margin: 0 auto;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.clients {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px clamp(28px, 3.6vw, 60px);
  max-width: 1320px;
  margin: clamp(44px, 5.5vw, 72px) auto 0;
}

.clients a {
  display: block;
  opacity: 0.72;
  transition: opacity 220ms ease;
}

.clients a:hover {
  opacity: 1;
}

.clients img {
  display: block;
  height: auto;
  max-width: min(60vw, 100%);
}

@media (max-width: 599.98px) {
  .clients {
    gap: 24px 32px;
  }
  .clients img {
    zoom: 0.8;
  }
}

/* -------------------------------------------- photo with panel over band */

.feature {
  position: relative;
}

.feature__media {
  position: relative;
  display: block;
  height: clamp(380px, 52vw, 720px);
}

.feature__media .fig {
  position: absolute;
  inset: 0;
}

.feature__band {
  position: relative;
  padding: 0 var(--pad) clamp(56px, 7vw, 96px);
  background-color: var(--dark);
  /* A quiet woven pattern in place of a printed texture. */
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 28px);
}

.feature__card {
  position: relative;
  max-width: 720px;
  margin: calc(-1 * clamp(160px, 16vw, 240px)) auto 0;
  padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 72px);
  background: var(--panel);
  color: var(--white);
  text-align: center;
}

.feature__title {
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.feature__kicker {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.feature__body {
  max-width: 54ch;
  margin: 22px auto 0;
  font-size: 15.5px;
  line-height: 1.8;
}

.ticks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 30px;
  margin-top: 26px;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.ticks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ticks .ico {
  width: 15px;
  height: 15px;
}

/* ------------------------------------------------------- section heads */

.sechead {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--pad) clamp(32px, 4vw, 52px);
  text-align: center;
}

.sechead .eyebrow {
  margin-bottom: 16px;
}

.sechead__title {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------- cards */

.card {
  display: flex;
  flex-direction: column;
  color: var(--ink);
}

.card .fig {
  aspect-ratio: 4 / 3;
}

.card:hover .fig img {
  transform: scale(1.035);
}

.card__kind {
  margin-top: 18px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.card__title {
  margin-top: 6px;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.2;
}

.card__hook {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--body);
  max-width: 46ch;
}

.card__more {
  align-self: flex-start;
  margin-top: 14px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
}

.card:hover {
  color: var(--ink);
}

.card:hover .card__more {
  color: var(--panel);
}

/* ------------------------------------------------------------ carousel */

.work {
  padding: clamp(80px, 10vw, 140px) 0;
  border-bottom: 1px solid var(--line-soft);
}

.work--dark {
  background: var(--dark);
  color: var(--white);
  border-bottom: 0;
}

.work--dark .sechead__title,
.work--dark .card,
.work--dark .card:hover,
.work--dark .card__kind,
.work--dark .car__btn {
  color: var(--white);
}

.work--dark .fig {
  background: #24474f;
}

.car {
  padding: 0 var(--pad);
}

.car__view {
  overflow: hidden;
}

.car__track {
  display: flex;
  column-gap: 24px;
  transition: transform 700ms var(--ease);
  will-change: transform;
}

.car__slide {
  flex: 0 0 calc((100% - 24px) / 2);
  min-width: 0;
}

@media (max-width: 759.98px) {
  .car__slide {
    flex-basis: 100%;
  }
}

.car__ctrl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(28px, 3.5vw, 44px);
}

.car__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 200ms ease;
}

.car__btn:hover {
  opacity: 1;
}

.car__btn svg {
  width: 16px;
  height: 16px;
}

.car__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
}

.car__dot {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.car__dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.28;
  transition: opacity 200ms ease, transform 200ms ease;
}

.car__dot.is-on::after {
  opacity: 1;
  transform: scale(1.25);
}

/* ------------------------------------------------- split testimonial */

.tsplit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(420px, 44vw, 640px);
}

.tsplit__media {
  min-height: 320px;
}

.tsplit__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 96px) clamp(24px, 6vw, 96px);
  background: var(--panel);
  color: var(--white);
}

.qmark {
  width: 30px;
  height: 22px;
  margin-bottom: 26px;
  opacity: 0.85;
}

.tsplit blockquote p {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.35;
}

.tsplit__by {
  margin-top: 30px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.tsplit__where {
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (max-width: 859.98px) {
  .tsplit {
    grid-template-columns: 1fr;
  }
  .tsplit__media {
    aspect-ratio: 4 / 3;
  }
}

/* -------------------------------------------------------------- pillars */

.pillars {
  padding: clamp(80px, 10vw, 140px) var(--pad);
}

.pillars__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1180px;
  margin: 0 auto;
}

.pillar {
  padding: 8px clamp(18px, 3vw, 44px) 24px;
  text-align: center;
}

.pillar + .pillar {
  border-left: 1px solid var(--line);
}

.pillars__row--six .pillar:nth-child(3n + 1) {
  border-left: 0;
}

.pillars__row--six .pillar:nth-child(n + 4) {
  padding-top: 40px;
}

.pillar__ico {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--stone-2);
  color: var(--ink);
}

.pillar__ico svg {
  width: 26px;
  height: 26px;
}

.pillar h3 {
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.2;
}

.pillar p {
  max-width: 30ch;
  margin: 14px auto 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--body);
}

@media (max-width: 859.98px) {
  .pillars__row {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .pillar + .pillar {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 36px;
  }
}

/* ------------------------------------------------------------------ faq */

.faqhome {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding: clamp(80px, 10vw, 140px) var(--pad);
}

.faqhome__title {
  margin: 14px 0 clamp(24px, 3vw, 36px);
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.08;
}

.faqhome__media {
  aspect-ratio: 4 / 3;
}

.faqhome .link {
  margin-top: 28px;
}

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

.acc__item {
  border-bottom: 1px solid var(--line);
}

.acc__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-family: var(--display);
  font-size: clamp(21px, 1.9vw, 25px);
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}

.acc__item summary::-webkit-details-marker {
  display: none;
}

.acc__ico {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.acc__ico::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 7px;
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform 260ms var(--ease);
}

.acc__item[open] .acc__ico::before {
  top: 10px;
  transform: rotate(-135deg);
}

.acc__item p {
  max-width: 60ch;
  padding: 0 0 22px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--body);
}

.faqpage {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--pad) clamp(60px, 8vw, 100px);
}

/* --------------------------------------------------- let's talk (form) */

.talk {
  position: relative;
  padding: clamp(48px, 7vw, 96px) var(--pad);
  display: flex;
  justify-content: flex-end;
}

.talk__media {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 22%;
}

.talk__card {
  position: relative;
  width: min(100%, 560px);
  margin-right: clamp(0px, 4vw, 64px);
  padding: clamp(32px, 4vw, 52px);
  background: var(--panel);
  color: var(--white);
}

.talk__title {
  margin: 6px 0 22px;
  font-size: clamp(38px, 4vw, 52px);
  line-height: 1.05;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 48px clamp(32px, 6vw, 96px);
  padding: 0 var(--pad) clamp(80px, 10vw, 130px);
}

.contact__card {
  padding: clamp(28px, 4vw, 52px);
  background: var(--panel);
  color: var(--white);
}

.contact__aside {
  display: flex;
  flex-direction: column;
  gap: 28px;
  font-size: 15.5px;
  line-height: 1.7;
}

.contact__aside .eyebrow {
  margin-bottom: 6px;
}

@media (max-width: 899.98px) {
  .contact {
    grid-template-columns: 1fr;
  }
  .talk {
    padding-top: 56vw;
  }
  .talk__media {
    bottom: auto;
    height: 72vw;
  }
  .talk__card {
    margin-right: 0;
  }
}

/* Form fields on a sage card: white lines and type. */
.form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form__two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 22px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 0;
  padding: 0;
  min-width: 0;
}

.field__label {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 42px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 0;
  background: transparent;
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  -webkit-appearance: none;
  appearance: none;
}

.field textarea {
  resize: vertical;
  min-height: 112px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--white);
  box-shadow: 0 1px 0 0 var(--white);
}

.field [aria-invalid="true"] {
  border-bottom-color: #ffd9d3;
}

.field__err {
  font-size: 13.5px;
  line-height: 1.4;
  color: #ffe6e1;
  font-weight: 400;
}

.field__err:empty {
  display: none;
}

.types legend {
  padding: 0;
  margin-bottom: 10px;
}

.types__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.types__row button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 0;
  background: transparent;
  color: var(--white);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease;
}

.types__row button[aria-pressed="true"],
.types__row button:hover {
  background: var(--white);
  color: var(--ink);
}

.form__foot {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  margin-top: 6px;
}

.form__foot .btn {
  width: 100%;
}

.form__status {
  font-size: 14.5px;
  line-height: 1.5;
}

.form__status:empty {
  display: none;
}

/* --------------------------------------------------------------- footer */

.ftr {
  background: var(--grey);
  color: var(--ink);
  padding: clamp(56px, 7vw, 88px) var(--pad) 28px;
}

.ftr__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 1.2fr;
  gap: 40px clamp(24px, 4vw, 56px);
}

.ftr__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--ink);
}

.ftr__name {
  margin-top: 14px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ftr__sub {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ftr__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.ftr__col a,
.ftr__col p {
  padding: 3px 0;
}

.ftr__label {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.ftr__label--gap {
  margin-top: 22px;
}

.gram {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: min(100%, 240px);
}

.gram a {
  display: block;
  padding: 0;
}

.gram .fig {
  aspect-ratio: 1;
}

.ftr__follow {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ftr__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(44px, 6vw, 72px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

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

/* -------------------------------------------------------------- page head */

.phead {
  padding: clamp(56px, 9vw, 120px) var(--pad) clamp(40px, 5vw, 64px);
  text-align: center;
}

.phead--tight {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(28px, 3vw, 40px);
}

.phead .eyebrow {
  margin-bottom: 16px;
}

.phead__title {
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1.04;
  letter-spacing: 0.01em;
}

.phead__sub {
  max-width: 50ch;
  margin: 18px auto 0;
}

.back {
  display: inline-block;
  margin-bottom: 22px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ----------------------------------------------------------- work landing */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 0 var(--pad);
}

.panel {
  position: relative;
  display: block;
  height: 56vh;
  overflow: hidden;
  color: var(--white);
}

.panel .fig {
  position: absolute;
  inset: 0;
}

.panel:hover .fig img {
  transform: scale(1.035);
}

.panel__text {
  position: absolute;
  left: 0;
  bottom: clamp(20px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  padding: 18px clamp(20px, 3vw, 36px);
  background: var(--panel);
}

.panel:hover {
  color: var(--white);
}

.panel__count {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.panel__title {
  font-family: var(--display);
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.1;
}

@media (max-width: 699.98px) {
  .split {
    grid-template-columns: 1fr;
  }
  .panel {
    height: 48vh;
  }
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(48px, 6vw, 80px) 24px;
  padding: 0 var(--pad);
}

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

/* -------------------------------------------------------------- callout */

.callout {
  margin-top: clamp(80px, 10vw, 140px);
  padding: clamp(72px, 9vw, 120px) var(--pad);
  background: var(--stone-2);
  text-align: center;
}

.callout .eyebrow {
  margin-bottom: 16px;
}

.callout__title {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.1;
}

.callout__line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  margin-top: 18px;
  font-size: 15.5px;
}

.callout .btns {
  padding-top: 32px;
}

/* ------------------------------------------------- project & collection */

.dhero {
  height: calc(88svh - var(--header));
  min-height: 380px;
}

.dcard {
  position: relative;
  width: min(calc(100% - 2 * var(--pad)), 820px);
  margin: calc(-1 * clamp(80px, 10vw, 150px)) auto 0;
  padding: clamp(32px, 4.5vw, 60px) clamp(24px, 5vw, 64px);
  background: var(--panel);
  color: var(--white);
  text-align: center;
}

.dcard .back {
  color: var(--white);
}

.dcard .eyebrow {
  margin-bottom: 12px;
}

.dcard__title {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
}

.dcard__hook {
  max-width: 52ch;
  margin: 18px auto 0;
  font-size: 15.5px;
  line-height: 1.8;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 36px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.facts dt {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.facts dd {
  font-size: 15px;
}

.seq {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(56px, 7vw, 96px) var(--pad) 0;
}

.seq__single .fig,
.seq__solo .fig,
.seq__pair .fig {
  aspect-ratio: var(--r, 1.5);
}

.seq__solo {
  width: min(100%, 760px);
  margin: 0 auto;
}

.seq__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

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

.next {
  position: relative;
  display: block;
  height: clamp(320px, 46vw, 560px);
  margin-top: clamp(64px, 8vw, 112px);
  overflow: hidden;
  color: var(--white);
}

.next .fig {
  position: absolute;
  inset: 0;
}

.next:hover {
  color: var(--white);
}

.next:hover .fig img {
  transform: scale(1.03);
}

.next__text {
  position: absolute;
  left: 50%;
  bottom: clamp(24px, 4vw, 48px);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px clamp(28px, 4vw, 56px);
  background: var(--panel);
  text-align: center;
  white-space: nowrap;
}

.next__title {
  font-family: var(--display);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
}

/* --------------------------------------------------- services & process */

.svc,
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--pad) clamp(80px, 10vw, 130px);
  gap: 0;
}

.svc__item,
.step {
  padding: 36px clamp(18px, 3vw, 40px);
  border-top: 1px solid var(--line);
}

.svc__item:nth-child(3n + 2),
.svc__item:nth-child(3n + 3),
.step:nth-child(3n + 2),
.step:nth-child(3n + 3) {
  border-left: 1px solid var(--line);
}

.svc__n,
.step__n {
  display: block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--muted);
}

.svc h2,
.step h2 {
  font-size: clamp(26px, 2.4vw, 32px);
  line-height: 1.15;
}

.svc p,
.step p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--body);
}

@media (max-width: 859.98px) {
  .svc,
  .steps {
    grid-template-columns: 1fr;
  }
  .svc__item,
  .step {
    border-left: 0 !important;
    padding-left: 0;
    padding-right: 0;
  }
}

.wide {
  padding: 0 var(--pad);
}

.wide .fig {
  aspect-ratio: 16 / 7;
}

/* --------------------------------------------------------------- studio */

.feature--studio {
  margin-bottom: 0;
}

.portrait {
  width: min(calc(100% - 2 * var(--pad)), 520px);
  margin: 0 auto clamp(56px, 7vw, 96px);
}

.portrait .fig {
  aspect-ratio: 4 / 5;
}

.where {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 120px) var(--pad) 0;
  text-align: center;
  font-size: 15.5px;
}

.where .eyebrow {
  margin-bottom: 10px;
}

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

/* -------------------------------------------------------------- journal */

.journal {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 24px;
  padding: 0 var(--pad);
}

.post {
  display: flex;
  flex-direction: column;
  color: var(--ink);
}

.post .fig {
  aspect-ratio: 1;
}

.post:hover .fig img {
  transform: scale(1.035);
}

.post__cap {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--body);
}

@media (max-width: 899.98px) {
  .journal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* ------------------------------------------------------------------ 404 */

.nf {
  min-height: calc(70svh - var(--header));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px var(--pad);
  text-align: center;
}

.nf .eyebrow {
  margin-bottom: 16px;
}

/* Credit names link to the studios: a faint underline marks them as links. */
.ftr__base a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
}

/* Footer images sit outside #main, where core.js does not fade them in. */
.ftr .fig img {
  opacity: 1;
}
