/* ==========================================================================
   Benchtop Events Co. — shared stylesheet
   Edit colors, fonts, and spacing here once and every page updates.
   ========================================================================== */

:root {
  /* Brand colours */
  --navy:        #0e3b52;
  --navy-deep:   #0a2c3e;
  --gold:        #deb273;
  --gold-dark:   #c2954f;
  --cream:       #faf9f5;
  --ink:         #17252b;
  --slate:       #566a72;   /* muted body text */
  --line:        #e7e1d6;   /* hairline borders */
  --white:       #ffffff;

  /* Type */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius: 10px;
  --shadow: 0 18px 40px -18px rgba(10, 44, 62, 0.35);
  --shadow-sm: 0 8px 20px -12px rgba(10, 44, 62, 0.30);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-dark); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--navy); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.section--navy { background: var(--navy); color: #dce6ea; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }

.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 18px;
  display: none; /* small labels above headings removed site-wide */
}
.section--navy .eyebrow { color: var(--gold); }

.section-head { max-width: 680px; margin-bottom: 54px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.section-head p { margin-top: 18px; color: var(--slate); font-size: 1.08rem; }
.section--navy .section-head p { color: #b9cad2; }

.lead { font-size: 1.15rem; color: var(--slate); }

/* Elegant italic accent used inside display headings */
.accent { font-style: italic; color: var(--gold-dark); font-weight: 500; }
.section--navy .accent, .hero .accent { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  letter-spacing: .01em;
  padding: 14px 28px; border-radius: 50px;
  background: var(--gold); color: var(--navy-deep);
  border: 1.5px solid var(--gold);
  cursor: pointer; transition: all .22s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-ghost-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-sm { padding: 10px 20px; font-size: .9rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 249, 245, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 24px; }
.brand-logo { height: 38px; width: auto; }
.site-nav > ul { list-style: none; display: flex; align-items: center; gap: 26px; }
.site-nav > ul > li { position: relative; }
.site-nav a { font-size: .95rem; font-weight: 500; color: var(--navy); }
.site-nav > ul > li > a:not(.btn) { position: relative; }
.site-nav > ul > li > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--gold);
  transition: width .25s ease;
}
.site-nav > ul > li > a:not(.btn):hover::after,
.site-nav a.is-active:not(.btn)::after { width: 100%; }
.site-nav a.is-active:not(.btn) { color: var(--gold-dark); }

/* Dropdown menus */
.dropdown-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body); font-size: .95rem; font-weight: 500;
  color: var(--navy); background: none; border: 0; cursor: pointer; padding: 0;
}
.dropdown-toggle.is-active { color: var(--gold-dark); }
.dropdown-toggle .caret {
  width: 0; height: 0; font-size: 0; line-height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform .2s ease;
}
.dropdown {
  list-style: none; position: absolute; top: calc(100% + 16px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 250px; background: var(--white); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow); padding: 10px;
  opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease; z-index: 60;
}
.dropdown::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; } /* hover bridge */
.dropdown li { margin: 0; }
.dropdown a { display: block; padding: 11px 14px; border-radius: 8px; font-size: .95rem; color: var(--navy); }
.dropdown a::after { display: none; }
.dropdown a:hover, .dropdown a.is-active { background: var(--cream); color: var(--gold-dark); }
@media (min-width: 1025px) {
  .has-dropdown:hover .dropdown, .has-dropdown.open .dropdown {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
  }
  .has-dropdown:hover .caret { transform: rotate(180deg); }
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--navy); transition: .25s ease; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white);
  min-height: 82vh; display: flex; align-items: center;
  background: var(--navy-deep);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,44,62,.62) 0%, rgba(10,44,62,.72) 60%, rgba(10,44,62,.85) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 760px; padding: 70px 0; }
