/* RP Interiors — the production build. RP's own sage and deep teal over pale stone;
   Newsreader for headings, with italic (not bold) for emphasis, and Archivo 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;
  /* Small sage type on stone: dark enough for 4.5:1. */
  --sage-ink: #4e6462;
  --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);
  /* Light accents on the dark sections. */
  --on-dark-accent: #b9cbc8;
  --on-dark-soft: #dbe4e2;
  --on-dark-muted: #c3d0ce;
  --photo-bg: #d9dfdd;
  --photo-bg-dark: #24474f;
  --header-bg: rgba(238, 240, 239, 0.94);

  --display: "Newsreader", Georgia, serif;
  --sans: "Archivo", 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);
}

/* The look, chosen in the portal (data-palette and data-fonts on <html>).
   Every palette keeps white text on --panel and --dark, and --sage-ink on
   --stone-2, at 4.5:1 or better. */
html[data-palette="linen"] {
  --stone: #f3f0eb;
  --stone-2: #e8e3db;
  --grey: #d8d2c8;
  --panel: #6b6256;
  --sage: #9c9182;
  --sage-ink: #5c5348;
  --dark: #2f2a25;
  --ink: #26221e;
  --body: #3f3933;
  --muted: #5f5850;
  --on-dark-accent: #d6c9b6;
  --on-dark-soft: #ebe4da;
  --on-dark-muted: #d3cabe;
  --photo-bg: #ddd7cd;
  --photo-bg-dark: #3d3731;
  --header-bg: rgba(243, 240, 235, 0.94);
}

html[data-palette="charcoal"] {
  --stone: #efefed;
  --stone-2: #e2e2df;
  --grey: #d2d3d0;
  --panel: #585c5f;
  --sage: #8b9094;
  --sage-ink: #4b4f52;
  --dark: #212528;
  --ink: #1d2124;
  --body: #383d40;
  --muted: #555a5d;
  --on-dark-accent: #c8ccd0;
  --on-dark-soft: #e3e5e7;
  --on-dark-muted: #c9cccf;
  --photo-bg: #d5d6d3;
  --photo-bg-dark: #33383b;
  --header-bg: rgba(239, 239, 237, 0.94);
}

html[data-fonts="instrument"] {
  --display: "Instrument Serif", Georgia, serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

html[data-fonts="instrument"] h1,
html[data-fonts="instrument"] h2,
html[data-fonts="instrument"] h3 {
  font-weight: 400;
}

/* ------------------------------------------------------------------ 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: 400;
  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;
}

/* Emphasis is the italic cut in sage, never a heavier weight. */
h1 b,
h2 b,
h3 b {
  font-weight: inherit;
  font-style: italic;
  color: var(--panel);
}

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;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-ink);
}

.eyebrow--light {
  color: var(--on-dark-accent);
}

.link {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  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: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  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);
}

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

.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: flex-start;
  gap: 14px;
  padding: clamp(36px, 5vw, 56px) var(--pad) 0;
}

.btns--end {
  padding-bottom: clamp(64px, 8vw, 110px);
}

/* --------------------------------------------------------------- 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: var(--header-bg);
  -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: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
  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;
  bottom: 2px;
  height: 1px;
  background: currentColor;
}

.nav a.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background: var(--dark);
  color: var(--white);
  transition: background-color 200ms ease;
}

.nav a.nav__cta:hover {
  background: var(--panel);
  color: var(--white);
}

.nav a.nav__cta::after {
  display: none;
}

.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 {
    opacity: 1 !important;
    transform: none;
    transition: none !important;
  }
  [data-reveal],
  [data-mask] > *,
  .menu__nav a {
    transform: none !important;
  }
  .drift,
  .hero__media.is-on img {
    animation: none;
  }
  .flip .l {
    animation: none;
    opacity: 1;
    transform: 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__slides {
  position: absolute;
  inset: 0;
  background: var(--photo-bg);
}

.hero__media {
  position: absolute;
  inset: 0;
  background: transparent;
  opacity: 0;
  transition: opacity 1400ms ease;
}

.hero__media.is-on {
  opacity: 1;
}

/* The first photograph is the largest paint: shown as it arrives. */
.hero__media img {
  opacity: 1;
  transform: scale(1.02);
}

.hero__media.is-on img {
  animation: rp-drift 9s cubic-bezier(0.3, 0.1, 0.3, 1) both;
}

