/* Shared page-title + page-intro pattern used by Services, Work, About */

.page-head {
  padding: var(--pad-hero-y) var(--pad-hero-x) var(--s-12);
}

.page-kicker {
  font-weight: var(--weight-semibold);
  font-size: var(--fs-kicker);
  line-height: var(--lh-small);
  color: var(--color-teal-dark);
  margin-bottom: var(--s-6);
}

.page-title {
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  font-variation-settings: 'SHRP' 0, 'wght' 600;
  font-size: var(--fs-page);
  line-height: var(--lh-page);
  letter-spacing: var(--ls-page);
  color: var(--color-iron);
  max-width: 28ch;
  margin-bottom: var(--s-6);
}

.page-intro {
  font-weight: var(--weight-regular);
  font-size: var(--fs-lede);
  line-height: var(--lh-lede);
  color: var(--color-iron);
  max-width: var(--measure-lede);
}

/* Services list */

.services-list {
  padding: var(--pad-section-y) var(--pad-section-x);
  display: flex;
  flex-direction: column;
}

/* Services additions: Fit + Engagement formats sections */

.services-fit,
.services-formats {
  padding: var(--pad-section-y) var(--pad-section-x);
  border-top: 1px solid var(--rule-subtle);
}

.services-section-kicker {
  font-weight: var(--weight-semibold);
  font-size: var(--fs-kicker);
  line-height: var(--lh-small);
  color: var(--color-teal-dark);
  margin-bottom: var(--s-6);
}

.services-fit-body {
  font-weight: var(--weight-regular);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-iron);
  max-width: var(--measure-body);
}

.services-fit-body + .services-fit-body {
  margin-top: var(--s-4);
}

.services-formats-intro {
  font-weight: var(--weight-regular);
  font-size: var(--fs-lede);
  line-height: var(--lh-lede);
  color: var(--color-iron);
  max-width: var(--measure-lede);
  margin-bottom: var(--s-12);
}

.format-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--s-12);
  padding: var(--s-8) 0;
  border-top: 1px solid var(--rule-subtle);
  align-items: start;
}

.format-item:last-child {
  border-bottom: 1px solid var(--rule-subtle);
}

.format-title {
  font-family: var(--font-display);
  font-variation-settings: 'SHRP' 0, 'wght' 500;
  font-weight: var(--weight-medium);
  font-size: var(--fs-service);
  line-height: var(--lh-service);
  letter-spacing: -0.013em;
  text-wrap: pretty;
  color: var(--color-iron);
}

.format-body {
  font-weight: var(--weight-regular);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-iron);
  max-width: var(--measure-body);
}

@media (max-width: 960px) {
  .format-item {
    grid-template-columns: 1fr;
    gap: var(--s-5);
  }
}

@media (max-width: 720px) {
  .services-fit, .services-formats {
    padding-left: var(--s-5);
    padding-right: var(--s-5);
  }
}

/* D-01 · Label Discipline (Option A): kicker collapsed into the heading.
   Numeral sits inline in teal-dark, prefixing the service name. One line,
   two ranks. The duplicated-label pattern (kicker + same-name heading) is
   removed in favor of a single typographic line + body. */

.service-item {
  padding: var(--s-10) 0;
  border-top: 1px solid var(--rule-subtle);
}

.service-item:last-child {
  border-bottom: 1px solid var(--rule-subtle);
}

.service-title {
  font-family: var(--font-display);
  font-variation-settings: 'SHRP' 0, 'wght' 500;
  font-weight: var(--weight-medium);
  font-size: var(--fs-service);
  line-height: var(--lh-service);
  letter-spacing: -0.013em;
  text-wrap: pretty;
  color: var(--color-iron);
  margin-bottom: var(--s-4);
  max-width: var(--measure-body);
}

.service-num {
  color: var(--color-teal-dark);
  font-feature-settings: 'tnum';
  margin-right: 0.4em;
}

