/* ===========================
   THAGEESHAN.COM — V2
   Warm editorial luxury
   =========================== */

:root {
  --color-bg: #f5f1ec;
  --color-bg-alt: #efebe5;
  --color-surface: #e8e3dc;
  --color-border: #ddd7cf;
  --color-text: #2a2a2a;
  --color-text-muted: #6b6b6b;
  --color-text-subtle: #999;
  --color-black: #1a1a1a;
  --color-accent: #9c7c5c;
  --color-highlight: #c5b8a5;

  --font-heading: 'Instrument Serif', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1100px;
  --max-width-narrow: 680px;
  --nav-height: 64px;
  --section-padding: 120px;
  --section-gap: 80px;
  --gap: 80px;

  --radius: 100px;
  --radius-sm: 6px;

  --transition: 0.3s ease;
}

/* ===========================
   RESET
   =========================== */

*, *::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: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: opacity var(--transition);
}

a:hover { opacity: 0.6; }

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

ul { list-style: none; }

::selection {
  background: var(--color-black);
  color: var(--color-bg);
}

/* ===========================
   LAYOUT
   =========================== */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.section {
  padding: var(--section-padding) 0;
}

.section--dark {
  background: var(--color-bg-alt);
}

.section--cta {
  padding: 100px 0;
  text-align: center;
  border-top: 1px solid var(--color-border);
}

/* ===========================
   TYPOGRAPHY
   =========================== */

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-black);
}

.section__label,
.label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.label--accent {
  color: var(--color-accent);
}

.section__title {
  font-size: clamp(28px, 3.5vw, 42px);
  margin-bottom: 20px;
}

.section__title--sm {
  font-size: 24px;
  margin-bottom: 16px;
}

.section__title--xs {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  margin-top: 28px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section__text {
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 520px;
  line-height: 1.8;
}

.section__text--muted {
  color: var(--color-text-subtle);
  font-style: italic;
}

.section--cta .section__title {
  font-size: clamp(26px, 3vw, 38px);
}

.section--cta .section__text {
  margin: 0 auto 36px;
}

.accent {
  color: var(--color-highlight);
  font-style: italic;
}

/* ===========================
   NAVIGATION
   =========================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(245, 241, 236, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  transition: transform 0.3s ease, background 0.3s ease;
}

.nav--scrolled {
  background: rgba(245, 241, 236, 0.98);
  box-shadow: 0 1px 0 var(--color-border);
}

.nav--hidden {
  transform: translateY(-100%);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-black);
  letter-spacing: -0.01em;
}

.nav__logo:hover {
  color: var(--color-black);
  opacity: 1;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav__link {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav__link:hover {
  color: var(--color-black);
  opacity: 1;
}

.nav__link.active {
  color: var(--color-black);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 20px;
  right: 20px;
  height: 1px;
  background: var(--color-black);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav__link:hover::after,
.nav__link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__cta {
  background: var(--color-black);
  color: #fff;
  margin-left: 16px;
  padding: 10px 28px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.nav__cta:hover {
  background: #333;
  color: #fff;
  opacity: 1;
}

.nav__cta::after { display: none; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--color-black);
  transition: all var(--transition);
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn--primary {
  background: var(--color-black);
  color: #fff;
}

.btn--primary:hover {
  background: #333;
  color: #fff;
  opacity: 1;
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--outline:hover {
  border-color: var(--color-black);
  opacity: 1;
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--ghost:hover {
  border-color: var(--color-black);
  opacity: 1;
}

.btn--lg {
  padding: 18px 48px;
  font-size: 13px;
}

.btn--full { width: 100%; }

.btn__arrow {
  transition: transform var(--transition);
}

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

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

.hero {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 40px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  flex: 1;
}

.hero__label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero__label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--color-accent);
}

.hero__title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.08;
  margin-bottom: 32px;
  color: var(--color-black);
}

.hero__highlight {
  color: var(--color-highlight);
  font-style: italic;
}

.hero__subtitle {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 44px;
  max-width: 420px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero Image */
.hero__image {
  position: relative;
}

.hero__photo-wrap {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-left: auto;
}

.hero__photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__stats {
  display: flex;
  gap: 48px;
  margin-top: 28px;
  max-width: 420px;
  margin-left: auto;
}

.stat__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 400;
  color: var(--color-black);
}

.stat__label {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-subtle);
  margin-top: 4px;
}

/* Scroll Indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 40px;
  padding-bottom: 20px;
}

.scroll-indicator span {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-subtle);
  writing-mode: vertical-rl;
}

.scroll-indicator__line {
  width: 1px;
  height: 40px;
  background: var(--color-border);
  position: relative;
  overflow: hidden;
}

.scroll-indicator__line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-accent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  50% { top: 100%; }
  100% { top: 100%; }
}

/* ===========================
   PAGE HERO (inner pages)
   =========================== */

.page-hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
}

.page-hero__title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 400;
  color: var(--color-black);
  margin-bottom: 16px;
  max-width: 640px;
}

.page-hero__subtitle {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 520px;
  line-height: 1.8;
}

/* ===========================
   CARDS
   =========================== */

