@import "tailwindcss";

@font-face {
  font-family: "Cormorant Garamond";
  src: url("./assets/fonts/cormorant-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("./assets/fonts/cormorant-medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("./assets/fonts/cormorant-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope-medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --canvas: #e5eef0;
  --surface: #f8f8f4;
  --white: #ffffff;
  --ink: #1a211e;
  --muted: #66716c;
  --dark: #1d2522;
  --line: rgba(26, 33, 30, 0.15);
  --soft: #eff0ed;
  --serif: "Cormorant Garamond", Baskerville, Georgia, serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --page-pad: clamp(22px, 4.3vw, 68px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background: var(--canvas);
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

figure,
h1,
h2,
h3,
p,
blockquote {
  margin: 0;
}

:focus-visible {
  outline: 2px solid #557269;
  outline-offset: 4px;
}

::selection {
  background: #cbdad5;
  color: var(--ink);
}

.site-canvas {
  min-height: 100dvh;
  padding: 0;
}

.page-shell {
  width: 100%;
  margin: 0;
  overflow: clip;
  border-radius: 0;
  background: var(--surface);
  box-shadow: none;
}

.section-pad {
  padding: clamp(82px, 9vw, 138px) var(--page-pad);
}

.sticky-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 42px), 1370px);
  height: 64px;
  padding: 0 22px;
  border: 1px solid rgba(26, 33, 30, 0.11);
  border-radius: 13px;
  background: rgba(248, 248, 244, 0.86);
  box-shadow: 0 12px 34px rgba(26, 33, 30, 0.09);
  backdrop-filter: blur(18px) saturate(130%);
  transform: translate(-50%, -130%);
  opacity: 0;
  pointer-events: none;
  transition: transform 600ms var(--ease), opacity 350ms ease;
}

.sticky-header.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-header nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
  font-size: 0.75rem;
}

.sticky-header nav a,
.hero__nav nav a {
  position: relative;
  padding: 8px 0;
}

.sticky-header nav a::after,
.hero__nav nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--ease);
}

.sticky-header nav a:hover::after,
.hero__nav nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.sticky-wordmark,
.wordmark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.sticky-wordmark {
  font-size: 1.45rem;
}

.sticky-action {
  justify-self: end;
  padding: 10px 17px;
  border-radius: 999px;
  background: var(--dark);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
}

.hero {
  position: relative;
  display: flex;
  min-height: clamp(670px, 91dvh, 900px);
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  color: var(--white);
  isolation: isolate;
}

.hero::after {
  position: absolute;
  z-index: 5;
  inset: 13px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 14px;
  content: "";
  pointer-events: none;
}

.hero__image,
.hero__scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  z-index: -2;
  object-fit: cover;
  object-position: 50% 50%;
  animation: heroImage 1500ms var(--ease) both;
}

.hero__scrim {
  z-index: -1;
  background: linear-gradient(180deg, rgba(15, 25, 22, 0.34) 0%, rgba(15, 25, 22, 0.1) 43%, rgba(15, 25, 22, 0.43) 100%);
}

.hero__nav {
  position: absolute;
  z-index: 8;
  top: 31px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-50%);
}

.wordmark {
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  line-height: 1;
}

.hero__nav nav {
  display: flex;
  gap: clamp(14px, 2vw, 31px);
  margin-top: 9px;
  font-size: clamp(0.63rem, 0.7vw, 0.73rem);
  font-weight: 500;
}

.hero__content {
  position: relative;
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(-82px, -8vh, -42px);
  padding: 0 20px;
  text-align: center;
}

.hero h1,
.about h2,
.section-heading h2,
.feature h2,
.listings h2,
.testimonial h2,
.subscribe__form label {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.052em;
}

.hero h1 {
  max-width: 920px;
  font-size: clamp(3.1rem, 5.7vw, 5.65rem);
  line-height: 0.84;
  text-shadow: 0 2px 18px rgba(10, 16, 14, 0.2);
}

em {
  padding-bottom: 0.06em;
  font-style: italic;
  line-height: 1.1;
}

