/* ==========================================================================
   HOLGATE · Design System
   Systemic team coaching for leadership teams
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Colour */
  --ink: #1A1A1A;
  --ink-soft: #2E2E2E;
  --paper: #F5F1EA;
  --paper-deep: #EDE7DB;
  --paper-deeper: #E4DCCC;
  --text: #1A1A1A;
  --text-muted: #5C5A54;
  --mute: #8A8278;
  --line: #D8D0C2;

  /* Type */
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Space */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-xxl: 10rem;

  /* Measure */
  --max-width: 1200px;
  --max-reading: 680px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.75rem, 6.25vw, 4.75rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-bottom: var(--space-sm);
}

p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  max-width: var(--max-reading);
}

.lead {
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-top: var(--space-md);
}

p a, li a, td a, .prose a, .text-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

p a:hover, li a:hover, td a:hover, .prose a:hover, .text-link:hover {
  opacity: 0.7;
}

em { font-style: italic; }
strong { font-weight: 500; color: var(--ink); }

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section { padding: var(--space-xl) 0; position: relative; }

section.bg-deep { background: var(--paper-deep); }
section.bg-deeper { background: var(--paper-deeper); }

/* ==========================================================================
   Ornament
   ========================================================================== */

.ornament {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--ink);
  margin-bottom: var(--space-md);
}

.ornament-light {
  background: rgba(245, 241, 234, 0.4);
}

/* ==========================================================================
   Scroll reveal animation
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.95s var(--ease-out), transform 0.95s var(--ease-out);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(245, 241, 234, 0.94);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.nav a {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
}

.nav a:not(.nav-cta):hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-cta {
  display: inline-block;
  padding: 0.625rem 1.125rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper) !important;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--ink-soft);
  color: var(--paper) !important;
  text-decoration: none !important;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: var(--space-xxl) 0 var(--space-xl);
}

.hero h1 { max-width: 1000px; margin-top: var(--space-sm); }
.hero .lead { max-width: 640px; margin-top: var(--space-md); }
.hero .section-label { margin-bottom: var(--space-md); }

/* Dark hero variant (home page) */
.hero-dark {
  background: var(--ink);
  color: var(--paper);
}

.hero-dark h1,
.hero-dark h2,
.hero-dark h3 { color: var(--paper); }

.hero-dark .lead { color: rgba(245, 241, 234, 0.78); max-width: 580px; }

.hero-dark .ornament { background: rgba(245, 241, 234, 0.5); }

.hero-dark .btn {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.hero-dark .btn:hover {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
}

/* Two-column split hero layout */
.hero-split {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.hero-mark-panel {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-md);
}

.hero-mark-panel svg {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
}

.hero-mark-panel .mark-ring {
  fill: none;
  stroke: var(--paper);
  stroke-width: 1.2;
}

.hero-mark-panel .mark-h {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 140px;
  fill: var(--paper);
}

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; gap: var(--space-md); }
  .hero-mark-panel { padding: 0; margin-top: var(--space-md); }
  .hero-mark-panel svg { max-width: 200px; }
}

.hero-image {
  width: 100%;
  margin-top: var(--space-xl);
  aspect-ratio: 16 / 8;
  overflow: hidden;
  background: var(--paper-deep);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-visual {
  width: 100%;
  margin-top: var(--space-xl);
  aspect-ratio: 16 / 7;
  background: var(--paper-deeper);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.hero-visual svg {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.hero-graphic {
  margin-top: var(--space-xl);
  width: 100%;
  padding: 0;
}

.hero-graphic svg {
  width: 100%;
  height: auto;
  max-height: 440px;
  display: block;
}

@media (max-width: 768px) {
  .hero-graphic { margin-top: var(--space-lg); }
  .hero-graphic svg { max-height: 240px; }
}

.cta-row {
  margin-top: var(--space-lg);
  display: flex;
  gap: var(--space-md);
  align-items: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.875rem 1.75rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  line-height: 1;
}

.btn:hover { background: var(--ink-soft); color: var(--paper); text-decoration: none; opacity: 1; }

.btn-secondary { background: transparent; color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--paper); }

.btn-lg {
  font-size: 1rem;
  padding: 1.125rem 2.25rem;
}

/* ==========================================================================
   Content sections
   ========================================================================== */

.section-label {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--mute);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.subheading {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  display: block;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.two-col-asym {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-lg);
  align-items: start;
}

/* ==========================================================================
   Pull-quote
   ========================================================================== */

.pullquote {
  padding: var(--space-xl) 0;
  background: var(--paper-deeper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pullquote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.625rem, 4vw, 2.875rem);
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--ink);
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  text-align: center;
}

.pullquote cite {
  display: block;
  margin-top: var(--space-md);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--mute);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-style: normal;
  text-align: center;
}

/* ==========================================================================
   Process / 3-step
   ========================================================================== */

.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.step {
  border-top: 1px solid var(--ink);
  padding-top: var(--space-md);
}

.step-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--mute);
  margin-bottom: var(--space-sm);
  display: block;
}

.step h3 { font-size: 1.375rem; margin-bottom: var(--space-sm); line-height: 1.2; }
.step p { font-size: 1rem; color: var(--text); }

