/* Muse Interior Design — Prototype styles
   Editorial luxury, warm paper palette, restrained brass hairlines.
*/

:root {
  --paper: #FBF9F6;
  --sand:  #F0EBE3;
  --line:  #E2DAD0;
  --hair:  #D9D0C4;
  --ink:   #1A1714;
  --noir:  #0E0C0A;
  --muted: #6B635A;
  --brass: #A8843E;
  --brass-soft: #C9A974;
  --whatsapp: #25D366;

  --serif: "Cormorant Garamond", "Cormorant", "Times New Roman", serif;
  --sans:  "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;

  --maxw: 1480px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--paper); color: var(--ink); }
body { font-family: var(--sans); font-weight: 400; -webkit-font-smoothing: antialiased; font-feature-settings: "ss01","ss02"; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ---------- type ---------- */
.display { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 0.98; }
.display em { font-style: italic; font-weight: 400; color: var(--brass); }
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.lede { font-family: var(--serif); font-size: clamp(20px, 1.6vw, 26px); line-height: 1.35; color: var(--ink); }
.body { font-size: 15.5px; line-height: 1.65; color: #36302A; }
.smallcaps { font-variant: all-small-caps; letter-spacing: 0.12em; }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.hairline { height: 1px; background: var(--line); width: 100%; }
.hairline-brass { height: 1px; background: var(--brass); width: 100%; opacity: 0.6; }
.col-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 80px); }
.col-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 40px); }
.col-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 1.8vw, 32px); }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.gap-4 { gap: 4px; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; } .gap-32 { gap: 32px; }

/* ---------- top bar / nav ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 249, 246, 0.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 76px; gap: 24px;
}
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand .mark {
  font-family: var(--serif); font-size: 24px; letter-spacing: 0.04em;
  font-weight: 500;
}
.brand .mark em { font-style: italic; color: var(--brass); font-weight: 400; }
.brand .sub { font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; gap: clamp(18px, 2vw, 32px); justify-content: center; }
.nav button {
  background: none; border: 0; padding: 6px 2px;
  font-family: var(--sans); font-size: 13.5px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--ink); position: relative;
}
.nav button[aria-current="true"] { color: var(--brass); }
.nav button[aria-current="true"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--brass);
}
.nav button:hover { color: var(--brass); }

.topbar .right { display: flex; gap: 16px; justify-content: flex-end; align-items: center; }
.locale {
  display: inline-flex; gap: 4px; align-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--muted);
}
.locale button {
  background: none; border: 0; padding: 4px 6px; font-family: inherit; font-size: inherit;
  color: var(--muted);
}
.locale button.on { color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink); border-radius: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn:hover { background: var(--noir); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--ink); border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-brass {
  background: transparent; color: var(--ink); border: 1px solid var(--brass);
}
.btn-brass:hover { background: var(--brass); color: var(--paper); }
.btn-sm { padding: 8px 14px; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.btn-arrow::after {
  content: "→"; font-family: var(--serif); margin-left: 4px;
}
.btn-arrow.brass::after { color: var(--brass); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  border-bottom: 1px solid var(--ink); padding-bottom: 4px;
}
.link-arrow:hover { color: var(--brass); border-color: var(--brass); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid; grid-template-rows: 1fr auto;
  overflow: hidden;
  background: var(--noir);
  color: var(--paper);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.58) saturate(1.0) contrast(0.96);
}
.hero-vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,12,10,0.55) 0%, rgba(14,12,10,0.15) 30%, rgba(14,12,10,0.15) 55%, rgba(14,12,10,0.75) 100%),
    radial-gradient(ellipse at 25% 60%, rgba(14,12,10,0.55) 0%, rgba(14,12,10,0.0) 60%);
}
.hero-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.06;
  background-image: radial-gradient(rgba(255,255,255,0.6) 1px, transparent 1px);
  background-size: 3px 3px;
}
.hero-inner {
  position: relative; z-index: 2;
  padding: clamp(140px, 18vh, 220px) var(--gutter) clamp(60px, 8vh, 100px);
  max-width: var(--maxw); margin: 0 auto; width: 100%;
}
.hero h1 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em;
  font-size: clamp(48px, 8.8vw, 132px); line-height: 0.94;
  margin: 0; color: var(--paper);
  text-wrap: balance;
  text-shadow: 0 2px 32px rgba(0,0,0,0.45), 0 1px 2px rgba(0,0,0,0.35);
}
.hero h1 em { font-style: italic; color: var(--brass-soft); font-weight: 300; }
.hero .meta {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  padding: 32px var(--gutter) 32px;
  max-width: var(--maxw); margin: 0 auto; width: 100%;
  border-top: 1px solid rgba(232, 218, 199, 0.22);
  position: relative; z-index: 2;
}
.hero .meta .label { color: rgba(232, 218, 199, 0.7); }
.hero .meta .credit { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; color: rgba(232,218,199,0.55); text-transform: uppercase; }

.hero-aside {
  position: absolute; top: 96px; right: var(--gutter); z-index: 3;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(232,218,199,0.55);
}

/* ---------- sections ---------- */
.section { padding: clamp(80px, 12vh, 160px) 0; }
.section.tight { padding: clamp(56px, 8vh, 100px) 0; }
.section.dark { background: var(--noir); color: var(--paper); }
.section.sand { background: var(--sand); }

