/* ===================================================
   Enterprise-P — Boutique Workspace in Preston
   Production stylesheet
   =================================================== */

:root {
  /* Palette — Enterprise-P brand: rose pink + dark charcoal */
  --bg: #faf8f6;
  --surface: #ffffff;
  --surface-alt: #fdf6f7;
  --text: #2A2C28;
  --text-secondary: #555752;
  --muted: #87897f;
  --line: #e4e0da;
  --brand: #D9395F;
  --brand-hover: #bf2e4f;
  --brand-light: #fceef1;
  --brand-lighter: #fdf6f7;
  --accent: #D9395F;
  --ink: #2A2C28;
  --white: #ffffff;
  --max: 1100px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --transition: 0.2s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-hover); }
h1, h2, h3, h4 { margin-top: 0; line-height: 1.2; color: var(--ink); font-weight: 700; }
p { margin-top: 0; }

/* Skip link — visually hidden until focused */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: 0.5rem 1rem;
  background: var(--brand);
  color: #fff;
  z-index: 1000;
  font-size: 0.9rem;
}
.skip-link:focus {
  top: 0;
}

/* Layout */
.container { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; }

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,248,246,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.brand-link { text-decoration: none; }
.brand-link:hover { text-decoration: none; }
.brand {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.brand-logo {
  display: block;
  height: 22px;
  width: auto;
}
.brand small {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: normal;
  margin-top: 0.15rem;
}

/* Nav */
nav { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
nav a {
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
}
nav a:hover, nav a[aria-current="page"] {
  background: var(--brand-light);
  color: var(--brand);
  text-decoration: none;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1;
}

/* ——— Hero ——— */
.hero {
  padding: 3.5rem 0 2rem;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 1rem;
  max-width: 640px;
}
.hero .lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 1.5rem;
}

/* Hero grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}

/* ——— Cards ——— */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.card-highlight {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow);
}

/* ——— Grids ——— */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* ——— Sections ——— */
section { padding: 2rem 0; }
section + section { padding-top: 0; }
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* ——— Eyebrow / Kicker ——— */
.eyebrow {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--brand);
  background: var(--brand);
  color: var(--white);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  color: var(--white);
  text-decoration: none;
}
.btn.secondary {
  background: transparent;
  color: var(--brand);
}
.btn.secondary:hover {
  background: var(--brand-light);
  color: var(--brand-hover);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* ——— Lists ——— */
.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.65rem;
}
.check-list li {
  padding-left: 1.6rem;
  position: relative;
  color: var(--text-secondary);
  line-height: 1.5;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.65rem;
}
.bullet-list li {
  padding-left: 1.2rem;
  position: relative;
  color: var(--text-secondary);
}
.bullet-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1;
}

/* ——— Price ——— */
.price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0.5rem 0 0.25rem;
}
.price-note {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ——— Table ——— */
.info-table {
  width: 100%;
  border-collapse: collapse;
}
.info-table tr { border-bottom: 1px solid var(--line); }
.info-table tr:last-child { border-bottom: none; }
.info-table th,
.info-table td {
  padding: 0.7rem 0;
  text-align: left;
  vertical-align: top;
}
.info-table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  width: 30%;
  padding-right: 1rem;
}
.info-table td {
  color: var(--text);
}

/* ——— Note / Callout ——— */
.note {
  background: var(--brand-lighter);
  border: 1px solid var(--brand-light);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  color: var(--text);
  font-size: 0.95rem;
}
.note strong { color: var(--ink); }

/* ——— Placeholder Image ——— */
.placeholder-img {
  background: var(--brand-light);
  border-radius: var(--radius);
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  overflow: hidden;
}
.placeholder-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ——— Footer ——— */
.footer {
  margin-top: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
}
.footer h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.footer a { color: var(--text-secondary); }
.footer a:hover { color: var(--brand); }
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}

/* ——— CTA Banner ——— */
.cta-banner {
  background: var(--brand);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  margin: 1rem 0;
}
.cta-banner h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
}
.cta-banner p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.25rem;
}
.cta-banner .btn {
  background: var(--white);
  color: var(--brand);
  border-color: var(--white);
}
.cta-banner .btn:hover {
  background: var(--brand-light);
  border-color: var(--brand-light);
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .hero-grid, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero { padding-top: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 640px) {
  .site-header .container { flex-wrap: wrap; }
  .nav-toggle { display: block; }
  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 0.5rem;
  }
  nav.open { display: flex; }
  nav a { width: 100%; }
  .hero h1 { font-size: 1.75rem; }
  .card { padding: 1.25rem; }
  .cta-banner { padding: 1.75rem 1.25rem; }
}
