* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --tan: #9c8672;
  --white: #f0e4e4;
  --font: "Jost", "Century Gothic", "Futura", sans-serif;
}

body {
  font-family: var(--font);
  background: var(--white);
  min-height: 100vh;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.11), transparent);
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.header.scrolled {
  background: var(--tan);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

.navbar {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.35s ease;
}

.header.scrolled .navbar {
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  color: rgba(243, 242, 242, 0.925);
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 3px;
  line-height: 1;
  z-index: 1002;
  transition: letter-spacing 0.35s ease;
}

.brand span {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand .o {
  font-size: 0.82em;
  font-weight: 400;
  margin: 0 1px;
}

.brand:hover {
  letter-spacing: 5px;
}
.brand:hover span {
  transform: translateY(-6px);
}
.brand:hover span:nth-child(2) {
  transition-delay: 0.05s;
}
.brand:hover .o {
  transition-delay: 0.1s;
  transform: translateY(-6px) rotate(360deg);
}
.brand:hover span:nth-child(4) {
  transition-delay: 0.15s;
}
.brand:hover span:nth-child(5) {
  transition-delay: 0.2s;
}

.brand::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: rgb(255, 254, 254);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.brand:hover::after {
  transform: scaleX(1);
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav-link {
  position: relative;
  color: rgb(247, 244, 244);
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.781);
  letter-spacing: 0.3px;
  padding: 6px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: rgba(250, 249, 249, 0.788);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-btn {
  display: inline-block;
  color: rgba(248, 246, 246, 0.918);
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.3px;
  padding: 12px 28px;
  border: 1px solid var(--white);
  border-radius: 999px;
  white-space: nowrap;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.nav-btn:hover {
  background: var(--white);
  color: var(--tan);
  transform: translateY(-2px);
}

.nav-link:focus-visible,
.nav-btn:focus-visible,
.brand:focus-visible,
.menu-toggle:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 5px;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1002;
}

.menu-toggle span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition:
    transform 0.35s ease,
    opacity 0.25s ease,
    top 0.35s ease;
}

.menu-toggle span:nth-child(1) {
  top: 14px;
}
.menu-toggle span:nth-child(2) {
  top: 21px;
}
.menu-toggle span:nth-child(3) {
  top: 28px;
}

.menu-toggle.active span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 1000;
}

.nav-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* ================= LAPTOP (small) ================= */
@media (max-width: 1200px) {
  .nav-menu {
    gap: 26px;
  }
  .nav-link,
  .nav-btn {
    font-size: 14px;
  }
  .nav-btn {
    padding: 10px 22px;
  }
}

/* ================= TABLET + MOBILE (drawer menu) ================= */
@media (max-width: 991px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    width: min(380px, 85vw);
    background: var(--tan);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    padding: 110px 36px 40px;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition:
      transform 0.4s ease,
      visibility 0.4s;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
    z-index: 1001;
  }

  .nav-menu.open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    display: block;
    font-size: 20px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }

  .nav-link::after {
    display: none;
  }

  .nav-btn {
    display: block;
    text-align: center;
    font-size: 17px;
    margin-top: 24px;
    padding: 14px 24px;
  }
}

@media (max-width: 575px) {
  .navbar {
    padding: 16px 20px;
  }
  .brand {
    font-size: 30px;
  }
  .nav-menu {
    width: 100%;
    padding: 100px 28px 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

.hero_section {
  --frame: 16px;
  --r: 28px;
  padding: var(--frame);
}

.hero_img {
  position: relative;
  isolation: isolate;
  height: calc(100vh - var(--frame) * 2);
  height: calc(100svh - var(--frame) * 2);
  min-height: 620px;
  border-radius: var(--r);
  overflow: hidden;
  background-image: url("assets/hero_images/home_hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: heroReveal 1.5s cubic-bezier(0.77, 0, 0.18, 1) backwards;
}

.hero_img::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.12) 40%,
      transparent 65%
    ),
    radial-gradient(ellipse at 30% 20%, rgba(0, 0, 0, 0.12), transparent 60%);
}

.hero_img::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: soft-light;
  background: radial-gradient(
    520px circle at var(--gx, 70%) var(--gy, 30%),
    rgba(255, 214, 170, 0.55),
    transparent 60%
  );
  transition: opacity 0.6s ease;
}

.hero_img:hover::after {
  opacity: 1;
}

.hero_content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(100px, 17vh, 150px) calc(5vw - var(--frame))
    clamp(28px, 6vh, 56px);
  color: #fff;
}

.hero_title {
  font-size: clamp(50px, min(14vw, 25vh), 240px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  translate: calc(var(--mx, 0) * 1px) calc(var(--my, 0) * 1px);
  transition: translate 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.line {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  padding: 0.12em 0 0.08em;
  margin: -0.12em 0 -0.08em;
}

.line_2 {
  padding-left: 0.9em;
}

.word {
  display: inline-block;
  white-space: nowrap;
}

.word + .word {
  margin-left: 0.28em;
}

.ch {
  display: inline-block;
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.35s ease;
  animation: rise 1.1s cubic-bezier(0.16, 1, 0.3, 1)
    calc(0.95s + var(--i) * 0.055s) backwards;
}

.ring {
  width: 0.7em;
  height: 0.7em;
  margin: 0 0.035em;
}

.ring svg {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 1.1s cubic-bezier(0.65, 0, 0.35, 1);
}

.ring circle {
  animation: ringDraw 1.4s cubic-bezier(0.65, 0, 0.35, 1) 1.25s backwards;
}

.hero_bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(22px, 4vh, 38px);
}

.hero_text {
  max-width: 13em;
  font-size: clamp(20px, 3.1vw, 42px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.25);
  animation: fadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 1.7s backwards;
}

.hero_btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  padding: 1.05em 2.2em;
  font-size: clamp(16px, 1.7vw, 22px);
  font-weight: 400;
  color: #111;
  text-decoration: none;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  transition:
    color 0.45s ease,
    box-shadow 0.45s ease,
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  animation: fadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 1.95s backwards;
}

.hero_btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #111;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.btn_label,
.btn_arrow {
  position: relative;
  z-index: 1;
}

.btn_arrow {
  display: inline-flex;
  width: 0;
  opacity: 0;
  transform: translateX(-10px);
  transition:
    width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    margin 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn_arrow svg {
  width: 1.3em;
  height: 1.3em;
}

.hero_btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

.brand {
  animation: fadeDown 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.5s backwards;
}

.nav-menu li {
  animation: fadeDown 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.nav-menu li:nth-child(1) {
  animation-delay: 0.65s;
}
.nav-menu li:nth-child(2) {
  animation-delay: 0.72s;
}
.nav-menu li:nth-child(3) {
  animation-delay: 0.79s;
}
.nav-menu li:nth-child(4) {
  animation-delay: 0.86s;
}
.nav-menu li:nth-child(5) {
  animation-delay: 0.93s;
}
.nav-menu li:nth-child(6) {
  animation-delay: 1s;
}
.nav-menu li:nth-child(7) {
  animation-delay: 1.1s;
}

@media (hover: hover) {
  .ch:hover {
    transform: translateY(-0.06em);
  }
  .hero_title:hover .ch:not(:hover) {
    opacity: 0.78;
  }
  .ring:hover svg {
    transform: rotate(360deg);
  }

  .hero_btn:hover {
    color: #fff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  }
  .hero_btn:hover::before {
    transform: translateY(0);
  }
  .hero_btn:hover .btn_arrow {
    width: 1.3em;
    margin-left: 0.6em;
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroReveal {
  from {
    clip-path: inset(12% 16% 12% 16% round calc(var(--r) * 3));
  }
  to {
    clip-path: inset(0% 0% 0% 0% round var(--r));
  }
}

@keyframes rise {
  from {
    transform: translateY(115%);
  }
}

@keyframes ringDraw {
  from {
    stroke-dashoffset: 82.2;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(6px);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
}

@media (max-width: 991px) {
  .hero_text {
    font-size: clamp(20px, 4vw, 34px);
  }
}

@media (max-width: 575px) {
  .hero_section {
    --frame: 10px;
    --r: 20px;
  }
  .hero_img {
    min-height: 560px;
  }
  .hero_content {
    padding: 110px calc(20px - var(--frame)) 28px;
  }
  .hero_text {
    font-size: 20px;
  }
  .hero_btn {
    padding: 1em 1.8em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero_img,
  .hero_img *,
  .brand,
  .nav-menu li {
    animation: none !important;
  }
}

/* ============ PASTE AT THE BOTTOM OF style.css ============ */

/* ================= IMPACT SECTION ================= */
.impact_section {
  padding: clamp(56px, 8vw, 120px) 0 clamp(64px, 9vw, 130px);
  color: #1a1a1a;
}

.impact_inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  column-gap: clamp(32px, 6vw, 100px);
  align-items: start;
}

/* ---------- left ---------- */
.impact_label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.6);
}

.impact_stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px clamp(36px, 5vw, 72px);
  margin-top: clamp(28px, 4vw, 44px);
}

.stat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 12px;
  cursor: default;
}

.stat_num {
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 300;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stat_cap {
  font-size: 11px;
  font-weight: 400;
  color: rgba(26, 26, 26, 0.55);
  transition: color 0.4s ease;
}

.stat::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #1a1a1a;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- right ---------- */
.impact_right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: clamp(24px, 3.4vw, 40px);
}

.impact_text {
  max-width: 17em;
  text-align: right;
  text-transform: uppercase;
  font-size: clamp(18px, 2.15vw, 31px);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.005em;
}

.w {
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}

.w > span {
  display: inline-block;
  transition: color 0.45s ease;
}

.sr_only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.impact_btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  padding: 14px 34px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.2px;
  color: #1a1a1a;
  text-decoration: none;
  border: 1px solid rgba(26, 26, 26, 0.75);
  border-radius: 999px;
  transition:
    color 0.45s ease,
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.45s ease;
}

.impact_btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #1a1a1a;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.impact_btn .btn_label,
.impact_btn .btn_arrow {
  position: relative;
  z-index: 1;
}

.impact_btn .btn_arrow {
  display: inline-flex;
  width: 0;
  opacity: 0;
  transform: translateX(-10px);
  transition:
    width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    margin 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.impact_btn .btn_arrow svg {
  width: 1.3em;
  height: 1.3em;
}

.impact_btn:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 5px;
}

.impact_section.is-ready .reveal {
  opacity: 0;
  transform: translateY(26px);
}

.impact_section.is-ready .w > span {
  transform: translateY(115%);
}

.impact_section.in-view .reveal {
  opacity: 1;
  transform: none;
  animation: impactUp 1s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--d, 0) * 1s)
    backwards;
}

.impact_section.in-view .w > span {
  transform: none;
  animation: wordUp 1.1s cubic-bezier(0.16, 1, 0.3, 1)
    calc(0.25s + var(--wi, 0) * 0.045s) backwards;
}

@keyframes impactUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
}

@keyframes wordUp {
  from {
    transform: translateY(115%);
  }
}

@media (hover: hover) {
  .stat:hover .stat_num {
    transform: translateY(-5px);
  }
  .stat:hover .stat_cap {
    color: #1a1a1a;
  }
  .stat:hover::after {
    transform: scaleX(1);
  }
  .impact_text:hover .w > span {
    color: rgba(26, 26, 26, 0.32);
  }
  .impact_text .w:hover > span {
    color: #1a1a1a;
  }

  .impact_btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  }
  .impact_btn:hover::before {
    transform: translateY(0);
  }
  .impact_btn:hover .btn_arrow {
    width: 1.3em;
    margin-left: 0.55em;
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 991px) {
  .impact_inner {
    grid-template-columns: 1fr 1.7fr;
  }
  .impact_text {
    font-size: clamp(17px, 2.5vw, 24px);
  }
}

@media (max-width: 767px) {
  .impact_inner {
    grid-template-columns: 1fr;
    row-gap: 44px;
  }
  .impact_right {
    align-items: flex-start;
  }
  .impact_text {
    text-align: left;
    font-size: clamp(20px, 5.4vw, 28px);
  }
}

@media (max-width: 575px) {
  .impact_inner {
    padding: 0 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .impact_section.is-ready .reveal,
  .impact_section.is-ready .w > span {
    opacity: 1;
    transform: none;
  }
  .impact_section .reveal,
  .impact_section .w > span {
    animation: none !important;
  }
}

.res_section {
  --rr: 14px;
  padding: 0 0 clamp(64px, 9vw, 130px);
  color: #1a1a1a;
}

.res_inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 5%;
}

.res_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.7vw, 26px);
}

.res_card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition:
    opacity 0.5s ease,
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.res_card:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 6px;
  border-radius: var(--rr);
}

.res_media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 0.97;
  border-radius: var(--rr);
  background: #d9cfc6;
}

.res_img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  translate: calc(var(--px, 0) * 1px) calc(var(--py, 0) * 1px);
  transition:
    transform 1s cubic-bezier(0.16, 1, 0.3, 1),
    translate 0.5s ease-out;
}

.res_badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #1a1a1a;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  transform: translateY(10px) scale(0.6);
  transition:
    opacity 0.35s ease,
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.res_badge svg {
  width: 20px;
  height: 20px;
  transition: transform 0.4s ease;
}

.res_info {
  padding: 18px 2px 0;
}

.res_title {
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 400;
  letter-spacing: 0.1px;
  line-height: 1.3;
}

.res_title span {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px
    no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}

.res_cap {
  margin-top: 6px;
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 300;
  color: rgba(26, 26, 26, 0.6);
  transition: color 0.4s ease;
}

.res_section.is-ready .res_media {
  clip-path: inset(100% 0 0 0 round var(--rr));
}

.res_section.is-ready .res_img {
  transform: scale(1.3);
}

.res_section.is-ready .res_info {
  opacity: 0;
  transform: translateY(18px);
}

.res_section.in-view .res_media {
  clip-path: inset(0 0 0 0 round var(--rr));
  animation: resClip 1.3s cubic-bezier(0.77, 0, 0.18, 1)
    calc(var(--ci, 0) * 0.13s) backwards;
}

.res_section.in-view .res_img {
  transform: scale(1);
  animation: resSettle 1.8s cubic-bezier(0.16, 1, 0.3, 1)
    calc(var(--ci, 0) * 0.13s) backwards;
}

.res_section.in-view .res_info {
  opacity: 1;
  transform: none;
  animation: resTextUp 1s cubic-bezier(0.16, 1, 0.3, 1)
    calc(0.5s + var(--ci, 0) * 0.13s) backwards;
}

@keyframes resClip {
  from {
    clip-path: inset(100% 0 0 0 round var(--rr));
  }
  to {
    clip-path: inset(0 0 0 0 round var(--rr));
  }
}

@keyframes resSettle {
  from {
    transform: scale(1.3);
  }
}

@keyframes resTextUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

@media (hover: hover) {
  .res_card:hover {
    transform: translateY(-6px);
  }
  .res_grid:hover .res_card:not(:hover) {
    opacity: 0.5;
  }

  .res_card:hover .res_img {
    transform: scale(1.09);
  }

  .res_card:hover .res_badge {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .res_badge:hover svg {
    transform: rotate(45deg);
  }

  .res_card:hover .res_title span {
    background-size: 100% 1px;
  }
  .res_card:hover .res_cap {
    color: #1a1a1a;
  }
}

@media (hover: none) {
  .res_badge {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 991px) {
  .res_grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 36px;
  }
  .res_title {
    font-size: 17px;
  }
  .res_cap {
    font-size: 14px;
  }
}

@media (max-width: 575px) {
  .res_inner {
    padding: 0 20px;
  }
  .res_grid {
    gap: 14px;
    row-gap: 30px;
  }
  .res_section {
    --rr: 12px;
  }
  .res_title {
    font-size: 15px;
  }
  .res_cap {
    font-size: 13px;
  }
  .res_badge {
    width: 38px;
    height: 38px;
    right: 10px;
    bottom: 10px;
  }
}

@media (max-width: 400px) {
  .res_grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .res_section.is-ready .res_media {
    clip-path: none;
  }
  .res_section.is-ready .res_img {
    transform: none;
  }
  .res_section.is-ready .res_info {
    opacity: 1;
    transform: none;
  }

  .res_section .res_media,
  .res_section .res_img,
  .res_section .res_info {
    animation: none !important;
  }
}

/* ================= STORY / VIDEO SECTION ================= */
.story_section {
  --sr: 26px;
  padding: 0 0 clamp(28px, 4vw, 48px);
  color: #1a1a1a;
}

.story_inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 5%;
}