.hero-line {
  display: block;
  overflow: hidden;
  padding: 0.06em 0 0.1em;
}

.hero-line > span {
  display: block;
  animation: heroLine 900ms var(--ease) both;
}

.hero-line:nth-child(2) > span {
  animation-delay: 120ms;
}

.hero__content > p {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.78rem, 1vw, 0.95rem);
}

.hero__actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: color 240ms var(--ease), background 240ms var(--ease), border-color 240ms var(--ease), box-shadow 240ms var(--ease), transform 240ms var(--ease);
}

.button > span:last-child,
.text-action span {
  transition: transform 240ms var(--ease);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(20, 30, 27, 0.16);
}

.button:hover > span:last-child,
.text-action:hover span {
  transform: translateX(4px);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.button--glass {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(26, 33, 30, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  color: var(--white);
}

.button--glass:hover {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}

.button--light {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.button--light:hover {
  border-color: var(--dark);
  background: var(--dark);
  color: var(--white);
}

.button--dark {
  border: 0;
  background: var(--dark);
  color: var(--white);
}

.button--dark:hover {
  border: 1px solid var(--dark);
  background: transparent;
  color: var(--dark);
}

.property-search {
  position: absolute;
  z-index: 12;
  right: 8.5%;
  bottom: 34px;
  left: 8.5%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  gap: 0;
  min-height: 102px;
  padding: 13px 14px 13px 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(215, 222, 219, 0.58);
  box-shadow: 0 22px 55px rgba(13, 24, 20, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(17px) saturate(115%);
}

.search-field {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: stretch;
}

.search-field:not(:first-child)::before {
  position: absolute;
  top: 19px;
  bottom: 19px;
  left: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.22);
  content: "";
}

.search-field__trigger {
  width: 100%;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  text-align: left;
  transition: background 240ms ease, border-color 240ms ease;
}

.search-field__trigger:hover,
.search-field.is-open .search-field__trigger {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.09);
}

.search-field__label,
.search-field__value {
  display: block;
}

.search-field__label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.search-field__value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  margin-top: 5px;
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chevron {
  display: inline-block;
  font-size: 1rem;
  transition: transform 220ms var(--ease);
}

.is-open .chevron {
  transform: rotate(180deg);
}

.search-field__menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 6px;
  min-width: 156px;
  overflow: hidden;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(248, 248, 244, 0.97);
  box-shadow: 0 16px 32px rgba(20, 30, 27, 0.15);
  color: var(--ink);
}

.search-field__menu button {
  display: block;
  width: 100%;
  padding: 10px 11px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
  font-size: 0.76rem;
  text-align: left;
}

.search-field__menu button:hover,
.search-field__menu button[aria-selected="true"] {
  background: #e6ebe8;
}

.search-submit {
  width: 54px;
  height: 54px;
  align-self: center;
  margin-left: 9px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(239, 243, 241, 0.24);
  color: var(--white);
  cursor: pointer;
  font-size: 1.45rem;
  transition: background 220ms ease, color 220ms ease, transform 220ms var(--ease);
}

.search-submit:hover {
  background: var(--white);
  color: var(--ink);
  transform: rotate(-5deg) translateY(-2px);
}

.statistics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 72px var(--page-pad) 80px;
  border-bottom: 1px solid rgba(26, 33, 30, 0.06);
  background: var(--white);
}

.stat {
  padding: 0 clamp(14px, 2vw, 28px);
}

.stat:first-child {
  padding-left: 0;
}

.stat + .stat {
  border-left: 1px solid var(--line);
}

