/* ============================================================
   JOE JOE CAC AGENT CONSULTANCY — Executive Editorial Design System
   Palette: Deep Forest #0E3B2E · Champagne Gold #C9A44C · Warm Ivory #F8F7F2
   Type: Playfair Display (headings) · Inter (body / UI)
   ============================================================ */

:root {
  --green: #0E3B2E;
  --green-deep: #0A2A21;
  --green-soft: #16493A;
  --footer-bg: #071F17;
  --gold: #C9A44C;
  --gold-deep: #A8842F;
  --gold-soft: rgba(201, 164, 76, 0.14);
  --ivory: #F8F7F2;
  --white: #FFFFFF;
  --ink: #1B1B1B;
  --body: #3F3E38;
  --muted: #63625B;
  --hairline: #E4E1D6;
  --hairline-dark: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 2px 10px rgba(14, 59, 46, 0.06);
  --shadow-md: 0 18px 44px -18px rgba(14, 59, 46, 0.28);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --container: 1160px;
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
::selection { background: rgba(201, 164, 76, 0.35); color: var(--green-deep); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

/* ---------- Skip link ---------- */
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--green); color: var(--ivory); padding: 12px 20px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; text-decoration: none; transition: top .2s ease; }
.skip-link:focus { top: 12px; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px; }
.eyebrow.centered { text-align: center; }
.eyebrow-gold { color: var(--gold); }

h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; color: var(--green-deep); font-weight: 600; line-height: 1.18; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.78rem, 3vw, 2.35rem); margin-bottom: 20px; }

.section-intro { font-size: 1.03rem; color: var(--muted); max-width: 44rem; }

/* ---------- Buttons ---------- */
.btn {
  min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  padding: 14px 26px; border-radius: var(--radius-sm); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: var(--ivory); border-color: var(--green); }
