/* THP Portfolio — Premium B2B Hotel Project Theme */

:root {
  --thp-navy: #071627;
  --thp-navy-mid: #162d53;
  --thp-teal: #0090a5;
  --thp-gold: #c8942e;
  --thp-gold-light: #e8b44a;
  --thp-white: #ffffff;
  --thp-bg: #f7f8fa;
  --thp-border: #e1e4e8;
  --thp-text: #1a2332;
  --thp-muted: #5c6678;
  --thp-serif: "Cormorant Garamond", Georgia, serif;
  --thp-sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, sans-serif;
  --thp-radius: 12px;
  --thp-radius-sm: 8px;
  --thp-shadow: 0 4px 24px rgba(7, 22, 39, 0.08);
  --thp-shadow-lg: 0 12px 48px rgba(7, 22, 39, 0.12);
  --thp-container: 1200px;
  --thp-header-h: 96px;
  --thp-topbar-h: 36px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--thp-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--thp-text);
  background: var(--thp-white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--thp-teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--thp-navy-mid); }

h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.2; }

.thp-container {
  width: min(100% - 2rem, var(--thp-container));
  margin-inline: auto;
}

/* Top portfolio bar */
.thp-topbar {
  background: var(--thp-navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  height: var(--thp-topbar-h);
  display: flex;
  align-items: center;
}

.thp-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.thp-topbar__label {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.thp-topbar__link {
  color: var(--thp-gold);
  font-weight: 600;
  white-space: nowrap;
}

.thp-topbar__link:hover {
  color: var(--thp-gold-light);
}

/* Portfolio notice */
.thp-portfolio-notice {
  background: linear-gradient(90deg, rgba(200, 148, 46, 0.12), rgba(0, 144, 165, 0.08));
  border-top: 1px solid rgba(200, 148, 46, 0.25);
  border-bottom: 1px solid rgba(200, 148, 46, 0.25);
  padding: 1rem 0;
}

.thp-portfolio-notice__inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.thp-portfolio-notice__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--thp-navy);
  color: var(--thp-gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.thp-portfolio-notice__text {
  margin: 0;
  flex: 1;
  min-width: 240px;
  color: var(--thp-muted);
  font-size: 0.92rem;
}

.thp-portfolio-notice__text a {
  font-weight: 600;
  margin-left: 0.35rem;
}

.thp-portfolio-notice--compact {
  padding: 0.75rem 0;
}

.thp-portfolio-notice--inline {
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--thp-radius-sm);
  border: 1px solid rgba(200, 148, 46, 0.25);
  background: rgba(200, 148, 46, 0.06);
}

.thp-portfolio-notice--inline .thp-portfolio-notice__inner {
  gap: 0.75rem;
}

/* Homepage intro */
.thp-intro {
  background: var(--thp-white);
  border-bottom: 1px solid var(--thp-border);
  padding: 2.5rem 0;
}

.thp-intro__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.thp-intro__content {
  max-width: 720px;
}

.thp-intro__content h2 {
  font-family: var(--thp-serif);
  font-size: 1.75rem;
  color: var(--thp-navy);
  margin-bottom: 0.75rem;
}

.thp-intro__content p {
  margin: 0;
  color: var(--thp-muted);
  font-size: 1.05rem;
}

.thp-intro__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.thp-corporate-bar__note {
  font-size: 0.82rem;
  color: var(--thp-muted);
  margin-top: 0.25rem;
}

/* Header */
.thp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--thp-white);
  border-bottom: 1px solid var(--thp-border);
  height: var(--thp-header-h);
}

.thp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.thp-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.thp-logo img,
.thp-logo__img,
.thp-logo .custom-logo {
  height: 64px;
  width: auto;
  max-width: 220px;
}

.thp-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.thp-nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.thp-nav__list > li {
  position: relative;
}

.thp-nav__list a,
.thp-nav__parent {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--thp-navy-mid);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.65rem 0.9rem;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--thp-sans);
  border-radius: var(--thp-radius-sm);
  transition: color 0.2s, background 0.2s;
}

.thp-nav__list a:hover,
.thp-nav__parent:hover,
.thp-nav__item--has-children.is-open > .thp-nav__parent {
  color: var(--thp-teal);
  background: rgba(0, 144, 165, 0.06);
}