/* ==========================================================================
   Belief list (no numbers)
   ========================================================================== */

.belief-list {
  list-style: none;
  margin-top: var(--space-lg);
}

.belief-list li {
  padding: var(--space-md) 0;
  border-top: 1px solid var(--line);
}

.belief-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.belief-list li p {
  font-size: 1.125rem;
  color: var(--text);
  line-height: 1.6;
  max-width: none;
}

/* ==========================================================================
   Outcomes (Recent work on home page)
   ========================================================================== */

.outcomes {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.outcome {
  padding: var(--space-md) 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-lg);
  align-items: baseline;
}

.outcome:last-child {
  border-bottom: 1px solid var(--line);
}

.outcome h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--ink);
  margin: 0;
  line-height: 1.25;
}

.outcome p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.65;
  max-width: 620px;
  margin: 0;
}

.outcomes-caveat {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: var(--space-md);
}

/* ==========================================================================
   Disciplines
   ========================================================================== */

.disciplines {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.discipline {
  padding-top: var(--space-md);
  border-top: 1px solid var(--ink);
}

.discipline h3 {
  font-size: 1.375rem;
  margin-bottom: var(--space-xs);
}

.discipline-label {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--mute);
  margin-bottom: var(--space-xs);
  display: block;
}

.discipline p {
  font-size: 1rem;
  color: var(--text);
}

/* ==========================================================================
   Credibility (dark section)
   ========================================================================== */

.credibility {
  background: var(--ink);
  color: var(--paper);
  padding: var(--space-xl) 0;
}

.credibility h1,
.credibility h2,
.credibility h3 { color: var(--paper); }

.credibility p { color: var(--paper); opacity: 0.85; max-width: var(--max-reading); }

.credibility .section-label { color: var(--paper); opacity: 0.6; }

.credibility .ornament { background: rgba(245, 241, 234, 0.4); }

.credibility a {
  color: var(--paper);
}

.credibility p a {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.credibility .belief-list li {
  border-color: rgba(245, 241, 234, 0.15);
}

.credibility .belief-list li p {
  color: var(--paper);
  opacity: 0.9;
}

/* ==========================================================================
   About page: big logo lockup on hero
   ========================================================================== */

.brand-lockup {
  display: flex;
  justify-content: center;
  padding: var(--space-lg) 0 var(--space-md);
}

.brand-lockup img {
  width: 180px;
  height: auto;
  display: block;
}

/* ==========================================================================
   Portrait (headshot on About)
   ========================================================================== */

.portrait {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.portrait img {
  width: 100%;
  height: auto;
  display: block;
}

.portrait-caption {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: var(--space-sm);
  text-align: center;
}

/* ==========================================================================
   Booking block (contact page)
   ========================================================================== */

.booking-block {
  border: 1px solid var(--ink);
  padding: var(--space-lg);
  background: var(--paper);
  margin-bottom: var(--space-lg);
}

.booking-block h3 {
  margin-bottom: var(--space-sm);
}

.booking-block p {
  max-width: none;
}

.booking-email {
  display: inline-block;
  margin-top: var(--space-sm);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: var(--space-lg) 0 var(--space-md);
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.footer-logo img {
  height: 42px;
  width: auto;
  display: block;
  margin-bottom: var(--space-sm);
}

.footer-grid h4 {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: var(--space-sm);
}

.footer-grid ul { list-style: none; }
.footer-grid ul li { padding: 0.25rem 0; }
.footer-grid a {
  font-size: 0.9375rem;
  color: var(--text);
  text-decoration: none;
}

.footer-grid a:hover { text-decoration: underline; text-underline-offset: 3px; }

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--mute);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-field { margin-bottom: var(--space-md); }

.form-field label {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 0.375rem;
  color: var(--text);
  font-weight: 500;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.75rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1px solid var(--line);
  background: white;
  color: var(--text);
  border-radius: 0;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--ink);
}

.form-field textarea { min-height: 140px; resize: vertical; }

.form-help {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.375rem;
}

/* ==========================================================================
   Utility
   ========================================================================== */

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.text-center { text-align: center; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .nav a:not(.nav-cta) { display: none; }
  .outcome { grid-template-columns: 1fr; gap: var(--space-sm); }
  .outcome h3 { font-size: 1.375rem; }
}

@media (max-width: 768px) {
  .two-col,
  .two-col-asym { grid-template-columns: 1fr; gap: var(--space-md); }
  .process { grid-template-columns: 1fr; }
  .disciplines { grid-template-columns: 1fr; gap: var(--space-md); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: var(--space-xl) 0 var(--space-lg); }
  section { padding: var(--space-lg) 0; }
  .belief-list li p { font-size: 1rem; }
  .logo img { height: 48px; }
  .footer-logo img { height: 36px; }
  .brand-lockup img { width: 140px; }
  .booking-block { padding: var(--space-md); }
  .booking-email { font-size: 1.25rem; }
}

@media (max-width: 500px) {
  .logo img { height: 40px; }
  .nav-cta { padding: 0.5rem 0.875rem; font-size: 0.8125rem; }
}
