/* ============================================================
   Maison Nord — Interior Design Studio (editorial luxe, multipage)
   AnubTech demo
============================================================ */

:root {
  --ink: #26221d;
  --ink-2: #3a352e;
  --slate: #6a6157;
  --muted: #938a7d;
  --line: #e7e0d5;
  --bg: #faf6ef;        /* warm cream */
  --bg-2: #f2ebe0;
  --paper: #ffffff;
  --clay: #b5734f;      /* terracotta */
  --clay-dark: #9a5d3c;
  --sage: #7d8b6a;
  --gold: #c9a86a;
  --radius: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 14px rgba(38,34,29,.06);
  --shadow: 0 30px 70px -34px rgba(38,34,29,.4);
  --maxw: 1200px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.75; -webkit-font-smoothing: antialiased; font-weight: 300; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 28px; }
.section { padding: clamp(60px, 9vw, 128px) 0; }
.section--soft { background: var(--bg-2); }
.section--paper { background: var(--paper); }

.eyebrow { font-weight: 500; letter-spacing: .34em; text-transform: uppercase; font-size: .72rem; color: var(--clay); margin-bottom: 20px; }
.h1 { font-family: var(--font-display); font-size: clamp(2.6rem, 6.5vw, 5rem); font-weight: 500; letter-spacing: -.01em; line-height: 1.02; }
.h2 { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 500; letter-spacing: -.01em; line-height: 1.08; }
.h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; letter-spacing: 0; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--slate); font-weight: 300; }
.muted { color: var(--muted); }
.section__head { max-width: 680px; margin-bottom: 60px; }
.center { text-align: center; margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; font-family: var(--font-body); font-weight: 400; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; cursor: pointer; border: none; padding: 15px 32px; border-radius: 999px; transition: background .2s, color .2s, transform .2s, border-color .2s; }
.btn--lg { padding: 17px 40px; font-size: .82rem; }
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: var(--clay); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--bg); }
.btn--light { background: var(--bg); color: var(--ink); }
.btn--light:hover { background: var(--clay); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); }
.btn--ghost-light:hover { background: rgba(255,255,255,.14); border-color: #fff; }

/* Header */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; padding: 4px 0; }
.site-header--solid { position: sticky; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header--over.site-header--scrolled { position: fixed; background: var(--bg); border-bottom: 1px solid var(--line); animation: dropIn .4s ease; }
.site-header--over.site-header--scrolled .logo, .site-header--over.site-header--scrolled .nav-links > a, .site-header--over.site-header--scrolled .nav-toggle span { color: var(--ink); }
.site-header--over.site-header--scrolled .logo small { color: var(--clay); }
.site-header--over.site-header--scrolled .nav-links > a:hover { color: var(--clay); }
@keyframes dropIn { from { transform: translateY(-100%); } to { transform: none; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.logo { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; letter-spacing: .02em; line-height: 1; }
.logo small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .58rem; letter-spacing: .3em; text-transform: uppercase; color: var(--clay); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a { font-weight: 400; letter-spacing: .1em; text-transform: uppercase; font-size: .78rem; color: var(--ink); transition: color .2s; position: relative; }
.site-header--over .logo, .site-header--over .nav-links > a, .site-header--over .nav-toggle span { color: #fff; }
.site-header--over .logo small { color: var(--gold); }
.nav-links > a:hover { color: var(--clay); }
.site-header--over .nav-links > a:hover { color: var(--gold); }
.nav-links a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 1.5px; background: var(--ink); transition: .3s; }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; color: #fff; padding-bottom: clamp(60px, 9vw, 120px); }
.hero__bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(38,34,29,.35) 0%, rgba(38,34,29,.15) 40%, rgba(38,34,29,.75) 100%), url("../assets/img/hero-bg.jpg") center/cover no-repeat; }
.hero__inner { max-width: 820px; }
.hero .eyebrow { color: var(--gold); }
.hero__title { color: #fff; margin-bottom: 26px; }
.hero__lead { color: #f0e9dd; max-width: 560px; margin-bottom: 38px; font-size: 1.15rem; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Intro split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split__media--tall img { aspect-ratio: 3/4; }
.split__body p { color: var(--slate); margin-top: 22px; font-size: 1.06rem; }
.split__stats { display: flex; gap: 46px; margin-top: 40px; flex-wrap: wrap; }
.split__stats div strong { font-family: var(--font-display); display: block; font-size: 2.6rem; font-weight: 500; line-height: 1; color: var(--clay); }
.split__stats div span { color: var(--muted); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.svc { border-top: 1px solid var(--line); padding-top: 26px; }
.svc__num { font-family: var(--font-display); font-size: 1rem; color: var(--clay); letter-spacing: .1em; }
.svc h3 { margin: 12px 0 12px; }
.svc p { color: var(--slate); font-size: .98rem; }
.svc ul { list-style: none; margin-top: 16px; display: grid; gap: 7px; }
.svc li { font-size: .9rem; color: var(--muted); padding-left: 18px; position: relative; letter-spacing: .02em; }
.svc li::before { content: "—"; position: absolute; left: 0; color: var(--clay); }

/* Portfolio grid */
.filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.filter button { font-family: var(--font-body); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; padding: 9px 20px; border: 1px solid var(--line); background: transparent; color: var(--slate); border-radius: 999px; cursor: pointer; transition: .2s; }
.filter button:hover { border-color: var(--ink); color: var(--ink); }
.filter button.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.portfolio { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.pf-item { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink); cursor: pointer; }
.pf-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .7s, opacity .4s; }
.pf-item:hover img { transform: scale(1.06); opacity: .7; }
.pf-item__body { position: absolute; inset: auto 0 0 0; padding: 30px; color: #fff; background: linear-gradient(transparent, rgba(38,34,29,.85)); transform: translateY(10px); opacity: .95; transition: transform .35s; }
.pf-item:hover .pf-item__body { transform: none; }
.pf-item__cat { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.pf-item__body h3 { color: #fff; margin-top: 8px; }
.pf-item.is-hidden { display: none; }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.process__step { border-top: 1px solid var(--line); padding-top: 24px; }
.process__step .num { font-family: var(--font-display); font-size: 2.4rem; color: var(--clay); line-height: 1; }
.process__step h3 { font-size: 1.3rem; margin: 12px 0 8px; }
.process__step p { color: var(--slate); font-size: .95rem; }

/* Stats band */
.stats-band { background: var(--ink); color: var(--bg); }
.stats-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat-b { text-align: center; }
.stat-b strong { font-family: var(--font-display); display: block; font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 500; }
.stat-b span { color: #c9bfae; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }

/* Testimonial */
.testi { max-width: 860px; margin-inline: auto; text-align: center; }
.testi blockquote { font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 500; line-height: 1.3; font-style: italic; }
.testi__by { margin-top: 30px; }
.testi__by strong { font-weight: 500; letter-spacing: .06em; }
.testi__by span { display: block; color: var(--muted); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }

/* Quote band / CTA */
.cta { background: var(--clay); color: #fff; border-radius: var(--radius-lg); padding: clamp(46px, 7vw, 88px); text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: #f6e7dc; max-width: 540px; margin: 18px auto 32px; }

/* Page hero (inner) */
.page-hero { padding: clamp(130px, 16vw, 200px) 0 clamp(40px, 6vw, 70px); background: var(--bg-2); border-bottom: 1px solid var(--line); }
.page-hero .lead { margin-top: 16px; max-width: 640px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; }
.contact-info { list-style: none; }
.contact-info li { margin-bottom: 30px; }
.contact-info .lbl { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--clay); margin-bottom: 6px; }
.contact-info .val { font-family: var(--font-display); font-size: 1.5rem; }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; color: var(--ink); background: var(--bg); transition: border .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--clay); }
.form-note { margin-top: 16px; text-align: center; letter-spacing: .04em; color: var(--sage); font-weight: 400; }

/* Footer */
.site-footer { background: var(--ink); color: #c9bfae; padding-top: 80px; }
.site-footer__grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.site-footer .logo { color: #fff; margin-bottom: 18px; }
.site-footer p { color: #a89e8d; font-size: .96rem; max-width: 300px; }
.site-footer h4 { color: #fff; font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 11px; }
.site-footer ul a, .site-footer ul li { color: #a89e8d; font-size: .92rem; letter-spacing: .03em; }
.site-footer ul a:hover { color: #fff; }
.site-footer__base { border-top: 1px solid rgba(255,255,255,.12); padding: 26px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #8a8072; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s, transform .8s; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 920px) {
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(80vw, 340px); flex-direction: column; align-items: flex-start; justify-content: center; gap: 30px; background: var(--ink); padding: 48px; transform: translateX(100%); transition: transform .4s; }
  .nav-links.is-open { transform: none; }
  .nav-links a, .site-header--over .nav-links > a { color: #fff !important; font-size: 1rem; }
  .nav-toggle { display: flex; z-index: 60; }
  .split, .split--reverse .split__media, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .svc-grid, .process { grid-template-columns: 1fr 1fr; }
  .stats-4 { grid-template-columns: 1fr 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .portfolio, .svc-grid, .process, .stats-4, .form-row { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  /* Mobile hero: center the text (bottom-align left a big image void on tall
     phones) and use svh so buttons are never hidden behind browser chrome. */
  .hero {
    min-height: 100svh;
    align-items: center;
    padding-top: 108px;
    padding-bottom: 56px;
  }
  .hero__title { margin-bottom: 20px; }
  .hero__lead { font-size: 1.05rem; margin-bottom: 30px; }
}
