/* 12 Geary Street — Boutique Office Suites */

:root {
  --cream: #f6f1e9;
  --cream-dark: #ebe4d8;
  --ink: #1a1814;
  --ink-soft: #3d3830;
  --ink-muted: #6b6459;
  --terracotta: #b85c38;
  --terracotta-hover: #9e4e2f;
  --sage: #5c6b5a;
  --gold: #c4a574;
  --white: #fffef9;
  --border: rgba(26, 24, 20, 0.1);
  --shadow: 0 24px 64px rgba(26, 24, 20, 0.08);
  --radius: 4px;
  --radius-lg: 12px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --max-width: 1180px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--terracotta);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--terracotta-hover);
}

address {
  font-style: normal;
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

/* Typography */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 1rem;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.12;
  margin: 0;
}

h1 {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  letter-spacing: -0.02em;
}

h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--ink-muted);
}

h2 {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.65rem;
}

.section-lead {
  font-size: 1.125rem;
  color: var(--ink-muted);
  max-width: 36rem;
  margin: 1.25rem 0 0;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--terracotta-hover);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--border);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.btn-ghost:hover {
  box-shadow: inset 0 0 0 1px var(--ink);
  color: var(--ink);
}

.btn-ghost-light {
  background: transparent;
  color: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(246, 241, 233, 0.35);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.btn-ghost-light:hover {
  background: rgba(246, 241, 233, 0.1);
  color: var(--cream);
}

.btn-sm {
  padding: 0.65rem 1.1rem;
  font-size: 0.8rem;
}

.btn-full {
  width: 100%;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(246, 241, 233, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(26, 24, 20, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  text-decoration: none;
  color: var(--ink);
}

.logo:hover {
  color: var(--ink);
}

.logo-mark {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--terracotta);
  line-height: 1;
}

.logo-text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav {
  display: none;
  gap: 2rem;
}

.nav a {
  font-size: 0.875rem;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav a:hover {
  color: var(--terracotta);
}

.header-cta {
  display: none;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  margin-inline: auto;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 2rem 1.25rem;
  background: var(--cream);
  border-top: 1px solid var(--border);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--ink);
  text-decoration: none;
  padding: 0.5rem 0;
}

.mobile-nav .btn {
  margin-top: 1.5rem;
  align-self: flex-start;
}

@media (min-width: 900px) {
  .nav,
  .header-cta {
    display: flex;
  }

  .nav-toggle,
  .mobile-nav {
    display: none !important;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 4rem) 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      transparent 0%,
      rgba(246, 241, 233, 0.12) 78%,
      rgba(246, 241, 233, 0.9) 92%,
      var(--cream) 100%
    ),
    linear-gradient(
      to top,
      rgba(26, 24, 20, 0.62) 0%,
      rgba(26, 24, 20, 0.38) 30%,
      rgba(26, 24, 20, 0.14) 55%,
      transparent 78%
    ),
    linear-gradient(
      115deg,
      rgba(26, 24, 20, 0.48) 0%,
      rgba(26, 24, 20, 0.22) 35%,
      transparent 62%
    );
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.hero .eyebrow {
  color: rgba(246, 241, 233, 0.95);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}

.hero h1 {
  color: var(--white);
  text-shadow:
    0 2px 40px rgba(0, 0, 0, 0.38),
    0 1px 6px rgba(0, 0, 0, 0.22);
  margin-bottom: 1.25rem;
}

.hero h1 em {
  color: rgba(246, 241, 233, 0.9);
}

.hero-subhead {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-style: italic;
  font-weight: 400;
  color: rgba(246, 241, 233, 0.92);
  margin: 0.5rem 0 1.25rem;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.32);
}

.hero-lead {
  font-size: 1.2rem;
  color: rgba(246, 241, 233, 0.95);
  line-height: 1.7;
  margin: 0 0 2rem;
  max-width: 34rem;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.32);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-address {
  font-size: 0.875rem;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 1;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hero-scroll svg {
  opacity: 0.6;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0.4; }
}

.scroll-dot {
  animation: scroll-bounce 2s ease-in-out infinite;
}

@media (min-width: 768px) {
  .hero-scroll {
    display: flex;
  }
}

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

.intro-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.intro-grid > p {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
  margin: 0;
  line-height: 1.4;
  max-width: 32rem;
}

.intro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.intro-tags li {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.9rem;
  background: var(--cream);
  color: var(--ink-soft);
  border-radius: 100px;
}

@media (min-width: 768px) {
  .intro-grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section-alt {
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header-left {
  text-align: left;
}

.section-header .section-lead {
  margin-inline: auto;
}

.section-header-left .section-lead {
  margin-inline: 0;
}

/* Why — visual highlights */
#why .section-header {
  margin-bottom: 3rem;
}

#why .section-header .section-lead {
  max-width: 28rem;
}

.highlights-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3.25rem;
}

