/* Brick and Limewash */
@font-face { font-family: "Old Standard TT"; src: url("assets/fonts/old-standard-tt-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Old Standard TT"; src: url("assets/fonts/old-standard-tt-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Old Standard TT"; src: url("assets/fonts/old-standard-tt-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Ruda"; src: url("assets/fonts/ruda-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Ruda"; src: url("assets/fonts/ruda-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Ruda"; src: url("assets/fonts/ruda-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Ruda"; src: url("assets/fonts/ruda-900-normal.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --brick: #3A211E;
  --ember: #2A1715;
  --limewash: #EFE6D6;
  --paper: #F7F1E6;
  --dust: #B9A596;
  --bark: #6B5046;
  --rule: #D8C9B6;
  --clay: #D2816B;
  --kiln: #96452F;
  --gutter: clamp(20px, 5vw, 72px);
  --r: 14px;
  --display: "Old Standard TT", "Times New Roman", serif;
  --body: "Ruda", "Trebuchet MS", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--brick); font: 400 1.0625rem/1.6 var(--body); }
img { display: block; max-width: 100%; height: auto; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h2 { font: 700 clamp(2.25rem, 4.6vw, 4rem)/1.04 var(--body); letter-spacing: -.03em; }
h3 { font: 700 1.5rem/1.2 var(--display); }
p { margin: 0; }
figure { margin: 0; }
a { color: var(--kiln); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--kiln); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1384px; margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 60; padding: 12px 18px; border-radius: 10px; background: var(--ember); color: var(--limewash); }
.skip:focus { top: 12px; }

.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 26px; border: 0; border-radius: 999px; background: var(--limewash); color: var(--ember); font: 700 1rem/1.2 var(--body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .2s; }
.pill:hover { transform: translateY(-2px); }
.pill--clay { background: linear-gradient(180deg, #DE9A87, var(--clay)); }
.pill--brick { background: var(--brick); color: var(--limewash); }

/* Header */
.head { position: absolute; inset: 0 0 auto; z-index: 40; color: var(--limewash); transition: background-color .25s; }
.head.is-condensed { position: fixed; background: var(--ember); }
.head__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1520px; margin-inline: auto; padding: 16px var(--gutter); }
.head__name { display: flex; flex-direction: column; justify-content: center; min-height: 44px; color: inherit; font: 900 1.25rem/1.1 var(--body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.head__name small { display: block; margin-top: 4px; font: 400 1rem/1.2 var(--body); letter-spacing: 0; text-transform: none; }
.head__nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.head__nav a:not(.pill) { display: flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; }
.head__nav a:not(.pill):hover { text-decoration: underline; text-underline-offset: 6px; }
.head__toggle { display: none; min-height: 44px; min-width: 44px; padding: 0 16px; border: 1.5px solid currentColor; border-radius: 999px; background: none; color: inherit; font: 700 1rem var(--body); cursor: pointer; }

/* Hero */
.hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(620px, 49vw, 900px); overflow: hidden; background: var(--ember); color: var(--limewash); }
.hero__photo { position: absolute; inset: 0; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 60%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(42, 23, 21, .95), rgba(42, 23, 21, .9) 42%, rgba(42, 23, 21, 0) 60%), linear-gradient(180deg, rgba(42, 23, 21, .62), rgba(42, 23, 21, 0) 20%); }
.hero__copy { position: relative; z-index: 1; display: grid; gap: 22px; width: 100%; max-width: 1520px; margin-inline: auto; padding: 112px var(--gutter) clamp(40px, 5vw, 72px); }
.hero h1 { max-width: 6.4em; font: 900 clamp(3rem, 6.8vw, 7rem)/.92 var(--body); letter-spacing: -.035em; text-transform: uppercase; }
.hero__side { display: grid; gap: 18px; justify-items: start; max-width: 25em; }
.hero__side p { font: 400 clamp(1.375rem, 1.8vw, 1.625rem)/1.25 var(--display); }
.hero__place { position: absolute; z-index: 1; right: var(--gutter); bottom: 16px; padding: 3px 12px; border-radius: 999px; background: var(--ember); font-size: 1rem; }
.js .hero__copy > * { animation: settle .9s cubic-bezier(.2, .7, .2, 1) both; }
.js .hero__side { animation-delay: .18s; }
@keyframes settle { from { opacity: 0; transform: translateY(20px); } }

/* Intro */
.intro { display: grid; gap: 32px; padding-block: clamp(64px, 8vw, 112px) clamp(48px, 5vw, 72px); }
.intro__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.intro__photo figcaption { margin-top: 10px; color: var(--bark); font-size: 1rem; }
.intro__text { display: grid; gap: 18px; align-content: center; }
.intro__text h2 { max-width: 12em; }
.intro__text p { max-width: 38em; color: var(--bark); }
.styles { display: grid; gap: 20px; margin: 8px 0 0; padding: 0; list-style: none; }
.styles li { display: grid; gap: 2px; padding-left: 0; }
.styles strong { font: 400 clamp(2rem, 3.6vw, 3rem)/1.05 var(--display); }
.styles span { color: var(--bark); }

.wide img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r); }
.wide--tall img { aspect-ratio: 2 / 1; }

/* Offer */
.offer { display: grid; gap: 22px; padding-block: clamp(32px, 4vw, 56px) clamp(64px, 8vw, 104px); }
.card { display: block; overflow: hidden; border: 1px solid var(--rule); border-radius: var(--r); background: var(--limewash); color: inherit; text-decoration: none; }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s; }
.card:hover img { transform: scale(1.03); }
.card__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px 20px; }
.card__row strong { display: block; font: 700 1.5rem/1.15 var(--display); }
.card__row span span { display: block; margin-top: 4px; color: var(--bark); }
.card i { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--brick); border-radius: 50%; }
.card i svg { width: 20px; height: 20px; }

/* Houses */
.houses { padding-block: clamp(64px, 8vw, 104px); background: var(--limewash); }
.houses__head { display: grid; gap: 14px; margin-bottom: 36px; }
.houses__head p { max-width: 36em; color: var(--bark); }
.houses figure img { width: 100%; border-radius: var(--r); object-fit: cover; }
.houses__lead img { aspect-ratio: 16 / 9; }
.houses figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; margin-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.houses figcaption strong { font: 700 1.375rem/1.2 var(--display); }
.houses figcaption span { color: var(--bark); }
.houses__row { display: grid; gap: 24px; margin-top: 28px; }
.houses__row figcaption { display: grid; }
.houses__row img { aspect-ratio: 5 / 4; }

/* Glossary */
.gloss { padding-block: clamp(64px, 8vw, 112px); background: linear-gradient(180deg, var(--brick), var(--ember)); color: var(--limewash); }
.gloss__head { display: grid; gap: 14px; margin-bottom: 40px; }
.gloss__head h2 { font-size: clamp(2.5rem, 7vw, 6rem); font-weight: 900; line-height: .94; text-transform: uppercase; }
.gloss__head p { font: 400 clamp(1.375rem, 2vw, 1.75rem)/1.25 var(--display); color: var(--dust); }
.gloss__list { display: grid; gap: 0 56px; margin: 0; }
.gloss__list > div { padding-block: 18px; border-top: 1px solid #5A403A; }
.gloss__list dt { color: var(--clay); font: 700 1.5rem/1.2 var(--display); }
.gloss__list dd { margin: 6px 0 0; color: var(--limewash); }

/* Village */
.village { padding-block: clamp(64px, 8vw, 112px); text-align: center; }
.village__lead { max-width: 32em; margin: 14px auto 36px; font: 400 clamp(1.375rem, 2vw, 1.75rem)/1.25 var(--display); color: var(--bark); }
.village__grid { display: grid; gap: 28px; margin-top: 36px; text-align: left; }
.village__grid p { margin-top: 8px; color: var(--bark); }

/* Buying and selling */
.bs { display: grid; gap: 36px; padding-bottom: clamp(56px, 7vw, 96px); }
.bs__photo img { width: 100%; height: 100%; max-height: 720px; object-fit: cover; border-radius: var(--r); }
.bs__cards { display: grid; gap: 20px; margin-top: 28px; }
.bs article { padding: 24px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--limewash); }
.bs article svg { width: 34px; height: 34px; color: var(--kiln); }
.bs article h3 { margin-top: 10px; font-size: 1.75rem; }
.bs dl { margin: 6px 0 0; }
.bs dt { margin-top: 14px; font-weight: 700; }
.bs dd { margin: 2px 0 0; color: var(--bark); }

/* Split */
.split { display: grid; overflow: hidden; border-radius: var(--r); background: var(--ember); color: var(--limewash); }
.split > div { display: grid; gap: 14px; justify-items: start; align-content: center; padding: clamp(28px, 4vw, 56px); }
.split h2 { font-size: clamp(2.25rem, 4vw, 3.5rem); }
.split p { color: var(--dust); }
.split img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }

/* Contact */
.contact { display: grid; gap: 40px; padding-block: clamp(56px, 7vw, 96px); }
.contact > div > p { margin-top: 14px; max-width: 30em; color: var(--bark); }
.contact .contact__big { margin-top: 18px; color: inherit; font: 700 clamp(1.5rem, 2.6vw, 2rem)/1.2 var(--body); }
.contact .contact__big--mail { margin-top: 6px; font-size: clamp(1.125rem, 1.8vw, 1.375rem); overflow-wrap: anywhere; }
.contact__big a { display: inline-flex; align-items: center; min-height: 44px; }
.form { display: grid; gap: 16px; padding: clamp(20px, 3vw, 36px); border-radius: var(--r); background: var(--limewash); }
.form__two { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--bark); border-radius: 10px; background: var(--paper); color: var(--brick); font: inherit; }
.field__help, .form__note { color: var(--bark); }
.field__error { color: var(--kiln); font-weight: 700; }
.form .pill { justify-self: start; }

