:root {
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --ink: #1d1f22;
  --paper: #ffffff;

  --coast: #2f78c4;
  --coast2: #7aa7d9;
  --coast3: #1f4f7a;

  /* keep your preferred nav height */
  --nav-h: 160px;
  /* widen global content column on desktop */
  --max: 1800px;

  --gap: 20px;
  --cards-per-view: 3;
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

/* Prevent “rubber band” pulling the fixed nav */
html {
  overscroll-behavior-y: none;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background: var(--paper);
  overscroll-behavior-y: none;
  overflow-x: hidden;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

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

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  overflow: visible;
  color: #fff;
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.05);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 700px at 50% 40%, rgba(31, 79, 122, .10), rgba(0, 0, 0, 0) 60%),
    linear-gradient(to bottom, rgba(0, 0, 0, .45), rgba(0, 0, 0, .22));
  backdrop-filter: blur(2px);
}

.hero__center {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 34px) 0 10vh;
}

/* ================= NAVBAR ================= */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .10);
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
  /* IMPORTANT: no transform here (prevents fixed children being constrained) */
}

/* .topbar.is-scrolled no longer used for color switching; navbar is always white */

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Minimize the side gap for navbar container */
.nav.container{
  /* Make navbar span the full viewport width and hug edges */
  max-width: none;
  width: 100vw;
  margin: 0;
  /* Inset both logos slightly from edges */
  padding-left: 100px;
  padding-right: 100px;
}

/* Brand */
.brand--img {
  display: flex;
  align-items: center;
}

.brand__logo {
  /* Smaller brand logo */
  height: clamp(64px, 6.8vw, 100px);
  width: auto;
  display: block;
}

/* C icon */
.nav__favicon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  width: auto;
  height: auto;
  flex: 0 0 auto;
}

.nav__favicon img {
  /* Smaller C icon */
  width: clamp(50px, 6.2vw, 55px);
  height: auto;
  object-fit: contain;
}

/* Remove circle/background for the nav C icon */

/* Desktop menu */
.nav__menu {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav__menu a {
  opacity: .92;
  color: rgba(0, 0, 0, .70);
}

.nav__menu a:hover {
  opacity: 1;
}

/* Remove dark/light toggle; links are dark on white navbar */

/* Hamburger */
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav__toggleLine {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px 0;
  border-radius: 2px;
  background: rgba(0, 0, 0, .72);
  transition: transform .22s ease, opacity .22s ease;
}

/* Remove dark/light toggle for hamburger lines */

.topbar.is-open .nav__toggleLine:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.topbar.is-open .nav__toggleLine:nth-child(2) {
  opacity: 0;
}

.topbar.is-open .nav__toggleLine:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ================= DROPDOWNS (desktop hover) ================= */
.navdd {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* === Hover bridge to prevent dropdown flicker === */
.navdd::after {
  content: "";
  position: absolute;
  left: -20px;
  right: -20px;
  top: 100%;
  height: 22px;
  pointer-events: auto;
}

.navdd__trigger {
  position: relative;
  padding: 8px 2px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.navdd__chev {
  display: none;
}

/* underline */
.navdd__trigger::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0%;
  height: 1px;
  background: rgba(122, 167, 217, .95);
  transition: width .18s ease;
}

.navdd:hover .navdd__trigger::after,
.navdd:focus-within .navdd__trigger::after {
  width: 100%;
}

.navdd__panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  transform: translateY(8px);
  min-width: 280px;
  padding: 10px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, .10);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .14);
  opacity: 0;
  pointer-events: none;
  transition: opacity .20s ease, transform .20s ease;
  z-index: 1000;
}

/* Dropdown always uses white theme */

.navdd:hover .navdd__panel,
.navdd:focus-within .navdd__panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.navdd__panel a {
  display: block;
  padding: 10px 10px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, .72);
}

.navdd__panel a:hover {
  color: rgba(122, 167, 217, .95);
}

.navdd__panel a:focus,
.navdd__panel a:active,
.navdd__panel a:focus-visible {
  outline: none;
}

/* ================= DRAWER (mobile/tablet) ================= */
.drawer {
  display: none;
}