.thp-nav__parent svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.thp-nav__item--has-children.is-open .thp-nav__parent svg {
  transform: rotate(180deg);
}

.thp-nav__submenu {
  display: none;
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  background: var(--thp-white);
  border: 1px solid var(--thp-border);
  border-radius: var(--thp-radius-sm);
  box-shadow: var(--thp-shadow-lg);
  z-index: 120;
}

.thp-nav__item--has-children:hover > .thp-nav__submenu,
.thp-nav__item--has-children.is-open > .thp-nav__submenu {
  display: block;
}

.thp-nav__submenu a {
  display: block;
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--thp-text);
}

.thp-nav__submenu a:hover {
  color: var(--thp-teal);
  background: var(--thp-bg);
}

.thp-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.thp-header__icon {
  display: flex;
  color: var(--thp-muted);
  width: 20px;
}

.thp-header__icon svg { width: 20px; height: 20px; }

.thp-header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.thp-header__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--thp-navy);
}

/* Buttons */
.thp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--thp-radius-sm);
  font-family: var(--thp-sans);
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.thp-btn--sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.thp-btn--block { width: 100%; }

.thp-btn--primary {
  background: var(--thp-navy-mid);
  color: var(--thp-white);
  border-color: var(--thp-navy-mid);
}
.thp-btn--primary:hover { background: var(--thp-navy); color: var(--thp-white); }

.thp-btn--gold {
  background: var(--thp-gold);
  color: var(--thp-white);
  border-color: var(--thp-gold);
}
.thp-btn--gold:hover { background: var(--thp-gold-light); color: var(--thp-navy); }

.thp-btn--ghost {
  background: transparent;
  color: var(--thp-text);
  border-color: var(--thp-border);
}
.thp-btn--ghost:hover { border-color: var(--thp-navy); color: var(--thp-navy); }

.thp-btn--outline-light {
  background: transparent;
  color: var(--thp-white);
  border-color: rgba(255,255,255,0.5);
}
.thp-btn--outline-light:hover { background: rgba(255,255,255,0.1); color: var(--thp-white); }

.thp-page-hero__subtitle {
  max-width: 720px;
  color: var(--thp-muted);
  font-size: 1.1rem;
  margin-top: 0.75rem;
}

.thp-page-content h2 {
  font-family: var(--thp-serif);
  font-size: 1.75rem;
  color: var(--thp-navy);
  margin-top: 2rem;
}

.thp-page-content h3 {
  font-size: 1.15rem;
  color: var(--thp-navy-mid);
  margin-top: 1.5rem;
}

.thp-page-content .thp-lead {
  font-size: 1.15rem;
  color: var(--thp-muted);
  line-height: 1.7;
}

.thp-page-content .thp-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.thp-page-content .thp-feature-card {
  background: var(--thp-bg);
  border: 1px solid var(--thp-border);
  border-radius: var(--thp-radius);
  padding: 1.25rem;
}

.thp-page-content .thp-link-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.thp-page-content .thp-link-list a {
  font-weight: 600;
  color: var(--thp-navy-mid);
}

.thp-page-content .thp-link-list a:hover {
  color: var(--thp-teal);
}

.thp-page-content .thp-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.thp-page-content .thp-stat-box {
  text-align: center;
  padding: 1.25rem;
  background: var(--thp-navy);
  color: var(--thp-white);
  border-radius: var(--thp-radius-sm);
}

.thp-page-content .thp-stat-box strong {
  display: block;
  font-family: var(--thp-serif);
  font-size: 1.75rem;
  color: var(--thp-gold);
}

.thp-page-content .thp-facts__table {
  width: 100%;
  margin: 1.5rem 0 2rem;
}

.thp-page-content .thp-facts__table th,
.thp-page-content .thp-facts__table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--thp-border);
  text-align: left;
}

.thp-page-content .thp-facts__table th {
  background: var(--thp-bg);
  font-weight: 600;
  color: var(--thp-navy-mid);
}

/* Hero Home */
.thp-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: var(--thp-navy) center/cover no-repeat;
  color: var(--thp-white);
}

.thp-hero--home {
  background-image:
    linear-gradient(135deg, rgba(7,22,39,0.92) 0%, rgba(22,45,83,0.85) 50%, rgba(0,144,165,0.3) 100%),
    url('../images/placeholder-hotel.jpg');
}

