/* ============================================
   FAIRMOTION.CO.UK — 2026 Light Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Inter:wght@300;400;500&display=swap');

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

:root {
  --bg:       #f7f3ea;
  --bg-2:     #fffaf0;
  --bg-3:     #f0ebe0;
  --surface:  #fffaf0;
  --border:   #e5dac8;
  --text:     #1f1f1f;
  --muted:    #6f675d;
  --dim:      #b0a898;
  --accent:   #b8894d;
  --accent-2: #d8c3a5;
  --white:    #ffffff;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --nav-h:    68px;
  --max-w:    1160px;
  --ease:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── NAV ──────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 48px;
  background: rgba(247,243,234,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s var(--ease);
}

.nav__logo {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--text);
  flex: 1;
}

.nav__logo span { color: var(--accent); }

.nav__links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav__links a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

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

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

.nav__menu-btn {
  display: none;
  background: none; border: none;
  cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px;
}

.nav__menu-btn span {
  display: block;
  width: 22px; height: 1px;
  background: var(--text);
  transition: all 0.3s var(--ease);
}

/* ── HERO ─────────────────────────────────── */

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

.hero__pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 70% 30%, rgba(184,137,77,0.06) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(216,195,165,0.08) 0%, transparent 40%);
  pointer-events: none;
}

.hero__lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 10%, transparent 100%);
}

.hero__content {
  position: relative;
  padding: calc(var(--nav-h) + 80px) 48px 80px;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.2s forwards;
}

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

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(52px, 8.5vw, 118px);
  font-weight: 300;
  line-height: 0.93;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.35s forwards;
}

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

.hero__desc {
  max-width: 500px;
  font-size: 17px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.5s forwards;
}

.hero__cta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.65s forwards;
}

.hero__scroll {
  position: absolute;
  bottom: 48px; left: 48px;
  display: flex; align-items: center; gap: 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  opacity: 0;
  animation: fadeIn 1s var(--ease) 1.2s forwards;
}

/* ── BUTTONS ──────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}

.btn--primary:hover {
  background: #9a7140;
  transform: translateY(-2px);
}

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

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn__arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ── SECTIONS ─────────────────────────────── */

.section { padding: 112px 48px; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--dark { background: var(--bg-3); border-top: 1px solid var(--border); }

.section__inner { max-width: var(--max-w); margin: 0 auto; }

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

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

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.5vw, 60px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 20px;
}

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

.section__sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.72;
}

/* ── MARQUEE ──────────────────────────────── */

.marquee {
  overflow: hidden;
  padding: 22px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.marquee__track {
  display: flex;
  animation: marquee 36s linear infinite;
  white-space: nowrap;
}

.marquee__item {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 28px;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.03em;
  font-style: italic;
}

.marquee__dot {
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── PILLARS ──────────────────────────────── */

.pillars { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

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

.pillar {
  padding: 56px 44px;
  border-right: 1px solid var(--border);
  transition: background 0.3s var(--ease);
}

.pillar:last-child { border-right: none; }
.pillar:hover { background: var(--bg-3); }

.pillar__num {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--dim);
  margin-bottom: 28px;
  letter-spacing: 0.1em;
}

.pillar__title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 14px;
}

.pillar__text {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.78;
}

/* ── WORK CARDS ───────────────────────────── */

.works__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
}

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

.work-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-3);
  cursor: pointer;
  display: block;
}

.work-card__bg {
  position: absolute;
  inset: 0;
  transition: transform 0.7s var(--ease);
}

.work-card:hover .work-card__bg { transform: scale(1.04); }

.work-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31,31,31,0.72) 0%, transparent 55%);
  opacity: 0.6;
  transition: opacity 0.4s var(--ease);
}

.work-card:hover .work-card__overlay { opacity: 0.85; }

.work-card__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
  transform: translateY(6px);
  transition: transform 0.4s var(--ease);
}

.work-card:hover .work-card__info { transform: translateY(0); }

.work-card__tag {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 6px;
}

.work-card__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: #fff;
}

