:root{
  --bg:#0b0b0c;
  --panel:#111114;
  --text:#f2f2f3;
  --muted:#b7b7bb;
  --gold:#C9A24D;
  --border:rgba(255,255,255,.10);
  --shadow:0 18px 55px rgba(0,0,0,.45);
  --radius:18px;
  --max:1100px;
}

*{box-sizing:border-box}

html,body{margin:0;padding:0}

body{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  background:
    radial-gradient(1200px 800px at 20% -10%, rgba(201,162,77,.14), transparent 55%),
    radial-gradient(1200px 800px at 100% 0%, rgba(201,162,77,.08), transparent 60%),
    var(--bg);
  color:var(--text);
  line-height:1.55;
}

a{color:inherit}

.wrap{max-width:var(--max); margin:0 auto; padding:26px 18px 70px}

/* ✅ Sticky header on all pages */
header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;

  padding:12px 0;

  position:sticky;
  top:0;
  z-index:2000;

  background:rgba(11,11,12,.78);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}

/* Brand */
.brand{
  text-decoration:none;
  display:flex;
  flex-direction:column;
  gap:2px;
}

.brand strong{
  letter-spacing:.22em;
  font-size:12px;
  color:var(--gold);
}

/* ✅ Fix visited purple subtitle */
.brand span,
.brand:visited span,
.brand span:visited{
  font-size:16px;
  color:var(--text);
  opacity:.95;
  text-decoration:none;
}

/* Nav */
nav{display:flex; gap:12px; flex-wrap:wrap; justify-content:flex-end}

nav a{
  text-decoration:none;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:999px;
  color:var(--text);
  opacity:.92;
  transition:.15s ease;
  font-size:14px;
}

nav a:hover{
  border-color:rgba(201,162,77,.55);
  transform:translateY(-1px);
}

/* Hero + cards */
.hero{
  margin-top:12px;
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.02));
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:26px 20px;
}

h1{margin:0; font-size:clamp(26px,3.2vw,38px); letter-spacing:.02em}

.sub{
  margin:10px 0 0;
  color:var(--muted);
  max-width:75ch;
  font-size:16px;
}

.grid{
  margin-top:18px;
  display:grid;
  gap:14px;
  grid-template-columns:1.1fr .9fr;
}

@media(max-width:900px){
  .grid{grid-template-columns:1fr}
  nav{justify-content:flex-start}
}

.card{
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02));
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}

.card h2{
  margin:0;
  padding:18px 18px 0;
  font-size:18px;
  letter-spacing:.02em;
}

.card p{
  margin:8px 0 0;
  padding:0 18px 14px;
  color:var(--muted);
  font-size:14px;
}

.tour-tag{
  display:block;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--gold);
  opacity:.85;
  margin-top:6px;
  padding:0 18px 8px;
}

.footer{
  margin-top:26px;
  border-top:1px solid var(--border);
  padding-top:14px;
  color:var(--muted);
  font-size:13px;
  opacity:.95;
}


@media (max-width:520px){
  .wrap{ padding:18px 14px 54px; }
  .hero{ padding:20px 16px; }

  .card h2{ padding:16px 16px 0; }
  .card p{ padding:0 16px 14px; }
}
/* =========================
   Ricoh360 Virtual Tour (Suite47)
   ========================= */

.tour-wrapper{
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
  border-top: 1px solid rgba(255,255,255,.10);
  /* Keeps the same rounded “card” look */
  border-radius: 0 0 var(--radius) var(--radius);
}

/* Responsive aspect ratio (16:9) */
.tour-wrapper::before{
  content:"";
  display:block;
  padding-top:56.25%;
}

.tour-wrapper iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  display:block;
}
/* ===============================
   MOBILE NAV IMPROVEMENT
   =============================== */

@media (max-width: 640px){

  header{
    flex-direction:column;
    align-items:center;
    gap:10px;
    padding:14px 0 10px;
  }

  .brand{
    align-items:center;
    text-align:center;
  }

  nav{
    justify-content:center;
    width:100%;
    gap:8px;
  }

  nav a{
    padding:8px 12px;
    font-size:13px;
    border-radius:999px;
    background:rgba(255,255,255,0.03);
  }
}

