/* Rich Rogers / LESTI – Warm Craft Gold & Charcoal Black */
/* Plain CSS3, no frameworks */

:root {
  --rr-charcoal: #1C1C1C;
  --rr-gold: #C9A35E;
  --rr-sand: #EFE6D8;
  --rr-taupe: #D6C7AF;
  --rr-ink: #111111;
  --rr-text: #24303A;
  --rr-muted: #5F5A54;
  --rr-line: rgba(0, 0, 0, 0.1);
  --rr-line-dark: rgba(255, 255, 255, 0.15);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.18);
  --shadow-luxe: 0 18px 60px rgba(0, 0, 0, 0.28);
  --radius-xl2: 1.25rem;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-width: 80rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--rr-text);
  background-color: var(--rr-sand);
}

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

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

a:focus-visible {
  outline: 2px solid var(--rr-gold);
  outline-offset: 2px;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(28, 28, 28, 0.95);
  border-bottom: 1px solid var(--rr-line-dark);
  backdrop-filter: blur(8px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--rr-gold);
}

.main-nav {
  display: none;
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--rr-gold);
}

.main-nav a.active {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-xl2);
  border: none;
  cursor: pointer;
  transition: box-shadow 0.2s, background-color 0.2s;
}

.btn:focus-visible {
  outline: 2px solid var(--rr-gold);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--rr-gold);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background-color: rgba(201, 163, 94, 0.9);
  box-shadow: var(--shadow-luxe);
}

.btn-outline {
  background: transparent;
  color: var(--rr-gold);
  border: 2px solid var(--rr-gold);
}

.btn-outline:hover {
  background-color: var(--rr-gold);
  color: #fff;
}

/* Section spacing */
.section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .section { padding-top: 6rem; padding-bottom: 6rem; }
}

.section-dark {
  background-color: var(--rr-charcoal);
  color: #fff;
}

.section-light {
  background-color: var(--rr-sand);
  color: var(--rr-text);
}

/* Typography */
.heading-serif {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
}

.text-gold { color: var(--rr-gold); }
.text-ink { color: var(--rr-ink); }
.text-muted { color: var(--rr-muted); }

/* Hero */
.hero {
  position: relative;
  background-color: var(--rr-charcoal);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, var(--rr-charcoal), var(--rr-charcoal), rgba(17, 17, 17, 0.8));
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: grid;
  gap: 2.5rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.hero-content { max-width: 36rem; }

.hero h1 {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--rr-gold);
  margin: 0 0 1rem 0;
}

@media (min-width: 768px) {
  .hero h1 { font-size: 3rem; }
}

.hero p {
  margin: 0 0 0.75rem 0;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero p:last-of-type { margin-bottom: 0; }

.hero-cta { margin-top: 2rem; }

.hero-image {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-xl2);
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-image { min-height: 420px; aspect-ratio: auto; }
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Challenges section */
.challenges .section-title {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--rr-gold);
  text-align: center;
  margin: 0 0 1rem 0;
}

@media (min-width: 768px) {
  .challenges .section-title { font-size: 2.25rem; }
}

.challenges .section-intro {
  max-width: 42rem;
  margin: 0 auto 3rem auto;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

.cards-grid {
  display: grid;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

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

.card {
  border-radius: var(--radius-xl2);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.card-dark {
  background-color: rgba(255, 255, 255, 0.05);
}

.card-light {
  background-color: rgba(255, 255, 255, 0.7);
}

.card-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(201, 163, 94, 0.2);
  color: var(--rr-gold);
}

.card-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--rr-gold);
  text-align: center;
  margin: 1rem 0 0.5rem 0;
}

.card p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin: 0;
}

.card-light p { color: var(--rr-text); }

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Two-column sections (Steps In, About Richard) */
.two-col {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.two-col h2 {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--rr-ink);
  margin: 0 0 1rem 0;
}

@media (min-width: 768px) {
  .two-col h2 { font-size: 2.25rem; }
}

.two-col p { margin: 0 0 1rem 0; }

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

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.benefits-list .check {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  color: var(--rr-gold);
}

.benefits-list .check svg {
  width: 100%;
  height: 100%;
}

.section-image {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl2);
  overflow: hidden;
}

@media (min-width: 768px) {
  .section-image { aspect-ratio: 1; }
}

.section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Portfolio */
.portfolio h2 {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--rr-ink);
  margin: 0 0 0.5rem 0;
}

@media (min-width: 768px) {
  .portfolio h2 { font-size: 2.25rem; }
}

