:root {
  --ink: #1a1716;
  --muted: #6a615d;
  --line: rgba(26, 23, 22, 0.12);
  --blush: #efe6e2;
  --rose: #8f6a63;
  --pearl: #f7f3f1;
  --veil: linear-gradient(
    160deg,
    rgba(18, 14, 13, 0.72) 0%,
    rgba(18, 14, 13, 0.4) 48%,
    rgba(18, 14, 13, 0.55) 100%
  );
  --font: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(1.1rem, 4.5vw, 3.5rem);
  --header-h: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--pearl);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
.service-name,
.contact-value {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: calc(0.65rem + env(safe-area-inset-top)) var(--pad) 0.65rem;
  pointer-events: none;
}

.header-bar {
  pointer-events: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem;
  min-height: calc(var(--header-h) - 1.3rem);
  padding: 0.55rem 0.7rem 0.55rem 0.85rem;
  border: 1px solid transparent;
  background: transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}

.site-header.is-scrolled .header-bar,
.site-header.is-open .header-bar {
  background: rgba(247, 243, 241, 0.88);
  border-color: rgba(26, 23, 22, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(26, 23, 22, 0.06);
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
  z-index: 2;
}

.logo img {
  height: 2.15rem;
  width: auto;
  transition: height 0.35s var(--ease);
}

.site-header.is-scrolled .logo img {
  height: 1.95rem;
}

.nav-desktop {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  z-index: 2;
}

.header-cta {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.45rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid rgba(26, 23, 22, 0.22);
  background: transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.header-cta:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #f6f1ef;
}

.menu-toggle {
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid rgba(26, 23, 22, 0.16);
  background: rgba(247, 243, 241, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.menu-toggle:hover {
  background: #fff;
  border-color: rgba(26, 23, 22, 0.28);
}

.menu-toggle-lines {
  position: relative;
  width: 1.05rem;
  height: 0.72rem;
  display: block;
}

.menu-toggle-lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease),
    top 0.35s var(--ease);
}

.menu-toggle-lines span:nth-child(1) {
  top: 0;
}

.menu-toggle-lines span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.menu-toggle-lines span:nth-child(3) {
  bottom: 0;
  top: auto;
}

.site-header.is-open .menu-toggle {
  background: #fff;
  border-color: rgba(26, 23, 22, 0.22);
}

.site-header.is-open .menu-toggle-lines span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.site-header.is-open .menu-toggle-lines span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle-lines span:nth-child(3) {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%) rotate(-45deg);
}

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: block;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 14, 13, 0.28);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.mobile-nav.is-visible .mobile-nav-backdrop {
  opacity: 1;
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 22.5rem);
  height: 100%;
  padding: calc(var(--header-h) + env(safe-area-inset-top) + 1.25rem)
    1.5rem calc(1.75rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, #f8f3f1 0%, #efe6e2 100%);
  border-left: 1px solid rgba(26, 23, 22, 0.08);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  box-shadow: -18px 0 50px rgba(26, 23, 22, 0.12);
}

.mobile-nav.is-visible .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-label {
  margin: 0 0 1.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.mobile-nav-links a {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(26, 23, 22, 0.1);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  opacity: 0;
  transform: translateX(1rem);
  transition: color 0.25s var(--ease), opacity 0.4s var(--ease),
    transform 0.4s var(--ease);
}

.mobile-nav.is-visible .mobile-nav-links a {
  opacity: 1;
  transform: none;
}

.mobile-nav.is-visible .mobile-nav-links a:nth-child(1) {
  transition-delay: 0.08s;
}

.mobile-nav.is-visible .mobile-nav-links a:nth-child(2) {
  transition-delay: 0.14s;
}

.mobile-nav.is-visible .mobile-nav-links a:nth-child(3) {
  transition-delay: 0.2s;
}

.mobile-nav-links a span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--rose);
}

.mobile-nav-links a:hover,
.mobile-nav-links a:focus-visible {
  color: var(--rose);
}

.mobile-nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  margin-top: 1.5rem;
  padding: 0.9rem 1.2rem;
  background: var(--ink);
  color: #f6f1ef;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(0.75rem);
  transition: background 0.25s var(--ease), opacity 0.4s var(--ease) 0.24s,
    transform 0.4s var(--ease) 0.24s;
}

.mobile-nav.is-visible .mobile-nav-cta {
  opacity: 1;
  transform: none;
}

.mobile-nav-cta:hover {
  background: #000;
}

@media (min-width: 900px) {
  .site-header {
    padding-top: calc(1rem + env(safe-area-inset-top));
  }

  .header-bar {
    grid-template-columns: 1fr auto 1fr;
    padding: 0.65rem 1rem 0.65rem 1.15rem;
  }

  .logo img {
    height: 2.4rem;
  }

  .site-header.is-scrolled .logo img {
    height: 2.15rem;
  }

  .nav-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
  }

  .nav-desktop a {
    position: relative;
    padding: 0.55rem 0.95rem;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.25s var(--ease);
  }

  .nav-desktop a::after {
    content: "";
    position: absolute;
    left: 0.95rem;
    right: 0.95rem;
    bottom: 0.3rem;
    height: 1px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s var(--ease);
  }

  .nav-desktop a:hover,
  .nav-desktop a:focus-visible {
    color: var(--ink);
  }

  .nav-desktop a:hover::after,
  .nav-desktop a:focus-visible::after {
    transform: scaleX(1);
  }

  .header-cta {
    display: inline-flex;
  }

  .menu-toggle,
  .mobile-nav {
    display: none !important;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.05);
  animation: hero-zoom 11s var(--ease) forwards;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background: var(--veil);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  padding: calc(var(--header-h) + 1.75rem) var(--pad)
    calc(clamp(2.5rem, 8vw, 5rem) + env(safe-area-inset-bottom));
  color: #f6f1ef;
}

