/* Muralavo — brand palette from the logo */
:root {
  --ink: #3A2A20;
  --ink-soft: #6E5546;
  --bronze: #A47A4F;
  --bronze-light: #E3C79C;
  --cream: #F7F1E8;
  --dark: #1E1612;
  --line: #E8DED2;
  --white: #FFFFFF;
  --max: 1240px;
  --font: "Jost", "Futura", "Avenir Next", "Century Gothic", system-ui, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: var(--font); font-weight: 300; color: var(--ink);
  background: var(--white); line-height: 1.7; font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 300; line-height: 1.15; margin: 0; letter-spacing: .02em; }
p { margin: 0; }

.wrap { width: min(100% - 48px, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .38em; font-size: 12px; font-weight: 400;
  color: var(--bronze); margin-bottom: 18px;
}
.eyebrow.light { color: var(--bronze-light); }
.sub { color: var(--ink-soft); max-width: 560px; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; text-transform: uppercase;
  letter-spacing: .24em; font-size: 12.5px; font-weight: 400;
  padding: 16px 30px; border: 1px solid var(--ink); background: var(--ink); color: var(--white);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { background: var(--bronze); border-color: var(--bronze); }
.btn-small { padding: 10px 18px; font-size: 11px; }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light:hover { background: var(--bronze-light); border-color: var(--bronze-light); color: var(--ink); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px); transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) {
  text-decoration: none; text-transform: uppercase; letter-spacing: .22em; font-size: 12px; font-weight: 400;
  position: relative; padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--bronze);
  transition: width .3s var(--ease);
}
.nav a:not(.btn):hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 8px; right: 8px; height: 1.5px; background: var(--ink); transition: transform .3s; }
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: calc(100vh - 80px); min-height: calc(100svh - 80px); display: flex; align-items: flex-end; overflow: hidden; color: var(--white); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; animation: slowzoom 18s ease-out forwards; }
@keyframes slowzoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,13,9,.78) 0%, rgba(20,13,9,.35) 50%, rgba(20,13,9,.05) 100%), linear-gradient(0deg, rgba(20,13,9,.55), transparent 45%); }
.hero-content { position: relative; padding: 120px 0 90px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 88px); text-transform: uppercase; letter-spacing: .06em; font-weight: 300; }
.lede { max-width: 470px; margin-top: 24px; font-size: 18px; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* Promises */
.promises { border-bottom: 1px solid var(--line); }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.promise-grid > div { padding: 46px 28px; border-left: 1px solid var(--line); }
.promise-grid > div:first-child { border-left: 0; padding-left: 0; }
.num { display: block; color: var(--bronze); font-size: 13px; letter-spacing: .2em; margin-bottom: 12px; }
.promise-grid h3 { text-transform: uppercase; letter-spacing: .2em; font-size: 14px; font-weight: 400; margin-bottom: 10px; }
.promise-grid p { color: var(--ink-soft); font-size: 15px; }

/* Sections */
.section { padding: 120px 0; }
.section-tint { background: var(--cream); }
.section-head { margin-bottom: 56px; }
.section h2 { font-size: clamp(32px, 4vw, 52px); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }

/* Collection grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 28px; }
.card-media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--cream); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform .9s var(--ease); }
.card-media .room { position: absolute; inset: 0; opacity: 0; }
.card:hover .card-media.has-room .room { opacity: 1; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding-top: 18px; }
.card h3 { font-size: 16px; text-transform: uppercase; letter-spacing: .2em; font-weight: 400; }
.card p { color: var(--ink-soft); font-size: 14.5px; margin: 4px 0 12px; }
.card-cta { font-size: 11.5px; text-transform: uppercase; letter-spacing: .24em; color: var(--bronze); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.card-cta.muted { color: #A8998C; border-bottom-color: transparent; }

/* Spaces */
.spaces { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.space { margin: 0; position: relative; overflow: hidden; }
.space-wide { grid-column: span 2; }
.space img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; transition: transform 1.2s var(--ease); }
.space-wide img { aspect-ratio: 21 / 9; }
.space:hover img { transform: scale(1.03); }
.space figcaption {
  position: absolute; left: 24px; bottom: 22px; color: var(--white); text-transform: uppercase;
  letter-spacing: .2em; font-size: 15px; text-shadow: 0 1px 12px rgba(0,0,0,.45);
}
.space figcaption span { display: block; font-size: 11px; letter-spacing: .34em; color: var(--bronze-light); margin-bottom: 4px; }

/* Commissions split */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 90px; align-items: center; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-text > p { color: var(--ink-soft); margin-bottom: 28px; }
.steps { list-style: none; padding: 0; margin: 0 0 40px; counter-reset: s; }
.steps li { counter-increment: s; padding: 18px 0 18px 56px; border-top: 1px solid var(--line); position: relative; color: var(--ink-soft); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); position: absolute; left: 0; top: 18px; color: var(--bronze); letter-spacing: .15em; font-size: 13px; }
.steps strong { display: block; color: var(--ink); text-transform: uppercase; letter-spacing: .2em; font-size: 13px; font-weight: 400; margin-bottom: 2px; }

/* About (dark) */
.section-dark { background: var(--dark); color: #EFE4D3; }
.about { text-align: center; max-width: 820px; }
.about-mark { width: min(440px, 80%); height: auto; margin: 0 auto 44px; }
.about-text { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.8; color: #D9C9B4; }
.about-stats { display: flex; justify-content: center; gap: 70px; margin-top: 56px; flex-wrap: wrap; }
.about-stats strong { display: block; font-weight: 300; font-size: 26px; text-transform: uppercase; letter-spacing: .14em; color: var(--bronze-light); }
.about-stats span { font-size: 11.5px; text-transform: uppercase; letter-spacing: .3em; color: #A8957F; }

/* Shop CTA */
.shop-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.shop-icon { margin-bottom: 30px; }
.shop-inner .sub { margin: 0 auto 34px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 1px solid #DDD0C0; }
.contact-list li:last-child { border-bottom: 1px solid #DDD0C0; }
.contact-list span { text-transform: uppercase; letter-spacing: .26em; font-size: 12px; color: var(--bronze); }
.contact-list a { text-decoration: none; font-size: 17px; }
.contact-list a:hover { color: var(--bronze); }

/* Footer */
.site-footer { padding: 54px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-inner img { height: 36px; width: auto; }
.footer-inner nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-inner nav a { text-decoration: none; text-transform: uppercase; letter-spacing: .2em; font-size: 11.5px; }
.footer-inner nav a:hover { color: var(--bronze); }
.footer-inner p { font-size: 13px; color: var(--ink-soft); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-img { animation: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .nav { gap: 22px; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 80px 0 auto 0; background: var(--white); flex-direction: column; align-items: flex-start;
    gap: 0; padding: 10px 24px 30px; border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a:not(.btn) { padding: 16px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 20px; }
  .promise-grid { grid-template-columns: repeat(2, 1fr); }
  .promise-grid > div { padding: 32px 22px; }
  .promise-grid > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .promise-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 30px 18px; }
  .split, .contact { grid-template-columns: 1fr; gap: 48px; }
  .section { padding: 84px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand img { height: 36px; }
  .spaces { grid-template-columns: 1fr; }
  .space-wide { grid-column: auto; }
  .space img, .space-wide img { aspect-ratio: 4 / 3; }
  .hero-content { padding: 90px 0 60px; }
  .hero-shade { background: linear-gradient(0deg, rgba(20,13,9,.85) 10%, rgba(20,13,9,.25) 70%); }
  .about-stats { gap: 36px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
