@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('assets/PlusJakartaSans-Variable.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
* { box-sizing: border-box; }
:root { --paper: #faf9f6; --ink: #282a27; --gutter: clamp(24px, 5.3vw, 88px); }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Plus Jakarta Sans', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
main, footer { max-width: 1800px; margin-inline: auto; }
a { color: inherit; text-underline-offset: 5px; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
h1, h2, p, figure { margin: 0; }
h1, h2 { font-family: 'Plus Jakarta Sans', 'Helvetica Neue', sans-serif; font-weight: 400; letter-spacing: -.035em; line-height: 1.05; }
.hero { position: relative; isolation: isolate; aspect-ratio: 3 / 2; max-height: 1000px; color: white; overflow: hidden; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; z-index: -2; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgb(16 25 30 / 28%), transparent 58%), linear-gradient(0deg, rgb(14 22 14 / 16%), transparent 28%); }
.hero h1 { position: absolute; top: 13%; left: var(--gutter); font-size: clamp(52px, 7.5vw, 132px); letter-spacing: -.035em; }
.hero-brand { position: absolute; right: var(--gutter); bottom: 6%; width: clamp(150px, 24vw, 350px); }
.hero-brand img { display: block; width: 100%; height: auto; filter: brightness(0) invert(1); }
.navigation { display: flex; justify-content: flex-end; gap: 32px; padding: 25px var(--gutter); font-size: 13px; }
.navigation a { text-decoration: none; }
.navigation a:hover { text-decoration: underline; }
.places { padding: 56px var(--gutter) 100px; }
.places h2 { font-size: clamp(42px, 5.25vw, 86px); max-width: 1350px; }
.intro { max-width: 900px; margin: 46px 0 0 16%; font-size: clamp(21px, 2.35vw, 34px); line-height: 1.45; letter-spacing: -.025em; }
.projects {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: clamp(24px, 5svh, 52px) clamp(6px, 1vw, 18px);
  margin-top: clamp(28px, 4vw, 64px);
}
.project { min-width: 0; }
.project:nth-child(1) { grid-column: 1 / 8; }
.project:nth-child(2) { grid-column: 9 / 13; margin-top: clamp(32px, 11svh, 115px); }
.project:nth-child(3) { grid-column: 2 / 6; margin-top: calc(-.4 * min(100%, 33svh) - 14px); }
.project:nth-child(4) { grid-column: 7 / 13; margin-top: clamp(32px, 11svh, 115px); }
.project--landscape { width: min(100%, 78svh); }
.project--portrait { width: min(100%, 33svh); }
.project:nth-child(2) { justify-self: end; }
.project p {
  margin-top: 12px;
  max-width: 34ch;
  font-size: clamp(14px, 1.4vw, 20px);
  line-height: 1.45;
  text-wrap: pretty;
}
.image-space { background: #eeede8; }
.project--landscape .image-space { aspect-ratio: 16 / 9; }
.project--portrait .image-space { aspect-ratio: 3 / 4; }
.image-space img { display: block; width: 100%; height: 100%; object-fit: cover; }
.craft { margin: 0 var(--gutter) 24px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 9%; align-items: end; }
.craft h2 { font-size: clamp(56px, 7.1vw, 112px); }
.craft p { max-width: 440px; font-size: clamp(19px, 1.8vw, 26px); line-height: 1.5; padding-bottom: 5px; }
.build-pair {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: start;
  gap: clamp(24px, 8vw, 112px);
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 52px) var(--gutter) clamp(36px, 5vw, 72px);
}
.build-pair-item--quality { margin-top: clamp(48px, 9vw, 132px); }
.build-pair-block { margin-bottom: clamp(18px, 2vw, 30px); }
.build-pair-item--materials .build-pair-block { aspect-ratio: 16 / 10; background: #c4b5a0; }
.build-pair-item--quality .build-pair-block { aspect-ratio: 4 / 5; background: #7b857a; }
.build-pair-item h2 { font-size: clamp(26px, 3.2vw, 50px); }
.build-pair-item p {
  max-width: 46ch;
  margin-top: 12px;
  font-size: clamp(15px, 1.5vw, 20px);
  line-height: 1.55;
  text-wrap: pretty;
}
.dockleaf-home { padding: 40px var(--gutter) 90px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 9%; }
.dockleaf-home h2 { font-size: clamp(36px, 4.2vw, 66px); }
.dockleaf-home p { font-size: clamp(18px, 1.6vw, 23px); line-height: 1.65; }
.eastland-next { row-gap: clamp(24px, 3vw, 48px); }
.eastland-landscape {
  grid-column: 1 / -1;
  aspect-ratio: 2.35 / 1;
  background: #89979a;
}
.partnership { display: block; padding-block: 40px 80px; margin-bottom: 70px; }
.partnership-opening { display: grid; grid-template-columns: 1fr 1.2fr; gap: 9%; margin-bottom: 54px; }
.partnership-portraits {
  --portrait-gap: clamp(12px, 3.5vw, 52px);
  --caption-inset: clamp(5px, 1.3vw, 14px);
  container-type: inline-size;
  display: grid;
  grid-template-columns: minmax(0, 53fr) minmax(0, 47fr);
  column-gap: var(--portrait-gap);
  width: 70%;
  max-width: 532px;
  margin-inline: auto;
}
.partnership-photo {
  /* One third of Tim’s image height, based on its column and intrinsic ratio. */
  --tim-image-third: calc((100cqi - var(--portrait-gap)) * .53 * 1488 / 1072 / 3);
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  align-items: start;
}
.partnership-photo--tim img { clip-path: inset(0 0 0 1.5%); }
.partnership-photo--tim figcaption {
  align-self: center;
  margin-bottom: var(--tim-image-third);
  translate: calc(-1 * var(--caption-inset)) -12px;
}
.partnership-photo--sally {
  margin-top: calc(-.4 * var(--tim-image-third));
  translate: calc(var(--portrait-gap) / -2) 0;
}
.partnership-photo--sally img {
  grid-area: 1 / 2;
  aspect-ratio: 1136 / 1170;
  object-fit: cover;
  object-position: top;
}
.partnership-photo--sally figcaption {
  grid-area: 1 / 1;
  align-self: end;
  justify-self: end;
  text-align: right;
  translate: var(--caption-inset) 0;
}
.partnership-photo img { display: block; width: 100%; height: auto; }
.partnership-photo figcaption {
  max-width: 34ch;
  font-size: clamp(14px, 1.25vw, 17px);
  line-height: 1.5;
  text-wrap: pretty;
}
.dockleaf-home .aftercare-introduction { margin-bottom: 1.2em; }
.contact-footer { padding-top: 50px; }
address { font-style: normal; display: flex; flex-direction: column; gap: 16px; font-size: 22px; }
@media (max-width: 700px) {
  .hero { aspect-ratio: 4 / 5; }
  .hero-image { object-position: 57% center; }
  .hero h1 { top: 12%; font-size: clamp(43px, 10vw, 70px); }
  .hero-brand { width: 44%; bottom: 6%; }
  .navigation { justify-content: space-between; gap: 12px; font-size: 11px; padding-block: 22px; }
  .places { padding-top: 35px; padding-bottom: 60px; }
  .places h2 { font-size: clamp(38px, 8vw, 56px); }
  .desktop-break { display: none; }
  .intro { margin: 30px 0 0; font-size: 21px; }
  .project:nth-child(2) { grid-column: 8 / 13; }
  .project:nth-child(3) { grid-column: 1 / 6; }
  .project:nth-child(4) { grid-column: 6 / 13; }
  .project:nth-child(even) { margin-top: 42px; }
  .craft { grid-template-columns: 1fr; gap: 24px; margin-bottom: 20px; }
  .craft h2 { font-size: 60px; }
  .craft p { font-size: 20px; }
  .dockleaf-home, .partnership-opening { grid-template-columns: 1fr; gap: 25px; }
  .dockleaf-home { padding-block: 30px 55px; }
  .partnership { padding-block: 20px 48px; margin-bottom: 30px; }
  .partnership-opening { margin-bottom: 36px; }
  address { font-size: 20px; }
}
@media (max-width: 460px) {
  .build-pair { grid-template-columns: 1fr; gap: 36px; }
  .build-pair-item--materials { margin-right: 8%; }
  .build-pair-item--quality { width: 73%; margin: 0 0 0 auto; }
}
@container (max-width: 310px) {
  .partnership-photo--tim figcaption { margin-bottom: 0; translate: calc(-1 * var(--caption-inset)) -5px; }
  .partnership-photo--sally { margin-top: calc(20px + .6 * var(--tim-image-third)); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Projects follow the personal introduction. */
.project-places { padding-block: 0 clamp(38px, 5vw, 64px); }
