/* ============================================================
   Starshot Workspaces — Static Site Styles
   Mobile-first responsive design
   ============================================================ */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: 'Archivo', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #2d2b28;
  background: #faf7f2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: normal; }
button { border: none; background: none; font: inherit; cursor: pointer; }

/* ===== TYPOGRAPHY ===== */
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3d7c3a;
}
.heading-lg {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.75rem;
  line-height: 1.2;
  color: #3a3832;
  font-weight: 400;
}
.heading-xl {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.2rem;
  line-height: 1.08;
  color: #2d2b28;
  font-weight: 400;
}
.italic { font-style: italic; color: #3d7c3a; }

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section { padding: 3.5rem 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary {
  background: #2d2b28;
  color: #fff;
}
.btn-primary:hover, .btn-primary:active { background: #3d7c3a; }
.btn-outline {
  border: 1.5px solid #2d2b28;
  color: #2d2b28;
  background: transparent;
}
.btn-outline:hover, .btn-outline:active {
  background: #2d2b28;
  color: #fff;
}

/* ===== HEADER / NAV ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #faf7f2;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 101;
}
.nav-logo img { width: 28px; height: 28px; }
.nav-logo span {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.15;
}
.nav-links {
  display: none;
  gap: 1.5rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2d2b28;
  transition: color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.nav-links a:hover { color: #3d7c3a; }
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #faf7f2;
  padding: 1.5rem 1.25rem;
  gap: 1.25rem;
  border-bottom: 1px solid #e8e4de;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-phone {
  font-size: 0.8rem;
  font-weight: 500;
  display: none;
}
.nav-mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  -webkit-tap-highlight-color: transparent;
}

/* ===== HERO ===== */
.hero { padding: 2rem 0 0; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.hero-location {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a7770;
  margin-bottom: 1rem;
}
.hero-text {
  margin-top: 1.25rem;
  color: #5a5850;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 420px;
}
.hero-ctas {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.hero-image {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  order: -1;
}
.hero-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.hero-image-caption {
  display: none;
  position: absolute;
  right: -2.5rem;
  top: 50%;
  transform: rotate(-90deg) translateX(50%);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a7770;
  white-space: nowrap;
}

/* ===== MARQUEE ===== */
.marquee {
  background: #3a3832;
  padding: 1.25rem 0;
  overflow: hidden;
  margin-top: 2rem;
}
.marquee-track {
  display: flex;
  animation: marquee-scroll 20s linear infinite;
  width: max-content;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1rem;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.8rem;
  color: #6a665e;
  white-space: nowrap;
}
.marquee-item img { width: 16px; height: 16px; opacity: 0.5; }
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== THE SPACE ===== */
.space-divider {
  width: 4px;
  height: 50px;
  background: #c8c4bc;
  border-radius: 2px;
  margin-bottom: 1rem;
}
.space-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 2.5rem;
}
.space-header p { color: #7a7770; line-height: 1.7; max-width: 400px; }
.space-photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.space-photo { position: relative; border-radius: 4px; overflow: hidden; }
.space-photo img { width: 100%; height: 220px; object-fit: cover; }
.space-photo-caption {
  margin-top: 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a7770;
}

/* Always On card */
.always-on {
  background: #4a4840;
  border-radius: 6px;
  padding: 2rem;
  margin-top: 2rem;
}
.always-on .section-label { color: #9a9690; margin-bottom: 0.75rem; }
.always-on h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  color: #e8e4de;
  line-height: 1.3;
}
.always-on h3 .italic { color: #7cb87a; }
.always-on-divider { width: 40px; height: 2px; background: #6a665e; margin: 1.25rem 0; }
.always-on p {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.2rem;
  color: #e8e4de;
  line-height: 1.3;
}
.always-on p .italic { color: #7cb87a; }
.always-on-caption {
  margin-top: 1.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a9690;
}

/* ===== TOUR ===== */
.tour {
  background: #3a3832;
  padding: 3.5rem 0;
}
.tour-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.tour-text .section-label { color: #9a9690; margin-bottom: 0.75rem; }
.tour-text .heading-lg { color: #e8e4de; margin-bottom: 0.75rem; }
.tour-text p { color: #9a9690; line-height: 1.7; }
.tour-video {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #2d2b28;
}
.tour-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tour-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  transition: opacity 0.3s;
  cursor: pointer;
}
.tour-video-overlay.hidden { opacity: 0; pointer-events: none; }
.play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.play-btn:hover { transform: scale(1.1); }
.play-btn svg { width: 18px; height: 18px; margin-left: 2px; }
.tour-video-brand {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.12);
  writing-mode: vertical-rl;
  white-space: nowrap;
}

/* ===== WORKSPACES ===== */
.workspaces-intro { margin-bottom: 2rem; }
.workspaces-intro .heading-lg { margin-top: 0.25rem; }
.workspaces-intro p { color: #7a7770; margin-top: 0.75rem; max-width: 500px; }
.workspace-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.workspace-card {
  background: #fff;
  border: 1px solid #e8e4de;
  border-radius: 6px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}
.workspace-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}
.workspace-card .subtitle {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a7770;
  margin-bottom: 0.75rem;
}
.workspace-card p {
  color: #5a5850;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.workspace-card ul { margin-bottom: 1.5rem; }
.workspace-card li {
  padding: 0.35rem 0;
  font-size: 0.85rem;
  color: #5a5850;
  padding-left: 1.1rem;
  position: relative;
}
.workspace-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 5px;
  height: 5px;
  background: #3d7c3a;
  border-radius: 50%;
}
.workspace-card .btn { margin-top: auto; text-align: center; }
.coming-soon {
  margin-top: auto;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a9690;
  text-align: center;
  padding: 0.7rem;
}

/* ===== AMENITIES ===== */
.amenities-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
.amenities-image { border-radius: 4px; overflow: hidden; }
.amenities-image img { width: 100%; height: 250px; object-fit: cover; }
.amenities-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.amenity-item h4 {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.amenity-item p {
  font-size: 0.78rem;
  color: #7a7770;
  line-height: 1.4;
}

/* ===== FIND US ===== */
.findus-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.findus-text .heading-lg { margin-top: 0.25rem; margin-bottom: 0.75rem; }
.findus-text > p { color: #7a7770; line-height: 1.7; }
.findus-contacts { margin-top: 1rem; }
.findus-contacts li {
  padding: 0.45rem 0;
  font-size: 0.9rem;
}
.findus-contacts a { color: #3d7c3a; }
.findus-contacts a:hover { text-decoration: underline; }
.findus-contacts .address { color: #5a5850; }
.findus-contacts .hours { color: #7a7770; font-size: 0.82rem; }

/* ===== FOOTER ===== */
.footer {
  background: #faf7f2;
  border-top: 1px solid #e8e4de;
  padding: 0rem 0 0rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.footer-brand img { width: 24px; height: 24px; }
.footer-brand span { font-weight: 700; font-size: 0.85rem; }
.footer-desc {
  color: #7a7770;
  font-size: 0.85rem;
  max-width: 360px;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e8e4de;
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover { background: #3d7c3a; color: #fff; }
.footer-social a svg { width: 15px; height: 15px; }
.footer-right a { color: #3d7c3a; font-size: 0.85rem; }
.footer-right a:hover { text-decoration: underline; }
.footer-right p { font-size: 0.85rem; color: #7a7770; margin-top: 0.25rem; }
.footer-bottom {
  margin-top: 0rem;
  padding-top: 0rem;
  border-top: 1px solid #e8e4de;
  text-align: center;
  font-size: 0.78rem;
  color: #9a9690;
}

/* ============================================================
   TABLET — min-width: 600px
   ============================================================ */
@media screen and (min-width: 600px) {
  .container { padding: 0 1.5rem; }
  .heading-lg { font-size: 2.2rem; }
  .heading-xl { font-size: 3rem; }
  .section { padding: 4.5rem 0; }

  .hero { padding: 2.5rem 0 0; }
  .hero-image img { height: 340px; }

  .marquee-item { font-size: 2.4rem; gap: 1.25rem; padding: 0 1.25rem; }
  .marquee-item img { width: 18px; height: 18px; }

  .space-photos { grid-template-columns: 1fr 1fr; }
  .space-photo img { height: 280px; }

  .workspace-cards { grid-template-columns: 1fr 1fr; }

  .amenities-image img { height: 320px; }

  .footer-inner { grid-template-columns: 1fr auto; }
  .footer-right { text-align: right; }
}

/* ============================================================
   DESKTOP — min-width: 900px
   ============================================================ */
@media screen and (min-width: 900px) {
  .container { padding: 0 2rem; }
  .heading-lg { font-size: 2.6rem; }
  .heading-xl { font-size: 3.8rem; }
  .section { padding: 5rem 0; }

  /* Nav */
  .nav { padding: 1rem 2rem; }
  .nav-links { display: flex; gap: 2rem; }
  .nav-mobile-toggle { display: none; }
  .nav-phone { display: block; }
  .nav-right { gap: 1.5rem; }

  /* Hero */
  .hero { padding: 3rem 0 0; }
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .hero-image { order: 0; }
  .hero-image img { height: 500px; }
  .hero-image-caption { display: block; }
  .hero-ctas { gap: 1rem; }

  /* Marquee */
  .marquee { margin-top: 3rem; padding: 1.5rem 0; }
  .marquee-item { font-size: 3rem; gap: 1.5rem; padding: 0 1.5rem; }
  .marquee-item img { width: 20px; height: 20px; }

  /* Space */
  .space-header { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .space-photo img { height: 320px; }
  .always-on { padding: 2.5rem; max-width: 500px; margin-left: auto; margin-right: auto; }
  .always-on h3 { font-size: 1.8rem; }
  .always-on p { font-size: 1.4rem; }

  /* Tour */
  .tour { padding: 5rem 0; }
  .tour-inner { grid-template-columns: 1fr 1.2fr; gap: 3rem; }
  .play-btn { width: 56px; height: 56px; }
  .play-btn svg { width: 20px; height: 20px; margin-left: 3px; }
  .tour-video-brand { font-size: 2rem; right: 2rem; }

  /* Workspaces */
  .workspace-cards { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

  /* Amenities */
  .amenities-inner { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .amenities-image img { height: 400px; }

  /* Find Us */
  .findus-inner { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

/* ============================================================
   LARGE DESKTOP — min-width: 1200px
   ============================================================ */
@media screen and (min-width: 1200px) {
  .heading-xl { font-size: 4.5rem; }
  .heading-lg { font-size: 3.2rem; }
  .nav-links { gap: 2.5rem; }
}

/* ============================================================
   REDUCED MOTION — accessibility
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .btn, .play-btn, .footer-social a, .nav-links a { transition: none; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .header, .marquee, .tour-video-overlay, .footer-social, .nav-mobile-toggle { display: none; }
  body { background: #fff; color: #000; }
  .section { padding: 1.5rem 0; }
  .tour { background: #fff; color: #000; }
  .tour-text .heading-lg { color: #000; }
  .tour-text p { color: #333; }
}
