/* ========================================
   COLIN SCOTLAND — SHARED STYLESHEET
   Brand: Light-mode default, minimalist, high-contrast
   Fonts: Outfit (headings), Inter (body)
   Accent: Valencia #d14b28 (sparingly)
   ======================================== */

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: #0d0d0d;
  background-color: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.1;
}

/* ========================================
   LAYOUT
   ======================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow {
  max-width: 800px;
}

section {
  padding: 7rem 0;
}

/* ========================================
   SCROLL REVEAL
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.reveal.reveal-scale {
  transform: scale(0.85);
  transition: opacity 1s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.reveal-scale.visible {
  transform: scale(1);
}

@keyframes shimmer {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -200% 0; }
}

@keyframes textShimmer {
  0%, 100% { background-position: 100% 50%; }
  50% { background-position: 0% 50%; }
}

/* ========================================
   GRAIN OVERLAY
   ======================================== */
.grain {
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ========================================
   SCROLL PROGRESS
   ======================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #d14b28, #e07553);
  width: 0%;
  z-index: 200;
  pointer-events: none;
}

/* ========================================
   SECTION LABEL
   ======================================== */
.section-label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background-color: currentColor;
}

.section-label--light {
  color: #a3a3a3;
}

.section-label--dark {
  color: #737373;
}

/* ========================================
   NAV
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
}

.nav.scrolled {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(13, 13, 13, 0.06);
}

/* Dark hero nav variant — used on pages with dark hero sections */
.nav--hero-dark .nav__logo-light { display: none; }
.nav--hero-dark .nav__logo-dark { display: block; }

.nav--hero-dark .nav__links a {
  color: #a3a3a3;
}

.nav--hero-dark .nav__links a:hover {
  color: #ffffff;
}

.nav--hero-dark .nav__mobile-toggle span {
  background-color: #ffffff;
}

/* When scrolled, always show light nav regardless of hero */
.nav--hero-dark.scrolled .nav__logo-light { display: block; }
.nav--hero-dark.scrolled .nav__logo-dark { display: none; }

.nav--hero-dark.scrolled .nav__links a {
  color: #525252;
}

.nav--hero-dark.scrolled .nav__links a:hover {
  color: #0d0d0d;
}

.nav--hero-dark.scrolled .nav__mobile-toggle span {
  background-color: #0d0d0d;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img {
  height: 62px;
  width: auto;
}

.nav__logo-dark { display: none; }
.nav__logo-light { display: block; }

.nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #525252;
  transition: color 0.2s ease;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #d14b28;
  transition: width 0.3s ease;
}

.nav__links a:hover {
  color: #0d0d0d;
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #0d0d0d;
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ========================================
   HERO — DARK (homepage, key pages)
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: #0d0d0d;
  color: #ffffff;
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 30%;
  left: 20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(209, 75, 40, 0.05) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(100px);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 600px;
}

.hero__label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #737373;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.hero__label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background-color: #525252;
}