/* The current project, top right under the menu, with a line that fills until the next. */
.hero__tag {
  position: absolute;
  right: var(--pad);
  top: calc(var(--header) + 8px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  min-width: 190px;
  color: var(--ink);
}

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

.hero__name {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.2;
}

.hero__bar {
  position: relative;
  width: 100%;
  height: 1px;
  margin-top: 8px;
  background: rgba(29, 43, 48, 0.2);
  overflow: hidden;
}

.hero__bar span {
  position: absolute;
  inset: 0;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.hero__bar span.is-run {
  animation: rp-bar 5500ms linear both;
}

@keyframes rp-bar {
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 759.98px) {
  .hero__tag {
    top: calc(var(--header) + 8px);
    bottom: auto;
    min-width: 150px;
  }
  .hero__name {
    font-size: 18px;
  }
}

/* The photographs sit in one frame that fills the hero. */
.hero__frame {
  position: absolute;
  inset: 0;
}

.hero__sub {
  max-width: 44ch;
  margin-top: clamp(14px, 1.6vw, 22px);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: var(--ink);
}

/* Headline letters turning in, one after another. */
.flip .w {
  display: inline-block;
  white-space: nowrap;
}

.flip .l {
  display: inline-block;
  opacity: 0;
  transform: translateX(0.18em) rotateY(90deg);
  animation: rp-flip 900ms var(--ease) both;
  animation-delay: calc(240ms + var(--i) * 34ms);
}

@keyframes rp-flip {
  to {
    opacity: 1;
    transform: none;
  }
}

.rp-static .flip .l {
  animation: none;
  opacity: 1;
  transform: none;
}

/* Mist along the bottom edge only, under the centred headline, and a
   little at the top for the nav. The photograph above stays clear. */
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(239, 241, 240, 0.96) 0%, rgba(239, 241, 240, 0.9) 22%, rgba(239, 241, 240, 0.5) 34%, rgba(239, 241, 240, 0) 44%),
    linear-gradient(180deg, rgba(239, 241, 240, 0.82) 0, rgba(239, 241, 240, 0) 150px);
  pointer-events: none;
}

.hero__text {
  position: absolute;
  z-index: 2;
  left: var(--pad);
  right: var(--pad);
  bottom: clamp(32px, 5vw, 64px);
  text-align: center;
}

.hero__sub {
  margin-left: auto;
  margin-right: auto;
}

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

.hero__title {
  font-size: clamp(36px, 4.6vw, 66px);
  line-height: 1.06;
  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.92) 34%, rgba(239, 241, 240, 0.4) 50%, rgba(239, 241, 240, 0) 60%),
      linear-gradient(180deg, rgba(239, 241, 240, 0.82) 0, rgba(239, 241, 240, 0) 120px);
  }
  .hero__text {
    bottom: 28px;
  }
}


/* -------------------------------------------- studio: photograph + text */

.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 40px clamp(40px, 7vw, 120px);
  padding: clamp(88px, 11vw, 160px) var(--pad);
}

.about__title {
  margin-top: 16px;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.15;
}

.about__body {
  max-width: 46ch;
  margin: 22px 0 28px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--body);
}

.about__media {
  display: block;
  color: var(--ink);
}

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

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

.about__cap {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* The Studio page: the photograph beside the story, nothing laid over it. */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: 40px clamp(40px, 6vw, 96px);
  padding: clamp(40px, 6vw, 80px) var(--pad) 0;
}

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

.feature__title {
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.15;
}

.feature__body {
  max-width: 54ch;
  margin: 20px 0 0;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--body);
}

@media (max-width: 859.98px) {
  .about,
  .feature {
    grid-template-columns: minmax(0, 1fr);
  }
  .about__media {
    order: -1;
  }
}

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

.sechead {
  margin: 0 var(--pad);
  padding: 22px 0 clamp(32px, 4vw, 52px);
  border-top: 1px solid var(--line);
}

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

.sechead__title {
  max-width: 20ch;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.005em;
}

/* --------------------------------------------------------------- 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: 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  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: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
}

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

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

/* ---------------------------------------------------- commercial index */

.ix {
  padding: clamp(40px, 6vw, 80px) 0 clamp(88px, 11vw, 150px);
  background: var(--stone-2);
}

.ix__body {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 80px);
  padding: 0 var(--pad);
}

.ix__list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.ix__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: color 200ms ease, padding 300ms var(--ease);
}