.stat__value {
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.stat h2 {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.stat > p:last-child {
  max-width: 220px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.83fr) minmax(520px, 1.17fr);
  align-items: center;
  gap: clamp(42px, 7vw, 110px);
}

.about__copy {
  padding-left: clamp(0px, 1.5vw, 22px);
}

.about h2,
.section-heading h2,
.listings h2,
.testimonial h2 {
  font-size: clamp(3.3rem, 5.25vw, 5.5rem);
  line-height: 0.84;
}

.about__copy > p {
  max-width: 490px;
  margin-top: 32px;
  color: #4f5a55;
  font-size: clamp(0.82rem, 0.95vw, 0.96rem);
  line-height: 1.65;
}

.about__collage {
  position: relative;
  height: clamp(460px, 44vw, 630px);
}

.about-image {
  position: absolute;
  overflow: hidden;
  border-radius: 12px;
  background: #d9dfdc;
  box-shadow: 0 14px 34px rgba(31, 45, 39, 0.11);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image--tour {
  z-index: 2;
  top: 0;
  left: 10%;
  width: 45%;
  height: 51%;
}

.about-image--tour img {
  object-position: 49% center;
}

.about-image--planning {
  z-index: 3;
  bottom: 0;
  left: 0;
  width: 49%;
  height: 54%;
}

.about-image--planning img {
  object-position: 50% center;
}

.about-image--specialist {
  z-index: 4;
  right: 0;
  bottom: 4%;
  width: 51%;
  height: 79%;
}

.about-image--specialist img {
  object-position: 52% center;
}

.services {
  padding-top: 55px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  gap: clamp(34px, 6vw, 90px);
  margin-bottom: 36px;
}

.section-heading > p {
  max-width: 300px;
  padding-bottom: 7px;
  color: var(--muted);
  font-size: 0.8rem;
}

.service-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.service-card {
  position: relative;
  height: clamp(360px, 37vw, 510px);
  overflow: hidden;
  border-radius: 9px;
  background: #d5dcda;
  color: var(--white);
  isolation: isolate;
}

.service-card > img,
.image-gradient {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.service-card > img {
  z-index: -2;
  object-fit: cover;
  transition: transform 700ms var(--ease), filter 350ms ease;
}

.image-gradient {
  z-index: -1;
  background: linear-gradient(180deg, transparent 30%, rgba(15, 24, 21, 0.1) 52%, rgba(15, 24, 21, 0.84) 100%);
  transition: background 300ms ease;
}

.service-card__content {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  transition: transform 300ms var(--ease);
}

.card-kicker {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.65rem;
}

.service-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.6vw, 2.7rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}

.service-card__content > p:not(.card-kicker) {
  max-width: 360px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.7rem;
  line-height: 1.45;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

.tag-list span {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(25, 33, 30, 0.2);
  font-size: 0.56rem;
  backdrop-filter: blur(5px);
}

.card-arrow,
.listing-card__arrow {
  position: absolute;
  right: 18px;
  top: 18px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(20, 28, 25, 0.2);
  backdrop-filter: blur(8px);
  transition: transform 280ms var(--ease), background 280ms ease;
}

.service-card:hover > img {
  transform: scale(1.015);
  filter: saturate(0.94) contrast(1.03);
}

.service-card:hover .service-card__content {
  transform: translateY(-6px);
}

.service-card:hover .card-arrow,
.listing-card:hover .listing-card__arrow {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  transform: rotate(-6deg) translate(2px, -2px);
}

.feature {
  position: relative;
  height: clamp(610px, 62vw, 880px);
  overflow: hidden;
  margin: 10px var(--page-pad) 0;
  border-radius: 10px;
  color: var(--white);
  isolation: isolate;
}

.feature > img,
.feature__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.feature > img {
  z-index: -2;
  object-fit: cover;
  object-position: center;
  transition: transform 1000ms var(--ease);
}

.feature:hover > img {
  transform: scale(1.012);
}

.feature__overlay {
  z-index: -1;
  background: linear-gradient(180deg, rgba(12, 18, 16, 0.05) 30%, rgba(12, 18, 16, 0.25) 64%, rgba(12, 18, 16, 0.7) 100%);
}

.feature__content {
  position: absolute;
  left: clamp(25px, 5vw, 70px);
  bottom: clamp(34px, 7vw, 92px);
}

.feature__eyebrow {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.77);
  font-size: 0.7rem;
}

.feature h2 {
  font-size: clamp(3.2rem, 5.55vw, 5.8rem);
  line-height: 0.83;
  text-shadow: 0 2px 18px rgba(11, 18, 15, 0.18);
}

.feature__actions {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-top: 25px;
}

.text-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  font-weight: 600;
}

.feature__meta {
  position: absolute;
  right: 32px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0.66rem;
}

.feature__meta strong {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
}

.feature__controls {
  position: absolute;
  right: 31px;
  bottom: 87px;
  display: flex;
}

.feature__controls span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  font-size: 0.7rem;
  backdrop-filter: blur(7px);
}

