:root {
  --ink: #09243b;
  --ink-2: #0b2f45;
  --nav: #06273d;
  --nav-deep: #031827;
  --cream: #fbf6ec;
  --cream-2: #f3eadc;
  --paper: #fffdf8;
  --line: #ded6c8;
  --terracotta: #c94012;
  --terracotta-2: #df5c24;
  --ochre: #e6ad4d;
  --muted: #5c6a76;
  --shadow: 0 16px 34px rgba(9, 36, 59, .12);
  --soft-shadow: 0 8px 24px rgba(9, 36, 59, .09);
  --radius: 8px;
  --radius-lg: 18px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", ui-serif, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at 12% 8%, rgba(230, 173, 77, .14), transparent 28rem), var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1680px, calc(100% - 80px));
  margin-inline: auto;
}

.wide-container {
  width: min(1760px, calc(100% - 80px));
  margin-inline: auto;
}

.icon {
  width: 1.2em;
  height: 1.2em;
  flex: 0 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 82px;
  padding: 0 40px;
  background: linear-gradient(135deg, var(--nav), var(--nav-deep));
  color: #fffaf1;
  box-shadow: 0 8px 22px rgba(3, 24, 39, .18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand strong {
  display: block;
  font-size: 1.15rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: rgba(255, 250, 241, .86);
  font-weight: 600;
}

.brand-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--terracotta-2), var(--terracotta));
  color: #fffaf1;
}

.brand-mark .icon {
  width: 26px;
  height: 26px;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
  font-weight: 800;
}

.main-nav a {
  position: relative;
  padding: 28px 0 24px;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  height: 3px;
  transform: scaleX(0);
  transform-origin: center;
  border-radius: 99px;
  background: var(--terracotta-2);
  transition: transform .18s ease;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 250, 241, .35);
  border-radius: var(--radius);
  background: transparent;
  color: #fffaf1;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.button,
.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  cursor: pointer;
}

.button-primary {
  background: linear-gradient(145deg, var(--terracotta-2), var(--terracotta));
  color: #fffaf1;
  box-shadow: 0 10px 20px rgba(201, 64, 18, .2);
}

.button-secondary {
  border-color: var(--terracotta);
  background: transparent;
  color: var(--terracotta);
}

.button-light {
  border-color: rgba(9, 36, 59, .25);
  background: #fffaf1;
  color: var(--ink);
}

.back-link-wrap {
  padding-top: 28px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--terracotta);
  font-weight: 800;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 7vw, 96px) 0;
}

.page-hero {
  padding: clamp(28px, 4vw, 54px) 0 clamp(22px, 3vw, 42px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(380px, 1.1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}

.page-hero .hero-grid {
  gap: clamp(24px, 3.5vw, 52px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--terracotta);
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.04;
}

h1,
.display-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.25rem, 8vw, 6.8rem);
  color: var(--ink);
  letter-spacing: 0;
}

.page-hero h1 {
  font-size: clamp(3rem, 5.2vw, 5.25rem);
}

.lead {
  font-size: clamp(1.12rem, 2vw, 1.55rem);
  font-weight: 850;
  color: var(--ink);
}

.intro {
  max-width: 680px;
  color: #183b52;
  font-weight: 560;
}

.formation-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 8px 13px;
  border: 1px solid rgba(191, 132, 35, .34);
  border-radius: 999px;
  background: #f5dfab;
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(9, 36, 59, .07);
  font-size: .94rem;
  font-weight: 850;
  line-height: 1.35;
}

.formation-badge .icon {
  width: 18px;
  height: 18px;
  color: var(--terracotta);
}

.brush {
  display: block;
  width: 150px;
  height: 7px;
  margin: 16px 0 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--terracotta), var(--terracotta-2), transparent);
}

.page-hero .brush {
  width: 118px;
  height: 5px;
  margin: 10px 0 14px;
}

.page-hero .lead {
  margin: 0 0 10px;
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
}

.page-hero .intro {
  margin: 0;
  max-width: 640px;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.scroll-indicator {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  margin: 24px auto 0;
  color: var(--ink);
  font-weight: 850;
}

.scroll-indicator .icon {
  width: 28px;
  height: 28px;
  padding: 5px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fffaf1;
  transform: rotate(90deg);
  animation: scroll-bounce 1.6s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 7px;
  }
}