.ix__thumb {
  display: none;
}

.ix__title {
  font-family: var(--display);
  font-size: clamp(20px, 1.9vw, 27px);
  line-height: 1.2;
}

.ix__kind {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.ix__row .ico {
  width: 14px;
  height: 14px;
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity 200ms ease, transform 300ms var(--ease);
}

.ix__row.is-on,
.ix__row:hover {
  color: var(--panel);
  padding-left: 12px;
}

.ix__row.is-on .ico,
.ix__row:hover .ico {
  opacity: 1;
  transform: none;
}

.ix__preview {
  position: sticky;
  top: calc(var(--header) + 24px);
  align-self: start;
  aspect-ratio: 4 / 3;
  background: var(--photo-bg);
  overflow: hidden;
}

.ix__shot {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 500ms ease;
}

.ix__shot.is-on {
  opacity: 1;
}

.ix__foot {
  margin-top: clamp(28px, 3vw, 40px);
  padding: 0 var(--pad);
}

@media (max-width: 859.98px) {
  .ix__body {
    grid-template-columns: minmax(0, 1fr);
  }
  .ix__preview {
    display: none;
  }
  .ix__row {
    grid-template-columns: 88px minmax(0, 1fr) auto;
    padding: 12px 0;
  }
  .ix__thumb {
    display: block;
    grid-row: span 2;
    aspect-ratio: 4 / 3;
  }
  .ix__title {
    font-size: 22px;
  }
  .ix__kind {
    grid-column: 2;
  }
  .ix__row .ico {
    grid-column: 3;
    grid-row: 1 / span 2;
    opacity: 1;
    transform: none;
  }
  .ix__row.is-on,
  .ix__row:hover {
    padding-left: 0;
    color: var(--ink);
  }
}

/* ------------------------------------------------------- client logos */

.clients {
  margin: clamp(56px, 7vw, 96px) var(--pad) 0;
}

.clients__label {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-ink);
}

.clients__row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  /* The 1px gaps show this colour: fine lines between cells, for any count. */
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.clients__row li {
  background: var(--stone-2);
}

.clients__row a,
.clients__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(96px, 9vw, 132px);
  padding: 16px;
  opacity: 0.6;
  filter: grayscale(1);
  transition: opacity 250ms ease, background-color 250ms ease;
}

.clients__row a:hover,
.clients__row a:focus-visible {
  opacity: 1;
  background: var(--stone);
}

.clients__row img {
  max-width: 78%;
  max-height: 46px;
  width: auto;
  height: auto;
}

@media (max-width: 759.98px) {
  .clients__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .clients__row img {
    max-height: 34px;
  }
}

/* --------------------------------------------- residential on deep teal */

.homes {
  padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 140px);
  background: var(--dark);
  color: var(--white);
}

.homes .sechead {
  border-top-color: rgba(255, 255, 255, 0.24);
}

.homes .sechead__title,
.homes .card,
.homes .card:hover,
.homes .card__kind,
.homes .link {
  color: var(--white);
}

.homes .sechead__title b {
  color: var(--on-dark-accent);
}

.homes .fig {
  background: var(--photo-bg-dark);
}

.homes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px) clamp(16px, 2vw, 28px);
  padding: 0 var(--pad);
}

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

@media (max-width: 559.98px) {
  .homes__grid {
    gap: 28px 14px;
  }
  .homes .card__title {
    font-size: 20px;
  }
  .homes .card__more {
    display: none;
  }
}

/* ---------------------------------------------------------------- reel */

.reel__view {
  overflow: hidden;
  padding-left: var(--pad);
}

.reel__track {
  display: flex;
  gap: clamp(14px, 1.6vw, 24px);
  margin: 0;
  transition: transform 800ms var(--ease);
}

.reel__slide {
  flex: none;
  width: min(72vw, 1040px);
}

.reel__item {
  display: block;
  color: var(--white);
}

.reel__item .fig {
  aspect-ratio: 16 / 9;
}

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

.reel__name {
  display: block;
  margin-top: 14px;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.2;
}

.reel__ctrl {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: clamp(24px, 3vw, 36px) var(--pad) 0;
}

