/* Kaz Sahota — brand system, light version (see brand guidelines) */
:root {
  --slate: #1A3644;
  --slate-teal: #4E6C76;
  --blue: #2A6496;
  --blue-light: #9EC4E4;
  --tint: #F4F6F7;
  --grey: #5A6472;
  --rule: #D9DFE1;
  --body: #2B2F33;
  --bg: #FFFFFF;
  --max: 1040px;
  --font: Calibri, "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--body); font-family: var(--font); font-size: 18px; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--slate); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { line-height: 1.25; font-weight: 700; }

/* Header */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 2; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { color: #fff; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: .02em; }
.brand:hover { color: #fff; }
.nav { display: flex; gap: 28px; }
.nav a { color: #DCE6EA; text-decoration: none; font-size: 16px; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }

/* Hero: shorter, lets more of the banner show */
.hero {
  position: relative; color: #fff; padding: 112px 0 56px;
  background: linear-gradient(90deg, rgba(18,41,57,.92) 0%, rgba(18,41,57,.7) 50%, rgba(18,41,57,.05) 100%), url("banner.jpg") center / cover no-repeat, var(--slate);
}
.hero.compact { padding: 104px 0 44px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-light); margin: 0 0 12px; }
.hero h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.12; margin: 0 0 14px; max-width: 760px; }
.hero.compact h1 { max-width: 1000px; }
.hero .lede { font-size: clamp(17px, 2vw, 20px); color: #D5DEE1; margin: 0; max-width: 680px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-block; padding: 11px 20px; border-radius: 4px; font-weight: 700; font-size: 15px; text-decoration: none; }
.btn-primary { background: #fff; color: var(--slate); }
.btn-primary:hover { background: var(--tint); color: var(--slate); }
.btn-ghost { border: 1px solid rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--slate); color: #fff; }
.btn-outline { border: 1px solid var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }

/* Sections: more air, no heavy fills */
section { padding: 88px 0; }
section + section { border-top: 1px solid var(--rule); }
.section-label { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0 0 10px; }
h2 { font-size: clamp(24px, 2.8vw, 30px); color: var(--slate); margin: 0 0 36px; max-width: 760px; }
h3 { font-size: 19px; color: var(--slate); margin: 0 0 6px; }

.grid { display: grid; gap: 40px 36px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.item { border-top: 1px solid var(--rule); padding-top: 18px; }
.item p { margin: 0; color: var(--grey); font-size: 17px; }

/* Case study card: light, no shadow block */
.card { display: block; border: 1px solid var(--rule); border-left: 3px solid var(--blue); padding: 28px 32px; text-decoration: none; color: var(--body); border-radius: 2px; transition: border-color .15s; }
.card:hover { border-color: var(--blue); color: var(--body); }
.card .kicker { color: var(--blue); }
.card h3 { font-size: 24px; margin-bottom: 8px; }
.card p { margin: 0 0 14px; color: var(--grey); }
.tags { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; list-style: none; }
.tags li { font-size: 14px; font-weight: 700; color: var(--blue); }
.tags li + li::before { content: "·"; margin-right: 16px; color: var(--rule); }
.more { font-weight: 700; color: var(--blue); }

/* Case study page */
.summary { font-size: 21px; line-height: 1.5; color: var(--slate); margin: 0 0 48px; max-width: 820px; }
.glance { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
.glance .col { border-top: 1px solid var(--rule); padding-top: 18px; }
.glance .col.outcome { border-top: 2px solid var(--blue); }
.glance h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.glance ul { margin: 0; padding-left: 18px; }
.glance li { margin-bottom: 10px; font-size: 17px; }
.glance .col:not(.outcome) li { color: var(--grey); }
.glance .outcome li { font-weight: 700; color: var(--slate); }

/* Full story: hidden until opened */
.story { margin-top: 56px; border-top: 1px solid var(--rule); }
.story summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-weight: 700; color: var(--blue); font-size: 18px; }
.story summary::-webkit-details-marker { display: none; }
.story summary::after { content: "+"; font-size: 26px; line-height: 1; font-weight: 400; }
.story[open] summary::after { content: "–"; }
.story summary .hint { font-weight: 400; color: var(--grey); font-size: 15px; margin-left: 10px; }

.callout { border-left: 3px solid var(--blue); padding: 4px 0 4px 22px; margin: 8px 0 40px; }
.callout .label { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0 0 8px; }
.callout p { margin: 0; font-weight: 700; color: var(--slate); font-size: 19px; line-height: 1.55; }
.callout p + p { margin-top: 12px; font-weight: 400; color: var(--body); font-size: 18px; }

.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 16px; }
.twocol .col { border-top: 1px solid var(--rule); padding-top: 16px; }
.twocol h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }

.prose { max-width: 760px; }
.prose h2 { font-size: 23px; margin: 52px 0 14px; }
.prose p { margin: 0 0 18px; }
.prose blockquote { margin: 8px 0 24px; padding: 2px 0 2px 20px; border-left: 3px solid var(--blue); font-style: italic; color: var(--slate); font-size: 20px; line-height: 1.5; }
.small { font-size: 15px; color: var(--grey); }
.download { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 40px 0 8px; }

/* Contact: light instead of dark */
.contact { background: var(--tint); padding: 80px 0; border-top: 1px solid var(--rule); }
.contact h2 { margin-bottom: 10px; }
.contact p { color: var(--grey); margin: 0 0 22px; max-width: 680px; }
.meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0 0 28px; color: var(--grey); font-size: 16px; }
.meta dt { font-weight: 700; color: var(--slate); }
.meta dd { margin: 0; }
.contact .btn-primary { background: var(--blue); color: #fff; }
.contact .btn-primary:hover { background: var(--slate); }
.contact .btn-ghost { border-color: var(--blue); color: var(--blue); }
.contact .btn-ghost:hover { background: var(--blue); color: #fff; }
.site-footer { padding: 24px 0; font-size: 14px; color: var(--grey); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* Responsive */
@media (max-width: 860px) {
  .grid-4, .glance { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .nav { gap: 16px; }
  .nav a { font-size: 15px; }
  .brand { font-size: 17px; }
  .hero { padding: 96px 0 44px; background: linear-gradient(90deg, rgba(18,41,57,.94), rgba(18,41,57,.78)), url("banner.jpg") left center / cover no-repeat, var(--slate); }
  .grid-4, .glance, .twocol { grid-template-columns: 1fr; }
  .grid { gap: 28px; }
  section { padding: 56px 0; }
  .contact { padding: 56px 0; }
  .card { padding: 22px 20px; }
  .meta { grid-template-columns: 1fr; gap: 0; }
  .meta dd { margin-bottom: 10px; }
  .summary { font-size: 19px; }
}
@media (max-width: 380px) {
  .nav a.hide-xs { display: none; }
}
.card p.more { color: var(--blue); }

/* Hybrid: light base, with the definition that worked in the original */
:root { --body: #26292C; }
.item, .glance .col, .twocol .col { border-top: 2px solid var(--slate); }
.item p, .card p, .glance .col:not(.outcome) li { color: #3E464E; }
.glance .col.outcome { border-top: 2px solid var(--blue); background: #EEF1F2; padding: 18px 22px 20px; }

/* Home page, positioning update (27 Oct 2026) */
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Signature line */
.quote-section { padding: 52px 0; }
.pullquote { margin: 0; max-width: 760px; border-left: 3px solid var(--blue); padding: 2px 0 2px 22px; font-style: italic; color: var(--slate); font-size: clamp(18px, 1.8vw, 21px); line-height: 1.5; }

/* Light panels: Where I focus, customer names */
.panel { margin-top: 48px; background: #EEF1F2; border-top: 3px solid var(--blue); padding: 24px 28px; }
.panel-label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin: 0 0 12px; }
.focus { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 32px; }
.focus li { font-weight: 700; color: var(--slate); font-size: 17px; line-height: 1.45; }
.names { margin: 0; font-weight: 700; color: var(--slate); font-size: 17px; line-height: 1.7; }

/* Track record */
.record { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 36px; }
.record-group h3 { font-size: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--slate-teal); margin: 0 0 20px; }
.entry { margin-bottom: 22px; }
.entry-label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin: 0 0 4px; }
.entry p:not(.entry-label) { margin: 0; font-size: 16px; line-height: 1.55; color: #3E464E; }
.entry-wide { max-width: 860px; margin-top: 16px; padding-top: 18px; border-top: 2px solid var(--slate-teal); }

@media (max-width: 860px) {
  .grid-3, .record { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-3, .record, .focus { grid-template-columns: 1fr; }
  .quote-section { padding: 44px 0; }
  .pullquote { padding-left: 18px; }
  .panel { padding: 20px; }
}

/* Short section headings with a quieter sentence beneath (27 Oct) */
h2.has-intro { margin-bottom: 10px; }
.section-intro { margin: 0 0 36px; max-width: 760px; font-size: 19px; line-height: 1.5; color: var(--slate-teal); }
@media (max-width: 640px) { .section-intro { font-size: 17px; margin-bottom: 28px; } }

/* Same-page links glide rather than jump */
html { scroll-behavior: smooth; }

/* Case study callouts: first line after the label is bold, as in the PDF */
.callout .label + p { font-weight: 700; color: var(--slate); font-size: 19px; }

/* Option B: upright statement on a tinted band, like the case study Outcome callout */
.quote-section { padding: 0; background: #EEF1F2; border-top: 0 !important; }
.quote-section .wrap { padding-top: 40px; padding-bottom: 40px; }
.pullquote { font-style: normal; font-weight: 700; font-size: clamp(19px, 2vw, 22px); line-height: 1.45; border-left: 4px solid var(--blue); padding: 4px 0 4px 24px; max-width: 820px; }
.quote-section + section { border-top: 0; }

/* Availability line under the hero buttons (v2.6) */
.hero .hero-note { margin: 18px 0 0; font-size: 15px; color: #C9D5DA; }