@media (min-width: 900px) {
  .highlights-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.highlight-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: none;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(26, 24, 20, 0.07);
}

.highlight-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.highlight-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--ease);
}

.highlight-card--private .highlight-visual img {
  object-position: 70% 28%;
}

.highlight-card--boutique .highlight-visual img {
  object-position: center 42%;
}

.highlight-card:hover .highlight-visual img {
  transform: scale(1.03);
}

.highlight-body {
  padding: 1.35rem 1.4rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.highlight-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.2;
}

.highlight-body p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

.features-support {
  text-align: left;
  margin-bottom: 1.75rem;
  padding-top: 0;
  border-top: none;
}

.features-support .eyebrow {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
}

/* Why — details row */
.details-grid {
  display: grid;
  gap: 2rem 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 520px) {
  .details-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .details-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem 1.75rem;
  }
}

@media (min-width: 1100px) {
  .details-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
  }
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.detail-icon {
  display: flex;
  align-items: center;
  color: var(--ink);
  line-height: 0;
}

.detail-icon svg {
  display: block;
}

.detail-item h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
  color: var(--ink);
}

.detail-item p {
  margin: 0;
  font-size: 0.825rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* Features (legacy — other pages) */
.features-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 2rem 0 0;
  border-top: 1px solid var(--border);
}

.feature-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.975rem;
  color: var(--ink-muted);
}

.amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 2rem 0 0;
  border-top: 1px solid var(--border);
}

.amenities li {
  font-size: 0.85rem;
  color: var(--ink-muted);
  position: relative;
  padding-left: 1rem;
}

.amenities li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-weight: 700;
}

/* Suites */
.suites-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .suites-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }
}

@media (min-width: 1100px) {
  .suites-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.suite-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.suite-card-featured {
  border-color: rgba(184, 92, 56, 0.25);
  box-shadow: var(--shadow);
}

.suite-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.suite-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.suite-card:hover .suite-visual img {
  transform: scale(1.03);
}

.suite-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
}

.suite-badge-featured {
  background: var(--terracotta);
  color: var(--white);
}

.suite-body {
  padding: 1.75rem;
}

.suite-tagline {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink-muted);
  margin: 0.35rem 0 0.5rem;
  line-height: 1.35;
}

.suite-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--terracotta);
  margin: 0 0 1rem;
}

.suite-body > p {
  margin: 0 0 1.25rem;
  font-size: 0.975rem;
  color: var(--ink-muted);
}

.suite-details {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.suite-details li {
  font-size: 0.9rem;
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
  color: var(--ink-soft);
}

.suite-details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
}

.suite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.suites-cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.suites-cta p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  margin: 0 0 1rem;
}

