:root {
  /* Studio surfaces */
  --dp-ink: #181818;
  --dp-ink-soft: #292929;
  --dp-ink-hover: #333;
  --dp-stone: #5d5d5a;
  --dp-paper: #fff;
  --dp-linen: #f1f1ef;
  --dp-line: rgba(24, 24, 24, 0.18);
  --dp-line-strong: rgba(24, 24, 24, 0.32);
  --dp-line-light: rgba(255, 255, 255, 0.22);

  /* Ink stays the structural action colour: rules, links, secondary controls. */
  --dp-accent: var(--dp-ink);
  --dp-accent-hover: var(--dp-ink-hover);
  /* Supporting text on ink surfaces. */
  --dp-accent-bright: rgba(255, 255, 255, 0.62);

  /* Design Plus brass. Reserved for the primary action, section rules, key
     numerals, active state, focus ring and the logo — never a large wash.
     Labels on brass are ink (7.4:1); brass text on white uses the deep step. */
  --dp-brass: #b98a2e;
  --dp-brass-bright: #d4aa52;
  --dp-brass-deep: #8a6118;
  --dp-brass-hover: #a5761f;
  --dp-on-brass: #181818;

  --dp-shell-max: 1160px;
  --dp-reading-max: 720px;
  --dp-gutter: clamp(20px, 4vw, 48px);
  --dp-shell: min(var(--dp-shell-max), calc(100vw - (2 * var(--dp-gutter))));
  --dp-sans: Montserrat, "Avenir Next", "Segoe UI", sans-serif;
  /* Retired: the studio system runs on one family. Alias kept so no rule breaks. */
  --dp-serif: var(--dp-sans);
  --dp-header-height: 96px;
  --dp-radius: 7px;

  /* One vertical rhythm for every public section. */
  --dp-micro: 0.66rem;
  --dp-meta: 0.74rem;
  --dp-section: clamp(48px, 4.8vw, 76px);
  --dp-section-tight: clamp(32px, 3vw, 48px);
  --dp-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--dp-paper);
  color: var(--dp-ink);
  font-family: var(--dp-sans);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

p,
h1,
h2,
h3,
h4 {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  letter-spacing: -0.035em;
  line-height: 1.08;
}

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

:focus-visible {
  outline: 3px solid var(--dp-brass-bright);
  outline-offset: 4px;
}

.site-shell,
.content-shell {
  width: var(--dp-shell);
  margin-inline: auto;
}

.content-shell--wide {
  width: var(--dp-shell);
}

.section-pad {
  padding-block: var(--dp-section);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
  top: 16px;
  left: 16px;
  z-index: 10000;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  background: var(--dp-paper);
  color: var(--dp-ink);
  white-space: normal;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: #181818;
  font-size: var(--dp-meta);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-transform: none;
}

.eyebrow::before {
  width: 30px;
  height: 2px;
  content: "";
  background: var(--dp-brass);
}

.eyebrow--light {
  color: var(--dp-accent-bright);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--dp-radius);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--small {
  min-height: 42px;
  padding: 11px 20px;
}

.button--solid {
  background: var(--dp-brass);
  color: var(--dp-on-brass);
}

.button--solid:hover {
  background: var(--dp-brass-hover);
  color: var(--dp-on-brass);
}

.button--light {
  border-color: rgba(255, 255, 255, 0.55);
  background: #fff;
  color: var(--dp-ink);
}

.button--light:hover {
  background: var(--dp-linen);
  border-color: var(--dp-linen);
}

.button--outline {
  border-color: var(--dp-ink);
  color: var(--dp-ink);
}

.button--outline:hover {
  background: var(--dp-ink);
  color: #fff;
}

.button--ghost-light {
  border-color: rgba(255, 255, 255, 0.52);
  color: #fff;
}

.button--ghost-light:hover {
  border-color: #fff;
  background: #fff;
  color: var(--dp-ink);
}

.arrow-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--dp-ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.arrow-link span,
.button span,
.service-panel > a span,
.project-type-links span {
  transition: transform 180ms ease;
}

.arrow-link:hover span,
.button:hover span,
.service-panel > a:hover span,
.project-type-links a:hover span {
  transform: translate(3px, -3px);
}

/* Header */
.site-header {
  position: relative;
  z-index: 100;
  border-bottom: 1px solid var(--dp-line);
  background: var(--dp-paper);
}

.site-header .header-actions .button {
  min-height: 46px;
  padding-inline: 22px;
  font-size: var(--dp-meta);
}

.site-header .header-actions .button--solid {
  border-color: var(--dp-brass);
  background: var(--dp-brass);
  color: var(--dp-on-brass);
}

.site-header .header-actions .button--solid:hover {
  border-color: var(--dp-brass-hover);
  background: var(--dp-brass-hover);
}

/* Sign In stays reachable, but as a quiet route rather than a second control. */
.header-sign-in,
.header-sign-in:hover {
  min-height: 46px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--dp-ink);
  transform: none;
}

.header-sign-in {
  position: relative;
}

.header-sign-in::after {
  position: absolute;
  right: 0;
  bottom: 12px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--dp-ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.header-sign-in:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-main {
  display: grid;
  min-height: var(--dp-header-height);
  align-items: center;
  grid-template-columns: 210px minmax(0, 1fr);
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 11px;
}

.brand .custom-logo-link {
  display: block;
  line-height: 0;
}

.brand .custom-logo {
  width: auto;
  max-width: 160px;
  height: 52px;
  object-fit: contain;
}

.brand__mark {
  position: relative;
  display: inline-flex;
  width: 46px;
  height: 48px;
  color: var(--dp-brass);
  font-family: var(--dp-serif);
  font-size: 2rem;
  font-style: italic;
  line-height: 1;
}

.brand__mark::before,
.brand__mark::after {
  position: absolute;
  content: "";
  background: currentColor;
  opacity: 0.68;
}

.brand__mark::before {
  top: 4px;
  bottom: 4px;
  left: 22px;
  width: 1px;
}

.brand__mark::after {
  right: 2px;
  bottom: 8px;
  left: 5px;
  height: 1px;
}

.brand__mark span:first-child {
  position: absolute;
  top: 4px;
  left: 0;
}

.brand__mark span:last-child {
  position: absolute;
  right: 0;
  bottom: 1px;
}

.brand__name {
  font-size: var(--dp-meta);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.header-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(28px, 4vw, 64px);
}

.menu,
.primary-nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.menu--primary {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2vw, 34px);
}