/* drawer internal pieces (shared) */
.drawer__top {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}

.drawer__close {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .92);
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  position: absolute;
  left: 0;
}

.drawer__brand {
  display: flex;
  justify-content: center;
}

.drawer__brand:active {
  transform: scale(.99);
}

.drawer__brand img {
  height: clamp(70px, 8vw, 110px);
  width: auto;
}

.drawer__favicon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  width: auto;
  height: auto;
  position: absolute;
  right: 0;
}

.drawer__favicon img {
  /* Match nav favicon size */
  width: clamp(50px, 6.2vw, 55px);
  height: auto;
  object-fit: contain;
}

.drawer__body {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Drawer items */
.mitem {
  width: 100%;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .92);
  font-family: var(--serif);
  font-weight: 300;
  font-size: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  cursor: pointer;
}

.mitem__chev {
  width: 14px;
  height: 14px;
  border-right: 2px solid rgba(255, 255, 255, .85);
  border-bottom: 2px solid rgba(255, 255, 255, .85);
  transform: rotate(45deg);
  transition: transform .20s ease;
  margin-right: 6px;
}

.mitem.is-open .mitem__chev {
  transform: rotate(-135deg);
}

.macc {
  display: none;
  padding: 0 0 10px 0;
}

.macc a {
  display: block;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  letter-spacing: .10em;
  text-transform: uppercase;
  padding: 10px 0;
}

.macc a:hover {
  color: rgba(122, 167, 217, .95);
}

.mlink {
  display: block;
  color: rgba(255, 255, 255, .92);
  font-family: var(--serif);
  font-weight: 300;
  font-size: 34px;
  padding: 18px 0;
}

/* ================= HERO MARQUEE ================= */
.marquee {
  width: 100%;
  max-width: min(1200px, 92vw);
  overflow: hidden;
  padding: 8px 0;
}

.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marquee 48s linear infinite;
}

.marquee__track span {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: clamp(30px, 4.2vw, 64px);
  color: rgba(255, 255, 255, .92);
  white-space: nowrap;
  padding-right: 60px;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* CTA */
.hero__cta {
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-family: var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, .28);
}

.btn--primary {
  font-size: clamp(12px, 1.2vw, 14px);
  padding: clamp(18px, 2.2vw, 26px) clamp(26px, 3vw, 44px);
  background: rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .92);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .28);
  backdrop-filter: blur(10px);
}

.btn--primary:hover {
  background: rgba(255, 255, 255, .20);
  border-color: rgba(255, 255, 255, .40);
  transform: translateY(-1px);
}

/* ================= SECTIONS ================= */
.section {
  position: relative;
}

.section--airy {
  padding: 70px 0 80px;
  background: #fff;
}

.section--white {
  padding: 80px 0 90px;
  background: #fff;
}

.center {
  text-align: center;
}

.h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 44px;
  letter-spacing: .16em;
  margin: 0 0 18px;
  color: #3a73bf;
}

.body {
  color: #444;
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: .02em;
}

.body--narrow {
  max-width: 780px;
  margin: 0 auto;
}

.mt-lg {
  margin-top: 70px;
}

/* tiles */
.tiles {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.tile {
  position: relative;
  height: 330px;
  background: linear-gradient(135deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .20)), var(--tile-bg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.tile__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .62), rgba(0, 0, 0, 0) 55%);
}

.tile__label {
  position: relative;
  z-index: 2;
  color: #fff;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 26px;
  padding: 22px;
}

/* ===== Index page (About/Start Your Journey tiles) ===== */
/* Make the four home tiles slightly larger and closer to page edges */
.section#about .container {
  max-width: 1240px;
  padding: 0 18px;
}

.section#about .tiles {
  gap: 26px;
}

.section#about .tile {
  height: 360px;
}

/* ================= TESTIMONIAL SLIDER (JS-LOOP COMPATIBLE) ================= */
.slider {
  margin-top: 26px;
  position: relative;
  /* Extra inner padding so arrows sit away from page edges */
  padding: 0 80px;
}

