/* ============================================
   Blue Squirrel Concierge — Design Tokens
   ============================================ */
:root {
  --black: #08080b;
  --navy: #101b30;
  --navy-soft: #1b2944;
  --blue: #3b5f9e;
  --blue-light: #a9c2ec;
  --white: #ffffff;
  --offwhite: #f3f5f9;
  --paper: #ffffff;
  --charcoal: #1a1a1a;
  --line: rgba(16, 27, 48, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1200px;
  --radius: 3px;
  --header-h: 92px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
  color: var(--navy);
  letter-spacing: -0.005em;
}
p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: block;
  color: var(--blue);
}
.eyebrow-onDark { color: var(--white); }

.eyebrow-rule { width: 42px; height: 1px; background: currentColor; opacity: 0.5; margin: 16px 0 22px; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

.img-frame { overflow: hidden; border-radius: var(--radius); background: var(--offwhite); position: relative; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.ratio-square { aspect-ratio: 1 / 1; }
.ratio-wide { aspect-ratio: 16 / 10; }
.ratio-portrait { aspect-ratio: 3 / 4; }
.ratio-tall { aspect-ratio: 4 / 5; }
.ratio-classic { aspect-ratio: 4 / 3; }

.img-frame.parallax-frame img { height: 128%; transform: translateY(-8%) scale(1.02); will-change: transform; }

/* ============================================
   Header
   ============================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease;
}
.site-header.scrolled {
  background: rgba(8, 8, 11, 0.94); backdrop-filter: blur(10px); border-bottom-color: rgba(255,255,255,0.08);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; text-decoration: none; }
.brand-mark { font-family: var(--font-display); font-size: 19px; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--white); }
.brand-sub { font-family: var(--font-body); font-size: 9px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--blue-light); }

.main-nav { display: none; gap: 38px; font-size: 13px; font-weight: 500; }
@media (min-width: 900px) { .main-nav { display: flex; } }
.main-nav a { text-decoration: none; color: rgba(255,255,255,0.72); letter-spacing: 0.03em; }
.main-nav a[aria-current="page"] { color: var(--white); }

.header-cta { display: flex; align-items: center; gap: 20px; }
.phone-link { display: none; font-size: 13px; font-weight: 600; text-decoration: none; color: rgba(255,255,255,0.85); }
@media (min-width: 640px) { .phone-link { display: inline; } }

.btn {
  font-family: var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: 0.02em;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 100px; border: 1px solid transparent;
  cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--offwhite); }
.btn-line { background: transparent; border-color: rgba(255,255,255,0.4); color: var(--white); }
.btn-line:hover { border-color: var(--white); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-soft); }

.nav-toggle {
  display: inline-flex; background: none; border: 1px solid rgba(255,255,255,0.35);
  color: var(--white); border-radius: var(--radius); padding: 8px 11px; cursor: pointer; font-size: 15px;
}
@media (min-width: 900px) { .nav-toggle { display: none; } }
.mobile-nav { display: none; flex-direction: column; background: var(--navy); }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 17px 32px; text-decoration: none; color: rgba(255,255,255,0.85); border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 15px; font-weight: 500; }

/* ============================================
   Full-bleed landscape hero (all pages)
   ============================================ */
.section-media {
  position: relative; min-height: 100vh; display: flex; align-items: flex-end;
  overflow: hidden; color: var(--white);
}
.section-media.short { min-height: 62vh; }
.media-bg { position: absolute; top: -12%; left: 0; width: 100%; height: 124%; object-fit: cover; z-index: 0; will-change: transform; }
.section-media::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,11,0.1) 0%, rgba(8,8,11,0.25) 45%, rgba(8,8,11,0.82) 100%);
  z-index: 1;
}
.section-media .wrap { position: relative; z-index: 2; width: 100%; padding: calc(var(--header-h) + 40px) 32px 84px; }
.section-media .eyebrow { color: var(--blue-light); }
.section-media h1 { color: var(--white); font-size: clamp(36px, 5.8vw, 66px); max-width: 17ch; }
.section-media p.hero-lead { font-size: 17px; color: rgba(255,255,255,0.78); max-width: 46ch; margin: 18px 0 30px; }
.section-media .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Shifts hero text to the right half of the frame — used where the left side of the photo is busier */
.hero-content-right { margin-left: auto; max-width: 640px; text-align: left; }
@media (max-width: 700px) { .hero-content-right { margin-left: 0; max-width: none; } }

/* Anchor targets need scroll offset to clear the fixed header */
.service-section { scroll-margin-top: calc(var(--header-h) + 20px); }

/* Small tracked-caps text link, used under short intro paragraphs */
.text-link {
  display: inline-block; margin-top: 6px; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); text-decoration: none;
  border-bottom: 1px solid var(--line); padding-bottom: 3px;
}
.text-link:hover { border-color: var(--navy); }

/* Tracked city list line */
.city-list { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: var(--blue); margin-top: 28px; }

/* Media card — image with a caption overlaid on a bottom gradient (teasers, work gallery) */
.media-card { position: relative; overflow: hidden; border-radius: var(--radius); display: block; background: var(--offwhite); }
.media-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.media-card:hover img { transform: scale(1.045); }
.media-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,8,11,0) 45%, rgba(8,8,11,0.8) 100%);
}
.media-card-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 22px; z-index: 2; }
.media-card-caption .cap-title {
  display: block; color: var(--white); font-family: var(--font-display);
  font-size: 21px; font-weight: 500; margin-bottom: 4px;
}
.media-card-caption .cap-sub { color: rgba(255,255,255,0.82); font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em; }

/* ============================================
   Sections
   ============================================ */
