/* ==========================================================================
   Velour — dark luxury interior template · archesign.studio
   1. Tokens  2. Base  3. Header  4. Components  5. Pages  6. Footer  7. Responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --emerald: #0f2a24;
  --deep: #0a1f1a;
  --brass: #c8a45c;
  --ivory: #f1ead9;
  --sage: #9fb2a8;
  --velvet: #6b2737;

  --font-display: "Italiana", "Didot", Georgia, serif;
  --font-sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(18px, 3.4vw, 52px);
  --max: 1360px;
  --space: clamp(96px, 12vw, 180px);
  --ease: cubic-bezier(.25, .6, .2, 1);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--emerald); color: var(--ivory); font: 300 16px/1.85 var(--font-sans); letter-spacing: .02em; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.2em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; margin: 0; line-height: 1.05; letter-spacing: .02em; }
h4 { font-family: var(--font-sans); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--brass); font-weight: 500; margin-bottom: 12px; }
:focus-visible { outline: 1px solid var(--brass); outline-offset: 4px; }
::selection { background: var(--brass); color: var(--deep); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brass); color: var(--deep); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--space) 0; }
.over { font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--brass); font-weight: 500; margin: 0 0 22px; display: flex; align-items: center; gap: 16px; }
.over::after { content: ""; height: 1px; width: 60px; background: var(--brass); opacity: .6; }
.center { text-align: center; }
.center .over { justify-content: center; }
.center .over::before { content: ""; height: 1px; width: 60px; background: var(--brass); opacity: .6; }
.sage { color: var(--sage); }
.mono { font-family: var(--font-display); color: var(--brass); border: 1px solid var(--brass); width: 44px; height: 44px; display: inline-grid; place-items: center; font-size: 18px; letter-spacing: .08em; }
.mono--lg { width: 96px; height: 96px; font-size: 38px; }

/* 3. Header ---------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--emerald); border-bottom: 1px solid rgba(200, 164, 92, .25); }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 92px; }
.logo { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.logo .word { font-size: 10px; letter-spacing: .5em; text-transform: uppercase; color: var(--sage); margin-right: -.5em; }
.nav { display: flex; gap: 40px; }
.nav--r { justify-content: flex-end; }
.nav a { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; padding: 6px 0; position: relative; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass); transform: scaleX(0); transition: transform .5s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brass); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-btn, .m-menu { display: none; }

/* 4. Components ------------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; gap: 14px; padding: 18px 34px; border: 1px solid var(--brass); color: var(--brass); font: 500 11px var(--font-sans); letter-spacing: .3em; text-transform: uppercase; background: transparent; cursor: pointer; transition: background .4s var(--ease), color .4s var(--ease); }
.btn:hover { background: var(--brass); color: var(--deep); }
.btn--solid { background: var(--brass); color: var(--deep); }
.btn--solid:hover { background: transparent; color: var(--brass); }
.framed { position: relative; }
.framed::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--brass); pointer-events: none; z-index: 0; transition: inset .6s var(--ease); }
.framed:hover::before { inset: 10px -10px -10px 10px; }
.framed img { position: relative; z-index: 1; width: 100%; aspect-ratio: var(--ratio, 4 / 3); object-fit: cover; }
.img img { width: 100%; aspect-ratio: var(--ratio, 4 / 3); object-fit: cover; }
.rule { height: 1px; background: rgba(200, 164, 92, .3); border: 0; margin: 0; }
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 1.6s var(--ease), transform 1.6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* 5. Pages ----------------------------------------------------------------- */
/* hero */
.hero { position: relative; min-height: min(88vh, 860px); display: grid; place-items: center; text-align: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(15, 42, 36, .25), rgba(10, 31, 26, .95) 75%); }
.hero-inner { position: relative; padding: 80px var(--gutter); }
.hero h1 { font-size: clamp(56px, 9vw, 150px); line-height: .95; margin: 28px 0 26px; }
.hero h1 i { font-style: normal; color: var(--brass); }
.hero p { max-width: 50ch; margin: 0 auto 40px; color: var(--sage); font-size: 17px; }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; width: 1px; height: 56px; background: linear-gradient(var(--brass), transparent); }