/* ---------- video card ---------- */
.video_container {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 2.7 / 1;
  min-height: 280px;
  border-radius: var(--sr);
  background: #d9cfc6;
  cursor: pointer;
}

.video_img {
  position: absolute;
  inset: -8% -3%;
  background-image: url("assets/video/vedio_img.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  translate: 0 var(--py, 0px);
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
  transition:
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    scale 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, translate, scale;
}

.video_container::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.22), transparent 45%);
}

.video_container::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: soft-light;
  background: radial-gradient(
    420px circle at var(--gx, 50%) var(--gy, 50%),
    rgba(255, 214, 170, 0.6),
    transparent 60%
  );
  transition: opacity 0.6s ease;
}

/* ---------- play button ---------- */
.play_btn {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: clamp(64px, 7vw, 96px);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  translate: calc(-50% + var(--bx, 0px)) calc(-50% + var(--by, 0px));
  transition:
    translate 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    scale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.play_core {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #1a1a1a;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  transition:
    background 0.4s ease,
    color 0.4s ease,
    box-shadow 0.4s ease;
}

.play_core svg {
  width: 34%;
  height: 34%;
  margin-left: 6%;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.play_ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.8);
  pointer-events: none;
  animation: stPulse 2.8s ease-out infinite;
}

.play_ring_2 {
  animation-delay: 1.4s;
}

.play_ripple {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  animation: stRipple 0.8s ease-out forwards;
}

.play_btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 6px;
  border-radius: 50%;
}

/* ---------- text row ---------- */
.story_row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr);
  column-gap: clamp(24px, 4vw, 72px);
  align-items: start;
  padding-top: clamp(24px, 3vw, 40px);
}

.story_title {
  font-size: clamp(22px, 2.5vw, 36px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.sl {
  display: block;
  overflow: hidden;
  padding: 0.1em 0;
  margin: -0.1em 0;
}

.sl > span {
  display: inline-block;
  transition: opacity 0.4s ease;
}

.story_text {
  max-width: 30em;
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 300;
  line-height: 1.65;
  color: rgba(26, 26, 26, 0.62);
}

.story_watch {
  justify-self: end;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  color: inherit;
  text-decoration: none;
}

.watch_label {
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 400;
  background: linear-gradient(currentColor, currentColor) 100% 100% / 0 1px
    no-repeat;
  padding-bottom: 3px;
  transition: background-size 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}

.watch_time {
  font-size: 13px;
  font-weight: 300;
  color: rgba(26, 26, 26, 0.55);
  transition:
    color 0.4s ease,
    letter-spacing 0.4s ease;
}

.story_watch:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 6px;
}

/* ---------- footer ---------- */
.site_footer {
  margin-top: clamp(40px, 6vw, 80px);
}

.foot_line {
  height: 1px;
  background: rgba(26, 26, 26, 0.2);
  transform-origin: left;
}

.foot_row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 32px;
  padding-top: 28px;
}

.foot_brand {
  justify-self: start;
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  color: #1a1a1a;
  text-decoration: none;
}

.fb_word {
  display: inline-flex;
  align-items: baseline;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 2px;
  line-height: 1;
}

.fb_word span {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fb_word .o {
  font-size: 0.82em;
  font-weight: 400;
  margin: 0 1px;
}

.fb_tag {
  font-size: 11px;
  font-weight: 300;
  color: rgba(26, 26, 26, 0.6);
}

.foot_nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px clamp(18px, 2.4vw, 36px);
}

.foot_link {
  position: relative;
  display: inline-block;
  padding: 4px 0;
  font-size: 13px;
  font-weight: 400;
  color: #1a1a1a;
  text-decoration: none;
}

.foot_link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #1a1a1a;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.foot_right {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.foot_social {
  display: flex;
  gap: 10px;
}

.foot_social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #1a1a1a;
  border: 1px solid rgba(26, 26, 26, 0.35);
  border-radius: 50%;
  transition:
    background 0.35s ease,
    color 0.35s ease,
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.35s ease;
}

.foot_social svg {
  width: 15px;
  height: 15px;
}

.foot_copy {
  font-size: 11px;
  font-weight: 300;
  color: rgba(26, 26, 26, 0.55);
}

.foot_link:focus-visible,
.foot_social a:focus-visible,
.foot_brand:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 5px;
}

.story_section.is-ready .video_container {
  opacity: 0;
  clip-path: inset(14% 14% 14% 14% round calc(var(--sr) * 2));
}
.story_section.is-ready .video_img {
  scale: 1.3;
}
.story_section.is-ready .play_btn {
  opacity: 0;
  scale: 0.4;
}
.story_section.is-ready .sl > span {
  transform: translateY(115%);
}
.story_section.is-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
}

.story_section.in-view .video_container {
  opacity: 1;
  clip-path: inset(0 0 0 0 round var(--sr));
  animation: stClip 1.5s cubic-bezier(0.77, 0, 0.18, 1) backwards;
}
.story_section.in-view .video_img {
  scale: 1;
  animation: stSettle 2s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.story_section.in-view .play_btn {
  opacity: 1;
  scale: 1;
  animation: stPop 1s cubic-bezier(0.34, 1.56, 0.64, 1) 1s backwards;
}
.story_section.in-view .sl > span {
  transform: none;
  animation: stRise 1.1s cubic-bezier(0.16, 1, 0.3, 1)
    calc(0.7s + var(--li, 0) * 0.12s) backwards;
}
.story_section.in-view .reveal {
  opacity: 1;
  transform: none;
  animation: stUp 1s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--d, 0) * 1s)
    backwards;
}

.site_footer.is-ready .foot_line {
  transform: scaleX(0);
}
.site_footer.is-ready .f_item {
  opacity: 0;
  transform: translateY(18px);
}
.site_footer.in-view .foot_line {
  transform: none;
  animation: stLine 1.4s cubic-bezier(0.65, 0, 0.35, 1) backwards;
}
.site_footer.in-view .f_item {
  opacity: 1;
  transform: none;
  animation: stUp 0.9s cubic-bezier(0.16, 1, 0.3, 1)
    calc(0.3s + var(--fi, 0) * 0.12s) backwards;
}

@keyframes stClip {
  from {
    opacity: 0;
    clip-path: inset(14% 14% 14% 14% round calc(var(--sr) * 2));
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0 round var(--sr));
  }
}
@keyframes stSettle {
  from {
    scale: 1.3;
  }
}
@keyframes stPop {
  from {
    opacity: 0;
    scale: 0.4;
  }
}
@keyframes stRise {
  from {
    transform: translateY(115%);
  }
}
@keyframes stUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}
@keyframes stLine {
  from {
    transform: scaleX(0);
  }
}
@keyframes stPulse {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}
@keyframes stRipple {
  from {
    transform: scale(0.6);
    opacity: 0.8;
  }
  to {
    transform: scale(2.6);
    opacity: 0;
  }
}

@media (hover: hover) {
  .story_section.in-view .video_container:hover .video_img,
  .story_section.in-view .video_container.hot .video_img {
    scale: 1.06;
  }

  .video_container:hover::after,
  .video_container.hot::after {
    opacity: 1;
  }

  .story_section.in-view .video_container:hover .play_btn,
  .story_section.in-view .video_container.hot .play_btn {
    scale: 1.12;
  }

  .video_container:hover .play_core,
  .video_container.hot .play_core {
    background: #1a1a1a;
    color: #fff;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  }

  .video_container:hover .play_core svg,
  .video_container.hot .play_core svg {
    transform: scale(1.12);
  }

  .story_title:hover .sl:not(:hover) > span {
    opacity: 0.4;
  }

  .story_watch:hover .watch_label {
    background-size: 100% 1px;
    background-position: 0 100%;
  }
  .story_watch:hover .watch_time {
    color: #1a1a1a;
    letter-spacing: 0.08em;
  }

  .foot_brand:hover .fb_word span {
    transform: translateY(-5px);
  }
  .foot_brand:hover .fb_word span:nth-child(2) {
    transition-delay: 0.05s;
  }
  .foot_brand:hover .fb_word .o {
    transition-delay: 0.1s;
    transform: translateY(-5px) rotate(360deg);
  }
  .foot_brand:hover .fb_word span:nth-child(4) {
    transition-delay: 0.15s;
  }
  .foot_brand:hover .fb_word span:nth-child(5) {
    transition-delay: 0.2s;
  }

  .foot_link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .foot_social a:hover {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
    transform: translateY(-4px);
  }
}

@media (max-width: 991px) {
  .story_row {
    grid-template-columns: 1fr 1.3fr;
    row-gap: 22px;
  }
  .story_watch {
    grid-column: 1 / -1;
    justify-self: start;
    flex-direction: row;
    align-items: baseline;
    gap: 14px;
  }
  .foot_row {
    grid-template-columns: 1fr;
    row-gap: 22px;
  }
  .foot_nav {
    justify-content: flex-start;
  }
  .foot_right {
    justify-self: start;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .story_section {
    --sr: 20px;
  }
  .video_container {
    aspect-ratio: 4 / 3.2;
    min-height: 0;
  }
  .story_row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .story_inner {
    padding: 0 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story_section *,
  .story_section *::before,
  .story_section *::after {
    animation: none !important;
    transition: none !important;
  }
  .story_section.is-ready .video_container {
    opacity: 1;
    clip-path: none;
  }
  .story_section.is-ready .video_img {
    scale: 1;
  }
  .story_section.is-ready .play_btn {
    opacity: 1;
    scale: 1;
  }
  .story_section.is-ready .sl > span,
  .story_section.is-ready .reveal,
  .site_footer.is-ready .f_item {
    opacity: 1;
    transform: none;
  }
  .site_footer.is-ready .foot_line {
    transform: none;
  }
}

.residences_hero_img {
  background-image: url("assets/hero_images/resedencies_hero.webp");
}

.rh_title {
  font-size: clamp(40px, min(11.5vw, 23vh), 200px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: 0.005em;
}

.rh_sub {
  font-size: clamp(14px, 2.1vw, 30px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.35);
}

.rh_phrase {
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  padding: 0.08em 0 0.2em;
  margin: -0.08em 0.4em -0.2em 0;
}

.rh_phrase > span {
  display: inline-block;
  padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px
    no-repeat;
  transition:
    background-size 0.55s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.4s ease;
  animation: rise 1.1s cubic-bezier(0.16, 1, 0.3, 1)
    calc(1.8s + var(--pi, 0) * 0.15s) backwards;
}

.rh_title .ch:hover {
  transform: translateY(-0.05em);
}

@media (hover: hover) {
  .rh_sub:hover .rh_phrase:not(:hover) > span {
    opacity: 0.55;
  }
  .rh_phrase:hover > span {
    background-size: 100% 1px;
  }
}

@media (max-width: 575px) {
  .rh_sub {
    font-size: clamp(14px, 4.2vw, 18px);
  }
}

.gal_section {
  --gr: 18px;
  --mr: 12px;
  padding: clamp(28px, 4vw, 56px) 0 clamp(64px, 9vw, 130px);
  color: #1a1a1a;
}

.gal_inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 5%;
}

.gal_filters {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(22px, 3vw, 36px);
}

.gal_indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  z-index: 0;
  background: #1a1a1a;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  transition:
    transform 0.55s cubic-bezier(0.65, 0, 0.35, 1),
    width 0.55s cubic-bezier(0.65, 0, 0.35, 1),
    height 0.55s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.3s ease;
}

.gal_filters.has-ind .gal_indicator {
  opacity: 1;
}

.gal_pill {
  position: relative;
  z-index: 1;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.2px;
  padding: 10px 26px;
  color: #1a1a1a;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(26, 26, 26, 0.16);
  border-radius: 999px;
  transition:
    color 0.4s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    translate 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.4s ease;
}

.gal_pill.active {
  color: #fff;
  background: #1a1a1a;
  border-color: #1a1a1a;
}

.gal_filters.has-ind .gal_pill.active {
  background: transparent;
  border-color: transparent;
}

.gal_pill:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 4px;
}

.gal_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 32px);
}

.gal_card {
  display: block;
  padding: 8px;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.62);
  border-radius: var(--gr);
  box-shadow: 0 8px 28px rgba(70, 45, 35, 0.06);
  transition:
    opacity 0.45s ease,
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    translate 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.5s ease,
    background 0.5s ease;
}

.gal_card[hidden] {
  display: none;
}

.gal_card:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 5px;
}

.gal_media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2.15 / 1;
  border-radius: var(--mr);
  background: #d9cfc6;
}

.gal_img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  translate: calc(var(--px, 0) * 1px) calc(var(--py, 0) * 1px);
  transition:
    scale 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    translate 0.5s ease-out,
    opacity 0.4s ease;
}

.gal_media.img-fail .gal_img {
  opacity: 0;
}

.gal_media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: soft-light;
  background: radial-gradient(
    360px circle at var(--gx, 50%) var(--gy, 50%),
    rgba(255, 214, 170, 0.65),
    transparent 60%
  );
  transition: opacity 0.5s ease;
}

.gal_info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 10px 10px;
}

.gal_title {
  font-size: clamp(14px, 1.1vw, 17px);
  font-weight: 400;
  line-height: 1.3;
}

.gal_title span {
  padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px
    no-repeat;
  transition: background-size 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}

.gal_loc {
  margin-top: 4px;
  font-size: clamp(12px, 0.95vw, 14px);
  font-weight: 300;
  color: rgba(26, 26, 26, 0.55);
  transition: color 0.4s ease;
}

