/* ============================================
   Martyn Ward Consulting — v3
   HeronCode-inspired editorial design
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --bg:       #F1F0ED;
  --white:    #FFFFFF;
  --black:    #0D0D0D;
  --navy:     #1D3461;
  --navy-mid: #2a4a82;
  --grey:     #888888;
  --grey-lt:  #D8D5D0;
  --accent:   #1D3461;  /* navy as accent (replaces HeronCode's yellow) */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.2rem 3rem;
  background: var(--bg);
}

.hdr-left {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.hdr-left a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color 0.2s;
}
.hdr-left a:hover, .hdr-left a.active { color: var(--black); }

.hdr-centre img {
  height: 52px;
  width: auto;
  margin: 0 auto;
}

.hdr-right {
  display: flex;
  justify-content: flex-end;
}
.hdr-cta {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border: 1.5px solid var(--black);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  transition: all 0.2s;
}
.hdr-cta:hover { background: var(--black); color: var(--bg); }
/* Text wordmark replacing logo image */
.wordmark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  color: var(--black);
  line-height: 1;
  text-align: center;
  display: block;
}
.wordmark span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 0.2rem;
}
.wordmark:hover { opacity: 0.75; }

/* Single-column about strip */
.about-strip--single {
  grid-template-columns: 1fr;
}
.about-strip--single .about-strip-text {
  max-width: 820px;
}


/* =============================================
   HERO STAGE
   ============================================= */
.hero-stage {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Large background orb (the grey circle) */
.bg-orb {
  position: absolute;
  width: 75vw;
  height: 75vw;
  border-radius: 50%;
  background: rgba(0,0,0,0.035);
  top: 50%;
  right: -15vw;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}

/* Floating symbols */
.sym {
  position: absolute;
  font-size: 1rem;
  color: var(--grey-lt);
  font-weight: 300;
  pointer-events: none;
  z-index: 1;
}
.sym--plus  { top: 18%; left: 22%; font-size: 1.4rem; }
.sym--sigma { top: 38%; left: 58%; font-size: 1rem; letter-spacing: 0; }
.sym--check { top: 28%; right: 36%; font-size: 0.9rem; }
.sym--omega { bottom: 28%; right: 32%; font-size: 1rem; }

/* Three-column hero layout */
.hero-cols {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0 3rem;
  gap: 0;
}

/* LEFT: Big name */
.hero-name-col {
  display: flex;
  align-items: flex-end;
  padding-bottom: 1rem;
  z-index: 2;
}
.big-name {
  display: flex;
  flex-direction: column;
  line-height: 0.85;
}
.bn-line1,
.bn-line2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4.5rem, 11vw, 11rem);
  letter-spacing: 0.02em;
  color: var(--black);
  display: block;
  user-select: none;
}
.bn-line2 {
  color: var(--navy);
}

/* CENTRE: geometric composition */
.hero-comp {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 420px;
  margin: 0 auto;
  flex-shrink: 0;
}

.comp-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Logo image — greyscale, editorial treatment */



/* Navy accent block (HeronCode's yellow rectangle) */
.comp-accent-block {
  position: absolute;
  width: 20%;
  height: 14%;
  background: var(--navy);
  top: 42%;
  left: 36%;
  z-index: 3;
  opacity: 0.85;
}

/* Dark sphere */
.comp-sphere {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  bottom: 24%;
  right: 18%;
  z-index: 3;
  opacity: 0.7;
}

/* Horizontal rule */
.comp-hline {
  position: absolute;
  left: -5%;
  right: -5%;
  top: 50%;
  height: 1px;
  background: var(--grey-lt);
  z-index: 1;
}

/* RIGHT: descriptor + side nav */
.hero-info-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 2rem;
  padding-left: 2rem;
  max-width: 260px;
}

.hero-descriptor p {
  font-size: 0.88rem;
  color: var(--grey);
  line-height: 1.7;
}

