:root {
  color-scheme: light;
  --paper: #F2EDE2;
  --ink: #1A1814;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(32px, 5vw, 100px);
  --building-layout-height: min(104svh, 75vw);
  --building-height: calc(var(--building-layout-height) * .96);
  --building-width: calc(var(--building-layout-height) * 1265 / 2121);
  --building-left: calc(var(--building-height) * -.038);
  --composition-shift: clamp(40px, 6vw, 90px);
  --headline-shift: clamp(20px, 2.5vw, 34px);
}

* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

.page {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
}

/* One composed field: the type, index, and signature share the same
   horizontal centre and the remaining vertical space is divided evenly. */
.content-column {
  position: absolute;
  z-index: 2;
  top: clamp(145px, 22svh, 250px);
  right: var(--gutter);
  bottom: clamp(70px, 9svh, 105px);
  left: calc(var(--building-width) + 34px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.headline {
  position: relative;
  align-self: stretch;
  width: 100%;
  max-width: calc(100% - var(--headline-shift));
  margin: 0;
  font-size: clamp(38px, 3.2vw, 46px);
  line-height: 1.055;
  font-weight: 700;
  letter-spacing: -.045em;
  transform: translateX(var(--headline-shift));
}
.headline-measure { display: block; visibility: hidden; }
.headline-live { position: absolute; inset: 0; display: block; }
.statement-line { display: block; white-space: nowrap; }
.caret { margin-left: .025em; font-weight: 400; letter-spacing: 0; }
.headline.is-complete .caret { animation: caret-blink 1.8s steps(1, end) infinite; }
@keyframes caret-blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }

.action-column { display: contents; }
.site-index {
  display: grid;
  gap: 18px;
  width: max-content;
  transform: translateX(var(--composition-shift));
}
.index-entry {
  display: grid;
  grid-template-columns: 1.05em max-content;
  align-items: center;
  gap: .32em;
  white-space: nowrap;
  font-size: clamp(31px, 2.65vw, 36px);
  line-height: 1.09;
  font-weight: 400;
  letter-spacing: -.02em;
  padding: 7px 0;
  margin: -7px 0;
  transform-origin: left center;
}
.index-entry[href] { color: inherit; text-decoration: none; }
.index-entry[href]:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.index-arrow {
  display: block;
  font-size: .75em;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  transform: translateY(-.02em);
}
.index-label { position: relative; display: block; }
.index-text { display: block; }
.index-heavy {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  font-weight: 700;
  pointer-events: none;
}
.brand-signature {
  display: block;
  width: min(100%, 295px);
  transform: translate(var(--composition-shift), 17.1%);
}
.logo { display: block; width: 100%; height: auto; }

.building-field {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: var(--building-left);
  height: var(--building-height);
  aspect-ratio: 1265 / 2121;
}
.building {
  display: block;
  width: 100%;
  height: 100%;
  color: var(--ink);
  /* The approved drawing ends 80 units before its 2121-unit canvas edge. */
  transform: translateY(3.7718%);
}
.building-fallback { display: block; width: 100%; height: 100%; object-fit: contain; }

@media (hover: hover) and (pointer: fine) {
  .index-entry { transition: transform .1s ease-out; }
  .index-entry:hover { transform: translateX(3px) scale(1.055); }
  .index-entry:hover .index-arrow { font-weight: 700; }
  .index-entry:hover .index-text { opacity: 0; }
  .index-entry:hover .index-heavy { opacity: 1; }
}

.cursor-arrow {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  display: none;
  width: 31px;
  height: 44px;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);
  will-change: transform;
}
.cursor-arrow svg { display: block; width: 100%; height: 100%; overflow: visible; }
.cursor-arrow path {
  fill: var(--ink);
  stroke: var(--paper);
  stroke-width: 1.2;
  stroke-linejoin: miter;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html.cursor-ready,
  html.cursor-ready * { cursor: none !important; }
  html.cursor-ready .cursor-arrow { display: block; opacity: 1; }
  html.cursor-ready input:hover,
  html.cursor-ready textarea:hover { cursor: text !important; }
  html.cursor-ready:has(input:hover, textarea:hover) .cursor-arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .index-entry { transition: none; }
  .index-entry:hover { transform: none; }
}

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