.menu--primary a {
  position: relative;
  display: block;
  padding-block: calc((var(--dp-header-height) - 20px) / 2);
  color: var(--dp-ink);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.menu--primary a::after {
  position: absolute;
  right: 0;
  bottom: calc((var(--dp-header-height) - 20px) / 2 - 10px);
  left: 0;
  height: 1px;
  content: "";
  background: var(--dp-ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.menu--primary a:hover::after,
.menu--primary .current-menu-item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.text-link {
  font-size: var(--dp-meta);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.menu-toggle {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: min(720px, calc(100svh - 118px));
  align-items: center;
  overflow: hidden;
  background: #2d2d2d;
  color: #fff;
  isolation: isolate;
}

.hero__art,
.hero__shade {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  animation: hero-settle 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 12, 12, 0.92) 0%, rgba(12, 12, 12, 0.67) 40%, rgba(12, 12, 12, 0.12) 76%),
    linear-gradient(0deg, rgba(12, 12, 12, 0.58) 0%, transparent 44%);
}

.hero__inner {
  padding-block: 80px 96px;
}

.hero h1 {
  max-width: 800px;
  margin-bottom: 26px;
  font-size: clamp(3.2rem, 6.8vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.91;
}

.hero h1 em {
  color: var(--dp-accent-bright);
  font-family: var(--dp-serif);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.hero__intro {
  max-width: 620px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@keyframes hero-settle {
  from { opacity: 0; transform: scale(1.08); }
  to { opacity: 1; transform: scale(1.02); }
}

/* Property-type navigation */
.project-type-band {
  border-bottom: 1px solid var(--dp-line);
  background: var(--dp-paper);
}

.project-type-band__inner {
  display: grid;
  min-height: 118px;
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  grid-template-columns: minmax(190px, 0.7fr) 2fr;
}

.project-type-band h2 {
  margin: 0;
  font-family: var(--dp-serif);
  font-size: clamp(1.12rem, 1.8vw, 1.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.project-type-links {
  display: grid;
  border-left: 1px solid var(--dp-line);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project-type-links a {
  display: inline-flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-inline: clamp(16px, 2.4vw, 34px);
  border-right: 1px solid var(--dp-line);
  font-size: var(--dp-meta);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.project-type-links a:hover {
  background: var(--dp-ink);
  color: #fff;
}

/* Section headings */
.section-heading {
  margin-bottom: clamp(46px, 6vw, 78px);
}

.section-heading--split {
  display: grid;
  align-items: end;
  gap: 80px;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
}

.section-heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 500;
}

.section-heading > p {
  max-width: 460px;
  margin: 0;
  color: var(--dp-stone);
}

.section-heading__support {
  display: grid;
  justify-items: start;
  gap: 24px;
}

.section-heading__support p {
  max-width: 460px;
  margin: 0;
  color: var(--dp-stone);
}

/* Projects */
.project-section {
  background: var(--dp-paper);
}

.project-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card__media {
  position: relative;
  display: block;
  aspect-ratio: 0.8;
  overflow: hidden;
  background: #d6d6d2;
}

.project-card__media::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.38);
  content: "";
  inset: 16px;
  pointer-events: none;
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-card:hover .project-card__media img {
  transform: scale(1.035);
}

.project-card__placeholder {
  position: absolute;
  display: block;
  background:
    linear-gradient(90deg, transparent 54%, rgba(255, 255, 255, 0.72) 54%, rgba(255, 255, 255, 0.72) 55%, transparent 55%),
    linear-gradient(0deg, rgba(24, 24, 24, 0.36) 0 18%, transparent 18%),
    linear-gradient(130deg, #c2c2bd 0 36%, #e4e4e0 36% 68%, #767672 68%);
  inset: 0;
}

.project-card--sample-2 .project-card__placeholder {
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.9) 0 4%, transparent 4.5%),
    linear-gradient(90deg, transparent 23%, rgba(25, 26, 25, 0.8) 23% 24%, transparent 24%),
    linear-gradient(0deg, #3b3b38 0 22%, transparent 22%),
    linear-gradient(145deg, #93938e 0 44%, #d6d6d2 44% 72%, #494946 72%);
}

.project-card--sample-3 .project-card__placeholder {
  background:
    linear-gradient(90deg, transparent 68%, rgba(255, 255, 255, 0.62) 68% 69%, transparent 69%),
    linear-gradient(0deg, #8f8f8a 0 20%, transparent 20%),
    linear-gradient(115deg, #cfcfca 0 40%, #eaeae7 40% 66%, #767672 66%);
}

.project-card__meta {
  padding-top: 22px;
}

.project-card__meta p {
  margin-bottom: 7px;
  color: #181818;
  font-size: var(--dp-micro);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

.project-card__meta h2,
.project-card__meta h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 500;
}

/* Services */
.services-section {
  background: var(--dp-linen);
}

.service-grid {
  display: grid;
  gap: 1px;
  background: var(--dp-line);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-panel {
  position: relative;
  display: grid;
  min-height: 560px;
  align-content: space-between;
  gap: 52px;
  padding: clamp(34px, 5vw, 70px);
  overflow: hidden;
  background: var(--dp-paper);
}

.service-panel--commercial {
  background: #d6d6d2;
}

.service-panel::after {
  position: absolute;
  width: 320px;
  height: 320px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.1;
  pointer-events: none;
  inset: -160px -130px auto auto;
}

.service-panel > * {
  position: relative;
  z-index: 1;
}

.service-panel__heading h3 {
  max-width: 460px;
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 4.4vw, 4.4rem);
  font-weight: 500;
}

.service-panel__heading p {
  max-width: 560px;
  margin: 0;
  color: #4a4a46;
}

.service-panel ul {
  display: grid;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--dp-line);
  list-style: none;
}

.service-panel li {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--dp-line);
  font-size: 0.82rem;
  font-weight: 650;
}

.service-panel li::after {
  color: #181818;
  content: "+";
  font-family: var(--dp-serif);
  font-size: 1.12rem;
  font-weight: 400;
}

.service-panel > a {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  gap: 16px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: var(--dp-meta);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

/* Process */
.process-section {
  background: var(--dp-ink);
  color: #fff;
}

.section-heading--light > p,
.section-heading--light .section-heading__support p {
  color: rgba(255, 255, 255, 0.68);
}

.process-list {
  display: grid;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-list li {
  min-height: 310px;
  padding: 34px clamp(24px, 3vw, 42px) 38px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.process-list li + li {
  padding-left: clamp(24px, 3vw, 42px);
}

.process-list li:last-child {
  padding-right: 0;
  border-right: 0;
}

.process-list span {
  display: block;
  margin-bottom: 66px;
  color: var(--dp-accent-bright);
  font-family: var(--dp-serif);
  font-size: 0.82rem;
  font-style: italic;
}

.process-list h3 {
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 500;
}

.process-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
  line-height: 1.65;
}

.process-section__action {
  margin-top: 46px;
}

/* Brief */
.brief-section {
  background: var(--dp-linen);
}

.brief-grid {
  display: grid;
  align-items: center;
  gap: clamp(70px, 10vw, 150px);
  grid-template-columns: 1.15fr 0.85fr;
}

.brief-figure {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  border: 1px solid var(--dp-line);
  background: var(--dp-paper);
}

.brief-figure__circle {
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid var(--dp-accent);
  border-radius: 50%;
  inset: 75px auto auto 55px;
}

.brief-figure__line {
  position: absolute;
  width: 1px;
  background: var(--dp-ink);
  inset: 0 auto 0 46%;
  transform: rotate(31deg);
}

.brief-figure strong {
  position: absolute;
  right: 24px;
  bottom: 16px;
  color: var(--dp-accent);
  font-family: var(--dp-serif);
  font-size: 6rem;
  font-weight: 400;
  line-height: 0.8;
}

.brief-copy h2 {
  max-width: 720px;
  margin-bottom: 30px;
  font-size: clamp(2.8rem, 5.4vw, 5.6rem);
  font-weight: 500;
}

.brief-copy > p:not(.eyebrow) {
  max-width: 660px;
  margin-bottom: 38px;
  color: var(--dp-stone);
  font-size: 1rem;
}

.brief-points {
  display: grid;
  max-width: 760px;
  margin: 40px 0 42px;
  border-top: 1px solid var(--dp-line);
}

.brief-points > div {
  display: grid;
  gap: 24px;
  padding-block: 22px;
  border-bottom: 1px solid var(--dp-line);
  grid-template-columns: minmax(150px, 0.55fr) 1fr;
}

.brief-points h3,
.brief-points p {
  margin: 0;
}

.brief-points h3 {
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brief-points p {
  color: var(--dp-stone);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Footer */
.site-footer {
  background: var(--dp-ink);
  color: #fff;
}

.footer-cta {
  display: grid;
  align-items: end;
  gap: 60px;
  padding-block: clamp(76px, 9vw, 124px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  grid-template-columns: 1fr auto;
}

.footer-cta h2 {
  max-width: 870px;
  margin: 0;
  font-family: var(--dp-serif);
  font-size: clamp(2.8rem, 5vw, 5.6rem);
  font-weight: 400;
}

.footer-grid {
  display: grid;
  gap: 80px;
  padding-block: 74px;
  grid-template-columns: minmax(320px, 1.6fr) 0.7fr 0.7fr;
}

.brand--footer {
  margin-bottom: 26px;
  color: #fff;
}

.footer-brand p {
  max-width: 450px;
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
}

.footer-column {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

.footer-column h3 {
  margin-bottom: 18px;
  color: var(--dp-accent-bright);
  font-size: var(--dp-meta);
  letter-spacing: 0.01em;
  text-transform: none;
}

.footer-column a {
  display: flex;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  transition: color 160ms ease, transform 160ms ease;
}

.footer-column a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.44);
  font-size: var(--dp-micro);
  letter-spacing: 0;
  text-transform: none;
}

.footer-base p {
  margin: 0;
}

/* Interior templates */
.archive-header,
.content-entry__header,
.project-entry__header {
  margin-bottom: clamp(54px, 8vw, 94px);
}

.archive-header h1,
.content-entry__header h1,
.project-entry__header h1 {
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 500;
}

.archive-header > p:last-child,
.project-entry__header > p:last-child {
  max-width: 680px;
  color: var(--dp-stone);
  font-size: 1.12rem;
}

.entry-list {
  border-top: 1px solid var(--dp-line);
}

.entry-card {
  padding-block: 42px;
  border-bottom: 1px solid var(--dp-line);
}

.entry-card__date {
  color: #181818;
  font-size: var(--dp-micro);
  letter-spacing: 0.01em;
  text-transform: none;
}

.entry-card h2 {
  font-size: clamp(1.75rem, 4vw, 3.2rem);
  font-weight: 500;
}

.entry-card p:last-child,
.entry-content {
  color: #454542;
}

.entry-content > * + * {
  margin-top: 1.5em;
}

:is(
  .content-entry .entry-content,
  .reference-page__editor-content,
  .editorial-article__body,
  .legal-page__editor-content
) > :where(p, ul, ol, blockquote, h2, h3, h4),
.entry-card > p:last-child {
  max-width: var(--dp-reading-max);
}

.entry-content h2,
.entry-content h3 {
  margin-top: 2.2em;
  color: var(--dp-ink);
}

.entry-content a {
  border-bottom: 1px solid var(--dp-accent);
  color: #181818;
}

.entry-content img {
  height: auto;
}

.content-entry__image,
.project-entry__hero {
  margin: 0 0 clamp(50px, 7vw, 90px);
}

.content-entry__image img,
.project-entry__hero img {
  width: 100%;
  height: auto;
}

.project-entry__header {
  padding-top: clamp(80px, 10vw, 140px);
}

.project-entry__hero {
  width: 100%;
  max-height: 78vh;
  overflow: hidden;
}

.project-entry__hero img {
  height: 78vh;
  object-fit: cover;
}

.project-grid--archive .project-card:nth-child(2) {
  margin-top: 0;
}

.not-found {
  display: grid;
  min-height: 72vh;
  align-items: center;
  background: var(--dp-linen);
}

.not-found__inner {
  padding-block: 100px;
}

.not-found h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 500;
}

.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.nav-links {
  display: flex;
  gap: 10px;
  margin-top: 48px;
}

.nav-links .page-numbers {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--dp-line);
}

.nav-links .current {
  background: var(--dp-ink);
  color: #fff;
}

/* Tablet */
@media (max-width: 1100px) {
  .utility-bar {
    display: none;
  }

  .header-main {
    min-height: 76px;
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: inline-flex;
    min-width: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border: 0;
    background: transparent;
    color: var(--dp-ink);
    cursor: pointer;
    font-size: var(--dp-micro);
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
  }

  .menu-toggle__lines {
    display: flex;
    width: 24px;
    flex-direction: column;
    gap: 6px;
  }

  .menu-toggle__lines span {
    width: 24px;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__lines span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__lines span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .header-navigation {
    position: absolute;
    top: var(--dp-header-height);
    right: 0;
    left: 0;
    display: grid;
    max-height: calc(100svh - var(--dp-header-height));
    padding: 28px 28px 36px;
    justify-content: stretch;
    justify-items: stretch;
    overflow-y: auto;
    background: var(--dp-paper);
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    visibility: hidden;
    transition: clip-path 240ms ease, opacity 180ms ease, transform 240ms ease, visibility 180ms ease;
  }

  .header-navigation.is-open {
    border-top: 1px solid var(--dp-line);
    box-shadow: 0 24px 60px rgba(24, 24, 24, 0.12);
    clip-path: inset(0);
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .menu--primary {
    display: grid;
    gap: 0;
  }

  .menu--primary a {
    padding-block: 16px;
    border-bottom: 1px solid var(--dp-line);
    font-size: 1.5rem;
    font-weight: 560;
    letter-spacing: -0.03em;
  }

  .menu--primary a::after {
    display: none;
  }

  .header-actions {
    margin-top: 24px;
  }

  .hero {
    min-height: 700px;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(12, 12, 12, 0.9) 0%, rgba(12, 12, 12, 0.5) 62%, rgba(12, 12, 12, 0.18) 100%),
      linear-gradient(0deg, rgba(12, 12, 12, 0.68), transparent 50%);
  }

  .section-heading--split {
    gap: 46px;
    grid-template-columns: 1fr 0.75fr;
  }

  .brief-grid {
    gap: 64px;
  }

  .brief-figure {
    min-height: 430px;
  }
}

@media (max-width: 960px) {
  .project-type-band__inner {
    gap: 20px;
    grid-template-columns: 1fr;
    padding-block: 28px;
  }

  .project-type-links {
    border-top: 1px solid var(--dp-line);
    border-left: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-type-links a:nth-child(odd) {
    border-left: 1px solid var(--dp-line);
  }

  .project-type-links a:nth-child(-n + 2) {
    border-bottom: 1px solid var(--dp-line);
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-panel {
    min-height: 0;
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list li,
  .process-list li + li {
    min-height: 280px;
    padding: 32px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .process-list li:nth-child(even) {
    border-right: 0;
  }

  .process-list li:nth-child(n + 3) {
    border-bottom: 0;
  }

  .brief-grid {
    grid-template-columns: 1fr;
  }

  .brief-figure {
    width: min(100%, 620px);
    min-height: 420px;
  }

  .brief-figure__circle {
    width: min(72vw, 360px);
    height: min(72vw, 360px);
  }
}

/* Mobile */
@media (max-width: 760px) {
  .section-pad {
    padding-block: 82px;
  }

  .header-main {
    min-height: 70px;
  }

  .header-navigation {
    top: 70px;
  }

  .brand__mark {
    width: 39px;
    height: 41px;
    font-size: 1.75rem;
  }

  .brand__mark::before {
    left: 19px;
  }

  .brand__name {
    font-size: var(--dp-micro);
  }

  .menu-toggle__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .menu-toggle {
    min-width: 44px;
    min-height: 44px;
    justify-content: flex-end;
  }

  .hero {
    min-height: 680px;
    align-items: end;
  }

  .hero__art img {
    width: 145%;
    max-width: none;
    margin-left: -45%;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(12, 12, 12, 0.8), rgba(12, 12, 12, 0.27)),
      linear-gradient(0deg, rgba(12, 12, 12, 0.94) 0%, rgba(12, 12, 12, 0.36) 72%);
  }

  .hero__inner {
    padding-block: 70px 54px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .hero__intro {
    font-size: 0.9rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .section-heading--split {
    display: block;
  }

  .section-heading--split > p,
  .section-heading--split > .arrow-link {
    margin-top: 26px;
  }

  .section-heading h2 {
    font-size: clamp(2.8rem, 13vw, 4.4rem);
  }

  .project-grid,
  .project-grid--archive {
    grid-template-columns: 1fr;
  }

  .project-card__media {
    aspect-ratio: 0.94;
  }

  .project-type-links a {
    gap: 10px;
    padding-inline: 12px;
    font-size: var(--dp-micro);
  }

  .service-panel {
    gap: 36px;
    padding: 36px 26px;
  }

  .service-panel__heading h3 {
    font-size: clamp(2.4rem, 12vw, 3.2rem);
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li,
  .process-list li + li,
  .process-list li:nth-child(n + 3) {
    min-height: 0;
    padding: 30px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .process-list li:last-child {
    border-bottom: 0;
  }

  .process-list span {
    margin-bottom: 34px;
  }

  .brief-figure {
    min-height: 360px;
  }

  .brief-figure__circle {
    width: 270px;
    height: 270px;
    top: 45px;
    left: 30px;
  }

  .brief-figure strong {
    font-size: 6rem;
  }

  .brief-points > div {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .footer-cta,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-cta {
    align-items: start;
    gap: 36px;
  }

  .footer-cta .button {
    width: 100%;
  }

  .footer-grid {
    gap: 46px;
  }

  .footer-column a {
    min-height: 44px;
    align-items: center;
  }

  .footer-base {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .project-entry__hero,
  .project-entry__hero img {
    height: 60vh;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: clamp(2.4rem, 13.5vw, 2.8rem);
  }

  .header-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* DesignPlus public-content homepage */
.brand__logo {
  display: block;
  width: 138px;
  height: auto;
}

.site-header {
  background: #fff;
}

.utility-bar {
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.02em;
  text-transform: none;
}

.utility-bar__inner {
  justify-content: flex-end;
  gap: 40px;
}

.utility-nav,
.utility-nav ul {
  gap: 30px;
}

.header-main {
  min-height: 80px;
  grid-template-columns: 190px 1fr;
}

.menu--primary a {
  padding-block: 29px;
  font-size: 0.9rem;
  font-weight: 500;
}

.header-navigation {
  gap: clamp(24px, 3vw, 50px);
}

.header-actions {
  gap: 10px;
}

.header-actions .button {
  min-height: 44px;
  padding-inline: 18px;
  border-radius: var(--dp-radius);
  letter-spacing: 0;
  text-transform: none;
}

.header-sign-in {
  border-color: var(--dp-accent);
  color: #181818;
}

.clone-home {
  background: #fff;
}

.clone-home h1,
.clone-home h2,
.clone-home h3 {
  letter-spacing: -0.025em;
}

.clone-home .button {
  border-radius: 0;
  letter-spacing: 0;
  text-transform: none;
}

.home-section {
  padding-block: clamp(76px, 8vw, 118px);
}

.home-section--compact {
  padding-block: clamp(46px, 5vw, 74px);
}

.home-section__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: clamp(38px, 5vw, 66px);
}

.home-section__heading > div {
  max-width: 850px;
}

.home-section__heading h2,
.start-smart h2,
.partners-section h2 {
  margin-bottom: 14px;
  font-size: clamp(2.4rem, 4.5vw, 4.4rem);
  font-weight: 600;
}

.home-section__heading p {
  max-width: 750px;
  margin: 0;
  color: var(--dp-stone);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.65;
}

.home-section__heading > a {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--dp-accent);
  color: #181818;
  font-size: 0.9rem;
  font-weight: 700;
}

.platform-hero {
  --hero-poster: none;
  position: relative;
  display: grid;
  min-height: min(720px, calc(100svh - 116px));
  align-items: center;
  overflow: hidden;
  background: #272727 var(--hero-poster) center / cover no-repeat;
  color: #fff;
  isolation: isolate;
}

.platform-hero__media,
.platform-hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.platform-hero__media {
  z-index: -2;
  object-fit: cover;
}

.platform-hero__overlay {
  z-index: -1;
  background: linear-gradient(76deg, rgba(0, 0, 0, 0.68) 15%, rgba(0, 0, 0, 0.16) 74%);
}

.platform-hero__content {
  padding-block: 70px;
}

.platform-hero h1 {
  max-width: 1000px;
  margin-bottom: 30px;
  font-size: clamp(3.2rem, 5vw, 5rem);
  font-weight: 600;
  line-height: 1.06;
  text-wrap: balance;
}

.platform-search {
  display: grid;
  width: min(720px, 100%);
  min-height: 60px;
  padding: 6px;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.2);
  grid-template-columns: minmax(0, 1fr) auto;
}

.platform-search input {
  min-width: 0;
  padding: 10px 16px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--dp-ink);
}

.platform-search input::placeholder {
  color: #6d6d69;
  opacity: 1;
}

.platform-search button {
  min-width: 104px;
  min-height: 48px;
  padding: 10px 20px;
  border: 0;
  border-radius: 0;
  background: var(--dp-accent);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  transition: background-color 180ms ease, transform 180ms ease;
}

.platform-search button:hover {
  background: #181818;
  transform: translateY(-1px);
}

.platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.platform-tags a {
  display: inline-flex;
  min-width: 118px;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 16px;
  border: 1px solid rgba(212, 170, 82, 0.92);
  border-radius: 0;
  background: rgba(18, 18, 18, 0.56);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 180ms ease, color 180ms ease;
}

.platform-tags a:hover {
  background: var(--dp-accent);
  color: #fff;
}

.trust-band {
  padding-block: 44px;
  border-bottom: 1px solid #e8e8e5;
  background: #fff;
}

.trust-grid {
  display: grid;
  gap: clamp(28px, 4vw, 68px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-item {
  display: grid;
  align-items: center;
  gap: 22px;
  grid-template-columns: 68px minmax(0, 1fr);
}

.trust-item img {
  width: 64px;
  max-height: 64px;
  object-fit: contain;
}

.trust-item h2 {
  margin-bottom: 6px;
  font-size: 1rem;
  font-weight: 650;
}

.trust-item p {
  margin: 0;
  color: var(--dp-stone);
  font-size: 0.82rem;
  line-height: 1.55;
}

.start-smart {
  padding-top: clamp(54px, 6vw, 88px);
}

.start-smart__surface {
  padding: clamp(28px, 5vw, 68px);
  border-radius: 0;
  background: #f1f1ef;
}

.start-smart h2 {
  margin-bottom: 34px;
}

.start-smart__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.start-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 14px 34px rgba(24, 24, 24, 0.1);
  flex-direction: column;
}

.start-card > img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.start-card__content {
  display: flex;
  align-items: flex-start;
  flex: 1;
  padding: 24px;
  flex-direction: column;
}

.start-card h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  font-weight: 650;
}

.start-card p {
  margin-bottom: 24px;
  color: #4f4f4b;
  font-size: 0.9rem;
  line-height: 1.6;
}

.start-card .button {
  min-height: 46px;
  margin-top: auto;
  padding: 12px 17px;
  font-size: 0.82rem;
}

.inspiration-section {
  padding-top: 40px;
}

.inspiration-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(4, 220px);
}

.inspiration-card {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  border-radius: 0;
  background: #e4e4e0;
}

.inspiration-card:nth-child(1) { grid-column: 1 / 7; grid-row: 1 / 3; }
.inspiration-card:nth-child(2) { grid-column: 7 / 10; grid-row: 1 / 2; }
.inspiration-card:nth-child(3) { grid-column: 10 / 13; grid-row: 1 / 3; }
.inspiration-card:nth-child(4) { grid-column: 7 / 10; grid-row: 2 / 4; }
.inspiration-card:nth-child(5) { grid-column: 1 / 4; grid-row: 3 / 5; }
.inspiration-card:nth-child(6) { grid-column: 4 / 7; grid-row: 3 / 4; }
.inspiration-card:nth-child(7) { grid-column: 10 / 13; grid-row: 3 / 4; }
.inspiration-card:nth-child(8) { grid-column: 4 / 10; grid-row: 4 / 5; }

.inspiration-card::after {
  position: absolute;
  inset: 35% 0 0;
  content: "";
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  pointer-events: none;
}

.inspiration-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.inspiration-card > span {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  z-index: 1;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 650;
}

.budget-banner,
.app-banner {
  position: relative;
  display: flex;
  min-height: 330px;
  align-items: center;
  overflow: hidden;
  border-radius: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.budget-banner {
  background-image: linear-gradient(90deg, rgba(14, 14, 14, 0.78), rgba(14, 14, 14, 0.12)), var(--budget-image);
  color: #fff;
}

.budget-banner__content,
.app-banner__content {
  width: min(840px, 74%);
  padding: clamp(36px, 6vw, 76px);
}

.budget-banner h2,
.app-banner h2 {
  margin-bottom: 12px;
  font-size: clamp(2.4rem, 4.5vw, 4.4rem);
  font-weight: 600;
}

.budget-banner h2 {
  font-size: clamp(2.4rem, 3.6vw, 3.8rem);
}

.budget-banner p,
.app-banner p {
  margin-bottom: 24px;
  font-size: clamp(1rem, 1.45vw, 1.12rem);
}

.spotlight-section {
  padding-bottom: 72px;
}

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

.designer-story {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border-radius: 0;
  background: #f5f4f1;
  grid-template-columns: 1.08fr 0.92fr;
}

.designer-story__quote {
  display: flex;
  min-height: 390px;
  padding: clamp(28px, 4vw, 48px);
  flex-direction: column;
}

.rating {
  margin-bottom: 28px;
  color: var(--dp-accent);
  letter-spacing: 0.01em;
}

.designer-story blockquote {
  margin: 0 0 28px;
  font-size: clamp(1rem, 1.35vw, 1.3rem);
  line-height: 1.65;
}

.designer-story__quote > p {
  margin: auto 0 0;
  color: #181818;
  font-size: 0.82rem;
  font-weight: 700;
}

.designer-story__profile {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: #d6d6d2;
}

.designer-story__profile::after {
  position: absolute;
  inset: 48% 0 0;
  content: "";
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
}

.designer-story__profile > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.designer-story__profile > div {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  z-index: 1;
  color: #fff;
}

.designer-story__profile h3 {
  margin-bottom: 4px;
  font-size: 1.12rem;
}

.designer-story__profile p {
  margin: 0;
  font-size: var(--dp-meta);
}

.why-section {
  padding-top: 72px;
  background: #fafafa;
}

.why-grid {
  display: grid;
  gap: 0 58px;
  border-top: 1px solid #dcdcd8;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.why-item {
  display: grid;
  min-width: 0;
  gap: 24px;
  padding-block: 34px;
  border-bottom: 1px solid #dcdcd8;
  grid-template-columns: 76px minmax(0, 1fr);
}

.why-item img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.why-item h3 {
  margin-bottom: 8px;
  font-size: 1.3rem;
  font-weight: 650;
}

.why-item p {
  margin: 0;
  color: var(--dp-stone);
  font-size: 0.9rem;
  line-height: 1.62;
}

.app-section {
  padding-top: 74px;
}

.app-banner {
  min-height: 350px;
  background-image: linear-gradient(90deg, rgba(226, 226, 224, 0.06), rgba(226, 226, 224, 0)), var(--app-image);
  background-position: center right;
}

.app-banner__content {
  width: min(760px, 58%);
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-links a {
  display: block;
  min-height: 44px;
  line-height: 0;
}

.store-links img {
  width: auto;
  height: 44px;
}

.partners-section h2 {
  margin-bottom: 34px;
}

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

.partner-logo {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  padding: 14px;
  border: 1px solid #eaeae7;
  border-radius: 0;
  background: #fff;
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-contact-band {
  padding-block: clamp(56px, 7vw, 92px);
  background: var(--dp-accent);
  color: #fff;
}

.home-contact-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.home-contact-band h2 {
  margin-bottom: 10px;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 600;
}

.home-contact-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.home-contact-band__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 22px;
}

.home-contact-band__actions > a:last-child {
  min-height: 44px;
  padding-block: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.66);
  font-weight: 650;
}

.company-footer {
  background: #1f1f1f;
  color: #fff;
}

.company-footer__grid {
  display: grid;
  gap: clamp(40px, 5vw, 78px);
  padding-block: clamp(66px, 8vw, 104px);
  grid-template-columns: minmax(300px, 1.5fr) repeat(3, minmax(145px, 0.65fr));
}

/* The supplied logo's wordmark is near-black, so on the ink footer it needs
   its own light plate. Given room, it reads as a deliberate stamp rather
   than a box that happens to be there. */
.brand--footer {
  padding: 14px 20px;
  margin-bottom: 28px;
  background: var(--dp-paper);
}

.company-footer__identity h2 {
  max-width: 380px;
  margin-bottom: 24px;
  font-size: 1.3rem;
  font-weight: 600;
}

.company-details {
  display: grid;
  gap: 8px;
  margin: 0;
}

.company-details > div {
  display: grid;
  gap: 12px;
  grid-template-columns: 92px 1fr;
}

.company-details dt {
  color: var(--dp-accent-bright);
  font-size: var(--dp-meta);
  font-weight: 700;
  text-transform: none;
}

.company-details dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.certification-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.certification-logos img {
  width: auto;
  max-width: 74px;
  height: 42px;
  padding: 4px;
  border-radius: 0;
  background: #fff;
  object-fit: contain;
}

.company-footer__column {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 7px;
}

.company-footer__column h3 {
  margin-bottom: 18px;
  color: var(--dp-accent-bright);
  font-size: var(--dp-meta);
  letter-spacing: 0.01em;
  text-transform: none;
}

.company-footer__column > a,
.social-links a {
  display: flex;
  min-height: 38px;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  transition: color 160ms ease;
}

.company-footer__column a:hover,
.social-links a:hover {
  color: #fff;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}

.social-links a {
  min-height: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  font-size: var(--dp-meta);
}

.company-footer__base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.48);
  font-size: var(--dp-micro);
}

.company-footer__base p {
  margin: 0;
}

.company-footer__base nav {
  display: flex;
  gap: 22px;
}

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

  .company-footer__grid {
    grid-template-columns: minmax(300px, 1.4fr) repeat(2, minmax(150px, 0.7fr));
  }

  .company-footer__contact {
    grid-column: 2 / 4;
  }
}

@media (max-width: 1100px) {
  .brand__logo {
    width: 126px;
  }

  .header-main {
    min-height: 76px;
    grid-template-columns: 1fr auto;
  }

  .menu--primary a {
    font-family: var(--dp-sans);
    font-size: 1.3rem;
    font-weight: 550;
  }

  .header-actions {
    align-items: stretch;
  }

  .header-actions .button {
    flex: 1;
  }

  .platform-hero {
    min-height: 650px;
  }

  .trust-grid {
    gap: 26px;
  }

  .trust-item {
    align-items: start;
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .trust-item img {
    width: 48px;
    height: 48px;
  }

  .start-smart__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .start-card:last-child {
    grid-column: 1 / -1;
  }

  .spotlight-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .home-section__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .inspiration-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: 300px;
  }

  .inspiration-card:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .inspiration-card--tall {
    grid-row: span 2 !important;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .app-banner {
    min-height: 430px;
    align-items: flex-start;
    background-position: 62% center;
  }

  .app-banner__content {
    width: min(580px, 68%);
  }

  .home-contact-band__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .company-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-footer__identity {
    grid-column: 1 / -1;
  }

  .company-footer__contact {
    grid-column: auto;
  }
}

@media (max-width: 700px) {
  .platform-hero {
    min-height: 640px;
  }

  .platform-hero__content {
    padding-block: 56px;
  }

  .platform-hero h1 {
    margin-bottom: 24px;
    font-size: clamp(2.8rem, 12vw, 3.8rem);
  }

  .platform-search {
    min-height: 56px;
  }

  .platform-search button {
    min-width: 90px;
    padding-inline: 14px;
  }

  .platform-tags {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-tags a {
    min-width: 0;
  }

  .trust-band {
    padding-block: 34px;
  }

  .start-smart__surface {
    border-radius: 0;
  }

  .start-smart__grid {
    grid-template-columns: 1fr;
  }

  .start-card:last-child {
    grid-column: auto;
  }

  .start-card > img {
    height: 210px;
  }

  .inspiration-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .inspiration-card:nth-child(n),
  .inspiration-card--tall {
    min-height: 0;
    aspect-ratio: 4 / 3;
    grid-row: auto !important;
  }

  .budget-banner,
  .app-banner {
    min-height: 430px;
    align-items: flex-end;
    border-radius: 0;
  }

  .budget-banner {
    background-image: linear-gradient(0deg, rgba(14, 14, 14, 0.88), rgba(14, 14, 14, 0.12)), var(--budget-image);
    background-position: 68% center;
  }

  .budget-banner__content,
  .app-banner__content {
    width: 100%;
    padding: 32px 26px;
  }

  .designer-story {
    grid-template-columns: 1fr;
  }

  .designer-story__quote {
    min-height: 0;
  }

  .designer-story__profile {
    min-height: 340px;
  }

  .why-item {
    gap: 18px;
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .why-item img {
    width: 54px;
    height: 54px;
  }

  .app-banner {
    background-image: linear-gradient(0deg, rgba(230, 230, 228, 0.92) 0%, rgba(230, 230, 228, 0.12) 74%), var(--app-image);
    background-position: 66% center;
  }

  .app-banner__content {
    padding-top: 180px;
  }

  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-contact-band__actions {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }

  .home-contact-band__actions .button {
    width: 100%;
  }

  .company-footer__grid {
    grid-template-columns: 1fr;
  }

  .company-footer__identity,
  .company-footer__contact {
    grid-column: auto;
  }

  .company-footer__column > a {
    min-height: 44px;
  }

  .company-footer__base {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .platform-search {
    padding: 5px;
  }

  .platform-search input {
    padding-inline: 10px;
    font-size: 0.82rem;
  }

  .platform-search button {
    min-width: 76px;
    font-size: 0.82rem;
  }

  .platform-tags a {
    gap: 12px;
    padding-inline: 13px;
  }

  .designer-story__profile {
    min-height: 300px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .platform-hero__media {
    display: none;
  }
}

@media print {
  .platform-hero__media {
    display: none;
  }
}

/* Replicated interior-design platform pages */
.menu-item--has-children {
  position: relative;
  display: flex;
  align-items: center;
}

.submenu-toggle {
  display: grid;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--dp-ink);
  cursor: pointer;
  place-items: center;
}

.submenu-toggle span {
  transition: transform 180ms ease;
}

.menu-item--has-children.is-open .submenu-toggle span {
  transform: rotate(45deg);
}

.menu--primary .sub-menu {
  position: absolute;
  top: calc(100% - 13px);
  right: 0;
  display: grid;
  width: 220px;
  padding: 12px;
  border: 1px solid var(--dp-line);
  background: var(--dp-paper);
  box-shadow: 0 24px 60px rgba(24, 24, 24, 0.12);
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.menu--primary .menu-item--has-children:hover .sub-menu,
.menu--primary .menu-item--has-children:focus-within .sub-menu,
.menu--primary .menu-item--has-children.is-open .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.menu--primary .sub-menu a {
  padding: 12px 14px;
}

.menu--primary .sub-menu a::after {
  display: none;
}

.reference-hero {
  overflow: hidden;
  border-bottom: 1px solid var(--dp-line);
  background: var(--dp-linen);
}

.reference-hero--dark {
  background: var(--dp-linen);
  color: var(--dp-ink);
}

.reference-hero__grid {
  display: grid;
  min-height: 660px;
  align-items: center;
  gap: clamp(54px, 7vw, 110px);
  grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
}

.reference-hero__content {
  padding-block: clamp(72px, 9vw, 138px);
}

.reference-hero__content h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-family: var(--dp-serif);
  font-size: clamp(3.2rem, 6.2vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: 0.94;
}

.reference-hero__content > p:not(.eyebrow) {
  max-width: 640px;
  margin-bottom: 34px;
  color: var(--dp-stone);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
}

.reference-hero--dark .reference-hero__content > p:not(.eyebrow) {
  color: var(--dp-stone);
}

.reference-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}

.reference-hero__media {
  position: relative;
  height: 100%;
  min-height: 660px;
  margin: 0 calc((100vw - var(--dp-shell)) / -2) 0 0;
}

.reference-hero__media > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reference-hero__media::after {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  content: "DP";
  color: #fff;
  font-family: var(--dp-serif);
  font-size: 2rem;
  line-height: 112px;
  text-align: center;
}

.reference-hero__media--collage {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
}

.reference-hero__media--collage img:nth-child(2) {
  width: 100%;
  height: 56%;
  align-self: end;
  border-left: 12px solid #f1f1ef;
  object-fit: cover;
}

.reference-section {
  padding-block: var(--dp-section);
}

.reference-section--tint {
  border-block: 1px solid var(--dp-line);
  background: var(--dp-linen);
}

.reference-section__header {
  display: grid;
  max-width: 820px;
  margin-bottom: clamp(44px, 6vw, 80px);
}

.reference-section__header h2,
.reference-split h2,
.reference-statement h2,
.designer-profile__about h2,
.project-detail__body h2,
.partner-form-layout h2 {
  margin: 0;
  font-family: var(--dp-serif);
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.reference-card-grid {
  display: grid;
  border-top: 1px solid var(--dp-line);
  border-left: 1px solid var(--dp-line);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reference-card {
  min-height: 330px;
  padding: clamp(30px, 4vw, 54px);
  border-right: 1px solid var(--dp-line);
  border-bottom: 1px solid var(--dp-line);
  background: var(--dp-paper);
}

.reference-card img,
.reference-card__number {
  width: 66px;
  height: 66px;
  margin-bottom: 46px;
}

.reference-card__number {
  display: grid;
  border: 1px solid var(--dp-accent);
  border-radius: 50%;
  color: #181818;
  font-family: var(--dp-serif);
  font-size: 1.3rem;
  place-items: center;
}

.reference-card h3 {
  margin-bottom: 18px;
  font-family: var(--dp-serif);
  font-size: clamp(1.5rem, 2.3vw, 2.4rem);
  font-weight: 400;
}

.reference-card p {
  margin: 0;
  color: var(--dp-stone);
  font-size: 0.9rem;
}

.reference-card-grid--steps {
  counter-reset: step;
}

.reference-card-grid--steps .reference-card {
  position: relative;
}

.reference-card-grid--steps .reference-card::after {
  position: absolute;
  top: 38px;
  right: 38px;
  content: "→";
  color: var(--dp-accent);
  font-size: 1.3rem;
}

.reference-split,
.reference-statement,
.designer-profile__about-grid,
.project-detail__body,
.partner-form-layout {
  display: grid;
  align-items: start;
  gap: clamp(50px, 9vw, 150px);
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
}

.reference-split__copy,
.reference-statement > div:last-child,
.designer-profile__about-grid > div:last-child,
.project-detail__body > div:last-child {
  padding-top: 52px;
}

.reference-split__copy p,
.reference-statement > div:last-child > p {
  margin-bottom: 30px;
  color: var(--dp-stone);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
}

.reference-split figure {
  margin: 24px 0 0;
  grid-column: 1 / -1;
}

.reference-split figure img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.reference-faq-layout,
.faq-page__layout {
  display: grid;
  align-items: start;
  gap: clamp(48px, 8vw, 128px);
  grid-template-columns: minmax(260px, 0.65fr) minmax(420px, 1.35fr);
}

.faq-list {
  border-top: 1px solid var(--dp-line);
}

.faq-list details {
  border-bottom: 1px solid var(--dp-line);
}

.faq-list summary {
  position: relative;
  padding: 24px 52px 24px 0;
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 24px;
  right: 4px;
  content: "+";
  color: var(--dp-accent);
  font-size: 1.3rem;
  font-weight: 400;
  transition: transform 160ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 680px;
  padding: 0 52px 24px 0;
  margin: 0;
  color: var(--dp-stone);
}

.page-cta {
  background: var(--dp-ink);
  color: #fff;
}

.page-cta__inner {
  display: flex;
  min-height: 340px;
  align-items: center;
  justify-content: space-between;
  gap: 54px;
  padding-block: 68px;
}

.page-cta h2 {
  max-width: 820px;
  margin: 0;
  font-family: var(--dp-serif);
  font-size: clamp(2.4rem, 4.8vw, 5rem);
  font-weight: 400;
}

.directory-intro {
  padding-block: clamp(44px, 4.6vw, 72px);
  border-bottom: 1px solid var(--dp-line);
  background: var(--dp-linen);
}

.directory-intro--projects {
  color: var(--dp-ink);
  background: var(--dp-linen);
}

.directory-intro--projects .eyebrow {
  color: var(--dp-ink);
}

.directory-intro__heading {
  display: grid;
  align-items: end;
  gap: clamp(40px, 8vw, 120px);
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
}

.directory-intro h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--dp-serif);
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.058em;
  line-height: 0.9;
}

.directory-intro__heading p {
  margin: 0;
  color: var(--dp-stone);
  font-size: 1rem;
}

.directory-intro--projects .directory-intro__heading p {
  color: var(--dp-stone);
}

.directory-filters {
  display: grid;
  align-items: end;
  gap: 16px 20px;
  padding-block: 26px 30px;
  border-bottom: 1px solid var(--dp-line);
  background: none;
  grid-template-columns: 1.25fr repeat(3, minmax(150px, 0.8fr)) auto;
}

.directory-filters label,
.dp-form label,
.estimate-card label {
  display: grid;
  gap: 7px;
  color: var(--dp-stone);
  font-size: var(--dp-micro);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

.directory-filters input,
.directory-filters select,
.dp-form input,
.dp-form textarea,
.estimate-card input,
.estimate-card select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--dp-line);
  border-radius: 0;
  background: var(--dp-paper);
  color: var(--dp-ink);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
}

.directory-filters .button {
  min-height: 50px;
}

.directory-results__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 24px;
  color: var(--dp-stone);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.directory-results__bar p {
  margin: 0;
}

.directory-results__bar a {
  border-bottom: 1px solid currentColor;
  color: var(--dp-ink);
}

.designer-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.designer-card {
  min-width: 0;
  border: 1px solid var(--dp-line);
  background: var(--dp-paper);
}

.designer-card__media {
  position: relative;
  display: block;
  height: 330px;
  overflow: hidden;
  background: #e8e8e5;
}

.designer-card__image,
.project-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.article-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.designer-card:hover .designer-card__image,
.project-card:hover .project-card__image {
  transform: scale(1.035);
}

.article-card:hover .article-card__image {
  transform: scale(1.02);
}

.designer-card__view {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 9px 12px;
  background: rgba(24, 24, 24, 0.9);
  color: #fff;
  font-size: var(--dp-micro);
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.designer-card__content {
  display: grid;
  padding: 28px;
  grid-template-columns: 1fr auto;
}

.designer-card__content h2 {
  margin-bottom: 5px;
  font-family: var(--dp-serif);
  font-size: 2rem;
  font-weight: 400;
}

.designer-card__content > div:first-child p,
.designer-card__content dl,
.designer-card__content dl dd {
  margin: 0;
}

.designer-card__content > div:first-child p {
  color: var(--dp-stone);
  font-size: 0.82rem;
}

.designer-card__rating {
  color: #181818;
  font-weight: 700;
}

.designer-card__content dl {
  display: grid;
  gap: 9px;
  padding-block: 24px;
  grid-column: 1 / -1;
}

.designer-card__content dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--dp-stone);
  font-size: 0.82rem;
}

.designer-card__content dl dd {
  color: var(--dp-ink);
  font-weight: 650;
}

.designer-card__content .button {
  width: 100%;
  grid-column: 1 / -1;
}

.directory-empty {
  padding: 72px;
  border: 1px solid var(--dp-line);
  background: #f1f1ef;
  grid-column: 1 / -1;
  text-align: center;
}

.style-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 18px;
}

.style-chip-list a {
  padding: 7px 12px;
  border: 1px solid var(--dp-line);
  color: var(--dp-stone);
  font-size: var(--dp-meta);
}

.style-chip-list a:hover {
  border-color: var(--dp-accent);
  color: var(--dp-ink);
}

.renovation-directory .project-grid--archive,
.designer-profile-page .project-grid--archive {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.designer-profile-page .project-grid--archive {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.renovation-directory .project-card,
.designer-profile-page .project-card {
  min-width: 0;
  border: 1px solid var(--dp-line);
  background: var(--dp-paper);
}

/* A definite height plus the base aspect-ratio made the browser derive the
   WIDTH from the height (290 x 0.8 = 232px), so every project image sat
   narrow and left-aligned inside its card. Height governs here; width fills.
   The mobile rule already did this — desktop was missed. */
.renovation-directory .project-card__media,
.designer-profile-page .project-card__media {
  position: relative;
  display: block;
  width: 100%;
  height: clamp(230px, 21vw, 280px);
  overflow: hidden;
  aspect-ratio: auto;
}

.renovation-directory .project-card__media > span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 11px;
  background: rgba(24, 24, 24, 0.9);
  color: #fff;
  font-size: var(--dp-micro);
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.renovation-directory .project-card__meta,
.designer-profile-page .project-card__meta {
  display: block;
  padding: 25px;
}

.project-card__kicker {
  margin-bottom: 9px;
  color: #181818;
  font-size: var(--dp-micro);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

.renovation-directory .project-card h2,
.designer-profile-page .project-card h3 {
  margin-bottom: 22px;
  font-family: var(--dp-serif);
  font-size: 1.75rem;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.renovation-directory .project-card__meta > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  color: var(--dp-stone);
  font-size: var(--dp-meta);
}

.designer-profile__hero {
  overflow: hidden;
  background: var(--dp-ink);
  color: #fff;
}

.designer-profile__hero-grid {
  display: grid;
  min-height: 720px;
  align-items: stretch;
  grid-template-columns: minmax(400px, 0.9fr) minmax(0, 1.1fr);
}

.designer-profile__hero figure {
  min-height: 720px;
  margin: 0;
}

.designer-profile__portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.designer-profile__intro {
  align-self: center;
  padding: 80px clamp(44px, 8vw, 120px);
}

.designer-profile__intro h1 {
  margin-bottom: 14px;
  font-family: var(--dp-serif);
  font-size: clamp(3.8rem, 7vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.designer-profile__role {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.62);
}

.designer-profile__score {
  color: var(--dp-accent-bright);
  font-size: 1rem;
  font-weight: 700;
}

.designer-profile__facts {
  display: grid;
  margin-block: 44px;
  border-block: 1px solid rgba(255, 255, 255, 0.18);
}

.designer-profile__facts div {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-block: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.designer-profile__facts div:last-child {
  border-bottom: 0;
}

.designer-profile__facts dt {
  color: rgba(255, 255, 255, 0.52);
  font-size: var(--dp-micro);
  letter-spacing: 0;
  text-transform: none;
}

.designer-profile__facts dd {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 650;
}

.project-detail__header {
  padding-block: clamp(80px, 10vw, 150px) 64px;
  background: #f1f1ef;
}

.project-detail__title {
  display: grid;
  align-items: end;
  gap: 60px;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
}

.project-detail__title h1 {
  margin: 0;
  font-family: var(--dp-serif);
  font-size: clamp(3.8rem, 7vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.project-detail__title p {
  margin: 0;
  color: var(--dp-stone);
}

.project-detail__facts {
  display: grid;
  margin: 60px 0 0;
  border-top: 1px solid var(--dp-line);
  grid-template-columns: repeat(4, 1fr);
}

.project-detail__facts div {
  padding: 20px 20px 0 0;
}

.project-detail__facts dt {
  margin-bottom: 5px;
  color: var(--dp-stone);
  font-size: var(--dp-micro);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

.project-detail__facts dd {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 650;
}

.project-detail__hero {
  width: 100%;
  height: min(82vw, 900px);
  margin: 0;
  background: #dcdcd8;
}

.project-detail__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-detail__gallery {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-detail__gallery figure {
  min-width: 0;
  height: 360px;
  margin: 0;
  overflow: hidden;
  background: #dcdcd8;
}

.project-detail__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.project-detail__gallery figure:hover img {
  transform: scale(1.025);
}

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

.designer-review {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--dp-line);
  background: #fff;
}

.designer-review header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.designer-review h3 {
  margin: 0 0 5px;
  font-family: var(--dp-serif);
  font-size: 1.5rem;
  font-weight: 400;
}

.designer-review time {
  color: var(--dp-stone);
  font-size: var(--dp-micro);
}

.designer-review header > span {
  color: #181818;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.designer-review p {
  margin: 0;
  color: var(--dp-stone);
  font-size: 0.9rem;
  line-height: 1.75;
}

.directory-pagination {
  margin-top: 54px;
}

/* WordPress puts .page-numbers on the <ul> AND on every <a>, so an unscoped
   rule here stripped the padding off the links and forced them to the 42px
   minimum meant for a single digit — which is why "Next" was clipped. */
.directory-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

/* The list items are flex children, so they shrank and let "Next →" wrap
   inside the 42px minimum meant for a single digit. */
.directory-pagination li {
  flex: 0 0 auto;
}

.directory-pagination a,
.directory-pagination span {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid var(--dp-line);
  border-radius: var(--dp-radius);
  background: #fff;
  color: var(--dp-ink);
  font-size: var(--dp-meta);
  font-weight: 650;
  white-space: nowrap;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.directory-pagination .current,
.directory-pagination a:hover {
  border-color: var(--dp-accent);
  background: var(--dp-accent);
  color: #fff;
}

.estimate-card {
  padding: clamp(26px, 4vw, 50px);
  margin-block: 48px;
  border: 1px solid var(--dp-line);
  background: var(--dp-paper);
  color: var(--dp-ink);
}

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

.estimate-card__result {
  padding-top: 36px;
  margin-top: 36px;
  border-top: 1px solid var(--dp-line);
}

.estimate-card__result p {
  margin-bottom: 5px;
  color: var(--dp-stone);
  font-size: var(--dp-micro);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

.estimate-card__result strong {
  display: block;
  margin-bottom: 10px;
  color: #181818;
  font-family: var(--dp-serif);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 400;
  line-height: 1;
}

.estimate-card__result small {
  display: block;
  color: var(--dp-stone);
  font-size: var(--dp-micro);
  line-height: 1.5;
}

.cost-driver-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cost-driver-grid article {
  border: 1px solid var(--dp-line);
  background: var(--dp-paper);
}

.cost-driver-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.cost-driver-grid article div {
  padding: 22px;
}

.cost-driver-grid h3 {
  margin-bottom: 10px;
  font-family: var(--dp-serif);
  font-size: 1.5rem;
  font-weight: 400;
}

.cost-driver-grid p {
  margin: 0;
  color: var(--dp-stone);
  font-size: var(--dp-meta);
}

.assure-standards {
  display: grid;
  gap: 80px;
  grid-template-columns: minmax(260px, 0.7fr) minmax(420px, 1.3fr);
}

.assure-standards__list {
  border-top: 1px solid var(--dp-line);
}

.assure-standards__list article {
  display: grid;
  align-items: start;
  gap: 24px;
  padding-block: 24px;
  border-bottom: 1px solid var(--dp-line);
  grid-template-columns: 38px 150px 1fr;
}

.assure-standards__list span {
  color: #181818;
  font-family: var(--dp-serif);
}

.assure-standards__list h3,
.assure-standards__list p {
  margin: 0;
}

.assure-standards__list h3 {
  font-family: var(--dp-serif);
  font-size: 1.5rem;
  font-weight: 400;
}

.assure-standards__list p {
  color: var(--dp-stone);
  font-size: 0.82rem;
}

.assure-gallery {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.assure-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.faq-page__nav {
  position: sticky;
  top: 28px;
  display: grid;
  border-top: 1px solid var(--dp-line);
}

.faq-page__nav a {
  padding: 15px 0;
  border-bottom: 1px solid var(--dp-line);
  color: var(--dp-stone);
  font-size: 0.82rem;
  font-weight: 650;
}

.faq-page__groups {
  display: grid;
  gap: 84px;
}

.contact-hero {
  background: #f1f1ef;
}

.contact-hero__grid {
  display: grid;
  min-height: 760px;
  gap: clamp(50px, 8vw, 120px);
  padding-block: clamp(70px, 8vw, 126px);
  grid-template-columns: minmax(340px, 0.85fr) minmax(480px, 1.15fr);
}

.contact-hero__intro h1 {
  margin-bottom: 28px;
  font-family: var(--dp-serif);
  font-size: clamp(3.2rem, 6vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.contact-hero__intro > p:not(.eyebrow) {
  color: var(--dp-stone);
}

.contact-hero__intro img {
  width: 100%;
  height: 310px;
  margin-top: 42px;
  object-fit: cover;
}

/* Decorative stock illustration is held to the monochrome field so it never
   competes with the real project photography. */
.contact-hero__intro img,
.reference-hero__media--illustration img {
  filter: grayscale(1) contrast(1.04);
  opacity: 0.88;
}

.reference-hero__media--illustration {
  display: grid;
  padding: clamp(24px, 4vw, 56px);
  background: var(--dp-linen);
  place-items: center;
}

.reference-hero__media--illustration img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.contact-hero__form,
.partner-form-layout > div:last-child {
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid var(--dp-line);
  background: var(--dp-paper);
}

.contact-hero__form h2 {
  margin-bottom: 36px;
  font-family: var(--dp-serif);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 400;
}

.dp-form {
  display: grid;
  gap: 20px;
}

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

.dp-form textarea {
  min-height: 150px;
  resize: vertical;
}

.dp-form__consent {
  display: grid !important;
  align-items: start;
  grid-template-columns: 20px 1fr;
}

.dp-form__consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.dp-form__consent span {
  color: var(--dp-stone);
  font-size: var(--dp-meta);
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.55;
  text-transform: none;
}

.dp-form__trap {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.form-notice {
  padding: 15px 18px;
  border: 1px solid;
  font-size: 0.82rem;
}

.form-notice--success {
  border-color: #2d7a53;
  background: #edf7f1;
}

.form-notice--error {
  border-color: #a34a3c;
  background: #fff0ed;
}

.contact-details {
  background: var(--dp-ink);
  color: #fff;
}

.contact-details__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.contact-details article {
  min-height: 180px;
  padding: 42px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-details article:last-child {
  border-right: 0;
}

.contact-details p {
  margin-bottom: 16px;
  color: var(--dp-accent-bright);
  font-size: var(--dp-micro);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

.contact-details a,
.contact-details address {
  font-family: var(--dp-serif);
  font-size: 1.5rem;
  font-style: normal;
  line-height: 1.35;
}

.legal-page__header {
  padding-block: clamp(40px, 4.4vw, 68px);
  border-bottom: 1px solid var(--dp-line);
  background: var(--dp-linen);
  color: var(--dp-ink);
}

.legal-page__header h1 {
  margin-bottom: 26px;
  font-family: var(--dp-serif);
  font-size: clamp(3.8rem, 7vw, 6rem);
  font-weight: 400;
}

.legal-page__header > div > p:last-child {
  max-width: 660px;
  color: var(--dp-stone);
}

.legal-page__content {
  padding-block: clamp(70px, 9vw, 130px);
}

.legal-review-note {
  padding: 28px;
  margin-bottom: 60px;
  border-left: 1px solid var(--dp-line-strong);
  background: #f1f1ef;
}

.legal-review-note p {
  max-width: var(--dp-reading-max);
  margin: 8px 0 0;
  color: var(--dp-stone);
}

.legal-page__content > section {
  display: grid;
  gap: 26px;
  padding-block: 34px;
  border-top: 1px solid var(--dp-line);
  grid-template-columns: 42px 1fr;
}

.legal-page__content > section span {
  color: #181818;
  font-family: var(--dp-serif);
}

.legal-page__content > section > div {
  max-width: var(--dp-reading-max);
}

.legal-page__content h2 {
  margin-bottom: 14px;
  font-family: var(--dp-serif);
  font-size: 2rem;
  font-weight: 400;
}

.legal-page__content section p {
  color: var(--dp-stone);
}

.journal-page__posts,
.editorial-single {
  background: var(--dp-paper);
}

.article-grid {
  display: grid;
  gap: clamp(22px, 2.2vw, 30px) clamp(16px, 1.8vw, 24px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-card {
  border: 1px solid var(--dp-line);
  background: #fff;
}

.article-card__media {
  display: block;
  height: clamp(170px, 16vw, 210px);
  overflow: hidden;
  background: var(--dp-linen);
}

.article-card__content {
  padding: 22px 22px 24px;
}

.article-card time {
  display: block;
  margin-bottom: 14px;
  color: #181818;
  font-size: var(--dp-micro);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

/* Card titles are titles, not headlines: they sit on the card ramp so a long
   article name no longer runs six lines deep. */
.article-card h2 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  font-weight: 620;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.article-card p {
  color: var(--dp-stone);
  font-size: 0.82rem;
  line-height: 1.55;
}

.article-card .arrow-link {
  margin-top: 12px;
  font-size: var(--dp-micro);
}

.editorial-article__header {
  padding-block: clamp(40px, 4.4vw, 68px) clamp(28px, 3vw, 40px);
  background: var(--dp-linen);
}

.editorial-article__header h1 {
  margin-bottom: 30px;
  font-family: var(--dp-serif);
  font-size: clamp(3.2rem, 6vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: 0.94;
}

/* Shared public-page folio headers */
.reference-hero__content > .eyebrow,
.directory-intro > .site-shell > .eyebrow,
.designer-profile__intro > .eyebrow,
.project-detail__header > .site-shell > .eyebrow,
.contact-hero__intro > .eyebrow,
.legal-page__header .eyebrow {
  display: none;
}

.reference-hero__content h1,
.directory-intro h1,
.designer-profile__intro h1,
.project-detail__title h1,
.contact-hero__intro h1,
.legal-page__header h1,
.editorial-article__header h1 {
  font-family: var(--dp-sans);
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  font-weight: 520;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

.directory-intro h1 {
  max-width: 12ch;
}

.reference-hero__content h1,
.contact-hero__intro h1 {
  max-width: 16ch;
}

.designer-profile__intro h1,
.legal-page__header h1,
.editorial-article__header h1 {
  max-width: 13ch;
}

.project-detail__title h1 {
  max-width: 16ch;
}

.reference-hero__grid {
  gap: clamp(48px, 6vw, 88px);
  grid-template-columns: minmax(0, 1fr) minmax(400px, 1fr);
}

.reference-hero__content h1,
.contact-hero__intro h1 {
  font-size: clamp(2.4rem, 3.8vw, 4.4rem);
}

.editorial-article__header h1,
.legal-page__header h1 {
  max-width: 20ch;
  font-size: clamp(1.9rem, 2.8vw, 3.2rem);
  line-height: 1.02;
}

.directory-intro {
  padding-block: clamp(76px, 8vw, 116px);
}

.directory-intro__heading,
.project-detail__title {
  gap: clamp(48px, 6vw, 88px);
}

.directory-intro__heading p,
.project-detail__title p,
.legal-page__header > div > p:last-child {
  max-width: 42ch;
}

/* A page header and the tool that belongs to it are one chapter: the step
   between them is shorter than the step between two chapters. */
.directory-intro + .section-pad,
.reference-hero + .reference-section,
.project-detail__header + .section-pad,
.editorial-article__header + .section-pad,
.legal-page__header + .legal-page__content {
  padding-top: var(--dp-section-tight);
}

.directory-filters {
  margin-bottom: 0;
}

.directory-filters .button {
  min-height: 50px;
}

/* Page headers all sit on the same soft plate, so the photography beside
   them carries the contrast instead of a second background colour. */
.reference-hero__grid {
  min-height: clamp(420px, 46vw, 600px);
}

.reference-hero__media,
.designer-profile__hero-grid,
.designer-profile__hero figure {
  min-height: clamp(420px, 46vw, 600px);
}

.reference-hero__content {
  padding-block: clamp(40px, 4.4vw, 68px);
}

.project-detail__header,
.editorial-article__header {
  border-bottom: 1px solid var(--dp-line);
}

.legal-page__header {
  border-bottom: 1px solid var(--dp-line);
}

.editorial-article__meta {
  display: flex;
  gap: 24px;
  color: var(--dp-stone);
  font-size: var(--dp-micro);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.editorial-article__hero {
  width: var(--dp-shell);
  height: min(44vw, 460px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--dp-linen);
  border-radius: var(--dp-radius);
}

.editorial-article__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.editorial-article__body {
  padding-block: var(--dp-section);
}

/* Journal and legal copy was pasted from a word processor, which stamped an
   inline font-weight on nearly every span — so whole articles rendered bold.
   Inline styles can only be beaten with !important. Real <strong> is left
   alone, so genuine emphasis still reads. */
.entry-content span[style*="font-weight"] {
  font-weight: inherit !important;
}

.entry-content strong span[style*="font-weight"],
.entry-content b span[style*="font-weight"] {
  font-weight: 650 !important;
}

.entry-content strong,
.entry-content b {
  font-weight: 650;
}

.editorial-article__body > p:first-child {
  font-size: 1.12rem;
  line-height: 1.55;
}

.editorial-article__body footer {
  padding-top: 44px;
  margin-top: 54px;
  border-top: 1px solid var(--dp-line);
}

@media (max-width: 1120px) {
  .menu--primary .sub-menu {
    position: static;
    display: none;
    width: 100%;
    padding: 4px 0 12px 18px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .menu-item--has-children {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .menu-item--has-children.is-open .sub-menu {
    display: grid;
    grid-column: 1 / -1;
  }

  .directory-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directory-filters .button {
    width: 100%;
    grid-column: 1 / -1;
  }

  .designer-grid,
  .renovation-directory .project-grid--archive {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .designer-profile-page .project-grid--archive {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cost-driver-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .reference-hero__grid,
  .designer-profile__hero-grid,
  .contact-hero__grid {
    grid-template-columns: 1fr;
  }

  .reference-hero__grid {
    padding-top: 0;
  }

  .reference-hero__media {
    min-height: 520px;
    margin: 0 calc((100vw - var(--dp-shell)) / -2);
  }

  .reference-card-grid,
  .article-grid,
  .project-detail__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reference-split,
  .reference-statement,
  .designer-profile__about-grid,
  .project-detail__body,
  .partner-form-layout,
  .reference-faq-layout,
  .faq-page__layout,
  .assure-standards {
    gap: 42px;
    grid-template-columns: 1fr;
  }

  .reference-split__copy,
  .reference-statement > div:last-child,
  .designer-profile__about-grid > div:last-child,
  .project-detail__body > div:last-child {
    padding-top: 0;
  }

  .faq-page__nav {
    position: static;
  }

  .directory-intro__heading,
  .project-detail__title {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .designer-profile__hero figure {
    min-height: 620px;
  }

  .designer-profile__intro {
    padding-inline: 0;
  }

  .project-detail__facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .assure-standards__list article {
    grid-template-columns: 38px 130px 1fr;
  }

  .contact-hero__grid {
    padding-inline: 0;
  }

  .contact-details__grid {
    grid-template-columns: 1fr;
  }

  .contact-details article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }
}

@media (max-width: 680px) {
  .reference-hero__grid,
  .reference-hero__media {
    min-height: 0;
  }

  .reference-hero__content h1,
  .directory-intro h1,
  .designer-profile__intro h1,
  .project-detail__title h1,
  .legal-page__header h1,
  .editorial-article__header h1 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

  .reference-hero__media {
    height: 430px;
  }

  .reference-hero__media--collage {
    grid-template-columns: 1fr;
  }

  .reference-hero__media--collage img:nth-child(2) {
    display: none;
  }

  .reference-card-grid,
  .designer-grid,
  .renovation-directory .project-grid--archive,
  .designer-profile-page .project-grid--archive,
  .article-grid,
  .project-detail__gallery,
  .designer-reviews__grid,
  .assure-gallery,
  .cost-driver-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .reference-card {
    min-height: 0;
  }

  .directory-filters,
  .estimate-card__fields,
  .dp-form__grid {
    grid-template-columns: 1fr;
  }

  .directory-filters input,
  .directory-filters select,
  .dp-form input,
  .dp-form textarea,
  .estimate-card input,
  .estimate-card select {
    font-size: 1rem;
  }

  .designer-card__media {
    height: 360px;
  }

  .renovation-directory .project-card__media,
  .designer-profile-page .project-card__media {
    width: 100%;
    height: 330px;
    aspect-ratio: auto;
  }

  .designer-profile__hero-grid,
  .designer-profile__hero figure {
    min-height: 0;
  }

  .designer-profile__hero figure {
    height: 520px;
    margin-inline: calc((100vw - var(--dp-shell)) / -2);
  }

  .project-detail__facts {
    grid-template-columns: 1fr;
  }

  .project-detail__facts div {
    padding-block: 14px;
    border-bottom: 1px solid var(--dp-line);
  }

  .page-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-cta__inner .button {
    width: 100%;
  }

  .assure-standards__list article {
    gap: 10px 18px;
    grid-template-columns: 32px 1fr;
  }

  .assure-standards__list article p {
    grid-column: 2;
  }

  .contact-hero__form,
  .partner-form-layout > div:last-child {
    padding: 28px 20px;
  }

  .contact-details article {
    min-width: 0;
    padding-inline: 20px;
  }

  .contact-details a,
  .contact-details address {
    overflow-wrap: anywhere;
  }

  .article-card__media {
    height: 200px;
  }

  .project-detail__gallery figure {
    height: 310px;
  }

  .editorial-article__hero {
    width: 100%;
    height: 420px;
  }
}


/* ---------------------------------------------------------------------------
   Homepage hero: the earlier split-panel composition rebuilt in the studio
   language — a copy panel with a working search, one full-bleed photograph,
   and the real property-type routes closing the band beneath.
   --------------------------------------------------------------------------- */
.dp-hero {
  border-bottom: 1px solid var(--dp-line);
  background: var(--dp-linen);
}

.dp-hero__grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.dp-hero__panel {
  display: flex;
  min-width: 0;
  align-items: center;
  padding-block: clamp(48px, 5.4vw, 78px);
  padding-left: max(var(--dp-gutter), calc((100vw - var(--dp-shell-max)) / 2));
  padding-right: clamp(32px, 4vw, 68px);
}

.dp-hero__copy {
  width: 100%;
  max-width: 560px;
}

.dp-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 4.4vw, 4.4rem);
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 0.94;
}

.dp-hero__copy > p {
  max-width: 46ch;
  margin-bottom: 28px;
  color: var(--dp-stone);
  font-size: 1rem;
  line-height: 1.65;
}

.dp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-bottom: 26px;
}

.dp-hero__search {
  display: grid;
  width: 100%;
  min-height: 58px;
  margin-bottom: 30px;
  overflow: hidden;
  border: 1px solid var(--dp-ink);
  border-radius: var(--dp-radius);
  background: var(--dp-paper);
  grid-template-columns: minmax(0, 1fr) auto;
}

.dp-hero__search input {
  min-width: 0;
  padding: 14px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--dp-ink);
  font: inherit;
  font-size: 0.9rem;
}

.dp-hero__search input::placeholder {
  color: #6a6a67;
  opacity: 1;
}

.dp-hero__search button {
  display: inline-flex;
  min-width: 122px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-inline: 20px;
  border: 0;
  border-radius: 0;
  background: var(--dp-ink);
  color: #fff;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  transition: background-color 180ms ease;
}

.dp-hero__search button:hover,
.dp-hero__search button:focus-visible {
  background: var(--dp-ink-hover);
}

.dp-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px clamp(28px, 4vw, 52px);
  padding-top: 24px;
  margin: 0;
  border-top: 1px solid var(--dp-line);
}

.dp-hero__stats div {
  min-width: 0;
}

.dp-hero__stats dt {
  color: var(--dp-brass-deep);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.dp-hero__stats dd {
  margin: 2px 0 0;
  color: var(--dp-stone);
  font-size: var(--dp-meta);
  font-weight: 600;
}

.dp-hero__media {
  position: relative;
  min-width: 0;
  min-height: clamp(420px, 46vw, 640px);
  margin: 0;
  overflow: hidden;
  background: #ddd;
}

.dp-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Real property-type routes with live counts close the hero. */
.dp-hero__types {
  display: grid;
  width: 100%;
  border-top: 1px solid var(--dp-line);
  background: var(--dp-paper);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dp-hero__types a {
  position: relative;
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 112px;
  padding: 20px clamp(18px, 2vw, 30px);
  border-right: 1px solid var(--dp-line);
  color: var(--dp-ink);
  transition: background-color 200ms ease;
}

.dp-hero__types a:first-child {
  padding-left: max(var(--dp-gutter), calc((100vw - var(--dp-shell-max)) / 2));
}

.dp-hero__types a:last-child {
  padding-right: max(var(--dp-gutter), calc((100vw - var(--dp-shell-max)) / 2));
  border-right: 0;
}

.dp-hero__types a:hover,
.dp-hero__types a:focus-visible {
  background: var(--dp-linen);
}

.dp-hero__types-index {
  color: var(--dp-brass-deep);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.dp-hero__types-name {
  font-size: 0.9rem;
  font-weight: 650;
}

.dp-hero__types-count {
  color: var(--dp-stone);
  font-size: var(--dp-meta);
}

.dp-hero__types-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.9rem;
  transition: transform 180ms var(--dp-ease);
}

.dp-hero__types a:hover .dp-hero__types-arrow {
  transform: translate(3px, -3px);
}

/* Brass carries the primary action; its label is ink for contrast. */
.sample-button--accent {
  border-color: var(--dp-brass);
  background: var(--dp-brass);
  color: var(--dp-on-brass);
}

.sample-button--accent:hover,
.sample-button--accent:focus-visible {
  border-color: var(--dp-brass-hover);
  background: var(--dp-brass-hover);
  color: var(--dp-on-brass);
}

@media (max-width: 1080px) {
  .dp-hero__grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  }

  .dp-hero__panel {
    padding-right: clamp(26px, 3vw, 44px);
  }
}

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

  .dp-hero__panel {
    order: 2;
    padding-block: clamp(38px, 6vw, 56px);
    padding-inline: var(--dp-gutter);
  }

  .dp-hero__copy {
    max-width: none;
  }

  .dp-hero__media {
    order: 1;
    min-height: clamp(280px, 48vw, 420px);
  }

  .dp-hero__types {
    width: 100%;
    border-left: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dp-hero__types a {
    min-height: 100px;
    border-bottom: 1px solid var(--dp-line);
  }

  .dp-hero__types a:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 520px) {
  .dp-hero__search {
    min-height: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: none;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .dp-hero__search input {
    min-height: 54px;
    border: 1px solid var(--dp-ink);
    border-radius: var(--dp-radius);
    background: var(--dp-paper);
  }

  .dp-hero__search button {
    min-height: 52px;
    justify-content: center;
    border-radius: var(--dp-radius);
    gap: 12px;
  }

  .dp-hero__stats {
    gap: 14px 18px;
  }
}


/* ---------------------------------------------------------------------------
   Journal article. The body sat at a 720px measure inside the 1160px shell
   and hugged the left edge, leaving 440px of empty page beside every
   paragraph. It now runs as a measured column with a meta rail holding the
   left, and closes with a route back into the site rather than stopping dead.
   Colours are unchanged: ink, stone, linen, paper, brass for the accent.
   --------------------------------------------------------------------------- */
.editorial-article__header .eyebrow {
  margin-bottom: 18px;
  color: var(--dp-ink);
}

.editorial-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 20px;
  color: var(--dp-stone);
  font-size: var(--dp-meta);
  font-weight: 600;
}

.editorial-article__layout {
  display: grid;
  align-items: start;
  gap: clamp(28px, 4vw, 64px);
  padding-block: var(--dp-section);
  grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
}

.editorial-article__rail {
  position: sticky;
  top: calc(var(--dp-header-height) + 24px);
  padding-top: 6px;
  border-top: 2px solid var(--dp-brass);
}

.editorial-article__rail dl {
  margin: 0 0 22px;
}

.editorial-article__rail div + div {
  margin-top: 16px;
}

.editorial-article__rail dt {
  margin-bottom: 3px;
  color: var(--dp-stone);
  font-size: var(--dp-micro);
  font-weight: 700;
}

.editorial-article__rail dd {
  margin: 0;
  color: var(--dp-ink);
  font-size: 0.82rem;
  font-weight: 650;
}

.editorial-article__body {
  max-width: 68ch;
}

/* A clear step between chapter and sub-point, carrying the same weight and
   tracking as the page titles so the article reads as one typographic voice. */
.editorial-article__body h2 {
  padding-top: 24px;
  margin-top: 2.3em;
  border-top: 1px solid var(--dp-line);
  color: var(--dp-ink);
  font-size: clamp(1.5rem, 2.2vw, 1.75rem);
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 1.14;
}

.editorial-article__body h3 {
  margin-top: 2em;
  color: var(--dp-ink);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.editorial-article__body h4 {
  margin-top: 1.8em;
  color: var(--dp-ink);
  font-size: 1.12rem;
  font-weight: 620;
  letter-spacing: -0.025em;
}

.editorial-article__body h2:first-child {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.editorial-article__body p,
.editorial-article__body li {
  color: #454542;
  font-size: 1rem;
  line-height: 1.7;
}

.editorial-article__body ul,
.editorial-article__body ol {
  padding-left: 20px;
}

.editorial-article__body li + li {
  margin-top: 8px;
}

.editorial-article__body strong {
  color: var(--dp-ink);
}

.editorial-article__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding-block: clamp(30px, 3.4vw, 44px);
  border-top: 1px solid var(--dp-line);
}

.editorial-article__cta h2 {
  margin-bottom: 6px;
  font-size: 1.5rem;
  font-weight: 620;
  letter-spacing: -0.03em;
}

.editorial-article__cta p {
  max-width: 52ch;
  margin: 0;
  color: var(--dp-stone);
  font-size: 0.9rem;
}

.editorial-article__cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
}

.editorial-related {
  padding-block: var(--dp-section);
  border-top: 1px solid var(--dp-line);
  background: var(--dp-linen);
}

.editorial-related .article-card {
  background: var(--dp-paper);
}

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

  .editorial-article__rail {
    position: static;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    padding-top: 14px;
  }

  .editorial-article__rail dl {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 32px;
    margin: 0;
  }

  .editorial-article__rail div + div {
    margin-top: 0;
  }

  .editorial-article__body {
    max-width: none;
  }
}

/* Sample-led homepage: monochrome interior studio */
/* Homepage aliases onto the shared studio tokens; header chrome is now global. */
.is-designplus-home {
  --sample-ink: var(--dp-ink);
  --sample-muted: var(--dp-stone);
  --sample-soft: var(--dp-linen);
  --sample-white: var(--dp-paper);
  --sample-line: var(--dp-line);
  --sample-ease: var(--dp-ease);
}

.is-designplus-home .site-header {
  border-bottom: 0;
}

.sample-home {
  overflow: hidden;
  background: var(--sample-white);
  color: var(--sample-ink);
}

.sample-home h1,
.sample-home h2,
.sample-home h3,
.sample-home p {
  margin-top: 0;
}

.sample-home h1,
.sample-home h2,
.sample-home h3 {
  max-width: 100%;
  color: var(--sample-ink);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.sample-home p {
  color: var(--sample-muted);
}

.sample-home img {
  display: block;
}

.sample-button,
.sample-text-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  font-size: 0.82rem;
  font-weight: 700;
}

.sample-button {
  min-width: 196px;
  min-height: 58px;
  padding: 15px 22px;
  border: 1px solid var(--sample-ink);
  border-radius: var(--dp-radius);
  transition: background-color 180ms ease, color 180ms ease;
}

.sample-button--dark {
  background: var(--sample-ink);
  color: var(--sample-white);
}

.dp-hero__stats dt a {
  color: inherit;
}

.sample-button--dark:hover,
.sample-button--dark:focus-visible {
  background: #333;
  color: var(--sample-white);
}

.sample-text-link {
  border-bottom: 1px solid var(--sample-ink);
  color: var(--sample-ink);
}

.sample-button span,
.sample-text-link span,
.sample-service > a span:last-child {
  transition: transform 180ms var(--sample-ease);
}

.sample-button:hover span,
.sample-text-link:hover span,
.sample-service > a:hover span:last-child {
  transform: translate(3px, -3px);
}

/* The counts close the whole hero rather than dangling under one column. */
/* An open square the lower photograph sits into, per the reference. */
.sample-partners {
  display: grid;
  min-height: 136px;
  overflow: hidden;
  border-top: 1px solid var(--sample-line);
  border-bottom: 1px solid var(--sample-line);
  background: var(--sample-white);
  grid-template-columns: max(200px, calc((100vw - var(--dp-shell-max)) / 2 + 160px)) minmax(0, 1fr);
}

.sample-partners__label {
  display: flex;
  align-items: center;
  padding-right: 24px;
  padding-left: max(var(--dp-gutter), calc((100vw - var(--dp-shell-max)) / 2));
  border-right: 1px solid var(--sample-line);
}

.sample-partners__label h2 {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.sample-partners__viewport {
  min-width: 0;
  overflow: hidden;
  /* The rail runs off the edge rather than stopping at a clipped cell. */
  mask-image: linear-gradient(90deg, #000 0 92%, transparent 100%);
}

.sample-partners__track,
.sample-partners__group {
  display: flex;
  width: max-content;
}

.sample-partners__track {
  animation: sample-partner-marquee 34s linear infinite;
}

.sample-partners__viewport:hover .sample-partners__track {
  animation-play-state: paused;
}

.sample-partners__logo {
  display: grid;
  width: 168px;
  height: 134px;
  flex: 0 0 168px;
  padding-inline: 24px;
  place-items: center;
}

/* Fixed optical height, free width: marks of very different proportions
   still read at the same weight along the rail. */
.sample-partners__logo img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 58px;
  filter: grayscale(1) contrast(1.05);
  mix-blend-mode: multiply;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 200ms ease;
}

.sample-partners__logo img:hover {
  opacity: 1;
}

@keyframes sample-partner-marquee {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.sample-section {
  padding-block: var(--dp-section);
}

.sample-section-heading {
  display: grid;
  align-items: center;
  gap: 24px;
  margin-bottom: clamp(34px, 3.6vw, 54px);
  grid-template-columns: 50px minmax(0, 1fr) minmax(230px, 0.62fr);
}

.sample-section-heading > span {
  width: 42px;
  height: 2px;
  background: var(--dp-brass);
}

.sample-section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  font-weight: 570;
  line-height: 0.98;
}

.sample-section-heading > p {
  max-width: 46ch;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
}

.sample-section-heading > .sample-text-link {
  width: fit-content;
  justify-self: end;
}

.sample-services {
  padding-bottom: calc(var(--dp-section) * 0.62);
  background: var(--sample-white);
}

.sample-services__grid {
  display: grid;
  border-top: 1px solid var(--sample-line);
  border-bottom: 1px solid var(--sample-line);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sample-service {
  display: flex;
  min-width: 0;
  min-height: 0;
  align-items: flex-start;
  flex-direction: column;
  padding: 34px clamp(24px, 2.6vw, 36px) 26px;
  border-right: 1px solid var(--sample-line);
}

.sample-service:last-child {
  border-right: 0;
}

.sample-service > img {
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  filter: grayscale(1) brightness(0.35) contrast(1.4);
  object-fit: contain;
}

.sample-service h3 {
  margin-bottom: 16px;
  font-size: clamp(1.3rem, 1.8vw, 1.75rem);
  font-weight: 620;
}

.sample-service p {
  max-width: 36ch;
  margin-bottom: 24px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.sample-service > a {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  margin-top: auto;
  border-top: 1px solid var(--sample-line);
  color: var(--sample-ink);
  font-size: var(--dp-meta);
  font-weight: 700;
}

.sample-feature {
  padding-top: calc(var(--dp-section) * 0.62);
  background: var(--sample-white);
}

.sample-feature__grid {
  display: grid;
  align-items: center;
  gap: clamp(40px, 4.6vw, 72px);
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.sample-feature__image {
  height: clamp(340px, 32vw, 460px);
  margin: 0;
  overflow: hidden;
  background: var(--sample-soft);
}

.sample-feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sample-feature__content h2,
.sample-process__content h2,
.sample-stories__content > h2 {
  max-width: 15ch;
  margin-bottom: 22px;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  font-weight: 570;
  line-height: 0.98;
  text-wrap: balance;
}

.sample-feature__content > p {
  max-width: 50ch;
  margin-bottom: 30px;
  font-size: 1rem;
  line-height: 1.68;
}

.sample-feature__links {
  max-width: 610px;
  margin-bottom: 34px;
  border-top: 1px solid var(--sample-line);
}

.sample-feature__links a {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--sample-line);
  color: var(--sample-ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.sample-feature__links a span:last-child {
  font-size: 1.12rem;
  font-weight: 400;
  transition: transform 180ms var(--sample-ease);
}

.sample-feature__links a:hover span:last-child {
  transform: rotate(90deg);
}

.sample-process {
  background: var(--sample-soft);
}

.sample-process__grid {
  display: grid;
  align-items: center;
  gap: clamp(40px, 4.6vw, 76px);
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
}

.sample-process__content {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding-block: 34px;
}

.sample-process__steps {
  width: 100%;
  padding: 0;
  margin: 10px 0 30px;
  border-top: 1px solid var(--sample-line);
  list-style: none;
}

.sample-process__steps li {
  display: grid;
  align-items: start;
  gap: 20px;
  padding-block: 24px;
  border-bottom: 1px solid var(--sample-line);
  grid-template-columns: 34px minmax(0, 1fr);
}

.sample-process__steps li > span {
  display: grid;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--dp-brass);
  color: var(--dp-on-brass);
  font-size: var(--dp-meta);
  font-weight: 700;
  place-items: center;
}

.sample-process__steps h3 {
  margin-bottom: 7px;
  font-size: 1rem;
  font-weight: 650;
}

.sample-process__steps p {
  max-width: 50ch;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.62;
}

.sample-process__image {
  min-height: clamp(340px, 32vw, 460px);
  margin: 0;
  overflow: hidden;
  background: #ddd;
}

.sample-process__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sample-projects {
  background: var(--sample-white);
}

.sample-projects__grid {
  display: grid;
  align-items: start;
  gap: clamp(20px, 2.2vw, 30px) clamp(16px, 1.8vw, 24px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

/* The catalogue reads as a grid, not a decorative stagger. */

.sample-project figure {
  height: clamp(220px, 21vw, 290px);
  margin: 0 0 14px;
  overflow: hidden;
  background: var(--sample-soft);
}

.sample-project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--sample-ease);
}

.sample-project:hover img {
  transform: scale(1.025);
}

.sample-project > div {
  position: relative;
  padding-right: 32px;
}

.sample-project h3 {
  margin-bottom: 3px;
  font-size: 1rem;
  font-weight: 650;
}

.sample-project p {
  margin: 0;
  font-size: var(--dp-meta);
}

.sample-project > div > span {
  position: absolute;
  top: 1px;
  right: 2px;
}

.sample-stories {
  background: var(--sample-soft);
}

.sample-stories__grid {
  display: grid;
  align-items: end;
  gap: clamp(36px, 4vw, 60px);
  grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1.38fr);
}

.sample-stories__image {
  height: clamp(340px, 32vw, 460px);
  margin: 0;
  overflow: hidden;
  background: #ddd;
}

.sample-stories__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
}

.sample-stories__content > h2 {
  max-width: 15ch;
  margin-bottom: 32px;
}

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

.sample-stories blockquote {
  display: flex;
  min-height: 254px;
  align-items: flex-start;
  flex-direction: column;
  padding: 30px 30px 28px;
  margin: 0;
  background: var(--sample-ink);
  color: var(--sample-white);
}

.sample-stories__quote {
  margin-bottom: 18px;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 0.7;
}

.sample-stories blockquote p {
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  line-height: 1.68;
}

.sample-stories blockquote footer {
  margin-top: auto;
  color: var(--sample-white);
  font-size: var(--dp-meta);
  font-weight: 700;
}

.sample-search {
  padding-block: clamp(96px, 10vw, 148px);
  background: var(--sample-white);
  text-align: center;
}

.sample-search__inner {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.sample-search h2 {
  max-width: 20ch;
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  font-weight: 570;
  line-height: 0.98;
  text-wrap: balance;
}

.sample-search p {
  max-width: 52ch;
  margin-bottom: 34px;
  font-size: 0.9rem;
  line-height: 1.65;
}

.sample-search form {
  display: grid;
  width: min(760px, 100%);
  min-height: 60px;
  overflow: hidden;
  border: 1px solid var(--sample-ink);
  border-radius: var(--dp-radius);
  grid-template-columns: minmax(0, 1fr) auto;
}

.sample-search input {
  min-width: 0;
  padding: 15px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--sample-ink);
  font: inherit;
  font-size: 0.9rem;
}

.sample-search input::placeholder {
  color: #6a6a67;
  opacity: 1;
}

.sample-search button {
  display: inline-flex;
  min-width: 132px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-inline: 20px;
  border: 0;
  border-left: 1px solid var(--sample-ink);
  border-radius: 0;
  background: var(--sample-ink);
  color: var(--sample-white);
  font-size: var(--dp-meta);
  font-weight: 700;
}

.sample-search button:hover,
.sample-search button:focus-visible {
  background: #333;
}

.is-designplus-home .company-footer {
  background: var(--sample-ink);
}

.is-designplus-home .company-footer__grid {
  padding-block: clamp(58px, 7vw, 88px);
}

.is-designplus-home .company-footer__identity h2 {
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.is-designplus-home .company-footer__column h3 {
  color: var(--sample-white);
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 1180px) {
  :root {
    --dp-header-height: 88px;
  }
}

@media (max-width: 980px) {
  /* Two-up beats one column with a void beside it. Splits and grids hold
     their columns here and only collapse when a column stops being readable. */
  .sample-feature__grid,
  .sample-process__grid,
  .sample-stories__grid {
    gap: clamp(28px, 4vw, 44px);
  }

  .sample-partners {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .sample-partners__label {
    padding-left: 32px;
  }

  .sample-section-heading {
    gap: 18px;
    grid-template-columns: 34px minmax(0, 1fr) minmax(190px, 0.5fr);
  }

  .sample-projects__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Three services in two columns would strand the last one beside a void,
     so they become full-width rows that read left to right instead. */
  .sample-services__grid {
    grid-template-columns: 1fr;
  }

  .sample-service {
    display: grid;
    align-items: center;
    gap: 4px clamp(20px, 3vw, 34px);
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--sample-line);
    grid-template-columns: 42px minmax(0, 1fr) minmax(150px, 0.42fr);
  }

  .sample-service:last-child {
    border-bottom: 0;
  }

  .sample-service > img {
    margin-bottom: 0;
    grid-row: span 2;
  }

  .sample-service h3 {
    margin-bottom: 0;
    align-self: end;
  }

  .sample-service p {
    max-width: none;
    margin-bottom: 0;
    align-self: start;
    grid-column: 2;
  }

  .sample-service > a {
    width: auto;
    padding-top: 0;
    margin-top: 0;
    border-top: 0;
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .sample-feature__image,
  .sample-stories__image {
    height: clamp(280px, 34vw, 380px);
  }

  .sample-process__image {
    min-height: clamp(280px, 34vw, 380px);
  }

  .sample-project figure {
    height: clamp(200px, 26vw, 260px);
  }
}

/* Splits become reading sequences only once a column stops being readable. */
@media (max-width: 780px) {
  .sample-feature__grid,
  .sample-process__grid,
  .sample-stories__grid {
    grid-template-columns: 1fr;
  }

  .sample-feature__image,
  .sample-stories__image {
    height: clamp(240px, 44vw, 340px);
  }

  .sample-process__image {
    min-height: clamp(240px, 44vw, 340px);
  }

  .sample-section-heading {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .sample-section-heading > p,
  .sample-section-heading > .sample-text-link {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 700px) {
  :root {
    --dp-header-height: 72px;
  }

  .brand .custom-logo,
  .brand__logo {
    max-width: 132px;
    height: 44px;
  }

  .sample-button,
  .sample-text-link {
    min-height: 46px;
  }

  .sample-partners {
    grid-template-columns: 1fr;
  }

  .sample-partners__label {
    min-height: 68px;
    padding-inline: 20px;
    border-right: 0;
    border-bottom: 1px solid var(--sample-line);
  }

  .sample-partners__logo {
    width: 132px;
    height: 96px;
    flex-basis: 132px;
    padding-inline: 18px;
  }

  .sample-partners__logo img {
    max-height: 40px;
  }

  .sample-section,
  .sample-services,
  .sample-feature {
    padding-block: 72px;
  }

  .sample-section-heading {
    gap: 18px;
    margin-bottom: 42px;
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .sample-section-heading > span {
    width: 28px;
  }

  .sample-section-heading h2 {
    font-size: clamp(2.4rem, 12vw, 3.2rem);
  }

  .sample-section-heading > p,
  .sample-section-heading > .sample-text-link {
    grid-column: 1 / -1;
  }

  .sample-services__grid {
    grid-template-columns: 1fr;
  }

  .sample-service {
    padding: 28px 0 24px;
    border-right: 0;
    border-bottom: 1px solid var(--sample-line);
  }

  .sample-service:last-child {
    border-bottom: 0;
  }

  .sample-service > img {
    width: 48px;
    height: 48px;
  }

  .sample-feature__grid,
  .sample-process__grid,
  .sample-stories__grid {
    gap: 40px;
  }

  .sample-feature__image {
    height: 330px;
  }

  .sample-feature__content h2,
  .sample-process__content h2,
  .sample-stories__content > h2 {
    font-size: clamp(2.4rem, 12vw, 3.8rem);
  }

  .sample-process__content {
    padding-block: 0;
  }

  .sample-process__image {
    height: 430px;
  }

  .sample-projects__grid {
    grid-template-columns: 1fr;
  }

  .sample-project figure {
    height: clamp(230px, 56vw, 300px);
  }

  .sample-stories__image {
    height: 380px;
  }

  .sample-stories__content > h2 {
    margin-bottom: 34px;
  }

  .sample-stories__cards {
    grid-template-columns: 1fr;
  }

  .sample-stories blockquote {
    min-height: 280px;
  }

  .sample-search {
    padding-block: 82px;
  }

  .sample-search h2 {
    font-size: clamp(2.4rem, 12vw, 3.8rem);
  }

  .sample-search form {
    min-height: 58px;
  }

  .sample-search button {
    min-width: 102px;
    padding-inline: 14px;
  }
}

@media (max-width: 360px) {

  .sample-search form {
    gap: 10px;
    border: 0;
    grid-template-columns: 1fr;
  }

  .sample-search input {
    min-height: 58px;
    border: 1px solid var(--sample-ink);
  }

  .sample-search button {
    min-height: 54px;
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sample-partners__track {
    animation: none;
  }

  .sample-partners__viewport {
    overflow-x: auto;
  }

  .sample-partners__group[aria-hidden="true"] {
    display: none;
  }
}


/* ---------------------------------------------------------------------------
   Mobile quality floor.
   Sizes that read fine on a 1440px canvas fall below comfort on a phone: the
   0.66rem metadata step lands at 10.6px, and several controls were under the
   44px touch target — the nav submenu toggle at 30px, the footer legal links
   at 18px. This raises the floor without changing the desktop composition.
   --------------------------------------------------------------------------- */
@media (max-width: 760px) {
  :root {
    --dp-micro: 0.82rem;
    --dp-meta: 0.86rem;
  }

  /* Readable floor for metadata, labels and small print. */
  .eyebrow,
  .article-card time,
  .project-card__kicker,
  .designer-card__view,
  .editorial-article__meta,
  .editorial-article__rail dt,
  .editorial-article__rail dd,
  .dp-hero__stats dd,
  .dp-hero__types-count,
  .directory-filters label > span,
  .dp-form label > span,
  .estimate-card label > span,
  .company-details dt,
  .company-details dd,
  .company-footer__base,
  .company-footer__base a,
  .menu-toggle__label,
  .sample-project p,
  .sample-hero__stats span,
  .article-card p,
  .directory-results__bar {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .sample-service p,
  .sample-process__steps p,
  .sample-stories blockquote p,
  .reference-card p,
  .designer-card p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  /* Comfortable touch targets. */
  .submenu-toggle {
    display: grid;
    min-width: 44px;
    min-height: 44px;
    place-items: center;
  }

  .company-footer__base nav a,
  .company-footer__column a,
  .social-links a,
  .utility-nav a,
  .style-chip-list a,
  .faq-list summary,
  .directory-results__bar a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .company-footer__base nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0 22px;
  }

  .arrow-link,
  .sample-text-link,
  .text-link {
    min-height: 44px;
  }

  /* Email and phone are the primary actions on a phone. */
  .contact-details a,
  .company-footer__contact a,
  .dp-hero__stats dt a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  /* Form controls sized for thumbs. */
  .directory-filters input,
  .directory-filters select,
  .dp-form input,
  .dp-form select,
  .dp-form textarea,
  .estimate-card input,
  .estimate-card select {
    min-height: 48px;
    font-size: 1rem; /* stops iOS Safari zooming the page on focus */
  }

  .dp-hero__search input,
  .sample-search input {
    font-size: 1rem;
  }

  /* The counts read better as an even three across than 2 + 1 orphan. */
  .dp-hero__stats {
    display: grid;
    gap: 14px 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dp-hero__stats dt {
    font-size: 1.5rem;
  }
}

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

  .dp-hero__types {
    grid-template-columns: 1fr;
  }

  .dp-hero__types a {
    min-height: 88px;
    border-right: 0;
  }
}