.gal_go {
  position: relative;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #1a1a1a;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(26, 26, 26, 0.22);
  border-radius: 50%;
  transition:
    background 0.4s ease,
    color 0.4s ease,
    border-color 0.4s ease,
    scale 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gal_go svg {
  width: 18px;
  height: 18px;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gal_section.is-ready .gal_pill {
  opacity: 0;
  transform: translateY(14px);
}
.gal_section.is-ready .gal_card {
  opacity: 0;
  transform: translateY(34px);
}
.gal_section.is-ready .gal_media {
  clip-path: inset(100% 0 0 0 round var(--mr));
}
.gal_section.is-ready .gal_img {
  transform: scale(1.3);
}
.gal_section.is-ready .gal_info {
  opacity: 0;
  transform: translateY(14px);
}

.gal_section.in-view .gal_pill {
  opacity: 1;
  transform: none;
  animation: galPill 0.8s cubic-bezier(0.16, 1, 0.3, 1)
    calc(var(--pi, 0) * 0.07s) backwards;
}
.gal_section.in-view .gal_card {
  opacity: 1;
  transform: none;
  animation: galCard 1s cubic-bezier(0.16, 1, 0.3, 1)
    calc(0.2s + var(--ci, 0) * 0.12s) backwards;
}
.gal_section.in-view .gal_media {
  clip-path: inset(0 0 0 0 round var(--mr));
  animation: galClip 1.3s cubic-bezier(0.77, 0, 0.18, 1)
    calc(0.3s + var(--ci, 0) * 0.12s) backwards;
}
.gal_section.in-view .gal_img {
  transform: none;
  animation: galSettle 1.8s cubic-bezier(0.16, 1, 0.3, 1)
    calc(0.3s + var(--ci, 0) * 0.12s) backwards;
}
.gal_section.in-view .gal_info {
  opacity: 1;
  transform: none;
  animation: galInfo 1s cubic-bezier(0.16, 1, 0.3, 1)
    calc(0.7s + var(--ci, 0) * 0.12s) backwards;
}

.gal_section .gal_card.is-in {
  animation: galCard 0.8s cubic-bezier(0.16, 1, 0.3, 1)
    calc(var(--fi, 0) * 0.08s) backwards;
}

@keyframes galPill {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
@keyframes galCard {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.97);
  }
}
@keyframes galClip {
  from {
    clip-path: inset(100% 0 0 0 round var(--mr));
  }
  to {
    clip-path: inset(0 0 0 0 round var(--mr));
  }
}
@keyframes galSettle {
  from {
    transform: scale(1.3);
  }
}
@keyframes galInfo {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@media (hover: hover) {
  .gal_pill:not(.active):hover {
    translate: 0 -2px;
    border-color: #1a1a1a;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  }

  .gal_card:hover {
    translate: 0 -6px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 22px 50px rgba(70, 45, 35, 0.16);
  }

  .gal_grid:hover .gal_card:not(:hover) {
    opacity: 0.55;
  }

  .gal_card:hover .gal_img {
    scale: 1.08;
  }
  .gal_card:hover .gal_media::after {
    opacity: 1;
  }

  .gal_card:hover .gal_title span {
    background-size: 100% 1px;
  }
  .gal_card:hover .gal_loc {
    color: #1a1a1a;
  }

  .gal_card:hover .gal_go {
    color: #fff;
    background: #1a1a1a;
    border-color: #1a1a1a;
    scale: 1.1;
  }
  .gal_card:hover .gal_go svg {
    transform: translateX(3px);
  }
}

.gal_section .gal_grid .gal_card.is-out {
  opacity: 0;
  transform: scale(0.94) translateY(12px);
  pointer-events: none;
}

@media (max-width: 767px) {
  .gal_grid {
    grid-template-columns: 1fr;
  }
  .gal_media {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 575px) {
  .gal_inner {
    padding: 0 20px;
  }
  .gal_section {
    --gr: 16px;
    --mr: 10px;
  }
  .gal_pill {
    padding: 9px 20px;
  }
}

@media (hover: none) {
  .gal_card:active .gal_go {
    background: #1a1a1a;
    color: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gal_section *,
  .gal_section *::before,
  .gal_section *::after {
    animation: none !important;
    transition: none !important;
  }
  .gal_section.is-ready .gal_pill,
  .gal_section.is-ready .gal_card,
  .gal_section.is-ready .gal_info {
    opacity: 1;
    transform: none;
  }
  .gal_section.is-ready .gal_media {
    clip-path: none;
  }
  .gal_section.is-ready .gal_img {
    transform: none;
  }
}

/* ================= CTA BANNER ================= */
.cta_section {
  --cr: 26px;
  padding: 0;
  color: #fff;
}

.cta_inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 5%;
}

.cta_card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  aspect-ratio: 3.4 / 1;
  min-height: 280px;
  border-radius: var(--cr);
  background: #d9cfc6;
}

.cta_img {
  position: absolute;
  inset: -8% -3%;
  z-index: 0;
  background-image: url("assets/residence_img/resi_img.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  translate: 0 var(--py, 0px);
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
  transition:
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    scale 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, translate, scale;
}

.cta_card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.42) 0%,
      rgba(0, 0, 0, 0.14) 55%,
      transparent 80%
    ),
    linear-gradient(to top, rgba(0, 0, 0, 0.18), transparent 50%);
}

.cta_card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: soft-light;
  background: radial-gradient(
    420px circle at var(--gx, 30%) var(--gy, 50%),
    rgba(255, 214, 170, 0.65),
    transparent 60%
  );
  transition: opacity 0.6s ease;
}

.cta_content {
  position: relative;
  z-index: 2;
  padding: clamp(28px, 6vw, 96px);
}

.cta_title {
  font-size: clamp(26px, 3.6vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.cw {
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  padding: 0.1em 0 0.16em;
  margin: -0.1em 0 -0.16em;
}

.cw > span {
  display: inline-block;
  transition: opacity 0.4s ease;
}

.cta_sub {
  margin-top: clamp(8px, 1vw, 14px);
  font-size: clamp(13px, 1.35vw, 19px);
  font-weight: 300;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.cta_btn_wrap {
  margin-top: clamp(18px, 2.6vw, 32px);
}

.cta_btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  padding: 1em 2.4em;
  font-size: clamp(14px, 1.15vw, 17px);
  font-weight: 400;
  color: #1a1a1a;
  text-decoration: none;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  translate: var(--bx, 0px) var(--by, 0px);
  transition:
    color 0.45s ease,
    box-shadow 0.45s ease,
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    translate 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cta_btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #1a1a1a;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.cta_btn .btn_label,
.cta_btn .btn_arrow {
  position: relative;
  z-index: 1;
}

.cta_btn .btn_arrow {
  display: inline-flex;
  width: 0;
  opacity: 0;
  transform: translateX(-10px);
  transition:
    width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    margin 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cta_btn .btn_arrow svg {
  width: 1.3em;
  height: 1.3em;
}

.cta_btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

/* footer container for this page */
.foot_wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 5% clamp(24px, 3vw, 40px);
}

/* ---------- entry animations ---------- */
.cta_section.is-ready .cta_card {
  opacity: 0;
  clip-path: inset(14% 8% 14% 8% round calc(var(--cr) * 2));
}
.cta_section.is-ready .cta_img {
  scale: 1.3;
}
.cta_section.is-ready .cw > span {
  transform: translateY(115%);
}
.cta_section.is-ready .cta_reveal {
  opacity: 0;
  transform: translateY(22px);
}

.cta_section.in-view .cta_card {
  opacity: 1;
  clip-path: inset(0 0 0 0 round var(--cr));
  animation: ctaClip 1.5s cubic-bezier(0.77, 0, 0.18, 1) backwards;
}
.cta_section.in-view .cta_img {
  scale: 1;
  animation: ctaSettle 2s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.cta_section.in-view .cw > span {
  transform: none;
  animation: ctaRise 1.1s cubic-bezier(0.16, 1, 0.3, 1)
    calc(0.6s + var(--wi, 0) * 0.09s) backwards;
}
.cta_section.in-view .cta_reveal {
  opacity: 1;
  transform: none;
  animation: ctaUp 1s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--d, 0) * 1s)
    backwards;
}

@keyframes ctaClip {
  from {
    opacity: 0;
    clip-path: inset(14% 8% 14% 8% round calc(var(--cr) * 2));
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0 round var(--cr));
  }
}
@keyframes ctaSettle {
  from {
    scale: 1.3;
  }
}
@keyframes ctaRise {
  from {
    transform: translateY(115%);
  }
}
@keyframes ctaUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}

/* ---------- hover effects ---------- */
@media (hover: hover) {
  .cta_section.in-view .cta_card:hover .cta_img {
    scale: 1.06;
  }
  .cta_card:hover::after {
    opacity: 1;
  }

  .cta_title:hover .cw:not(:hover) > span {
    opacity: 0.45;
  }

  .cta_btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  }
  .cta_btn:hover::before {
    transform: translateY(0);
  }
  .cta_btn:hover .btn_arrow {
    width: 1.3em;
    margin-left: 0.6em;
    opacity: 1;
    transform: translateX(0);
  }
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .cta_card {
    aspect-ratio: 2.6 / 1;
  }
}

@media (max-width: 767px) {
  .cta_section {
    --cr: 20px;
  }
  .cta_card {
    aspect-ratio: auto;
    min-height: 340px;
    align-items: flex-end;
  }
  .cta_card::before {
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.1) 70%,
      transparent
    );
  }
}

@media (max-width: 575px) {
  .cta_inner {
    padding: 0 20px;
  }
  .foot_wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta_section *,
  .cta_section *::before,
  .cta_section *::after {
    animation: none !important;
    transition: none !important;
  }
  .cta_section.is-ready .cta_card {
    opacity: 1;
    clip-path: none;
  }
  .cta_section.is-ready .cta_img {
    scale: 1;
  }
  .cta_section.is-ready .cw > span,
  .cta_section.is-ready .cta_reveal {
    opacity: 1;
    transform: none;
  }
}

.nb {
  --nb-gap: 14px;
  --nb-r: 22px;
  position: fixed;
  top: var(--nb-gap);
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 var(--nb-gap);
  font-family: "Jost", "Century Gothic", "Futura", sans-serif;
  animation: nbDrop 1s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.nb_bar {
  position: relative;
  isolation: isolate;
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px clamp(22px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--nb-r);
  background: linear-gradient(110deg, #ab937d 0%, #c2ad9a 48%, #d4c2b3 100%);
  box-shadow:
    0 12px 34px rgba(110, 85, 65, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition:
    padding 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.45s ease,
    border-radius 0.45s ease;
}

.nb_bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    340px circle at var(--gx, 50%) var(--gy, 50%),
    rgba(255, 255, 255, 0.28),
    transparent 60%
  );
  transition: opacity 0.5s ease;
}

.nb.scrolled .nb_bar {
  padding-top: 13px;
  padding-bottom: 13px;
  box-shadow:
    0 16px 40px rgba(110, 85, 65, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.nb_brand {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  z-index: 1002;
  color: #fff;
  text-decoration: none;
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 2px;
  line-height: 1;
  transition: letter-spacing 0.4s ease;
}

.nb_brand span {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: nbRise 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.nb_brand span:nth-child(1) {
  animation-delay: 0.35s;
}
.nb_brand span:nth-child(2) {
  animation-delay: 0.41s;
}
.nb_brand span:nth-child(3) {
  animation-delay: 0.47s;
}
.nb_brand span:nth-child(4) {
  animation-delay: 0.53s;
}
.nb_brand span:nth-child(5) {
  animation-delay: 0.59s;
}

.nb_brand .nb_o {
  font-size: 0.84em;
  margin: 0 1px;
}

.nb_brand::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}

.nb_menu {
  position: relative;
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 38px);
}

.nb_menu li {
  animation: nbFade 0.8s cubic-bezier(0.16, 1, 0.3, 1)
    calc(0.5s + var(--i, 0) * 0.07s) backwards;
}

.nb_link {
  display: inline-block;
  padding: 6px 0;
  color: #fff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.3px;
  transition: opacity 0.35s ease;
}

.nb_ind {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.5s cubic-bezier(0.65, 0, 0.35, 1),
    width 0.5s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.3s ease;
}

.nb_btn {
  position: relative;
  display: inline-flex;
  overflow: hidden;
  padding: 11px 26px;
  color: #fff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.3px;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  transition:
    color 0.45s ease,
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.45s ease;
}

.nb_btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #fff;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.nb_btn {
  isolation: isolate;
}

.nb_link:focus-visible,
.nb_btn:focus-visible,
.nb_brand:focus-visible,
.nb_toggle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

/* ---------- hamburger ---------- */
.nb_toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  z-index: 1002;
  background: none;
  border: 0;
  cursor: pointer;
}

.nb_toggle span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition:
    transform 0.35s ease,
    opacity 0.25s ease,
    top 0.35s ease;
}

.nb_toggle span:nth-child(1) {
  top: 14px;
}
.nb_toggle span:nth-child(2) {
  top: 21px;
}
.nb_toggle span:nth-child(3) {
  top: 28px;
}
.nb_toggle.active span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.nb_toggle.active span:nth-child(2) {
  opacity: 0;
}
.nb_toggle.active span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.nb_overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.nb_overlay.show {
  opacity: 1;
  pointer-events: auto;
}

@keyframes nbDrop {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
}
@keyframes nbRise {
  from {
    opacity: 0;
    transform: translateY(60%);
  }
}
@keyframes nbFade {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
}

@media (hover: hover) {
  .nb_bar:hover::before {
    opacity: 1;
  }

  .nb_brand:hover {
    letter-spacing: 4px;
  }
  .nb_brand:hover::after {
    transform: scaleX(1);
  }
  .nb_brand:hover span {
    transform: translateY(-5px);
  }
  .nb_brand:hover span:nth-child(2) {
    transition-delay: 0.05s;
  }
  .nb_brand:hover .nb_o {
    transition-delay: 0.1s;
    transform: translateY(-5px) rotate(360deg);
  }
  .nb_brand:hover span:nth-child(4) {
    transition-delay: 0.15s;
  }
  .nb_brand:hover span:nth-child(5) {
    transition-delay: 0.2s;
  }

  .nb_menu:hover .nb_link:not(:hover) {
    opacity: 0.6;
  }

  .nb_btn:hover {
    color: #8f7660;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(80, 55, 40, 0.25);
  }
  .nb_btn:hover::before {
    transform: translateY(0);
  }
}

@media (max-width: 1200px) {
  .nb_link,
  .nb_btn {
    font-size: 13px;
  }
  .nb_btn {
    padding: 10px 20px;
  }
}

@media (max-width: 991px) {
  .nb_toggle {
    display: block;
  }
  .nb_ind {
    display: none;
  }

  .nb_menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(380px, 85vw);
    height: 100vh;
    height: 100dvh;
    z-index: 1001;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 110px 34px 40px;
    overflow-y: auto;
    background: linear-gradient(160deg, #ab937d, #c9b5a3);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
    transform: translateX(100%);
    visibility: hidden;
    transition:
      transform 0.45s cubic-bezier(0.65, 0, 0.35, 1),
      visibility 0.45s;
  }

  .nb_menu.open {
    transform: translateX(0);
    visibility: visible;
  }

  .nb_menu li {
    width: 100%;
    animation: none;
  }

  .nb_menu .nb_link {
    display: block;
    padding: 14px 0;
    font-size: 19px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  }

  .nb_menu.open li {
    animation: nbSlide 0.6s cubic-bezier(0.16, 1, 0.3, 1)
      calc(0.15s + var(--i, 0) * 0.06s) backwards;
  }

  .nb_btn {
    display: flex;
    justify-content: center;
    margin-top: 22px;
    padding: 14px 24px;
    font-size: 16px;
  }
}

@keyframes nbSlide {
  from {
    opacity: 0;
    transform: translateX(26px);
  }
}

@media (max-width: 575px) {
  .nb {
    --nb-gap: 10px;
    --nb-r: 18px;
  }
  .nb_bar {
    padding: 14px 18px;
  }
  .nb_brand {
    font-size: 28px;
  }
  .nb_menu {
    width: 100%;
    padding: 100px 26px 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nb,
  .nb *,
  .nb_overlay {
    animation: none !important;
    transition: none !important;
  }
}

/* ================= RESIDENCE DETAIL ================= */
.rd_section {
  --sr: 22px;
  --tr: 12px;
  --rd-dark: #5a4a3f;
  padding: clamp(112px, 11vw, 148px) 0 clamp(56px, 8vw, 110px);
  color: #1a1a1a;
}

.rd_inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 5%;
}

/* ---------- back link ---------- */
.rd_back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(14px, 1.8vw, 22px);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.2px;
  color: rgba(26, 26, 26, 0.6);
  text-decoration: none;
  transition: color 0.4s ease;
}

.rd_back svg {
  width: 17px;
  height: 17px;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rd_back span {
  padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px
    no-repeat;
  transition: background-size 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}

.rd_back:focus-visible,
.rd_arrow:focus-visible,
.rd_thumb:focus-visible,
.rd_btn:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 4px;
}

/* ---------- stage (big image) ---------- */
.rd_stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 2.05 / 1;
  min-height: 260px;
  border-radius: var(--sr);
  background: #d9cfc6;
  touch-action: pan-y;
  transition: opacity 0.45s ease;
}

.rd_slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.rd_slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0;
}