.slider__viewport {
  overflow: hidden;
}

.slider__track {
  display: flex;
  gap: var(--gap);
  align-items: stretch;
  will-change: transform;
}

.tcard {
  flex: 0 0 calc((100% - (var(--cards-per-view) - 1) * var(--gap)) / var(--cards-per-view));
  padding: 40px 18px 26px;
  text-align: center;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.tcard__quote {
  font-family: var(--serif);
  font-size: 42px;
  color: rgba(47, 120, 196, .25);
  margin-bottom: 16px;
}

.tcard__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 24px;
  margin: 0 0 18px;
  color: #333;
}

.tcard__text {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  max-width: 340px;
  margin: 0 auto 10px;
}

.tcard__more {
  font-size: 14px;
  color: #666;
  text-decoration: underline;
  font-weight: 700;
}

.slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .14);
  background: #fff;
  cursor: pointer;
}

.slider__btn--left {
  left: 32px;
}

.slider__btn--right {
  right: 32px;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.dot {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .18);
  cursor: pointer;
  flex: 0 0 auto;
}

.dot.is-active {
  background: rgba(47, 120, 196, .55);
}

/* ================= SAY HELLO SECTION ================= */
.sayhello {
  padding-bottom: 0;
  /* map goes edge-to-edge */
}

.sayhello__address {
  margin: 10px auto 22px;
  color: #444;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 500;
}

/* full-bleed map on all devices */
.sayhello__mapWrap {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.sayhello__mapWrap iframe {
  width: 100%;
  height: min(70vh, 520px);
  display: block;
  border: 0;
}

/* ================= FOOTER ================= */
.footer {
  background: linear-gradient(180deg, #0b1622 0%, #071018 100%);
  padding: 64px 0 20px;
  color: rgba(255, 255, 255, .86);
}

.footer__col {
  min-width: 0;
}

.footer__col p {
  margin: 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(5, minmax(140px, 1fr));
  gap: 36px;
  align-items: start;
}

.footer__brandLogo {
  width: min(220px, 100%);
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, .22));
}

.footer__badgeRow {
  margin-top: 14px;
}

.footer__reiwa {
  height: 26px;
  width: auto;
  display: block;
  opacity: .92;
  filter: brightness(1.15) contrast(1.05);
}

.footer__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, .90);
}

.footer__col a {
  display: block;
  font-size: 14px;
  padding: 7px 0;
  color: rgba(255, 255, 255, .74);
  transition: color .18s ease, transform .18s ease;
}

.footer__col a:hover {
  color: rgba(122, 167, 217, .95);
  transform: translateX(2px);
}

.footer__bottom {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  padding-top: 14px;
  padding-bottom: 42px;
}

.footer__fine--right {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.footer__fine {
  font-size: 14px;
  color: rgba(255, 255, 255, .62);
}

.footer__fine a {
  color: rgba(255, 255, 255, .70);
}

.footer__fine a:hover {
  color: rgba(122, 167, 217, .95);
}

/* ================= FOOTER – CONTACT & HOURS ================= */

/* More breathing room in Contact + Hours columns */
.footer__col .footer__title {
  margin-bottom: 18px;
}

.footer__contactLabel {
  margin: 10px 0 0;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

/* Extra gap between Contact Us link and CALL label */
.footer__col .footer__title + a + .footer__contactLabel {
  margin-top: 18px;
}

.footer__contactIcon {
  display: block;
  /* Make phone + email art feel like a single type size */
  max-width: 120px;
  width: 100%;
  height: auto;
  margin: 6px 0 18px;
}

/* Add breathing room after each contact label's value (number/email) */
.footer__col .footer__contactLabel + a,
.footer__col .footer__contactLabel + p,
.footer__col .footer__contactLabel + span {
  /* Space between CALL/EMAIL label and its value */
  margin-top: 8px;
  margin-bottom: 0;
}

/* Opening Hours */
.footer__col p.footer__hours {
  /* Keep each day close to its hours, but separate each day group */
  margin: 0 0 30px;
  font-size: 14px;
  color: rgba(255, 255, 255, .78);
  line-height: 1.35;
}

.footer__col p.footer__hours:last-child {
  margin-bottom: 0;
}

.footer__col p.footer__hours span {
  display: block;
  color: rgba(255, 255, 255, .92);
  margin-top: 2px;
  line-height: 1.35;
}

/* Open/Closed badge */
.footer__openStatus {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 18px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .86);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
}

.footer__openStatus::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex: 0 0 10px;
  display: block;
  background: rgba(255, 255, 255, .45);
}