/* intro */
.intro { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 8vw, 140px); align-items: center; }
.intro h2 { font-size: clamp(40px, 4.8vw, 72px); }
.intro h2 i { font-style: normal; color: var(--brass); }

/* collection rows */
.rows { display: grid; gap: clamp(80px, 10vw, 150px); }
.row { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.row:nth-child(even) { grid-template-columns: 5fr 7fr; }
.row:nth-child(even) .framed { order: 2; }
.row .num { font-family: var(--font-display); font-size: 80px; color: var(--brass); line-height: 1; opacity: .8; }
.row h3 { font-size: clamp(36px, 4vw, 60px); margin: 12px 0 14px; }
.row .loc { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--sage); margin-bottom: 20px; }
.row[hidden] { display: none; }

/* materials */
.mats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.mat { text-align: center; }
.mat img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px 0 0; border: 1px solid rgba(200, 164, 92, .4); }
.mat h3 { font-size: 32px; margin-top: 22px; }
.mat p { font-size: 13px; color: var(--sage); margin: 6px 0 0; }

/* quote */
.quote { text-align: center; max-width: 980px; margin: 0 auto; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(30px, 3.8vw, 54px); line-height: 1.25; }
.quote cite { display: block; margin-top: 30px; font-style: normal; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--brass); }
.press { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px 60px; font-family: var(--font-display); font-size: 26px; color: var(--sage); }

/* page head */
.page-head { padding: clamp(64px, 9vw, 140px) 0 clamp(48px, 6vw, 96px); text-align: center; }
.page-head h1 { font-size: clamp(56px, 8.4vw, 140px); }
.page-head p { max-width: 54ch; margin: 24px auto 0; color: var(--sage); }
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 36px; margin-bottom: clamp(64px, 8vw, 110px); }
.filters button { background: none; border: 0; border-bottom: 1px solid transparent; color: var(--sage); font: 500 11px var(--font-sans); letter-spacing: .3em; text-transform: uppercase; padding: 8px 0; cursor: pointer; }
.filters button:hover { color: var(--ivory); }
.filters button[aria-pressed="true"] { color: var(--brass); border-bottom-color: var(--brass); }

/* residence */
.full { position: relative; }
.full img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.details { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(200, 164, 92, .35); border-bottom: 1px solid rgba(200, 164, 92, .35); }
.details div { padding: 28px 20px; text-align: center; }
.details div + div { border-left: 1px solid rgba(200, 164, 92, .2); }
.details dt { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--brass); }
.details dd { margin: 10px 0 0; font-family: var(--font-display); font-size: 26px; }
.prose { max-width: 680px; margin: 0 auto; font-size: 17px; }
.prose h2 { font-size: clamp(36px, 4vw, 58px); margin-bottom: 26px; text-align: center; }
.gallery { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--gutter); align-items: start; }
.gallery > :nth-child(2) { margin-top: 120px; }
.gallery > :nth-child(3) { margin-top: 40px; }

/* maison */
.founder { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(48px, 8vw, 140px); align-items: center; }
.signature { font-family: var(--font-display); font-size: 44px; color: var(--brass); margin-top: 18px; }
.atelier { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(200, 164, 92, .25); border: 1px solid rgba(200, 164, 92, .25); }
.atelier div { background: var(--emerald); padding: 40px 24px; text-align: center; }
.atelier b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(44px, 5vw, 76px); color: var(--brass); line-height: 1; }
.atelier span { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--sage); }