.hero h1 { color: var(--white); font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.08; }
.hero p { margin-top: 24px; font-size: 1.2rem; color: #dbe6ec; max-width: 560px; }
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Service cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.service-card {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden;
  background: var(--navy); min-height: 320px; box-shadow: var(--shadow-sm);
  color: var(--white);
}
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,44,62,.15) 0%, rgba(10,44,62,.55) 55%, rgba(8,34,48,.92) 100%); }
.service-card:hover img { transform: scale(1.06); }
.service-card .card-body { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; min-height: 320px; }
.service-card h3 { color: var(--white); font-size: 1.6rem; }
.service-card p { color: #cddae1; margin-top: 8px; font-size: .98rem; }
.service-card .card-link { color: var(--gold); font-weight: 600; font-size: .9rem; margin-top: 16px; letter-spacing: .02em; }

/* ---------- Feature strip ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.feature h3 { font-size: 1.25rem; margin-bottom: 10px; }
.feature .num { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 1.4rem; display: block; margin-bottom: 10px; }
.feature p { color: #b9cad2; font-size: .98rem; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split-content h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
.split-content p { margin-top: 18px; color: var(--slate); }
.split-content .btn { margin-top: 28px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery img { border-radius: 8px; aspect-ratio: 1/1; object-fit: cover; width: 100%; box-shadow: var(--shadow-sm); }
.gallery img:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; height: 100%; }

/* ---------- Proof (event photos with on-image labels) ---------- */
.proof-grid { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; }
.proof-grid figure { position: relative; margin: 0; flex: 1 1 300px; max-width: 380px; }
.proof-grid img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; display: block; box-shadow: var(--shadow-sm); }
.proof-grid figcaption {
  position: absolute; left: 10px; bottom: 10px;
  background: rgba(10, 44, 62, 0.85); color: #fff;
  font-size: .72rem; font-weight: 500; letter-spacing: .01em;
  padding: 5px 10px; border-radius: 6px; max-width: calc(100% - 20px);
}

/* ---------- Project profiles (detailed 'Our work' entries) ---------- */
.project { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.project + .project { margin-top: 72px; }
.project:nth-child(even) .project-media { order: 2; }
.project-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.project h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.project-meta { color: var(--gold-dark); font-weight: 600; font-size: .9rem; margin: 10px 0 18px; }
.project-desc, .project-scope { color: var(--slate); }
.project-scope { margin-top: 16px; }
.project-scope strong { color: var(--navy); font-weight: 600; }
.project-highlights { list-style: none; margin-top: 20px; display: grid; gap: 12px; }
.project-highlights li { position: relative; padding-left: 30px; color: var(--slate); font-size: .96rem; }
.project-highlights li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: var(--gold-dark); font-weight: 700; }

/* ---------- Projects page (sidebar nav + detail) ---------- */
.projects-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 44px; }
.projects-layout { display: grid; grid-template-columns: 236px 1fr; gap: 56px; align-items: start; }
.projects-nav { position: sticky; top: 100px; }
.projects-nav .label { font-family: var(--font-body); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 18px; }
.projects-nav ul { list-style: none; }
.projects-nav a { display: block; padding: 10px 0 10px 16px; border-left: 2px solid var(--line); color: var(--slate); font-size: .98rem; line-height: 1.35; }
.projects-nav a:hover { color: var(--navy); }
.projects-nav a.is-active { border-left-color: var(--gold); color: var(--navy); font-weight: 600; }

.project-detail > img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 16/9; object-fit: cover; }
.project-detail h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-top: 30px; }
.project-detail .project-meta { color: var(--gold-dark); font-weight: 600; font-size: .95rem; margin: 10px 0 20px; }
.project-detail .project-desc { color: var(--slate); font-size: 1.05rem; }
.project-detail + .project-detail { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--line); }
.project-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30px; }
.project-box { padding: 26px 28px; border-radius: var(--radius); }
.project-box.scope { background: #f2efe8; }
.project-box.highlights { background: #e4ece7; }
.project-box h3 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin-bottom: 14px; }
.project-box p { color: var(--slate); font-size: .95rem; }
.project-box ul { list-style: none; display: grid; gap: 11px; }
.project-box li { position: relative; padding-left: 20px; color: var(--slate); font-size: .95rem; line-height: 1.5; }
.project-box li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-dark); }

