/* Design DNA: Form hero with office tour booking fields; slate + signal orange; product-team workspace mood */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --th-slate: #2D3748;
  --th-orange: #FF6B35;
  --th-orange-dark: #E85A28;
  --th-gray: #EDF2F7;
  --th-white: #FFFFFF;
  --th-text: #2D3748;
  --th-text-muted: #718096;
  --th-border: #CBD5E0;
  --th-shadow: 0 4px 24px rgba(45, 55, 72, 0.08);
  --th-radius: 12px;
  --th-radius-pill: 999px;
  --th-font-heading: 'Plus Jakarta Sans', sans-serif;
  --th-font-body: 'IBM Plex Sans', sans-serif;
  --th-max: 1200px;
  --th-header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--th-font-body);
  color: var(--th-text);
  background: var(--th-white);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--th-orange); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--th-orange-dark); }

h1, h2, h3, h4 {
  font-family: var(--th-font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--th-slate);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }

.th-container {
  width: min(100% - 2rem, var(--th-max));
  margin-inline: auto;
}

/* Cookie strip */
.th-cookie {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--th-slate);
  color: var(--th-white);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  transform: translateY(0);
  transition: transform 0.3s;
}

.th-cookie.th-cookie--hidden { transform: translateY(-100%); }

.th-cookie p { margin: 0; }

.th-cookie a { color: var(--th-orange); text-decoration: underline; }

.th-cookie__btn {
  background: var(--th-orange);
  color: var(--th-white);
  border: none;
  padding: 0.4rem 1.25rem;
  border-radius: var(--th-radius-pill);
  font-family: var(--th-font-heading);
  font-weight: 600;
  font-size: 0.8125rem;
  cursor: pointer;
  white-space: nowrap;
}

.th-cookie__btn:hover { background: var(--th-orange-dark); }

body.th-cookie-visible { padding-top: 48px; }

/* Header */
.th-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--th-white);
  border-bottom: 1px solid var(--th-border);
  height: var(--th-header-h);
}

body.th-cookie-visible .th-header { top: 48px; }

.th-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.th-logo {
  font-family: var(--th-font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--th-slate);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.th-logo span { color: var(--th-orange); }

.th-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.th-nav a {
  color: var(--th-slate);
  font-weight: 500;
  font-size: 0.9375rem;
}

.th-nav a:hover,
.th-nav a.th-nav__active { color: var(--th-orange); }

.th-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  border-radius: var(--th-radius-pill);
  font-family: var(--th-font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s;
}

.th-btn--primary {
  background: var(--th-orange);
  color: var(--th-white);
}

.th-btn--primary:hover {
  background: var(--th-orange-dark);
  color: var(--th-white);
}

.th-btn--outline {
  background: transparent;
  color: var(--th-slate);
  border: 2px solid var(--th-border);
}

.th-btn--outline:hover {
  border-color: var(--th-orange);
  color: var(--th-orange);
}

.th-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.th-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--th-slate);
  transition: transform 0.3s, opacity 0.3s;
}

.th-burger.th-burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.th-burger.th-burger--open span:nth-child(2) { opacity: 0; }
.th-burger.th-burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero form */
.th-hero {
  background: var(--th-gray);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.th-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.th-hero__content h1 { margin-bottom: 1rem; }

.th-hero__content p {
  color: var(--th-text-muted);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.th-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.th-badge {
  background: var(--th-white);
  padding: 0.375rem 0.875rem;
  border-radius: var(--th-radius-pill);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--th-slate);
  border: 1px solid var(--th-border);
}

.th-hero__image {
  border-radius: var(--th-radius);
  overflow: hidden;
  box-shadow: var(--th-shadow);
}

.th-form-card {
  background: var(--th-white);
  border-radius: var(--th-radius);
  padding: 2rem;
  box-shadow: var(--th-shadow);
}

.th-form-card h2 {
  font-size: 1.375rem;
  margin-bottom: 0.5rem;
}

.th-form-card > p {
  color: var(--th-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

.th-form-group { margin-bottom: 1rem; }

.th-form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 0.375rem;
  color: var(--th-slate);
}

.th-form-group input,
.th-form-group select,
.th-form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--th-border);
  border-radius: 8px;
  font-family: var(--th-font-body);
  font-size: 0.9375rem;
  transition: border-color 0.2s;
  background: var(--th-white);
}