/* Location */
.location-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 900px) {
  .location-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.location-list {
  list-style: none;
  margin: 2rem 0 2rem;
  padding: 0;
}

.location-list li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.location-list li:first-child {
  border-top: 1px solid var(--border);
}

.location-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.location-list span {
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.location-map iframe {
  width: 100%;
  height: 380px;
  border: none;
  border-radius: var(--radius-lg);
  filter: grayscale(20%) contrast(1.05);
}

.map-caption {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin: 0.75rem 0 0;
  text-align: center;
}

/* Ecosystem */
.ecosystem-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .ecosystem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ecosystem-card {
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--border);
}

.ecosystem-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.ecosystem-card p {
  margin: 0;
  font-size: 0.975rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

.ecosystem-closing {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  text-align: center;
  color: var(--ink);
  margin: 0;
  line-height: 1.4;
  max-width: 28rem;
  margin-inline: auto;
}

/* Building feature & suite gallery */
.building-feature {
  margin: 0 0 3.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.building-feature img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center 40%;
}

.building-feature figcaption {
  padding: 0.85rem 1.25rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
  background: var(--cream);
  border-top: 1px solid var(--border);
}

.photos-suite {
  display: none;
}

.photos-suite-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.photos-suite-header h3 {
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
}

.photos-suite-header p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.suite-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.suite-gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
}

.suite-gallery-item-wide {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.suite-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.suite-gallery-item:hover img {
  transform: scale(1.03);
}

.photos-suite-cta {
  margin-top: 2rem;
  text-align: center;
}

.gallery-links-single {
  max-width: 32rem;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .suite-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .suite-gallery-item-wide {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
  }
}

/* Gallery modal */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 24, 20, 0.72);
}

.gallery-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 56rem);
  max-height: calc(100vh - 2rem);
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.gallery-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius);
  background: rgba(255, 254, 249, 0.92);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.gallery-modal-close:hover {
  background: var(--cream);
  color: var(--terracotta);
}

.gallery-modal-header {
  padding: 1.5rem 3.5rem 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.gallery-modal-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.gallery-modal-header p {
  margin: 0;
}

#gallery-modal-subtitle {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.gallery-modal-counter {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.gallery-modal-stage {
  position: relative;
  margin: 0;
  flex: 1;
  min-height: 0;
  background: var(--cream);
}

.gallery-modal-stage img {
  width: 100%;
  height: 100%;
  max-height: min(72vh, 42rem);
  object-fit: contain;
  background: var(--cream);
}

.gallery-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 254, 249, 0.94);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.gallery-modal-nav:hover {
  background: var(--white);
  border-color: rgba(26, 24, 20, 0.2);
  transform: translateY(-50%) scale(1.04);
}

.gallery-modal-prev {
  left: 0.85rem;
}

.gallery-modal-next {
  right: 0.85rem;
}

.gallery-modal-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: translateY(-50%);
}

@media (max-width: 640px) {
  .gallery-modal {
    padding: 0.75rem;
  }

  .gallery-modal-dialog {
    max-height: calc(100vh - 1.5rem);
  }

  .gallery-modal-header {
    padding: 1.25rem 3.25rem 0.85rem 1.1rem;
  }

  .gallery-modal-stage img {
    max-height: min(58vh, 32rem);
  }

  .gallery-modal-nav {
    width: 2.35rem;
    height: 2.35rem;
  }

  .gallery-modal-prev {
    left: 0.5rem;
  }

  .gallery-modal-next {
    right: 0.5rem;
  }
}

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

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

.gallery-item-wide {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 9;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

@media (min-width: 768px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-item-wide {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
  }
}

.gallery-links {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .gallery-links {
    grid-template-columns: 1fr 1fr;
  }
}

.gallery-link-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.5rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.gallery-link-card:hover {
  border-color: var(--terracotta);
  background: var(--white);
  color: var(--ink);
}

.gallery-link-label {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.gallery-link-action {
  font-size: 0.875rem;
  color: var(--terracotta);
}

#location {
  padding-bottom: 5.5rem;
}

/* Family ownership */
#family {
  padding-top: 5.5rem;
  padding-bottom: 4.5rem;
}

#family .section-header {
  margin-bottom: 3rem;
}

#family .section-lead {
  max-width: 32rem;
}

.family-profiles {
  display: grid;
  gap: 2.5rem;
  max-width: 52rem;
  margin-inline: auto;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .family-profiles {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 2.5rem;
  }
}

.family-profile {
  margin: 0;
  text-align: center;
}

.family-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 32px rgba(26, 24, 20, 0.07);
}