/* ---------- Checklist (what we handle) ---------- */
.checklist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 34px; }
.checklist li { position: relative; padding-left: 30px; color: var(--slate); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  color: var(--gold-dark); font-weight: 700;
}

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.team-card { text-align: center; }
.avatar {
  width: 128px; height: 128px; border-radius: 50%; margin: 0 auto 20px;
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 2.3rem; overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1.25rem; }
.team-role { color: var(--gold-dark); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin: 6px 0 14px; }
.team-card p { color: var(--slate); font-size: .96rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info h3 { font-size: 1.4rem; margin-bottom: 8px; }
.contact-info p { color: var(--slate); margin-bottom: 22px; }
.contact-line { display: flex; gap: 12px; margin-bottom: 16px; }
.contact-line .label { font-weight: 600; color: var(--navy); min-width: 92px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-family: inherit; font-size: 1rem; background: var(--white); color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.field textarea { min-height: 150px; resize: vertical; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--white); text-align: center; }
.cta-band h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.cta-band p { color: #c3d3da; max-width: 560px; margin: 18px auto 34px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #a9bcc4; padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.10); }
.footer-mark { width: 54px; margin-bottom: 18px; }
.site-footer h4 { color: var(--white); font-family: var(--font-body); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #a9bcc4; font-size: .95rem; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: #7d939c; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { background: var(--navy); color: var(--white); padding: 88px 0 76px; position: relative; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 { color: var(--white); font-size: clamp(2.3rem, 5vw, 3.6rem); }
.page-hero p { margin-top: 18px; color: #c3d3da; max-width: 620px; font-size: 1.12rem; }

/* ---------- Prose (interior content) ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.9rem; margin: 40px 0 16px; }
.prose h3 { font-size: 1.3rem; margin: 30px 0 12px; }
.prose p { margin-bottom: 18px; color: var(--slate); }
.prose ul { margin: 0 0 20px 20px; color: var(--slate); }
.prose li { margin-bottom: 8px; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: 74px 0 auto 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .3s ease; box-shadow: var(--shadow);
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .site-nav.open { transform: translateY(0); }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 14px 24px 22px; }
  .site-nav > ul > li { border-bottom: 1px solid var(--line); }
  .site-nav > ul > li:last-child { border-bottom: 0; padding-top: 14px; }
  .site-nav a { display: block; padding: 14px 0; font-size: 1.05rem; }
  .site-nav a.btn { display: inline-flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Dropdowns become tap-to-expand accordions */
  .dropdown-toggle { width: 100%; justify-content: space-between; padding: 14px 0; font-size: 1.05rem; }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: 0; min-width: 0; padding: 0 0 10px; background: transparent;
    display: none;
  }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown.open .caret { transform: rotate(180deg); }
  .dropdown a { padding: 10px 12px; }
}

@media (max-width: 860px) {
  .section { padding: 66px 0; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse .split-media { order: 0; }
  .feature-grid, .proof-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery img:nth-child(1) { grid-column: span 2; grid-row: auto; aspect-ratio: 16/9; }
  .team-grid, .contact-grid, .checklist { grid-template-columns: 1fr; }
  .project { grid-template-columns: 1fr; gap: 26px; }
  .project:nth-child(even) .project-media { order: 0; }
  .project + .project { margin-top: 48px; }
  .projects-layout { grid-template-columns: 1fr; gap: 30px; }
  .projects-nav { position: static; }
  .projects-nav ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .projects-nav a { border-left: 0; padding: 8px 14px; border: 1px solid var(--line); border-radius: 50px; }
  .projects-nav a.is-active { border-color: var(--gold); }
  .project-boxes { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .container { padding: 0 20px; }
}
