/* Matches the Squarespace design of ztcoaching.com: full-width colour bands, centred serif headings, light sans body. Single light theme, as on the original. */
:root {
  --ink: #524f4a;        /* body text, footer */
  --stone: #ede6e2;      /* "light" sections */
  --paper: #faf9f7;      /* header and "white" sections */
  --sage: #51665e;       /* "bright" sections and buttons */
  --on-sage: #ffffff;

  --serif: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Palanquin", "Helvetica Neue", Arial, sans-serif;
  --button: "Poppins", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1170px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1.0625rem, 0.95rem + 0.35vw, 1.216rem);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
p { margin: 0; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
strong, b { font-weight: 700; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
  text-align: center;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.808rem); line-height: 1.25; }
h2 { font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.296rem); }
h3 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.648rem); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 1000px; }

/* Header */
.site-header { background: var(--paper); }
.site-header .wrap {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px 24px;
  padding-block: 18px;
}
.nav { display: flex; flex-wrap: wrap; gap: 4px 15px; font-size: 1.216rem; }
.nav a { text-decoration: none; padding-bottom: 2px; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }
.logo img { width: 164px; height: auto; }
.logo .fallback { font-family: var(--serif); font-size: 1.4rem; letter-spacing: 0.04em; text-decoration: none; }

/* Section bands */
.band { padding-block: clamp(48px, 6vw, 72px); }
.band.stone { background: var(--stone); }
.band.paper { background: var(--paper); }
.band.sage { background: var(--sage); color: var(--on-sage); }
.band .stack { display: grid; gap: 1.1em; }
.band h2 + .stack, .band h2 + .cols, .band h2 + .rows { margin-top: clamp(28px, 3.5vw, 44px); }

/* Hero with slow drifting mist, standing in for the Squarespace background art */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #a2a7a2 0%, #d2d0cc 55%, #ede6e2 100%);
  padding-block: clamp(56px, 7vw, 64px);
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  pointer-events: none;
}
.hero::before {
  width: 26%; height: 60%; left: 13%; top: 25%;
  background: rgba(150, 152, 146, 0.45);
  animation: drift 18s ease-in-out infinite alternate;
}
.hero::after {
  width: 38%; height: 40%; right: 12%; top: -5%;
  background: rgba(140, 146, 140, 0.45);
  animation: drift 24s ease-in-out infinite alternate-reverse;
}
.hero h1 { position: relative; z-index: 1; }
@keyframes drift { from { transform: translateX(-6%); } to { transform: translateX(8%); } }

/* Heading bands (clients, about me) */
.band.sage.headline { padding-block: 44px; }
.headline h1 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.296rem); line-height: 1.4; }

/* Intro: circular portrait beside large text */
.intro {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: clamp(32px, 8vw, 118px);
  align-items: center;
  max-width: 1030px;
  margin-inline: auto;
}
.intro .stack { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.54rem); line-height: 1.8; }
.circle { border-radius: 50%; object-fit: cover; aspect-ratio: 1; width: 100%; height: auto; background: rgba(0,0,0,0.06); }

/* Two columns of lists */
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px clamp(32px, 6vw, 88px); }
.cols > * { min-width: 0; display: grid; gap: 18px; align-content: start; }
.cols h2 { font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.296rem); }

ul.dots { margin: 0; padding: 0 0 0 1.1em; display: grid; gap: 0.55em; list-style: none; }
ul.dots li { position: relative; line-height: 1.8; }
ul.dots li::before { content: "·"; position: absolute; left: -1em; font-weight: 700; }

/* Testimonial rows */
.rows { display: grid; gap: clamp(40px, 5vw, 64px); max-width: 1030px; margin-inline: auto; }
.row { display: grid; grid-template-columns: 198px minmax(0, 1fr); gap: clamp(24px, 6vw, 84px); align-items: start; }
.row .stack { gap: 1.1em; }
.row .name { font-weight: 700; }
.home-quotes .row { grid-template-columns: 176px minmax(0, 600px); justify-content: center; }

/* Buttons */
.actions { display: flex; justify-content: center; margin-top: clamp(28px, 3vw, 36px); }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: min(352px, 100%);
  padding: 18px 32px;
  border-radius: 6.4px;
  background: var(--sage);
  color: var(--on-sage);
  font-family: var(--button);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  line-height: 1.5;
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.button:hover { opacity: 0.85; }
.band.sage .button { background: #ffffff; color: var(--sage); }

/* Footer */
.site-footer { background: var(--ink); color: var(--stone); text-align: center; }
.site-footer .wrap { display: grid; justify-items: center; gap: 20px; padding-block: 20px 48px; }
.site-footer .mark { width: 103px; height: 103px; }
.site-footer .email { font-family: var(--serif); font-weight: 500; font-size: 1.648rem; line-height: 1.3; }
.linkedin {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--paper); color: var(--ink);
  display: grid; place-items: center;
  text-decoration: none;
  font-family: var(--button); font-weight: 600; font-size: 0.95rem;
}

.burger { display: none; }

@media (max-width: 800px) {
  .site-header .wrap { grid-template-columns: 44px minmax(0, 1fr) 44px; padding-block: 12px; }
  .site-header .logo { grid-column: 2; justify-self: center; }
  .logo img { width: 120px; }
  .intro, .cols, .row, .home-quotes .row { grid-template-columns: minmax(0, 1fr); }
  .intro .circle, .row .circle { max-width: 180px; margin-inline: auto; }

  .burger {
    grid-column: 3;
    display: grid;
    align-content: center;
    gap: 7px;
    width: 44px;
    height: 44px;
    padding: 0 8px;
    background: none;
    border: 0;
    color: var(--ink);
    cursor: pointer;
    position: relative;
    z-index: 11;
  }
  .burger span { display: block; height: 1px; background: currentColor; transition: transform 0.2s ease; }
  .menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .burger:focus-visible { outline: 1px solid currentColor; outline-offset: 2px; }

  .js .nav { display: none; }
  .js.menu-open .nav {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 10;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
    background: var(--paper);
    font-size: 1.8rem;
  }
  .menu-open body { overflow: hidden; }
  /* Without script, the links simply sit under the logo */
  html:not(.js) .site-header .wrap { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  html:not(.js) .site-header .logo { grid-column: 1; order: -1; }
  html:not(.js) .nav { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after { animation: none; }
  .burger span { transition: none; }
}