.rd_slide.is-active {
  opacity: 1;
  z-index: 2;
}
.rd_slide.is-leaving {
  opacity: 1;
  z-index: 1;
}

.rd_slide img {
  position: absolute;
  left: -3%;
  top: -3%;
  width: 106%;
  height: 106%;
  max-width: none;
  display: block;
  object-fit: cover;
  user-select: none;
  translate: calc(var(--px, 0) * 1px) calc(var(--py, 0) * 1px);
  transition:
    translate 0.6s ease-out,
    scale 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.rd_slide.is-leaving img {
  scale: 1.05;
}

.rd_stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.18), transparent 40%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.14), transparent 28%);
}

.rd_stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: soft-light;
  background: radial-gradient(
    420px circle at var(--gx, 50%) var(--gy, 50%),
    rgba(255, 214, 170, 0.65),
    transparent 60%
  );
  transition: opacity 0.6s ease;
}

.rd_count {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: #fff;
  font-variant-numeric: tabular-nums;
  background: rgba(30, 28, 26, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 999px;
}

#rdCur {
  display: inline-block;
}
#rdCur.tick {
  animation: rdTick 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.rd_arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #1a1a1a;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transition:
    background 0.35s ease,
    scale 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rd_prev {
  left: clamp(12px, 1.6vw, 22px);
}
.rd_next {
  right: clamp(12px, 1.6vw, 22px);
}

.rd_arrow svg {
  width: 18px;
  height: 18px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rd_arrow:active {
  scale: 0.94;
}

/* ---------- thumbnails ---------- */
.rd_thumbs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(8px, 1.1vw, 16px);
  margin-top: clamp(10px, 1.2vw, 16px);
}

.rd_thumb {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 1.75 / 1;
  cursor: pointer;
  border: 0;
  border-radius: var(--tr);
  background: #d9cfc6;
  transition:
    translate 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.45s ease;
}

.rd_thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition:
    opacity 0.45s ease,
    scale 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.rd_thumb.active img {
  opacity: 1;
}

.rd_thumb_ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  z-index: 2;
  border: 2px solid #1a1a1a;
  border-radius: var(--tr);
  pointer-events: none;
  opacity: 0;
  transition:
    transform 0.55s cubic-bezier(0.65, 0, 0.35, 1),
    width 0.55s cubic-bezier(0.65, 0, 0.35, 1),
    height 0.55s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.4s ease;
}

.rd_thumbs.has-ring .rd_thumb_ring {
  opacity: 1;
}

/* ---------- details ---------- */
.rd_details {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  grid-template-areas: "head stats" "body stats";
  column-gap: clamp(24px, 5vw, 90px);
  margin-top: clamp(28px, 3.4vw, 48px);
}

.rd_head {
  grid-area: head;
}
.rd_body {
  grid-area: body;
}

.rd_title {
  font-size: clamp(28px, 3.1vw, 44px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.005em;
}

.rd_w {
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  padding: 0.08em 0 0.16em;
  margin: -0.08em 0 -0.16em;
}

.rd_w > span {
  display: inline-block;
  transition: opacity 0.4s ease;
}

.rd_loc {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: clamp(10px, 1.2vw, 16px);
  font-size: 14px;
  font-weight: 300;
  color: rgba(26, 26, 26, 0.55);
}

.rd_loc svg {
  width: 15px;
  height: 15px;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rd_desc {
  max-width: 36em;
  margin-top: clamp(20px, 2.4vw, 30px);
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(26, 26, 26, 0.7);
}

.rd_actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(22px, 2.6vw, 34px);
}

/* ---------- stats ---------- */
.rd_stats {
  grid-area: stats;
  justify-self: end;
  align-self: start;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 26px clamp(36px, 5vw, 72px);
  padding-top: 6px;
}

.rd_stat {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  cursor: default;
}

.rd_stat_ico {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #3a342f;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rd_stat_ico svg {
  width: 100%;
  height: 100%;
}

.rd_stat_txt {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 12px;
  font-weight: 300;
  white-space: nowrap;
  color: rgba(26, 26, 26, 0.6);
  transition: color 0.4s ease;
}

.rd_num {
  font-size: 15px;
  font-weight: 400;
  color: #1a1a1a;
  font-variant-numeric: tabular-nums;
}

.rd_stat::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #1a1a1a;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- buttons ---------- */
.rd_btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  padding: 15px 32px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.2px;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  transition:
    color 0.45s ease,
    translate 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.45s ease;
}

.rd_btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #1a1a1a;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.rd_btn_fill {
  color: #fff;
  background: var(--rd-dark);
  border-color: var(--rd-dark);
}
.rd_btn_line {
  color: #1a1a1a;
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(26, 26, 26, 0.2);
}

.rd_btn_label {
  position: relative;
}

.rd_btn_ico {
  display: inline-flex;
  width: 0;
  opacity: 0;
  transform: translateX(-10px);
  transition:
    width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    margin 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.rd_btn_ico svg {
  width: 1.3em;
  height: 1.3em;
}

/* ---------- entry animation states ---------- */
.rd_section.is-ready .rd_reveal {
  opacity: 0;
  transform: translateY(22px);
}
.rd_section.is-ready .rd_fade {
  opacity: 0;
}
.rd_section.is-ready .rd_w > span {
  transform: translateY(115%);
}
.rd_section.is-ready .rd_thumb {
  opacity: 0;
  transform: translateY(18px) scale(0.96);
}
.rd_section.is-ready:not(.has-fly) .rd_stage {
  clip-path: inset(100% 0 0 0 round var(--sr));
}
.rd_section.is-flying .rd_stage {
  opacity: 0;
}

.rd_section.in-view .rd_reveal {
  opacity: 1;
  transform: none;
  animation: rdUp 1s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--d, 0) * 1s)
    backwards;
}
.rd_section.in-view .rd_fade {
  opacity: 1;
  animation: rdFade 0.9s ease calc(var(--d, 0) * 1s) backwards;
}
.rd_section.in-view .rd_w > span {
  transform: none;
  animation: rdRise 1.1s cubic-bezier(0.16, 1, 0.3, 1)
    calc(0.3s + var(--wi, 0) * 0.09s) backwards;
}
.rd_section.in-view .rd_thumb {
  opacity: 1;
  transform: none;
  animation: rdThumb 0.9s cubic-bezier(0.16, 1, 0.3, 1)
    calc(0.55s + var(--ti, 0) * 0.08s) backwards;
}
.rd_section.in-view:not(.has-fly) .rd_stage {
  clip-path: none;
  animation: rdClip 1.4s cubic-bezier(0.77, 0, 0.18, 1) 0.1s backwards;
}
.rd_section.in-view:not(.has-fly) .rd_slide.is-first img {
  animation: rdSettle 1.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s backwards;
}

/* ---------- slide change ---------- */
.rd_stage[data-dir="next"] .rd_slide.is-active:not(.is-first) {
  animation: rdWipeNext 1.05s cubic-bezier(0.77, 0, 0.18, 1) backwards;
}
.rd_stage[data-dir="prev"] .rd_slide.is-active:not(.is-first) {
  animation: rdWipePrev 1.05s cubic-bezier(0.77, 0, 0.18, 1) backwards;
}
.rd_slide.is-active:not(.is-first) img {
  animation: rdZoom 1.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

@keyframes rdUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}
@keyframes rdFade {
  from {
    opacity: 0;
  }
}
@keyframes rdRise {
  from {
    transform: translateY(115%);
  }
}
@keyframes rdThumb {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
}
@keyframes rdClip {
  from {
    clip-path: inset(100% 0 0 0 round var(--sr));
  }
  to {
    clip-path: inset(0 0 0 0 round var(--sr));
  }
}
@keyframes rdSettle {
  from {
    scale: 1.3;
  }
}
@keyframes rdZoom {
  from {
    scale: 1.2;
  }
}
@keyframes rdWipeNext {
  from {
    clip-path: inset(0 0 0 100%);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes rdWipePrev {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes rdTick {
  from {
    opacity: 0;
    transform: translateY(60%);
  }
}

/* ---------- page transition (shared by both pages) ---------- */
.rd_veil {
  position: fixed;
  inset: 0;
  z-index: 2900;
  background: var(--white);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.rd_veil.on {
  opacity: 1;
  pointer-events: auto;
}

.rd_clone {
  position: fixed;
  z-index: 3000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 24px 60px rgba(70, 45, 35, 0.28);
  pointer-events: none;
}

/* ---------- hover ---------- */
@media (hover: hover) {
  .rd_back:hover {
    color: #1a1a1a;
  }
  .rd_back:hover svg {
    transform: translateX(-5px);
  }
  .rd_back:hover span {
    background-size: 100% 1px;
  }

  .rd_stage:hover::after {
    opacity: 1;
  }
  .rd_stage:hover .rd_slide.is-active img {
    scale: 1.04;
  }

  .rd_arrow:hover {
    background: #fff;
    scale: 1.1;
  }
  .rd_prev:hover svg {
    transform: translateX(-2px);
  }
  .rd_next:hover svg {
    transform: translateX(2px);
  }

  .rd_thumb:not(.active):hover {
    translate: 0 -4px;
    box-shadow: 0 12px 24px rgba(70, 45, 35, 0.18);
  }
  .rd_thumb:hover img {
    opacity: 1;
    scale: 1.08;
  }

  .rd_title:hover .rd_w:not(:hover) > span {
    opacity: 0.45;
  }
  .rd_loc:hover svg {
    transform: translateY(-3px);
  }

  .rd_stat:hover .rd_stat_ico {
    transform: translateY(-4px) rotate(-6deg);
  }
  .rd_stat:hover .rd_stat_txt {
    color: #1a1a1a;
  }
  .rd_stat:hover::after {
    transform: scaleX(1);
  }

  .rd_btn:hover {
    translate: 0 -2px;
    box-shadow: 0 14px 30px rgba(70, 45, 35, 0.22);
  }
  .rd_btn:hover::before {
    transform: translateY(0);
  }
  .rd_btn_line:hover {
    color: #fff;
  }
  .rd_btn:hover .rd_btn_ico {
    width: 1.3em;
    margin-left: 0.55em;
    opacity: 1;
    transform: translateX(0);
  }
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .rd_stage {
    aspect-ratio: 1.7 / 1;
  }
  .rd_details {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "stats" "body";
  }
  .rd_stats {
    justify-self: start;
    margin-top: 24px;
  }
}

@media (max-width: 767px) {
  .rd_stage {
    aspect-ratio: 4 / 3.1;
    min-height: 0;
  }
  .rd_arrow {
    width: 38px;
    height: 38px;
  }
  .rd_thumbs {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .rd_thumbs::-webkit-scrollbar {
    display: none;
  }
  .rd_thumb {
    flex: 0 0 28%;
    scroll-snap-align: center;
  }
}

@media (max-width: 575px) {
  .rd_inner {
    padding: 0 20px;
  }
  .rd_section {
    --sr: 18px;
    --tr: 10px;
  }
  .rd_stats {
    gap: 18px 28px;
  }
  .rd_actions .rd_btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rd_section *,
  .rd_section *::before,
  .rd_section *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ================= GALLERY + QUOTE (residence detail) ================= */
.rg_section {
  --rr: 16px;
  --qr: 22px;
  --gap: clamp(10px, 1.2vw, 18px);
  --vis: 3;
  color: #1a1a1a;
}

.rg_inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 5%;
}

/* ---------- title ---------- */
.rg_title {
  margin-bottom: clamp(14px, 1.8vw, 22px);
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 400;
  letter-spacing: 0.005em;
}

.rg_w {
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  padding: 0.1em 0 0.18em;
  margin: -0.1em 0 -0.18em;
}

.rg_ch {
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- carousel ---------- */
.rg_carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 18px);
}

.rg_viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 10px 0 30px;
  margin: -10px 0 -30px;
  cursor: grab;
  touch-action: pan-y;
  outline: none;
}

.rg_viewport.grabbing {
  cursor: grabbing;
}

.rg_viewport:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: -2px;
  border-radius: var(--rr);
}

.rg_track {
  display: flex;
  gap: var(--gap);
  will-change: transform;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.rg_track.drag {
  transition: none;
}

.rg_slide {
  flex: 0 0 calc((100% - (var(--vis) - 1) * var(--gap)) / var(--vis));
  min-width: 0;
  margin: 0;
  user-select: none;
  -webkit-user-select: none;
  transition:
    opacity 0.45s ease,
    translate 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.5s ease;
}

.rg_media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.5 / 1;
  border-radius: var(--rr);
  background: #d9cfc6;
}

.rg_img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
  translate: calc(var(--px, 0) * 1px) calc(var(--py, 0) * 1px);
  transition: scale 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.rg_media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: soft-light;
  background: radial-gradient(
    300px circle at var(--gx, 50%) var(--gy, 50%),
    rgba(255, 214, 170, 0.65),
    transparent 60%
  );
  transition: opacity 0.5s ease;
}

/* ---------- arrows ---------- */
.rg_arrow {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #1a1a1a;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(26, 26, 26, 0.14);
  border-radius: 50%;
  transition:
    background 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    scale 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.35s ease;
}

.rg_arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rg_arrow:active {
  scale: 0.92;
}
.rg_arrow:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 4px;
}

/* ---------- quote card ---------- */
.rg_quote {
  margin-top: clamp(22px, 3vw, 40px);
}

.rg_card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  overflow: hidden;
  aspect-ratio: 3.1 / 1;
  min-height: 260px;
  border-radius: var(--qr);
  background: #ebe1d8;
}

.rg_card_media {
  position: relative;
  overflow: hidden;
  background: #d9cfc6;
}

.rg_card_img {
  position: absolute;
  left: -3%;
  top: -7%;
  width: 106%;
  height: 114%;
  max-width: none;
  display: block;
  object-fit: cover;
  pointer-events: none;
  translate: var(--mx, 0px) calc(var(--my, 0px) + var(--sy, 0px));
  transition:
    scale 1.4s cubic-bezier(0.16, 1, 0.3, 1),
    translate 0.6s ease-out;
}

.rg_card_media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: soft-light;
  background: radial-gradient(
    380px circle at var(--gx, 50%) var(--gy, 50%),
    rgba(255, 214, 170, 0.65),
    transparent 60%
  );
  transition: opacity 0.6s ease;
}

.rg_card_text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 70px) clamp(24px, 4vw, 64px);
}

.rg_quote_title {
  font-size: clamp(20px, 2.3vw, 34px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.005em;
}

.rg_qw {
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  padding: 0.1em 0 0.18em;
  margin: -0.1em 0 -0.18em;
}

.rg_qw > span {
  display: inline-block;
  transition: opacity 0.4s ease;
}

.rg_quote_text {
  max-width: 24em;
  margin-top: clamp(14px, 1.8vw, 24px);
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(26, 26, 26, 0.62);
  transition: color 0.45s ease;
}

/* ---------- entry animation states ---------- */
.rg_gallery.is-ready .rg_ch {
  transform: translateY(115%);
}
.rg_gallery.is-ready .rg_media {
  clip-path: inset(100% 0 0 0 round var(--rr));
}
.rg_gallery.is-ready .rg_img {
  scale: 1.3;
}
.rg_gallery.is-ready .rg_arrow {
  opacity: 0;
}

.rg_gallery.in-view .rg_ch {
  transform: none;
  animation: rgRise 1s cubic-bezier(0.16, 1, 0.3, 1)
    calc(0.05s + var(--i, 0) * 0.05s) backwards;
}
.rg_gallery.in-view .rg_media {
  clip-path: inset(0 0 0 0 round var(--rr));
  animation: rgClip 1.3s cubic-bezier(0.77, 0, 0.18, 1)
    calc(0.2s + var(--si, 0) * 0.1s) backwards;
}
.rg_gallery.in-view .rg_img {
  scale: 1;
  animation: rgSettle 1.8s cubic-bezier(0.16, 1, 0.3, 1)
    calc(0.2s + var(--si, 0) * 0.1s) backwards;
}
.rg_gallery.in-view .rg_arrow {
  opacity: 1;
  animation: rgPop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s backwards;
}
.rg_gallery.in-view .rg_arrow:disabled {
  opacity: 0.3;
}

.rg_quote.is-ready .rg_card {
  opacity: 0;
  clip-path: inset(10% 6% 10% 6% round calc(var(--qr) * 2));
}
.rg_quote.is-ready .rg_card_img {
  scale: 1.3;
}
.rg_quote.is-ready .rg_qw > span {
  transform: translateY(115%);
}
.rg_quote.is-ready .rg_reveal {
  opacity: 0;
  transform: translateY(20px);
}

.rg_quote.in-view .rg_card {
  opacity: 1;
  clip-path: inset(0 0 0 0 round var(--qr));
  animation: rgCard 1.5s cubic-bezier(0.77, 0, 0.18, 1) backwards;
}
.rg_quote.in-view .rg_card_img {
  scale: 1;
  animation: rgSettle 2s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.rg_quote.in-view .rg_qw > span {
  transform: none;
  animation: rgRise 1.1s cubic-bezier(0.16, 1, 0.3, 1)
    calc(0.6s + var(--wi, 0) * 0.08s) backwards;
}
.rg_quote.in-view .rg_reveal {
  opacity: 1;
  transform: none;
  animation: rgUp 1s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--d, 0) * 1s)
    backwards;
}

