/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Tes 2 couleurs + variations dérivées uniquement */
  --bg:       #FFF8EB;          /* ta couleur crème */
  --bg2:      #EDE8DB;          /* crème légèrement plus sombre */
  --blue:     #366581;          /* ta couleur bleue */
  --blue-dk:  #274F65;          /* bleu plus sombre (hover, emphase) */
  --blue-lt:  #6B9BB5;          /* bleu plus clair (labels, accents) */
  --ink:      #1E3547;          /* navy très sombre - shade de ton bleu */
  --ink2:     #4A7590;          /* bleu moyen - shade de ton bleu */
  --border:   #C5D5DF;          /* bordure bleu-gris clair */
  --nav-h:    72px;
  --serif:    'DM Serif Display', Georgia, serif;
  --sans:     'Inter', system-ui, sans-serif;
  --ease:     cubic-bezier(.25,.46,.45,.94);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5.5vw, 5rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.6rem); }
h4 { font-size: 1rem; }

.label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue-lt);
}

/* Layout */
.container  { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.section    { padding: 120px 0; }
.section--sm { padding: 80px 0; }

/* ── Navigation ──────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
nav.scrolled {
  background: rgba(255,248,235,.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 5%;
}
.nav-logo { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); }
.nav-logo span { color: var(--blue); }
.nav-logo img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-links a {
  font-size: .82rem; font-weight: 500; letter-spacing: .07em;
  text-transform: uppercase; color: var(--ink2);
  transition: color .2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1.5px; background: var(--blue);
  transform: scaleX(0); transform-origin: right;
  transition: transform .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-socials { display: flex; gap: 16px; align-items: center; }
.nav-socials a { color: var(--ink2); transition: color .2s; display: flex; align-items: center; }
.nav-socials a:hover { color: var(--blue); }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.burger span { width: 22px; height: 1.5px; background: var(--ink); display: block; transition: all .3s; }
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--bg); z-index: 99;
  padding: 32px 5% 40px; border-bottom: 1px solid var(--border);
  flex-direction: column; gap: 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1.3rem; font-family: var(--serif); }
.mobile-socials { display: flex; gap: 20px; margin-top: 8px; align-items: center; }
.mobile-socials a { color: var(--ink2); }

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  font-size: .82rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  border-radius: 2px; transition: all .3s var(--ease); cursor: pointer; border: none;
}
.btn-primary { background: var(--blue); color: var(--bg); }
.btn-primary:hover { background: var(--blue-dk); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-outline-blue { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-outline-blue:hover { background: var(--blue); color: var(--bg); }
.btn-outline-light { background: transparent; color: rgba(255,248,235,.7); border: 1.5px solid rgba(255,248,235,.25); }
.btn-outline-light:hover { background: rgba(255,248,235,.1); }

/* ── Insights Ticker ─────────────────────────────── */
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.insights-ticker {
  width: 100%;
  height: 44px;
  background: var(--ink);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.insights-ticker-label {
  flex-shrink: 0;
  padding: 0 18px 0 22px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-lt);
  white-space: nowrap;
  font-family: var(--sans);
  border-right: 1px solid rgba(255,255,255,0.12);
}
.insights-ticker-scroll {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}
.insights-ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
  will-change: transform;
}
.insights-ticker-track:hover { animation-play-state: paused; }
.insights-ticker-track a {
  color: rgba(255,248,235,0.8);
  text-decoration: none;
  font-size: 11.5px;
  font-family: var(--sans);
  white-space: nowrap;
  padding: 0 6px;
  transition: color 0.2s;
}
.insights-ticker-track a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.insights-ticker-arrow { opacity: 0.45; font-style: normal; margin-left: 3px; font-size: 10px; transition: opacity 0.2s; }
.insights-ticker-track a:hover .insights-ticker-arrow { opacity: 1; }
.insights-ticker-dot {
  color: rgba(255,255,255,0.2);
  font-size: 14px;
  padding: 0 22px;
  flex-shrink: 0;
  user-select: none;
}