/* Footer */
.foot { padding-block: 44px 96px; background: var(--ember); color: var(--dust); }
.foot a { color: var(--limewash); }
.foot__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 48px; }
.foot__name { color: var(--limewash); font: 900 1.25rem var(--body); letter-spacing: .14em; text-transform: uppercase; }
.foot__grid a { display: inline-flex; align-items: center; min-height: 44px; }
.foot__credits { margin-top: 18px; }
.foot__credits summary { display: flex; align-items: center; min-height: 44px; color: var(--limewash); font-weight: 700; cursor: pointer; }
.foot__credits ul { margin: 10px 0 0; padding: 0; list-style: none; }
.foot__credits a { display: inline-flex; align-items: center; min-height: 44px; }
.foot :focus-visible { outline-color: var(--clay); }

/* Plain pages */
.head--page { position: static; background: var(--ember); }
.page { padding-bottom: 72px; }
.page__photo { margin: 0 0 40px; }
.page__photo img { width: 100%; max-height: 46vh; object-fit: cover; }
.page .wrap { max-width: 760px; padding-top: 40px; }
.page h1 { font: 900 clamp(2.5rem, 6vw, 4rem)/1 var(--body); letter-spacing: -.03em; margin-bottom: 16px; }
.page h2 { margin-top: 30px; font: 700 1.5rem/1.2 var(--display); letter-spacing: 0; }
.page p, .page ul { margin-top: 12px; }
.back a { display: inline-flex; align-items: center; min-height: 44px; }

