/* Lambert Property Developments — homepage concept
   Palette taken from the materials in their work:
   K-rend (render), black zinc (zinc), slate, Edinburgh sandstone (sand). */

:root {
  --render: #E6E5E1;
  --render-deep: #D9D7D1;
  --zinc: #222527;
  --zinc-soft: #2C3033;
  --slate: #5C6266;
  --sand: #B8956A;
  --sand-ink: #7A5C34;
  --sand-light: #CFB083;
  --line: rgba(34, 37, 39, 0.16);
  --line-light: rgba(230, 229, 225, 0.18);

  --font-display: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --font-text: "Newsreader", "Iowan Old Style", Georgia, serif;

  --gutter: clamp(20px, 4vw, 56px);
  --gap: clamp(16px, 2vw, 32px);
  --max: 1560px;
  --header-h: 76px;
  /* aligns full-width bands with the centred content column */
  --edge: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--render);
  color: var(--zinc);
  font-family: var(--font-text);
  font-size: clamp(1.0625rem, 0.98rem + 0.25vw, 1.1875rem);
  font-weight: 400;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

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

a { color: inherit; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 { margin: 0; font-weight: 300; }

figure { margin: 0; }

dl, dd { margin: 0; }

:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--zinc);
  color: var(--render);
  font-family: var(--font-display);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Shared pieces ---------- */

.label {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}
.label--light { color: var(--sand-light); }

.tag {
  margin: 0;
  font-family: var(--font-text);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--sand-ink);
}

.frame {
  position: relative;
  overflow: hidden;
  background: var(--render-deep);
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}
.frame--portrait { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 11; }
.frame--square { aspect-ratio: 1 / 1; }
.frame--tall { aspect-ratio: 2 / 3; }

figcaption {
  margin-top: 12px;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--slate);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
  padding: 1.05em 1.5em;
  border: 0;
  border-radius: 0;
  background: var(--zinc);
  color: var(--render);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.button::after {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: width 0.25s ease;
}
.button:hover { background: var(--zinc-soft); }
.button:hover::after { width: 28px; }
.button--sand { background: var(--sand); color: var(--zinc); }
.button--sand:hover { background: var(--sand-light); }

.text-link {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--sand);
  transition: border-color 0.25s ease;
}
.text-link:hover { border-bottom-color: var(--zinc); }

/* ---------- Wordmark ---------- */

.wordmark {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-right: auto;
  text-decoration: none;
}
.wordmark__mono {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--zinc);
}
@supports (-webkit-text-stroke: 1px black) {
  .wordmark__mono {
    color: transparent;
    -webkit-text-stroke: 1px var(--zinc);
  }
  .wordmark__mono--light { -webkit-text-stroke-color: var(--render); }
}
.wordmark__name {
  padding-left: 14px;
  border-left: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  min-height: var(--header-h);
  padding: 12px var(--edge);
  background: var(--render);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.site-nav { display: none; }
.site-nav a,
.site-header__phone {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}
.site-nav a {
  position: relative;
  padding-block: 6px;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--sand);
  transition: right 0.25s ease;
}
.site-nav a:hover::after { right: 0; }

.site-header__phone { display: none; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border: 0;
  background: none;
  color: var(--zinc);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-toggle::before {
  content: "";
  width: 22px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}
.menu-toggle[aria-expanded="true"]::before {
  height: 1px;
  border-bottom: 0;
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px var(--gutter) 40px;
  background: var(--zinc);
  color: var(--render);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.mobile-menu__contact {
  display: grid;
  gap: 8px;
  font-size: 1rem;
  word-break: break-word;
}
.mobile-menu__contact a { color: var(--sand-light); }

@media (min-width: 960px) {
  .site-nav { display: flex; gap: clamp(24px, 2.6vw, 44px); }
  .site-header__phone {
    display: inline-block;
    padding-left: clamp(16px, 2vw, 32px);
    border-left: 1px solid var(--line);
  }
  .menu-toggle,
  .mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  gap: 20px;
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(16px, 3vw, 36px) var(--gutter) clamp(64px, 9vw, 128px);
}

.hero__word {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 14vw, 5.75rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.hero__word--a { order: 0; }
.hero__word--b { order: 1; margin-top: -0.06em; }
.hero__figure { order: 2; margin-top: 12px; }
.hero__intro { order: 3; }
.br-wide { display: none; }

.hero__figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 30%;
}
.hero__caption {
  max-width: 34ch;
  font-style: italic;
}

.hero__intro {
  margin-top: 12px;
}
.hero__intro p {
  max-width: 28ch;
  margin-bottom: 28px;
  font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.5rem);
  line-height: 1.35;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
}

/* tablet: words left, image right */
@media (min-width: 760px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    column-gap: var(--gap);
    row-gap: 0;
  }
  .hero__word--a { grid-column: 1; grid-row: 1; }
  .hero__word--b { grid-column: 1; grid-row: 2; margin-top: 0; }
  .hero__figure { grid-column: 2; grid-row: 1 / 4; margin-top: 0; }
  .hero__intro { grid-column: 1; grid-row: 3; align-self: end; margin-top: 32px; }
  .hero__word { font-size: clamp(4rem, 9vw, 6rem); }
  .br-wide { display: inline; }
}