.hero-sidenav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  border-top: 1px solid var(--grey-lt);
  padding-top: 1.2rem;
  width: 100%;
}
.sidenav-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-lt);
  margin-bottom: 0.3rem;
}
.hero-sidenav a {
  font-size: 0.8rem;
  color: var(--grey);
  letter-spacing: 0.04em;
  transition: color 0.2s;
  line-height: 1.6;
}
.hero-sidenav a:hover { color: var(--black); }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 2;
  cursor: pointer;
}
.scroll-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--grey-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey);
}
.scroll-icon svg { width: 18px; height: 18px; }
.scroll-cue span {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}

/* =============================================
   SECTIONS
   ============================================= */
section.panel {
  padding: 100px 3rem;
}
section.panel--white { background: var(--white); }
section.panel--dark  { background: var(--black); color: var(--bg); }

.panel-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1rem;
}

.panel-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 700px;
  margin-bottom: 1.2rem;
}

.panel-body {
  font-size: 0.97rem;
  color: var(--grey);
  max-width: 560px;
  line-height: 1.8;
}

/* Services grid */
.services-wrapper {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--grey-lt);
}
.svc-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--grey-lt);
  border-bottom: 1px solid var(--grey-lt);
  transition: background 0.2s;
}
.svc-card:nth-child(3n) { border-right: none; }
.svc-card:hover { background: var(--bg); }
.svc-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  color: var(--grey-lt);
  line-height: 1;
  margin-bottom: 1rem;
}
.svc-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--black);
}
.svc-body {
  font-size: 0.87rem;
  color: var(--grey);
  line-height: 1.65;
}
.svc-link {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
  padding-bottom: 1px;
  transition: opacity 0.2s;
}
.svc-link:hover { opacity: 0.55; }

/* About strip */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.about-strip-text {
  padding: 100px 3rem;
  background: var(--white);
}
.about-strip-quote {
  padding: 100px 3rem;
  background: var(--black);
  display: flex;
  align-items: center;
}
.pull-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
}
.pull-quote cite {
  display: block;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-top: 1.5rem;
}

.credential-list {
  list-style: none;
  margin-top: 2rem;
  border-top: 1px solid var(--grey-lt);
  padding-top: 2rem;
}
.credential-list li {
  font-size: 0.9rem;
  color: var(--grey);
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--grey-lt);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.credential-list li::before {
  content: '';
  display: block;
  width: 18px;
  height: 1px;
  background: var(--navy);
  flex-shrink: 0;
}

/* CTA strip */
.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-strip .panel-title { margin-bottom: 0; }

/* Buttons */
.btn-large {
  display: inline-block;
  padding: 0.95rem 2.5rem;
  background: var(--navy);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s;
  border: 1.5px solid transparent;
}
.btn-large:hover { background: var(--navy-mid); }

.btn-large--outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-large--outline:hover { background: rgba(255,255,255,0.07); }

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--black);
  padding: 4rem 3rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

footer p { font-size: 0.85rem; color: rgba(255,255,255,0.38); line-height: 1.7; }
footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.2rem;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.45rem; }
footer ul a { font-size: 0.87rem; color: rgba(255,255,255,0.3); transition: color 0.2s; }
footer ul a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.73rem;
  color: rgba(255,255,255,0.22);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* =============================================
   INNER PAGES
   ============================================= */
.page-hero {
  padding: 160px 3rem 80px;
  border-bottom: 1px solid var(--grey-lt);
}
.page-hero .panel-label { margin-bottom: 1.2rem; }
.page-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 0.88;
  letter-spacing: 0.02em;
  max-width: 960px;
}
.page-hero p {
  font-size: 1.05rem;
  color: var(--grey);
  max-width: 560px;
  margin-top: 1.8rem;
  line-height: 1.75;
}

/* Services page detail */
.svc-detail {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 4rem;
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--grey-lt);
  align-items: start;
}
.svc-detail:last-child { border-bottom: none; }
.svc-detail-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4.5rem;
  color: var(--grey-lt);
  line-height: 1;
}
.svc-detail h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.svc-detail p { font-size: 0.93rem; color: var(--grey); margin-bottom: 0.9rem; line-height: 1.8; }
.svc-detail ul { list-style: none; margin-top: 1rem; }
.svc-detail ul li {
  font-size: 0.87rem;
  color: var(--grey);
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--grey-lt);
  padding-left: 1.2rem;
  position: relative;
}
.svc-detail ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 1px;
  background: var(--navy);
}

