/* ========================================
   Chayada Biz Place — Design Refresh
   Palette: ivory #f7f3ec · espresso #2c2620 · gold #a8895c
   Fonts: Cormorant Garamond · IBM Plex Sans Thai · IBM Plex Mono
   ======================================== */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:root {
  --ivory:       #f7f3ec;
  --sand:        #efe8db;
  --tan:         #e2d9c8;
  --espresso:    #2c2620;
  --esp-mid:     #403930;
  --esp-muted:   #4a4338;
  --gold:        #a8895c;
  --gold-lt:     #cbb389;
  --gold-pale:   #e8dcc6;
  --text-warm:   #5a5145;
  --text-muted:  #9a8c72;
  --text-light:  #a99c86;
  --hdr-h:       72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--hdr-h);
}

body {
  font-family: 'IBM Plex Sans Thai', sans-serif;
  color: var(--espresso);
  background: var(--ivory);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: #fff }

a { text-decoration: none; color: inherit; transition: color .2s }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px }

/* ---- Shared typographic atoms ---- */
.mono-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.mono-label.gold  { color: var(--gold) }
.mono-label.light { color: var(--gold-lt) }

.section-header { text-align: center; margin-bottom: 56px }

.section-display {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 500;
  color: var(--espresso);
  line-height: 1.1;
}

.gold-star { color: var(--gold) }

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 2px;
  font-family: 'IBM Plex Sans Thai', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: .02em;
  cursor: pointer;
  transition: all .25s;
  border: none;
}

.btn-gold              { background: var(--gold); color: #fff }
.btn-gold:hover        { background: #8a6e44; color: #fff }

.btn-ghost             { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55) }
.btn-ghost:hover       { background: rgba(255,255,255,.12) }

.btn-dark              { background: var(--espresso); color: var(--ivory) }
.btn-dark:hover        { background: var(--esp-mid); color: var(--ivory) }

.btn-outline-dark      { background: transparent; color: var(--text-warm); border: 1px solid var(--tan) }
.btn-outline-dark:hover{ border-color: var(--gold); color: var(--gold) }

.btn-outline-gold      { background: transparent; color: #8a6e44; border: 1px solid var(--gold-lt) }
.btn-outline-gold:hover{ background: var(--gold-lt); color: #fff }

.btn-block             { display: block; width: 100%; text-align: center }

/* ========================================
   HEADER
   ======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,243,236,.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--tan);
  height: var(--hdr-h);
}

.hdr-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.logo { display: flex; flex-direction: column; line-height: 1 }

.logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--espresso);
}
.logo-name span { color: var(--gold) }

.logo-sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: .32em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 3px;
}

.main-nav { display: flex; align-items: center; gap: 22px }

.main-nav a { font-size: 13.5px; font-weight: 500; color: var(--text-warm) }
.main-nav a:hover { color: var(--gold) }

.main-nav .nav-cta {
  background: var(--gold);
  color: #fff;
  padding: 9px 20px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: .02em;
}
.main-nav .nav-cta:hover { background: #8a6e44; color: #fff }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 101;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--espresso);
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px) }
.hamburger.open span:nth-child(2) { opacity: 0 }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px) }

/* ========================================
   HERO
   ======================================== */
@keyframes bob {
  0%,100% { transform: translateX(-50%) translateY(0) }
  50%      { transform: translateX(-50%) translateY(9px) }
}

.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 24px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0 }
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-img.active { opacity: 1 }

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg,
    rgba(28,24,19,.58) 0%,
    rgba(28,24,19,.25) 40%,
    rgba(28,24,19,.78) 100%);
}

.hero-content { position: relative; z-index: 2 }

.hero-badge {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: .42em;
  color: var(--gold-pale);
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(52px, 9vw, 108px);
  line-height: .95;
  color: #fff;
  letter-spacing: .01em;
}
.hero-title .dot { color: var(--gold-lt) }

.hero-sub {
  color: rgba(239,231,216,.95);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 300;
  margin-top: 22px;
  letter-spacing: .03em;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  color: var(--gold-pale);
  font-size: 22px;
  z-index: 2;
  animation: bob 2s ease-in-out infinite;
}