.brand {
  margin: 0 0 1rem;
  line-height: 0;
  opacity: 0;
  animation: rise 0.85s var(--ease) 0.12s forwards;
}

.brand-logo {
  width: min(15.5rem, 78vw);
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.18));
}

.hero h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.35rem, 5.5vw, 1.95rem);
  font-weight: 500;
  line-height: 1.3;
  max-width: 18ch;
  letter-spacing: -0.025em;
  opacity: 0;
  animation: rise 0.85s var(--ease) 0.26s forwards;
}

.lede {
  margin: 0 0 1.6rem;
  max-width: 34ch;
  color: rgba(246, 241, 239, 0.82);
  font-weight: 400;
  font-size: 0.98rem;
  opacity: 0;
  animation: rise 0.85s var(--ease) 0.4s forwards;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: rise 0.85s var(--ease) 0.54s forwards;
}

.contact-actions {
  opacity: 1;
  animation: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #f3ece9;
  color: var(--ink);
}

.btn-primary:hover {
  background: #fff;
}

.btn-ghost {
  border: 1px solid rgba(246, 241, 239, 0.4);
  color: #f6f1ef;
}

.btn-ghost:hover {
  border-color: #f6f1ef;
}

.btn-dark {
  background: var(--ink);
  color: #f6f1ef;
}

.btn-dark:hover {
  background: #000;
}

.btn-outline {
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink);
}

/* Services */
.services,
.gallery,
.about {
  padding: clamp(3.25rem, 9vw, 6.5rem) var(--pad);
}

.about {
  padding-top: 0;
}

.section-intro {
  max-width: 32rem;
  margin-bottom: clamp(1.75rem, 5vw, 3.25rem);
}

.section-intro h2,
.about-copy h2,
.contact h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.55rem, 6vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
}

.section-intro p,
.about-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.services-layout {
  display: grid;
  gap: clamp(1.75rem, 5vw, 3.5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .services-layout {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .services-visual {
    order: 0;
  }
}

@media (max-width: 899px) {
  .services-visual {
    order: -1;
  }
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-list li {
  display: grid;
  gap: 0.3rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.service-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.service-list li.is-visible {
  opacity: 1;
  transform: none;
}

.service-name {
  font-size: 1.08rem;
  font-weight: 600;
}

.service-desc {
  color: var(--muted);
  max-width: 38ch;
  font-size: 0.94rem;
}

.services-visual {
  margin: 0;
  overflow: hidden;
}

.services-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
  max-height: 420px;
  transition: transform 1.1s var(--ease);
}

@media (min-width: 900px) {
  .services-visual img {
    min-height: 360px;
    max-height: 560px;
  }
}

.services-visual:hover img {
  transform: scale(1.03);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
  }
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.gallery-grid figure:hover img {
  transform: scale(1.04);
}

/* About */
.about-copy {
  max-width: 34rem;
}

.about-copy p + p {
  margin-top: 0.9rem;
}

/* Contact */
.contact {
  padding: 0 var(--pad) clamp(3.25rem, 9vw, 6.5rem);
}

.contact-inner {
  padding: clamp(1.75rem, 5vw, 3.75rem);
  background: var(--blush);
  border-top: 1px solid var(--line);
}

.contact-lead {
  max-width: 36ch;
  color: var(--muted);
  margin: 0 0 1.5rem;
  font-size: 0.98rem;
}

.contact-grid {
  display: grid;
  gap: 1.15rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 34rem;
  }
}

.contact-link {
  display: grid;
  gap: 0.25rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
  transition: color 0.25s var(--ease);
}

.contact-link:hover {
  color: var(--rose);
}

.contact-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
}

.contact-value {
  font-size: clamp(1.05rem, 4vw, 1.2rem);
  font-weight: 600;
  word-break: break-word;
}

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1.25rem var(--pad) calc(1.5rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.footer-brand img {
  height: 1.9rem;
  width: auto;
}

.footer-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

/* Mobile refinements */
@media (max-width: 899px) {
  .hero-content .cta-row {
    width: 100%;
  }

  .hero-content .btn {
    flex: 1 1 100%;
  }

  .contact-actions {
    width: 100%;
  }

  .contact-actions .btn {
    flex: 1 1 calc(50% - 0.4rem);
    min-width: 0;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 380px) {
  .contact-actions .btn {
    flex: 1 1 100%;
  }
}

/* Motion */
@keyframes hero-zoom {
  to {
    transform: scale(1);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-img,
  .brand,
  .hero h1,
  .lede,
  .cta-row,
  .reveal,
  .service-list li {
    opacity: 1;
    transform: none;
  }
}