.editorial-collage {
  position: relative;
  min-height: 430px;
  isolation: isolate;
}

.hero-portrait {
  position: relative;
  min-height: 520px;
  isolation: isolate;
}

.hero-portrait img {
  width: min(620px, 88%);
  height: clamp(420px, 54vw, 650px);
  margin-left: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 42% 8px 42% 8px;
  box-shadow: var(--shadow);
}

.shape {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
}

.shape-ochre {
  width: 172px;
  height: 172px;
  right: 6%;
  top: 0;
  background: var(--ochre);
}

.shape-blue {
  width: 330px;
  height: 330px;
  left: 10%;
  top: 112px;
  background: var(--nav);
}

.shape-brush {
  width: 260px;
  height: 40px;
  right: 2%;
  bottom: 36px;
  transform: rotate(-8deg);
  background: linear-gradient(90deg, transparent, var(--terracotta-2), var(--terracotta));
  border-radius: 56% 44% 50% 50%;
}

.dot-grid {
  position: absolute;
  width: 172px;
  height: 150px;
  left: 2%;
  top: 82px;
  background-image: radial-gradient(var(--ink) 1.8px, transparent 2px);
  background-size: 18px 18px;
  opacity: .55;
}

.mock-article,
.mock-audio,
.mock-video {
  position: absolute;
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.mock-article {
  right: 9%;
  top: 35px;
  width: min(360px, 65%);
  padding: 30px;
  transform: rotate(-3deg);
}

.mock-article h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.mock-article .photo {
  height: 120px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #b5d3dd, #dce7dd 48%, #0b2f45 49%, #0b2f45 72%, #e6ad4d);
}

.mock-audio {
  left: 4%;
  top: 220px;
  width: 330px;
  padding: 22px;
}

.mock-video {
  right: 0;
  bottom: 6px;
  width: 345px;
  overflow: hidden;
}

.video-thumb {
  display: grid;
  min-height: 165px;
  place-items: center;
  background: linear-gradient(135deg, #d5e5df, #8cb4c2 52%, #0b2f45);
}

.play-round {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 250, 241, .9);
  color: var(--terracotta);
}

.video-bar {
  height: 38px;
  background: var(--nav);
}

.waveform {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 54px;
}

.waveform span,
.mini-player i {
  width: 4px;
  border-radius: 999px;
  background: #c2c7c8;
}

.waveform span:nth-child(1) { height: 18px; }
.waveform span:nth-child(2) { height: 34px; }
.waveform span:nth-child(3) { height: 26px; }
.waveform span:nth-child(4) { height: 42px; }
.waveform span:nth-child(5) { height: 20px; }
.waveform span:nth-child(6) { height: 30px; }
.waveform span:nth-child(7) { height: 15px; }

.section {
  padding: clamp(46px, 6vw, 78px) 0;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-icon,
.round-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fffaf1;
}

.section-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-head-row .section-heading {
  margin-bottom: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--terracotta);
  font-weight: 850;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.cards-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards-grid.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cards-grid.six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.production-card,
.info-card,
.format-card,
.skill-card,
.stat-card,
.quote-card,
.timeline-card,
.contact-card,
.detail-card {
  border: 1px solid rgba(9, 36, 59, .1);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, .94);
  box-shadow: var(--soft-shadow);
}

.production-card {
  overflow: hidden;
}

.production-card-featured:first-child {
  background: linear-gradient(135deg, #fffdf8, #f7ead6);
}

.card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--cream-2);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-label {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 0 0 var(--radius) 0;
  background: var(--nav);
  color: #fffaf1;
  font-size: .78rem;
  font-weight: 900;
}

.play-badge,
.audio-badge {
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  background: rgba(201, 64, 18, .92);
  color: #fffaf1;
}

.play-badge {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 66px;
  height: 66px;
  background: rgba(9, 36, 59, .88);
}

.card-body {
  padding: 18px 20px 20px;
}

.card-body h3 {
  margin: 0 0 10px;
  font-size: 1.34rem;
}