/* ========================================
   REGISTER + PREMIUM TOWNHOME
   ======================================== */
.register-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #2a1411 0%, #451915 45%, #6b1f1c 100%);
  padding: 100px 0;
}
/* festive gold glow over the deep-red field */
.festive-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(55% 45% at 82% 4%, rgba(232,220,198,.20), transparent 70%),
    radial-gradient(50% 45% at 2% 98%, rgba(168,137,92,.16), transparent 72%);
}

.register-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* ---- Left: campaign poster ---- */
.register-visual { display: flex; flex-direction: column; gap: 20px }
.visual-frame {
  position: relative;
  padding: 7px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-lt), #7a5e34 55%, var(--gold));
  box-shadow: 0 45px 90px -35px rgba(0,0,0,.85);
}
.campaign-img {
  width: 100%;
  border-radius: 7px;
  display: block;
}
.visual-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
}
.visual-price-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-lt);
}
.visual-price-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--gold-pale);
}

.display-heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(42px, 5.5vw, 74px);
  line-height: 1;
  color: var(--ivory);
}

.gold-rule {
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 30px 0;
}

/* Form card */
.form-card {
  position: relative;
  background: linear-gradient(180deg, #fbf8f1, #f2ebdd);
  border: 1px solid var(--gold-lt);
  border-radius: 10px;
  padding: 40px 36px 34px;
  box-shadow: 0 45px 90px -32px rgba(0,0,0,.78);
}

/* ---- Festive campaign copy ---- */
.festive-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: #a31f1f;
}
.festive-heading {
  font-family: 'IBM Plex Sans Thai', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.08;
  margin-top: 6px;
  background: linear-gradient(115deg, #9a7836, #e6c878 48%, #a8895c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.festive-sub {
  color: var(--text-warm);
  font-size: 14px;
  margin-top: 6px;
}
.festive-accent { color: #a31f1f; font-weight: 700 }
.festive-rule {
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 20px 0 22px;
}

.form-heading {
  font-family: 'IBM Plex Sans Thai', sans-serif;
  font-size: 21px;
  font-weight: 600;
  color: var(--espresso);
}
.form-desc { color: var(--text-warm); font-size: 13.5px; margin-top: 8px; line-height: 1.6 }
.gold-text { color: #8a6e44; font-weight: 600 }

.register-form { display: grid; gap: 12px; margin-top: 22px }

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.register-form input,
.register-form textarea {
  font-family: inherit;
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--tan);
  background: none;
  padding: 9px 2px;
  font-size: 15px;
  color: var(--espresso);
  outline: none;
  transition: border-color .2s;
}
.register-form input:focus,
.register-form textarea:focus { border-bottom-color: var(--gold) }
.register-form textarea { resize: none }
.register-form button:disabled {
  cursor: wait;
  opacity: .68;
}
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.form-status {
  min-height: 18px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}
.form-status-error { color: #9c2f2f }

.field-wrap { display: flex; flex-direction: column; }
.field-err { color: #9c2f2f; font-size: 11px; min-height: 15px; padding-top: 3px; }
.register-form input.input-invalid { border-bottom-color: #9c2f2f; }

.form-note { color: var(--text-muted); font-size: 11px; margin-top: 16px; line-height: 1.65 }

/* Success state */
.form-success { text-align: center; padding: 30px 8px }
.success-icon {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}
.success-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  color: var(--espresso);
  font-weight: 600;
}
.success-desc { color: var(--text-warm); font-size: 15px; margin-top: 10px; line-height: 1.7 }
.form-success .btn { margin-top: 24px }

/* ========================================
   PROJECT INTRO
   ======================================== */
.project-section {
  padding: 100px 0;
  position: relative;
  background:
    linear-gradient(rgba(247,243,236,.94), rgba(247,243,236,.94)),
    url('../assets/images/hero1.jpg') center/cover no-repeat;
  overflow: hidden;
}
.project-section::before,
.project-section::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  pointer-events: none;
}
.project-section::before {
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}
.project-section::after {
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg,
    transparent 0%,
    #9a7a38 8%,
    #c9a652 22%,
    #e8d090 40%,
    #f5e8b8 50%,
    #e8d090 60%,
    #c9a652 78%,
    #9a7a38 92%,
    transparent 100%
  );
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.project-heading {
  font-family: 'IBM Plex Sans Thai', sans-serif;
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 600;
  line-height: 1.22;
  color: var(--espresso);
  margin-top: 4px;
}
.project-type  { color: var(--gold); font-size: 17px; font-weight: 500; margin-top: 14px }
.project-addr  { color: var(--text-muted); font-size: 14px; margin-top: 4px }
.project-desc  { color: var(--text-warm); font-size: 16px; line-height: 1.9; margin-top: 24px }
.project-price { font-size: 22px; color: var(--espresso); font-weight: 600; margin-top: 24px }
.price-highlight { color: #8a6e44 }

.project-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px }

.project-images {
  position: relative;
  padding: 0 0 18px 0;
}
.project-images::after {
  content: '';
  position: absolute;
  top: 22px;
  right: -22px;
  bottom: -22px;
  left: 22px;
  background: var(--tan);
  border-radius: 5px;
  z-index: 0;
  pointer-events: none;
}
.project-img-main {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  position: relative;
  z-index: 1;
  box-shadow: 0 24px 50px -28px rgba(44,38,32,.5);
}


/* ========================================
   WORK · LIFE · BALANCE TABS
   ======================================== */
.wlb-section { padding: 100px 0; background: var(--sand) }

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 54px;
  flex-wrap: wrap;
}
.tab-btn {
  background: var(--ivory);
  color: var(--text-warm);
  border: 1px solid var(--tan);
  padding: 12px 42px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 2px;
  transition: all .25s;
}
.tab-btn.active           { background: var(--espresso); color: var(--ivory); border-color: var(--espresso) }
.tab-btn:hover:not(.active){ border-color: var(--gold); color: var(--gold) }

.tab-panel { display: none }
.tab-panel.active { display: block }

.tab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.tab-img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
  border-radius: 4px;
}
.tab-heading {
  font-family: 'IBM Plex Sans Thai', sans-serif;
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--espresso);
  margin-top: 14px;
}
.tab-subtitle { color: var(--gold); font-size: 16px; font-weight: 500; margin-top: 18px }
.tab-desc     { color: var(--text-warm); font-size: 16px; line-height: 1.9; margin-top: 10px }