/* ── Hero ────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: var(--nav-h); position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 42%; height: 100%;
  background: linear-gradient(150deg, #C5D8E5 0%, #A8C4D4 100%);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  opacity: .35;
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; padding: 0 5%; width: 100%;
}
.hero-tag {
  display: inline-block; margin-bottom: 28px;
  padding: 6px 14px; border: 1px solid var(--blue-lt); border-radius: 2px;
}
.hero h1 { max-width: 820px; margin-bottom: 28px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-sub {
  font-size: 1rem; color: var(--ink2);
  max-width: 520px; margin-bottom: 48px; line-height: 1.85;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 48px; left: 5%;
  display: flex; align-items: center; gap: 12px;
  font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ink2);
}
.hero-scroll::before { content: ''; display: block; width: 40px; height: 1px; background: var(--blue); }

/* ── About ───────────────────────────────────────── */
.about { background: var(--blue); color: var(--bg); }
.about-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: start; }
.about .label { color: rgba(255,248,235,.55); margin-bottom: 20px; }
.about h2 { color: var(--bg); margin-bottom: 28px; }
.about-text p { color: rgba(255,248,235,.7); line-height: 1.9; margin-bottom: 16px; }
.about-right { display: flex; flex-direction: column; gap: 32px; padding-top: 6px; }
.about-avatar {
  border-radius: 3px; overflow: hidden;
  aspect-ratio: 1/1; max-width: 220px; width: 100%;
  background: rgba(255,248,235,.1);
}
.about-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.avatar-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,248,235,.2); font-size: .72rem; letter-spacing: .15em; text-transform: uppercase;
  aspect-ratio: 3/4;
}
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stat-num { font-family: var(--serif); font-size: 3rem; color: rgba(255,248,235,.85); line-height: 1; }
.stat-label { font-size: .72rem; color: rgba(255,248,235,.4); letter-spacing: .08em; text-transform: uppercase; margin-top: 6px; }