.card-body p {
  margin: 10px 0;
}

.meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .94rem;
  font-weight: 650;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 3px 9px;
  border-radius: 7px;
  background: #eaf2fb;
  color: #123a60;
  font-size: .82rem;
  font-weight: 800;
}

.tag-var-matin {
  background: #f6d88d;
  color: #5b3900;
}

.tag-police-justice {
  background: #cfe5fb;
}

.tag-politique {
  background: #dce4ff;
}

.tag-faits-divers,
.tag-stage {
  background: #f5d0c3;
}

.tag-societe,
.tag-vie-locale,
.tag-environnement {
  background: #d9efe3;
  color: #173c2c;
}

.tag-culture,
.tag-sae {
  background: #eee0f1;
  color: #442150;
}

.tag-formation,
.tag-radio,
.tag-tv-video {
  background: #dce5ff;
  color: #162d66;
}

.card-link {
  justify-content: flex-start;
  margin-top: 10px;
  padding: 0;
  min-height: auto;
  color: var(--terracotta);
  font-weight: 900;
}

.mini-player {
  display: grid;
  grid-template-columns: 36px repeat(5, 1fr) auto;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
}

.mini-player span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fffaf1;
}

.mini-player i {
  height: 24px;
  width: 100%;
}

.mini-player i:nth-child(3),
.mini-player i:nth-child(5) {
  height: 34px;
}

.mini-player small {
  color: var(--ink);
  font-weight: 750;
  white-space: nowrap;
}

.rubric-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.rubric-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 66px;
  padding: 12px;
  border: 1px solid rgba(201, 64, 18, .22);
  border-radius: var(--radius);
  background: #f7ead6;
  color: var(--ink);
  font-weight: 850;
}

