/* ============================================================
   Both And Group — Main Stylesheet
   Brand Guidelines v1.0 · bothandgroup.com.au
   ============================================================ */

:root {
  --green:        #1A3D2E;
  --green-hover:  #245240;
  --green-light:  #4A9B6E;
  --black:        #111111;
  --body:         #2D2D2D;
  --off-white:    #F7F6F3;
  --grey:         #888880;
  --border:       #E8E7E3;
  --white:        #FFFFFF;

  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-accent:  'Lora', serif;

  --max-width:    1200px;
  --content-w:    68ch;
  --pad-sm:       24px;
  --pad-md:       48px;
  --pad-lg:       64px;

  --ease:         200ms ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-display); border: none; }
ul { list-style: none; }

/* ── Layout ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-lg);
}
@media (max-width: 1024px) { .container { padding: 0 var(--pad-md); } }
@media (max-width: 768px)  { .container { padding: 0 var(--pad-sm); } }

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--black);
}
.nav-logo svg { width: 28px; height: auto; }
.nav-logo .and { color: var(--green); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--body);
  transition: color var(--ease);
}
.nav-links a.nav-cta {
  color: var(--white);
}
.nav-links a:hover,
.nav-links a.active { color: var(--green); }
.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  background: var(--green);
  padding: 9px 20px;
  border-radius: 4px;
  transition: background var(--ease);
}
.nav-cta:hover { background: var(--green-hover); }

/* Mobile nav */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
  padding: 16px var(--pad-sm);
  border-bottom: 1px solid var(--border);
  display: block;
}
.mobile-menu a.green { color: var(--green); font-weight: 600; }
.mobile-menu.open { display: flex; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* ── Typography ── */
.eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
  display: block;
}
h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--black);
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--black);
}
h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--black);
}
.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--body);
  max-width: var(--content-w);
}
.body-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
}
.pull-quote {
  font-family: var(--font-accent);
  font-size: clamp(18px, 2.2vw, 22px);
  font-style: italic;
  line-height: 1.6;
  color: var(--black);
  border-left: 3px solid var(--green);
  border-radius: 0;
  padding-left: 24px;
  max-width: 640px;
}
.attribution {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 16px;
  padding-left: 27px;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: var(--green);
  padding: 13px 26px;
  border-radius: 4px;
  transition: background var(--ease);
}
.btn-primary:hover { background: var(--green-hover); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  background: transparent;
  border: 1px solid var(--border);
  padding: 12px 26px;
  border-radius: 4px;
  transition: border-color var(--ease);
}
.btn-secondary:hover { border-color: var(--black); }
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  background: var(--white);
  padding: 13px 26px;
  border-radius: 4px;
  transition: opacity var(--ease);
}
.btn-white:hover { opacity: 0.9; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ── Sections ── */
section { padding: 80px 0; }
@media (max-width: 768px) { section { padding: 56px 0; } }

.section-header { margin-bottom: 48px; }
.section-header h2 { margin: 10px 0 16px; }

/* ── Hero ── */
.hero {
  padding: 96px 0 88px;
  border-bottom: 1px solid var(--border);
}
.hero h1 { max-width: 620px; margin: 14px 0 24px; }
.hero h1 em { color: var(--green); font-style: normal; }
.hero .lead { margin-bottom: 40px; }

/* ── Logo strip ── */
.logos-strip {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.logos-strip .label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 28px;
}
.logos-grid {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 0;
}
.logo-item {
  flex: 1;
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-right: 1px solid var(--border);
}
.logo-item:last-child { border-right: none; }
.logo-item span {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--grey);
  white-space: nowrap;
}
@media (max-width: 768px) {
  .logos-grid { gap: 16px; }
  .logo-item { min-width: 120px; padding: 0 16px; }
  .logo-item span { font-size: 13px; }
}

/* ── Philosophy ── */
.philosophy { background: var(--off-white); border-bottom: 1px solid var(--border); }
.philosophy .inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.philosophy .body-text { margin-top: 24px; max-width: 44ch; }
.philosophy .text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  margin-top: 20px;
  transition: gap var(--ease);
}
.philosophy .text-link:hover { gap: 10px; }
@media (max-width: 900px) {
  .philosophy .inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ── Pillars ── */
.pillars { border-bottom: 1px solid var(--border); }
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pillar-card {
  background: var(--off-white);
  border-left: 3px solid var(--green);
  border-radius: 0 8px 8px 0;
  padding: 28px;
}
.pillar-card h3 { margin-bottom: 10px; }
.pillar-card .body-text { margin-bottom: 12px; }
.pillar-card .italic-close {
  font-size: 14px;
  font-style: italic;
  color: var(--grey);
  font-family: var(--font-body);
}
@media (max-width: 768px) {
  .pillars-grid { grid-template-columns: 1fr; }
}

/* ── Proof ── */
.proof {
  background: var(--black);
  border-bottom: 1px solid #222;
}
.proof .eyebrow { color: var(--green-light); }
.proof h2 { color: var(--white); margin: 10px 0 40px; }
.proof-list { display: flex; flex-direction: column; }
.proof-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  align-items: flex-start;
}
.proof-item:last-child { border-bottom: none; }
.proof-dash {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--green-light);
  flex-shrink: 0;
  margin-top: 2px;
  line-height: 1.7;
}
.proof-text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  font-family: var(--font-body);
}

