:root {
  color-scheme: light;
  --ink: #153772;
  --paper: #f3f3f3;
  --gutter: clamp(28px, 4.5vw, 64px);
  --logo-width: 144px;
  --art-width: min(32vw, calc(100svh * 0.63357));
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }

.skip-link {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  padding: 12px 16px;
  background: var(--paper);
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }

.landing {
  min-height: max(100svh, 740px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--art-width);
  grid-template-rows: auto 1fr auto;
}
.brand {
  grid-column: 1;
  grid-row: 1;
  padding: calc(var(--gutter) * 0.8) 0 0 var(--gutter);
}
.brand img { display: block; width: var(--logo-width); height: auto; }

.introduction {
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: center;
  justify-self: center;
  width: min(460px, 32vw);
  margin: 64px 0;
  /* Centre between the logo's right edge and the artwork's left edge. */
  transform: translateX(calc((var(--gutter) + var(--logo-width)) / 2));
  position: relative;
  z-index: 1;
}
.copy { width: 100%; }
.copy p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
}
.contact {
  display: inline-block;
  margin-top: 13px;
  font-size: 15px;
  line-height: 1.6;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: color-mix(in srgb, var(--ink) 40%, transparent);
}
.contact:hover { text-decoration-color: var(--ink); }

.landscape {
  grid-column: 2;
  grid-row: 1 / -1;
  position: sticky;
  top: 0;
  align-self: start;
  height: 100svh;
  min-height: 540px;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
}
.landscape-still, .landscape-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.landscape-canvas { visibility: hidden; }
.landscape.is-ready .landscape-canvas { visibility: visible; }
.landscape.is-ready .landscape-still { visibility: hidden; }
.footer {
  grid-column: 1;
  grid-row: 3;
  padding: 0 var(--gutter) 36px;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.035em;
}

@media (min-width: 901px) and (max-height: 740px) {
  :root { --logo-width: 128px; }
  .copy p { font-size: 15px; line-height: 1.7; }
}

@media (max-width: 900px) {
  :root { --gutter: clamp(28px, 7vw, 52px); --logo-width: 112px; }
  .landing { display: flex; flex-direction: column; min-height: 100svh; }
  .introduction { align-self: center; width: min(460px, calc(100% - var(--gutter) * 2)); margin: 64px 0; transform: none; }
  .landscape { position: relative; top: auto; width: 100%; height: auto; min-height: 0; aspect-ratio: 887 / 1400; }
  .footer { padding: 24px var(--gutter); }
}