.thp-hero__overlay,
.thp-project-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,22,39,0.4) 0%, rgba(7,22,39,0.75) 100%);
}

.thp-hero__content {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
  max-width: 720px;
}

.thp-hero__eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--thp-gold);
  margin-bottom: 1rem;
}

.thp-hero__title {
  font-family: var(--thp-serif);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 600;
  margin-bottom: 1rem;
}

.thp-hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  max-width: 540px;
}

.thp-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Stats */
.thp-stats {
  background: var(--thp-white);
  border-bottom: 1px solid var(--thp-border);
  padding: 2.5rem 0;
}

.thp-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.thp-stat strong {
  display: block;
  font-family: var(--thp-serif);
  font-size: 2rem;
  color: var(--thp-navy);
}

.thp-stat span {
  font-size: 0.85rem;
  color: var(--thp-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Sections */
.thp-section { padding: 4rem 0; }
.thp-section--alt { background: var(--thp-bg); }

.thp-section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
}

.thp-section__header h2 {
  font-family: var(--thp-serif);
  font-size: 2rem;
  color: var(--thp-navy);
}

.thp-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--thp-teal);
}

.thp-link-arrow svg { width: 16px; height: 16px; }

/* Grid */
.thp-grid {
  display: grid;
  gap: 1.5rem;
}

.thp-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Cards */
.thp-card {
  background: var(--thp-white);
  border: 1px solid var(--thp-border);
  border-radius: var(--thp-radius);
  overflow: hidden;
  box-shadow: var(--thp-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.thp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--thp-shadow-lg);
}

.thp-card__link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.thp-card__image {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
}

.thp-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thp-card__body { padding: 1.25rem; }

.thp-card__title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--thp-navy);
  margin-bottom: 0.25rem;
}

.thp-card__location {
  font-size: 0.9rem;
  color: var(--thp-muted);
  margin-bottom: 1rem;
}

.thp-card__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.thp-card__label {
  display: block;
  color: var(--thp-muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Badges */
.thp-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.thp-card__image .thp-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--thp-white);
  color: var(--thp-navy);
}

.thp-badge--in-progress,
.thp-badge--in-progress { background: #fff3cd; color: #856404; }
.thp-badge--completed { background: #d4edda; color: #155724; }
.thp-badge--pre-opening { background: #cce9ed; color: var(--thp-teal); }

/* Page hero */
.thp-page-hero {
  background: var(--thp-bg);
  padding: 3rem 0;
  border-bottom: 1px solid var(--thp-border);
}

.thp-page-hero--compact { padding: 2rem 0 2.5rem; }

.thp-page-hero__title {
  font-family: var(--thp-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--thp-navy);
}

.thp-page-hero__subtitle {
  color: var(--thp-muted);
  max-width: 600px;
  margin-top: 0.5rem;
}

/* Filters */
.thp-filters {
  background: var(--thp-bg);
  border: 1px solid var(--thp-border);
  border-radius: var(--thp-radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.thp-filters__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.thp-filters__field span {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--thp-muted);
  margin-bottom: 0.35rem;
}

.thp-filters__field select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--thp-border);
  border-radius: var(--thp-radius-sm);
  font-family: var(--thp-sans);
  font-size: 0.9rem;
  background: var(--thp-white);
}

.thp-filters__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* Project single hero */
.thp-project-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  background: var(--thp-navy) center/cover no-repeat;
  color: var(--thp-white);
}

.thp-project-hero__content {
  position: relative;
  z-index: 1;
  padding: 3rem 0 4rem;
}

.thp-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.thp-back-link svg { width: 18px; height: 18px; }

.thp-project-hero__title {
  font-family: var(--thp-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  margin: 0.75rem 0 0.5rem;
}

.thp-project-hero__location {
  font-size: 1.1rem;
  color: var(--thp-gold);
  margin-bottom: 0.5rem;
}

.thp-project-hero__summary {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.75rem;
}

.thp-project-hero__desc {
  max-width: 640px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.5rem;
}

.thp-project-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.thp-image-credit {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--thp-muted);
  font-style: italic;
}

.thp-image-credit--hero {
  position: absolute;
  right: 1.5rem;
  bottom: 1rem;
  z-index: 1;
  margin: 0;
  max-width: min(420px, 40vw);
  text-align: right;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
}

/* Breadcrumbs */
.thp-breadcrumbs { margin-bottom: 1.5rem; }

.thp-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--thp-muted);
}