.hero__headline {
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero__headline-accent {
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 35%, #a3a3a3 50%, #ffffff 65%, #ffffff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 10s ease-in-out infinite;
}

.hero__sub {
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  font-weight: 400;
  color: #a3a3a3;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__image-area {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__photo {
  width: 100%;
  max-width: 440px;
  border-radius: 0.5rem;
  filter: grayscale(15%);
  transition: filter 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__photo:hover {
  filter: grayscale(0%);
  transform: scale(1.02);
}

/* ========================================
   PAGE HEADER — LIGHT (interior pages)
   ======================================== */
.page-header {
  padding: 10rem 0 4rem;
  background-color: #ffffff;
}

.page-header__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.page-header__sub {
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  color: #525252;
  max-width: 600px;
  line-height: 1.7;
}

/* ========================================
   SECTIONS — ALTERNATING BACKGROUNDS
   ======================================== */
.section--light {
  background-color: #ffffff;
  color: #0d0d0d;
}

.section--alt {
  background-color: #f5f5f5;
  color: #0d0d0d;
}

.section--dark {
  background-color: #0d0d0d;
  color: #ffffff;
}

/* ========================================
   SECTION HEADINGS
   ======================================== */
.section__heading {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section__sub {
  font-size: 1.125rem;
  color: #525252;
  max-width: 600px;
  margin-bottom: 4rem;
  line-height: 1.7;
}

.section--dark .section__sub {
  color: #a3a3a3;
}

.section__intro {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 4rem;
  max-width: 700px;
  letter-spacing: -0.01em;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--accent {
  background-color: #d14b28;
  color: #ffffff;
}

.btn--accent:hover {
  background-color: #bc3f1f;
  box-shadow: 0 8px 30px rgba(209, 75, 40, 0.3);
}

.btn--primary {
  background-color: #0d0d0d;
  color: #ffffff;
}

.btn--primary:hover {
  background-color: #262626;
}

.btn--white {
  background-color: #ffffff;
  color: #0d0d0d;
}

.btn--white:hover {
  background-color: #f5f5f5;
}

.btn--outline {
  background-color: transparent;
  color: #0d0d0d;
  border: 1px solid #0d0d0d;
}

.btn--outline:hover {
  background-color: #0d0d0d;
  color: #ffffff;
}

.btn--outline-light {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #404040;
}

.btn--outline-light:hover {
  border-color: #ffffff;
  background-color: #ffffff;
  color: #0d0d0d;
}

.btn__arrow {
  transition: transform 0.2s ease;
  font-size: 1.1em;
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

/* ========================================
   CARDS
   ======================================== */
.card {
  padding: 2.5rem;
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 0.5rem;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.06);
}

.card--dark {
  background-color: #0d0d0d;
  color: #ffffff;
  border: none;
}

.card--dark:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2),
              0 0 80px rgba(209, 75, 40, 0.06);
}

.card--bordered-top {
  border-top: 3px solid #0d0d0d;
}

.card--bordered-top:hover {
  border-top-color: #d14b28;
}

.card--bordered-left {
  border-left: 3px solid #0d0d0d;
}

.card--bordered-left:hover {
  border-left-color: #d14b28;
}

.card__label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #a3a3a3;
  margin-bottom: 1rem;
}

.card__number {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(0, 0, 0, 0.04);
  position: absolute;
  top: -0.75rem;
  right: 1rem;
  pointer-events: none;
}

.card--dark .card__number {
  color: rgba(255, 255, 255, 0.04);
}

.card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.card p {
  font-size: 1rem;
  color: #525252;
  line-height: 1.7;
}

.card--dark p {
  color: #a3a3a3;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 1.5rem;
  transition: gap 0.2s ease;
}

.card:hover .card__link {
  gap: 0.625rem;
}

/* ========================================
   GRID LAYOUTS
   ======================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-content {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 4rem;
  align-items: center;
}

.grid-content--reverse {
  grid-template-columns: 0.7fr 1.3fr;
}

/* ========================================
   COMMITMENTS / LIST ITEMS
   ======================================== */
.commitment-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 700px;
}

.commitment {
  padding: 2rem 0;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  align-items: baseline;
  gap: 1.75rem;
}

.commitment:first-child {
  border-top: 1px solid #e5e5e5;
}

.section--dark .commitment {
  border-color: #262626;
}

.commitment__number {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #cccccc;
  flex-shrink: 0;
  width: 2.5rem;
  transition: color 0.3s ease;
}

.section--dark .commitment__number {
  color: #333333;
}

.commitment:hover .commitment__number {
  color: #d14b28;
}

.commitment p {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 500;
  line-height: 1.5;
}

/* ========================================
   CREDENTIALS LIST
   ======================================== */
.credentials {
  list-style: none;
  margin-top: 2rem;
}

.credentials li {
  font-size: 0.9375rem;
  color: #737373;
  padding: 0.625rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.credentials li:first-child {
  border-top: 1px solid #e5e5e5;
}

/* ========================================
   CODA / PULL QUOTE
   ======================================== */
.coda {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  max-width: 500px;
  padding-left: 1.5rem;
  border-left: 3px solid #cccccc;
}

.section--dark .coda {
  border-left-color: #404040;
}

/* ========================================
   FOOTNOTE
   ======================================== */
.footnote {
  margin-top: 3rem;
  font-size: 1.0625rem;
  color: #737373;
  max-width: 600px;
  line-height: 1.7;
  font-style: italic;
}

/* ========================================
   CLOSING CTA SECTION
   ======================================== */
.closing {
  background-color: #0d0d0d;
  color: #ffffff;
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  bottom: 10%;
  right: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(209, 75, 40, 0.06) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(80px);
}

.closing__inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.closing__heading {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.closing__sub {
  font-size: 1.125rem;
  color: #a3a3a3;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.closing__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 520px;
  margin: 0 auto;
}

.closing__form-fields {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.closing__input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  background-color: #171717;
  border: 1px solid #262626;
  border-radius: 0.375rem;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease;
}

.closing__input::placeholder {
  color: #525252;
}

.closing__input:focus {
  border-color: #404040;
  box-shadow: 0 0 0 3px rgba(64, 64, 64, 0.15);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background-color: #0d0d0d;
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, #262626, transparent) 1;
  padding: 3rem 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__logo img {
  height: 36px;
  width: auto;
  opacity: 0.7;
}

.footer__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer__links a {
  font-size: 0.8125rem;
  color: #525252;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: #a3a3a3;
}

.footer__social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer__social a {
  color: #525252;
  transition: color 0.2s ease;
  display: flex;
}

.footer__social a:hover {
  color: #a3a3a3;
}

.footer__copyright {
  font-size: 0.8125rem;
  color: #404040;
}

/* ========================================
   BLOG LIST
   ======================================== */
.blog-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e5e5;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.06);
}

.blog-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background-color: #f5f5f5;
}

