/* James Haliburton 2026 — editorial system based on the approved Siili layout. */
:root,
[data-theme="light"],
[data-theme="dark"] {
  --bg: #fff;
  --bg-subtle: #fff;
  --bg-card: #fff;
  --bg-warm: #fff;
  --text: #080808;
  --text-muted: #282828;
  --text-dim: #515151;
  --accent: #111;
  --accent-hover: #444;
  --border: #dcdcdc;
  --border-accent: #111;
  --nav-bg: #fff;
  --nav-bg-solid: #fff;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: var(--sans);
  --mono: var(--sans);
  --max-width: none;
  --reading-width: 800px;
}

body.site-redesign {
  background: #fff;
  color: #080808;
  font-family: var(--sans);
  line-height: 1.45;
}
.site-redesign .fade-in {
  opacity: 1;
  transform: none;
}
.site-redesign .container,
.wide-wrap {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding-left: 60px;
  padding-right: 60px;
}
.site-redesign a:focus-visible,
.site-redesign button:focus-visible {
  outline: 3px solid #eb591f;
  outline-offset: 3px;
}

/* Header */
.site-redesign .nav {
  position: relative;
  top: auto;
  border: 0;
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-redesign .nav-inner {
  height: 80px;
  padding: 0 28px;
  max-width: none;
}
.site-redesign .nav-logo {
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1;
  color: #080808;
  white-space: nowrap;
}
.site-redesign .nav-links {
  display: flex;
  gap: clamp(18px, 2.2vw, 45px);
}
.site-redesign .nav-links a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  color: #111;
  white-space: nowrap;
}
.site-redesign .nav-links a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.site-redesign .nav-menu-btn {
  color: #111;
}
.site-redesign .nav-menu-btn span,
.site-redesign .nav-menu-btn span::before,
.site-redesign .nav-menu-btn span::after {
  background: #111;
  height: 2px;
  width: 24px;
}
.site-redesign .nav-mobile {
  top: 80px;
  z-index: 90;
  background: #fff;
  padding: 15px 28px 25px;
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.08);
}
.site-redesign .nav-mobile a {
  font-family: var(--sans);
  font-size: 22px;
  color: #111;
  border-color: #ddd;
  padding: 11px 0;
}
@media (max-width: 1099px) {
  .site-redesign .nav-links {
    display: none;
  }
  .site-redesign .nav-menu-btn {
    display: flex;
  }
}

/* Homepage hero: measured to the reference at 1280px. */
.siili-hero {
  min-height: 900px;
  position: relative;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background: #1a0d07;
  color: #fff;
}
.siili-hero-image,
.siili-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.siili-hero-image {
  object-fit: cover;
  object-position: center;
  filter: blur(13px);
  transform: scale(1.045);
}
.siili-hero-shade {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.32),
    rgba(0, 0, 0, 0.1) 45%,
    transparent 70%
  );
}
.siili-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 165px 60px 120px;
}
.siili-hero h1 {
  font-size: clamp(74px, 9vw, 116px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.045em;
  max-width: 900px;
  margin: 0 0 30px;
}
.siili-hero p {
  font-size: clamp(21px, 2.15vw, 28px);
  line-height: 1.45;
  max-width: 800px;
  margin: 0 0 32px;
}
.siili-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.outline-pill {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 56px;
  padding: 17px 27px;
  border: 1px solid currentColor;
  border-radius: 50px;
  background: transparent;
  color: #fff;
  font: 400 18px/1 var(--sans);
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition:
    color 0.18s ease,
    background 0.18s ease;
}
.outline-pill:hover {
  background: #fff;
  color: #111;
}

/* Repeated editorial modules. */
.editorial-section {
  background: #fff;
  padding: 60px 0 120px;
}
.editorial-section + .editorial-section {
  padding-top: 10px;
}
.editorial-section h2,
.services-section h2,
.logo-section h2,
.insights-section h2 {
  font-size: clamp(36px, 3.6vw, 50px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.035em;
  margin-bottom: 62px;
}
.editorial-grid {
  display: grid;
  grid-template-columns: 25% 75%;
  align-items: stretch;
}
.editorial-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 580px;
  padding-right: 38px;
}
.editorial-copy p {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.31;
  letter-spacing: -0.015em;
  margin-bottom: 40px;
}
.editorial-copy .text-arrow {
  margin-top: auto;
}
.text-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  line-height: 1.1;
  text-transform: uppercase;
  color: #111;
}
.text-arrow::before {
  content: "→";
  font-size: 24px;
  line-height: 0.6;
}
.text-arrow:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.editorial-art {
  display: block;
  position: relative;
  min-height: 580px;
  overflow: hidden;
  background: #f3f1f0;
}
.editorial-art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.framework-art {
  display: grid;
  place-items: center;
}
.publication-stack {
  display: block;
  position: relative;
  width: min(65%, 600px);
  transform: rotate(-1deg);
  filter: drop-shadow(14px 16px 10px rgba(0, 0, 0, 0.17));
}
.publication-stack::before,
.publication-stack::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #151515;
  z-index: -1;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.08);
}
.publication-stack::before {
  transform: translate(25px, 16px) rotate(5deg);
}
.publication-stack::after {
  transform: translate(48px, 31px) rotate(8deg);
}
.publication-stack img {
  width: 100%;
  position: relative;
}
.photo-art img {
  filter: grayscale(1);
}