.thp-breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--thp-border);
}

.thp-breadcrumbs a { color: var(--thp-muted); }
.thp-breadcrumbs a:hover { color: var(--thp-teal); }

/* Snapshot */
.thp-snapshot {
  background: var(--thp-bg);
  border: 1px solid var(--thp-border);
  border-radius: var(--thp-radius);
  padding: 2rem;
  margin-bottom: 3rem;
}

.thp-snapshot__title {
  font-family: var(--thp-serif);
  font-size: 1.5rem;
  color: var(--thp-navy);
  margin-bottom: 1.5rem;
}

.thp-snapshot__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.thp-snapshot__item {
  display: flex;
  gap: 0.75rem;
  background: var(--thp-white);
  border: 1px solid var(--thp-border);
  border-radius: var(--thp-radius-sm);
  padding: 1rem;
}

.thp-snapshot__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,144,165,0.1);
  border-radius: 8px;
  color: var(--thp-teal);
}

.thp-snapshot__icon svg { width: 18px; height: 18px; }

.thp-snapshot__label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--thp-muted);
}

.thp-snapshot__value {
  display: block;
  font-size: 0.95rem;
  color: var(--thp-navy);
  font-weight: 600;
}

/* Project layout */
.thp-project-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
}

.thp-content-block {
  margin-bottom: 2.5rem;
}

.thp-content-block h2 {
  font-family: var(--thp-serif);
  font-size: 1.75rem;
  color: var(--thp-navy);
  margin-bottom: 1rem;
}

.thp-prose p { margin: 0 0 1rem; color: var(--thp-text); }

.thp-page-content { max-width: 760px; }
.thp-page-content h2 {
  font-family: var(--thp-serif);
  font-size: 1.5rem;
  color: var(--thp-navy);
  margin: 2rem 0 0.75rem;
}
.thp-page-content ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.thp-page-content li { margin-bottom: 0.5rem; }
.thp-page-content a { color: var(--thp-teal); font-weight: 500; }

/* Locked card */
.thp-locked-card {
  background: var(--thp-navy);
  color: var(--thp-white);
  border-radius: var(--thp-radius);
  padding: 1.75rem;
  position: sticky;
  top: calc(var(--thp-header-h) + 1rem);
}

.thp-locked-card__icon {
  width: 40px;
  height: 40px;
  background: rgba(200,148,46,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--thp-gold);
  margin-bottom: 1rem;
}

.thp-locked-card__icon svg { width: 20px; height: 20px; }

.thp-locked-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.thp-locked-card ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

.thp-locked-card li {
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.thp-locked-card__note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
  margin-top: 0.75rem;
}

.thp-sidebar-card {
  margin-top: 1.5rem;
  background: var(--thp-bg);
  border: 1px solid var(--thp-border);
  border-radius: var(--thp-radius-sm);
  padding: 1.25rem;
}

.thp-sidebar-card h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--thp-muted);
  margin-bottom: 0.75rem;
}

.thp-sidebar-link {
  display: block;
  padding: 0.5rem 0;
  font-weight: 600;
  color: var(--thp-navy-mid);
  border-bottom: 1px solid var(--thp-border);
}

/* Gallery */
.thp-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.thp-gallery__item {
  margin: 0;
  border-radius: var(--thp-radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.thp-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thp-gallery__nav { display: flex; gap: 0.5rem; }

.thp-gallery__arrow {
  width: 36px;
  height: 36px;
  border: 1px solid var(--thp-border);
  border-radius: 50%;
  background: var(--thp-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thp-gallery__arrow svg { width: 16px; height: 16px; }

/* Suppliers */
.thp-suppliers__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.thp-suppliers__list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--thp-bg);
  border: 1px solid var(--thp-border);
  border-radius: var(--thp-radius-sm);
  font-size: 0.9rem;
}

.thp-suppliers__list svg {
  width: 16px;
  height: 16px;
  color: var(--thp-teal);
  flex-shrink: 0;
}

/* Facts table */
.thp-facts__table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--thp-border);
  border-radius: var(--thp-radius-sm);
  overflow: hidden;
}