/* desktop: the words flank a single tall photograph */
@media (min-width: 1200px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    column-gap: clamp(28px, 2.8vw, 52px);
    min-height: calc(100svh - var(--header-h));
    align-content: start;
  }
  .hero__figure {
    grid-column: 2;
    grid-row: 1 / 4;
    position: relative;
    width: calc(min(80svh, 860px) * 0.64);
  }
  .hero__figure img { aspect-ratio: 16 / 25; object-position: 50% 42%; }
  .hero__caption {
    position: absolute;
    top: 0;
    left: calc(100% + clamp(28px, 2.8vw, 52px));
    width: min(24ch, 22vw);
    margin: 0;
    font-size: 0.875rem;
  }
  .hero__word { font-size: clamp(4.25rem, 6.9vw, 8rem); }
  .hero__word--a {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    text-align: right;
    margin-top: -0.06em;
  }
  .hero__word--b {
    grid-column: 3;
    grid-row: 3;
    align-self: end;
    justify-self: start;
    margin-bottom: -0.1em;
  }
  .hero__intro {
    grid-column: 1;
    grid-row: 3;
    align-self: end;
    margin: 0;
  }
}

/* ---------- Intro ---------- */

.intro {
  position: relative;
  display: grid;
  gap: clamp(40px, 5vw, 72px);
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(64px, 9vw, 140px) var(--gutter);
}
.intro::before {
  content: "";
  position: absolute;
  top: 0; left: var(--gutter); right: var(--gutter);
  border-top: 1px solid var(--line);
}
.intro__lead {
  max-width: 32ch;
  margin: 0;
  font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.75rem);
  font-weight: 300;
  line-height: 1.22;
  letter-spacing: -0.012em;
}
.intro__facts {
  display: grid;
  border-top: 1px solid var(--line);
}
.intro__facts div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.intro__facts dt {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  padding-top: 0.3em;
}
.intro__facts dd {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  text-align: right;
}

@media (min-width: 960px) {
  .intro { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .intro__lead { grid-column: 3 / 12; }
  .intro__facts {
    grid-column: 3 / 13;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: var(--gap);
    border-top: 0;
  }
  .intro__facts div {
    flex-direction: column;
    gap: 6px;
    border-top: 1px solid var(--line);
    border-bottom: 0;
  }
  .intro__facts dd { text-align: left; font-size: 1.1875rem; }
}

/* ---------- Work ---------- */

.work__head {
  display: grid;
  gap: 20px;
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(24px, 3vw, 48px) var(--gutter) clamp(24px, 3vw, 40px);
}
.work__title {
  max-width: 13ch;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.6rem + 4vw, 6rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.work__lede {
  max-width: 40ch;
  color: var(--slate);
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
}
@media (min-width: 960px) {
  .work__head {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    align-items: end;
  }
  .work__head .label { grid-column: 1 / -1; }
  .work__title { grid-column: 1 / 8; }
  .work__lede { grid-column: 9 / 13; margin-bottom: 0.4em; }
}

.spread {
  position: relative;
  display: grid;
  gap: 20px;
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 96px) var(--gutter) clamp(64px, 9vw, 128px);
}
.spread::before {
  content: "";
  position: absolute;
  top: 0; left: var(--gutter); right: var(--gutter);
  border-top: 1px solid var(--line);
}

.spread__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 24px;
}
.spread__place {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* the "was" photograph is shown as it was: in grey, and small */
.spread__was { width: min(62%, 320px); }
.spread__was img { filter: grayscale(1) contrast(1.04) brightness(1.03); }
.spread__was figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  color: var(--zinc);
}
.spread__was-what {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
}

