:root {
  --bg: #f6f1e8;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #fffdf9;
  --surface-dark: #152230;
  --card-dark: rgba(255, 255, 255, 0.06);
  --line: rgba(21, 34, 48, 0.12);
  --line-strong: rgba(255, 255, 255, 0.12);
  --text: #13202c;
  --muted: #495765;
  --accent: #b78646;
  --accent-strong: #8f6331;
  --accent-soft: rgba(183, 134, 70, 0.12);
  --shadow-lg: 0 28px 80px rgba(20, 32, 44, 0.12);
  --shadow-md: 0 18px 40px rgba(20, 32, 44, 0.08);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shell: min(1120px, calc(100vw - 2rem));
  --sans: Aptos, "Segoe UI", "Helvetica Neue", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(183, 134, 70, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(21, 34, 48, 0.08), transparent 24%),
    linear-gradient(180deg, #fbf7f1 0%, var(--bg) 100%);
  text-rendering: optimizeLegibility;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #8f6331;
  outline-offset: 3px;
}

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

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

.skip-link:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 200;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(160%) blur(18px);
  background: rgba(246, 241, 232, 0.72);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(251, 247, 241, 0.92);
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(20, 32, 44, 0.05);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand img {
  width: 56px;
  height: auto;
  aspect-ratio: 250 / 316;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 0.05rem;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.8rem;
}

.menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.menu a {
  padding: 0.75rem 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.menu a:hover,
.menu a:focus-visible,
.menu a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.58);
}

.menu-cta {
  background: var(--text);
  color: #fff !important;
}

.menu-cta:hover,
.menu-cta:focus-visible {
  background: #1e3142;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.menu-toggle span+span {
  margin-top: 5px;
}

.hero {
  position: relative;
  overflow: clip;
  padding: 3rem 0 2rem;
}

.hero-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.4), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(183, 134, 70, 0.18), transparent 18%),
    radial-gradient(circle at 15% 40%, rgba(21, 34, 48, 0.12), transparent 18%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  color: var(--accent-strong);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2.75rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h1 {
  /*max-width: 13.5ch;*/
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  text-wrap: pretty;
}

h2 {
  font-size: clamp(2.2rem, 3vw, 3.4rem);
}

h3 {
  font-size: 1.45rem;
}

.hero-text,
.about-copy p,
.service-card p,
.feature-card p,
.testimonial-card p,
.process-list p,
.footer-note,
.contact-card p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

.hero-text {
  max-width: 58ch;
  margin: 1.4rem 0 0;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--text);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #1b2d3d;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.button-light {
  background: #fff;
  color: var(--text);
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-metrics li,
.contact-card,
.service-card,
.feature-card,
.testimonial-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.hero-metrics li {
  padding: 1.2rem 1.15rem;
  border-radius: var(--radius-md);
}

.hero-metrics strong,
.contact-card strong,
.process-list strong,
.feature-card strong {
  display: block;
  color: var(--text);
}

.hero-metrics span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-card {
  display: grid;
  gap: 1rem;
  max-width: 24rem;
  justify-self: center;
}

.portrait-card {
  position: relative;
  padding: 1rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 251, 245, 0.78)),
    linear-gradient(145deg, rgba(183, 134, 70, 0.2), rgba(21, 34, 48, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg);
}

.portrait {
  width: 100%;
  aspect-ratio: 10 / 12;
  object-fit: cover;
  object-position: top center;
  border-radius: calc(var(--radius-xl) - 0.4rem);
  background: linear-gradient(180deg, #fff, #f3eee5);
}

.portrait-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 1;
  max-width: 15rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(19, 32, 44, 0.88);
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-lg);
}

.contact-card a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0;
  color: var(--text);
  font-weight: 600;
}

.section {
  padding: 6.5rem 0;
}

.deferred-section {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.section-soft {
  background: rgba(255, 255, 255, 0.42);
}

.section-dark {
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(183, 134, 70, 0.14), transparent 22%),
    linear-gradient(160deg, #142230 0%, #1b2b3a 100%);
}

.section-dark .eyebrow,
.section-dark .feature-card strong,
.section-dark .feature-card p,
.section-dark h2 {
  color: #fff;
}

.section-dark .feature-card p {
  color: rgba(255, 255, 255, 0.86);
}

.section-dark .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2.6rem;
}

.section-heading-center {
  margin-inline: auto;
  text-align: center;
}

.section-heading-center .eyebrow {
  justify-content: center;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 3rem;
  align-items: start;
}

.about-copy {
  display: grid;
  gap: 1rem;
}

.service-grid,
.feature-grid,
.testimonial-grid {
  display: grid;
  gap: 1.25rem;
}

.featured-properties {
  position: relative;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.featured-property {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 220px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.featured-property img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.featured-property::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(19, 32, 44, 0.76) 100%);
  opacity: 0.92;
  transition: opacity 0.3s ease;
}