.btn-primary:hover { background: var(--green-soft); border-color: var(--green-soft); box-shadow: var(--shadow-sm); }
.btn-outline { background: transparent; color: var(--green); border-color: rgba(14, 59, 46, 0.35); }
.btn-outline:hover { background: var(--green); border-color: var(--green); color: var(--ivory); }
.btn-gold { background: var(--gold); color: #1B1B1B; border-color: var(--gold); }
.btn-gold:hover { background: #B8913F; border-color: #B8913F; }
.btn-gold svg { width: 19px; height: 19px; }
.btn-small { padding: 11px 18px; font-size: 12px; }
.btn-block { width: 100%; }

.text-link { background: none; border: none; padding: 0; font-family: 'Inter', sans-serif; font-size: 13.5px; font-weight: 600; color: var(--gold-deep); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; letter-spacing: 0.02em; }
.text-link:hover { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px -12px rgba(14, 59, 46, 0.22); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 46px; width: auto; display: block; }

.nav-desktop { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); }
.nav-link {
  font-size: 13.5px; font-weight: 500; color: var(--ink); text-decoration: none;
  padding: 6px 2px; border-bottom: 2px solid transparent; transition: color .2s ease, border-color .2s ease;
}
.nav-link:hover { color: var(--green); border-bottom-color: var(--gold); }
.nav-link.active { color: var(--green); font-weight: 600; border-bottom-color: var(--gold); }

.header-cta { padding: 12px 20px; font-size: 12.5px; }

.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: 1px solid var(--hairline); border-radius: var(--radius-sm); cursor: pointer; padding: 10px; }
.hamburger span { display: block; height: 2px; background: var(--green-deep); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel { display: none; background: var(--white); border-bottom: 1px solid var(--hairline); padding: 8px 20px 20px; }
.mobile-panel.open { display: block; animation: panelIn .25s ease; }
@keyframes panelIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mobile-link { display: block; padding: 13px 6px; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--hairline); }
.mobile-link:last-of-type { border-bottom: none; }
.mobile-link:hover { color: var(--green); }
.mobile-cta { width: 100%; margin-top: 14px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { background: var(--ivory); padding: clamp(44px, 6vw, 76px) 0 clamp(48px, 6vw, 72px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero-name { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; letter-spacing: 0.38em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.hero .eyebrow { margin-bottom: 18px; font-size: 10.5px; color: var(--gold-deep); }
.hero h1 { font-size: clamp(2.35rem, 4vw, 3.15rem); line-height: 1.14; color: var(--green-deep); margin-bottom: 22px; max-width: 23ch; }
.lede { font-size: 1.06rem; line-height: 1.65; color: var(--body); max-width: 36rem; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-note { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 500; }

.hero-portrait { justify-self: end; width: 100%; max-width: 400px; background: var(--white); border: 1px solid var(--hairline); border-radius: 10px; padding: 12px 12px 14px; box-shadow: var(--shadow-md); }
.hero-portrait img { width: 100%; height: auto; display: block; border-radius: 5px; }
.hero-portrait figcaption { padding: 12px 6px 2px; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); text-align: center; font-weight: 500; }

/* ---------- Positioning strip ---------- */
.positioning-strip { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: var(--white); padding: 20px 0; }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; }
.strip-item { display: inline-flex; align-items: baseline; gap: 12px; }
.strip-num { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 600; color: var(--green); }
.strip-label { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-white { background: var(--white); }
.section-ivory { background: var(--ivory); }
.section-green { background: var(--green-deep); }
.section-head { margin-bottom: clamp(34px, 4vw, 52px); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: clamp(40px, 5vw, 72px); align-items: start; }
.about-copy p { margin-bottom: 18px; font-size: 1.02rem; }
.approach-line { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--hairline); }
.approach-line span { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); }
.approach-line i { color: var(--gold); font-style: normal; }

.practice-panel { background: var(--ivory); border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: clamp(24px, 3vw, 32px); }
.practice-panel h3 { font-size: 1.3rem; margin-bottom: 14px; }
.practice-list { list-style: none; }
.practice-list li { position: relative; padding: 11px 0 11px 22px; border-bottom: 1px solid var(--hairline); font-size: 0.95rem; color: var(--body); }
.practice-list li:last-child { border-bottom: none; }
.practice-list li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 8px; height: 8px; background: var(--gold); border-radius: 1px; }
.practice-foot { margin-top: 16px; font-size: 11.5px; color: var(--muted); line-height: 1.55; }
.practice-foot a { color: var(--green); }

/* ============================================================
   SERVICES
   ============================================================ */
.services-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: 26px; }
.search-wrap { position: relative; flex: 1 1 320px; max-width: 560px; }
.search-wrap svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.search-wrap input {
  width: 100%; height: 50px; padding: 0 16px 0 48px;
  border: 1px solid #DCD9CE; border-radius: var(--radius-sm); background: var(--white);
  font-family: 'Inter', sans-serif; font-size: 15px; color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.search-wrap input::placeholder { color: #9B988C; }
.search-wrap input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.tools-right { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.result-count { font-size: 12.5px; color: var(--muted); }
.expand-toggle { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.expand-toggle button { background: none; border: none; padding: 4px 2px; font: inherit; font-weight: 700; color: var(--gold-deep); cursor: pointer; letter-spacing: 0.1em; }
.expand-toggle button:hover { text-decoration: underline; text-underline-offset: 3px; }

.no-results { display: none; border: 1px dashed #D8D5C9; border-radius: var(--radius-md); background: var(--white); text-align: center; padding: 34px 24px; margin-bottom: 18px; }
.no-results.show { display: block; }
.no-results p { margin-bottom: 6px; }
.no-results a { color: var(--green); font-weight: 600; }

.services-grid { display: grid; gap: 18px; }
.service-card { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: clamp(22px, 2.6vw, 32px) clamp(22px, 3vw, 36px); transition: box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { box-shadow: var(--shadow-sm); border-color: #D6D2C4; }
.service-card.hidden-by-filter { display: none; }

.division-head { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: start; }
.division-num { font-family: 'Playfair Display', serif; font-size: 1.55rem; font-weight: 600; color: var(--gold); line-height: 1; padding-top: 3px; }
.division-heading h3 { font-size: clamp(1.18rem, 1.8vw, 1.38rem); }
.division-desc { margin-top: 7px; font-size: 0.94rem; color: var(--muted); max-width: 62ch; }
.division-count { font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--hairline); border-radius: 999px; padding: 6px 13px; white-space: nowrap; margin-top: 3px; background: var(--ivory); }

.toggle-services { display: inline-flex; align-items: center; gap: 9px; margin-top: 12px; background: none; border: none; cursor: pointer; padding: 12px 2px; min-height: 44px; font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); }
.toggle-services svg { width: 16px; height: 16px; transition: transform .3s ease; }
.toggle-services[aria-expanded="true"] svg { transform: rotate(180deg); }
.toggle-services:hover { color: var(--green-deep); }

.service-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 36px; margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--hairline); }
.service-card.collapsed .service-list { display: none; }
.service-list li { position: relative; padding-left: 19px; font-size: 0.92rem; color: var(--ink); }
.service-list li.hidden-by-filter { display: none; }
.service-list li::before { content: ""; position: absolute; left: 0; top: 0.58em; width: 9px; height: 1.6px; background: var(--gold); }

.division-cta { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--green); text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 2px; transition: color .2s ease, border-color .2s ease, gap .2s ease; }
.division-cta:hover { color: var(--gold-deep); border-bottom-color: var(--gold); gap: 13px; }

/* ============================================================
   SELECTED WORK / PORTFOLIO
   ============================================================ */
.work-category { display: flex; align-items: center; gap: 14px; margin: 38px 0 18px; font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.work-category:first-of-type { margin-top: 6px; }
.work-category span { font-family: 'Playfair Display', serif; font-size: 0.95rem; font-weight: 600; color: var(--gold-deep); border: 1px solid var(--gold); border-radius: 2px; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; letter-spacing: 0; background: var(--gold-soft); }

.engagement-list { display: grid; gap: 22px; margin-bottom: 8px; }
.engagement { display: grid; grid-template-columns: 400px 1fr; gap: clamp(24px, 3vw, 44px); align-items: center; background: var(--ivory); border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: clamp(18px, 2.4vw, 28px); }
.engagement-media { display: block; width: 100%; border: 1px solid #E2DFD2; background: #F0EEE4; border-radius: var(--radius-sm); cursor: zoom-in; overflow: hidden; padding: 14px; transition: box-shadow .25s ease, transform .25s ease; }
.engagement-media:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.engagement-media img { width: 100%; height: 225px; object-fit: contain; display: block; }
.project-label { font-size: 10.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px; }
.engagement-body h3 { font-size: clamp(1.28rem, 2.1vw, 1.6rem); line-height: 1.28; margin-bottom: 14px; }
.engagement-body p:not(.project-label) { font-size: 0.97rem; }
.project-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0 20px; }
.project-meta span { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); position: relative; padding-left: 14px; }
.project-meta span::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.creative-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.creative-card { grid-column: span 2; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: 14px 14px 18px; display: flex; flex-direction: column; transition: box-shadow .25s ease, transform .25s ease; }
.creative-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.creative-media { display: block; width: 100%; border: none; background: #F0EEE4; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; padding: 0; }
.creative-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.creative-body { padding: 14px 6px 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.creative-body .project-label { margin-bottom: 0; }
.creative-body h3 { font-size: 1.08rem; line-height: 1.3; }
.creative-body p:not(.project-label) { font-size: 0.88rem; color: var(--muted); line-height: 1.55; }
.creative-body .text-link { margin-top: auto; padding-top: 6px; }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial-section { text-align: center; }
.testimonial { max-width: 840px; margin: 0 auto; }
.testimonial p { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 500; font-size: clamp(1.32rem, 2.5vw, 1.78rem); line-height: 1.45; color: var(--green-deep); }
.testimonial footer { margin-top: 26px; }
.t-name { display: block; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 15px; color: var(--ink); }
.t-source { display: block; margin-top: 5px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

/* ============================================================
   TRAINING
   ============================================================ */
.training-grid { display: grid; grid-template-columns: 1fr 400px; gap: clamp(40px, 5vw, 72px); align-items: start; }
.training-copy p { margin-bottom: 18px; font-size: 1rem; max-width: 36rem; }
.check-list { list-style: none; margin: 6px 0 28px; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 13px; font-size: 0.96rem; color: var(--body); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 19px; height: 19px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-deep); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.micro-note { margin-top: 14px; font-size: 12px; color: var(--muted); }
.micro-note.centered { text-align: center; margin-top: 22px; }

.programmes-panel { background: var(--ivory); border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: clamp(24px, 2.6vw, 32px); }
.programmes-panel h3 { font-size: 1.28rem; margin-bottom: 8px; }
.programme-list { list-style: none; counter-reset: none; }
.programme-list li { display: flex; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--hairline); font-size: 0.97rem; color: var(--ink); font-weight: 500; }
.programme-list li:last-child { border-bottom: none; padding-bottom: 4px; }
.programme-list li span { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--gold-deep); min-width: 20px; }

/* ============================================================
   RESOURCES
   ============================================================ */
.product-list { display: grid; gap: 22px; }
.product { display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 4vw, 52px); align-items: center; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: clamp(22px, 3vw, 34px); transition: box-shadow .25s ease; }
.product:hover { box-shadow: var(--shadow-md); }
.product-cover { background: linear-gradient(160deg, #F2F0E9 0%, #E9E7DC 100%); border-radius: var(--radius-sm); padding: 22px; display: flex; align-items: center; justify-content: center; }
.product-cover img { width: 100%; max-width: 168px; height: auto; display: block; border-radius: 2px; box-shadow: 0 20px 38px -14px rgba(0, 0, 0, 0.35); }
.product-body h3 { font-size: clamp(1.32rem, 2vw, 1.62rem); margin-bottom: 12px; }
.product-body p:not(.project-label):not(.product-audience) { font-size: 0.97rem; margin-bottom: 14px; }
.product-audience { font-size: 0.88rem; color: var(--muted); margin-bottom: 20px; }
.product-audience strong { color: var(--ink); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 880px; border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 26px; background: none; border: none; text-align: left; padding: 21px 4px; cursor: pointer; font-family: 'Inter', sans-serif; font-size: 1.02rem; font-weight: 600; color: var(--ink); transition: color .2s ease; }
.faq-q:hover { color: var(--green); }
.faq-q svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--muted); transition: transform .3s ease; }
.faq-item.open .faq-q svg { transform: rotate(45deg); color: var(--gold-deep); }
.faq-a { display: none; padding: 0 4px 21px; }
.faq-item.open .faq-a { display: block; }
.faq-a p { max-width: 64ch; font-size: 0.95rem; line-height: 1.68; }
.faq-disclaimer { max-width: 880px; margin: 24px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.6; padding-left: 16px; border-left: 2px solid var(--hairline); }

/* ============================================================
   CONTACT
   ============================================================ */
.section-green { color: #E9E7DC; }
.section-green h2 { color: var(--ivory); }
.contact-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(40px, 5vw, 72px); align-items: start; }
.contact-lede { font-size: 1.02rem; line-height: 1.68; color: rgba(240, 239, 232, 0.85); max-width: 34rem; margin-bottom: 30px; }
.contact-list { list-style: none; margin-bottom: 28px; }
.contact-list li { display: flex; align-items: flex-start; gap: 16px; padding: 12px 0; }
.contact-list small { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.contact-list a, .contact-list span:not(.contact-icon) { color: #F1EFE6; text-decoration: none; font-size: 0.98rem; }
.contact-list a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.contact-icon { flex: 0 0 auto; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--gold); }
.contact-icon svg { width: 19px; height: 19px; }

.social-row { display: flex; gap: 12px; margin-top: 28px; }
.social-row a { width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--ivory); transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.social-row a:hover { background: var(--gold); border-color: var(--gold); color: #1B1B1B; transform: translateY(-2px); }
.social-row svg { width: 18px; height: 18px; }

.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 38px); color: var(--ink); box-shadow: 0 34px 70px -34px rgba(0, 0, 0, 0.55); }
.form-title { font-family: 'Playfair Display', serif; font-size: 1.42rem; font-weight: 600; color: var(--green-deep); }
.form-sub { font-size: 13px; color: var(--muted); margin: 8px 0 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.05em; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #D8D5CA; border-radius: var(--radius-sm); background: #FDFDFB; font-family: 'Inter', sans-serif; font-size: 14.5px; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; font-size: 13.5px; line-height: 1.6; }
.form-status.success { background: #EAF4EE; border: 1px solid #BFE3CF; color: #14532D; border-radius: var(--radius-sm); padding: 13px 15px; }
.form-status.error { background: #FDECEA; border: 1px solid #F3C0BB; color: #8A1F14; border-radius: var(--radius-sm); padding: 13px 15px; }
.form-status a { color: inherit; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--footer-bg); color: rgba(240, 239, 232, 0.72); }
.footer-grid { display: grid; grid-template-columns: 1.35fr 0.9fr 1fr 0.75fr; gap: clamp(30px, 4vw, 56px); padding: clamp(52px, 6vw, 72px) 0 40px; }
.footer-logo { display: inline-flex; background: #FFFFFF; border-radius: var(--radius-md); padding: 11px 16px; }
.footer-logo img { height: 44px; width: auto; display: block; }
.footer-positioning { margin-top: 20px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.footer-desc { margin-top: 12px; font-size: 13.5px; line-height: 1.7; max-width: 40ch; }
.footer-tagline { margin-top: 16px; font-size: 12.5px; font-style: italic; color: rgba(240, 239, 232, 0.55); }
.footer-heading { font-size: 10px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(240, 239, 232, 0.45); margin-bottom: 14px; }
.footer-col a { display: block; color: rgba(240, 239, 232, 0.78); text-decoration: none; font-size: 13.5px; padding: 5px 0; transition: color .2s ease; }
.footer-col a:hover { color: var(--gold); }
.footer-static { display: block; font-size: 13.5px; padding: 5px 0; }
.footer-bottom { border-top: 1px solid var(--hairline-dark); padding: 20px 0; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 12px; color: rgba(240, 239, 232, 0.5); }
.footer-legal a { color: var(--gold); text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }

/* ============================================================
   UTILITIES: to-top, lightbox, toast
   ============================================================ */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 46px; height: 46px; border-radius: 50%; border: none; background: var(--green); color: var(--ivory); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease, background .25s ease; box-shadow: var(--shadow-md); display: inline-flex; align-items: center; justify-content: center; }
.to-top.visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--green-soft); }
.to-top svg { width: 20px; height: 20px; }

.lightbox { position: fixed; inset: 0; z-index: 70; background: rgba(7, 31, 23, 0.93); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); background: transparent; color: var(--ivory); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .2s ease; }
.lightbox-close:hover { background: rgba(255, 255, 255, 0.12); }
.lightbox-close svg { width: 22px; height: 22px; }
.lightbox-figure { max-width: min(1040px, 94vw); text-align: center; }
.lightbox-figure img { max-width: 100%; max-height: 76vh; border-radius: var(--radius-sm); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); }
.lightbox-figure figcaption { margin-top: 14px; font-size: 13px; color: rgba(240, 239, 232, 0.85); letter-spacing: 0.02em; padding: 0 12px; }

.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 10px); z-index: 80; background: var(--ink); color: var(--ivory); font-size: 13.5px; padding: 13px 22px; border-radius: var(--radius-sm); opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .3s ease; box-shadow: var(--shadow-md); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .nav-desktop { gap: 16px; }
  .nav-link { font-size: 12.5px; }
  .engagement { grid-template-columns: 340px 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .nav-desktop, .header-cta { display: none; }
  .hamburger { display: inline-flex; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .training-grid { grid-template-columns: 1fr; gap: 44px; }
  .programmes-panel { max-width: 520px; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .strip-inner { justify-content: flex-start; gap: 18px 32px; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-portrait { justify-self: center; max-width: 340px; order: -1; }
  .hero h1 { max-width: none; font-size: clamp(2.05rem, 8.6vw, 2.6rem); }
  .lede { max-width: none; }
  .engagement { grid-template-columns: 1fr; }
  .engagement-media img { height: 190px; }
  .creative-grid { grid-template-columns: repeat(2, 1fr); }
  .creative-card { grid-column: auto; }
  .product { grid-template-columns: 1fr; text-align: left; padding: 26px; }
  .product-cover { padding: 26px; }
  .product-cover img { max-width: 150px; }
  .service-list { grid-template-columns: 1fr; }
  .division-head { grid-template-columns: auto 1fr; }
  .division-count { grid-column: 2; justify-self: start; margin-top: 0; }
}

@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .brand img { height: 40px; }
  .hero { padding-top: 36px; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .strip-inner { flex-direction: column; gap: 12px; }
  .creative-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; }
  .project-meta { gap: 6px 14px; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- Variant: contain media (wide/tall artwork) ---------- */
.creative-media--contain { display: flex; align-items: center; justify-content: center; padding: 16px; }
.creative-media--contain img { object-fit: contain; height: auto; max-height: 100%; }
