@font-face {
  font-family: Sohne;
  src: url("assets/Sohne-Buch.woff2") format("woff2");
  font-weight: 400;
  font-display: optional;
}
@font-face {
  font-family: Tiempos;
  src: url("assets/TiemposText-400-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: optional;
}
* {
  box-sizing: border-box;
}
:root {
  --page-edge: clamp(22px, 4.25vw, 80px);
  color: #211e1b;
  background: #efebe4;
  font:
    400 100%/1.5 Sohne,
    Arial,
    sans-serif;
  font-synthesis: none;
}
body,
h1,
h2,
p,
figure,
dl,
dd {
  margin: 0;
}
h1,
h2 {
  font-family: Tiempos, Georgia, serif;
  font-weight: 400;
  line-height: 1.07;
  letter-spacing: -0.025em;
}
a {
  color: inherit;
  text-underline-offset: 0.24em;
}
a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
img {
  display: block;
  max-width: 100%;
}

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(22px, 4.6vh, 54px) var(--page-edge);
}
.head img {
  width: clamp(150px, 19vw, 290px);
}
.home .head {
  position: absolute;
  inset: 0 0 auto;
}
.links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3.5vw, 4rem);
}
.links a {
  display: flex;
  min-height: 44px;
  align-items: center;
  font-size: 0.9375rem;
  text-decoration: none;
}
.links a:hover,
.links a[aria-current] {
  text-decoration: underline;
}
.mobile {
  display: none;
}
.hero {
  position: relative;
  isolation: isolate;
  min-height: 440px;
  height: 100svh;
}
.hero picture,
.hero picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.hero picture img {
  object-fit: cover;
  object-position: center 58%;
}
.lockup {
  position: absolute;
  right: var(--page-edge);
  bottom: clamp(36px, 9vh, 110px);
  text-align: right;
  color: #f2efe8;
}
.lockup h1 {
  font-size: clamp(2.5rem, 5vw, 5rem);
}
.lockup p {
  margin-top: 0.55em;
  font-size: clamp(1rem, 1.6vw, 1.5rem);
}
.page {
  flex: 1;
  display: grid;
  align-content: center;
  padding: clamp(64px, 12vh, 160px) clamp(22px, 11vw, 190px);
}
.page h1 {
  font-size: clamp(2.6rem, 6.1vw, 6.5rem);
}
.principles {
  list-style: none;
  margin: 0;
  padding: 0;
  font:
    400 clamp(2.3rem, 5.55vw, 6rem)/1.16 Tiempos,
    Georgia,
    serif;
  letter-spacing: -0.03em;
}
.page h1.about {
  font:
    400 0.9375rem/1.5 Sohne,
    Arial,
    sans-serif;
  letter-spacing: 0;
  margin-bottom: 1.75rem;
}
#enquiries h1 {
  font: 400 .9375rem/1.5 Sohne, Arial, sans-serif;
  letter-spacing: 0;
}
#enquiries p {
  margin-top: 1.25rem;
  font: 400 clamp(1rem, 3.8vw, 1.5rem)/1.45 Tiempos, Georgia, serif;
}
.email {
  text-decoration-thickness: 1px;
  text-underline-offset: .15em;
}
footer {
  margin: 0 var(--page-edge);
  border-top: 1px solid #b6aa98;
  padding: 20px 0;
  display: flex;
  justify-content: flex-end;
}
footer a {
  display: grid;
  place-items: center;
  min-height: 44px;
  min-width: 44px;
}
footer img {
  width: 38px;
}
@media (min-width: 641px) {
  .lockup h1, .page h1:not(.about) {
    font-size: clamp(2.5rem, 3.65vw, 3.75rem);
  }
  .lockup p {
    font-size: clamp(1rem, 1.3vw, 1.25rem);
  }
  .page {
    padding: clamp(24px, 5vh, 64px) var(--page-edge);
  }
  .principles {
    font-size: clamp(2.25rem, min(3.65vw, 7vh), 3.75rem);
    line-height: 1.2;
  }
}
@media (max-aspect-ratio: 4/5) {
  .hero picture img {
    object-position: center;
  }
}
@media (max-width: 640px) and (max-aspect-ratio: 4/5) {
  .lockup {
    left: 16px;
    right: 16px;
    bottom: 12%;
    text-align: center;
  }
}
@media (max-width: 640px) {
  .head {
    --wordmark-width: clamp(144px, 40vw, 176px);
    padding: 18px;
  }
  .head img {
    width: var(--wordmark-width);
  }
  /* E spans 65 by 100 units in the 1182-unit wordmark. */
  .mobile summary svg {
    width: 18px;
    height: calc(var(--wordmark-width) * 100 / 1182);
  }
  .head > .links {
    display: none;
  }
  .mobile {
    display: block;
  }
  .mobile[open] summary svg {
    width: calc(var(--wordmark-width) * 65 / 1182);
  }
  .mobile summary {
    list-style: none;
    cursor: pointer;
    display: grid;
    place-items: center end;
    min-width: 48px;
    min-height: 44px;
    font-size: 0.9375rem;
  }
  .mobile summary::-webkit-details-marker {
    display: none;
  }
  .mobile summary:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
  }
  .mobile .when-open,
  .mobile[open] .when-closed {
    display: none;
  }
  .mobile[open] .when-open {
    display: inline;
  }
  .mobile .links {
    position: absolute;
    inset: 100% 0 auto;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    background: #efebe4;
    padding: 8px 22px 18px;
    border-bottom: 1px solid #b6aa98;
  }
  .head:has(details[open]) {
    background: #efebe4;
  }
  .page {
    padding-inline: 22px;
  }
  .principles {
    display: grid;
    gap: 1.125rem;
    font-size: clamp(1.65rem, 7.6vw, 2.4rem);
    line-height: 1.12;
  }
}