/* ── Services ────────────────────────────────────── */
.services-header { text-align: center; margin-bottom: 64px; }
.services-header .label { margin-bottom: 16px; display: block; }
.services-header h2 { margin-bottom: 16px; }
.services-header p { color: var(--ink2); max-width: 480px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.service-card {
  background: var(--bg2); padding: 40px 36px;
  transition: background .3s, transform .3s var(--ease);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.service-card:hover { background: var(--bg); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-num {
  font-family: var(--serif); font-size: 2.2rem; color: var(--border);
  margin-bottom: 20px; display: block; transition: color .3s;
}
.service-card:hover .service-num { color: var(--blue-lt); }
.service-card h4 { margin-bottom: 12px; font-weight: 600; font-family: var(--sans); font-size: .88rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }
.service-card p { font-size: .87rem; color: var(--ink2); line-height: 1.75; }

/* ── Clients ─────────────────────────────────────── */
.clients { background: var(--bg2); overflow: hidden; }
.clients-label { text-align: center; margin-bottom: 48px; }

/* Marquee */
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.clients-marquee {
  position: relative;
  touch-action: pan-y;
}
.clients-marquee::before,
.clients-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.clients-marquee::before {
  left: 0;
  background: linear-gradient(to right, #EDE8DB 0%, transparent 100%);
}
.clients-marquee::after {
  right: 0;
  background: linear-gradient(to left, #EDE8DB 0%, transparent 100%);
}
@media (max-width: 768px) {
  .clients-marquee::before,
  .clients-marquee::after {
    width: 40px;
  }
}
.clients-marquee-track {
  display: flex; align-items: center;
  width: max-content;
  animation: marquee 25s linear infinite;
}
.client-item {
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
  pointer-events: none;
}
a.client-item { text-decoration: none; outline: none; pointer-events: auto; }
.client-item img {
  max-height: 99px; max-width: 242px; width: auto; height: auto;
  object-fit: contain;
  opacity: 0.85; transition: opacity .3s;
  -webkit-user-drag: none;
  user-select: none;
}
@media (hover: hover) {
  .client-item:hover img { opacity: 1; }
}

/* ── Works Preview (homepage carousel) ───────────── */
.works-preview .container:first-child { margin-bottom: 52px; }
.works-preview-cta { margin-top: 48px; display: flex; justify-content: center; }
.works-carousel-outer { overflow: hidden; cursor: grab; user-select: none; -webkit-user-select: none; padding-top: 8px; margin-top: -8px; touch-action: pan-y; }
.works-carousel-outer:active { cursor: grabbing; }
.works-carousel-track .work-card-sm { -webkit-user-drag: none; }
.works-carousel-track {
  display: flex;
  gap: 16px;
  will-change: transform;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.work-card-sm {
  flex-shrink: 0;
  background: var(--bg2); overflow: hidden;
  border-radius: 8px;
  cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  text-decoration: none; color: inherit; display: block;
  outline: 1px solid rgba(30,53,71,0.07);
}
.work-card-sm:hover { transform: translateY(-5px); }
.work-card-sm-top {
  height: 280px; overflow: hidden;
  background: var(--bg2); position: relative;
  display: flex; align-items: center; justify-content: center;
}
.work-card-sm-top img { width: 100%; height: 100%; object-fit: contain; object-position: center center; transition: transform .5s var(--ease); border-radius: 2px; pointer-events: none; -webkit-user-drag: none; }
.work-card-sm:hover .work-card-sm-top img { transform: scale(1.05); }
.work-card-sm-body { padding: 18px 20px; border-top: 1px solid var(--blue-lt); }
.work-card-sm-body .label { margin-bottom: 5px; display: block; font-size: .62rem; }
.work-card-sm-body h4 { font-family: var(--sans); font-size: .88rem; font-weight: 600; color: var(--ink); }

/* ── Insights (homepage section) ─────────────────── */
.insights-section { background: var(--blue); color: var(--bg); }
.insights-section .label { color: rgba(255,248,235,.55); }
.insights-section h2 { color: var(--bg); }
.insights-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; }
.insights-header a { color: rgba(255,248,235,.6); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.insights-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.insight-card { border-top: 1px solid rgba(255,248,235,.15); padding-top: 32px; }
.insight-cat { color: rgba(255,248,235,.55); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.insight-card h3 { color: var(--bg); font-size: 1.3rem; margin-bottom: 14px; }
.insight-card p { color: rgba(255,248,235,.55); font-size: .88rem; line-height: 1.8; margin-bottom: 20px; }
.insight-meta { font-size: .75rem; color: rgba(255,248,235,.35); }
.insight-read {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 600; color: rgba(255,248,235,.65); margin-top: 20px;
  transition: gap .3s;
}
.insight-read:hover { gap: 14px; }

/* ── Contact CTA ─────────────────────────────────── */
.contact-cta { text-align: center; padding: 140px 0; }
.contact-cta .label { margin-bottom: 24px; display: block; }
.contact-cta h2 { margin-bottom: 20px; }
.contact-cta p { color: var(--ink2); max-width: 480px; margin: 0 auto 48px; }

/* ── Footer ──────────────────────────────────────── */
footer { background: var(--blue-dk); color: rgba(255,248,235,.38); padding: 40px 0; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1200px; margin: 0 auto; padding: 0 5%;
}
.footer-logo { font-family: var(--serif); font-size: 1.2rem; color: var(--bg); }
.footer-logo span { color: var(--blue-lt); }
.footer-logo img { height: 28px; width: auto; }
.footer-copy { font-size: .76rem; }
.footer-socials { display: flex; gap: 18px; align-items: center; }
.footer-socials a { color: rgba(255,248,235,.38); transition: color .2s; display: flex; align-items: center; }
.footer-socials a:hover { color: rgba(255,248,235,.8); }

/* ── Page Hero (inner pages) ─────────────────────── */
.page-hero { padding-top: calc(var(--nav-h) + 24px); padding-bottom: 36px; }
.page-hero .label { margin-bottom: 20px; display: block; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero p { color: var(--ink2); max-width: 540px; font-size: 1.05rem; }

/* ── Works Page ──────────────────────────────────── */
.filter-bar { display: flex; gap: 8px; margin-bottom: 56px; flex-wrap: wrap; }
.filter-btn {
  padding: 8px 18px; border-radius: 2px;
  font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  border: 1.5px solid var(--border); background: transparent; color: var(--ink2);
  cursor: pointer; transition: all .2s;
}
.filter-btn.active, .filter-btn:hover { background: var(--blue); color: var(--bg); border-color: var(--blue); }
.projects-list { display: flex; flex-direction: column; gap: 3px; }
.project-item {
  display: grid; grid-template-columns: 72px 1fr auto;
  gap: 32px; align-items: start;
  padding: 36px 32px; background: var(--bg2);
  transition: background .3s, transform .3s var(--ease);
}
.project-item:hover { background: var(--bg); transform: translateX(4px); }
.project-year { font-size: .78rem; color: var(--blue-lt); font-weight: 600; padding-top: 4px; line-height: 1.6; }
.project-info h3 { font-size: 1.2rem; margin-bottom: 8px; }
.project-info p { font-size: .87rem; color: var(--ink2); line-height: 1.75; max-width: 600px; }
.project-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.tag { padding: 4px 10px; border: 1px solid var(--border); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); border-radius: 2px; }
.project-client { font-size: .76rem; color: var(--ink2); text-align: right; white-space: nowrap; padding-top: 4px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.project-client strong { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--ink); font-weight: 400; }
.project-thumb {
  width: 100px; height: 70px; border-radius: 2px; overflow: hidden; flex-shrink: 0;
}
.project-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ── Works Card Grid (redesigned) ── */
.works-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 12px; margin: -12px; }
.work-card-full {
  background: var(--bg2);
  overflow: hidden;
  border-radius: 10px;
  transition: transform .5s var(--ease);
  display: block;
  color: inherit;
  will-change: transform;
  box-shadow: 0 0 0 1px rgba(30,53,71,0.06);
}
.works-card-grid .work-card-full:hover {
  transform: translateY(-4px) scale(1.005);
}
.work-card-full-img { height: 320px; background: var(--bg2); overflow: hidden; padding: 24px 40px; box-sizing: border-box; }
.work-card-full-img img { width: 100%; height: 100%; object-fit: contain; object-position: center center; display: block; transition: transform .5s var(--ease); }
.work-card-full:hover .work-card-full-img img { transform: scale(1.03); }
.work-card-full-body { padding: 28px 32px 32px; }
.work-card-full-meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.work-card-full-year { font-size: .72rem; color: var(--blue-lt); font-weight: 600; }
.work-card-full-client { font-family: var(--serif); font-size: 1rem; color: var(--ink); }
.work-card-full-body h3 { font-size: 1.15rem; margin-bottom: 12px; }
.work-card-full-body p { font-size: .86rem; color: var(--ink2); line-height: 1.75; margin-bottom: 18px; }
.work-card-full-body p a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.insight-card-img { position: relative; margin-bottom: 20px; border-radius: 3px; overflow: hidden; aspect-ratio: 16/9; }
.insight-card-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2); transition: filter .3s; }
.insight-card:hover .insight-card-img img { filter: grayscale(0); }

/* ── Insights List Page ──────────────────────────── */
.insights-main { display: grid; grid-template-columns: 2fr 1fr; gap: 64px; }
.insights-main > * { min-width: 0; }
.insights-single-col { max-width: 780px; margin: 0 auto; }
.insight-article { border-top: 2px solid var(--border); padding-top: 40px; margin-bottom: 64px; }
.insight-article-img { position: relative; margin-bottom: 28px; border-radius: 3px; overflow: hidden; aspect-ratio: 16/9; }
.insight-article-img img { width: 100%; height: 100%; object-fit: cover; }
.insight-img-date {
  position: absolute; top: 12px; left: 12px;
  background: rgba(8, 12, 28, 0.58);
  color: #fff; font-size: .68rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 20px;
  backdrop-filter: blur(6px); pointer-events: none; z-index: 1;
}
.insight-article h2 { font-size: 1.7rem; margin: 12px 0 20px; }
.insight-article p { color: var(--ink2); line-height: 1.9; margin-bottom: 16px; font-size: .95rem; }
.insight-article h3 { font-size: 1.1rem; margin: 28px 0 10px; color: var(--ink); font-family: var(--sans); font-weight: 600; }
.insight-article .insight-meta { border-top: 1px solid var(--blue); padding-top: 16px; margin-top: 8px; font-size: .78rem; color: var(--ink2); }
.insight-article a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.read-more-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); margin-top: 20px; text-decoration: none !important;
  transition: gap .3s;
}
.read-more-link:hover { gap: 14px; }
.sidebar { min-width: 0; overflow-wrap: break-word; word-break: break-word; }
.sidebar-block { margin-bottom: 44px; }
.sidebar-block .label { display: block; margin-bottom: 16px; }
.sidebar-block p { font-size: .87rem; color: var(--ink2); line-height: 1.8; }
.sidebar .btn-primary { color: var(--bg); text-decoration: none; }
.sidebar-topics { display: flex; flex-direction: column; }
.sidebar-topics a {
  font-size: .87rem; color: var(--ink2); padding: 12px 0;
  border-bottom: 1px solid var(--border); transition: color .2s;
}
.sidebar-topics a:hover { color: var(--blue); }

/* ── Article Pages ───────────────────────────────── */
.article-hero { padding-top: calc(var(--nav-h) + 64px); padding-bottom: 48px; border-bottom: 1px solid var(--border); margin-bottom: 64px; }
.article-hero .label { margin-bottom: 16px; display: block; }
.article-hero h1 { max-width: 760px; margin-bottom: 16px; }
.article-hero .article-meta { font-size: .82rem; color: var(--ink2); }
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 64px; align-items: start; }
.article-layout > * { min-width: 0; }
.article-single-col { max-width: 780px; margin: 0 auto; }
.article-body { min-width: 0; }
.article-hero-img { margin-bottom: 48px; border-radius: 3px; overflow: hidden; margin-top: 32px; background: var(--bg); }
.article-hero-img img { width: 100%; height: auto; display: block; object-fit: contain; }
.article-body p { color: var(--ink2); line-height: 1.9; margin-bottom: 22px; font-size: .97rem; }
.article-body h2 { font-size: 1.35rem; margin: 44px 0 14px; color: var(--ink); font-family: var(--sans); font-weight: 600; }
.article-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.article-body a.btn-primary, .article-body a.btn-outline-blue { text-decoration: none; }
.article-body .btn-primary { color: var(--bg); }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body ul { margin: 8px 0 22px; display: flex; flex-direction: column; gap: 8px; }
.article-body ul li { font-size: .97rem; color: var(--ink2); padding-left: 18px; position: relative; line-height: 1.75; }
.article-body ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; }
.article-inline-img { margin: 32px 0; border-radius: 3px; overflow: hidden; }
.article-inline-img img { width: 100%; object-fit: cover; }
.article-inline-img figcaption { font-size: .78rem; color: var(--ink2); margin-top: 10px; font-style: italic; }
.article-body .article-cta { margin-top: 48px; padding: 32px; background: var(--bg2); border-left: 3px solid var(--blue); }
.article-body .article-cta p { margin-bottom: 16px; }
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--blue); }
.sidebar-sticky { position: sticky; top: calc(var(--nav-h) + 32px); }