.th-form-group input:focus,
.th-form-group select:focus,
.th-form-group textarea:focus {
  outline: none;
  border-color: var(--th-orange);
}

.th-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.th-form-card .th-btn { width: 100%; margin-top: 0.5rem; }

/* Sections */
.th-section { padding: 5rem 0; }

.th-section--gray { background: var(--th-gray); }

.th-section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.th-section__header p {
  color: var(--th-text-muted);
  margin-top: 0.75rem;
  font-size: 1.0625rem;
}

.th-section__label {
  display: inline-block;
  color: var(--th-orange);
  font-family: var(--th-font-heading);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

/* Cards grid */
.th-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.th-card {
  background: var(--th-white);
  border-radius: var(--th-radius);
  overflow: hidden;
  box-shadow: var(--th-shadow);
  transition: transform 0.2s;
}

.th-card:hover { transform: translateY(-4px); }

.th-card__img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }

.th-card__body { padding: 1.5rem; }

.th-card__body h3 { margin-bottom: 0.5rem; }

.th-card__body p {
  color: var(--th-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.th-card__meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--th-text-muted);
  margin-bottom: 1rem;
}

.th-card__meta strong { color: var(--th-slate); }

/* Features */
.th-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.th-feature {
  text-align: center;
  padding: 1.5rem;
}

.th-feature__icon {
  width: 56px;
  height: 56px;
  background: var(--th-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}

.th-feature h3 { font-size: 1rem; margin-bottom: 0.5rem; }

.th-feature p { color: var(--th-text-muted); font-size: 0.875rem; }

/* Stats */
.th-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.th-stat__num {
  font-family: var(--th-font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--th-orange);
}

.th-stat__label {
  color: var(--th-text-muted);
  font-size: 0.9375rem;
  margin-top: 0.25rem;
}

/* CTA banner */
.th-cta {
  position: relative;
  border-radius: var(--th-radius);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
}

.th-cta__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.th-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(45,55,72,0.92) 0%, rgba(45,55,72,0.6) 100%);
}

.th-cta__content {
  position: relative;
  z-index: 1;
  padding: 3rem;
  color: var(--th-white);
  max-width: 560px;
}

.th-cta__content h2 { color: var(--th-white); margin-bottom: 1rem; }

.th-cta__content p { opacity: 0.9; margin-bottom: 1.5rem; }

/* Page hero */
.th-page-hero {
  background: var(--th-gray);
  padding: 3.5rem 0;
}

.th-page-hero h1 { margin-bottom: 0.75rem; }

.th-page-hero p {
  color: var(--th-text-muted);
  font-size: 1.125rem;
  max-width: 640px;
}

/* Two col layout */
.th-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.th-split__img {
  border-radius: var(--th-radius);
  overflow: hidden;
  box-shadow: var(--th-shadow);
}

.th-split__content h2 { margin-bottom: 1rem; }

.th-split__content p {
  color: var(--th-text-muted);
  margin-bottom: 1rem;
}

.th-list {
  list-style: none;
  margin: 1.5rem 0;
}

.th-list li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  color: var(--th-text-muted);
}

.th-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  background: var(--th-orange);
  border-radius: 50%;
}