.spread__statement {
  max-width: 16ch;
  margin: 6px 0 20px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.75rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.spread__body { max-width: 44ch; }

.spread__detail {
  width: min(72%, 440px);
  margin-left: auto;
}

@media (min-width: 960px) {
  .spread {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    row-gap: clamp(28px, 3vw, 48px);
  }
  .spread__head { grid-column: 1 / -1; }
  .spread__was,
  .spread__detail { width: auto; margin: 0; }

  /* A: was beside, now large, detail lapping over the now image */
  .spread--a .spread__was { grid-column: 1 / 4; grid-row: 2; align-self: start; }
  .spread--a .spread__now { grid-column: 5 / 13; grid-row: 2; }
  .spread--a .spread__text { grid-column: 1 / 8; grid-row: 3; }
  .spread--a .spread__detail {
    grid-column: 9 / 13;
    grid-row: 3;
    margin-top: calc(-1 * clamp(96px, 11vw, 200px));
    position: relative;
  }
  .spread--a .spread__detail .frame { outline: clamp(10px, 1.1vw, 16px) solid var(--render); }

  /* B: now first and tall, was and text to its right */
  .spread--b .spread__now { grid-column: 1 / 7; grid-row: 2 / 4; }
  .spread--b .spread__was { grid-column: 8 / 11; grid-row: 2; align-self: start; }
  .spread--b .spread__text { grid-column: 8 / 13; grid-row: 3; align-self: end; }

  /* C: was low on the left, now in the middle, words and detail right */
  .spread--c .spread__was { grid-column: 1 / 4; grid-row: 2 / 4; align-self: end; }
  .spread--c .spread__now { grid-column: 4 / 10; grid-row: 2 / 4; align-self: start; }
  .spread--c .spread__text { grid-column: 10 / 13; grid-row: 2; align-self: start; }
  .spread--c .spread__detail { grid-column: 10 / 13; grid-row: 3; align-self: end; }
  .spread--c .spread__statement { font-size: clamp(1.9rem, 1.2rem + 1.5vw, 2.75rem); }
}

.work__more {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px var(--gutter) clamp(72px, 9vw, 140px);
  color: var(--slate);
}
.work__more::before {
  content: "";
  position: absolute;
  top: 0; left: var(--gutter); right: var(--gutter);
  border-top: 1px solid var(--line);
}
.work__more .text-link {
  display: inline-block;
  margin-left: 0.4em;
  color: var(--zinc);
  white-space: nowrap;
}

/* ---------- Morningside plate ---------- */

.plate {
  background: var(--zinc);
  color: var(--render);
}
.plate__image img {
  width: 100%;
  height: clamp(380px, 78svh, 860px);
  object-fit: cover;
  object-position: 50% 34%;
}
.plate__body {
  display: grid;
  gap: 40px;
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(48px, 7vw, 112px) var(--gutter) clamp(64px, 9vw, 140px);
}
.plate__title {
  max-width: 14ch;
  margin: 16px 0 24px;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.5rem + 3vw, 4.75rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
}
.plate__text p:not(.label) {
  max-width: 46ch;
  color: rgba(230, 229, 225, 0.82);
}
.plate__inset { width: min(78%, 420px); margin-left: auto; }
.plate__inset .frame { background: var(--zinc-soft); }
.plate__inset figcaption { color: rgba(230, 229, 225, 0.66); }

@media (min-width: 960px) {
  .plate__body {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
  }
  .plate__text { grid-column: 1 / 7; }
  .plate__inset {
    grid-column: 8 / 12;
    width: auto;
    margin: calc(-1 * clamp(140px, 16vw, 300px)) 0 0;
    position: relative;
  }
  .plate__inset .frame { outline: clamp(10px, 1.1vw, 16px) solid var(--zinc); }
}

/* ---------- About / the joiner ---------- */

.joiner {
  display: grid;
  gap: 32px;
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(72px, 10vw, 160px) var(--gutter);
}
.joiner__chair { width: min(56%, 300px); }
.joiner__chair img { width: 100%; }
.joiner__title {
  max-width: 17ch;
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.75rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.joiner__text p:not(.label) { max-width: 46ch; }

.joiner__details {
  display: grid;
  gap: 40px;
  margin-top: clamp(24px, 4vw, 64px);
}

@media (min-width: 700px) {
  .joiner__details {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap);
    align-items: start;
  }
  .joiner__detail:nth-child(2) { margin-top: clamp(48px, 6vw, 112px); }
  .joiner__detail:nth-child(3) { margin-top: clamp(24px, 3vw, 56px); }
}

@media (min-width: 960px) {
  .joiner {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    row-gap: 0;
  }
  .joiner__chair { grid-column: 2 / 5; width: auto; }
  .joiner__text { grid-column: 6 / 12; align-self: center; }
  .joiner__details { grid-column: 1 / -1; }
}

/* ---------- Services ---------- */

.services {
  position: relative;
  display: grid;
  gap: 48px;
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(64px, 9vw, 140px) var(--gutter);
}
.services::before {
  content: "";
  position: absolute;
  top: 0; left: var(--gutter); right: var(--gutter);
  border-top: 1px solid var(--line);
}
.services__media { order: 2; }
.services__content { order: 1; }
.services__title {
  margin: 0 0 36px;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.5rem + 3vw, 4.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
}
.services__list { border-top: 1px solid var(--line); }
.services__list div {
  display: grid;
  gap: 6px;
  padding: 20px 0 22px;
  border-bottom: 1px solid var(--line);
}
.services__list dt {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.services__list dd {
  max-width: 48ch;
  color: var(--slate);
}

@media (min-width: 960px) {
  .services {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    align-items: start;
  }
  .services__media {
    order: 0;
    grid-column: 1 / 6;
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
  .services__content { order: 0; grid-column: 7 / 13; }
  .services__list div {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: var(--gap);
    align-items: baseline;
  }
}

/* ---------- Review ---------- */

.review {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 64px) var(--gutter) clamp(80px, 11vw, 176px);
}
.review__quote { margin: 0; }
.review__quote p {
  max-width: 22ch;
  margin: 0;
  font-family: var(--font-text);
  font-size: clamp(2rem, 1.2rem + 3.6vw, 5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-indent: -0.42em;
}
.review__cite {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--zinc);
}
.review__cite span { color: var(--slate); }

@media (min-width: 960px) {
  .review {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
  }
  .review__quote,
  .review__cite { grid-column: 3 / 12; }
}

/* ---------- Contact ---------- */

.contact {
  display: grid;
  gap: 56px;
  padding: clamp(72px, 10vw, 160px) var(--edge) clamp(64px, 8vw, 120px);
  background: var(--zinc);
  color: var(--render);
}
.contact__title {
  max-width: 12ch;
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.6rem + 3.8vw, 5.5rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.contact__lede {
  max-width: 34ch;
  color: rgba(230, 229, 225, 0.8);
}
.contact__direct {
  margin-top: 40px;
  border-top: 1px solid var(--line-light);
}
.contact__direct div {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-light);
}
.contact__direct dt {
  padding-top: 0.35em;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(230, 229, 225, 0.6);
}
.contact__direct dd {
  overflow-wrap: anywhere;
  font-family: var(--font-display);
  font-size: 1.0625rem;
}
@media (max-width: 479px) {
  .contact__direct div { grid-template-columns: 1fr; gap: 4px; }
  .contact__direct dt { padding-top: 0; }
}
.contact__direct a {
  text-decoration: none;
  border-bottom: 1px solid rgba(207, 176, 131, 0.5);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.contact__direct a:hover { color: var(--sand-light); border-bottom-color: var(--sand-light); }

.contact__form {
  display: grid;
  gap: 28px var(--gap);
  align-content: start;
}
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(230, 229, 225, 0.7);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid rgba(230, 229, 225, 0.35);
  border-radius: 0;
  background: transparent;
  color: var(--render);
  font-family: var(--font-text);
  font-size: 1.1875rem;
  line-height: 1.4;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder { color: rgba(230, 229, 225, 0.38); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--sand-light);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  box-shadow: 0 2px 0 0 var(--sand-light);
}
.field [aria-invalid="true"] { border-bottom-color: #E49B83; }
.field__error {
  margin: 0;
  font-size: 0.9375rem;
  color: #F0B9A6;
}
.select { position: relative; }
.select::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-75%) rotate(45deg);
  pointer-events: none;
}
.select select { padding-right: 28px; cursor: pointer; }
.select option { color: var(--zinc); }

.contact__submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 8px;
}
.contact__note {
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(230, 229, 225, 0.6);
}

@media (min-width: 700px) {
  .contact__form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--full,
  .contact__submit { grid-column: 1 / -1; }
}

@media (min-width: 1040px) {
  .contact {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
  }
  .contact > * { min-width: 0; }
  .contact__intro { grid-column: 1 / 6; }
  .contact__form { grid-column: 7 / 13; padding-top: 2.4rem; }
}


/* ---------- Footer ---------- */

.site-footer {
  display: grid;
  gap: 28px;
  padding: 40px var(--edge) 48px;
  background: var(--zinc);
  color: rgba(230, 229, 225, 0.7);
  border-top: 1px solid var(--line-light);
  font-family: var(--font-display);
  font-size: 0.9375rem;
}
.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.site-footer__brand p { margin: 0; line-height: 1.45; }
.site-footer__links { display: flex; gap: 24px; }
.site-footer__links a {
  color: var(--render);
  text-decoration: none;
  border-bottom: 1px solid rgba(207, 176, 131, 0.5);
}
.site-footer__links a:hover { color: var(--sand-light); }
.site-footer__legal { margin: 0; }

@media (min-width: 960px) {
  .site-footer {
    grid-template-columns: 1fr auto auto;
    align-items: center;
    column-gap: 56px;
  }
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { transition: none !important; }
}