.section-head {
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline;
  gap: 24px; margin-bottom: clamp(40px, 6vh, 72px);
}
.section-head .roman { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--brass); }
.section-head h2 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -0.012em;
  font-size: clamp(32px, 4.4vw, 64px); line-height: 1.0;
  margin: 0; max-width: 16ch;
}
.section-head .aside {
  max-width: 30ch; text-align: right; color: var(--muted); font-size: 13.5px; line-height: 1.55;
}
.section.dark .section-head h2 { color: var(--paper); }
.section.dark .section-head .aside { color: rgba(251,249,246,0.7); }

/* ---------- sector tiles ---------- */
.sector-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 1.6vw, 24px);
}
.sector { position: relative; overflow: hidden; cursor: pointer; }
.sector.lg { grid-column: span 7; aspect-ratio: 4/3; }
.sector.md { grid-column: span 5; aspect-ratio: 4/3; }
.sector.sm { grid-column: span 4; aspect-ratio: 1/1; }
.sector .img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.8s ease; }
.sector:hover .img { transform: scale(1.04); }
.sector .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.65) 100%); }
.sector .label-block { position: absolute; left: 24px; right: 24px; bottom: 22px; color: var(--paper); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.sector .label-block h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 2.6vw, 40px); margin: 0; line-height: 1; }
.sector .label-block .count { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; opacity: 0.85; }
.sector .corner-idx { position: absolute; top: 22px; left: 24px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em; color: rgba(255,255,255,0.85); }

/* ---------- featured grid ---------- */
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 56px); }
.feat-card { cursor: pointer; }
.feat-card .frame {
  aspect-ratio: 4/5; background-size: cover; background-position: center;
  position: relative; overflow: hidden;
}
.feat-card .frame .img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.8s ease; }
.feat-card:hover .frame .img { transform: scale(1.03); }
.feat-card .meta { display: flex; justify-content: space-between; padding-top: 18px; gap: 16px; border-top: 1px solid var(--line); margin-top: 18px; }
.feat-card .idx { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; color: var(--brass); }
.feat-card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 1.8vw, 30px); margin: 0; line-height: 1.05; }
.feat-card .submeta { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase; }

/* ---------- project grid (Projects page) ---------- */
.proj-toolbar {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  background: transparent; border: 1px solid var(--line);
  padding: 7px 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink); border-radius: 999px;
  transition: all 0.15s ease;
}
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.view-toggle { display: flex; gap: 4px; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; }
.view-toggle button {
  background: transparent; border: 0; padding: 6px 10px; color: var(--muted);
  font-family: inherit; font-size: inherit; letter-spacing: inherit; text-transform: inherit;
}
.view-toggle button.on { color: var(--ink); }