.rubric-pill:nth-child(1) { background: #e6f0f6; }
.rubric-pill:nth-child(2) { background: #fae5d7; }
.rubric-pill:nth-child(3) { background: #fde9c7; }
.rubric-pill:nth-child(4) { background: #e7efe3; }
.rubric-pill:nth-child(5) { background: #f0e4ed; }
.rubric-pill:nth-child(6) { background: #f9e5cf; }

.format-card,
.skill-card,
.info-card {
  padding: 26px;
}

.format-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}

.format-card h3,
.skill-card h3,
.info-card h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.7rem;
}

.skill-card {
  text-align: center;
}

.skill-card .round-icon {
  margin: 0 auto 16px;
  background: #fff3e6;
  color: var(--ink);
}

.transversal .skill-card:nth-child(1) .round-icon { color: #0a5c74; }
.transversal .skill-card:nth-child(2) .round-icon { color: #914616; }
.transversal .skill-card:nth-child(3) .round-icon { color: #2e6b58; }
.transversal .skill-card:nth-child(4) .round-icon { color: #704d85; }

.skills-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.tech-skill-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
  border: 1px solid rgba(9, 36, 59, .1);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, .96);
  box-shadow: var(--soft-shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.tech-skill-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 64, 18, .38);
  box-shadow: 0 18px 38px rgba(9, 36, 59, .14);
}

.tech-skill-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #f7ead6;
  color: var(--ink);
  transition: background-color .25s ease, color .25s ease;
}

.tech-skill-card:hover .tech-skill-icon {
  background: var(--terracotta);
  color: #fffaf1;
}

.tech-skill-icon .icon {
  width: 28px;
  height: 28px;
}

.tech-skill-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.65rem;
}

.tech-skill-card p {
  margin: 0 0 20px;
  color: #183b52;
}

.tech-skill-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tech-skill-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(230, 173, 77, .36);
  border-radius: 999px;
  background: #f8ead0;
  color: var(--ink);
  font-size: .84rem;
  font-weight: 820;
}

.progress-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  position: relative;
  margin-top: 28px;
}

.progress-line::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 33px;
  height: 2px;
  background: rgba(9, 36, 59, .25);
}

.progress-step {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
  padding: 0 12px;
}

.progress-step .round-icon {
  background: var(--nav);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr 1fr;
  gap: 42px;
  padding: 52px 0 36px;
}

.site-footer {
  margin-top: 54px;
  background: linear-gradient(135deg, var(--nav), var(--nav-deep));
  color: #fffaf1;
}

.site-footer h2 {
  margin: 0 0 15px;
  font-family: var(--sans);
  font-size: 1rem;
}

.site-footer p,
.site-footer a,
.site-footer li {
  color: rgba(255, 250, 241, .86);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer a.is-active {
  color: #ff8653;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.socials span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 250, 241, .14);
  font-weight: 900;
}

.home-circle {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border: 2px solid rgba(255, 250, 241, .82);
  border-radius: 50%;
  margin: 12px 0;
}

.copyright {
  width: min(1680px, calc(100% - 80px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255, 250, 241, .18);
  text-align: center;
  font-size: .92rem;
}

.page-visual {
  position: relative;
  min-height: 350px;
}

.page-visual img {
  width: 100%;
  height: clamp(280px, 38vw, 470px);
  object-fit: cover;
  border-radius: 42% 8px 42% 8px;
  box-shadow: var(--shadow);
}

.page-hero .page-visual {
  min-height: 260px;
}

.page-hero .page-visual img {
  height: clamp(220px, 28vw, 360px);
}

.quote-card {
  position: absolute;
  right: 0;
  bottom: 18px;
  width: min(310px, 88%);
  padding: 28px;
  background: linear-gradient(135deg, var(--nav), var(--nav-deep));
  color: #fffaf1;
}

.page-hero .quote-card {
  width: min(280px, 86%);
  padding: 20px;
  bottom: 8px;
}

.page-hero .quote-card p {
  margin: 8px 0;
}

.page-hero .quote-card .icon {
  width: 32px;
  height: 32px;
}

.quote-card .icon {
  color: var(--terracotta-2);
  width: 42px;
  height: 42px;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 20px;
  border: 1px solid rgba(9, 36, 59, .08);
  border-radius: var(--radius);
  background: rgba(246, 238, 225, .95);
  box-shadow: var(--soft-shadow);
}

.stats-strip.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 0;
  border-right: 1px solid rgba(9, 36, 59, .1);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.stat-card:last-child {
  border-right: 0;
}

.stat-card .icon {
  width: 32px;
  height: 32px;
  color: var(--terracotta);
}

.stat-card small {
  display: block;
  color: var(--ink);
  font-weight: 650;
}

.stat-card strong {
  display: block;
  color: var(--terracotta);
  font-size: 1rem;
}

.page-hero + .section {
  padding-top: clamp(28px, 3.5vw, 44px);
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  margin-bottom: 28px;
  overflow-x: auto;
  border: 1px solid rgba(9, 36, 59, .1);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, .95);
  box-shadow: var(--soft-shadow);
}

.filter-bar strong {
  white-space: nowrap;
}

.filter-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: max-content;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid rgba(9, 36, 59, .45);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.filter-button.is-active {
  border-color: var(--terracotta);
  background: var(--terracotta);
  color: #fffaf1;
}

.orientation-band,
.cta-band,
.availability-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 32px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f6ead8, #fffaf1);
  box-shadow: var(--soft-shadow);
}

.orientation-band p,
.cta-band p {
  margin: 0;
}

.varmatin-logo {
  display: inline-block;
  color: #2c6db7;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(3.25rem, 7vw, 5.6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
}

.varmatin-sub {
  display: block;
  color: #2c6db7;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 850;
  text-align: center;
}

.about-grid,
.contact-grid,
.detail-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.about-photo img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.about-page {
  padding-top: clamp(34px, 5vw, 70px);
}

.about-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.about-main-card,
.documents-card {
  border: 1px solid rgba(9, 36, 59, .1);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, .94);
  box-shadow: var(--soft-shadow);
}

.about-main-card {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 3.5vw, 48px);
  padding: clamp(24px, 3.5vw, 42px);
}

.about-main-card h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.1rem, 5.4vw, 5.4rem);
}

.about-main-card .lead {
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
}

.about-contact-mini {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr);
  gap: 28px;
  align-items: center;
  margin-top: 4px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.about-contact-mini h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3rem);
}

.documents-card {
  position: sticky;
  top: 104px;
  padding: clamp(22px, 3vw, 32px);
}