.featured-property-title {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  color: #fff;
  font-weight: 700;
  font-size: 1.02rem;
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.featured-property:hover img,
.featured-property:focus-visible img {
  transform: scale(1.03);
  filter: saturate(1.08);
}

.featured-property:hover .featured-property-title,
.featured-property:focus-visible .featured-property-title {
  transform: translateY(0);
  opacity: 1;
}

.featured-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

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

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.service-card,
.feature-card,
.testimonial-card {
  height: 100%;
  padding: 1.8rem;
  border-radius: var(--radius-lg);
}

.service-card h3,
.feature-card strong {
  margin-top: 1rem;
}

.section-dark .feature-card {
  border-color: var(--line-strong);
  background: var(--card-dark);
  box-shadow: none;
}

.icon {
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.icon svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.process-list span {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  font-weight: 700;
}

.testimonial-card {
  margin: 0;
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.testimonial-card:nth-child(odd) {
  --tilt: -1.4deg;
}

.testimonial-card:nth-child(even) {
  --tilt: 1.4deg;
}

.testimonial-card:hover,
.testimonial-card:focus-within {
  transform: rotate(0deg) translateY(-4px);
}

.testimonial-card footer {
  display: grid;
  gap: 0.2rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.testimonial-card span {
  color: var(--muted);
  font-size: 0.94rem;
}

.cta-section {
  padding-top: 0;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px) minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  color: #fff;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(135deg, #172533 0%, #24384a 55%, #8f6331 100%);
  box-shadow: var(--shadow-lg);
}

.cta-panel h2 {
  max-width: 18ch;
}

.cta-copy {
  max-width: 28rem;
}

.cta-profile {
  display: grid;
  gap: 0;
  width: 100%;
  max-width: 280px;
  justify-self: center;
  justify-items: center;
  position: relative;
  z-index: 1;
}

.cta-profile .portrait-card {
  width: min(100%, 260px);
}

.cta-profile .contact-card {
  width: 100%;
  margin-top: -0.85rem;
  position: relative;
  z-index: 2;
  text-align: center;
  justify-items: center;
}

.cta-actions {
  position: relative;
  z-index: 3;
}

.cta-panel .eyebrow {
  color: rgba(255, 255, 255, 0.74);
}

.site-footer {
  padding: 2rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid var(--line);
}

.brand-footer img {
  width: 48px;
  height: auto;
  aspect-ratio: 250 / 316;
  object-fit: contain;
}

.footer-note {
  max-width: 34ch;
  margin: 1rem 0 0;
}

.site-footer h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
  color: var(--muted);
}

.footer-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.25rem 0;
}

.footer-bottom {
  padding-top: 1rem;
  color: var(--muted);
  text-align: center;
}

.footer-bottom p {
  margin: 0.3rem 0;
}

.footer-bottom a {
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0s);
}

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

.reveal.rotate-in {
  transform: translateY(34px) rotate(var(--tilt, 0deg));
}

.reveal.rotate-in.is-visible {
  transform: translateY(0) rotate(var(--tilt, 0deg));
}

@media (max-width: 980px) {

  .hero-grid,
  .about-grid,
  .service-grid,
  .featured-grid,
  .testimonial-grid,
  .process-list,
  .footer-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

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

  .hero {
    padding-top: 1.5rem;
  }

  .cta-panel {
    align-items: flex-start;
  }

  .cta-panel h2 {
    max-width: none;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-block;
  }

  .menu {
    position: fixed;
    top: 88px;
    right: 1rem;
    left: 1rem;
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(255, 253, 249, 0.96);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu-cta {
    text-align: center;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 8.5vw, 3.6rem);
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 1.25rem 0 1.75rem;
  }

  .hero-grid {
    gap: 1.4rem;
  }

  .hero-copy {
    order: 1;
  }

  .nav-wrap {
    min-height: 78px;
  }

  .brand-copy strong {
    font-size: 0.92rem;
  }

  .brand-copy small {
    font-size: 0.72rem;
  }

  .section {
    padding: 5rem 0;
  }

  .service-card,
  .feature-card,
  .testimonial-card,
  .process-list li,
  .cta-panel,
  .footer-grid {
    padding: 1.35rem;
  }

  .portrait-badge {
    position: static;
    display: inline-flex;
    justify-content: center;
    max-width: 150px;
    margin: 0 auto 0.75rem;
    padding: 0.45rem 0.7rem;
    font-size: 0.64rem;
    line-height: 1.35;
    text-align: center;
  }

  h1 {
    max-width: 100%;
  }

  .portrait-card {
    padding: 0.4rem;
    width: 150px;
    height: 150px;
    border-radius: 24px;
    margin-inline: auto;
  }

  .portrait {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 20px;
  }

  .cta-profile .contact-card {
    padding: 1rem;
    width: 100%;
    max-width: 18rem;
    margin-inline: auto;
    margin-top: -0.85rem;
    justify-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
  }

  .cta-profile {
    width: 100%;
    max-width: 20rem;
    justify-self: center;
    justify-items: center;
  }

  .contact-card a,
  .footer-list a {
    min-height: 48px;
    width: 100%;
    padding: 0.45rem 0;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 7.4vw, 3rem);
    line-height: 1.02;
    max-width: 11ch;
  }

  .hero-metrics {
    margin-top: 1.5rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