@media (min-width: 901px) and (max-width: 1199px) {
  :root {
    --building-layout-height: min(98svh, 75vw, 900px);
    --composition-shift: clamp(32px, 4.8vw, 60px);
    --headline-shift: 14px;
  }
  .headline { font-size: clamp(32px, 3.25vw, 38px); }
  .index-entry { font-size: 33px; }
  .brand-signature { width: min(100%, 265px); }
}

@media (min-width: 901px) and (max-width: 1000px) {
  :root { --headline-shift: 0px; }
  .headline { font-size: 31px; }
}

@media (min-width: 1200px) and (max-width: 1299px) {
  .headline { font-size: clamp(38px, 3.2vw, 42px); }
}

@media (max-width: 900px) {
  :root {
    --gutter: clamp(22px, 5.6vw, 42px);
    --building-layout-height: min(65svh, 80vw, 640px);
    --composition-shift: 0px;
    --headline-shift: 0px;
  }
  .page { min-height: 690px; }
  .content-column {
    top: clamp(60px, 8svh, 80px);
    right: var(--gutter);
    bottom: clamp(58px, 8svh, 90px);
    left: var(--gutter);
    align-items: stretch;
    justify-content: flex-start;
  }
  .headline {
    max-width: 700px;
    font-size: clamp(34px, 5vw, 42px);
  }
  .action-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: flex-end;
    width: clamp(230px, 32vw, 280px);
    margin-top: clamp(54px, 7svh, 88px);
  }
  .index-entry { font-size: clamp(31px, 3.8vw, 36px); }
  .brand-signature {
    width: min(100%, 265px);
    margin-top: clamp(125px, 18svh, 190px);
  }
}

@media (min-width: 701px) and (max-width: 900px) {
  :root { --building-layout-height: min(75svh, 75vw, 700px); }
  .content-column {
    top: clamp(80px, 10svh, 115px);
    right: var(--gutter);
    bottom: clamp(70px, 9svh, 100px);
    left: calc(var(--building-width) + 22px);
    align-items: center;
    justify-content: space-between;
  }
  .headline {
    align-self: stretch;
    max-width: none;
    font-size: clamp(28px, 4vw, 34px);
    line-height: 1.08;
  }
  .statement-line { display: inline; white-space: normal; }
  .action-column { display: contents; }
  .index-entry { font-size: clamp(29px, 4vw, 33px); }
  .brand-signature { width: min(100%, 220px); margin-top: 0; }
}

@media (max-width: 700px) {
  :root {
    --gutter: clamp(22px, 6vw, 34px);
    --building-layout-height: min(48svh, 100vw, 480px);
  }
  .page { min-height: 560px; }
  .content-column {
    top: clamp(34px, 7svh, 65px);
    bottom: 0;
    display: block;
  }
  .headline { max-width: 530px; font-size: clamp(30px, 8.4vw, 40px); }
  .statement-line { display: inline; white-space: normal; }
  .action-column { display: contents; }
  .site-index {
    position: absolute;
    top: clamp(225px, 36svh, 300px);
    right: 0;
    gap: 12px;
  }
  .index-entry { font-size: clamp(27px, 7vw, 32px); }
  .brand-signature {
    position: absolute;
    right: 0;
    bottom: 30px;
    width: clamp(126px, 39vw, 170px);
    margin: 0;
    transform: none;
  }
}

@media (max-height: 700px) and (min-width: 1200px) {
  .content-column { top: clamp(130px, 21svh, 155px); bottom: 65px; }
}