/* Open state (uses your brand light-blue) */
.footer__openStatus.is-open {
  background: rgba(122, 167, 217, .14);
  border-color: rgba(122, 167, 217, .30);
  color: rgba(255, 255, 255, .92);
}

.footer__openStatus.is-open::before {
  /* Use green dot + soft green halo when open */
  background: #30d158;
  box-shadow: 0 0 0 4px rgba(48, 209, 88, .18);
}

/* Closed state */
.footer__openStatus.is-closed {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .78);
}

.footer__openStatus.is-closed::before {
  background: rgba(255, 255, 255, .35);
}

/* ================= RESPONSIVE ================= */

/* TABLET + MOBILE: enable drawer */
@media (max-width: 1180px) {

  .nav.container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .brand__logo {
    height: 80px;
  }

  .drawer__brand img {
    height: 80px;
    width: auto;
  }

  .nav__toggle {
    display: block;
  }

  .nav__menu {
    display: none;
  }

  /* Full screen overlay drawer */
  .drawer {
    display: block;
    position: fixed;
    inset: 0;
    width: 100vw;
    z-index: 4000;
    background: #0b1622;
    transform: translateX(-100%);
    transition:
      transform .85s cubic-bezier(.2, .8, .2, 1),
      opacity .45s ease;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
  }

  .topbar.is-open .drawer {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* Drawer must scroll inside */
  .drawer__body {
    height: calc(100svh - var(--nav-h));
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px 24px 40px;
    background: #0b1622;
  }

  .drawer__top {
    background: #0b1622;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .drawer__close {
    position: static;
    justify-self: start;
  }

  .drawer__brand {
    justify-self: center;
  }

  .drawer__right {
    justify-self: end;
  }

  .drawer__favicon {
    position: static;
  }

  /* Submenus always visible inside drawer */
  .macc {
    display: block;
    max-height: none;
    overflow: visible;
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }

  .macc a {
    display: block;
    font-size: 18px;
    padding: 16px 0;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .82);
  }

  .macc a:hover {
    color: rgba(122, 167, 217, .95);
  }

  .mitem {
    cursor: default;
  }

  .mitem__chev {
    display: none;
  }
}

/* ================= iPad / Tablet Layout ================= */
@media (max-width: 1024px) {

  .nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
  }

  .nav__toggle {
    display: block;
    justify-self: start;
  }

  .brand {
    justify-self: center;
  }

  .nav__favicon {
    justify-self: end;
  }

  /* FOOTER: switch to a clean 3-column grid */
  .footer__grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 36px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__brandLogo {
    width: min(240px, 100%);
  }

  .sayhello__mapWrap iframe {
    height: min(55vh, 520px);
  }

  .footer__bottom {
    padding-top: 22px;
  }

  .footer__openStatus {
    margin: 12px 0 22px;
  }

  .footer__col .footer__title {
    margin-bottom: 20px;
  }

  .footer__col p.footer__hours {
    margin: 0 0 30px;
  }

  .footer__contactIcon {
    max-width: 130px;
  }
}

/* Tablet: 2 testimonial cards */
@media (max-width: 980px) {
  :root {
    --cards-per-view: 2;
    --nav-h: 160px;
  }

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

  .container {
    padding: 0 20px;
  }

  .slider {
    padding: 0 60px;
  }
}

@media (max-width: 860px) {

  /* FOOTER: 2 columns on smaller tablets */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    padding-top: 24px;
  }
}