.service-body {
  font-weight: var(--weight-regular);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-iron);
  opacity: 0.84;
  max-width: var(--measure-body);
}

/* Work index */

.work-list {
  padding: var(--pad-section-y) var(--pad-section-x);
}

/* W-01 · single-column stacked composition. Each .work-section is its own
   chapter (kicker → heading → body → CTA), separated by a 1px rule. First
   section has no top rule so it abuts the page intro cleanly. */

.work-section {
  padding: var(--s-16) 0;
  border-top: 1px solid var(--rule-subtle);
}

.work-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.work-kicker {
  font-weight: var(--weight-semibold);
  font-size: var(--fs-kicker);
  line-height: var(--lh-small);
  color: var(--color-teal-dark);
  margin: 0 0 22px;
}

.work-heading {
  font-family: var(--font-display);
  font-variation-settings: 'SHRP' 0, 'wght' 500;
  font-weight: var(--weight-medium);
  font-size: var(--fs-section);
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--color-iron);
  max-width: 24ch;
  margin: 0 0 24px;
  text-wrap: pretty;
}

.work-body {
  font-family: var(--font-display);
  font-variation-settings: 'SHRP' 0, 'wght' 500;
  font-weight: var(--weight-medium);
  font-size: 20px;
  line-height: 1.4;
  color: var(--color-iron);
  max-width: 56ch;
  margin: 0 0 28px;
  text-wrap: pretty;
}

.work-cta {
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  font-size: 15px;
  color: var(--color-orange-deep);
  transition: border-color var(--duration-fast) var(--ease-standard);
  border-bottom: 1px solid transparent;
}

.work-cta:hover {
  border-bottom-color: var(--color-orange-deep);
}

.work-cta:focus-visible {
  outline: 2px solid var(--color-teal-dark);
  outline-offset: 4px;
}

/* About */

.about-statement {
  padding: 0 var(--pad-section-x) var(--pad-section-y);
}

.about-statement-text {
  font-family: var(--font-display);
  font-variation-settings: 'SHRP' 0, 'wght' 500;
  font-weight: var(--weight-medium);
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--color-iron);
  max-width: 50ch;
}

.about-statement-text + .about-statement-text {
  margin-top: var(--s-5);
}

/* About: engagements section (placed after the principles iron panel) */

.about-engagements {
  padding: var(--pad-section-y) var(--pad-section-x);
}

.about-engagements-kicker {
  font-weight: var(--weight-semibold);
  font-size: var(--fs-kicker);
  line-height: var(--lh-small);
  color: var(--color-teal-dark);
  margin-bottom: var(--s-6);
}

.about-engagements-body {
  font-weight: var(--weight-regular);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-iron);
  max-width: var(--measure-body);
}

@media (max-width: 720px) {
  .about-engagements {
    padding-left: var(--s-5);
    padding-right: var(--s-5);
  }
}

.about-founder {
  padding: var(--pad-section-y) var(--pad-section-x);
  border-top: 1px solid var(--rule-subtle);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--s-12);
  align-items: start;
}

.about-founder-meta {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}

.about-founder-portrait {
  width: 100%;
  max-width: 280px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.about-founder-kicker {
  font-weight: var(--weight-semibold);
  font-size: var(--fs-kicker);
  line-height: var(--lh-small);
  color: var(--color-teal-dark);
}

@media (max-width: 960px) {
  .about-founder-portrait {
    max-width: 200px;
  }
}

.about-founder-name {
  font-weight: var(--weight-medium);
  font-size: var(--fs-service);
  line-height: var(--lh-service);
  color: var(--color-iron);
  margin-bottom: var(--s-5);
}

.about-founder-bio p {
  font-weight: var(--weight-regular);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-iron);
  max-width: var(--measure-body);
}

.about-founder-bio p + p { margin-top: var(--s-4); }