.reel__line {
  position: relative;
  flex: 1;
  max-width: 420px;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.reel__line span {
  position: absolute;
  inset: 0;
  background: var(--white);
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform 800ms var(--ease);
}

.reel__btn {
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.reel__btn:hover:not(:disabled) {
  border-bottom-color: var(--white);
}

.reel__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

@media (max-width: 759.98px) {
  .reel__slide {
    width: 86vw;
  }
  .reel__item .fig {
    aspect-ratio: 4 / 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reel__track,
  .reel__line span {
    transition: none;
  }
}

/* ------------------------------------------------------------ quotes */

.words {
  padding: clamp(40px, 6vw, 80px) 0 clamp(88px, 11vw, 150px);
  background: var(--stone-2);
}

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

.quote {
  margin: 0;
  padding-left: clamp(20px, 2.4vw, 32px);
  border-left: 1px solid var(--sage);
}

.quote blockquote p {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.5;
  color: var(--ink);
}

.quote figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 22px;
}

.quote__by {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.quote__where {
  font-size: 13px;
  color: var(--muted);
}

/* A single quotation on inner pages. */
.words--one {
  padding: clamp(72px, 9vw, 130px) var(--pad);
}

.words--one .quote {
  max-width: 900px;
}

.words--one .quote blockquote p {
  font-size: clamp(21px, 2vw, 28px);
}

@media (max-width: 859.98px) {
  .words__row {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

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

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

.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);
}

/* --------------------------------------------------- start a project */

.talk {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 48px clamp(40px, 7vw, 120px);
  padding: clamp(80px, 10vw, 140px) var(--pad);
  background: var(--dark);
  color: var(--white);
}

.talk__title {
  margin: 14px 0 18px;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.08;
}

.talk__title b {
  color: var(--on-dark-accent);
}

.talk__line {
  max-width: 34ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--on-dark-soft);
}

.talk__direct {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 32px 0 0;
  font-size: 15.5px;
  color: var(--on-dark-soft);
}

.talk__direct a {
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.talk__direct a:hover {
  border-bottom-color: var(--white);
}

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

.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: minmax(0, 1fr);
  }
}

/* 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: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px 22px;
}

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

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

.field__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  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: 400;
  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;
}

/* ----------------------------------------------------------- photo wall */

.wall {
  padding: clamp(80px, 10vw, 140px) 0 clamp(80px, 10vw, 130px);
}

.wall__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 15vw, 240px);
  grid-auto-flow: dense;
  gap: 12px;
  padding: 0 var(--pad);
}

.wall__item {
  position: relative;
  display: block;
  overflow: hidden;
  color: var(--white);
}

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

.wall__item--big {
  grid-column: span 6;
  grid-row: span 2;
}

.wall__item--tall {
  grid-column: span 3;
  grid-row: span 2;
}

.wall__item--wide {
  grid-column: span 4;
}

.wall__item--sq {
  grid-column: span 3;
}

.wall__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(14, 30, 35, 0.62) 0%, rgba(14, 30, 35, 0) 46%);
  opacity: 0;
  transition: opacity 320ms ease;
}

.wall__name {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 1;
  font-family: var(--display);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.15;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 320ms ease, transform 420ms var(--ease);
}

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

.wall__item:hover .fig img {
  transform: scale(1.04);
}

.wall__item:hover::after,
.wall__item:focus-visible::after,
.wall__item:hover .wall__name,
.wall__item:focus-visible .wall__name {
  opacity: 1;
  transform: none;
}

/* Touch screens have no hover: names always shown, quietly. */
@media (hover: none) {
  .wall__item::after,
  .wall__name {
    opacity: 1;
    transform: none;
  }
  .wall__name {
    font-size: 17px;
    left: 12px;
    bottom: 10px;
  }
}

@media (max-width: 759.98px) {
  .wall__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 44vw;
    gap: 8px;
  }
  .wall__item--big,
  .wall__item--wide {
    grid-column: span 2;
    grid-row: span 1;
  }
  .wall__item--tall {
    grid-column: span 1;
    grid-row: span 2;
  }
  .wall__item--sq {
    grid-column: span 1;
  }
}

/* ------------------------------------------------------ approach tiles */

.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px) clamp(16px, 2vw, 28px);
  max-width: 1320px;
  margin: 0 auto;
}

.tile {
  margin: 0;
}

.tile__media {
  aspect-ratio: 4 / 5;
}

.tile figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 18px;
}

.tile__title {
  font-family: var(--display);
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.1;
}

.tile__line {
  font-size: 15px;
  color: var(--body);
}