.portfolio .subtitle {
  color: var(--rr-muted);
  margin: 0 0 1.5rem 0;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-chips button {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  background-color: rgba(214, 199, 175, 0.6);
  color: var(--rr-text);
  transition: background-color 0.2s, color 0.2s;
}

.filter-chips button:hover {
  background-color: var(--rr-taupe);
}

.filter-chips button.active {
  background-color: var(--rr-charcoal);
  color: #fff;
}

.filter-chips button:focus-visible {
  outline: 2px solid var(--rr-gold);
  outline-offset: 2px;
}

.portfolio-grid {
  display: grid;
  gap: 2rem;
}

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

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

.portfolio-item {
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-xl2);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.portfolio-item .thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.portfolio-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-item .meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  font-size: 0.875rem;
  color: var(--rr-muted);
}

.portfolio-item .meta svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--rr-gold);
  flex-shrink: 0;
}

/* Before & After Gallery */
.gallery h2 {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--rr-gold);
  text-align: center;
  margin: 0 0 0.5rem 0;
}

@media (min-width: 768px) {
  .gallery h2 { font-size: 2.25rem; }
}

.gallery-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  max-width: 36rem;
  margin: 0 auto 2rem auto;
}

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.gallery-filter button {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  cursor: pointer;
  background-color: transparent;
  color: rgba(255, 255, 255, 0.7);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.gallery-filter button:hover {
  border-color: var(--rr-gold);
  color: #fff;
}

.gallery-filter button.active {
  background-color: var(--rr-gold);
  border-color: var(--rr-gold);
  color: #fff;
}

.gallery-filter button:focus-visible {
  outline: 2px solid var(--rr-gold);
  outline-offset: 2px;
}

.gallery-grid {
  display: grid;
  gap: 2rem;
}

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

.ba-card {
  background-color: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-xl2);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: opacity 0.3s, transform 0.3s;
}

.ba-card.is-hidden {
  display: none;
}

.ba-room {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--rr-gold);
  padding: 1rem 1.25rem 0.5rem;
  margin: 0;
}

.ba-slider {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.ba-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-slider .ba-before {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}

.ba-slider .ba-after {
  z-index: 1;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 3;
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
}

.ba-handle::before,
.ba-handle::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
}

.ba-handle-grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--rr-gold);
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ba-handle-grip::before {
  content: "\2039\00a0\203A";
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.25rem;
  line-height: 1;
}

.ba-tag {
  position: absolute;
  bottom: 0.75rem;
  z-index: 4;
  padding: 0.3rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 9999px;
  pointer-events: none;
}

.ba-tag-before {
  left: 0.75rem;
  background: rgba(28, 28, 28, 0.75);
  color: #fff;
  backdrop-filter: blur(4px);
}

.ba-tag-after {
  right: 0.75rem;
  background: rgba(201, 163, 94, 0.85);
  color: #fff;
  backdrop-filter: blur(4px);
}

/* Page header (inner pages) */
.page-header {
  padding-top: 4rem;
  padding-bottom: 4rem;
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--rr-gold);
  margin: 0;
}

@media (min-width: 768px) {
  .page-header h1 { font-size: 3rem; }
}

/* Content block (inner pages) */
.content-block {
  max-width: 48rem;
  margin: 0 auto;
}

.content-block h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--rr-ink);
  margin: 2rem 0 1rem 0;
}

.content-block h2:first-child { margin-top: 0; }

.content-block p { margin: 0 0 1rem 0; }

.content-block ul {
  padding-left: 1.5rem;
  margin: 1rem 0;
}

.content-block .cta-wrap { padding-top: 1rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--rr-line-dark);
  background-color: var(--rr-charcoal);
  color: #fff;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.site-footer .container > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .site-footer .container > div:first-child {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--rr-gold);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-brand { text-align: left; }
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0.25rem 0 0 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

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

.footer-cta {
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* Mobile menu button */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

@media (min-width: 768px) {
  .menu-toggle { display: none; }
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--rr-gold);
  outline-offset: 2px;
}

.menu-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

.menu-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--rr-charcoal);
  border-bottom: 1px solid var(--rr-line-dark);
  padding: 1rem;
}

.menu-panel.is-open { display: block; }

@media (min-width: 768px) {
  .menu-panel { display: none !important; }
}

.menu-panel a {
  display: block;
  padding: 0.75rem;
  color: #fff;
  font-weight: 500;
}

.menu-panel a:hover { color: var(--rr-gold); }

.menu-panel .btn { margin-top: 0.5rem; }

/* Contact card */
.contact-card {
  border-radius: var(--radius-xl2);
  border: 1px solid var(--rr-line);
  background-color: rgba(255, 255, 255, 0.7);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.contact-card h2 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--rr-ink);
  margin: 0 0 0.5rem 0;
}

.contact-card p { margin: 0; }

.contact-card a {
  color: var(--rr-gold);
  font-weight: 500;
}

.contact-card a:hover { text-decoration: underline; }

/* About page image */
.about-image {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl2);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}