@keyframes rgRise {
  from {
    transform: translateY(115%);
  }
}
@keyframes rgUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}
@keyframes rgSettle {
  from {
    scale: 1.3;
  }
}
@keyframes rgPop {
  from {
    opacity: 0;
    scale: 0.5;
  }
}
@keyframes rgClip {
  from {
    clip-path: inset(100% 0 0 0 round var(--rr));
  }
  to {
    clip-path: inset(0 0 0 0 round var(--rr));
  }
}
@keyframes rgCard {
  from {
    opacity: 0;
    clip-path: inset(10% 6% 10% 6% round calc(var(--qr) * 2));
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0 round var(--qr));
  }
}

/* ---------- hover effects ---------- */
@media (hover: hover) {
  .rg_gallery.in-view .rg_ch:hover {
    transform: translateY(-0.06em);
  }

  .rg_track:hover .rg_slide:not(:hover) {
    opacity: 0.55;
  }

  .rg_slide:hover {
    translate: 0 -5px;
    filter: drop-shadow(0 16px 22px rgba(70, 45, 35, 0.22));
  }
  .rg_gallery.in-view .rg_slide:hover .rg_img {
    scale: 1.08;
  }
  .rg_slide:hover .rg_media::after {
    opacity: 1;
  }

  .rg_arrow:not(:disabled):hover {
    color: #fff;
    background: #1a1a1a;
    border-color: #1a1a1a;
    scale: 1.12;
  }
  .rg_prev:not(:disabled):hover svg {
    transform: translateX(-2px);
  }
  .rg_next:not(:disabled):hover svg {
    transform: translateX(2px);
  }
  .rg_arrow:disabled {
    cursor: default;
  }

  .rg_quote.in-view .rg_card:hover .rg_card_img {
    scale: 1.06;
  }
  .rg_card:hover .rg_card_media::after {
    opacity: 1;
  }
  .rg_card:hover .rg_quote_text {
    color: #1a1a1a;
  }
  .rg_quote_title:hover .rg_qw:not(:hover) > span {
    opacity: 0.4;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .rg_section {
    --vis: 2;
  }
  .rg_card {
    aspect-ratio: 2.4 / 1;
  }
}

@media (max-width: 767px) {
  .rg_section {
    --qr: 20px;
  }
  .rg_card {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
    min-height: 0;
  }
  .rg_card_media {
    aspect-ratio: 16 / 10;
  }
  .rg_card_text {
    padding: 28px 24px 32px;
  }
}

@media (max-width: 575px) {
  .rg_inner {
    padding: 0 20px;
  }
  .rg_section {
    --vis: 1;
    --rr: 14px;
  }
  .rg_arrow {
    position: absolute;
    top: 46%;
    z-index: 3;
    translate: 0 -50%;
    background: rgba(255, 255, 255, 0.85);
  }
  .rg_prev {
    left: 8px;
  }
  .rg_next {
    right: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rg_section *,
  .rg_section *::before,
  .rg_section *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ================= ABOUT HERO ================= */
.ab_hero {
  --frame: 16px;
  --r: 28px;
  padding: var(--frame);
}

.ab_card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: calc(100vh - var(--frame) * 2);
  height: calc(100svh - var(--frame) * 2);
  min-height: 620px;
  border-radius: var(--r);
  background: #c9b5a3;
  color: #fff;
  animation: abReveal 1.5s cubic-bezier(0.77, 0, 0.18, 1) backwards;
}

/* ---------- background image ---------- */
.ab_bg {
  position: absolute;
  inset: -6% -3%;
  z-index: 0;
  background-image: url("assets/hero_images/about_hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  translate: 0 var(--py, 0px);
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
  transition:
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    scale 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: abSettle 2.2s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  will-change: transform, translate, scale;
}

/* readability gradients */
.ab_card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.14) 38%,
      transparent 62%
    ),
    linear-gradient(90deg, rgba(70, 40, 20, 0.28) 0%, transparent 55%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.16), transparent 22%);
}

/* warm cursor spotlight */
.ab_card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: soft-light;
  background: radial-gradient(
    520px circle at var(--gx, 70%) var(--gy, 30%),
    rgba(255, 214, 170, 0.6),
    transparent 60%
  );
  transition: opacity 0.6s ease;
}

/* ---------- content ---------- */
.ab_content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(10px, 2vh, 22px);
  padding: 120px clamp(24px, 6vw, 96px) clamp(28px, 6.5vh, 64px);
  translate: 0 var(--cy, 0px);
  pointer-events: none;
}

.ab_title,
.ab_tag {
  pointer-events: auto;
  width: fit-content;
}

.ab_title {
  font-size: clamp(54px, min(10.8vw, 21vh), 190px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.18);
  translate: calc(var(--tx, 0) * 1px) calc(var(--ty, 0) * 1px);
  transition: translate 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ab_line {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  padding: 0.12em 0 0.08em;
  margin: -0.12em 0 -0.08em;
}

.ab_ch {
  display: inline-block;
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.35s ease;
  animation: abRise 1.2s cubic-bezier(0.16, 1, 0.3, 1)
    calc(0.9s + var(--i, 0) * 0.06s) backwards;
}

/* tagline */
.ab_tag {
  font-size: clamp(15px, 2.05vw, 31px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.35);
}

.ab_phrase {
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  padding: 0.08em 0 0.22em;
  margin: -0.08em 0.4em -0.22em 0;
}

.ab_phrase > span {
  display: inline-block;
  padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px
    no-repeat;
  transition:
    background-size 0.55s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.4s ease;
  animation: abRise 1.1s cubic-bezier(0.16, 1, 0.3, 1)
    calc(1.7s + var(--pi, 0) * 0.15s) backwards;
}

/* ---------- keyframes ---------- */
@keyframes abReveal {
  from {
    clip-path: inset(12% 16% 12% 16% round calc(var(--r) * 3));
  }
  to {
    clip-path: inset(0 0 0 0 round var(--r));
  }
}

@keyframes abSettle {
  from {
    scale: 1.3;
  }
}

@keyframes abRise {
  from {
    transform: translateY(115%);
  }
}

/* ---------- hover effects ---------- */
@media (hover: hover) {
  .ab_card:hover::after {
    opacity: 1;
  }
  .ab_card:hover .ab_bg {
    scale: 1.04;
  }

  .ab_ch:hover {
    transform: translateY(-0.06em);
  }
  .ab_title:hover .ab_ch:not(:hover) {
    opacity: 0.78;
  }

  .ab_tag:hover .ab_phrase:not(:hover) > span {
    opacity: 0.55;
  }
  .ab_phrase:hover > span {
    background-size: 100% 1px;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 767px) {
  .ab_content {
    padding-left: 28px;
    padding-right: 28px;
  }
  .ab_title {
    font-size: clamp(54px, 17vw, 120px);
  }
  .ab_tag {
    font-size: clamp(14px, 3.6vw, 22px);
  }
}

@media (max-width: 575px) {
  .ab_hero {
    --frame: 10px;
    --r: 20px;
  }
  .ab_card {
    min-height: 560px;
  }
  .ab_content {
    padding: 110px 22px 28px;
  }
  .ab_bg {
    background-position: 62% center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ab_card,
  .ab_card *,
  .ab_card::before,
  .ab_card::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ================= OUR STORY (about page) ================= */
.os_section {
  --or: 22px;
  padding: clamp(56px, 8vw, 120px) 0 clamp(64px, 9vw, 130px);
  color: #1a1a1a;
}

.os_inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 5%;
}

.os_grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(28px, 5vw, 90px);
  align-items: center;
}

/* ---------- image ---------- */
.os_media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1.12 / 1;
  border-radius: var(--or);
  background: #d9cfc6;
  cursor: pointer;
}

.os_img {
  position: absolute;
  left: -7%;
  top: -7%;
  width: 114%;
  height: 114%;
  max-width: none;
  display: block;
  object-fit: cover;
  user-select: none;
  translate: var(--mx, 0px) calc(var(--my, 0px) + var(--py, 0px));
  transition:
    translate 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    scale 1.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: translate, scale;
}

.os_media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent 45%);
}

.os_media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: soft-light;
  background: radial-gradient(
    380px circle at var(--gx, 50%) var(--gy, 50%),
    rgba(255, 214, 170, 0.65),
    transparent 60%
  );
  transition: opacity 0.6s ease;
}

/* ---------- play button ---------- */
.os_play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: clamp(58px, 6vw, 84px);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  translate: calc(-50% + var(--bx, 0px)) calc(-50% + var(--by, 0px));
  transition:
    translate 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    scale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.os_play_core {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #1a1a1a;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  transition:
    background 0.4s ease,
    color 0.4s ease,
    box-shadow 0.4s ease;
}

.os_play_core svg {
  width: 34%;
  height: 34%;
  margin-left: 6%;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.os_play_ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.85);
  pointer-events: none;
  animation: osPulse 2.8s ease-out infinite;
}

.os_play_ring_2 {
  animation-delay: 1.4s;
}

.os_ripple {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  animation: osRipple 0.8s ease-out forwards;
}

.os_play:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 6px;
  border-radius: 50%;
}

/* ---------- text ---------- */
.os_text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.os_label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.6);
}

.os_title {
  max-width: 13em;
  margin-top: clamp(10px, 1.2vw, 16px);
  font-size: clamp(26px, 2.9vw, 42px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.os_w {
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  padding: 0.1em 0 0.18em;
  margin: -0.1em 0 -0.18em;
}

.os_w > span {
  display: inline-block;
  transition: opacity 0.4s ease;
}

.os_sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.os_desc {
  max-width: 30em;
  margin-top: clamp(16px, 2vw, 26px);
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(26, 26, 26, 0.65);
  transition: color 0.45s ease;
}

/* ---------- button ---------- */
.os_btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  margin-top: clamp(22px, 2.6vw, 34px);
  padding: 14px 34px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.2px;
  color: #1a1a1a;
  text-decoration: none;
  border: 1px solid rgba(26, 26, 26, 0.75);
  border-radius: 999px;
  transition:
    color 0.45s ease,
    translate 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.45s ease;
}

.os_btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #1a1a1a;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.os_btn_arrow {
  display: inline-flex;
  width: 0;
  opacity: 0;
  transform: translateX(-10px);
  transition:
    width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    margin 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.os_btn_arrow svg {
  width: 1.3em;
  height: 1.3em;
}

.os_btn:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 5px;
}

/* ---------- entry animation states ---------- */
.os_section.is-ready .os_media {
  opacity: 0;
  clip-path: inset(16% 16% 16% 16% round calc(var(--or) * 2));
}
.os_section.is-ready .os_img {
  scale: 1.3;
}
.os_section.is-ready .os_play {
  opacity: 0;
  scale: 0.4;
}
.os_section.is-ready .os_w > span {
  transform: translateY(115%);
}
.os_section.is-ready .os_reveal {
  opacity: 0;
  transform: translateY(22px);
}

.os_section.in-view .os_media {
  opacity: 1;
  clip-path: inset(0 0 0 0 round var(--or));
  animation: osClip 1.5s cubic-bezier(0.77, 0, 0.18, 1) backwards;
}
.os_section.in-view .os_img {
  scale: 1;
  animation: osSettle 2s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.os_section.in-view .os_play {
  opacity: 1;
  scale: 1;
  animation: osPop 1s cubic-bezier(0.34, 1.56, 0.64, 1) 1s backwards;
}
.os_section.in-view .os_w > span {
  transform: none;
  animation: osRise 1.1s cubic-bezier(0.16, 1, 0.3, 1)
    calc(0.35s + var(--wi, 0) * 0.07s) backwards;
}
.os_section.in-view .os_reveal {
  opacity: 1;
  transform: none;
  animation: osUp 1s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--d, 0) * 1s)
    backwards;
}

@keyframes osClip {
  from {
    opacity: 0;
    clip-path: inset(16% 16% 16% 16% round calc(var(--or) * 2));
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0 round var(--or));
  }
}
@keyframes osSettle {
  from {
    scale: 1.3;
  }
}
@keyframes osPop {
  from {
    opacity: 0;
    scale: 0.4;
  }
}
@keyframes osRise {
  from {
    transform: translateY(115%);
  }
}
@keyframes osUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}
@keyframes osPulse {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}
@keyframes osRipple {
  from {
    transform: scale(0.6);
    opacity: 0.8;
  }
  to {
    transform: scale(2.6);
    opacity: 0;
  }
}

/* ---------- hover effects ---------- */
@media (hover: hover) {
  .os_section.in-view .os_media:hover .os_img {
    scale: 1.06;
  }
  .os_media:hover::after {
    opacity: 1;
  }
  .os_section.in-view .os_media:hover .os_play {
    scale: 1.12;
  }
  .os_media:hover .os_play_core {
    background: #1a1a1a;
    color: #fff;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  }
  .os_media:hover .os_play_core svg {
    transform: scale(1.12);
  }

  .os_title:hover .os_w:not(:hover) > span {
    opacity: 0.35;
  }
  .os_text:hover .os_desc {
    color: #1a1a1a;
  }

  .os_btn:hover {
    color: #fff;
    translate: 0 -2px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  }
  .os_btn:hover::before {
    transform: translateY(0);
  }
  .os_btn:hover .os_btn_arrow {
    width: 1.3em;
    margin-left: 0.55em;
    opacity: 1;
    transform: translateX(0);
  }
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .os_grid {
    column-gap: 32px;
  }
  .os_media {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 767px) {
  .os_section {
    --or: 20px;
  }
  .os_grid {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }
  .os_media {
    aspect-ratio: 4 / 3.2;
  }
  .os_title {
    font-size: clamp(26px, 7vw, 36px);
  }
}

@media (max-width: 575px) {
  .os_inner {
    padding: 0 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .os_section *,
  .os_section *::before,
  .os_section *::after {
    animation: none !important;
    transition: none !important;
  }
  .os_section.is-ready .os_media {
    opacity: 1;
    clip-path: none;
  }
  .os_section.is-ready .os_img,
  .os_section.is-ready .os_play {
    scale: 1;
    opacity: 1;
  }
  .os_section.is-ready .os_w > span,
  .os_section.is-ready .os_reveal {
    opacity: 1;
    transform: none;
  }
}

/* ================= OUR TEAM (about page) ================= */
.tm_section {
  --tr: 16px;
  padding: 0 0 clamp(8px, 2vw, 28px);
  color: #1a1a1a;
}

.tm_inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 5%;
}

.tm_label {
  margin-bottom: clamp(16px, 2vw, 26px);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.6);
}

.tm_grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.7vw, 26px);
}