.about-principles {
  background: var(--color-iron);
  color: var(--color-vellum);
  padding: var(--s-16) var(--pad-section-x);
}

.about-principles-kicker {
  font-weight: var(--weight-semibold);
  font-size: var(--fs-kicker);
  line-height: var(--lh-small);
  color: var(--color-teal-iron);
  margin-bottom: var(--s-6);
}

.principles-title {
  font-family: var(--font-display);
  font-weight: var(--weight-medium);
  font-variation-settings: 'SHRP' 0, 'wght' 500;
  font-size: var(--fs-page);
  line-height: var(--lh-thesis);
  letter-spacing: var(--ls-page);
  color: var(--color-vellum);
  max-width: 22ch;
  margin-bottom: var(--s-12);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-12) var(--s-16);
}

.principle-num {
  font-weight: var(--weight-medium);
  font-size: 32px;
  color: var(--color-teal-iron);
  line-height: 1;
  margin-bottom: var(--s-4);
}

.principle-text {
  font-weight: var(--weight-regular);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-vellum);
  opacity: 0.84;
  max-width: 36ch;
}

/* Case detail */

.case-head {
  padding: var(--pad-hero-y) var(--pad-hero-x) var(--s-12);
}

.case-back {
  font-weight: var(--weight-semibold);
  font-size: var(--fs-small);
  color: var(--color-teal-dark);
  margin-bottom: var(--s-8);
  display: inline-block;
}

.case-back:hover { color: var(--color-teal); }
.case-back:focus-visible { outline: 2px solid var(--color-teal-dark); outline-offset: 2px; }

.case-meta {
  font-weight: var(--weight-regular);
  font-size: var(--fs-small);
  color: var(--color-iron);
  opacity: 0.72;
  margin-bottom: var(--s-4);
}

.case-title {
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  font-variation-settings: 'SHRP' 0, 'wght' 600;
  font-size: var(--fs-page);
  line-height: var(--lh-page);
  letter-spacing: var(--ls-page);
  color: var(--color-iron);
  max-width: 22ch;
  margin-bottom: var(--s-6);
}

.case-lede {
  font-weight: var(--weight-regular);
  font-size: var(--fs-lede);
  line-height: var(--lh-lede);
  color: var(--color-iron);
  max-width: var(--measure-lede);
}

.case-body {
  padding: 0 var(--pad-section-x) var(--pad-section-y);
  display: flex;
  flex-direction: column;
  gap: var(--s-12);
}

.case-section {
  display: grid;
  grid-template-columns: 1fr 2.3fr;
  gap: var(--s-12);
  padding-top: var(--s-8);
  border-top: 1px solid var(--rule-subtle);
  align-items: start;
}

.case-section-label {
  font-weight: var(--weight-semibold);
  font-size: var(--fs-kicker);
  color: var(--color-teal-dark);
}

.case-section-body p {
  font-weight: var(--weight-regular);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-iron);
  max-width: var(--measure-body);
}

.case-section-body p + p { margin-top: var(--s-4); }

.case-pull {
  padding: var(--s-10) var(--pad-section-x);
}

.case-pull-inner {
  border-left: 3px solid var(--color-teal);
  padding-left: var(--s-5);
  max-width: 52ch;
  margin-left: 29%;
}

.case-pull-text {
  font-weight: var(--weight-medium);
  font-size: 32px;
  line-height: 1.22;
  color: var(--color-teal-dark);
}

.case-outcomes {
  background: var(--color-iron);
  color: var(--color-vellum);
  padding: var(--s-16) var(--pad-section-x);
}

.case-outcomes-kicker {
  font-weight: var(--weight-semibold);
  font-size: var(--fs-kicker);
  color: var(--color-teal-iron);
  margin-bottom: var(--s-6);
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-12);
}