.proj-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 2vw, 36px) clamp(20px, 2vw, 32px); }
.proj-cell.s4 { grid-column: span 4; }
.proj-cell.s6 { grid-column: span 6; }
.proj-cell.s8 { grid-column: span 8; }
.proj-cell.s12 { grid-column: span 12; }
.proj-card { cursor: pointer; }
.proj-card .frame { aspect-ratio: 4/3; position: relative; overflow: hidden; background: var(--sand); }
.proj-card .frame .img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.7s ease; }
.proj-card:hover .frame .img { transform: scale(1.035); }
.proj-card.tall .frame { aspect-ratio: 3/4; }
.proj-card.wide .frame { aspect-ratio: 16/10; }
.proj-card .meta { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: baseline; padding-top: 14px; }
.proj-card .idx { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em; color: var(--brass); }
.proj-card .title { font-family: var(--serif); font-size: 22px; line-height: 1.15; font-weight: 400; }
.proj-card .submeta { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase; text-align: right; }

/* ---------- list view ---------- */
.proj-list { display: flex; flex-direction: column; }
.proj-row {
  display: grid; grid-template-columns: 60px 1.4fr 1fr 1fr 0.8fr 100px;
  align-items: center; gap: 24px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  cursor: pointer; transition: background 0.15s ease;
}
.proj-row:hover { background: rgba(168,132,62,0.04); }
.proj-row .idx { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--brass); }
.proj-row .title { font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1.1; }
.proj-row .cell { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; }
.proj-row .thumb { width: 80px; height: 60px; background-size: cover; background-position: center; justify-self: end; }

/* ---------- case study ---------- */
.case-hero {
  height: 88vh; min-height: 580px; max-height: 820px;
  position: relative; overflow: hidden; background: var(--noir);
}
.case-hero .img { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(0.86); }
.case-hero .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.0) 30%, rgba(0,0,0,0.0) 60%, rgba(0,0,0,0.55) 100%); }
.case-hero .label-grid {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--gutter) 44px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  color: var(--paper);
}
.case-hero h1 {
  font-family: var(--serif); font-weight: 300; letter-spacing: -0.012em;
  font-size: clamp(40px, 6vw, 92px); line-height: 0.96; margin: 0; max-width: 16ch;
}
.case-hero h1 em { font-style: italic; color: var(--brass-soft); font-weight: 300; }
.case-hero .crumbs { display: flex; gap: 8px; align-items: center; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(251,249,246,0.7); margin-bottom: 24px; }
.case-hero .right-meta { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(251,249,246,0.75); text-align: right; line-height: 1.8; }

.case-meta-row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
  padding: 32px 0; border-bottom: 1px solid var(--line);
}
.case-meta-row .item .label { display: block; margin-bottom: 6px; }
.case-meta-row .item .val { font-family: var(--serif); font-size: 20px; line-height: 1.2; }

.case-section { padding: clamp(72px, 10vh, 120px) 0; }
.case-2col { display: grid; grid-template-columns: 0.6fr 1fr; gap: clamp(40px, 6vw, 96px); }

.gallery {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 1.6vw, 24px);
}
.gallery .g {
  background-size: cover; background-position: center; cursor: zoom-in; transition: transform 0.6s ease;
}
.gallery .g:hover { transform: scale(1.005); }
.gallery .g.full { grid-column: span 12; aspect-ratio: 16/8; }
.gallery .g.half { grid-column: span 6; aspect-ratio: 4/3; }
.gallery .g.third { grid-column: span 4; aspect-ratio: 3/4; }