/* ===============================
   BRAND BADGE
   =============================== */

.brand-row{
  display:flex;
  align-items:center;
  gap:10px;
}

.brand-badge{
  width:46px;
  height:46px;
  object-fit:contain;
  opacity:.95;
  filter:drop-shadow(0 6px 14px rgba(0,0,0,.45));
  transition:transform .15s ease;
}

/* subtle polish */
.brand-badge:hover{
  transform:scale(1.04);
}

/* Mobile sizing */
@media (max-width:640px){
  .brand-badge{
    width:34px;
    height:34px;
  }
}
/* =========================
   Buttons + Forms (Suite47)
   ========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 14px;
  border:1px solid rgba(201,162,77,.55);
  border-radius:999px;
  background: rgba(201,162,77,.10);
  text-decoration:none;
  font-size:14px;
  color:var(--text);
}

.msform-fallback{ display:none; }

/* Mobile: hide embed, show fallback */
@media (max-width: 820px){
  .msform-embed{ display:none; }
  .msform-fallback{ display:block; }
}

/* iOS safety net (helps iPads too) */
@supports (-webkit-touch-callout: none){
  .msform-embed{ display:none; }
  .msform-fallback{ display:block; }
}
/* ===============================
   ACTIVE NAV LINK
   =============================== */

nav a[aria-current="page"]{
  border-color: var(--gold);
  background: rgba(201,162,77,.12);
  color: var(--text);
  box-shadow: 0 0 0 1px rgba(201,162,77,.25) inset;
}

/* subtle hover refinement */
nav a[aria-current="page"]:hover{
  transform:none;
  border-color: var(--gold);
}

/* =========================
   Google Calendar (Suite47)
   ========================= */

.calendar-wrapper{
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bg);
  border-top: 1px solid rgba(255,255,255,.10);
}

/* Make iframe taller, then crop the Google footer bar */
.calendar-wrapper iframe{
  width: 100%;
  height: 740px;        /* taller than visible area */
  border: 0;
  display: block;
  margin-bottom: -85px; /* crops "Suite47 Availability" footer + "+" */
}

/* Extra protection: mask bottom-right corner */
.calendar-wrapper::after{
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 78px;
  height: 78px;
  background: var(--bg);
  pointer-events: none;
}

/* Mobile tuning */
@media (max-width:520px){
  .calendar-wrapper iframe{
    height: 700px;
    margin-bottom: -78px;
  }
  .calendar-wrapper::after{
    width: 86px;
    height: 86px;
  }
}

/* =========================
   Availability Legend
   ========================= */

.availability-legend{
  display:flex;
  gap:18px;
  align-items:center;
  padding:10px 18px 14px;
  font-size:13px;
  color:var(--muted);
}

.legend-item{
  display:flex;
  align-items:center;
  gap:8px;
}

.legend-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  display:inline-block;
}

/* Google purple approximation */
.legend-dot.reserved{
  background:#8e24aa;
}

/* empty date indicator */
.legend-dot.available{
  border:1px solid rgba(255,255,255,.45);
  background:transparent;
}

/* =========================
   Microsoft Forms (Suite47)
   ========================= */

.form-wrapper{
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bg);
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 0;
}

/* Full-width, comfortable height */
.form-wrapper iframe{
  width: 100%;
  height: 78vh;       /* responsive to screen */
  min-height: 720px;  /* keeps it usable */
  max-height: 980px;  /* prevents “too tall” */
  border: 0;
  display: block;
}

/* Mobile often needs more height */
@media (max-width:520px){
  .form-wrapper iframe{
    height: 1180px;
  }
}
/* Crop the Microsoft footer area inside the embed */
.form-wrapper{
  position: relative;
  overflow: hidden;  /* required for cropping */
}

.form-wrapper iframe{
  margin-bottom: -140px; /* hides Microsoft footer area */
}