@media (max-width: 350px) {
  .site-index { top: clamp(200px, 35svh, 245px); }
  .brand-signature { bottom: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  .headline.is-complete .caret { animation: none; }
}

/* About uses the same type, colour and arrow as the home index. */
.about-page {
  min-height: 100svh;
  padding: clamp(32px, 5vw, 72px) var(--gutter) clamp(55px, 7vw, 100px);
}
.about-back {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.025em;
  padding: 12px 0;
  margin: -12px 0;
  text-decoration: none;
  transition: transform .1s ease-out;
}
.about-back:hover { transform: translateX(-3px); }
.about-back:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
.about-questions {
  width: min(100%, 940px);
  margin: clamp(85px, 15svh, 170px) auto 0;
}
.about-item { margin: 0 0 clamp(10px, 1.5vw, 22px); }
.about-item summary {
  display: grid;
  grid-template-columns: 1.05em 1fr;
  gap: .32em;
  align-items: start;
  padding: .43em 0;
  list-style: none;
  cursor: pointer;
  font-size: clamp(27px, 2.6vw, 36px);
  line-height: 1.14;
  font-weight: 400;
  letter-spacing: -.025em;
}
.about-item summary::-webkit-details-marker { display: none; }
.about-item summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.about-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 1.52em;
  font-size: .75em;
  line-height: 1;
  letter-spacing: 0;
  transition: transform .25s cubic-bezier(.2, .75, .25, 1);
}
.about-item[open] .about-arrow { transform: rotate(90deg); }
.about-item[open] summary { font-weight: 700; }
.about-item[open] .about-arrow { font-weight: 700; }
.about-answer {
  padding: .32em 0 clamp(20px, 3vw, 38px) clamp(36px, 3.5vw, 50px);
}
.about-answer p {
  max-width: 730px;
  margin: 0;
  font-size: clamp(20px, 1.75vw, 24px);
  line-height: 1.4;
  letter-spacing: -.018em;
}
.about-item[open] .about-answer { animation: answer-in .3s ease-out both; }
@keyframes answer-in {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (hover: hover) and (pointer: fine) {
  .about-item summary:hover { font-weight: 700; }
  .about-item summary:hover .about-arrow { font-weight: 700; }
}

@media (max-width: 760px) {
  .about-page { padding-top: 30px; }
  .about-questions { margin-top: clamp(120px, 19svh, 170px); }
  .about-item { margin-bottom: 10px; }
  .about-item summary {
    position: relative;
    display: block;
    padding: .43em 1.4em;
    font-size: clamp(23px, 5.8vw, 30px);
    text-align: left;
  }
  .about-item summary > span:last-child { display: block; }
  .about-arrow {
    position: absolute;
    top: 50%;
    left: 0;
    width: 1.05em;
    height: 1.05em;
    transform: translateY(-50%);
  }
  .about-item[open] .about-arrow { transform: translateY(-50%) rotate(90deg); }
  .about-answer { padding-left: clamp(32px, 8vw, 42px); }
  .about-answer p { font-size: clamp(19px, 4.5vw, 23px); }
}

.legal-footer {
  width: min(100%, 940px);
  margin: auto auto 0;
  padding-top: 90px;
  color: #5B554E;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}
.legal-footer span + span::before { content: " · "; }
@media (max-width: 760px) {
  .legal-footer span { display: block; }
  .legal-footer span + span::before { content: none; }
}

@media (prefers-reduced-motion: reduce) {
  .about-back { transition: none; }
  .about-back:hover { transform: none; }
  .about-arrow { transition: none; }
  .about-item[open] .about-answer { animation: none; }
}

.contact-page {
  min-height: 100svh;
  padding: clamp(32px, 5vw, 72px) var(--gutter) 70px;
}
.contact-page > .legal-footer { padding-top: 110px; }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 640px);
  gap: clamp(60px, 7vw, 120px);
  align-items: start;
  width: min(100%, 1320px);
  margin: clamp(70px, 11svh, 130px) auto 0;
}
.contact-intro { position: sticky; top: 25svh; }
.contact-intro h1 {
  margin: 0;
  font-size: clamp(64px, 6vw, 94px);
  line-height: .98;
  font-weight: 700;
  letter-spacing: -.065em;
  white-space: normal;
}
.contact-intro p {
  max-width: 530px;
  margin: 36px 0 0;
  font-size: clamp(23px, 2vw, 29px);
  line-height: 1.25;
  letter-spacing: -.027em;
}
.contact-intro .contact-detail {
  margin-top: 48px;
  font-size: 17px;
  letter-spacing: -.015em;
}
.contact-detail a { color: inherit; text-underline-offset: 3px; }
.contact-form {
  display: block;
  width: 100%;
}
.contact-field {
  display: block;
  margin-bottom: clamp(24px, 3vw, 39px);
  border-bottom: 1px solid var(--ink);
}
.contact-field:focus-within { border-bottom-width: 2px; }
.contact-field:focus-within label { font-weight: 700; }
.contact-field label {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.18;
  letter-spacing: -.027em;
}
.contact-field input,
.contact-field textarea {
  display: block;
  width: 100%;
  padding: 0 0 14px;
  border: 0;
  border-radius: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.3;
  letter-spacing: -.018em;
}
.contact-field input:focus-visible,
.contact-field textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.contact-field input { min-height: 38px; }
.contact-field textarea { min-height: 92px; resize: vertical; }
.contact-limit {
  display: block;
  padding: 0 0 11px;
  font-size: 15px;
  line-height: 1.2;
  text-align: right;
}
.contact-privacy {
  margin: 0 0 16px;
  color: #5B554E;
  font-size: 15px;
  line-height: 1.35;
}
.contact-privacy a,
.privacy-copy a { color: inherit; text-underline-offset: 3px; }
.contact-submit {
  display: inline-grid;
  grid-template-columns: 1.05em max-content;
  align-items: center;
  gap: .32em;
  margin: 0 0 -8px;
  padding: 8px 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: clamp(31px, 2.65vw, 36px);
  line-height: 1.09;
  font-weight: 400;
  letter-spacing: -.02em;
  text-align: left;
  cursor: pointer;
  transform-origin: left center;
}
.contact-submit-arrow {
  display: block;
  font-size: .75em;
  line-height: 1;
  text-align: center;
}
.contact-submit:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.contact-note {
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -.015em;
}
@media (hover: hover) and (pointer: fine) {
  .contact-submit { transition: transform .1s ease-out; }
  .contact-submit:hover { font-weight: 700; transform: translateX(3px) scale(1.055); }
  .contact-submit:hover .contact-submit-arrow { font-weight: 700; }
}
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 45px;
    width: min(100%, 640px);
    margin-top: clamp(78px, 13svh, 120px);
  }
  .contact-intro { position: static; }
  .contact-intro h1 { font-size: clamp(58px, 10vw, 78px); }
}
@media (max-width: 560px) {
  .contact-page { padding: 30px var(--gutter) 55px; }
  .contact-layout { margin-top: clamp(64px, 10svh, 90px); gap: 42px; }
  .contact-intro h1 { font-size: clamp(52px, 12vw, 68px); }
  .contact-intro p { font-size: 23px; }
  .contact-intro .contact-detail { margin-top: 28px; font-size: 16px; }
  .contact-field label { font-size: 23px; }
  .contact-note { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-submit { transition: none; }
  .contact-submit:hover { transform: none; }
}

.privacy-copy {
  width: min(100%, 860px);
  margin: clamp(70px, 11svh, 130px) auto 0;
}
.privacy-copy h1 {
  margin: 0 0 8px;
  font-size: clamp(34px, 3.2vw, 44px);
  line-height: 1.02;
  letter-spacing: -.055em;
}
.privacy-intro {
  margin: 0 0 46px;
  font-size: 17px;
  line-height: 1.4;
}
.privacy-list { margin: 0; }
.privacy-list > div {
  display: grid;
  grid-template-columns: 175px minmax(0, 1fr);
  gap: 28px;
  margin: 0 0 26px;
}
.privacy-list dt {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}
.privacy-list dd {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
}
@media (max-width: 640px) {
  .privacy-list > div { grid-template-columns: 1fr; gap: 5px; margin-bottom: 24px; }
  .privacy-intro { margin-bottom: 36px; }
}