/* ---------- materials strip ---------- */
.materials { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.material { padding: 28px 28px 32px; border-right: 1px solid var(--line); }
.material:last-child { border-right: 0; }
.material .swatch { width: 56px; height: 56px; margin-bottom: 16px; border: 1px solid var(--line); }
.material h4 { font-family: var(--serif); font-weight: 400; font-size: 19px; margin: 0 0 6px; }
.material p { font-size: 13px; line-height: 1.55; color: var(--muted); margin: 0; }

/* ---------- process strip ---------- */
.process {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  border-top: 1px solid rgba(232, 218, 199, 0.22); border-bottom: 1px solid rgba(232, 218, 199, 0.22);
}
.step { padding: 36px 24px 40px; border-right: 1px solid rgba(232, 218, 199, 0.18); position: relative; }
.step:last-child { border-right: 0; }
.step .num { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.24em; color: var(--brass-soft); }
.step h4 { font-family: var(--serif); font-weight: 300; font-size: 26px; margin: 18px 0 10px; color: var(--paper); }
.step p { font-size: 13px; line-height: 1.5; color: rgba(251,249,246,0.72); margin: 0; }

/* ---------- recognition ---------- */
.recognition { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 0; align-items: stretch; }
.recognition .cell { padding: 36px 36px; border-right: 1px solid var(--line); }
.recognition .cell:last-child { border-right: 0; }
.recognition .award-rank { font-family: var(--serif); font-size: clamp(60px, 6vw, 96px); line-height: 0.9; color: var(--brass); font-weight: 300; }
.recognition .award-rank sup { font-size: 0.4em; vertical-align: super; }
.recognition h5 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 12px 0 6px; }
.recognition .src { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; }
.recognition p { font-size: 13.5px; line-height: 1.55; color: #3a3328; margin: 8px 0 0; }

/* ---------- studio / founders ---------- */
.founders {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px);
}
.founder .portrait {
  aspect-ratio: 4/5; background: var(--sand);
  background-image: repeating-linear-gradient(135deg, transparent 0 18px, rgba(168,132,62,0.06) 18px 19px);
  position: relative; display: flex; align-items: center; justify-content: center;
}
.founder .portrait::before {
  content: "PORTRAIT — TO BE SUPPLIED"; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.24em; color: var(--muted);
}
.founder h4 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 22px 0 4px; }
.founder .role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); }
.founder .bio { margin-top: 14px; font-size: 14.5px; line-height: 1.65; color: #36302A; }

/* ---------- stats ---------- */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat { padding: 36px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .n { font-family: var(--serif); font-size: clamp(48px, 5vw, 78px); font-weight: 300; line-height: 1; color: var(--ink); letter-spacing: -0.02em; }
.stat .n em { font-style: italic; color: var(--brass); font-weight: 300; }
.stat .lab { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase; margin-top: 14px; }
.stat .note { font-size: 12px; color: var(--muted); margin-top: 8px; font-style: italic; }

/* ---------- contact / enquiry ---------- */
.enquiry-block { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 5vw, 96px); }
.contact-list { display: flex; flex-direction: column; gap: 28px; }
.contact-item { border-top: 1px solid var(--line); padding-top: 18px; }
.contact-item .label { display: block; margin-bottom: 6px; }
.contact-item .val { font-family: var(--serif); font-size: 22px; line-height: 1.25; }
.contact-item .sub { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; margin-top: 4px; }

.form { display: flex; flex-direction: column; gap: 18px; }
.form .field { display: flex; flex-direction: column; gap: 6px; }
.form .field label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em; color: var(--muted); text-transform: uppercase; }
.form input, .form select, .form textarea {
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  border: 0; border-bottom: 1px solid var(--ink);
  background: transparent; padding: 10px 0 12px; outline: none;
  border-radius: 0; appearance: none;
}
.form textarea { min-height: 100px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-bottom-color: var(--brass); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form .submit { margin-top: 12px; align-self: flex-start; }
.form-success {
  padding: 24px; border: 1px solid var(--brass); background: rgba(168,132,62,0.06);
  font-family: var(--serif); font-size: 20px; color: var(--ink);
}

/* ---------- floating CTAs ---------- */
.fab-whatsapp {
  position: fixed; bottom: 28px; right: 28px; z-index: 50;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp); color: white;
  display: grid; place-items: center;
  box-shadow: 0 18px 40px -12px rgba(37, 211, 102, 0.5), 0 4px 10px rgba(0,0,0,0.1);
  border: 0; transition: transform 0.15s ease;
}
.fab-whatsapp:hover { transform: translateY(-2px) scale(1.05); }
.fab-whatsapp svg { width: 28px; height: 28px; }

