:root {
  --text: #202020;
  --text-mid: #505050;
  --text-quiet: #8a8a86;
  --bg: #f6f5f1;
  --bg-alt: #eceae4;
  --rule: #ccc9c0;
  --rule-light: #dddad3;
  --serif: 'Newsreader', 'Georgia', serif;
  --sans: 'Karla', 'Helvetica Neue', sans-serif;
  --content-w: 720px;
  --gutter: clamp(20px, 4vw, 40px);
  --nav-h: 3.1rem;
  --nav-pad: 0.85rem;
}

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

html {
  font-size: 17.5px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--serif);
  color: var(--text);
  background: var(--bg);
  line-height: 1.72;
}

/* ============ NAV ============ */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--bg);
  transition: background 0.35s;
}

nav.on-alt { background: var(--bg-alt); }
nav.on-white { background: #ffffff; }

nav .nav-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: var(--nav-pad);
}

nav .site-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  text-decoration: none;
  color: var(--text);
  letter-spacing: 0.02em;
}

nav .nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

nav .nav-links a {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--text-quiet);
  transition: color 0.25s;
}

nav .nav-links a:hover,
nav .nav-links a.active {
  color: var(--text);
}

/* ============ CONTENT ============ */

.wrap {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============ HERO ============ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg);
}

.hero .wrap {
  padding-top: var(--nav-h);
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4.2vw, 2.1rem);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 2.8rem;
  max-width: 520px;
}

.hero .opening p {
  font-size: 1.02rem;
  line-height: 1.82;
  margin-bottom: 1.15rem;
  color: var(--text);
}

.hero .opening p:first-child {
  font-size: 1.08rem;
}

.hero .opening p:last-child {
  margin-bottom: 0;
}

/* ============ PRACTICE GROUP (home) ============ */

.practice-group {
  background: #ffffff;
  padding: 4.5rem 0 5rem;
}

.practice-image {
  margin-bottom: 4rem;
}

.practice-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

.practice-section {
  padding-bottom: 3.8rem;
  margin-bottom: 3.8rem;
}

.practice-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
}

/* divider between the offering teasers, so the four read as a clear list */
.practice-section + .practice-section {
  border-top: 1px solid var(--rule-light);
  padding-top: 3.8rem;
}

.section-label {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 1.6rem;
  display: block;
}

a.section-label-link {
  text-decoration: none;
  transition: opacity 0.25s;
}

a.section-label-link:hover {
  opacity: 0.55;
}

.more-link {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text-mid);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
  transition: color 0.25s, border-color 0.25s;
}

.more-link:hover {
  color: var(--text);
  border-color: var(--text-mid);
}

p {
  margin-bottom: 1.15rem;
  font-size: 0.97rem;
  line-height: 1.78;
  color: var(--text);
}

p:last-child {
  margin-bottom: 0;
}

a.text-link {
  color: var(--text);
  text-decoration-line: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color 0.25s;
}

a.text-link:hover {
  text-decoration-color: var(--text-mid);
}

/* ============ SUB-PAGE LAYOUT ============ */

.page {
  background: var(--bg);
  padding: calc(var(--nav-h) + 3.2rem) 0 4.5rem;
}

.page-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.6vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 2.2rem;
}

.working-together,
.get-in-touch {
  margin-top: 3rem;
  padding-top: 2.6rem;
  border-top: 1px solid var(--rule-light);
}

.working-together .section-label,
.get-in-touch .section-label {
  font-size: 1.1rem;
}

.session-detail {
  margin-top: 2.2rem;
}

.session-detail p {
  font-size: 0.93rem;
  color: var(--text-mid);
}

/* ============ BACKGROUND ============ */

.background-section {
  background: var(--bg-alt);
  padding: 4.5rem 0 5rem;
}

.bg-intro {
  margin-bottom: 2.5rem;
}

.bg-intro p {
  font-size: 0.97rem;
  line-height: 1.82;
}

.training-item {
  margin-bottom: 2rem;
}

.training-item:last-child {
  margin-bottom: 0;
}

.training-item h3 {
  font-family: var(--serif);
  font-size: 0.97rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.training-item p {
  font-size: 0.92rem;
  line-height: 1.78;
  color: var(--text-mid);
}

.training-item p + p {
  margin-top: 0.7rem;
}

/* ============ CONTACT ============ */

.contact-section {
  background: var(--bg);
  padding: 4.5rem 0 6rem;
}

.contact-section p {
  font-size: 0.97rem;
}

.contact-link {
  display: inline-block;
  margin-top: 1.1rem;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
  padding-bottom: 1px;
  border-bottom: 1px solid var(--text);
  transition: opacity 0.25s;
}

.contact-link:hover {
  opacity: 0.5;
}

/* ============ OTHER OFFERINGS ROW ============ */

.other-offerings {
  background: var(--bg-alt);
  padding: 3.2rem 0 3.6rem;
}

.oo-label {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-quiet);
  display: block;
  margin-bottom: 1.2rem;
}

.oo-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
}

.oo-links a {
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: opacity 0.25s, border-color 0.25s;
}

.oo-links a:hover {
  opacity: 0.6;
  border-color: var(--text-mid);
}

/* ============ FOOTER ============ */

footer {
  background: var(--bg);
  padding: 1.5rem 0 2.2rem;
}

footer p {
  font-family: var(--sans);
  font-size: 0.64rem;
  color: var(--rule);
  letter-spacing: 0.02em;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 600px) {
  html { font-size: 16.5px; }
  .practice-group { padding: 3rem 0 3.5rem; }
  .practice-section { padding-bottom: 2.8rem; margin-bottom: 2.8rem; }
  .practice-section + .practice-section { padding-top: 2.8rem; }
  .page { padding-top: calc(var(--nav-h) + 2.2rem); padding-bottom: 3.4rem; }
  .background-section { padding: 3rem 0 3.5rem; }
  .contact-section { padding: 3rem 0 4rem; }
  .other-offerings { padding: 2.6rem 0 3rem; }
  nav .nav-inner { gap: 1rem; }
  nav .nav-links { gap: 0.8rem; }
  nav .nav-links a { font-size: 0.9rem; }
}