/* ========================================
   WE ARE
   ======================================== */
.about-section { padding: 100px 0; background: var(--espresso) }

.about-header { max-width: 880px; margin: 0 auto; text-align: center }

.about-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 500;
  color: var(--ivory);
  line-height: 1.1;
  margin-top: 4px;
}
.about-sub    { font-size: .72em; color: var(--gold-lt); display: block }
.about-tagline{ color: var(--gold-lt); font-size: 18px; margin-top: 20px; font-weight: 500 }

.about-body {
  max-width: 820px;
  margin: 50px auto 0;
  display: grid;
  gap: 20px;
}
.about-body p { color: rgba(205,195,178,.95); font-size: 16px; line-height: 2 }

.about-quote {
  max-width: 760px;
  margin: 64px auto 0;
  text-align: center;
  border-top: 1px solid var(--esp-muted);
  padding-top: 50px;
}
.quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 72px;
  color: var(--gold);
  line-height: .35;
  margin-bottom: 28px;
}
.quote-text {
  color: var(--ivory);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 300;
  line-height: 1.5;
}
.quote-en {
  color: var(--gold-lt);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  letter-spacing: .28em;
  margin-top: 22px;
  text-transform: uppercase;
}
.quote-sub { color: var(--text-light); font-size: 15px; margin-top: 14px; font-style: italic }

/* ========================================
   FLOOR PLANS
   ======================================== */
.plans-section { padding: 100px 0; background: var(--ivory); position: relative }
.plans-section .section-display,
.gallery-section .section-display,
.map-section .section-display,
.location-section .section-display { font-family: 'IBM Plex Sans Thai', sans-serif; font-weight: 600 }
.plans-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  pointer-events: none;
  background: linear-gradient(90deg,
    transparent 0%,
    #9a7a38 8%,
    #c9a652 22%,
    #e8d090 40%,
    #f5e8b8 50%,
    #e8d090 60%,
    #c9a652 78%,
    #9a7a38 92%,
    transparent 100%
  );
}