/* About page */
.about-main-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 5rem;
  padding: 80px 3rem;
}
.about-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  margin: 2.5rem 0 0.8rem;
}
.about-body h2:first-child { margin-top: 0; }
.about-body p { font-size: 0.93rem; color: var(--grey); margin-bottom: 1rem; line-height: 1.85; }

.about-sidebar-card {
  background: var(--white);
  padding: 1.8rem;
  margin-bottom: 1.2rem;
}
.about-sidebar-card h3 {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1rem;
}
.about-sidebar-card ul { list-style: none; }
.about-sidebar-card li {
  font-size: 0.87rem;
  color: var(--grey);
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--grey-lt);
}
.about-sidebar-card li:last-child { border-bottom: none; }

/* Contact page */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 65vh;
}
.contact-left {
  background: var(--white);
  padding: 80px 4rem;
}
.contact-right {
  background: var(--black);
  padding: 80px 4rem;
}
.contact-left h2,
.contact-right h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.contact-right h2 { color: var(--white); }
.contact-right p { color: rgba(255,255,255,0.45); font-size: 0.93rem; margin-bottom: 2rem; }
.contact-right .panel-label { color: rgba(255,255,255,0.3); }

.contact-info-item { margin-bottom: 1.5rem; }
.info-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.info-value { font-size: 1rem; color: var(--black); }
.info-value a { border-bottom: 1px solid var(--grey-lt); transition: border-color 0.2s; }
.info-value a:hover { border-color: var(--navy); }

.calendly-btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: var(--navy);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  transition: background 0.2s;
}
.calendly-btn:hover { background: var(--navy-mid); }

/* Form */
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.45rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--white);
  transition: border-color 0.2s;
  border-radius: 0;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--navy-mid);
}
.form-group select option { background: #1a1a1a; }
.form-group textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 0.73rem; color: rgba(255,255,255,0.25); margin-top: 0.4rem; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .hero-cols { padding: 0 2rem; }
  .bn-line1, .bn-line2 { font-size: clamp(4rem, 11vw, 10rem); }
  .hero-comp { max-width: 320px; height: 320px; }
  .hero-info-col { max-width: 200px; }
}

@media (max-width: 860px) {
  .site-header { padding: 1rem 1.5rem; grid-template-columns: 1fr auto; }
  .hdr-left { display: none; }
  .hdr-centre { grid-column: 1; }
  .hdr-right { grid-column: 2; }
  .hdr-centre img { margin: 0; }

  .hero-cols { grid-template-columns: 1fr; align-items: flex-start; padding: 2rem 1.5rem; gap: 2rem; }
  .hero-comp { max-width: 280px; height: 280px; margin: 0; }
  .hero-info-col { align-items: flex-start; text-align: left; max-width: 100%; padding-left: 0; }
  .hero-sidenav { align-items: flex-start; }
  .bn-line1, .bn-line2 { font-size: clamp(4.5rem, 18vw, 7rem); }

  .services-wrapper { grid-template-columns: 1fr 1fr; }
  .svc-card:nth-child(2n) { border-right: none; }
  .svc-card:nth-child(3n) { border-right: 1px solid var(--grey-lt); }

  .about-strip { grid-template-columns: 1fr; }
  .about-strip-text, .about-strip-quote { padding: 60px 1.5rem; }
  section.panel { padding: 60px 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .page-hero { padding: 120px 1.5rem 50px; }
  .svc-detail { grid-template-columns: 60px 1fr; gap: 1.5rem; }
  .about-main-content { grid-template-columns: 1fr; padding: 50px 1.5rem; gap: 2rem; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-left, .contact-right { padding: 50px 1.5rem; }
  footer { padding: 2.5rem 1.5rem 1.5rem; }
  .cta-strip { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 560px) {
  .services-wrapper { grid-template-columns: 1fr; }
  .svc-card { border-right: none !important; }
}
