:root {
  --cream: #E7DED4;
  --cream-light: #F0E8DD;
  --espresso: #3F2F20;
  --espresso-deep: #2A1F15;
  --tan: #B1A08D;
  --tan-light: #C6B8A7;
  --tan-deep: #8E7E6C;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--espresso);
  font-weight: 400;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navigation */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(231, 222, 212, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(63, 47, 32, 0.08);
  padding: 1.1rem 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.nav-mark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}
.nav-mark img { width: 36px; height: 36px; }
.nav-mark span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--espresso);
  font-variation-settings: "opsz" 18, "SOFT" 50;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--espresso);
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--espresso);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* Page fade-in on load */
main { animation: fadeIn 0.5s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero */
.hero {
  padding: 4.5rem 0 5.5rem;
  text-align: center;
}
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--tan-deep);
  margin-bottom: 2.5rem;
  font-weight: 500;
}
.hero-logo {
  width: 200px;
  height: 200px;
  margin: 0 auto 2.5rem;
  display: block;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--espresso-deep);
  margin-bottom: 1.75rem;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.hero h1 .italic {
  font-style: italic;
  font-weight: 400;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--espresso);
  opacity: 0.78;
  max-width: 580px;
  margin: 0 auto 2.75rem;
  line-height: 1.65;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.95rem 2rem;
  font-family: var(--font-body);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-primary {
  background: var(--espresso);
  color: var(--cream);
}
.btn-primary:hover { background: var(--espresso-deep); }
.btn-secondary {
  background: transparent;
  color: var(--espresso);
  border: 1px solid var(--espresso);
}
.btn-secondary:hover {
  background: var(--espresso);
  color: var(--cream);
}

/* Section rule */
.rule {
  width: 60px;
  height: 1px;
  background: var(--tan);
  margin: 0 auto 2.5rem;
}

/* Philosophy block */
.philosophy {
  padding: 4.5rem 0;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.philosophy h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  line-height: 1.45;
  color: var(--espresso-deep);
  margin-bottom: 2rem;
  font-variation-settings: "opsz" 144, "SOFT" 80;
}
.philosophy p {
  font-size: 1.02rem;
  color: var(--espresso);
  opacity: 0.8;
  max-width: 540px;
  margin: 0 auto;
}

/* Pillars */
.pillars {
  padding: 5rem 0 6rem;
  border-top: 1px solid rgba(63, 47, 32, 0.12);
}
.section-label {
  text-align: center;
  margin-bottom: 4rem;
}
.section-label .eyebrow { margin-bottom: 1rem; }
.section-label h3 {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: var(--espresso-deep);
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.pillar {
  text-align: center;
  padding: 2rem 1rem;
}
.pillar-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 3rem;
  color: var(--tan);
  margin-bottom: 0.75rem;
  line-height: 1;
}
.pillar h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--espresso-deep);
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}
.pillar p {
  color: var(--espresso);
  opacity: 0.8;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Page headers */
.page-header {
  padding: 5rem 0 3rem;
  text-align: center;
}
.page-header .eyebrow { margin-bottom: 1.25rem; }
.page-header h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--espresso-deep);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
.page-header h1 .italic { font-style: italic; font-weight: 350; }
.page-header .lead {
  font-size: 1.05rem;
  color: var(--espresso);
  opacity: 0.75;
  max-width: 560px;
  margin: 0 auto;
}

/* Inspiration gallery */
.gallery { padding: 2rem 0 6rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--tan-light);
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(42, 31, 21, 0.35) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item:hover::after { opacity: 1; }

.gallery-item.span-2 { grid-column: span 2; aspect-ratio: 3 / 4; }
.gallery-item.span-3 { grid-column: span 3; aspect-ratio: 4 / 5; }
.gallery-item.span-4 { grid-column: span 4; aspect-ratio: 4 / 3; }
.gallery-item.feature-hero {
  grid-column: 2 / span 4;
  aspect-ratio: 4 / 5;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(42, 31, 21, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 2rem;
  cursor: zoom-out;
  animation: lbFade 0.25s ease;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: 1px solid rgba(231, 222, 212, 0.4);
  color: var(--cream);
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: var(--font-body);
}
.lightbox-close:hover { background: rgba(231, 222, 212, 0.15); }
@keyframes lbFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Services list */
.services-list {
  padding: 2rem 0 6rem;
  max-width: 880px;
  margin: 0 auto;
}
.service-item {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(63, 47, 32, 0.12);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 3rem;
  align-items: start;
}
.service-item:last-child { border-bottom: none; }
.service-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 3rem;
  color: var(--tan);
  line-height: 1;
}
.service-content h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.75rem;
  color: var(--espresso-deep);
  margin-bottom: 1.25rem;
  font-variation-settings: "opsz" 72, "SOFT" 50;
}
.service-content p {
  color: var(--espresso);
  opacity: 0.85;
  margin-bottom: 1.25rem;
  max-width: 620px;
}
.service-features { list-style: none; margin-top: 1.5rem; }
.service-features li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  color: var(--espresso);
  opacity: 0.85;
  font-size: 0.95rem;
}
.service-features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--tan);
}

/* Contact */
.contact-stack {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 0 6rem;
  text-align: center;
}
.contact-email-hero {
  padding: 1.5rem 0 3rem;
}
.contact-email-hero .eyebrow {
  margin-bottom: 1.5rem;
}
.contact-email-display {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 350;
  font-style: italic;
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  line-height: 1.2;
  color: var(--espresso-deep);
  text-decoration: none;
  margin-bottom: 2.25rem;
  letter-spacing: -0.005em;
  font-variation-settings: "opsz" 144, "SOFT" 80;
  transition: color 0.25s ease;
}
.contact-email-display:hover { color: var(--tan-deep); }
.contact-divider {
  width: 60px;
  height: 1px;
  background: var(--tan);
  margin: 1rem auto 3rem;
}
.contact-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  padding-top: 1rem;
}
.contact-block { text-align: center; }
.contact-block .eyebrow { margin-bottom: 0.7rem; }
.contact-block-value {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: 1.2rem;
  color: var(--espresso-deep);
  line-height: 1.45;
  font-variation-settings: "opsz" 32, "SOFT" 30;
}
.contact-block-value a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
  border-bottom: 1px solid transparent;
}
.contact-block-value a:hover {
  color: var(--tan-deep);
  border-bottom-color: var(--tan);
}

/* Footer */
footer {
  border-top: 1px solid rgba(63, 47, 32, 0.12);
  padding: 3rem 0;
  text-align: center;
}
.footer-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--espresso-deep);
  margin-bottom: 0.5rem;
}
.footer-text {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--tan-deep);
}

/* Mobile */
@media (max-width: 768px) {
  .container, .nav-inner { padding: 0 1.25rem; }
  .nav-links { gap: 1.1rem; }
  .nav-links a { font-size: 0.65rem; letter-spacing: 0.14em; }
  .nav-mark span { display: none; }
  .pillars-grid { grid-template-columns: 1fr; gap: 1rem; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
  .gallery-item.span-2 { grid-column: span 2; }
  .gallery-item.span-3 { grid-column: span 4; aspect-ratio: 4 / 5; }
  .gallery-item.span-4 { grid-column: span 4; }
  .gallery-item.feature-hero { grid-column: span 4; aspect-ratio: 4 / 5; }
  .contact-details { grid-template-columns: 1fr; gap: 2.25rem; }
  .service-item { grid-template-columns: 1fr; gap: 0.75rem; padding: 3rem 0; }
  .hero { padding: 3rem 0 4rem; }
  .hero-logo { width: 150px; height: 150px; }
}
