/* Rauthin Estate parent-brand launch
   Reuses the Landmeterskop/Rauthin typographic system while establishing
   Rauthin as the parent estate rather than a duplicate accommodation site. */

body.estate-holding {
  --estate-green: #173d35;
  --estate-green-deep: #0e2c27;
  --estate-cream: #f6f1e7;
  --estate-gold: #b88a3c;
  background: var(--estate-cream);
}

.estate-holding .estate-header {
  background: rgba(246, 241, 231, .96);
}

.estate-holding .estate-brand img {
  border-radius: 50%;
  box-shadow: 0 8px 24px -18px rgba(15, 43, 70, .8);
}

.estate-holding .estate-brand .sub {
  letter-spacing: .2em;
}

.estate-hero {
  position: relative;
  min-height: clamp(610px, 78vh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--estate-green-deep);
}

.estate-hero-media,
.estate-hero-shade {
  position: absolute;
  inset: 0;
}

.estate-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1.015);
}

.estate-hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 30, 27, .94) 0%, rgba(14, 44, 39, .86) 40%, rgba(14, 44, 39, .42) 74%, rgba(14, 44, 39, .18) 100%),
    linear-gradient(0deg, rgba(8, 30, 27, .28), rgba(8, 30, 27, .05));
}

.estate-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.estate-hero-copy {
  max-width: 730px;
  padding: 84px 0;
}

.estate-hero .eyebrow {
  color: #d8b36a;
  margin-bottom: .8rem;
}

.estate-hero h1 {
  color: #fff;
  font-size: clamp(4.2rem, 9vw, 7.8rem);
  line-height: .85;
  letter-spacing: .015em;
  margin-bottom: 1.1rem;
  text-shadow: 0 3px 28px rgba(0, 0, 0, .35);
}

.estate-tagline {
  color: #e3c27f;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  letter-spacing: .11em;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
}

.estate-tagline span {
  color: rgba(255, 255, 255, .65);
  padding: 0 .35em;
}

.estate-intro {
  max-width: 650px;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.estate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.estate-actions .btn {
  padding-left: 28px;
  padding-right: 28px;
}

.estate-positioning {
  background:
    radial-gradient(circle at 90% 12%, rgba(184, 138, 60, .10), transparent 29%),
    var(--estate-cream);
}

.estate-positioning-grid,
.estate-feature-grid,
.estate-ridgeback-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(380px, .97fr);
  gap: clamp(46px, 7vw, 92px);
  align-items: center;
}

.estate-positioning-copy {
  max-width: 680px;
}

.estate-note {
  border-left: 3px solid var(--estate-gold);
  padding: 14px 0 14px 20px;
  color: var(--blue-soft);
  font-weight: 700;
}

.estate-brand-stack {
  display: grid;
  gap: 16px;
  position: relative;
}

.estate-brand-stack::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 32px;
  bottom: 32px;
  width: 1px;
  background: linear-gradient(var(--estate-gold), rgba(184, 138, 60, .12));
}

.estate-brand-card {
  position: relative;
  z-index: 1;
  padding: 27px 30px 25px 74px;
  background: rgba(251, 248, 241, .95);
  border: 1px solid rgba(15, 43, 70, .13);
  box-shadow: 0 18px 44px -34px rgba(15, 43, 70, .65);
}

.estate-brand-card::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 31px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--estate-gold);
  box-shadow: 0 0 0 8px var(--estate-cream);
}

.estate-brand-card--parent {
  background: var(--estate-green);
  border-color: var(--estate-green);
}

.estate-brand-card--parent h3,
.estate-brand-card--parent p {
  color: #fff;
}

.estate-brand-card--parent p {
  color: rgba(255, 255, 255, .78);
}

.estate-brand-card--parent::before {
  background: #e3c27f;
  box-shadow: 0 0 0 8px var(--estate-green);
}

.estate-card-kicker {
  display: block;
  color: var(--estate-gold);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.estate-brand-card h3 {
  font-size: clamp(1.55rem, 2.3vw, 2rem);
  margin-bottom: 6px;
}

.estate-brand-card p {
  color: var(--mute);
  font-size: .93rem;
  line-height: 1.65;
  margin: 0;
}

.estate-landmeterskop {
  background: #fbf8f1;
  border-top: 1px solid rgba(15, 43, 70, .08);
  border-bottom: 1px solid rgba(15, 43, 70, .08);
}

.estate-feature-media {
  position: relative;
}

.estate-feature-media img {
  min-height: 520px;
  width: 100%;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: var(--shadow);
}

.estate-owned-mark {
  position: absolute;
  left: 26px;
  bottom: 24px;
  padding: 11px 16px;
  background: rgba(14, 44, 39, .93);
  color: #fff;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-left: 3px solid #d8b36a;
}

.estate-checks {
  list-style: none;
  margin: 22px 0 28px;
  display: grid;
  gap: 11px;
}

.estate-checks li {
  position: relative;
  padding-left: 30px;
  color: var(--blue-soft);
}

.estate-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--estate-gold);
  font-weight: 800;
}

.estate-pillars {
  background: var(--estate-green-deep);
}

.estate-pillars .section-head h2,
.estate-pillars .section-head .lead {
  color: #fff;
}

.estate-pillars .section-head .lead {
  color: rgba(255, 255, 255, .68);
}

.estate-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .14);
}

.estate-pillar {
  min-height: 300px;
  padding: 44px 36px;
  background: var(--estate-green-deep);
  transition: background .25s ease, transform .25s ease;
}