.listings {
  padding-bottom: 105px;
}

.listings__heading {
  margin-bottom: 36px;
}

.listings__intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 27px;
}

.listing-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.text-action--dark {
  min-height: 44px;
  color: var(--ink);
}

.listings__intro > p {
  max-width: 320px;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: right;
}

.listing-track {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding-bottom: 8px;
  cursor: grab;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-y;
}

.listing-track::-webkit-scrollbar {
  display: none;
}

.listing-track[data-dragging="true"] {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.listing-card {
  position: relative;
  flex: 0 0 25%;
  height: clamp(300px, 29vw, 410px);
  overflow: hidden;
  border-radius: 8px;
  background: #d5dcda;
  color: var(--white);
  scroll-snap-align: start;
  isolation: isolate;
}

.listing-card--wide {
  flex-basis: 28%;
}

.listing-card--active {
  flex-basis: 31%;
}

.listing-card--slim {
  flex-basis: 23%;
}

.listing-card img,
.listing-card__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.listing-card img {
  z-index: -2;
  object-fit: cover;
  transition: transform 600ms var(--ease);
  user-select: none;
}

.listing-card__overlay {
  z-index: -1;
  background: linear-gradient(180deg, transparent 45%, rgba(14, 22, 19, 0.64) 100%);
  opacity: 0.22;
  transition: opacity 280ms ease;
}

.listing-card--active .listing-card__overlay,
.listing-card:hover .listing-card__overlay {
  opacity: 1;
}

.listing-card__content {
  position: absolute;
  bottom: 19px;
  left: 19px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 280ms ease, transform 280ms var(--ease);
}

.listing-card--active .listing-card__content,
.listing-card:hover .listing-card__content {
  opacity: 1;
  transform: translateY(0);
}

.listing-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.listing-card__content p {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.61rem;
}

.listing-card__arrow {
  top: auto;
  bottom: 17px;
  opacity: 0;
}

.listing-card--active .listing-card__arrow,
.listing-card:hover .listing-card__arrow {
  opacity: 1;
}

.listing-card:hover img {
  transform: scale(1.015);
}

.gallery-controls {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  margin-top: 17px;
}

.circle-control {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease, transform 220ms var(--ease);
}

.circle-control:hover {
  background: var(--dark);
  color: var(--white);
  transform: rotate(-5deg) translateY(-2px);
}

.testimonial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(50px, 9vw, 145px);
  margin: 0 var(--page-pad);
  padding: clamp(55px, 6vw, 92px);
  border-radius: 10px;
  background: #ecedea;
}

.testimonial h2 {
  font-size: clamp(3rem, 4.5vw, 4.7rem);
}

.testimonial__intro > p {
  max-width: 480px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 0.8rem;
}

.testimonial__quote blockquote {
  max-width: 580px;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.17;
}

.testimonial__quote > p {
  max-width: 570px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.75rem;
}

.testimonial__person {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 25px;
}

.avatar {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border-radius: 50%;
  background: #c8d2cd;
  color: #33423c;
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 500;
}

.testimonial__person > span:last-child {
  display: flex;
  flex-direction: column;
}

.testimonial__person strong {
  font-size: 0.72rem;
  font-weight: 600;
}

.testimonial__person small {
  color: var(--muted);
  font-size: 0.62rem;
}

.testimonial__controls {
  display: flex;
  gap: 7px;
  margin-top: 28px;
}

.testimonial__controls .circle-control {
  width: 39px;
  height: 39px;
}

.footer {
  padding-bottom: 35px;
}

.subscribe {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(500px, 1.45fr);
  align-items: end;
  gap: clamp(50px, 10vw, 165px);
}

.subscribe > p {
  max-width: 380px;
  padding-bottom: 15px;
  color: var(--muted);
  font-size: 0.77rem;
}