section { padding: 96px 0; }
.section-head { max-width: 56ch; margin-bottom: 48px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { margin-bottom: 20px; }
.section-alt { background: var(--offwhite); }

/* ============================================
   Split (image + text, reused across philosophy / services / renovation / about)
   ============================================ */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split.reverse .split-image { order: 2; }
}
.split h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 18px; }
.split h2.italic { font-weight: 400; font-style: italic; }
.split-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
@media (max-width: 560px) { .split-list { columns: 1; } }
.split-list li { font-size: 14.5px; padding: 9px 0; border-top: 1px solid var(--line); break-inside: avoid; }
.split-list li:first-child { border-top: none; }

/* Bullet-style list — used for service item lists (no divider lines) */
.service-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
@media (max-width: 560px) { .service-list { columns: 1; } }
.service-list li {
  font-size: 14.5px; padding: 7px 0 7px 20px; position: relative; break-inside: avoid;
}
.service-list li::before {
  content: "•"; position: absolute; left: 0; top: 7px; color: var(--blue); font-weight: 700;
}



/* ============================================
   Process steps — vertical, paired with an image
   ============================================ */
.steps-vertical { display: flex; flex-direction: column; gap: 26px; }
.step-row { border-left: 2px solid var(--navy); padding-left: 20px; }
.step-row .step-time { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); display: block; margin-bottom: 6px; }
.step-row h4 { font-size: 18px; margin-bottom: 6px; font-weight: 500; }
.step-row p { font-size: 14px; color: rgba(26,26,26,0.62); margin: 0; }

/* ============================================
   Tag pills — for scope/coverage lists
   ============================================ */
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.tag-list li {
  padding: 10px 20px; border-radius: 100px; background: var(--offwhite);
  font-size: 13.5px; font-weight: 600; color: var(--navy);
}

/* ============================================
   In-page banner (full-bleed break within a page, shorter than a hero)
   ============================================ */
.section-banner {
  position: relative; overflow: hidden; color: var(--white);
  min-height: 56vh; display: flex; align-items: flex-end;
}
.section-banner::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,11,0.15) 0%, rgba(8,8,11,0.3) 45%, rgba(8,8,11,0.78) 100%);
  z-index: 1;
}
.section-banner .wrap { position: relative; z-index: 2; width: 100%; padding: 60px 32px 64px; }
.section-banner .eyebrow { color: var(--blue-light); }
.section-banner h2 { color: var(--white); font-size: clamp(28px, 4vw, 44px); max-width: 20ch; }
.section-banner p { color: rgba(255,255,255,0.78); max-width: 48ch; margin-top: 14px; font-size: 16px; }


/* ============================================
   Mission / CTA — blurred photo background + parallax
   ============================================ */
.mission { position: relative; overflow: hidden; color: var(--white); padding: 128px 0; text-align: center; }
.mission-bg {
  position: absolute; top: -15%; left: -8%; width: 116%; height: 130%; object-fit: cover;
  filter: blur(26px) brightness(0.4) saturate(1.05); z-index: 0; will-change: transform;
}
.mission::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,11,0.35) 0%, rgba(8,8,11,0.72) 100%); z-index: 1;
}
.mission .wrap { position: relative; z-index: 2; max-width: 760px; }
.mission .eyebrow { color: var(--white); justify-content: center; display: flex; }
.mission .eyebrow-rule { margin-left: auto; margin-right: auto; }
.mission p.statement {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(26px, 3.6vw, 42px); line-height: 1.4; color: var(--white); margin: 0 0 36px;
}
.mission .hero-actions { justify-content: center; display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================
   Service teasers
   ============================================ */
.dept-teasers { display: grid; gap: 32px; }
@media (min-width: 760px) { .dept-teasers { grid-template-columns: repeat(3, 1fr); } }
.dept-teaser { text-decoration: none; color: inherit; display: block; }

/* ============================================
   Forms
   ============================================ */
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
input, select, textarea {
  width: 100%; font-family: var(--font-body); font-size: 15px; padding: 13px 15px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--charcoal);
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); }
textarea { resize: vertical; min-height: 120px; }
.field-full { grid-column: 1 / -1; }

/* Honeypot field for Web3Forms — invisible to real visitors */
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* Form submission result — a visible banner, not just a line of text */
.form-status-box {
  padding: 14px 18px; border-radius: var(--radius); font-size: 14px; font-weight: 600;
}
.form-status-box.success { background: rgba(59,95,158,0.08); border: 1px solid rgba(59,95,158,0.35); color: var(--navy); }
.form-status-box.error { background: rgba(179,65,63,0.08); border: 1px solid rgba(179,65,63,0.35); color: #8a2e2c; }

/* intl-tel-input — reconcile with the site's input styling */
.iti { width: 100%; display: block; }
.iti #phone {
  width: 100%; font-family: var(--font-body); font-size: 15px;
  padding-top: 13px; padding-bottom: 13px; padding-right: 15px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); color: var(--charcoal);
}
.iti #phone:focus { border-color: var(--blue); outline: none; }
.iti__country-list { font-family: var(--font-body); font-size: 14px; border-radius: var(--radius); }

/* ============================================
   Footer
   ============================================ */
.site-footer { background: var(--black); color: rgba(255,255,255,0.6); padding: 64px 0 28px; }
.footer-grid { display: grid; gap: 36px; margin-bottom: 44px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-brand .brand { align-items: flex-start; text-align: left; }
.footer-brand .brand-mark { color: #fff; font-size: 21px; }
.footer-brand .brand-sub { color: var(--blue-light); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.45); max-width: 34ch; margin-top: 14px; }
.footer-grid h5 { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-light); margin: 0 0 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; font-size: 14px; }
.footer-grid a { text-decoration: none; color: rgba(255,255,255,0.65); }
.footer-grid a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--line-light); padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  font-size: 12px; color: rgba(255,255,255,0.4);
}