@media (max-width: 859.98px) {
  .tiles {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .tile__media {
    aspect-ratio: 4 / 3;
  }
}

/* ------------------------------------------------- services, pictured */

.svcpics {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 7vw, 104px);
  padding: 0 var(--pad) clamp(80px, 10vw, 130px);
}

.svcpic {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.svcpic--flip .svcpic__media {
  order: 2;
}

.svcpic__media {
  aspect-ratio: 3 / 2;
}

.svcpic__text h2 {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.1;
}

.svcpic__text p {
  max-width: 38ch;
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--body);
}

@media (max-width: 859.98px) {
  .svcpic {
    grid-template-columns: minmax(0, 1fr);
  }
  .svcpic--flip .svcpic__media {
    order: 0;
  }
}

.feature__body--one {
  font-family: var(--display);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.35;
}

.link--light {
  margin-top: 24px;
  color: var(--white);
}

.link--light:hover {
  color: var(--white);
  opacity: 0.8;
}

/* ------------------------------------------------------- process tiles */

.pillars--process {
  padding-top: 0;
}

.pillars--process .tiles {
  row-gap: clamp(40px, 5vw, 64px);
}

.tile--step {
  position: relative;
}

.tile__n {
  position: absolute;
  left: 16px;
  top: 14px;
  padding: 6px 10px;
  background: var(--panel);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
}

/* ---------------------------------------------------------- photo viewer */

.is-zoomable {
  cursor: zoom-in;
}

.is-zoomable:focus-visible {
  outline: 2px solid var(--panel);
  outline-offset: 3px;
}

.viewer {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(16, 32, 37, 0.96);
  color: var(--white);
  overflow: hidden;
}

.viewer::backdrop {
  background: rgba(16, 32, 37, 0.6);
}

.viewer[open] {
  animation: rp-fade 260ms ease both;
}

@keyframes rp-fade {
  from {
    opacity: 0;
  }
}

.viewer__stage {
  position: absolute;
  inset: 56px clamp(12px, 6vw, 96px);
  display: grid;
  place-items: center;
}

.viewer__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.viewer__count {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
}

.viewer__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(16, 32, 37, 0.4);
  color: var(--white);
  cursor: pointer;
}

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

.viewer__btn svg {
  width: 18px;
  height: 18px;
}

.viewer__close {
  top: 8px;
  right: 8px;
  border: 0;
}

.viewer__close span {
  position: absolute;
  width: 22px;
  height: 1px;
  background: currentColor;
  transform: rotate(45deg);
}

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

.viewer__prev,
.viewer__next {
  top: 50%;
  margin-top: -24px;
}

.viewer__prev {
  left: clamp(8px, 2vw, 28px);
}

.viewer__next {
  right: clamp(8px, 2vw, 28px);
}

@media (max-width: 599.98px) {
  .viewer__prev,
  .viewer__next {
    top: auto;
    bottom: 6px;
    margin: 0;
  }
  .viewer__stage {
    inset: 56px 8px 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .viewer[open] {
    animation: none;
  }
}

/* ------------------------------------------------------ brand statement */

/* A sage band, with Rivky's R mark large and faint at the right. */
.statement {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 11vw, 160px) var(--pad);
  background: var(--panel);
  color: var(--white);
}

.statement__mark {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.09);
  pointer-events: none;
}

.statement__mark .logo {
  height: clamp(320px, 48vw, 680px);
}

.statement__inner {
  position: relative;
}

.statement__eyebrow {
  margin-bottom: 22px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

.statement__text {
  max-width: 20ch;
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--white);
}

.statement__text b,
.statement__text strong {
  font-weight: inherit;
  font-style: italic;
  color: var(--on-dark-soft);
}

/* ------------------------------------------------------ process extras */

.tile__sub {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dark);
}

.promise {
  padding: clamp(72px, 9vw, 130px) var(--pad);
  background: var(--stone);
}

.promise__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  max-width: 1320px;
  margin: 0 auto;
}

.promise__item h3 {
  padding-top: 18px;
  border-top: 1px solid var(--panel);
  font-family: var(--display);
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.15;
}

.promise__item p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
}

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