.documents-card .section-heading {
  margin-bottom: 20px;
}

.document-stack {
  display: grid;
  gap: 18px;
}

.document-stack .info-card {
  box-shadow: none;
}

.contact-doc-button {
  width: 100%;
  margin-top: 24px;
  text-align: center;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .9fr);
  gap: 22px;
}

.contact-card {
  padding: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field-full {
  grid-column: 1 / -1;
}

.form-field label,
.checkbox-field {
  display: block;
  font-weight: 780;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  border: 1px solid #cbd3d7;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #35485a;
  font-weight: 600;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--terracotta);
}

.checkbox-field a {
  color: var(--terracotta);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.status-message {
  display: none;
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-weight: 750;
}

.status-message.is-visible {
  display: block;
}

.status-message.success {
  background: #e4f4e8;
  color: #17452a;
}

.status-message.error {
  background: #ffe9e3;
  color: #7d2107;
}

.contact-list {
  display: grid;
  gap: 24px;
}

.contact-line {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: center;
}

.contact-line .round-icon {
  background: #f4eee5;
  color: var(--terracotta);
}

.contact-line small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.contact-line strong {
  display: block;
  color: var(--ink);
}

.availability-band {
  margin-top: 26px;
}

.availability-items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  flex: 1;
}

.availability-items span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr);
  gap: 32px;
  align-items: center;
}

.faq-item {
  margin-bottom: 10px;
  border: 1px solid rgba(9, 36, 59, .1);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
}

.faq-item button {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.faq-item div {
  display: none;
  padding: 0 18px 16px;
}

.faq-item.is-open div {
  display: block;
}

.faq-illustration {
  min-height: 230px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 72% 18%, var(--ochre) 0 52px, transparent 54px),
    radial-gradient(circle at 20% 76%, var(--terracotta-2) 0 34px, transparent 36px),
    repeating-radial-gradient(circle at 75% 70%, var(--ink) 0 2px, transparent 3px 18px),
    #f7ead8;
}

.timeline-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 34px;
  align-items: start;
}

.timeline {
  position: relative;
  display: grid;
  gap: 22px;
  padding-left: 112px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 62px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: var(--terracotta);
}

.timeline-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 22px;
}

.timeline-year {
  position: absolute;
  left: -112px;
  top: 18px;
  display: grid;
  width: 80px;
  min-height: 76px;
  place-items: center;
  border-radius: var(--radius);
  background: #f2e8d8;
  color: var(--ink);
  text-align: center;
  font-weight: 800;
}

.timeline-card::before {
  content: "";
  position: absolute;
  left: -57px;
  top: 44px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--terracotta);
  border-radius: 50%;
  background: var(--cream);
}

.progress-card .progress-meter {
  height: 8px;
  margin: 12px 0;
  border-radius: 999px;
  background: #d8d0c6;
  overflow: hidden;
}

.progress-card .progress-meter span {
  display: block;
  width: 48%;
  height: 100%;
  border-radius: inherit;
  background: var(--terracotta);
}

.detail-hero {
  padding-bottom: 26px;
}

.detail-grid {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
}

.detail-card {
  padding: 28px;
}

.media-viewer {
  display: grid;
  min-height: 430px;
  place-items: center;
  overflow: hidden;
  border: 1px dashed #b8c1c7;
  border-radius: var(--radius);
  background: #fffaf1;
}

.media-viewer iframe,
.media-viewer video {
  width: 100%;
  min-height: 520px;
  border: 0;
}

.media-viewer-pdf,
.media-viewer-pdf iframe {
  min-height: 680px;
}

.pdf-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
}

.pdf-actions .meta {
  margin: 0;
}

.media-viewer audio {
  width: min(680px, 90%);
}

.placeholder-panel {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 40px;
  text-align: center;
  color: var(--muted);
}

.placeholder-panel .icon {
  width: 64px;
  height: 64px;
  color: var(--terracotta);
}

.not-found {
  min-height: 52vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.privacy-section {
  padding-top: 0;
}

.privacy-card {
  max-width: 980px;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid rgba(9, 36, 59, .1);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, .96);
  box-shadow: var(--soft-shadow);
}