.subscribe__form label {
  display: block;
  font-size: clamp(4rem, 7vw, 7.5rem);
  line-height: 0.85;
}

.subscribe__input-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink);
}

.subscribe__input-wrap input {
  width: 100%;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.8rem;
  outline: 0;
}

.subscribe__input-wrap input::placeholder {
  color: transparent;
}

.subscribe__input-wrap:focus-within {
  border-color: #4d7064;
  box-shadow: 0 1px 0 #4d7064;
}

.form-status {
  min-height: 21px;
  margin-top: 8px;
  font-size: 0.7rem;
}

.form-status--error {
  color: #8a3c35;
}

.form-status--success {
  color: #42695b;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(4, 0.8fr) 1.5fr;
  gap: clamp(25px, 5vw, 76px);
  margin-top: 100px;
  padding-top: 33px;
  border-top: 1px solid rgba(26, 33, 30, 0.08);
}

.footer details,
.footer address {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 7px;
  font-style: normal;
}

.footer summary,
.footer address strong {
  margin-bottom: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  list-style: none;
}

.footer summary::-webkit-details-marker {
  display: none;
}

.footer details a,
.footer address span {
  display: block;
  color: #44514c;
  font-size: 0.63rem;
  line-height: 1.45;
}

.footer details a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer details a + a {
  margin-top: 7px;
}