.philosophy__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 56px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

.card {
  background: var(--color-bg);
  padding: 48px 36px;
  transition: background 0.4s ease, transform 0.4s ease;
}

.card:hover {
  background: var(--color-bg-alt);
  transform: translateY(-2px);
}

.card__icon {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.card__title {
  font-size: 22px;
  margin-bottom: 12px;
}

.card__text {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* ===========================
   SPLIT LAYOUT
   =========================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.split__content .section__text {
  margin-bottom: 20px;
}

.split__content .btn {
  margin-top: 24px;
}

/* ===========================
   TIMELINE MINI (homepage)
   =========================== */

.timeline-mini {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--color-border);
  padding-left: 28px;
}

.timeline-mini__item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 16px 0;
  position: relative;
}

.timeline-mini__item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 24px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-border);
}

.timeline-mini__item.active::before {
  background: var(--color-accent);
}

.timeline-mini__year {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-subtle);
  min-width: 50px;
  letter-spacing: 0.02em;
}

.timeline-mini__text {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* ===========================
   FULL TIMELINE (about page)
   =========================== */

.timeline {
  position: relative;
  padding-left: 48px;
  margin-top: 56px;
  border-left: 1px solid var(--color-border);
}

.timeline__item {
  position: relative;
  padding-bottom: 56px;
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__marker {
  position: absolute;
  left: -52px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-border);
}

.timeline__item.active .timeline__marker {
  background: var(--color-accent);
}

.timeline__year {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.timeline__content h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.timeline__content p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 520px;
}

/* ===========================
   PROSE
   =========================== */

.prose {
  padding-top: 64px;
}

.prose h2 {
  font-size: 28px;
  margin-top: 56px;
  margin-bottom: 20px;
}

.prose h2:first-child { margin-top: 0; }

.prose p {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.9;
  margin-bottom: 24px;
}

.prose strong {
  color: var(--color-text);
  font-weight: 600;
}

.prose a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===========================
   BLOG
   =========================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

.blog-card {
  background: var(--color-bg);
  padding: 44px 36px;
  transition: background 0.4s ease, transform 0.4s ease;
}

.blog-card:hover {
  background: var(--color-bg-alt);
  transform: translateY(-2px);
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.blog-card__meta time,
.blog-card__date {
  font-size: 12px;
  color: var(--color-text-subtle);
  letter-spacing: 0.02em;
}

.blog-card__tag {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  border: 1px solid var(--color-border);
  padding: 4px 10px;
  background: none;
  border-radius: var(--radius);
}

.blog-card__title {
  font-size: 22px;
  margin-bottom: 12px;
  line-height: 1.3;
}

.blog-card__title a { color: var(--color-black); }
.blog-card__title a:hover { opacity: 0.6; }

.blog-card__excerpt {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.blog-card__link {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
}

/* ===========================
   PRESS BAR (homepage)
   =========================== */

.press-bar {
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.press-bar__label {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-subtle);
  text-align: center;
  margin-bottom: 28px;
}

.press-bar__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.press-bar__item {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 400;
  color: var(--color-text-muted);
  transition: color var(--transition);
  white-space: nowrap;
}

.press-bar__item:hover {
  color: var(--color-black);
  opacity: 1;
}

/* ===========================
   PRESS LIST (media page)
   =========================== */

.press-list {
  display: flex;
  flex-direction: column;
  margin-top: 24px;
}

.press-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition);
}

.press-item:first-child {
  border-top: 1px solid var(--color-border);
}

.press-item:hover {
  padding-left: 8px;
  opacity: 1;
}

.press-item__pub {
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--color-black);
  min-width: 140px;
}

.press-item__title {
  font-size: 14px;
  color: var(--color-text-muted);
  flex: 1;
  line-height: 1.5;
}

.press-item__arrow {
  font-size: 16px;
  color: var(--color-text-subtle);
  transition: transform var(--transition);
}

.press-item:hover .press-item__arrow {
  transform: translateX(4px);
  color: var(--color-accent);
}

/* ===========================
   MEDIA PAGE
   =========================== */

.media-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--color-border);
}

.media-section:last-child { border-bottom: none; }

.media-section__title {
  font-size: 22px;
  color: var(--color-black);
  margin-bottom: 12px;
}

.media-section__text {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.media-section__text a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.topic-list li {
  padding: 10px 0;
  padding-left: 20px;
  position: relative;
  font-size: 15px;
  color: var(--color-text-muted);
}

.topic-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-subtle);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 0;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--color-text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  outline: none;
  transition: border-color var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-subtle);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-bottom-color: var(--color-accent);
}

.form-group::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.form-group:focus-within::after {
  transform: scaleX(1);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%23999' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}

.form-group select option {
  background: var(--color-bg);
  color: var(--color-text);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info__card,
.contact-info__block {
  padding: 0;
  background: none;
  border: none;
}

.contact-info__card h3,
.contact-info__block h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--color-black);
  margin-bottom: 12px;
}