/* Mobile: 1 testimonial card + nav layout */
@media (max-width: 760px) {
  :root {
    --cards-per-view: 1;
    --nav-h: 160px;
  }

  .container {
    padding: 0 18px;
  }

  .nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
  }

  .nav__toggle {
    display: block;
    justify-self: start;
  }

  .brand {
    justify-self: center;
  }

  .nav__favicon {
    justify-self: end;
  }

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

  .tile {
    height: 280px;
  }

  .slider {
    padding: 0 48px;
  }

  .slider__btn {
    width: 42px;
    height: 42px;
  }

  .slider__btn--left {
    left: 10px;
  }

  .slider__btn--right {
    right: 10px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    padding-top: 26px;
  }

  .footer__fine--right {
    position: static;
    transform: none;
  }

  .footer__openStatus {
    margin: 14px 0 24px;
  }

  .footer__col .footer__title {
    margin-bottom: 22px;
  }

  .footer__col p.footer__hours {
    margin: 0 0 30px;
  }

  .footer__brandLogo {
    width: min(190px, 100%);
  }

  .footer__contactIcon {
    max-width: 110px;
    margin: 8px 0 18px;
  }

  .footer__col .footer__contactLabel + a,
  .footer__col .footer__contactLabel + p,
  .footer__col .footer__contactLabel + span {
    margin-bottom: 28px;
  }

  .footer__col .footer__contactLabel + a:last-child,
  .footer__col .footer__contactLabel + p:last-child,
  .footer__col .footer__contactLabel + span:last-child {
    margin-bottom: 12px;
  }
}

/* ================= AGENT CARD ICONS (PROPERTY PAGES) ================= */

.agentCard__phone img {
  width: 120px;
  height: auto;
  display: block;
  margin: 8px auto 0;
}

/* appraisal form */
.appraisal__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5vw, 70px);
  margin: 0 0 16px;
}

.appraisal__form {
  width: min(560px, 92vw);
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.appraisal__form input,
.appraisal__form textarea {
  border: 0;
  border-radius: 12px;
  padding: 12px 12px;
  font-family: var(--sans);
  font-size: 13px;
  outline: none;
}

.appraisal__hint {
  margin: 6px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, .80);
}

/* Appraisal hero readability */
.appraisal__panel {
  width: min(720px, 92vw);
  padding: 22px;
  border-radius: 22px;
  background: rgba(0, 0, 0, .28);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
}

/* ================= LOGO CIRCLE SYSTEM ================= */
.logoRing {
  width: var(--ring-size);
  height: var(--ring-size);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.92);
  border: 2px solid rgba(255, 255, 255, 0.65);

  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  line-height: 0;
}

/* Dark-on-scroll version neutralized for navbar rings */
.topbar.is-scrolled .logoRing {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

/* NAV ring sizing */
.logoRing--nav {
  --ring-size: auto;
  width: auto;
  height: auto;
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* Ensure navbar logo ring stays transparent even when scrolled */
.topbar .logoRing--nav {
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* Apply ring removal to any logoRing inside the navbar */
.topbar .logoRing {
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* DRAWER ring sizing */
.logoRing--drawer {
  --ring-size: 140px;
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.65);
}

/* FOOTER ring sizing */
.logoRing--footer {
  --ring-size: 140px;
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.65);
}

/* Make sure images fit nicely inside the ring */
.logoRing img {
  max-width: 82%;
  max-height: 82%;
  object-fit: contain;
  display: block;
}

/* Allow larger image inside nav brand ring */
.logoRing--nav img {
  max-width: 100%;
  max-height: none;
}

/* ================= LIGHTBOX (Gallery) ================= */
.glightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  background: rgba(11, 22, 34, 0.92);
  backdrop-filter: blur(6px);
}

.glightbox.is-open {
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
}

.glightbox__stage {
  width: min(96vw, 1200px);
  max-height: min(86vh, 820px);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glightbox__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.glightbox__controls {
  width: min(1200px, 96vw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0 18px;
  color: rgba(255, 255, 255, 0.86);
}

.glightbox__btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #ffffff;
  color: #1a1a1a;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.glightbox__btn:hover {
  border-color: rgba(122, 167, 217, 0.95);
}

.glightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #ffffff;
  cursor: pointer;
}

.glightbox__count {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}