/* ── Trade-offs ── */
.tradeoffs { background: var(--off-white); border-bottom: 1px solid var(--border); }
.tradeoffs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
}
.tradeoff-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
}
.tradeoff-false {
  font-size: 12px;
  color: var(--grey);
  text-decoration: line-through;
  margin-bottom: 8px;
  font-family: var(--font-body);
}
.tradeoff-true {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.45;
}
.tradeoff-true em { color: var(--green); font-style: normal; }
@media (max-width: 900px) {
  .tradeoffs-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .tradeoffs-grid { grid-template-columns: 1fr; }
}

/* ── About ── */
.about { border-bottom: 1px solid var(--border); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.about-left h2 { margin: 10px 0 20px; }
.about-left .lead { font-size: 17px; }
.about-right .body-text { margin-bottom: 20px; }
.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.cred {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  color: var(--body);
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 20px;
}
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ── CTA strip ── */
.cta-strip {
  background: var(--green);
  border-bottom: none;
}
.cta-strip .eyebrow { color: var(--green-light); }
.cta-strip h2 { color: var(--white); margin: 12px 0 16px; max-width: 500px; }
.cta-strip .lead { color: rgba(255,255,255,0.75); margin-bottom: 36px; }
.cta-strip .btn-row { gap: 14px; }
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 12px 26px;
  border-radius: 4px;
  transition: border-color var(--ease);
}
.btn-outline-white:hover { border-color: rgba(255,255,255,0.7); }

/* ── Footer ── */
.footer {
  background: var(--black);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}
.footer-logo svg { width: 22px; height: auto; }
.footer-logo .and { color: var(--green-light); }
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--grey);
  transition: color var(--ease);
}
.footer-links a:hover { color: var(--white); }
.footer-copy {
  font-size: 12px;
  color: var(--grey);
  font-family: var(--font-body);
}

/* ── Contact page ── */
.contact-hero { border-bottom: 1px solid var(--border); }
.contact-hero h1 { margin: 14px 0 20px; }
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
}
.contact-col {
  padding: 64px var(--pad-lg);
}
.contact-col:first-child {
  border-right: 1px solid var(--border);
}
.contact-col h2 {
  font-size: 24px;
  margin: 10px 0 8px;
}
.contact-col .body-text { margin-bottom: 32px; }
@media (max-width: 900px) {
  .contact-split { grid-template-columns: 1fr; }
  .contact-col { padding: 48px var(--pad-sm); }
  .contact-col:first-child { border-right: none; border-bottom: 1px solid var(--border); }
}

/* Calendly placeholder */
.calendly-placeholder {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
  text-align: center;
}
.calendly-placeholder p {
  font-size: 14px;
  color: var(--grey);
  margin-top: 8px;
}

/* ── Forms ── */
.form { display: flex; flex-direction: column; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--grey);
}
.form-input,
.form-select,
.form-textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--black);
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 14px;
  transition: border-color var(--ease), box-shadow var(--ease);
  width: 100%;
  appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--grey); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(26,61,46,0.1);
}
.form-textarea { height: 120px; resize: vertical; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888880' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-submit {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  background: var(--green);
  border: none;
  border-radius: 4px;
  padding: 14px 28px;
  cursor: pointer;
  transition: background var(--ease);
  align-self: flex-start;
}
.form-submit:hover { background: var(--green-hover); }
.form-submit:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(26,61,46,0.25);
}

/* What happens next */
.next-steps {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
}
.next-steps-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}
.next-step-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.next-step h3 { margin-bottom: 8px; font-size: 16px; }
.next-step .body-text { font-size: 14px; }
@media (max-width: 768px) {
  .next-steps-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ── Focus & accessibility ── */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ── Logo image strip ── */
.logos-img-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px 0;
}
.logo-img-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
}
.logo-img {
  max-width: 100%;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.45);
  transition: filter 200ms ease;
}
.logo-img:hover { filter: grayscale(1) opacity(0.8); }
@media (max-width: 900px) {
  .logos-img-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
  .logos-img-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-img { max-height: 32px; }
  .logo-img-item { padding: 18px 12px; }
}