.tm_card {
  display: block;
  transition:
    opacity 0.5s ease,
    translate 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- photo ---------- */
.tm_media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1.07 / 1;
  border-radius: var(--tr);
  background: #d9cfc6;
  transform: perspective(900px) rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg));
  transition:
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.5s ease;
  will-change: transform;
}

.tm_img {
  position: absolute;
  left: -4%;
  top: -4%;
  width: 108%;
  height: 108%;
  max-width: none;
  display: block;
  object-fit: cover;
  object-position: center top;
  user-select: none;
  translate: calc(var(--px, 0) * 1px) calc(var(--py, 0) * 1px);
  transition:
    translate 0.5s ease-out,
    scale 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.tm_media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(60, 35, 20, 0.2), transparent 45%);
}

.tm_media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: soft-light;
  background: radial-gradient(
    300px circle at var(--gx, 50%) var(--gy, 50%),
    rgba(255, 214, 170, 0.7),
    transparent 60%
  );
  transition: opacity 0.5s ease;
}

/* ---------- text ---------- */
.tm_info {
  padding: 16px 2px 0;
}

.tm_name {
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.1px;
}

.tm_name span {
  padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px
    no-repeat;
  transition: background-size 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}

.tm_role {
  margin-top: 6px;
  font-size: clamp(12px, 0.95vw, 14px);
  font-weight: 300;
  color: rgba(26, 26, 26, 0.55);
  transition: color 0.4s ease;
}

/* ---------- entry animation states ---------- */
.tm_section.is-ready .tm_reveal {
  opacity: 0;
  transform: translateY(18px);
}
.tm_section.is-ready .tm_media {
  clip-path: inset(100% 0 0 0 round var(--tr));
}
.tm_section.is-ready .tm_img {
  scale: 1.3;
}
.tm_section.is-ready .tm_info {
  opacity: 0;
  transform: translateY(18px);
}

.tm_section.in-view .tm_reveal {
  opacity: 1;
  transform: none;
  animation: tmUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--d, 0) * 1s)
    backwards;
}
.tm_section.in-view .tm_media {
  clip-path: inset(0 0 0 0 round var(--tr));
  animation: tmClip 1.3s cubic-bezier(0.77, 0, 0.18, 1)
    calc(0.15s + var(--ci, 0) * 0.13s) backwards;
}
.tm_section.in-view .tm_img {
  scale: 1;
  animation: tmSettle 1.8s cubic-bezier(0.16, 1, 0.3, 1)
    calc(0.15s + var(--ci, 0) * 0.13s) backwards;
}
.tm_section.in-view .tm_info {
  opacity: 1;
  transform: none;
  animation: tmUp 1s cubic-bezier(0.16, 1, 0.3, 1)
    calc(0.6s + var(--ci, 0) * 0.13s) backwards;
}

@keyframes tmUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}
@keyframes tmClip {
  from {
    clip-path: inset(100% 0 0 0 round var(--tr));
  }
  to {
    clip-path: inset(0 0 0 0 round var(--tr));
  }
}
@keyframes tmSettle {
  from {
    scale: 1.3;
  }
}

/* ---------- hover effects ---------- */
@media (hover: hover) {
  .tm_card:hover {
    translate: 0 -6px;
  }
  .tm_grid:hover .tm_card:not(:hover) {
    opacity: 0.5;
  }

  .tm_card:hover .tm_media {
    box-shadow: 0 24px 48px rgba(70, 45, 35, 0.22);
  }
  .tm_card:hover .tm_media::after {
    opacity: 1;
  }
  .tm_section.in-view .tm_card:hover .tm_img {
    scale: 1.08;
  }

  .tm_card:hover .tm_name span {
    background-size: 100% 1px;
  }
  .tm_card:hover .tm_role {
    color: #1a1a1a;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .tm_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }
}

@media (max-width: 575px) {
  .tm_inner {
    padding: 0 20px;
  }
  .tm_section {
    --tr: 14px;
  }
  .tm_grid {
    gap: 14px;
    row-gap: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tm_section *,
  .tm_section *::before,
  .tm_section *::after {
    animation: none !important;
    transition: none !important;
  }
  .tm_section.is-ready .tm_reveal,
  .tm_section.is-ready .tm_info {
    opacity: 1;
    transform: none;
  }
  .tm_section.is-ready .tm_media {
    clip-path: none;
  }
  .tm_section.is-ready .tm_img {
    scale: 1;
  }
}

/* ================= FEATURES HERO ================= */
.ft_hero {
  --frame: 16px;
  --r: 28px;
  padding: var(--frame);
}

.ft_card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: calc(100vh - var(--frame) * 2);
  height: calc(100svh - var(--frame) * 2);
  min-height: 620px;
  border-radius: var(--r);
  background: #c9b5a3;
  color: #fff;
  animation: ftReveal 1.5s cubic-bezier(0.77, 0, 0.18, 1) backwards;
}

/* ---------- background image (no hover effect, scroll parallax only) ---------- */
.ft_bg {
  position: absolute;
  inset: -6% -3%;
  z-index: 0;
  background-image: url("assets/hero_images/feature_hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  translate: 0 var(--py, 0px);
  animation: ftSettle 2.2s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  will-change: translate, scale;
}

/* readability gradients */
.ft_card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.14) 36%,
      transparent 60%
    ),
    linear-gradient(90deg, rgba(60, 35, 20, 0.3) 0%, transparent 58%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.16), transparent 22%);
}

/* ---------- content ---------- */
.ft_content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(10px, 2vh, 22px);
  padding: 120px clamp(24px, 6vw, 96px) clamp(28px, 6.5vh, 64px);
  translate: 0 var(--cy, 0px);
  pointer-events: none;
}

.ft_title,
.ft_tag {
  pointer-events: auto;
  width: fit-content;
}

.ft_title {
  font-size: clamp(54px, min(10.8vw, 21vh), 190px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.2);
}

.ft_line {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  padding: 0.12em 0 0.08em;
  margin: -0.12em 0 -0.08em;
}

.ft_word {
  display: inline-block;
  white-space: nowrap;
}

.ft_word + .ft_word {
  margin-left: 0.26em;
}

.ft_ch {
  display: inline-block;
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.35s ease;
  animation: ftRise 1.2s cubic-bezier(0.16, 1, 0.3, 1)
    calc(0.9s + var(--i, 0) * 0.055s) backwards;
}

/* tagline */
.ft_tag {
  font-size: clamp(14px, 2vw, 30px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.4);
}

.ft_phrase {
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  padding: 0.08em 0 0.22em;
  margin: -0.08em 0.4em -0.22em 0;
}

.ft_phrase > span {
  display: inline-block;
  padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px
    no-repeat;
  transition:
    background-size 0.55s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.4s ease;
  animation: ftRise 1.1s cubic-bezier(0.16, 1, 0.3, 1)
    calc(1.9s + var(--pi, 0) * 0.15s) backwards;
}

/* ---------- keyframes ---------- */
@keyframes ftReveal {
  from {
    clip-path: inset(12% 16% 12% 16% round calc(var(--r) * 3));
  }
  to {
    clip-path: inset(0 0 0 0 round var(--r));
  }
}

@keyframes ftSettle {
  from {
    scale: 1.3;
  }
}

@keyframes ftRise {
  from {
    transform: translateY(115%);
  }
}

/* ---------- text hover effects ---------- */
@media (hover: hover) {
  .ft_ch:hover {
    transform: translateY(-0.06em);
  }
  .ft_title:hover .ft_ch:not(:hover) {
    opacity: 0.78;
  }

  .ft_tag:hover .ft_phrase:not(:hover) > span {
    opacity: 0.55;
  }
  .ft_phrase:hover > span {
    background-size: 100% 1px;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 767px) {
  .ft_content {
    padding-left: 28px;
    padding-right: 28px;
  }
  .ft_title {
    font-size: clamp(44px, 12.5vw, 110px);
  }
  .ft_tag {
    font-size: clamp(13px, 3.6vw, 20px);
  }
}

@media (max-width: 575px) {
  .ft_hero {
    --frame: 10px;
    --r: 20px;
  }
  .ft_card {
    min-height: 560px;
  }
  .ft_content {
    padding: 110px 22px 28px;
  }
  .ft_bg {
    background-position: 62% center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ft_card,
  .ft_card *,
  .ft_card::before {
    animation: none !important;
    transition: none !important;
  }
}

/* ================= OUR SERVICES (features page) ================= */
.sv_section {
  padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 7vw, 100px);
  color: #1a1a1a;
}

.sv_inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 5%;
}

.sv_row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: clamp(24px, 4vw, 72px);
  align-items: center;
}

/* ---------- text ---------- */
.sv_label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.6);
}

.sv_title {
  margin-top: clamp(10px, 1.2vw, 16px);
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.sv_line {
  display: block;
}

.sv_w {
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  padding: 0.1em 0 0.18em;
  margin: -0.1em 0 -0.18em;
}

.sv_w > span {
  display: inline-block;
  transition: opacity 0.4s ease;
}

.sv_desc {
  max-width: 30em;
  margin-top: clamp(14px, 1.8vw, 22px);
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(26, 26, 26, 0.62);
  transition: color 0.45s ease;
}

/* ---------- button ---------- */
.sv_btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  padding: 16px 46px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.2px;
  white-space: nowrap;
  color: #1a1a1a;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(26, 26, 26, 0.55);
  border-radius: 999px;
  translate: var(--bx, 0px) var(--by, 0px);
  transition:
    color 0.45s ease,
    translate 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.45s ease;
}

.sv_btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #1a1a1a;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.sv_btn_arrow {
  display: inline-flex;
  width: 0;
  opacity: 0;
  transform: translateX(-10px);
  transition:
    width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    margin 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sv_btn_arrow svg {
  width: 1.3em;
  height: 1.3em;
}

.sv_btn:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 5px;
}

/* ---------- entry animation states ---------- */
.sv_section.is-ready .sv_reveal {
  opacity: 0;
  transform: translateY(22px);
}
.sv_section.is-ready .sv_w > span {
  transform: translateY(115%);
}

.sv_section.in-view .sv_reveal {
  opacity: 1;
  transform: none;
  animation: svUp 1s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--d, 0) * 1s)
    backwards;
}
.sv_section.in-view .sv_w > span {
  transform: none;
  animation: svRise 1.1s cubic-bezier(0.16, 1, 0.3, 1)
    calc(0.25s + var(--wi, 0) * 0.07s) backwards;
}

@keyframes svUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}
@keyframes svRise {
  from {
    transform: translateY(115%);
  }
}

/* ---------- hover effects ---------- */
@media (hover: hover) {
  .sv_title:hover .sv_w:not(:hover) > span {
    opacity: 0.35;
  }
  .sv_text:hover .sv_desc {
    color: #1a1a1a;
  }

  .sv_btn:hover {
    color: #fff;
    translate: var(--bx, 0px) calc(var(--by, 0px) - 2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  }
  .sv_btn:hover::before {
    transform: translateY(0);
  }
  .sv_btn:hover .sv_btn_arrow {
    width: 1.3em;
    margin-left: 0.55em;
    opacity: 1;
    transform: translateX(0);
  }
}

/* ---------- responsive ---------- */
@media (max-width: 767px) {
  .sv_row {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }
  .sv_title {
    font-size: clamp(24px, 6.4vw, 34px);
  }
}

@media (max-width: 575px) {
  .sv_inner {
    padding: 0 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sv_section *,
  .sv_section *::before,
  .sv_section *::after {
    animation: none !important;
    transition: none !important;
  }
  .sv_section.is-ready .sv_reveal,
  .sv_section.is-ready .sv_w > span {
    opacity: 1;
    transform: none;
  }
}

/* ================= SERVICES CARDS (features page) ================= */
.svc_section {
  --cr: 18px;
  --mr: 12px;
  padding: 0 0 clamp(64px, 9vw, 130px);
  color: #1a1a1a;
}

.svc_inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 5%;
}

.svc_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 28px);
}

.svc_card {
  padding: 8px;
  background: rgba(255, 255, 255, 0.62);
  border-radius: var(--cr);
  box-shadow: 0 8px 28px rgba(70, 45, 35, 0.06);
  transition:
    opacity 0.45s ease,
    translate 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.5s ease,
    background 0.5s ease;
}

/* ---------- media ---------- */
.svc_media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1.55 / 1;
  border-radius: var(--mr);
  background: linear-gradient(135deg, #cdb9a6, #e3d6ca);
  transform: perspective(900px) rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg));
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.svc_img {
  position: absolute;
  left: -4%;
  top: -4%;
  width: 108%;
  height: 108%;
  max-width: none;
  display: block;
  object-fit: cover;
  user-select: none;
  translate: calc(var(--px, 0) * 1px) calc(var(--py, 0) * 1px);
  transition:
    translate 0.5s ease-out,
    scale 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.4s ease;
}

.svc_media.img-fail .svc_img {
  opacity: 0;
}

.svc_media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(40, 25, 15, 0.38), transparent 55%);
}

.svc_media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: soft-light;
  background: radial-gradient(
    320px circle at var(--gx, 50%) var(--gy, 50%),
    rgba(255, 214, 170, 0.7),
    transparent 60%
  );
  transition: opacity 0.5s ease;
}

/* ---------- icon badge ---------- */
.svc_badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: rgba(26, 26, 26, 0.92);
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition:
    background 0.4s ease,
    color 0.4s ease,
    scale 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.svc_badge svg {
  width: 18px;
  height: 18px;
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.svc_badge::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.85);
  opacity: 0;
  pointer-events: none;
}

/* ---------- text ---------- */
.svc_info {
  padding: 16px 10px 12px;
}

.svc_title {
  font-size: clamp(14px, 1.15vw, 17px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.1px;
}

.svc_title span {
  padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px
    no-repeat;
  transition: background-size 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}

.svc_cap {
  margin-top: 5px;
  font-size: clamp(12px, 0.95vw, 14px);
  font-weight: 300;
  color: rgba(26, 26, 26, 0.55);
  transition:
    color 0.4s ease,
    letter-spacing 0.4s ease;
}

/* ---------- entry animation states (per card) ---------- */
.svc_card.is-ready {
  opacity: 0;
  transform: translateY(34px);
}
.svc_card.is-ready .svc_media {
  clip-path: inset(100% 0 0 0 round var(--mr));
}
.svc_card.is-ready .svc_img {
  scale: 1.3;
}
.svc_card.is-ready .svc_badge {
  scale: 0;
}
.svc_card.is-ready .svc_info {
  opacity: 0;
  transform: translateY(14px);
}

.svc_card.in-view {
  opacity: 1;
  transform: none;
  animation: svcCard 1s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--ci, 0) * 0.12s)
    backwards;
}
.svc_card.in-view .svc_media {
  clip-path: inset(0 0 0 0 round var(--mr));
  animation: svcClip 1.3s cubic-bezier(0.77, 0, 0.18, 1)
    calc(0.1s + var(--ci, 0) * 0.12s) backwards;
}
.svc_card.in-view .svc_img {
  scale: 1;
  animation: svcSettle 1.8s cubic-bezier(0.16, 1, 0.3, 1)
    calc(0.1s + var(--ci, 0) * 0.12s) backwards;
}
.svc_card.in-view .svc_badge {
  scale: 1;
  animation: svcPop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1)
    calc(0.8s + var(--ci, 0) * 0.12s) backwards;
}
.svc_card.in-view .svc_info {
  opacity: 1;
  transform: none;
  animation: svcInfo 1s cubic-bezier(0.16, 1, 0.3, 1)
    calc(0.55s + var(--ci, 0) * 0.12s) backwards;
}