.work-card--1 .work-card__bg { background: linear-gradient(135deg, #2a2018 0%, #3d2e1a 60%, #5a4022 100%); }
.work-card--2 .work-card__bg { background: linear-gradient(135deg, #1a2018 0%, #1e2d1a 60%, #253522 100%); }
.work-card--3 .work-card__bg { background: linear-gradient(135deg, #18202a 0%, #1a253d 60%, #1e2d52 100%); }
.work-card--4 .work-card__bg { background: linear-gradient(135deg, #2a1820 0%, #3d1a28 60%, #52203a 100%); }

/* ── ABOUT LAYOUT ─────────────────────────── */

.about__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__visual {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--bg-3);
  border: 1px solid var(--border);
  overflow: hidden;
}

.about__visual-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__visual-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
}

.about__visual-circle--1 {
  width: 260px; height: 260px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: rotateSlow 22s linear infinite;
}

.about__visual-circle--2 {
  width: 160px; height: 160px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  border-color: var(--accent-2);
  animation: rotateSlow 14s linear infinite reverse;
}

.about__visual-dot {
  position: absolute;
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  top: calc(50% - 130px);
  left: 50%;
  transform: translateX(-50%);
}

@keyframes rotateSlow {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}

.about__text { padding: 20px 0; }

.about__lead {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 300;
  line-height: 1.42;
  color: var(--text);
  margin-bottom: 28px;
}

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

.about__body {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.82;
  margin-bottom: 40px;
}

/* ── CONTACT FORM ─────────────────────────── */

.contact { background: var(--bg-2); border-top: 1px solid var(--border); }

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

.contact__form { display: flex; flex-direction: column; gap: 18px; }

.form-group { display: flex; flex-direction: column; gap: 7px; }

.form-group label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.3s var(--ease);
  resize: none;
  appearance: none;
  border-radius: 0;
}

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

.form-group textarea { height: 130px; }
.form-group select option { background: var(--bg); }

.contact__info-title {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.25;
}

.contact__info-text {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.78;
  margin-bottom: 40px;
}

.contact__details { display: flex; flex-direction: column; gap: 24px; }

.contact__detail { display: flex; gap: 18px; align-items: flex-start; }

.contact__detail-icon {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: var(--bg);
}

.contact__detail-icon svg {
  width: 16px; height: 16px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}

.contact__detail-content h4 {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}

.contact__detail-content p,
.contact__detail-content a {
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  transition: color 0.3s var(--ease);
}

.contact__detail-content a:hover { color: var(--accent); }

.contact__legal {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  font-weight: 300;
  color: var(--dim);
  line-height: 1.7;
  font-style: italic;
}

/* ── NOTICE ───────────────────────────────── */

.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  border-left: 3px solid;
}

.notice--success { background: rgba(74,180,100,0.06); border-color: #5db87a; color: #3a7a52; }
.notice--error   { background: rgba(200,60,60,0.06);  border-color: #c84040; color: #8a2a2a; }
.notice__icon    { font-size: 16px; flex-shrink: 0; }

/* ── PAGE HERO ────────────────────────────── */

.page-hero {
  padding: calc(var(--nav-h) + 80px) 48px 72px;
  max-width: var(--max-w);
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(42px, 6.5vw, 90px);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 28px;
}

.page-hero__title em { font-style: italic; color: var(--accent); }

.page-hero__sub {
  max-width: 520px;
  font-size: 17px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.68;
}

/* ── VALUES GRID ──────────────────────────── */

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.value-item {
  padding: 44px 32px;
  border-right: 1px solid var(--border);
}

.value-item:last-child { border-right: none; }

.value-item__num {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  margin-bottom: 18px;
}

.value-item__title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 10px;
}

.value-item__text {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
}

/* ── VISION BLOCK ─────────────────────────── */

.vision-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 440px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.vision-block__text {
  padding: 72px 56px 72px 48px;
}

.vision-block__visual {
  background: var(--bg-3);
  border-left: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── PROJECTS GRID ────────────────────────── */

.projects__filters {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 7px 18px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  font-family: var(--font-sans);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(184,137,77,0.05);
}

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

.project-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-3);
  cursor: pointer;
  display: block;
  border: 1px solid var(--border);
}

.project-card__bg {
  position: absolute;
  inset: 0;
  transition: transform 0.7s var(--ease);
}

.project-card:hover .project-card__bg { transform: scale(1.05); }

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31,31,31,0.88) 0%, rgba(31,31,31,0.1) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.project-card:hover .project-card__overlay { opacity: 1; }

.project-card__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  transform: translateY(16px);
  opacity: 0;
  transition: all 0.4s var(--ease);
}

.project-card:hover .project-card__info { transform: translateY(0); opacity: 1; }

.project-card__cat {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 6px;
}

.project-card__title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: #fff;
}

.project-card__desc {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  margin-top: 6px;
  line-height: 1.5;
}

.project-card--1 .project-card__bg { background: linear-gradient(150deg, #2a1f0e 0%, #3d2e14 100%); }
.project-card--2 .project-card__bg { background: linear-gradient(150deg, #0e1a14 0%, #142a1e 100%); }
.project-card--3 .project-card__bg { background: linear-gradient(150deg, #0e141a 0%, #14202a 100%); }
.project-card--4 .project-card__bg { background: linear-gradient(150deg, #1a180e 0%, #2a2614 100%); }
.project-card--5 .project-card__bg { background: linear-gradient(150deg, #1a0e12 0%, #2a1418 100%); }
.project-card--6 .project-card__bg { background: linear-gradient(150deg, #0e141a 0%, #101e28 100%); }

/* ── NOTES LIST ───────────────────────────── */

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

.note-card {
  background: var(--bg);
  padding: 40px 36px;
  display: block;
  transition: background 0.3s var(--ease);
  position: relative;
}

.note-card:hover { background: var(--bg-2); }

.note-card__season {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.note-card__season::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: var(--accent);
}

.note-card__title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 14px;
}

.note-card__excerpt {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.note-card__link {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s var(--ease);
}

.note-card:hover .note-card__link { gap: 14px; }

/* ── ARTICLE ──────────────────────────────── */

.article { max-width: 680px; margin: 0 auto; padding: 40px 48px 100px; }

.article__header { margin-bottom: 52px; }

.article__season {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.article__title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 24px;
}

.article__meta {
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 0.08em;
}

.article__body {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 300;
  line-height: 1.82;
  color: var(--text);
}

.article__body p { margin-bottom: 1.6em; }
.article__body p:first-child::first-letter {
  font-size: 4em;
  font-weight: 300;
  float: left;
  line-height: 0.8;
  margin: 8px 12px 0 0;
  color: var(--accent);
}

.article__body em { font-style: italic; color: var(--muted); }
.article__body strong { font-weight: 600; color: var(--text); }

.article__divider {
  text-align: center;
  margin: 2em 0;
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 0.3em;
}

.article__back-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.article__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s;
  text-decoration: none;
}

.article__back:hover { color: var(--accent); }

.article__back + .article__back {
  border-left: 1px solid var(--border);
  padding-left: 24px;
}

/* Matching intro block — mirrors the project card description */
.article__lead {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.72;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  padding: 16px 24px;
  background: var(--bg-2);
  margin-bottom: 40px;
  border-radius: 0 6px 6px 0;
}

.article__nav {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.article__nav-item {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.article__nav-title {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--text);
  margin-top: 4px;
  transition: color 0.25s;
}

.article__nav-item:hover .article__nav-title { color: var(--accent); }

/* ── FOOTER ───────────────────────────────── */

.footer {
  padding: 72px 48px 36px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}

.footer__inner { max-width: var(--max-w); margin: 0 auto; }

.footer__top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 72px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
  align-items: start;
}

.footer__brand {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 12px;
}

.footer__tagline {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
  max-width: 260px;
}

.footer__nav-title {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.footer__nav-links { display: flex; flex-direction: column; gap: 10px; list-style: none; }

.footer__nav-links a {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  transition: color 0.25s;
}

.footer__nav-links a:hover { color: var(--accent); }

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

.footer__copy { font-size: 12px; font-weight: 300; color: var(--dim); }

.footer__legal { display: flex; gap: 20px; }

.footer__legal a {
  font-size: 12px;
  font-weight: 300;
  color: var(--dim);
  transition: color 0.25s;
}

.footer__legal a:hover { color: var(--muted); }

/* ── SEASON CARDS (Projects page) ────────── */

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

.season-card {
  display: block;
  background: var(--bg);
  padding: 40px 36px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.25s var(--ease);
  position: relative;
}

.season-card:hover {
  background: var(--bg-2);
  transform: translateY(-3px);
  z-index: 1;
}

.season-card__cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.season-card__cat::before {
  content: '';
  display: block;
  width: 18px;
  height: 1px;
  background: var(--accent);
}

.season-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 14px;
}

.season-card p {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.season-card__arrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s var(--ease);
}

.season-card:hover .season-card__arrow { gap: 14px; }

/* ── DIVIDER ──────────────────────────────── */

.divider { width: 100%; height: 1px; background: var(--border); }

/* ── ANIMATIONS ───────────────────────────── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.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; }

/* ── RESPONSIVE ───────────────────────────── */

@media (max-width: 1024px) {
  .nav { padding: 0 32px; }
  .section { padding: 72px 32px; }
  .hero__content { padding-left: 32px; padding-right: 32px; }
  .pillars__grid { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--border); }
  .pillar:last-child { border-bottom: none; }
  .about__layout { grid-template-columns: 1fr; gap: 40px; }
  .about__visual { aspect-ratio: 16/9; }
  .contact__layout { grid-template-columns: 1fr; gap: 48px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .value-item:nth-child(2) { border-right: none; }
  .value-item { border-bottom: 1px solid var(--border); }
  .vision-block { grid-template-columns: 1fr; }
  .vision-block__visual { min-height: 280px; border-left: none; border-top: 1px solid var(--border); }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .notes-grid { grid-template-columns: 1fr; }
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .works__grid { grid-template-columns: 1fr; }
  .article { padding: 32px 32px 80px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 58px; }
  .nav { padding: 0 20px; }

  /* Mobile menu — fully opaque, stable overlay */
  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: #f7f3ea;
    opacity: 1;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 36px 28px 40px;
    gap: 0;
    border-top: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(31,31,31,0.12);
    z-index: 9999;
    overflow-y: auto;
  }
  .nav__links.open li { border-bottom: 1px solid var(--border); }
  .nav__links.open li:last-child { border-bottom: none; }
  .nav__links.open a {
    display: block;
    font-size: 18px;
    font-weight: 400;
    color: #1f1f1f !important;
    opacity: 1 !important;
    padding: 18px 0;
    letter-spacing: 0.08em;
  }
  .nav__links.open a::after { display: none; }
  .nav__menu-btn { display: flex; }

  /* Layout */
  .section { padding: 56px 20px; }
  .hero__content { padding-left: 20px; padding-right: 20px; }
  .hero__scroll { left: 20px; }
  .page-hero { padding-left: 20px; padding-right: 20px; }
  .values-grid { grid-template-columns: 1fr; }
  .value-item { border-right: none; }
  .projects__grid { grid-template-columns: 1fr; gap: 18px; }
  .season-grid { grid-template-columns: 1fr !important; gap: 18px !important; }
  .season-card { border-radius: 16px; padding: 28px 24px; }
  .season-card h3 { font-size: 1.5rem; line-height: 1.15; }
  .season-card p { font-size: 1rem; line-height: 1.65; }
  .season-card__cat { font-size: 0.75rem; letter-spacing: 0.1em; }
  .works__header { flex-direction: column; gap: 20px; align-items: flex-start; }
  .footer { padding: 56px 20px 28px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .article { padding: 24px 20px 64px; }
  .article__nav { flex-direction: column; }
  .contact__layout { gap: 40px; }
}