/* Service imagery, impact, and proof. */
.services-section {
  padding: 75px 0 125px;
}
.services-intro {
  max-width: 760px;
  font-size: clamp(20px, 2.2vw, 28px);
  margin: -27px 0 55px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 55px;
}

/* Ventures: a spare index of products and teaching. */
.ventures-page .nav-links a[aria-current="page"],
.ventures-page .nav-mobile a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.ventures-hero {
  padding-top: clamp(70px, 8vw, 115px);
  padding-bottom: 65px;
}
.ventures-kicker {
  margin: 0 0 26px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.ventures-hero h1 {
  margin: 0;
  font-size: clamp(86px, 13vw, 200px);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.09em;
}
.ventures-hero h1 span {
  color: #eb591f;
}
.ventures-intro {
  max-width: 720px;
  margin: 45px 0 0;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.ventures-list {
  padding-bottom: 130px;
}
.venture-row {
  display: grid;
  grid-template-columns: minmax(200px, 0.95fr) minmax(250px, 1.3fr) 30px;
  align-items: start;
  gap: 32px;
  padding: 34px 0 38px;
  border-top: 1px solid #111;
  color: #080808;
  text-decoration: none;
}
.venture-row:last-child {
  border-bottom: 1px solid #111;
}
.venture-row h2 {
  margin: 0;
  font-size: clamp(33px, 4.2vw, 60px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.055em;
}
.venture-row p {
  max-width: 600px;
  margin: 4px 0 0;
  font-size: clamp(18px, 1.8vw, 25px);
  line-height: 1.25;
}
.venture-row > span {
  font-size: 31px;
  line-height: 1;
  transition: transform 180ms ease;
}
.venture-row:hover h2 {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.venture-row:hover > span {
  transform: translate(4px, -4px);
}
.ventures-teaching {
  padding-top: 100px;
  padding-bottom: 120px;
  background: #f3f1f0;
}
.teaching-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: end;
}
.teaching-grid h2 {
  margin: 0;
  font-size: clamp(64px, 10vw, 145px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.075em;
}
.teaching-grid p {
  max-width: 510px;
  margin: 0 0 8px;
  font-size: clamp(23px, 2.8vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}
@media (max-width: 700px) {
  .ventures-hero {
    padding-top: 100px;
    padding-bottom: 75px;
  }
  .ventures-hero h1 {
    font-size: clamp(75px, 18vw, 130px);
  }
  .ventures-intro {
    margin-top: 44px;
  }
  .ventures-list {
    padding-bottom: 85px;
  }
  .venture-row {
    grid-template-columns: 1fr 24px;
    gap: 12px 16px;
    padding: 26px 0 30px;
  }
  .venture-row h2 {
    grid-column: 1;
  }
  .venture-row p {
    grid-column: 1;
    grid-row: 2;
  }
  .venture-row > span {
    grid-column: 2;
    grid-row: 1;
  }
  .ventures-teaching {
    padding-top: 75px;
    padding-bottom: 85px;
  }
  .teaching-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (min-width: 601px) and (max-height: 800px) {
  .siili-hero-inner {
    padding-top: 65px;
  }
  .siili-hero h1 {
    font-size: clamp(74px, 7.5vw, 100px);
  }
}
.service-image {
  width: 100%;
  aspect-ratio: 1.15;
  overflow: hidden;
  background: #eee;
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-name {
  font-size: 16px;
  text-transform: uppercase;
  margin: 22px 0 10px;
}
.service h3 {
  font-size: clamp(25px, 2.6vw, 36px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.service:hover h3 {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.impact-section {
  padding: 110px 0 120px;
  background: #080808;
  color: #fff;
}
.impact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 90px;
  align-items: end;
}
.impact-grid h2 {
  font-size: clamp(52px, 6vw, 84px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.impact-grid p {
  font-size: 25px;
  line-height: 1.4;
  margin-bottom: 35px;
}
.dark-pill {
  color: #fff;
}
.logo-section {
  padding: 90px 0 110px;
}
.logo-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px 30px;
  align-items: center;
  margin-top: 65px;
}
.logo-list span {
  font-size: clamp(24px, 2.5vw, 37px);
  font-weight: 500;
  letter-spacing: -0.04em;
}

/* Insight list and close. */
.insights-section {
  padding: 85px 0 120px;
  background: #f7f7f7;
}
.home-page .writing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.home-page .writing-card {
  background: transparent;
  border: 0;
  padding: 0;
  transform: none;
}
.home-page .writing-card-thumb {
  width: 100%;
  aspect-ratio: 1.5;
  height: auto;
  object-fit: cover;
  margin-bottom: 20px;
}
.home-page .writing-card-title {
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.16;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 15px;
}
.home-page .writing-card-desc {
  font-size: 17px;
  line-height: 1.4;
  color: #333;
  margin-bottom: 26px;
}
.home-page .writing-card-link {
  font: 400 17px/1 var(--sans);
  color: #111;
  text-transform: uppercase;
}
.home-page .writing-card-link:hover {
  color: #111;
  text-decoration: underline;
}
.new-contact {
  padding: 110px 0 130px;
}
.new-contact h2 {
  font-size: clamp(60px, 7vw, 100px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 500;
  margin-bottom: 30px;
}
.new-contact p {
  font-size: 28px;
  margin-bottom: 35px;
}
.contact-pill {
  color: #111;
  margin-right: 25px;
}
.contact-pill:hover {
  background: #111;
  color: #fff;
}
.contact-mail {
  font-size: 19px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.new-footer {
  background: #080808;
  color: #fff;
  padding: 70px 0 40px;
}
.footer-wordmark {
  display: inline-block;
  font-size: 52px;
  letter-spacing: -0.06em;
  margin-bottom: 45px;
}
.new-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 42px;
  margin-bottom: 80px;
}
.new-footer .footer-links a {
  font-size: 17px;
  color: #fff;
}
.new-footer p {
  font-size: 14px;
  color: #aaa;
}

/* Secondary pages inherit the same white, large-type system. */
.site-redesign:not(.home-page) .page-hero {
  padding: 105px 0 115px;
}
.site-redesign:not(.home-page) .page-hero .hero-eyebrow {
  display: none;
}
.site-redesign:not(.home-page) .page-hero .hero-headline {
  font-family: var(--sans);
  font-size: clamp(54px, 7vw, 100px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}
.site-redesign:not(.home-page) .page-hero .hero-rule {
  display: none;
}
.site-redesign:not(.home-page) .page-hero .hero-sub {
  font-size: clamp(21px, 2.2vw, 29px);
  line-height: 1.4;
}
.site-redesign:not(.home-page) .section-label {
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: #555;
}
.site-redesign:not(.home-page) .reality-headline,
.site-redesign:not(.home-page) .approach-headline,
.site-redesign:not(.home-page) .contact-headline,
.site-redesign:not(.home-page) .track-headline {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.04em;
}
.site-redesign:not(.home-page) .btn,
.site-redesign:not(.home-page) .btn-ghost {
  border-radius: 40px;
  font: 400 17px/1 var(--sans);
  padding: 19px 27px;
}
.site-redesign:not(.home-page) .btn {
  background: #111;
  color: #fff;
}
.site-redesign:not(.home-page) .btn-ghost {
  border-color: #111;
  color: #111;
}
.site-redesign:not(.home-page) .contact {
  background: #fff;
}
.site-redesign:not(.home-page) .footer {
  background: #080808;
  color: #fff;
}
.site-redesign:not(.home-page) .footer a {
  color: #fff;
}

@media (max-width: 900px) {
  .site-redesign .container,
  .wide-wrap {
    padding-left: 28px;
    padding-right: 28px;
  }
  .site-redesign .nav-logo {
    font-size: 32px;
  }
  .siili-hero {
    min-height: 780px;
  }
  .siili-hero-inner {
    padding: 135px 28px 90px;
  }
  .siili-hero h1 {
    font-size: clamp(62px, 9vw, 86px);
  }
  .editorial-grid {
    grid-template-columns: 1fr;
  }
  .editorial-copy {
    min-height: auto;
    padding: 0;
    margin-bottom: 38px;
  }
  .editorial-copy p {
    max-width: 700px;
    margin-bottom: 25px;
  }
  .editorial-copy .text-arrow {
    margin-top: 15px;
  }
  .editorial-art {
    min-height: 430px;
  }
  .services-grid,
  .home-page .writing-cards {
    gap: 18px;
  }
  .impact-grid {
    gap: 30px;
  }
}
@media (max-width: 600px) {
  .site-redesign .nav-inner {
    height: 72px;
    padding: 0 20px;
  }
  .site-redesign .nav-logo {
    font-size: clamp(24px, 6.4vw, 29px);
  }
  .site-redesign .nav-mobile {
    top: 72px;
  }
  .site-redesign .container,
  .wide-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
  .siili-hero {
    min-height: 720px;
  }
  .siili-hero-image {
    object-position: 58% center;
  }
  .siili-hero-inner {
    padding: 115px 20px 60px;
  }
  .siili-hero h1 {
    font-size: clamp(53px, 13vw, 76px);
    margin-bottom: 25px;
  }
  .siili-hero p {
    font-size: 21px;
    margin-bottom: 25px;
  }
  .outline-pill {
    min-height: 51px;
    font-size: 15px;
    padding: 15px 21px;
  }
  .editorial-section {
    padding: 55px 0 70px;
  }
  .editorial-section h2,
  .services-section h2,
  .logo-section h2,
  .insights-section h2 {
    font-size: 35px;
    margin-bottom: 35px;
  }
  .editorial-copy p {
    font-size: 24px;
  }
  .editorial-art {
    min-height: 300px;
  }
  .publication-stack {
    width: 68%;
  }
  .services-section {
    padding: 55px 0 80px;
  }
  .services-intro {
    font-size: 22px;
    margin: -15px 0 36px;
  }
  .services-grid,
  .home-page .writing-cards {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .service-image {
    aspect-ratio: 1.45;
  }
  .impact-section {
    padding: 75px 0;
  }
  .impact-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .impact-grid h2 {
    font-size: 50px;
  }
  .impact-grid p {
    font-size: 22px;
  }
  .logo-section,
  .insights-section {
    padding: 65px 0 80px;
  }
  .logo-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 12px;
    margin-top: 0;
  }
  .new-contact {
    padding: 75px 0 90px;
  }
  .new-contact h2 {
    font-size: 56px;
  }
  .new-contact p {
    font-size: 22px;
  }
  .contact-pill {
    margin-bottom: 25px;
  }
  .contact-mail {
    display: block;
    overflow-wrap: anywhere;
  }
  .new-footer {
    padding: 60px 0 30px;
  }
  .footer-wordmark {
    font-size: 42px;
  }
  .site-redesign:not(.home-page) .page-hero {
    padding: 80px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-redesign * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Long framework titles and outline actions stay readable on narrow photo heroes. */
.site-redesign:not(.home-page) .page-hero .hero-headline {
  overflow-wrap: anywhere;
}
.site-redesign:not(.home-page) .page-hero .btn-ghost {
  border-color: #fff;
  color: #fff;
}
.site-redesign:not(.home-page) .page-hero .btn-ghost:hover {
  background: #fff;
  color: #111;
}
@media (max-width: 600px) {
  .site-redesign:not(.home-page) .page-hero .hero-headline {
    font-size: clamp(45px, 12vw, 60px);
  }
}

@media (min-width: 900px) {
  .site-redesign .partners-grid {
    grid-template-columns: 1fr;
    max-width: 800px;
  }
}

/* A single delivery partner, presented as one complete feature. */
.services-single { grid-template-columns: 1fr; }
.services-single .service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.services-single .service-image { aspect-ratio: 1.6; }
.service-description { margin-top: 24px; max-width: 520px; font-size: 22px; }
@media (max-width: 600px) {
  .services-single .service { grid-template-columns: 1fr; gap: 24px; }
  .service-description { font-size: 19px; }
}