.floor-list { border-top: 1px solid var(--tan) }

.floor-row {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 36px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--tan);
}

.floor-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  color: var(--espresso);
  font-weight: 600;
}
.floor-sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  color: var(--gold);
  letter-spacing: .2em;
  margin: 4px 0 16px;
}

.floor-plan-frame {
  aspect-ratio: 3/4;
  border-radius: 3px;
  overflow: hidden;
}
.floor-plan-frame img { width: 100%; height: 100%; object-fit: contain }

.floor-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px }
.floor-tags span {
  font-size: 12px;
  color: var(--text-warm);
  background: var(--sand);
  border: 1px solid var(--tan);
  padding: 5px 11px;
  border-radius: 100px;
}

.floor-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.floor-shots img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 3px;
}

/* ========================================
   GALLERY
   ======================================== */
.gallery-section { padding: 100px 0; background: var(--sand) }

.gallery-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 60px -34px rgba(44,38,32,.6);
  aspect-ratio: 16/9;
}

.gallery-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .55s ease;
  z-index: 0;
}
.gallery-slide.active {
  opacity: 1;
  z-index: 1;
}
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(247,243,236,.85);
  color: var(--espresso);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 3;
}
.gallery-btn:hover { background: #fff }
.gallery-prev { left: 18px }
.gallery-next { right: 18px }

.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin: 16px auto 0;
  max-width: 900px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery-thumbs::-webkit-scrollbar { display: none }

.gallery-thumb {
  flex: 0 0 auto;
  width: 84px;
  height: 56px;
  border-radius: 4px;
  object-fit: cover;
  cursor: pointer;
  opacity: .45;
  border: 2px solid transparent;
  transition: opacity .25s, border-color .25s, transform .25s;
}
.gallery-thumb:hover { opacity: .75 }
.gallery-thumb.active {
  opacity: 1;
  border-color: var(--gold);
  transform: scale(1.05);
}

@media (max-width: 600px) {
  .gallery-thumb { width: 64px; height: 43px; }
}

/* ========================================
   MAP
   ======================================== */
.map-section { padding: 100px 0; background: var(--ivory); position: relative }
.map-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  pointer-events: none;
  background: linear-gradient(90deg,
    transparent 0%,
    #9a7a38 8%,
    #c9a652 22%,
    #e8d090 40%,
    #f5e8b8 50%,
    #e8d090 60%,
    #c9a652 78%,
    #9a7a38 92%,
    transparent 100%
  );
}

.map-desc {
  color: var(--text-warm);
  font-size: 15px;
  line-height: 1.8;
  max-width: 680px;
  margin: 14px auto 0;
}

.map-toggle {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 26px 0;
}
.map-btn {
  background: var(--ivory);
  color: var(--text-warm);
  border: 1px solid var(--tan);
  padding: 9px 26px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.map-btn.active { background: var(--espresso); color: var(--ivory); border-color: var(--espresso) }

.map-display { border-radius: 5px; overflow: hidden }
.map-display iframe { width: 70%; max-width: 860px; height: 440px; display: block; border: none; margin: 0 auto }

.map-graphic {
  background: none;
  text-align: center;
}
.map-graphic img {
  width: 70%;
  max-width: 860px;
  display: block;
  margin: 0 auto;
}
.map-graphic-body { text-align: center; padding: 32px 24px }
.map-graphic-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--espresso);
  margin-bottom: 10px;
}
.map-graphic-addr { color: var(--text-warm); font-size: 15px; line-height: 1.8; margin-bottom: 26px }
.map-graphic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.map-graphic-tags span {
  font-size: 13.5px;
  color: var(--text-warm);
  background: rgba(255,255,255,.65);
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--tan);
}

/* ========================================
   LOCATION
   ======================================== */
.location-section { padding: 100px 0; background: var(--sand) }

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.location-card {
  background: var(--ivory);
  border: 1px solid var(--tan);
  border-radius: 5px;
  padding: 28px 30px;
}
.loc-header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px }
.loc-icon   { font-size: 22px }
.loc-header h3 { font-size: 18px; font-weight: 600; color: var(--espresso) }