.family-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.family-profile figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.family-profile figcaption strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
}

.family-profile figcaption span {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.family-story {
  max-width: 40rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.family-story p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* Testimonial */
#testimonial {
  padding-top: 2.75rem;
  padding-bottom: 4.5rem;
}

#testimonial .section-header {
  margin-bottom: 2.625rem;
}

.testimonial-feature {
  display: grid;
  max-width: 58rem;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(26, 24, 20, 0.07);
}

@media (min-width: 768px) {
  .testimonial-feature {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 22rem;
  }
}

.testimonial-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 2rem;
}

@media (min-width: 768px) {
  .testimonial-feature-copy {
    padding: 3rem 3.25rem;
  }
}

.testimonial-feature-copy blockquote {
  margin: 0;
}

.testimonial-feature-copy blockquote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.testimonial-feature-attribution {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.testimonial-feature-attribution cite {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 500;
  color: var(--ink);
}

.testimonial-feature-attribution span {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink-muted);
}

.testimonial-feature-portrait {
  margin: 0;
  min-height: 18rem;
}

.testimonial-feature-portrait img {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
  object-position: center top;
}

@media (min-width: 768px) {
  .testimonial-feature-portrait {
    min-height: 100%;
  }

  .testimonial-feature-portrait img {
    min-height: 100%;
  }
}

/* Contact */
.contact-section {
  padding-top: 4.8rem;
  padding-bottom: 5rem;
  background: var(--ink);
  color: var(--cream-dark);
}

.contact-section .section-header {
  margin-bottom: 2.5rem;
}

.contact-section h2,
.contact-section .eyebrow {
  color: var(--cream);
}

.contact-section .eyebrow {
  color: var(--gold);
}

.contact-section .section-lead {
  color: rgba(246, 241, 233, 0.7);
}

.contact-scheduling {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.contact-scheduling .btn {
  min-width: 12.5rem;
  padding: 1.05rem 1.85rem;
  font-size: 0.95rem;
}

.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: start;
  }
}

.contact-info p {
  margin: 0 0 1rem;
  color: rgba(246, 241, 233, 0.85);
}

.contact-info a {
  color: var(--gold);
  text-decoration: none;
}

.contact-info a:hover {
  color: var(--cream);
}

.contact-note {
  font-size: 0.8rem;
  opacity: 0.55;
}

.contact-form {
  background: rgba(255, 254, 249, 0.04);
  border: 1px solid rgba(246, 241, 233, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.form-row {
  margin-bottom: 1.25rem;
}

.form-row label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(246, 241, 233, 0.65);
  margin-bottom: 0.45rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--cream);
  background: rgba(26, 24, 20, 0.4);
  border: 1px solid rgba(246, 241, 233, 0.15);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(246, 241, 233, 0.35);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-row select {
  cursor: pointer;
}

.form-row select option {
  background: var(--ink);
  color: var(--cream);
}

.form-disclaimer {
  font-size: 0.78rem;
  color: rgba(246, 241, 233, 0.45);
  margin: 1rem 0 0;
  line-height: 1.5;
}

/* Footer */
.site-footer {
  background: #12100e;
  color: rgba(246, 241, 233, 0.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(246, 241, 233, 0.1);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    align-items: start;
  }
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand .logo-mark,
.footer-brand .logo-text {
  color: var(--cream);
}

.footer-brand .logo-mark {
  color: var(--terracotta);
}

.footer-brand p {
  font-size: 0.95rem;
  margin: 0 0 1.25rem;
  max-width: 22rem;
}

.footer-brand address {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav a {
  color: rgba(246, 241, 233, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: var(--cream);
}

.footer-cta {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-start;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 2rem;
  font-size: 0.8rem;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-tagline {
  color: rgba(246, 241, 233, 0.4);
  margin: 0;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-dot {
    animation: none;
  }

  .btn:hover,
  .suite-card:hover .suite-visual img,
  .gallery-item:hover img,
  .highlight-card:hover .highlight-visual img {
    transform: none;
  }
}