@keyframes svcCard {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.97);
  }
}
@keyframes svcClip {
  from {
    clip-path: inset(100% 0 0 0 round var(--mr));
  }
  to {
    clip-path: inset(0 0 0 0 round var(--mr));
  }
}
@keyframes svcSettle {
  from {
    scale: 1.3;
  }
}
@keyframes svcPop {
  from {
    scale: 0;
    rotate: -90deg;
  }
}
@keyframes svcInfo {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
@keyframes svcRing {
  from {
    transform: scale(1);
    opacity: 0.8;
  }
  to {
    transform: scale(1.9);
    opacity: 0;
  }
}

/* ---------- hover effects ---------- */
@media (hover: hover) {
  .svc_card.in-view:hover {
    translate: 0 -8px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 24px 54px rgba(70, 45, 35, 0.18);
  }
  .svc_grid:hover .svc_card.in-view:not(:hover) {
    opacity: 0.55;
  }

  .svc_card.in-view:hover .svc_img {
    scale: 1.09;
  }
  .svc_card:hover .svc_media::after {
    opacity: 1;
  }

  .svc_card:hover .svc_badge {
    color: #1a1a1a;
    background: #fff;
    scale: 1.15;
  }
  .svc_card:hover .svc_badge svg {
    transform: rotate(-10deg) scale(1.08);
  }
  .svc_card:hover .svc_badge::after {
    animation: svcRing 1.2s ease-out infinite;
  }

  .svc_card:hover .svc_title span {
    background-size: 100% 1px;
  }
  .svc_card:hover .svc_cap {
    color: #1a1a1a;
    letter-spacing: 0.04em;
  }
}

@media (hover: none) {
  .svc_card:active .svc_badge {
    color: #1a1a1a;
    background: #fff;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .svc_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .svc_inner {
    padding: 0 20px;
  }
  .svc_section {
    --cr: 16px;
    --mr: 10px;
  }
  .svc_grid {
    gap: 12px;
  }
  .svc_card {
    padding: 6px;
  }
  .svc_info {
    padding: 12px 6px 8px;
  }
  .svc_badge {
    width: 32px;
    height: 32px;
    left: 8px;
    bottom: 8px;
  }
  .svc_badge svg {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 420px) {
  .svc_grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .svc_section *,
  .svc_section *::before,
  .svc_section *::after {
    animation: none !important;
    transition: none !important;
  }
  .svc_card.is-ready,
  .svc_card.is-ready .svc_info {
    opacity: 1;
    transform: none;
  }
  .svc_card.is-ready .svc_media {
    clip-path: none;
  }
  .svc_card.is-ready .svc_img,
  .svc_card.is-ready .svc_badge {
    scale: 1;
  }
}

.cta_img.cta_img_features {
  background-image: url("assets/features_imgs/Golden Hour Cliffside Retreat.webp");
  background-position: center 55%;
}


/* ================= OFFERS HERO ================= */
.of_hero {
  --frame: 16px;
  --r: 28px;
  padding: var(--frame);
}

.of_card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: calc(100vh - var(--frame) * 2);
  height: calc(100svh - var(--frame) * 2);
  min-height: 620px;
  border-radius: var(--r);
  background: #c9b5a3;
  color: #fff;
  animation: ofReveal 1.5s cubic-bezier(0.77, 0, 0.18, 1) backwards;
}

/* ---------- background image (scroll parallax only, no hover zoom) ---------- */
.of_bg {
  position: absolute;
  inset: -6% -3%;
  z-index: 0;
  background-image: url("assets/hero_images/offer_hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  translate: 0 var(--py, 0px);
  animation: ofSettle 2.2s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  will-change: translate, scale;
}

/* readability gradients */
.of_card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.14) 38%,
      transparent 62%
    ),
    linear-gradient(90deg, rgba(70, 40, 20, 0.28) 0%, transparent 55%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.16), transparent 22%);
}

/* ---------- content ---------- */
.of_content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(10px, 2vh, 22px);
  padding: 120px clamp(24px, 6vw, 96px) clamp(28px, 6.5vh, 64px);
  translate: 0 var(--cy, 0px);
  pointer-events: none;
}

.of_title,
.of_tag {
  pointer-events: auto;
  width: fit-content;
}

.of_title {
  font-size: clamp(54px, min(10.8vw, 21vh), 190px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.18);
  translate: calc(var(--tx, 0) * 1px) calc(var(--ty, 0) * 1px);
  transition: translate 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.of_line {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  padding: 0.12em 0 0.08em;
  margin: -0.12em 0 -0.08em;
}

.of_ch {
  display: inline-block;
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.35s ease;
  animation: ofRise 1.2s cubic-bezier(0.16, 1, 0.3, 1)
    calc(0.9s + var(--i, 0) * 0.06s) backwards;
}

/* tagline */
.of_tag {
  font-size: clamp(15px, 2.05vw, 31px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.35);
}

.of_phrase {
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  padding: 0.08em 0 0.22em;
  margin: -0.08em 0.4em -0.22em 0;
}

.of_phrase > span {
  display: inline-block;
  padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px
    no-repeat;
  transition:
    background-size 0.55s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.4s ease;
  animation: ofRise 1.1s cubic-bezier(0.16, 1, 0.3, 1)
    calc(1.7s + var(--pi, 0) * 0.15s) backwards;
}

/* ---------- keyframes ---------- */
@keyframes ofReveal {
  from {
    clip-path: inset(12% 16% 12% 16% round calc(var(--r) * 3));
  }
  to {
    clip-path: inset(0 0 0 0 round var(--r));
  }
}

@keyframes ofSettle {
  from {
    scale: 1.3;
  }
}

@keyframes ofRise {
  from {
    transform: translateY(115%);
  }
}

/* ---------- text hover effects (image has none) ---------- */
@media (hover: hover) {
  .of_ch:hover {
    transform: translateY(-0.06em);
  }
  .of_title:hover .of_ch:not(:hover) {
    opacity: 0.78;
  }

  .of_tag:hover .of_phrase:not(:hover) > span {
    opacity: 0.55;
  }
  .of_phrase:hover > span {
    background-size: 100% 1px;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 767px) {
  .of_content {
    padding-left: 28px;
    padding-right: 28px;
  }
  .of_title {
    font-size: clamp(54px, 17vw, 120px);
  }
  .of_tag {
    font-size: clamp(14px, 3.6vw, 22px);
  }
}

@media (max-width: 575px) {
  .of_hero {
    --frame: 10px;
    --r: 20px;
  }
  .of_card {
    min-height: 560px;
  }
  .of_content {
    padding: 110px 22px 28px;
  }
  .of_bg {
    background-position: 62% center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .of_card,
  .of_card *,
  .of_card::before {
    animation: none !important;
    transition: none !important;
  }
}

/* ================= CURRENT OFFERS ================= */
.op_section {
  --br: 22px;
  padding: clamp(36px, 5vw, 72px) 0 clamp(8px, 2vw, 24px);
  color: #1a1a1a;
}

.op_inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 5%;
}

/* ---------- heading row ---------- */
.op_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(16px, 2vw, 26px);
}

.op_heading,
.op_why_title {
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 400;
  letter-spacing: 0.005em;
}

.op_w {
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  padding: 0.1em 0 0.18em;
  margin: -0.1em 0 -0.18em;
}

.op_w > span {
  display: inline-block;
  transition: opacity 0.4s ease;
}

/* ---------- pill buttons ---------- */
.op_btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: 11px 26px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.2px;
  white-space: nowrap;
  color: #1a1a1a;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(26, 26, 26, 0.5);
  border-radius: 999px;
  transition:
    color 0.45s ease,
    translate 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.45s ease;
}

.op_btn::before,
.op_book::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #1a1a1a;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.op_btn_label {
  position: relative;
}

.op_btn_arrow {
  display: inline-flex;
  width: 0;
  opacity: 0;
  transform: translateX(-10px);
  transition:
    width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    margin 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.op_btn_arrow svg {
  width: 1.3em;
  height: 1.3em;
}

.op_btn:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 5px;
}

/* ---------- banner ---------- */
.op_banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 2.1 / 1;
  min-height: 340px;
  padding: clamp(18px, 2.4vw, 34px);
  border-radius: var(--br);
  background: #c9b5a3;
  color: #fff;
}

.op_banner_bg {
  position: absolute;
  inset: -7% 0;
  z-index: 0;
  background-image: url("assets/offerce_imgs/offer_img.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  translate: 0 var(--py, 0px);
  will-change: translate, scale;
}

.op_banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.16) 50%, transparent 72%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0%, transparent 62%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.18), transparent 28%);
}

.op_banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: soft-light;
  background: radial-gradient(
    460px circle at var(--gx, 50%) var(--gy, 50%),
    rgba(255, 214, 170, 0.6),
    transparent 60%
  );
  transition: opacity 0.6s ease;
}

.op_tag {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  padding: 9px 22px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.2px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition:
    background 0.4s ease,
    color 0.4s ease;
}

.op_banner_main {
  position: relative;
  z-index: 2;
}

.op_banner_title {
  --wd: 0.7s;
  font-size: clamp(26px, 3.3vw, 46px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.op_banner_text {
  max-width: 24em;
  margin-top: clamp(8px, 1vw, 14px);
  font-size: clamp(13px, 1.25vw, 17px);
  font-weight: 300;
  line-height: 1.45;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
}

.op_book_wrap {
  margin-top: clamp(16px, 2.2vw, 28px);
}

.op_book {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  padding: 0.95em 2.4em;
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 400;
  color: #1a1a1a;
  text-decoration: none;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  translate: var(--bx, 0px) var(--by, 0px);
  transition:
    color 0.45s ease,
    box-shadow 0.45s ease,
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    translate 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.op_book:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

/* ---------- feature rows ---------- */
.op_feats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(14px, 2vw, 26px);
}

.op_why .op_feats {
  margin-top: clamp(8px, 1.4vw, 18px);
}

.op_feat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: clamp(22px, 2.8vw, 36px) 12px;
  text-align: center;
  cursor: default;
  transition:
    opacity 0.45s ease,
    translate 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.op_feat + .op_feat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  width: 1px;
  height: 64%;
  background: rgba(26, 26, 26, 0.12);
}

.op_ico {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #1a1a1a;
  transition:
    color 0.4s ease,
    transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.op_ico::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #1a1a1a;
  opacity: 0;
  transform: scale(0.4);
  transition:
    opacity 0.35s ease,
    transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.op_ico svg {
  position: relative;
  width: 26px;
  height: 26px;
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.op_feat_title {
  font-size: clamp(12px, 0.95vw, 14px);
  font-weight: 400;
  letter-spacing: 0.1px;
}

.op_feat_title span {
  padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}

.op_feat_cap {
  margin-top: 5px;
  font-size: clamp(11px, 0.85vw, 13px);
  font-weight: 300;
  color: rgba(26, 26, 26, 0.55);
  transition:
    color 0.4s ease,
    letter-spacing 0.4s ease;
}

.op_rule {
  height: 1px;
  margin-top: clamp(8px, 1.4vw, 18px);
  background: rgba(26, 26, 26, 0.12);
  transform-origin: left;
}

.op_why {
  padding-top: clamp(26px, 3.4vw, 44px);
}

/* ---------- entry animation states ---------- */
.op_block.is-ready .op_reveal {
  opacity: 0;
  transform: translateY(22px);
}
.op_block.is-ready .op_w > span {
  transform: translateY(115%);
}
.op_banner.is-ready {
  opacity: 0;
  clip-path: inset(12% 6% 12% 6% round calc(var(--br) * 2));
}
.op_banner.is-ready .op_banner_bg {
  scale: 1.3;
}
.op_rule.is-ready {
  transform: scaleX(0);
}

.op_block.in-view .op_reveal {
  opacity: 1;
  transform: none;
  animation: opUp 1s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--d, 0) * 1s) backwards;
}
.op_block.in-view .op_w > span {
  transform: none;
  animation: opRise 1.1s cubic-bezier(0.16, 1, 0.3, 1)
    calc(var(--wd, 0.2s) + var(--wi, 0) * 0.08s) backwards;
}
.op_banner.in-view {
  opacity: 1;
  clip-path: inset(0 0 0 0 round var(--br));
  animation: opClip 1.5s cubic-bezier(0.77, 0, 0.18, 1) backwards;
}
.op_banner.in-view .op_banner_bg {
  scale: 1;
  animation: opSettle 2s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.op_rule.in-view {
  transform: none;
  animation: opLine 1.3s cubic-bezier(0.65, 0, 0.35, 1) backwards;
}

@keyframes opUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}
@keyframes opRise {
  from {
    transform: translateY(115%);
  }
}
@keyframes opClip {
  from {
    opacity: 0;
    clip-path: inset(12% 6% 12% 6% round calc(var(--br) * 2));
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0 round var(--br));
  }
}
@keyframes opSettle {
  from {
    scale: 1.3;
  }
}
@keyframes opLine {
  from {
    transform: scaleX(0);
  }
}

/* ---------- hover effects (image has no zoom) ---------- */
@media (hover: hover) {
  .op_btn:hover {
    color: #fff;
    translate: 0 -2px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  }
  .op_btn:hover::before,
  .op_book:hover::before {
    transform: translateY(0);
  }
  .op_btn:hover .op_btn_arrow,
  .op_book:hover .op_btn_arrow {
    width: 1.3em;
    margin-left: 0.55em;
    opacity: 1;
    transform: translateX(0);
  }

  .op_banner:hover::after {
    opacity: 1;
  }
  .op_tag:hover {
    color: #1a1a1a;
    background: rgba(255, 255, 255, 0.95);
  }
  .op_banner_title:hover .op_w:not(:hover) > span,
  .op_heading:hover .op_w:not(:hover) > span,
  .op_why_title:hover .op_w:not(:hover) > span {
    opacity: 0.4;
  }

  .op_book:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  }

  .op_feats:hover .op_feat:not(:hover) {
    opacity: 0.5;
  }
  .op_feat:hover {
    translate: 0 -5px;
  }
  .op_feat:hover .op_ico {
    color: #fff;
    transform: translateY(-3px);
  }
  .op_feat:hover .op_ico::before {
    opacity: 1;
    transform: scale(1);
  }
  .op_feat:hover .op_ico svg {
    transform: rotate(-8deg) scale(1.06);
  }
  .op_feat:hover .op_feat_title span {
    background-size: 100% 1px;
  }
  .op_feat:hover .op_feat_cap {
    color: #1a1a1a;
    letter-spacing: 0.03em;
  }
}

@media (hover: none) {
  .op_feat:active .op_ico {
    color: #fff;
  }
  .op_feat:active .op_ico::before {
    opacity: 1;
    transform: scale(1);
  }
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .op_banner {
    aspect-ratio: 1.8 / 1;
  }
}

@media (max-width: 767px) {
  .op_section {
    --br: 20px;
  }
  .op_banner {
    aspect-ratio: auto;
    min-height: 360px;
  }
}

@media (max-width: 575px) {
  .op_inner {
    padding: 0 20px;
  }
  .op_btn {
    padding: 10px 18px;
    font-size: 12px;
  }
  .op_feat {
    padding-left: 6px;
    padding-right: 6px;
  }
}

@media (max-width: 480px) {
  .op_feats {
    grid-template-columns: 1fr;
  }
  .op_feat {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 16px 4px;
    text-align: left;
  }
  .op_feat + .op_feat::before {
    left: 0;
    top: 0;
    width: 100%;
    height: 1px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .op_section *,
  .op_section *::before,
  .op_section *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ================= CONTACT HERO ================= */
.ct_hero {
  --frame: 16px;
  --r: 28px;
  padding: var(--frame);
}

.ct_card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: calc(100vh - var(--frame) * 2);
  height: calc(100svh - var(--frame) * 2);
  min-height: 620px;
  border-radius: var(--r);
  background: #c9b5a3;
  color: #fff;
  animation: ctReveal 1.5s cubic-bezier(0.77, 0, 0.18, 1) backwards;
}

/* ---------- background image (scroll parallax only, no hover zoom) ---------- */
.ct_bg {
  position: absolute;
  inset: -6% -3%;
  z-index: 0;
  background-image: url("assets/hero_images/contact_hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  translate: 0 var(--py, 0px);
  animation: ctSettle 2.2s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  will-change: translate, scale;
}

/* readability gradients */
.ct_card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.14) 38%,
      transparent 62%
    ),
    linear-gradient(90deg, rgba(70, 40, 20, 0.28) 0%, transparent 55%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.16), transparent 22%);
}