.blog-card__body {
  padding: 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__title {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: #0d0d0d;
}

.blog-card__excerpt {
  font-size: 0.9375rem;
  color: #525252;
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0d0d0d;
  transition: gap 0.2s ease;
}

.blog-card:hover .blog-card__link {
  gap: 0.625rem;
}

/* ========================================
   PAGINATION
   ======================================== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 4rem;
}

.pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #525252;
  border: 1px solid #e5e5e5;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
}

.pagination__link:hover {
  border-color: #0d0d0d;
  color: #0d0d0d;
}

.pagination__link--active {
  background-color: #0d0d0d;
  color: #ffffff;
  border-color: #0d0d0d;
}

.pagination__link--disabled {
  color: #cccccc;
  border-color: #e5e5e5;
  pointer-events: none;
}

/* ========================================
   BLOG POST (article content)
   ======================================== */
.blog-post__header {
  padding: 10rem 0 3rem;
  background-color: #ffffff;
}

.blog-post__title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.blog-post__meta {
  font-size: 0.875rem;
  color: #737373;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.blog-post__meta-sep {
  color: #cccccc;
}

.blog-post__featured-image {
  margin-bottom: 3rem;
}

.blog-post__featured-image img {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 0.5rem;
}

.blog-post__content {
  padding: 2rem 0 4rem;
  margin: 0 auto;
  max-width: 800px;
}

.blog-post__content h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-top: 3rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.blog-post__content h3 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.blog-post__content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.blog-post__content p {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #262626;
}

.blog-post__content ul,
.blog-post__content ol {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: #262626;
}

.blog-post__content li {
  margin-bottom: 0.5rem;
}

.blog-post__content blockquote {
  border-left: 3px solid #d14b28;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #525252;
}

.blog-post__content blockquote p {
  color: #525252;
}

.blog-post__content code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.9em;
  background-color: #f5f5f5;
  padding: 0.15em 0.4em;
  border-radius: 0.25rem;
}

.blog-post__content pre {
  background-color: #0d0d0d;
  color: #e5e5e5;
  padding: 1.5rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.blog-post__content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.blog-post__content img {
  border-radius: 0.5rem;
  margin: 2rem 0;
}

.blog-post__content a {
  color: #0d0d0d;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.blog-post__content a:hover {
  color: #d14b28;
}

.blog-post__content hr {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 3rem 0;
}

/* Blog post footer — author bio */
.blog-post__footer {
  padding: 3rem 0 5rem;
  margin: 0 auto;
  max-width: 800px;
}

.blog-post__author {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e5e5;
}

.blog-post__author-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.blog-post__author strong {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.25rem;
}

.blog-post__author p {
  font-size: 0.875rem;
  color: #737373;
  line-height: 1.5;
}

/* ========================================
   LEGAL CONTENT
   ======================================== */
.legal-content {
  padding: 2rem 0 6rem;
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: #262626;
}

.legal-content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  color: #262626;
}

.legal-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.legal-content a {
  color: #0d0d0d;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: #d14b28;
}

/* ========================================
   MANIFESTO — PULL QUOTE
   ======================================== */