.callbar { position: fixed; inset: auto 0 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr; background: var(--ember); }
.callbar a { display: grid; place-items: center; min-height: 56px; color: var(--limewash); font-weight: 700; text-decoration: none; }
.callbar a + a { background: var(--clay); color: var(--ember); }

@media (max-width: 1099px) {
  .head__toggle { display: inline-block; }
  .head__nav { position: absolute; inset: 100% 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 18px; background: var(--ember); }
  .head__nav.is-open { display: flex; }
  .head__nav .pill { margin-top: 8px; }
}
@media (max-width: 699px) {
  .hero { display: block; min-height: 0; }
  .hero__photo { position: relative; display: block; }
  .hero__photo img { height: auto; aspect-ratio: 1 / 1; object-position: 22% 50%; }
  .hero::after { inset: 0 0 auto; height: 120px; background: linear-gradient(180deg, rgba(42, 23, 21, .8), rgba(42, 23, 21, 0)); }
  .hero__copy { padding-top: 28px; padding-bottom: 28px; }
  .hero h1 { font-size: clamp(2.625rem, 13.6vw, 4.5rem); }
  .hero__place { position: static; padding: 0 var(--gutter) 28px; background: none; color: var(--dust); }
  .wide img { aspect-ratio: 3 / 2; }
}
@media (min-width: 720px) {
  .form__two { grid-template-columns: 1fr 1fr; }
  .offer { grid-template-columns: repeat(3, 1fr); }
  .styles { grid-template-columns: repeat(3, 1fr); grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--rule); }
  .houses__row { grid-template-columns: repeat(3, 1fr); }
  .gloss__list { grid-template-columns: 1fr 1fr; }
  .village__grid { grid-template-columns: repeat(2, 1fr); }
  .bs__cards { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 2fr 3fr; }
}
@media (min-width: 960px) {
  .intro { grid-template-columns: 4fr 7fr; gap: 56px; }
  .houses__head { grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; }
  .gloss__head { grid-template-columns: 2fr 1fr; align-items: end; }
  .village__grid { grid-template-columns: repeat(4, 1fr); }
  .bs { grid-template-columns: 4fr 8fr; gap: 48px; }
  .contact { grid-template-columns: 5fr 7fr; gap: 64px; }
  .callbar { display: none; }
  .foot { padding-bottom: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