.location-card ul { list-style: none; display: grid; gap: 10px }
.location-card li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px dashed var(--tan);
  padding-bottom: 9px;
  font-size: 14px;
  color: var(--text-warm);
}
.location-card li:last-child { border-bottom: none; padding-bottom: 0 }
.loc-time {
  color: #8a6e44;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  font-family: 'IBM Plex Mono', monospace;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer { background: var(--espresso); padding: 80px 0 40px }

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer-logo-img {
  height: 80px;
  width: auto;
  display: block;
}

.footer-logo-sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  letter-spacing: .3em;
  color: var(--text-light);
  text-transform: uppercase;
  margin-top: 4px;
}
.footer-addr { color: var(--text-light); font-size: 14px; line-height: 1.9; margin-top: 22px }

.footer-col-label {
  color: var(--gold-lt);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: .28em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-links { display: grid; gap: 14px }
.footer-links a {
  color: var(--gold-pale);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-links a:hover { color: var(--gold-lt) }

.footer-socials { display: flex; gap: 10px; margin-top: 22px }
.footer-socials a {
  width: 38px; height: 38px;
  border: 1px solid var(--esp-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 12px;
  font-weight: 600;
}
.footer-socials a:hover { border-color: var(--gold-lt); color: var(--gold-lt) }

.footer-qr { text-align: center }
.qr-img {
  width: 128px;
  height: 128px;
  border-radius: 6px;
  margin: 0 auto;
  display: block;
  object-fit: cover;
}
.footer-qr p { color: var(--text-light); font-size: 12px; margin-top: 12px }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--esp-muted);
  padding-top: 24px;
  margin-top: 48px;
}
.footer-bottom p { color: #7a6f5d; font-size: 12.5px }
.footer-tagline {
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: .1em;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .register-grid { gap: 44px }
  .project-grid  { gap: 44px }
}

/* ============ VIDEO LIGHTBOX ============ */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-lightbox[hidden] { display: none; }

.video-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}
.video-lightbox-inner {
  position: relative;
  z-index: 1;
  width: min(90vw, 960px);
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
}
.lightbox-video {
  display: block;
  width: 100%;
  max-height: 80vh;
  background: #000;
}
.video-lightbox-close {
  position: absolute;
  top: 10px;
  right: 14px;
  z-index: 2;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}
.video-lightbox-close:hover { background: var(--gold); }

@media (max-width: 768px) {
  :root { --hdr-h: 64px }

  /* Mobile nav */
  .hamburger { display: flex }

  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--ivory);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px;
    gap: 0;
    box-shadow: -5px 0 20px rgba(0,0,0,.1);
    transition: right .35s ease;
    z-index: 99;
  }
  .main-nav.open { right: 0 }
  .main-nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--tan);
    width: 100%;
    font-size: 16px;
  }
  .main-nav .nav-cta { margin-top: 16px; text-align: center; border-bottom: none }

  /* Sections */
  .register-section  { padding: 64px 0 }
  .register-grid     { grid-template-columns: 1fr; gap: 36px }
  .project-grid      { grid-template-columns: 1fr }


  .tab-grid          { grid-template-columns: 1fr }
  .tab-grid .tab-img { order: -1 }
  .tab-grid-rev .tab-img { order: -1 }

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

  .location-grid { grid-template-columns: 1fr }

  .footer-grid    { grid-template-columns: 1fr; gap: 36px; text-align: center }
  .footer-logo-img { margin: 0 auto }
  .footer-addr    { text-align: center }
  .footer-links   { justify-items: center }
  .footer-socials { justify-content: center }
  .footer-qr      { text-align: center }
  .footer-qr .qr-img { margin: 0 auto }

  .map-graphic { min-height: unset }
}

@media (max-width: 480px) {
  .hero-title  { font-size: clamp(42px, 13vw, 64px) }
  .tab-btn     { padding: 10px 28px; font-size: 20px }
  .floor-shots { grid-template-columns: 1fr }
  .footer-bottom { flex-direction: column }
  .map-graphic-tags { flex-direction: column; align-items: center }
}
