* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--page-bg);
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", "Manrope", serif;
  margin: 0;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
  color: var(--muted);
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 72px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 22px;
  background: rgb(254 252 243);
  border: 1px solid var(--border);
  border-radius: 30px;
  position: static;
  box-shadow: 0 10px 30px rgba(28, 20, 10, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  justify-items: center;
  text-align: center;
}

.brand-title {
  font-size: 44px;
  line-height: 0.95;
  color: #2c1914;
  white-space: nowrap;
}

.logo-wrap {
  width: 120px;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 12px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0f7076; /* matches logo teal to avoid letterboxing */
  flex-shrink: 0;
}

.logo-wrap picture,
.logo-img {
  border-radius: inherit;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--bright));
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--mark-text);
  letter-spacing: 0.08em;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: #0f5d69;
  margin-bottom: 6px;
  font-weight: 700;
}

.eyebrow-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  letter-spacing: 0.33em;
}

.eyebrow-location::before,
.eyebrow-location::after {
  content: "\2022";
  color: #d39a74;
  font-size: 12px;
  line-height: 1;
}

.brand-note {
  margin-top: 4px;
  color: #b47f59;
  font-family: "Allura", "Brush Script MT", cursive;
  font-size: 28px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1;
  white-space: nowrap;
}

.brand-note::before,
.brand-note::after {
  content: "";
  width: 34px;
  height: 1px;
  background: rgba(215, 183, 159, 0.7);
}

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

.nav a {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.nav a:hover {
  border-color: var(--border);
  background: var(--panel);
}

.nav .cta {
  background: var(--accent);
  color: var(--cta-text);
  font-weight: 700;
  border-color: transparent;
  text-align: center;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid #e2c8b4;
  background: #fffdf9;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(45, 25, 18, 0.1);
}

.nav-toggle-icon {
  grid-column: 1;
  width: 20px;
  height: 3px;
  position: relative;
  display: block;
  background: #2b1a15;
  border-radius: 3px;
}

.nav-toggle-icon::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #2b1a15;
  border-radius: 3px;
  top: -6px;
}

.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #2b1a15;
  border-radius: 3px;
  top: 6px;
}

.nav-toggle-label {
  font-size: 16px;
  color: #2b1a15;
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  line-height: 1;
  font-weight: 700;
}

.lede {
  font-size: 18px;
  color: var(--lede-text);
  margin-bottom: 36px;
}

.hint {
  color: var(--muted);
}

.tiny {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 11px;
  color: var(--muted);
}

.emph {
  font-weight: 700;
  color: var(--emph-text);
  font-size: 18px;
  text-decoration: none;
}

.grid {
  margin: 32px 0 40px;
}

.section-head {
  max-width: 720px;
}

.grid h3 {
  font-size: 30px;
  margin: 4px 0 10px;
}

.card-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  display: grid;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--card-sheen);
  pointer-events: none;
}

.card-media {
  margin-top: 6px;
  margin-bottom: 10px;
  aspect-ratio: 4 / 3;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pill-tag {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--pill-tag-bg);
  color: var(--pill-tag-text);
  font-weight: 700;
  font-size: 12px;
}

.price {
  color: var(--price-text);
  font-weight: 700;
  display: grid;
  gap: 8px;
  text-align: center;
}

.price-divider {
  height: 1px;
  background: var(--border);
}

.gallery {
  margin: 30px 0 44px;
}

.gallery-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.gallery-item {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.15));
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.03);
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease;
  z-index: 10;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-body {
  margin: 0;
  max-width: min(1040px, 90vw);
  max-height: 90vh;
  width: auto;
  position: relative;
  background: var(--card);
  border-radius: 16px;
  padding: 10px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox img {
  max-width: calc(90vw - 20px);
  max-height: calc(90vh - 20px);
  width: auto;
  height: auto;
  object-fit: contain;
  justify-self: center;
  align-self: center;
  display: block;
  border-radius: 12px;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-weight: 800;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 11;
  box-shadow: var(--shadow);
}

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

.lightbox-scrim {
  position: absolute;
  inset: 0;
}

.contact {
  border: 1px solid var(--border);
  background: var(--contact-bg);
  border-radius: 16px;
  padding: 24px;
}

.contact-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}

@media (min-width: 901px) {
  .brand {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 14px;
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand-copy {
    justify-self: center;
    width: max-content;
  }
}

@media (max-width: 900px) {
  .top {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px 16px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    flex-shrink: 0;
    padding: 4px;
    border: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }

  .nav-toggle-label {
    display: none;
  }

  .nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    flex-basis: 100%;
    order: 3;
    margin-left: auto;
    margin-top: 6px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--panel);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    width: 100%;
    border-color: var(--border);
  }

  .brand {
    min-width: 0;
    flex: 1;
    order: 1;
  }

  .nav-toggle {
    order: 2;
  }

  .logo-wrap {
    width: 100px;
  }

  .brand-title {
    font-size: 32px;
  }

  .brand-note {
    font-size: 19px;
    gap: 6px;
  }

  .brand-note::before,
  .brand-note::after {
    width: 14px;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 20px 16px 56px;
  }

  .top {
    flex-direction: row;
    align-items: center;
  }

  .nav-toggle {
    padding: 2px;
  }

  .logo-wrap {
    width: 88px;
  }

  .brand-title {
    font-size: 21px;
  }

  .eyebrow-location {
    gap: 6px;
    letter-spacing: 0.12em;
    font-size: 10px;
  }

  .brand-note {
    margin-top: 5px;
    font-size: 16px;
    gap: 5px;
  }

  .brand-note::before,
  .brand-note::after {
    width: 10px;
  }
}