/* Contact page */
.th-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.th-contact-info h3 {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.th-contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.th-contact-item__icon {
  width: 44px;
  height: 44px;
  background: var(--th-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.125rem;
}

.th-contact-item strong {
  display: block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--th-text-muted);
  margin-bottom: 0.25rem;
}

.th-map {
  background: var(--th-gray);
  border-radius: var(--th-radius);
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--th-text-muted);
  margin-top: 2rem;
  border: 1px solid var(--th-border);
}

/* Privacy */
.th-prose {
  max-width: 760px;
  margin: 0 auto;
}

.th-prose h2 {
  font-size: 1.375rem;
  margin: 2rem 0 0.75rem;
}

.th-prose p, .th-prose li {
  color: var(--th-text-muted);
  margin-bottom: 0.75rem;
}

.th-prose ul { padding-left: 1.5rem; margin-bottom: 1rem; }

/* Event cards */
.th-event {
  display: flex;
  gap: 1.5rem;
  background: var(--th-white);
  border-radius: var(--th-radius);
  padding: 1.5rem;
  box-shadow: var(--th-shadow);
  margin-bottom: 1.5rem;
}

.th-event__date {
  background: var(--th-orange);
  color: var(--th-white);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  text-align: center;
  flex-shrink: 0;
  min-width: 72px;
}

.th-event__date strong {
  display: block;
  font-family: var(--th-font-heading);
  font-size: 1.5rem;
  line-height: 1;
}

.th-event__date span { font-size: 0.75rem; text-transform: uppercase; }

.th-event h3 { margin-bottom: 0.375rem; }

.th-event p { color: var(--th-text-muted); font-size: 0.9375rem; }

/* Footer */
.th-footer {
  background: var(--th-slate);
  color: var(--th-white);
  padding: 4rem 0 2rem;
}

.th-footer a { color: rgba(255,255,255,0.75); }
.th-footer a:hover { color: var(--th-orange); }

.th-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.th-footer__brand {
  font-family: var(--th-font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.th-footer__brand span { color: var(--th-orange); }

.th-footer__col h4 {
  color: var(--th-white);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.th-footer__col ul { list-style: none; }

.th-footer__col li { margin-bottom: 0.625rem; }

.th-footer__col li a { font-size: 0.9375rem; }

.th-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
}

/* Space filter tabs */
.th-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.th-tab {
  padding: 0.5rem 1.25rem;
  border-radius: var(--th-radius-pill);
  border: 1px solid var(--th-border);
  background: var(--th-white);
  font-family: var(--th-font-heading);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--th-slate);
  cursor: pointer;
}

.th-tab--active {
  background: var(--th-orange);
  color: var(--th-white);
  border-color: var(--th-orange);
}

/* Responsive 900px */
@media (max-width: 900px) {
  .th-hero__grid,
  .th-split,
  .th-contact-grid { grid-template-columns: 1fr; }

  .th-grid-3 { grid-template-columns: 1fr 1fr; }

  .th-features,
  .th-stats { grid-template-columns: 1fr 1fr; }

  .th-footer__grid { grid-template-columns: 1fr 1fr; }

  .th-form-row { grid-template-columns: 1fr; }

  .th-hero__image { order: -1; }
}

/* Responsive 560px */
@media (max-width: 560px) {
  .th-nav {
    position: fixed;
    top: var(--th-header-h);
    left: 0;
    right: 0;
    background: var(--th-white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--th-border);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    z-index: 800;
  }

  body.th-cookie-visible .th-nav { top: calc(var(--th-header-h) + 48px); }

  .th-nav.th-nav--open {
    transform: translateY(0);
    opacity: 1;
  }

  .th-burger { display: flex; }

  .th-header .th-btn--primary { display: none; }

  .th-grid-3,
  .th-features,
  .th-stats,
  .th-footer__grid { grid-template-columns: 1fr; }

  .th-section { padding: 3rem 0; }

  .th-hero { padding: 2.5rem 0; }

  .th-cta__content { padding: 2rem; }

  .th-event { flex-direction: column; }

  .th-footer__bottom { flex-direction: column; text-align: center; }
}
