@font-face {
  font-family: Archivo;
  src: url(assets/archivo.woff2) format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 1rem;
}
body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
figure,
dl,
dd,
fieldset {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
img {
  display: block;
  max-width: 100%;
}
svg {
  flex: none;
}
a,
summary,
label {
  touch-action: manipulation;
}
a:focus-visible,
summary:focus-visible,
input:focus-visible + label {
  outline: 3px solid var(--focus, #b44722);
  outline-offset: 4px;
}
.skip {
  position: absolute;
  z-index: 9;
  top: 0.5rem;
  left: 0.5rem;
  transform: translateY(-170%);
  background: #fff;
  color: #151515;
  padding: 12px;
}
.skip:focus {
  transform: none;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
  border: 0;
}
.mark {
  flex: none;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.wrap {
  width: min(calc(100% - 2 * var(--g)), 1540px);
  margin-inline: auto;
}
nav {
  display: flex;
  align-items: center;
}
.photo {
  overflow: hidden;
}
.photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
fieldset {
  min-inline-size: 0;
  border: 0;
  padding: 0;
}
a svg {
  vertical-align: middle;
}
footer address {
  font-style: normal;
}
footer p,
footer address {
  line-height: 1.55;
}
footer strong {
  display: block;
}
.info a:hover,
.textlink:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
@font-face {
  font-family: Baskervville;
  src: url(assets/baskervville.woff2) format("woff2");
  font-display: swap;
  font-weight: 400;
}
:root {
  --g: clamp(20px, 4.8vw, 86px);
  --ink: #442d24;
  --rust: #894a33;
  --chalk: #f7f4eb;
  --focus: #1b6456;
}
body {
  background: var(--chalk);
  color: var(--ink);
  font:
    400 16px/1.5 Archivo,
    Arial,
    sans-serif;
}
.brand,
h1,
h2,
h3 {
  font-family: Baskervville, Georgia, serif;
  font-weight: 400;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 19px;
  gap: 20px;
  border-bottom: 1px solid #452c2738;
}
.brand {
  font-size: 26px;
  letter-spacing: -0.055em;
}
nav {
  gap: clamp(23px, 3.1vw, 55px);
  font-size: 14px;
}
nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
nav a:last-child {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--rust);
  font-weight: 600;
}
.title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-block: clamp(28px, 3.3vw, 62px) clamp(22px, 2.9vw, 50px);
}
.title p {
  font-size: clamp(13px, 1.25vw, 20px);
  line-height: 1.45;
  margin-bottom: 0.4em;
}
.title h1 {
  font-size: clamp(76px, 12vw, 225px);
  letter-spacing: -0.082em;
  line-height: 0.9;
  color: var(--rust);
}
.estate {
  width: 100%;
  height: clamp(350px, 36vw, 690px);
}
.estate img {
  object-position: 50% 56%;
}
.residence {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  align-items: start;
  padding-block: clamp(60px, 7vw, 120px) clamp(35px, 4vw, 75px);
}
h2 {
  font-size: clamp(42px, 5.1vw, 86px);
  line-height: 0.99;
  letter-spacing: -0.058em;
}
.story p {
  font:
    400 clamp(23px, 2.4vw, 42px) / 1.23 Baskervville,
    Georgia,
    serif;
  letter-spacing: -0.035em;
  max-width: 34ch;
}
.textlink,
figcaption a {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.textlink {
  margin-top: 23px;
  border-bottom: 1px solid;
  padding-bottom: 3px;
  color: var(--rust);
  font-weight: 550;
}
.diptych {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  align-items: end;
  gap: clamp(20px, 5vw, 80px);
  margin-bottom: clamp(65px, 8vw, 130px);
}
.diptych .photo {
  aspect-ratio: 1.52;
}
.diptych figure:last-child .photo {
  aspect-ratio: 1.24;
}
figcaption {
  margin-top: 8px;
  font-size: 14px;
}
.plans {
  background: #eae6d9;
  padding-block: clamp(55px, 6vw, 100px);
}
fieldset {
  margin-top: 28px;
}
fieldset label {
  display: inline-block;
  cursor: pointer;
  padding: 8px 14px;
  border: 1px solid #796551;
  margin-right: 4px;
}
input:checked + label {
  background: var(--ink);
  color: #fff;
}
.layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 8%;
  align-items: center;
  margin-top: 27px;
  border-top: 1px solid #65514055;
  padding-top: 25px;
}
.layout-3,
fieldset:has(#three:checked) .layout-2 {
  display: none;
}
fieldset:has(#three:checked) .layout-3 {
  display: grid;
}
.specs {
  max-width: 410px;
}
.specs h3 {
  font-size: clamp(32px, 3.1vw, 55px);
  letter-spacing: -0.05em;
}
.specs dl {
  margin: 20px 0;
}
.specs dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-block: 10px;
  border-bottom: 1px solid #65514044;
}
.specs dd {
  font-weight: 580;
  text-align: right;
}
.specs p,
.layout figcaption {
  font-size: 14px;
}
.layout figure img {
  width: 100%;
  height: auto;
  max-height: 570px;
  object-fit: contain;
}
.layout figcaption {
  text-align: center;
}
.layout figcaption a:hover {
  text-decoration: underline;
}
footer {
  background: #773f2d;
  color: #fff6e6;
  padding-block: clamp(50px, 6vw, 96px);
}
footer .wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8%;
}
footer p {
  max-width: 43ch;
  margin-top: 17px;
}
footer small {
  display: block;
  margin-top: 16px;
}
footer strong {
  margin-bottom: 9px;
}
@media (max-width: 720px) {
  header {
    padding-block: 15px;
  }
  .brand {
    font-size: 23px;
    gap: 7px;
  }
  .brand .mark {
    width: 31px;
    height: 31px;
  }
  nav {
    gap: 14px;
    font-size: 13px;
  }
  nav a:first-child {
    display: none;
  }
  nav svg {
    display: none;
  }
  .title {
    align-items: start;
    flex-direction: column;
    padding-block: 24px 17px;
    gap: 12px;
  }
  .title p {
    font-size: 13px;
  }
  .title h1 {
    font-size: clamp(66px, 16vw, 110px);
  }
  .estate {
    height: clamp(290px, 65vw, 400px);
  }
  .residence {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .residence h2 br {
    display: none;
  }
  .story p {
    font-size: 25px;
  }
  .diptych {
    grid-template-columns: 1fr 0.74fr;
    gap: 12px;
  }
  .diptych .photo,
  .diptych figure:last-child .photo {
    aspect-ratio: 0.85;
  }
  .layout,
  .layout-3 {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .specs {
    max-width: 100%;
  }
  footer .wrap {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .layout figure img {
    max-height: 430px;
  }
}