.privacy-card h2 {
  margin: 34px 0 10px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.privacy-card p {
  margin: 0 0 14px;
}

.privacy-card ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

@media (max-width: 1120px) {
  .container,
  .wide-container {
    width: calc(100% - 48px);
  }

  .copyright {
    width: calc(100% - 48px);
  }

  .site-header {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
    padding: 0 24px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 24px;
    background: var(--nav);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 0;
  }

  .main-nav a::after {
    bottom: 4px;
  }

  .header-contact {
    display: none;
  }

  .hero-grid,
  .about-grid,
  .about-dashboard,
  .about-main-card,
  .about-contact-mini,
  .contact-panel,
  .timeline-layout,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .documents-card {
    position: static;
  }

  .cards-grid,
  .cards-grid.four,
  .cards-grid.five,
  .cards-grid.six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .skills-tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rubric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stats-strip,
  .stats-strip.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container,
  .wide-container {
    width: calc(100% - 32px);
  }

  .copyright {
    width: calc(100% - 32px);
  }

  .site-header {
    min-height: 74px;
    padding: 0 16px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand small {
    font-size: .82rem;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .main-nav {
    top: 74px;
  }

  h1,
  .display-title,
  .page-hero h1 {
    font-size: clamp(2.8rem, 16vw, 4.4rem);
  }

  .about-main-card {
    padding: 20px;
  }

  .about-main-card h1 {
    font-size: clamp(2.7rem, 14vw, 3.7rem);
  }

  .documents-card {
    padding: 20px;
  }

  .hero {
    padding: 42px 0;
  }

  .formation-badge {
    align-items: flex-start;
    border-radius: var(--radius);
    font-size: .9rem;
  }

  .page-hero {
    padding: 30px 0 24px;
  }

  .page-hero h1 {
    font-size: clamp(2.35rem, 11vw, 2.9rem);
  }

  .page-hero .hero-grid {
    gap: 22px;
  }

  .page-hero .page-visual {
    min-height: auto;
  }

  .page-hero .page-visual img {
    height: auto;
    max-height: 300px;
    border-radius: var(--radius-lg);
  }

  .page-hero .quote-card {
    margin-top: 14px;
    padding: 18px;
  }

  .stat-card {
    padding: 14px 16px;
  }

  .media-viewer-pdf,
  .media-viewer-pdf iframe {
    min-height: 560px;
  }

  .pdf-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .scroll-indicator {
    margin-top: 28px;
  }

  .editorial-collage {
    min-height: 540px;
  }

  .hero-portrait {
    min-height: auto;
  }

  .hero-portrait img {
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: cover;
    border-radius: var(--radius-lg);
  }

  .mock-article {
    left: 8px;
    right: auto;
    width: calc(100% - 38px);
  }

  .mock-audio {
    left: 0;
    top: 250px;
    width: calc(100% - 45px);
  }

  .mock-video {
    right: 0;
    bottom: 0;
    width: calc(100% - 30px);
  }

  .cards-grid,
  .cards-grid.two,
  .cards-grid.four,
  .cards-grid.five,
  .cards-grid.six,
  .rubric-grid,
  .skills-tech-grid,
  .form-grid,
  .availability-items,
  .faq-grid,
  .progress-line {
    grid-template-columns: 1fr;
  }

  .progress-line::before {
    display: none;
  }

  .section-head-row,
  .orientation-band,
  .cta-band,
  .availability-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .stats-strip,
  .stats-strip.four {
    grid-template-columns: 1fr;
  }

  .stat-card {
    border-right: 0;
    border-bottom: 1px solid rgba(9, 36, 59, .1);
  }

  .stat-card:last-child {
    border-bottom: 0;
  }

  .filter-bar {
    width: calc(100% - 32px);
  }

  .quote-card {
    position: static;
    width: auto;
    margin-top: 18px;
  }

  .timeline {
    padding-left: 0;
  }

  .timeline::before,
  .timeline-card::before {
    display: none;
  }

  .timeline-year {
    position: static;
    width: auto;
    min-height: auto;
    padding: 10px;
    margin-bottom: 12px;
  }

  .timeline-card {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