.contact-info__card p,
.contact-info__block p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.contact-info__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info__list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-info__list strong {
  font-size: 10px;
  color: var(--color-text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-info__list a {
  font-size: 15px;
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===========================
   JOURNEY / TIMELINE (V2 about)
   =========================== */

.journey {
  padding: var(--section-padding) 0;
}

.journey__header {
  margin-bottom: 56px;
}

.journey__heading {
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--color-black);
}

.journey__timeline {
  position: relative;
  padding-left: 48px;
  border-left: 1px solid var(--color-border);
}

.journey__item {
  position: relative;
  padding-bottom: 56px;
}

.journey__item:last-child { padding-bottom: 0; }

.journey__dot {
  position: absolute;
  left: -52px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-border);
}

.journey__item.active .journey__dot {
  background: var(--color-accent);
}

.journey__year {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.journey__title {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--color-black);
}

.journey__desc {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 520px;
}

.journey__desc a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===========================
   CTA SECTION (V2)
   =========================== */

.cta {
  padding: 100px 0;
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.cta__heading {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3vw, 40px);
  color: var(--color-black);
  margin-bottom: 16px;
}

.cta__heading em {
  color: var(--color-highlight);
}

.cta__text {
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

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

.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--color-border);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-black);
}

.footer__tagline,
.footer__brand-text {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 12px;
}

.footer__links h4,
.footer__col-title {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-subtle);
  margin-bottom: 16px;
}

.footer__links ul,
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a,
.footer__col a {
  font-size: 13px;
  color: var(--color-text-muted);
}

.footer__links a:hover,
.footer__col a:hover {
  color: var(--color-black);
  opacity: 1;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.footer__bottom p,
.footer__copy {
  font-size: 12px;
  color: var(--color-text-subtle);
}

.footer__socials {
  display: flex;
  gap: 16px;
}

.footer__socials a {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-subtle);
  letter-spacing: 0.05em;
}

.footer__socials a:hover {
  color: var(--color-black);
  opacity: 1;
}

/* ===========================
   LOADING SCREEN
   =========================== */

.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__name {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-black);
  margin-bottom: 24px;
}

.loader__track {
  width: 120px;
  height: 1px;
  background: var(--color-border);
  overflow: hidden;
}

.loader__bar {
  height: 100%;
  width: 100%;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===========================
   SCROLL ANIMATION STATES
   =========================== */

body:not(.is-loaded) .hero,
body:not(.is-loaded) .page-hero,
body:not(.is-loaded) .section,
body:not(.is-loaded) .press-bar,
body:not(.is-loaded) .prose,
body:not(.is-loaded) .journey,
body:not(.is-loaded) .cta,
body:not(.is-loaded) .footer {
  opacity: 0;
}

body.is-loaded .hero,
body.is-loaded .page-hero,
body.is-loaded .section,
body.is-loaded .press-bar,
body.is-loaded .prose,
body.is-loaded .journey,
body.is-loaded .cta,
body.is-loaded .footer {
  opacity: 1;
  transition: opacity 0.6s ease 0.2s;
}

/* Fade up */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade in */
[data-reveal="fade"] {
  opacity: 0;
  transform: none;
  transition: opacity 0.9s ease;
}

[data-reveal="fade"].is-visible {
  opacity: 1;
}

/* Fade left */
[data-reveal="left"] {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal="left"].is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-stagger].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

[data-stagger].is-visible > *:nth-child(1) { transition-delay: 0s; }
[data-stagger].is-visible > *:nth-child(2) { transition-delay: 0.1s; }
[data-stagger].is-visible > *:nth-child(3) { transition-delay: 0.15s; }
[data-stagger].is-visible > *:nth-child(4) { transition-delay: 0.2s; }

/* Image reveal */
.img-reveal {
  position: relative;
  overflow: hidden;
}

.img-reveal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-bg);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.img-reveal.is-visible::after {
  transform: scaleX(0);
}

/* Divider */
.divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
  position: relative;
  overflow: hidden;
}

.divider::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.divider.is-visible::after {
  transform: scaleX(1);
}

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

@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__image { order: -1; }

  .hero__photo-wrap {
    width: 300px;
    margin-left: 0;
  }

  .hero__stats {
    margin-left: 0;
    max-width: none;
  }

  .hero { min-height: auto; padding-bottom: 60px; }

  .philosophy__grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --section-padding: 80px; }

  .nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(245, 241, 236, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 16px 24px;
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    border-bottom: 1px solid var(--color-border);
  }

  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav__toggle { display: flex; }

  .nav__toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav__toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .nav__link {
    padding: 14px 0;
    font-size: 15px;
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }

  .nav__link::after { display: none; }

  .nav__cta {
    margin-left: 0;
    margin-top: 12px;
    text-align: center;
    border-bottom: none;
    display: block;
  }

  .hero__title { font-size: 36px; }

  .hero__photo-wrap { width: 240px; }

  .hero__actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero__stats {
    flex-direction: column;
    gap: 16px;
  }

  .scroll-indicator { display: none; }

  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }

  .page-hero__title { font-size: 30px; }

  .card, .blog-card { padding: 32px 24px; }

  .press-bar__logos { gap: 20px; }
  .press-bar__item { font-size: 14px; }

  .press-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .press-item__pub { min-width: unset; }
}