/* ---------- map block ---------- */
.map-block {
  aspect-ratio: 16/9; background: var(--sand);
  background-image:
    linear-gradient(transparent 49.6%, var(--line) 49.6%, var(--line) 50.4%, transparent 50.4%),
    linear-gradient(90deg, transparent 49.6%, var(--line) 49.6%, var(--line) 50.4%, transparent 50.4%),
    radial-gradient(circle at 30% 40%, rgba(168,132,62,0.18) 0, transparent 60%);
  background-size: 48px 48px, 48px 48px, 100% 100%;
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
}
.map-pin {
  position: absolute; left: 32%; top: 42%;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--brass); box-shadow: 0 0 0 8px rgba(168,132,62,0.15);
  animation: pulse 2.4s infinite ease-out;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(168,132,62,0.45); }
  100% { box-shadow: 0 0 0 18px rgba(168,132,62,0); }
}
.map-caption {
  position: absolute; left: 24px; bottom: 20px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--ink); text-transform: uppercase;
  background: var(--paper); padding: 8px 12px; border: 1px solid var(--line);
}

/* ---------- footer ---------- */
.footer { background: var(--noir); color: rgba(251,249,246,0.78); padding: clamp(64px, 8vh, 110px) 0 32px; }
.footer .wrap { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(24px, 3vw, 56px); }
.footer h6 { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass-soft); margin: 0 0 18px; font-weight: 500; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer a:hover { color: var(--brass-soft); }
.footer .brand-block .display { font-size: 32px; color: var(--paper); }
.footer .brand-block p { font-size: 13.5px; line-height: 1.6; margin: 20px 0 0; max-width: 38ch; color: rgba(251,249,246,0.6); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(232,218,199,0.15); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(251,249,246,0.45); }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(14, 12, 10, 0.96);
  display: grid; place-items: center; padding: 40px;
}
.lightbox img { max-width: 92vw; max-height: 86vh; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lightbox .lb-close {
  position: absolute; top: 24px; right: 28px; background: none; border: 0; color: var(--paper);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
}
.lightbox .lb-caption {
  position: absolute; left: 0; right: 0; bottom: 28px; text-align: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(251,249,246,0.6);
}
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--paper); font-family: var(--serif); font-size: 32px; padding: 12px 18px; }
.lightbox .lb-nav.prev { left: 24px; }
.lightbox .lb-nav.next { right: 24px; }

/* ---------- misc ---------- */
.divider-mark {
  display: flex; align-items: center; gap: 14px; color: var(--brass); font-family: var(--serif); font-style: italic;
}
.divider-mark::before, .divider-mark::after { content: ""; height: 1px; flex: 1; background: var(--line); }

.note-bar {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border: 1px solid var(--line); background: rgba(168,132,62,0.04);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}

/* Responsive */
@media (max-width: 1100px) {
  .col-3 { grid-template-columns: 1fr 1fr; }
  .col-4 { grid-template-columns: repeat(2, 1fr); }
  .process, .recognition, .stats-row, .materials { grid-template-columns: 1fr 1fr; }
  .recognition .cell, .stat, .material, .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .case-meta-row { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .proj-cell.s4, .proj-cell.s6, .proj-cell.s8 { grid-column: span 6; }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
  .case-2col { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .founders { grid-template-columns: 1fr; }
  .enquiry-block { grid-template-columns: 1fr; }
  .proj-row { grid-template-columns: 50px 1.4fr 1fr 80px; }
  .proj-row .cell.year, .proj-row .cell.area { display: none; }
}
@media (max-width: 700px) {
  .topbar-inner { grid-template-columns: auto auto; }
  .nav, .topbar .right { display: none; }
  .col-2 { grid-template-columns: 1fr; }
  .col-3, .col-4 { grid-template-columns: 1fr; }
  .sector.lg, .sector.md, .sector.sm { grid-column: span 12; }
  .process, .recognition, .stats-row, .materials { grid-template-columns: 1fr; }
  .case-meta-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer .wrap { grid-template-columns: 1fr; }
  .case-hero .label-grid { flex-direction: column; align-items: flex-start; }
  .proj-cell.s4, .proj-cell.s6, .proj-cell.s8 { grid-column: span 12; }
}
