:root {
  --primary: #a81016;
  --primary-dark: #810b10;
  --bg: #f4f3f0;
  --text: #171717;
  --muted: #6d6b67;
  --border: #ddd9d2;
  --radius: 6px;
  --shadow: 0 14px 38px rgba(20, 18, 15, .07);
}

body { background: var(--bg); }
.topbar { height: 76px; background: #111; border-bottom: 3px solid var(--primary); }
.brand { text-transform: uppercase; letter-spacing: .08em; font-size: 16px; font-weight: 800; }
.brand strong { color: #fff; }
.topbar nav { gap: 25px; }
.topbar nav a,.topbar .link-button { font-size: 14px; }
.panel,.stat-card,.auth-card,.panorama-card { border-color: var(--border); }
.button { border-radius: 3px; text-transform: uppercase; letter-spacing: .04em; font-size: 13px; }
.eyebrow { color: var(--primary); letter-spacing: .2em; }
.brand-mark { border-radius: 2px; background: var(--primary); }
input,select { border-radius: 3px; }
th { background: #eceae6; color: #4c4a46; }
.brand-settings { display: grid; gap: 17px; margin: 8px 0; padding: 22px; border: 1px solid var(--border); }
.brand-settings legend { padding: 0 9px; font-weight: 800; }
.brand-settings input[type="color"] { width: 86px; height: 48px; padding: 4px; cursor: pointer; }
.current-brand-logo { display: flex; align-items: center; gap: 20px; padding: 14px; background: #eceae6; }
.current-brand-logo img { width: 130px; max-height: 60px; object-fit: contain; }

.branded-project { min-height: 100vh; background: #f3f1ed; color: #151515; font-family: Arial, Helvetica, sans-serif; }
.presentation-nav { position: absolute; z-index: 4; top: 0; left: 0; right: 0; height: 96px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(28px,6vw,84px); color: #fff; border-bottom: 1px solid rgba(255,255,255,.25); }
.presentation-nav>span { text-transform: uppercase; letter-spacing: .18em; font-size: 11px; }
.presentation-brand { color: #fff; font-size: 18px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.presentation-brand:hover { text-decoration: none; }
.presentation-brand img { display: block; max-width: 180px; max-height: 63px; object-fit: contain; }
.branded-project .public-hero { position: relative; min-height: min(760px,88vh); align-items: flex-end; padding: 160px clamp(28px,7vw,100px) clamp(56px,9vh,90px); background-color: #121212; background-position: center; }
.branded-project .public-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 5px; background: var(--brand-accent); }
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.branded-project .eyebrow { color: #fff; opacity: .75; }
.branded-project .public-hero h1 { margin: 14px 0; font-size: clamp(50px,9vw,108px); line-height: .92; text-transform: uppercase; letter-spacing: -.045em; }
.client-name { margin: 0 0 8px!important; color: #fff!important; font-size: clamp(17px,2vw,22px); }
.panorama-count { margin: 0 0 28px!important; color: rgba(255,255,255,.68)!important; font-size: 14px; text-transform: uppercase; letter-spacing: .12em; }
.presentation-cta { display: inline-flex; align-items: center; gap: 25px; min-height: 58px; padding: 0 8px 0 22px; background: var(--brand-accent); color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.presentation-cta:hover { text-decoration: none; filter: brightness(.9); }
.presentation-cta strong { display: grid; place-items: center; width: 46px; height: 46px; background: #fff; color: #111; border-radius: 50%; font-size: 13px; }
.presentation-content { width: min(1180px,calc(100% - 48px)); margin: 0 auto; padding: 90px 0 110px; }
.presentation-content>header { max-width: 630px; margin-bottom: 44px; }
.section-kicker { color: var(--brand-accent); text-transform: uppercase; letter-spacing: .22em; font-size: 11px; font-weight: 800; }
.presentation-content h2 { margin: 6px 0 8px; font-size: clamp(38px,6vw,68px); text-transform: uppercase; letter-spacing: -.04em; }
.presentation-content>header p { color: #6f6c67; }
.presentation-grid { grid-template-columns: repeat(auto-fill,minmax(310px,1fr)); gap: 28px; }
.presentation-grid .public-card { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.public-card-image { position: relative; overflow: hidden; aspect-ratio: 16/10; background: #222; }
.public-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.public-card-image span { position: absolute; right: 0; bottom: 0; display: grid; place-items: center; width: 50px; height: 50px; background: var(--brand-accent); color: #fff!important; }
.presentation-grid .public-card:hover img { transform: scale(1.035); }
.presentation-grid .panorama-card-body { padding: 18px 0; border-bottom: 1px solid #c9c5be; }
.presentation-grid h3 { margin: 0 0 7px; font-size: 21px; }
.presentation-grid .panorama-card-body>span { display: flex; justify-content: space-between; color: #5a5752; font-size: 12px; text-transform: uppercase; letter-spacing: .09em; }
.presentation-grid .panorama-card-body b { color: var(--brand-accent); font-size: 18px; }
.presentation-footer { display: flex; justify-content: space-between; padding: 34px clamp(28px,7vw,100px); background: #111; color: #fff; text-transform: uppercase; letter-spacing: .1em; }
.presentation-footer small { color: #999; }
.branded-project+.footer { display: none; }

@media(max-width:680px) {
  .presentation-nav { height: 74px; padding: 0 22px; }
  .presentation-nav>span { display: none; }
  .presentation-brand img { max-width: 145px; max-height: 48px; }
  .branded-project .public-hero { min-height: 620px; padding: 125px 24px 54px; }
  .presentation-content { width: calc(100% - 36px); padding: 64px 0 78px; }
  .presentation-footer { flex-direction: column; gap: 8px; padding: 28px 22px; }
}