/* ── Contact Page ────────────────────────────────── */
.contact-page { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-info .label { margin-bottom: 20px; display: block; }
.contact-info h2 { margin-bottom: 24px; }
.contact-info p { color: var(--ink2); line-height: 1.85; margin-bottom: 32px; }
.services-list { margin-bottom: 40px; }
.services-list li {
  padding: 13px 0; border-bottom: 1px solid var(--border);
  font-size: .88rem; color: var(--ink2); display: flex; align-items: center; gap: 12px;
}
.services-list li::before { content: ''; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; flex-shrink: 0; }
.contact-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.social-link {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border: 1.5px solid var(--border);
  font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink2); border-radius: 2px; transition: all .3s;
}
.social-link:hover { background: var(--blue); color: var(--bg); border-color: var(--blue); }
.contact-form-wrap { background: var(--bg2); padding: 48px 40px; border-radius: 2px; }
.contact-form-wrap h3 { font-family: var(--sans); font-size: .92rem; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 32px; font-weight: 600; color: var(--ink); }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--ink2); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); background: var(--bg);
  font-family: var(--sans); font-size: .9rem; color: var(--ink);
  border-radius: 2px; outline: none; transition: border-color .2s; -webkit-appearance: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--blue); }
.form-group textarea { height: 120px; resize: vertical; }
.form-note { font-size: .76rem; color: var(--ink2); margin-top: 12px; text-align: center; }
.form-success {
  text-align: center;
  padding: 48px 24px;
}
.form-success.visible { opacity: 1; }
.form-success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-size: 1.5rem; line-height: 56px;
  margin: 0 auto 24px;
}
.form-success h3 { font-size: 1.5rem; margin-bottom: 12px; color: var(--ink); }
.form-success p { color: var(--ink2); font-size: .95rem; line-height: 1.7; margin-bottom: 28px; }

/* ── Animations ──────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr 1fr; gap: 48px; }
  /* carousel handles its own responsive sizing via JS */
  .article-layout { grid-template-columns: 1fr; }
  .sidebar-sticky { position: static; }
  .insights-main { grid-template-columns: 1fr; }
  .works-card-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .section { padding: 80px 0; }
  .nav-links, .nav-socials { display: none; }
  .burger { display: flex; }
  .hero::before { display: none; }
  .works-grid-sm { grid-template-columns: 1fr 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 24px; text-align: center; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-avatar { max-width: 200px; aspect-ratio: 1/1; }
  .project-item { grid-template-columns: 1fr; gap: 8px; }
  .project-client { text-align: left; }
  .contact-page { grid-template-columns: 1fr; gap: 48px; }
  .works-preview .section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .insights-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .works-card-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  /* carousel responsive handled by JS */
  .contact-form-wrap { padding: 32px 24px; }
}