.manifesto {
  padding: 8rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.manifesto::before {
  content: '\201C';
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 20rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
  pointer-events: none;
}

.manifesto__quote {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.3;
  max-width: 800px;
  margin: 0 auto 2rem;
  letter-spacing: -0.01em;
}

.manifesto__quote em {
  color: #d14b28;
  font-style: italic;
}

.manifesto__attr {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
}

/* ========================================
   SPLIT — ASYMMETRIC LAYOUT
   ======================================== */
.split {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 5rem;
  align-items: center;
}

.split--reverse {
  grid-template-columns: 0.6fr 1.4fr;
}

.split__text p {
  font-size: 1.0625rem;
  color: #525252;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.section--dark .split__text p {
  color: #a3a3a3;
}

.split__visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ========================================
   STAT ROW
   ======================================== */
.stat-row {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat {
  flex: 1;
  min-width: 140px;
  padding: 1.5rem 0;
  border-top: 2px solid #e5e5e5;
}

.section--dark .stat {
  border-top-color: #262626;
}

.stat__number {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.stat__label {
  font-size: 0.875rem;
  color: #737373;
  line-height: 1.4;
}

.section--dark .stat__label {
  color: #525252;
}

/* ========================================
   TIMELINE
   ======================================== */
.timeline {
  position: relative;
  max-width: 600px;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, #e5e5e5 10%, #e5e5e5 90%, transparent);
}

.section--dark .timeline::before {
  background: linear-gradient(to bottom, transparent, #262626 10%, #262626 90%, transparent);
}

.timeline__item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.35rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #cccccc;
  transform: translateX(-50%);
  margin-left: 0.5px;
  transition: background-color 0.3s ease;
}

.timeline__item:hover::before {
  background-color: #d14b28;
}

.section--dark .timeline__item::before {
  background-color: #404040;
}

.timeline__year {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a3a3a3;
  margin-bottom: 0.375rem;
}

.timeline__text {
  font-size: 1rem;
  line-height: 1.6;
  color: #262626;
}

.section--dark .timeline__text {
  color: #a3a3a3;
}

/* ========================================
   INTERACTIVE — HERO WORD STAGGER
   ======================================== */
.hero-word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.hero-word {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-word.hero-word--visible {
  transform: translateY(0);
}

/* ========================================
   INTERACTIVE — TIMELINE SCROLL DRAW
   ======================================== */
.timeline--animated::before {
  transform: scaleY(var(--timeline-progress, 0));
  transform-origin: top;
}

/* ========================================
   INTERACTIVE — CARD TILT
   ======================================== */
.card--tilt-active {
  transition: box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              border-top-color 0.3s ease,
              border-left-color 0.3s ease !important;
}

/* ========================================
   INTERACTIVE — MANIFESTO ATMOSPHERE
   ======================================== */
.manifesto__quote,
.manifesto__attr {
  position: relative;
  z-index: 1;
}

.manifesto::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(209, 75, 40, 0.05) 0%, transparent 70%);
  filter: blur(100px);
  top: 50%;
  left: 50%;
  pointer-events: none;
  z-index: 0;
  animation: manifestoOrb 20s ease-in-out infinite alternate;
}

.section--dark .manifesto::after {
  background: radial-gradient(circle, rgba(209, 75, 40, 0.08) 0%, transparent 70%);
}

@keyframes manifestoOrb {
  0%   { transform: translate(-40%, -40%) scale(1); }
  33%  { transform: translate(20%, -20%) scale(1.15); }
  66%  { transform: translate(-10%, 10%) scale(0.9); }
  100% { transform: translate(30%, -30%) scale(1.1); }
}

/* ========================================
   RESPONSIVE — 1024px
   ======================================== */
@media (max-width: 1024px) {
  section {
    padding: 5rem 0;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero__image-area {
    justify-content: center;
  }

  .hero__photo {
    max-width: 320px;
  }

  .grid-3 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .grid-content,
  .grid-content--reverse {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .split,
  .split--reverse {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .stat-row {
    gap: 2rem;
  }
}

/* ========================================
   RESPONSIVE — 768px
   ======================================== */
@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }

  .nav__links {
    display: none;
  }

  .nav__links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(13, 13, 13, 0.06);
  }

  .nav--hero-dark .nav__links.active {
    background-color: rgba(13, 13, 13, 0.97);
  }

  .nav--hero-dark.scrolled .nav__links.active {
    background-color: rgba(255, 255, 255, 0.97);
  }

  .nav__mobile-toggle {
    display: block;
  }

  .nav__mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav__mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    padding: 7rem 0 4rem;
    min-height: auto;
  }

  .hero__inner {
    text-align: center;
  }

  .hero__sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__label {
    justify-content: center;
  }

  .page-header {
    padding: 8rem 0 3rem;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .blog-list {
    grid-template-columns: 1fr;
  }

  .closing__form-fields {
    flex-direction: column;
  }

  .footer__inner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer__links {
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat-row {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stat {
    min-width: auto;
  }

  .manifesto__quote {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
  }

  .manifesto::after {
    width: 300px;
    height: 300px;
  }
}

/* ========================================
   RESPONSIVE — 480px
   ======================================== */
@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero {
    padding: 6rem 0 3.5rem;
  }

  .card {
    padding: 1.75rem;
  }

  .blog-card__body {
    padding: 1.25rem;
  }
}

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition-duration: 0s !important;
  }

  .hero-word {
    transform: none !important;
    transition: none !important;
  }

  .manifesto::after {
    animation: none !important;
  }

  .timeline--animated::before {
    transform: scaleY(1) !important;
  }

  .hero__headline-accent {
    animation: none !important;
    -webkit-text-fill-color: #ffffff;
  }
}