.outcome-key {
  font-weight: var(--weight-semibold);
  font-size: var(--fs-small);
  color: var(--color-teal-iron);
  border-bottom: 1px solid var(--color-teal-iron);
  padding-bottom: var(--s-2);
  margin-bottom: var(--s-4);
  display: inline-block;
}

.outcome-value {
  font-family: var(--font-display);
  font-variation-settings: 'SHRP' 0, 'wght' 500;
  font-weight: var(--weight-medium);
  font-size: var(--fs-section);
  line-height: var(--lh-section);
  letter-spacing: -0.013em;
  text-wrap: pretty;
  color: var(--color-vellum);
}

/* Tabular numerals on numeric/UI surfaces */

.outcomes-grid, .outcome-value, .outcome-key,
.case-meta, .work-kicker {
  font-feature-settings: 'kern', 'liga', 'tnum';
}

/* Oldstyle figures on inline markers — chapter-mark numerals (e.g., 32px
   .principle-num) stay lining via inheritance. */

.case-section-label {
  font-feature-settings: 'kern', 'liga', 'onum';
}

/* P-01 · Privacy page · body
   Four sentences of practice, set as Geologica display thesis. The page
   fits one screen with no scroll — the absence of analytics IS the point. */

.privacy-body {
  padding: 0 var(--pad-section-x) var(--pad-section-y);
}

.privacy-statement {
  font-family: var(--font-display);
  font-variation-settings: 'SHRP' 0, 'wght' 500;
  font-weight: var(--weight-medium);
  font-size: 22px;
  line-height: var(--lh-thesis);
  letter-spacing: -0.008em;
  color: var(--color-iron);
  max-width: 46ch;
  text-wrap: pretty;
  margin: 0;
}

.privacy-statement + .privacy-statement {
  margin-top: var(--s-6);
}

.privacy-statement a {
  color: var(--color-orange-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(168, 79, 16, 0.30);
  transition: border-color var(--duration-fast) var(--ease-standard);
}

.privacy-statement a:hover {
  border-bottom-color: var(--color-orange-deep);
}

@media (max-width: 720px) {
  .privacy-body {
    padding-left: var(--s-5);
    padding-right: var(--s-5);
  }
}

/* 404 */

.error-page {
  padding: 160px var(--pad-hero-x) var(--pad-section-y);
}

.error-kicker {
  font-weight: var(--weight-semibold);
  font-size: var(--fs-kicker);
  color: var(--color-teal-dark);
  margin-bottom: var(--s-5);
}

.error-headline {
  font-family: var(--font-display);
  font-variation-settings: 'SHRP' 0, 'wght' 500;
  font-weight: var(--weight-medium);
  font-size: var(--fs-section);
  line-height: var(--lh-section);
  letter-spacing: -0.013em;
  text-wrap: pretty;
  color: var(--color-iron);
  margin-bottom: var(--s-5);
  max-width: 22ch;
}

.error-body {
  font-weight: var(--weight-regular);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-iron);
  max-width: var(--measure-lede);
  margin-bottom: var(--s-6);
}

.error-link {
  font-weight: var(--weight-medium);
  font-size: var(--fs-small);
  color: var(--color-orange-deep);
  transition: color var(--duration-fast) var(--ease-standard);
}

.error-link:hover { color: var(--color-orange); }
.error-link:focus-visible { outline: 2px solid var(--color-teal-dark); outline-offset: 4px; }

/* Responsive */

@media (max-width: 960px) {
  .about-founder, .case-section {
    grid-template-columns: 1fr;
    gap: var(--s-5);
  }
  .principles-grid, .outcomes-grid {
    grid-template-columns: 1fr;
  }
  .case-pull-inner { margin-left: 0; }
}

@media (max-width: 720px) {
  .page-head, .services-list, .work-list, .about-statement, .about-founder,
  .about-principles, .case-head, .case-body, .case-pull, .case-outcomes,
  .error-page {
    padding-left: var(--s-5);
    padding-right: var(--s-5);
  }
}