/* ---------- content ---------- */
.ct_content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(10px, 2vh, 22px);
  padding: 120px clamp(24px, 6vw, 96px) clamp(28px, 6.5vh, 64px);
  translate: 0 var(--cy, 0px);
  pointer-events: none;
}

.ct_title,
.ct_tag {
  pointer-events: auto;
  width: fit-content;
}

.ct_title {
  font-size: clamp(54px, min(10.8vw, 21vh), 190px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.18);
  translate: calc(var(--tx, 0) * 1px) calc(var(--ty, 0) * 1px);
  transition: translate 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ct_line {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  padding: 0.12em 0 0.08em;
  margin: -0.12em 0 -0.08em;
}

.ct_word {
  display: inline-block;
  white-space: nowrap;
}

.ct_word + .ct_word {
  margin-left: 0.26em;
}

.ct_ch {
  display: inline-block;
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.35s ease;
  animation: ctRise 1.2s cubic-bezier(0.16, 1, 0.3, 1)
    calc(0.9s + var(--i, 0) * 0.06s) backwards;
}

/* tagline */
.ct_tag {
  font-size: clamp(15px, 2.05vw, 31px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.35);
}

.ct_phrase {
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  padding: 0.08em 0 0.22em;
  margin: -0.08em 0.4em -0.22em 0;
}

.ct_phrase > span {
  display: inline-block;
  padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px
    no-repeat;
  transition:
    background-size 0.55s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.4s ease;
  animation: ctRise 1.1s cubic-bezier(0.16, 1, 0.3, 1)
    calc(1.8s + var(--pi, 0) * 0.15s) backwards;
}

/* ---------- keyframes ---------- */
@keyframes ctReveal {
  from {
    clip-path: inset(12% 16% 12% 16% round calc(var(--r) * 3));
  }
  to {
    clip-path: inset(0 0 0 0 round var(--r));
  }
}

@keyframes ctSettle {
  from {
    scale: 1.3;
  }
}

@keyframes ctRise {
  from {
    transform: translateY(115%);
  }
}

/* ---------- text hover effects (image has none) ---------- */
@media (hover: hover) {
  .ct_ch:hover {
    transform: translateY(-0.06em);
  }
  .ct_title:hover .ct_ch:not(:hover) {
    opacity: 0.78;
  }

  .ct_tag:hover .ct_phrase:not(:hover) > span {
    opacity: 0.55;
  }
  .ct_phrase:hover > span {
    background-size: 100% 1px;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 767px) {
  .ct_content {
    padding-left: 28px;
    padding-right: 28px;
  }
  .ct_title {
    font-size: clamp(54px, 17vw, 120px);
  }
  .ct_tag {
    font-size: clamp(14px, 3.6vw, 22px);
  }
}

@media (max-width: 575px) {
  .ct_hero {
    --frame: 10px;
    --r: 20px;
  }
  .ct_card {
    min-height: 560px;
  }
  .ct_content {
    padding: 110px 22px 28px;
  }
  .ct_bg {
    background-position: 62% center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ct_card,
  .ct_card *,
  .ct_card::before {
    animation: none !important;
    transition: none !important;
  }
}

/* ================= CONTACT SECTION ================= */
.cn_section {
  --cn-r: 22px;
  --cn-dark: #5a4a3f;
  padding: clamp(36px, 5vw, 72px) 0 clamp(8px, 2vw, 24px);
  color: #1a1a1a;
}

.cn_inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 5%;
}

.cn_grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.1fr);
  column-gap: clamp(28px, 6vw, 110px);
  align-items: start;
}

.cn_sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* split-word helper (headings + banner text) */
.cn_w {
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  padding: 0.1em 0 0.18em;
  margin: -0.1em 0 -0.18em;
}

.cn_w > span {
  display: inline-block;
  transition: opacity 0.4s ease;
}

/* ---------- left: info list ---------- */
.cn_info_list {
  display: flex;
  flex-direction: column;
  gap: clamp(26px, 3.2vw, 44px);
  padding-top: 6px;
}

.cn_item {
  display: flex;
  align-items: flex-start;
  gap: clamp(14px, 1.6vw, 22px);
  cursor: default;
  transition:
    opacity 0.45s ease,
    translate 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cn_ico {
  position: relative;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: -6px;
  color: #3a342f;
  transition:
    color 0.4s ease,
    transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cn_ico::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #1a1a1a;
  opacity: 0;
  transform: scale(0.4);
  transition:
    opacity 0.35s ease,
    transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cn_ico svg {
  position: relative;
  width: 24px;
  height: 24px;
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cn_item_title {
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 400;
  letter-spacing: 0.1px;
}

.cn_item_title span {
  padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}

.cn_item_line {
  margin-top: 6px;
  font-size: clamp(12.5px, 0.95vw, 14px);
  font-weight: 300;
  line-height: 1.5;
  color: rgba(26, 26, 26, 0.6);
  transition: color 0.4s ease;
}

.cn_item_line + .cn_item_line {
  margin-top: 3px;
}

.cn_link {
  color: inherit;
  text-decoration: none;
}

.cn_link span {
  padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.cn_link:focus-visible,
.cn_soc_ico:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 4px;
  border-radius: 4px;
}

.cn_social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  font-size: clamp(12.5px, 0.95vw, 14px);
  font-weight: 300;
  color: rgba(26, 26, 26, 0.6);
}

.cn_soc_ico {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #1a1a1a;
  border-radius: 50%;
  transition:
    background 0.35s ease,
    color 0.35s ease,
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cn_soc_ico svg {
  width: 14px;
  height: 14px;
}

/* ---------- right: form card ---------- */
.cn_formcard {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--cn-r);
  background: #ebe3da;
  box-shadow: 0 10px 34px rgba(70, 45, 35, 0.07);
  transition:
    box-shadow 0.5s ease,
    translate 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cn_formcard::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: soft-light;
  background: radial-gradient(
    420px circle at var(--gx, 50%) var(--gy, 50%),
    rgba(255, 214, 170, 0.6),
    transparent 60%
  );
  transition: opacity 0.6s ease;
}

.cn_form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 2.6vw, 38px);
}

.cn_form_title {
  margin-bottom: 6px;
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 400;
  letter-spacing: 0.005em;
}

.cn_field {
  position: relative;
  transition: translate 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cn_input {
  display: block;
  width: 100%;
  padding: 15px 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 300;
  color: #1a1a1a;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(26, 26, 26, 0.06);
  border-radius: 12px;
  outline: none;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.4s ease;
}

.cn_input::placeholder {
  color: rgba(26, 26, 26, 0.45);
  transition: opacity 0.3s ease;
}

textarea.cn_input {
  min-height: 130px;
  line-height: 1.6;
  resize: vertical;
}

.cn_field:focus-within {
  translate: 0 -2px;
}

.cn_field:focus-within .cn_input {
  background: #fff;
  border-color: rgba(26, 26, 26, 0.55);
  box-shadow: 0 12px 26px rgba(70, 45, 35, 0.14);
}

.cn_field:focus-within .cn_input::placeholder {
  opacity: 0.45;
}

/* validation */
.cn_err {
  display: block;
  max-height: 0;
  padding: 0 6px;
  overflow: hidden;
  font-size: 12px;
  color: #b5503c;
  opacity: 0;
  transition:
    max-height 0.4s ease,
    opacity 0.35s ease,
    padding 0.4s ease;
}

.cn_field.invalid .cn_err {
  max-height: 30px;
  padding-top: 6px;
  opacity: 1;
}

.cn_field.invalid .cn_input {
  border-color: #b5503c;
  box-shadow: 0 0 0 1px #b5503c;
}

.cn_field.shake .cn_input {
  animation: cnShake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

/* ---------- send button + status ---------- */
.cn_actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 8px;
}

.cn_send {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  padding: 16px 40px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.2px;
  color: #fff;
  cursor: pointer;
  background: var(--cn-dark);
  border: 1px solid var(--cn-dark);
  border-radius: 999px;
  translate: var(--bx, 0px) var(--by, 0px);
  transition:
    color 0.45s ease,
    box-shadow 0.45s ease,
    opacity 0.3s ease,
    translate 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cn_send::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #1a1a1a;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.cn_send:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 5px;
}

.cn_send:disabled {
  cursor: progress;
  opacity: 0.9;
}

.cn_send_label {
  position: relative;
}

.cn_send_ico,
.cn_send_spin {
  display: inline-flex;
  width: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    margin 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cn_send_ico {
  transform: translateX(-10px);
}

.cn_send_ico svg {
  width: 1.3em;
  height: 1.3em;
}

.cn_send_spin {
  height: 1.1em;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
}

.cn_send.is-busy .cn_send_spin {
  width: 1.1em;
  margin-left: 0.7em;
  opacity: 1;
  animation: cnSpin 0.8s linear infinite;
}

.cn_status {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.4;
  color: rgba(26, 26, 26, 0.6);
}

.cn_status.show {
  animation: cnUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.cn_status.ok {
  color: #4a6b3f;
}

.cn_status.bad {
  color: #b5503c;
}

/* ---------- banner ---------- */
.cn_banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  aspect-ratio: 3.1 / 1;
  min-height: 280px;
  margin-top: clamp(28px, 4vw, 56px);
  padding: clamp(24px, 5vw, 80px);
  border-radius: var(--cn-r);
  background: #c9b5a3;
  color: #fff;
}

.cn_banner_bg {
  position: absolute;
  inset: -7% 0;
  z-index: 0;
  background-image: url("assets/contect_imgs/Futuristic Desert Resort at Sunset.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  translate: 0 var(--py, 0px);
  will-change: translate, scale;
}

.cn_banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(40, 22, 10, 0.42) 0%, rgba(40, 22, 10, 0.12) 52%, transparent 78%),
    linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent 50%);
}

.cn_banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: soft-light;
  background: radial-gradient(
    460px circle at var(--gx, 30%) var(--gy, 50%),
    rgba(255, 214, 170, 0.6),
    transparent 60%
  );
  transition: opacity 0.6s ease;
}

.cn_banner_text {
  position: relative;
  z-index: 2;
  font-size: clamp(19px, 2.3vw, 34px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.005em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.cn_bline {
  display: block;
}

/* ---------- entry animation states ---------- */
.cn_block.is-ready .cn_reveal {
  opacity: 0;
  transform: translateY(22px);
}
.cn_block.is-ready .cn_w > span {
  transform: translateY(115%);
}
.cn_formcard.is-ready {
  opacity: 0;
  transform: translateY(34px);
}
.cn_banner.is-ready {
  opacity: 0;
  clip-path: inset(12% 6% 12% 6% round calc(var(--cn-r) * 2));
}
.cn_banner.is-ready .cn_banner_bg {
  scale: 1.3;
}

.cn_block.in-view .cn_reveal {
  opacity: 1;
  transform: none;
  animation: cnUp 1s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--d, 0) * 1s) backwards;
}
.cn_block.in-view .cn_w > span {
  transform: none;
  animation: cnRise 1.1s cubic-bezier(0.16, 1, 0.3, 1)
    calc(var(--wd, 0.25s) + var(--wi, 0) * 0.08s) backwards;
}
.cn_formcard.in-view {
  opacity: 1;
  transform: none;
  animation: cnCard 1.1s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.cn_banner.in-view {
  opacity: 1;
  clip-path: inset(0 0 0 0 round var(--cn-r));
  animation: cnClip 1.5s cubic-bezier(0.77, 0, 0.18, 1) backwards;
}
.cn_banner.in-view .cn_banner_bg {
  scale: 1;
  animation: cnSettle 2s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

@keyframes cnUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}
@keyframes cnRise {
  from {
    transform: translateY(115%);
  }
}
@keyframes cnCard {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.97);
  }
}
@keyframes cnClip {
  from {
    opacity: 0;
    clip-path: inset(12% 6% 12% 6% round calc(var(--cn-r) * 2));
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0 round var(--cn-r));
  }
}
@keyframes cnSettle {
  from {
    scale: 1.3;
  }
}
@keyframes cnShake {
  10%,
  90% {
    transform: translateX(-1px);
  }
  20%,
  80% {
    transform: translateX(3px);
  }
  30%,
  50%,
  70% {
    transform: translateX(-5px);
  }
  40%,
  60% {
    transform: translateX(5px);
  }
}
@keyframes cnSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- hover effects (image has no zoom) ---------- */
@media (hover: hover) {
  .cn_info_list:hover .cn_item:not(:hover) {
    opacity: 0.5;
  }
  .cn_item:hover {
    translate: 6px 0;
  }
  .cn_item:hover .cn_ico {
    color: #fff;
    transform: translateY(-3px);
  }
  .cn_item:hover .cn_ico::before {
    opacity: 1;
    transform: scale(1);
  }
  .cn_item:hover .cn_ico svg {
    transform: rotate(-8deg) scale(1.06);
  }
  .cn_item:hover .cn_item_title span {
    background-size: 100% 1px;
  }
  .cn_item:hover .cn_item_line,
  .cn_item:hover .cn_social {
    color: #1a1a1a;
  }
  .cn_link:hover span {
    background-size: 100% 1px;
  }
  .cn_soc_ico:hover {
    color: #fff;
    background: #1a1a1a;
    transform: translateY(-3px);
  }

  .cn_formcard:hover {
    box-shadow: 0 22px 54px rgba(70, 45, 35, 0.14);
  }
  .cn_formcard:hover::after {
    opacity: 1;
  }
  .cn_input:not(:focus):hover {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(26, 26, 26, 0.22);
  }
  .cn_form_title:hover .cn_w:not(:hover) > span,
  .cn_banner_text:hover .cn_w:not(:hover) > span {
    opacity: 0.4;
  }

  .cn_send:not(:disabled):hover {
    color: #fff;
    translate: var(--bx, 0px) calc(var(--by, 0px) - 2px);
    box-shadow: 0 14px 30px rgba(70, 45, 35, 0.3);
  }
  .cn_send:not(:disabled):hover::before {
    transform: translateY(0);
  }
  .cn_send:not(:disabled):not(.is-busy):hover .cn_send_ico {
    width: 1.3em;
    margin-left: 0.55em;
    opacity: 1;
    transform: translateX(0);
  }

  .cn_banner:hover::after {
    opacity: 1;
  }
}

@media (hover: none) {
  .cn_item:active .cn_ico {
    color: #fff;
  }
  .cn_item:active .cn_ico::before {
    opacity: 1;
    transform: scale(1);
  }
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .cn_grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 36px;
  }
  .cn_info_list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
  }
  .cn_banner {
    aspect-ratio: 2.4 / 1;
  }
}

@media (max-width: 767px) {
  .cn_section {
    --cn-r: 20px;
  }
  .cn_banner {
    aspect-ratio: auto;
    min-height: 300px;
    align-items: flex-end;
  }
  .cn_banner::before {
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.1) 70%,
      transparent
    );
  }
}

@media (max-width: 575px) {
  .cn_inner {
    padding: 0 20px;
  }
  .cn_info_list {
    grid-template-columns: minmax(0, 1fr);
  }
  .cn_send {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cn_section *,
  .cn_section *::before,
  .cn_section *::after {
    animation: none !important;
    transition: none !important;
  }
}