/* services */
.svc3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.svc { border: 1px solid rgba(200, 164, 92, .3); padding: 54px 36px 44px; text-align: center; transition: border-color .4s, background .4s; }
.svc:hover { border-color: var(--brass); background: var(--deep); }
.svc .roman { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--brass); color: var(--brass); font-family: var(--font-display); font-size: 24px; margin-bottom: 26px; }
.svc h3 { font-size: 34px; margin-bottom: 16px; }
.svc p { color: var(--sage); font-size: 15px; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 1px; background: rgba(200, 164, 92, .45); }
.timeline li { list-style: none; padding: 36px 18px 0 0; position: relative; }
.timeline li::before { content: ""; position: absolute; top: 4px; left: 0; width: 11px; height: 11px; transform: rotate(45deg); background: var(--brass); }
.timeline h3 { font-size: 26px; margin-bottom: 8px; }
.timeline p { color: var(--sage); font-size: 14px; }
.timeline { padding: 0; margin: 0; }
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid rgba(200, 164, 92, .3); padding: 26px 0; }
.faq details:first-child { border-top: 1px solid rgba(200, 164, 92, .3); }
.faq summary { cursor: pointer; list-style: none; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); display: flex; justify-content: space-between; gap: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brass); font-family: var(--font-sans); font-weight: 300; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 14px 0 0; color: var(--sage); }

/* contact */
.consult { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(48px, 7vw, 120px); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 30px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--brass); font-weight: 500; }
.field input, .field select, .field textarea { font: 300 18px var(--font-sans); color: var(--ivory); background: transparent; border: 0; border-bottom: 1px solid rgba(241, 234, 217, .3); padding: 12px 0; border-radius: 0; appearance: none; }
.field select option { color: var(--deep); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--brass); }
.form-note { grid-column: 1 / -1; border: 1px solid var(--brass); color: var(--brass); padding: 16px 20px; margin: 0; }
.offices { display: grid; gap: 40px; }
.office h3 { font-size: 40px; margin-bottom: 10px; }
.office p { color: var(--sage); margin: 0; }

/* 6. Footer ---------------------------------------------------------------- */
.site-footer { background: var(--deep); margin-top: var(--space); padding: clamp(80px, 10vw, 140px) 0 32px; border-top: 1px solid rgba(200, 164, 92, .25); }
.f-top { display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; padding-bottom: 72px; border-bottom: 1px solid rgba(200, 164, 92, .2); }
.f-title { font-family: var(--font-display); font-size: clamp(40px, 5.6vw, 88px); margin: 0; line-height: 1; }
.f-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); padding: 56px 0; font-size: 14px; color: var(--sage); }
.f-cols a:hover { color: var(--brass); }
.f-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #6f857b; border-top: 1px solid rgba(200, 164, 92, .15); padding-top: 24px; }

/* 7. Responsive ------------------------------------------------------------ */
@media (max-width: 1080px) {
  .svc3 { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .atelier { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  body { font-size: 15px; }
  .header-row { grid-template-columns: 1fr auto; height: 76px; }
  .nav { display: none; }
  .logo { flex-direction: row; gap: 12px; }
  .logo .word { font-size: 9px; letter-spacing: .36em; }
  .menu-btn { display: inline-block; background: none; border: 1px solid var(--brass); color: var(--brass); font: 500 10px var(--font-sans); letter-spacing: .3em; text-transform: uppercase; padding: 12px 16px; cursor: pointer; position: relative; z-index: 60; }
  .m-menu { display: flex; position: fixed; inset: 0; z-index: 55; background: var(--deep); flex-direction: column; align-items: center; justify-content: center; gap: 18px; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
  .m-menu a { font-family: var(--font-display); font-size: 42px; }
  .m-menu a:hover { color: var(--brass); }
  .m-menu .mono { margin-bottom: 20px; }
  .menu-open .m-menu { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
  .intro, .row, .row:nth-child(even), .founder, .consult, .form, .mats { grid-template-columns: 1fr; }
  .row:nth-child(even) .framed { order: 0; }
  .framed::before { inset: 10px -10px -10px 10px; }
  .details { grid-template-columns: 1fr 1fr; }
  .details div:nth-child(3) { border-left: 0; }
  .details div:nth-child(n+3) { border-top: 1px solid rgba(200, 164, 92, .2); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery > :nth-child(2) { margin-top: 60px; }
  .gallery > :nth-child(3) { display: none; }
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { top: 0; bottom: 0; left: 5px; right: auto; width: 1px; height: auto; }
  .timeline li { padding: 0 0 26px 34px; }
  .timeline li::before { top: 8px; }
  .f-cols { grid-template-columns: 1fr 1fr; }
  .mats { max-width: 360px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