.footer address span + span {
  margin-top: 8px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
  padding-top: 18px;
  border-top: 1px solid rgba(26, 33, 30, 0.08);
  color: var(--muted);
  font-size: 0.65rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 780ms var(--ease) var(--delay, 0ms), transform 780ms var(--ease) var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-enter {
  animation: fadeUp 820ms var(--ease) both;
}

.hero-enter--nav {
  animation-name: fadeDownCenter;
  animation-delay: 240ms;
}

.hero-enter--copy {
  animation-delay: 460ms;
}

.hero-enter--actions {
  animation-delay: 570ms;
}

.hero-enter--search {
  animation-delay: 720ms;
}

@keyframes heroImage {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes heroLine {
  from { opacity: 0; transform: translateY(110%); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDownCenter {
  from { opacity: 0; transform: translate(-50%, -16px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 1050px) {
  .property-search {
    right: 4.5%;
    left: 4.5%;
  }

  .search-field__trigger {
    padding-inline: 12px;
  }

  .about {
    grid-template-columns: minmax(0, 0.78fr) minmax(460px, 1.22fr);
    gap: 45px;
  }

  .feature {
    height: 650px;
  }
}

@media (max-width: 860px) {
  :root {
    --page-pad: clamp(22px, 4.8vw, 40px);
  }

  .sticky-header {
    grid-template-columns: 1fr auto;
  }

  .sticky-header nav {
    display: none;
  }

  .hero {
    min-height: 820px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 9vw, 5rem);
  }

  .property-search {
    grid-template-columns: repeat(2, minmax(0, 1fr)) 58px;
    min-height: 190px;
    padding: 14px;
  }

  .search-field:nth-child(odd)::before {
    display: none;
  }

  .search-field__menu {
    top: auto;
    bottom: calc(100% + 7px);
  }

  .search-submit {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .statistics {
    grid-template-columns: repeat(2, 1fr);
    gap: 42px 0;
  }

  .stat:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .about__copy {
    max-width: 610px;
  }

  .about__collage {
    width: min(100%, 700px);
    height: 620px;
    justify-self: end;
  }

  .service-track {
    display: flex;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .service-track::-webkit-scrollbar {
    display: none;
  }

  .service-card {
    flex: 0 0 70%;
    scroll-snap-align: start;
  }

  .feature {
    height: 650px;
  }

  .feature > img {
    object-position: center;
  }

  .listing-card,
  .listing-card--slim,
  .listing-card--wide,
  .listing-card--active {
    flex-basis: 48%;
  }

  .testimonial {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .subscribe {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .subscribe > p {
    max-width: 460px;
  }

  .footer__links {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer address {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  :root {
    --page-pad: 20px;
  }

  .site-canvas {
    padding: 0;
  }

  .sticky-header {
    top: 13px;
    width: calc(100% - 30px);
    height: 58px;
    padding: 0 13px 0 17px;
  }

  .sticky-action {
    padding: 9px 13px;
    font-size: 0.68rem;
  }

  .section-pad {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .hero {
    min-height: 960px;
    align-items: flex-start;
  }

  .hero::after {
    inset: 8px;
    border-radius: 9px;
  }

  .hero__image {
    object-position: 50% center;
  }

  .hero__scrim {
    background: linear-gradient(180deg, rgba(15, 25, 22, 0.47), rgba(15, 25, 22, 0.08) 48%, rgba(15, 25, 22, 0.57));
  }

  .hero__nav {
    top: 25px;
  }

  .wordmark {
    font-size: 1.25rem;
  }

  .hero__nav nav {
    gap: 14px;
    font-size: 0.57rem;
  }

  .hero__nav nav a:nth-child(3),
  .hero__nav nav a:nth-child(5) {
    display: none;
  }

  .hero__content {
    width: 100%;
    margin-top: 175px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 14vw, 4.4rem);
    line-height: 0.86;
  }

  .hero__content > p {
    max-width: 290px;
    margin-top: 18px;
    line-height: 1.5;
  }

  .hero__actions {
    flex-direction: column;
    width: min(100%, 250px);
    margin-top: 18px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .property-search {
    right: 20px;
    bottom: 20px;
    left: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 258px;
    padding: 10px;
    border-radius: 12px;
  }

  .search-field::before {
    display: none;
  }

  .search-field__trigger {
    min-height: 67px;
    padding: 9px 10px;
  }

  .search-field__menu {
    left: 0;
    min-width: 145px;
  }

  .search-submit {
    grid-column: auto;
    grid-row: auto;
    width: 50px;
    height: 50px;
    justify-self: center;
    margin: 0;
  }

  .statistics {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .stat,
  .stat:first-child,
  .stat:nth-child(3) {
    padding: 27px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .stat:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .stat > p:last-child {
    max-width: 290px;
  }

  .about h2,
  .section-heading h2,
  .listings h2,
  .testimonial h2 {
    font-size: clamp(2.9rem, 13vw, 4rem);
  }

  .about__copy > p {
    margin-top: 25px;
  }

  .about__collage {
    height: 470px;
  }

  .about-image--tour {
    left: 4%;
    width: 54%;
    height: 43%;
  }

  .about-image--planning {
    width: 57%;
    height: 49%;
  }

  .about-image--specialist {
    width: 54%;
    height: 70%;
  }

  .services {
    padding-top: 25px;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 23px;
    padding: 0;
  }

  .service-track {
    margin-right: -20px;
  }

  .service-card {
    flex-basis: 87%;
    height: 440px;
  }

  .feature {
    height: 610px;
    margin-inline: 10px;
  }

  .feature > img {
    object-position: 50% center;
  }

  .feature__content {
    right: 20px;
    bottom: 42px;
    left: 20px;
  }

  .feature h2 {
    font-size: clamp(2.85rem, 13vw, 4rem);
  }

  .feature__actions {
    flex-wrap: wrap;
  }

  .feature__meta,
  .feature__controls {
    display: none;
  }

  .listings__intro {
    display: block;
  }

  .listings__intro > p {
    margin-top: 22px;
    text-align: left;
  }

  .listing-track {
    margin-right: -20px;
  }

  .listing-card,
  .listing-card--slim,
  .listing-card--wide,
  .listing-card--active {
    flex-basis: 83%;
    height: 390px;
  }

  .testimonial {
    gap: 45px;
    margin-inline: 10px;
    padding: 44px 25px;
  }

  .subscribe__form label {
    font-size: clamp(3.4rem, 16vw, 5rem);
  }

  .subscribe__input-wrap input::placeholder {
    color: #7f8984;
  }

  .footer__links {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 67px;
  }

  .footer details {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(26, 33, 30, 0.08);
  }

  .footer summary {
    cursor: pointer;
  }

  .footer address {
    grid-column: span 2;
    margin-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