.thp-facts__table th,
.thp-facts__table td {
  padding: 0.85rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--thp-border);
}

.thp-facts__table th {
  width: 35%;
  background: var(--thp-bg);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--thp-muted);
  font-weight: 600;
}

.thp-facts__table tr:last-child th,
.thp-facts__table tr:last-child td { border-bottom: none; }

/* CTA */
.thp-cta {
  padding: 4rem 0;
}

.thp-cta--dark {
  background: var(--thp-navy);
  color: var(--thp-white);
}

.thp-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.thp-cta__title {
  font-family: var(--thp-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  max-width: 600px;
}

.thp-cta__subtitle {
  color: rgba(255,255,255,0.7);
  margin-top: 0.5rem;
}

.thp-cta__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Corporate bar */
.thp-corporate-bar {
  background: var(--thp-bg);
  border-top: 1px solid var(--thp-border);
  border-bottom: 1px solid var(--thp-border);
  padding: 1.25rem 0;
}

.thp-corporate-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--thp-muted);
}

.thp-corporate-bar__links a {
  font-weight: 600;
  color: var(--thp-navy-mid);
}

/* Footer */
.thp-footer {
  background: var(--thp-navy);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
}

.thp-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.thp-footer__brand img,
.thp-footer__brand .thp-logo__img {
  height: 52px;
  width: auto;
}

.thp-footer__brand p {
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 320px;
}
}

.thp-footer__links h3,
.thp-footer__corporate h3 {
  color: var(--thp-white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.thp-footer__links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.thp-footer__links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  display: block;
  padding: 0.35rem 0;
}

.thp-footer__links a:hover { color: var(--thp-gold); }

.thp-footer__corp-link {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: inherit;
}

.thp-footer__corp-link strong {
  display: block;
  color: var(--thp-white);
}

.thp-footer__corp-link span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.thp-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  font-size: 0.8rem;
}

.thp-footer__bottom a { color: var(--thp-gold); }

/* Pagination */
.thp-pagination { margin-top: 2.5rem; }
.thp-pagination .nav-links { display: flex; gap: 0.5rem; justify-content: center; }
.thp-pagination a, .thp-pagination span {
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--thp-border);
  border-radius: var(--thp-radius-sm);
  font-size: 0.9rem;
}

.thp-pagination .current { background: var(--thp-navy); color: var(--thp-white); border-color: var(--thp-navy); }

/* Empty state */
.thp-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--thp-bg);
  border-radius: var(--thp-radius);
}

/* Mobile */
@media (max-width: 1024px) {
  .thp-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .thp-snapshot__grid { grid-template-columns: repeat(2, 1fr); }
  .thp-project-layout { grid-template-columns: 1fr; }
  .thp-locked-card { position: static; }
  .thp-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .thp-nav {
    display: none;
    position: absolute;
    top: var(--thp-header-h);
    left: 0;
    right: 0;
    background: var(--thp-white);
    border-bottom: 1px solid var(--thp-border);
    padding: 1rem;
    justify-content: flex-start;
  }

  .thp-nav.is-open { display: block; }

  .thp-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .thp-nav__list a,
  .thp-nav__parent {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--thp-border);
    border-radius: 0;
  }

  .thp-nav__submenu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0.5rem 1rem;
  }

  .thp-nav__item--has-children.is-open > .thp-nav__submenu {
    display: block;
  }

  .thp-page-content .thp-feature-grid,
  .thp-page-content .thp-stat-row,
  .thp-page-content .thp-link-list {
    grid-template-columns: 1fr;
  }

  .thp-header__toggle { display: flex; }
  .thp-header__actions .thp-btn--ghost { display: none; }
  .thp-topbar__inner { flex-direction: column; align-items: flex-start; gap: 0.15rem; }
  .thp-topbar { height: auto; padding: 0.45rem 0; }
  .thp-intro__inner { flex-direction: column; align-items: flex-start; }

  .thp-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .thp-grid--3 { grid-template-columns: 1fr; }
  .thp-snapshot__grid { grid-template-columns: 1fr; }
  .thp-suppliers__list { grid-template-columns: 1fr; }
  .thp-cta__inner { flex-direction: column; text-align: center; }
  .thp-footer__grid { grid-template-columns: 1fr; }
  .thp-filters__grid { grid-template-columns: 1fr; }
}