.estate-pillar:hover {
  background: var(--estate-green);
  transform: translateY(-3px);
}

.estate-pillar-number {
  display: block;
  color: #d8b36a;
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 50px;
}

.estate-pillar h3 {
  color: #fff;
  margin-bottom: 15px;
}

.estate-pillar p {
  color: rgba(255, 255, 255, .7);
  margin: 0;
}

.estate-ridgebacks {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(184, 138, 60, .09), transparent 34%),
    var(--estate-cream);
}

.estate-ridgeback-panel {
  min-height: 470px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 16px;
  padding: 44px 34px 30px;
  background: var(--estate-green-deep);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.estate-ridgeback-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(216, 179, 106, .22), transparent 24%),
    linear-gradient(145deg, transparent 30%, rgba(255, 255, 255, .04));
}

.ridgeback-silhouette {
  position: relative;
  z-index: 1;
  height: 260px;
  border-radius: 46% 46% 8px 8px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 8px 20px;
  background:
    radial-gradient(circle at 50% 29%, rgba(255, 255, 255, .11) 0 6%, transparent 6.5%),
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(0, 0, 0, .16));
  border: 1px solid rgba(255, 255, 255, .13);
  transform-origin: bottom;
}

.ridgeback-silhouette::before,
.ridgeback-silhouette::after {
  content: "";
  position: absolute;
  top: -23px;
  width: 38px;
  height: 64px;
  background: inherit;
  border: inherit;
  border-radius: 70% 15% 70% 20%;
}

.ridgeback-silhouette::before {
  left: 17%;
  transform: rotate(-22deg);
}

.ridgeback-silhouette::after {
  right: 17%;
  transform: scaleX(-1) rotate(-22deg);
}

.ridgeback-silhouette--one {
  height: 230px;
  opacity: .72;
}

.ridgeback-silhouette--two {
  height: 295px;
  background:
    radial-gradient(circle at 50% 29%, rgba(255, 255, 255, .12) 0 6%, transparent 6.5%),
    linear-gradient(180deg, rgba(216, 179, 106, .18), rgba(0, 0, 0, .18));
}

.ridgeback-silhouette--three {
  height: 248px;
  opacity: .86;
}

.ridgeback-silhouette span {
  color: rgba(255, 255, 255, .85);
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.estate-ridgeback-panel > p {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9px;
  z-index: 2;
  margin: 0;
  color: #d8b36a;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
}

.estate-cta {
  padding: 0;
  background: var(--blue);
}

.estate-cta-inner {
  min-height: 250px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 38px;
  padding-top: 52px;
  padding-bottom: 52px;
}

.estate-cta h2,
.estate-cta p {
  color: #fff;
}

.estate-cta p {
  margin: .6rem 0 0;
  color: rgba(255, 255, 255, .74);
}

.estate-footer .estate-footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 42px;
  padding: 58px 0 44px;
}

.estate-footer .estate-footer-brand p {
  max-width: 390px;
  margin: 20px 0 0;
}

.estate-footer h4 {
  margin-bottom: 14px;
}

.estate-footer .estate-footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.estate-footer a:hover {
  color: var(--gold-soft);
}

.js-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}

.js-reveal .reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .estate-positioning-grid,
  .estate-feature-grid,
  .estate-ridgeback-grid {
    grid-template-columns: 1fr;
  }

  .estate-feature-media {
    order: 2;
  }

  .estate-feature-media img {
    min-height: 420px;
  }

  .estate-footer .estate-footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .estate-footer .estate-footer-grid > div:last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 820px) {
  .estate-holding .nav-links {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    padding: 22px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
    background: var(--estate-cream);
    border: 1px solid rgba(15, 43, 70, .13);
    box-shadow: 0 24px 60px -30px rgba(15, 43, 70, .7);
    z-index: 100;
  }

  .estate-holding .nav-links.open {
    display: flex;
  }

  .estate-holding .nav-links a {
    padding: 8px 4px;
  }

  .estate-holding .nav-toggle {
    display: flex;
  }

  .estate-pillar-grid {
    grid-template-columns: 1fr;
  }

  .estate-pillar {
    min-height: auto;
  }

  .estate-pillar-number {
    margin-bottom: 24px;
  }

  .estate-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .estate-hero {
    min-height: 650px;
  }

  .estate-hero-shade {
    background:
      linear-gradient(0deg, rgba(8, 30, 27, .94) 0%, rgba(14, 44, 39, .76) 62%, rgba(14, 44, 39, .43) 100%);
  }

  .estate-hero-copy {
    padding: 88px 0 60px;
    align-self: flex-end;
  }

  .estate-hero h1 {
    font-size: clamp(3.7rem, 22vw, 5.5rem);
  }

  .estate-tagline {
    font-size: 1.05rem;
    letter-spacing: .08em;
  }

  .estate-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .estate-actions .btn {
    width: 100%;
    text-align: center;
  }

  .estate-brand-card {
    padding-left: 66px;
  }

  .estate-ridgeback-panel {
    min-height: 390px;
    padding-left: 20px;
    padding-right: 20px;
    gap: 9px;
  }

  .ridgeback-silhouette {
    height: 190px;
  }

  .ridgeback-silhouette--two {
    height: 235px;
  }

  .ridgeback-silhouette--three {
    height: 205px;
  }

  .estate-footer .estate-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .estate-footer .estate-footer-grid > div:last-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  * {
    scroll-behavior: auto !important;
  }
}