@media (max-width: 599.98px) {
  .promise__row {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --------------------------------------------- studio: mission, vision */

.mv {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 96px);
  padding: clamp(72px, 9vw, 130px) var(--pad) 0;
}

.mv__text {
  margin-top: 14px;
  font-family: var(--display);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.3;
}

@media (max-width: 759.98px) {
  .mv {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

/* Instagram: a line of words, then the photographs edge to edge. */
.ig {
  background: var(--stone);
}

.ig__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding: clamp(28px, 3.4vw, 44px) var(--pad) clamp(16px, 2vw, 24px);
}

.ig__handle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 28px);
  color: var(--ink);
}

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

.ico--ig {
  width: 22px;
  height: 22px;
}

.ig__line {
  font-size: 14px;
  color: var(--muted);
}

.ig__strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 2px;
}

.ig__item {
  display: block;
  overflow: hidden;
}

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

.ig__item .fig img {
  transition: transform 900ms var(--ease), filter 400ms ease;
}

.ig__item:hover .fig img {
  transform: scale(1.06);
  filter: brightness(1.06);
}

@media (max-width: 759.98px) {
  .ig__strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* The studio on deep teal: the mark large, the tagline beside it. */
.ftr {
  background: var(--dark);
  color: var(--white);
  padding: clamp(64px, 8vw, 110px) var(--pad) 28px;
}

.ftr__main {
  display: grid;
  grid-template-columns: auto minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.8fr);
  align-items: start;
  gap: 40px clamp(32px, 4.4vw, 72px);
}

.ftr__mark {
  display: inline-flex;
  color: var(--on-dark-accent);
}

.ftr__mark .logo {
  height: clamp(72px, 7vw, 104px);
}

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

.ftr__tagline {
  max-width: 14ch;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.12;
}

.ftr__direct {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-size: 16px;
}

.ftr__direct a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.ftr__direct a:hover {
  border-bottom-color: var(--white);
}

.ftr__small {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--on-dark-muted);
}

.ftr__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  font-size: 15px;
}

.ftr__nav a {
  color: var(--on-dark-soft);
}

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

.ftr__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12.5px;
  color: var(--on-dark-muted);
}

@media (max-width: 999.98px) {
  .ftr__main {
    grid-template-columns: auto minmax(0, 1fr);
  }
}

@media (max-width: 559.98px) {
  .ftr__main {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

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

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

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

.phead__title {
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.01em;
}

.phead__sub {
  max-width: 50ch;
  margin: 18px 0 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: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  padding: 0 var(--pad);
}

.panel {
  display: block;
  color: var(--ink);
}

.panel .fig {
  height: 56vh;
}

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

.panel__text {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 0 0;
  border-bottom: 1px solid var(--line);
}

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

.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: minmax(0, 1fr);
  }
  .panel .fig {
    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: minmax(0, 1fr);
  }
}

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

.callout {
  margin-top: clamp(80px, 10vw, 140px);
  padding: clamp(72px, 9vw, 120px) var(--pad);
  background: var(--dark);
  color: var(--white);
}

.callout .eyebrow {
  color: var(--on-dark-accent);
}

.callout__title b {
  color: var(--on-dark-accent);
}

.callout__line a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.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: flex-start;
  gap: 6px 14px;
  margin-top: 18px;
  font-size: 15.5px;
  color: var(--on-dark-soft);
}

.callout .btns {
  padding: 32px 0 0;
}

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

.dhero {
  height: calc(80svh - var(--header));
  min-height: 340px;
  margin: 0 var(--pad);
}

/* The title on the stone ground, above the photograph. */
.dcard {
  padding: clamp(40px, 6vw, 88px) var(--pad) clamp(28px, 3.5vw, 48px);
}

.dcard .back {
  display: inline-block;
  margin-bottom: 18px;
}

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

.dcard__title {
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.08;
}

.dcard__hook {
  max-width: 52ch;
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.facts dt {
  font-size: 12px;
  font-weight: 500;
  color: var(--sage-ink);
  letter-spacing: 0.1em;
  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: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

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

.next {
  display: block;
  margin: clamp(64px, 8vw, 112px) var(--pad) 0;
  color: var(--ink);
}

.next .fig {
  height: clamp(280px, 40vw, 520px);
}

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

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

.next__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 0 0;
}

.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: minmax(0, 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 */

.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;
  padding: clamp(72px, 9vw, 120px) var(--pad) 0;
  font-size: 15.5px;
}

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

@media (max-width: 699.98px) {
  .where {
    grid-template-columns: minmax(0, 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: minmax(0, 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);
}



/* The Instagram strip sits outside #main, where core.js does not fade images in. */
.ig .fig img {
  opacity: 1;
}
