/*
 * Animated Editorial showcase system.
 * The composition is original and uses the reference as a visual direction;
 * all color, typography, border, and motion values come from the active theme.
 */

.animated-showcase-page { background: var(--bg); color: var(--text-primary); }
.animated-showcase-page #sectionsContainer,
.animated-showcase-page > footer { isolation: isolate; }

/* Shared editorial language */
.animated-editorial-kicker,
.animated-editorial-hero-number,
.animated-editorial-meta,
.animated-editorial-project-number,
.animated-editorial-index,
.animated-editorial-tools-label,
.animated-editorial-client-label,
.animated-editorial-blog-date,
.animated-editorial-footer-label {
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: .68rem;
  letter-spacing: .08em;
  line-height: 1.3;
  text-transform: uppercase;
}

/* Header */
.site-header.animated-editorial-header {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: clamp(24px, 3.5vw, 58px) 8vw 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--border), transparent 28%);
  background: var(--bg);
}
.site-header.animated-editorial-header .brand { display: grid; gap: 6px; }
.site-header.animated-editorial-header .brand-name {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.7vw, 1.65rem);
  font-weight: 400;
  letter-spacing: -.06em;
}
.site-header.animated-editorial-header .brand-role,
.site-header.animated-editorial-header .nav-right a {
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.site-header.animated-editorial-header .nav-right { gap: clamp(16px, 3vw, 46px); }
.site-header.animated-editorial-header .nav-right a { transition: color .22s var(--ease), transform .22s var(--ease); }
.site-header.animated-editorial-header .nav-right a:hover { color: var(--accent); transform: translateY(-2px); }

/* Hero: the old negative top offset caused the headings to be clipped. */
.animated-editorial-hero-mount { width: 100%; overflow: visible; }
.animated-editorial-hero {
  display: grid;
  grid-template-columns: minmax(100px, 12vw) minmax(0, 1fr) minmax(120px, 13vw);
  align-items: start;
  gap: clamp(22px, 4vw, 76px);
  width: 100%;
  min-height: min(820px, 78vh);
  margin-top: clamp(54px, 8vw, 130px);
  padding: 0 8vw clamp(72px, 10vw, 150px);
  overflow: visible;
  background: var(--bg);
  color: var(--text-primary);
}
.animated-editorial-hero-sustain { width: 100%; padding-top: clamp(12px, 5vw, 70px); }
.animated-editorial-hero-sustain h2 {
  margin: 12px 0 16px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(.9rem, 1.3vw, 1.3rem);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: 1;
  text-transform: uppercase;
}
.animated-editorial-hero-sustain p {
  margin: 0 0 22px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: .72rem;
  line-height: 1.55;
}
.animated-editorial-small-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--accent), transparent 94%);
}
.animated-editorial-small-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.animated-editorial-hero-main {
  position: relative;
  width: 100%;
  min-height: 0;
  padding-top: clamp(28px, 6vw, 90px);
}
.animated-editorial-hero-headings {
  position: relative;
  z-index: 2;
  top: auto;
  left: auto;
  width: min(980px, 92vw);
  margin: 0 0 clamp(24px, 4vw, 56px) clamp(-5vw, -5vw, -20px);
}
.animated-editorial-hero-headings h1 {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8.4vw, 9.6rem);
  font-weight: 400;
  letter-spacing: -.085em;
  line-height: .84;
  overflow: visible;
  text-wrap: balance;
}
.animated-editorial-hero-headings h1:nth-child(2) { margin-left: clamp(16px, 4vw, 76px); color: var(--accent); }
.animated-editorial-hero-headings h1:nth-child(3) { margin-left: clamp(4px, 1.5vw, 28px); }
.animated-editorial-hero-image-text { width: min(38vw, 520px); margin-left: clamp(30px, 9vw, 165px); }
.animated-editorial-hero-image-text img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 58vh;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: center;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--accent), transparent 94%);
}
.animated-editorial-hero-image-text p {
  width: min(360px, 75%);
  margin: 20px 0 0 auto;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: clamp(.75rem, 1vw, 1rem);
  line-height: 1.55;
}
.animated-editorial-hero-visit {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: clamp(18px, 8vw, 120px);
  color: var(--text-secondary);
}
.animated-editorial-circle {
  display: grid;
  width: clamp(38px, 3vw, 56px);
  height: clamp(38px, 3vw, 56px);
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: background .22s var(--ease), color .22s var(--ease), transform .22s var(--ease);
}
.animated-editorial-hero-visit:hover .animated-editorial-circle { background: var(--accent); color: var(--bg); transform: translateY(4px); }
.animated-editorial-hero-visit h3 { color: var(--text-secondary); font-family: var(--font-body); font-size: .75rem; font-weight: 400; }

/* Split Banner */
.animated-editorial-banner-mount { width: 100%; }
.animated-editorial-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(280px, .88fr);
  align-items: stretch;
  width: 100%;
  margin-top: clamp(52px, 9vw, 145px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-primary);
}
.animated-editorial-banner-image { min-height: min(620px, 62vh); overflow: hidden; background: color-mix(in srgb, var(--accent), transparent 94%); }
.animated-editorial-banner-image img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.animated-editorial-banner-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 5vw, 90px); }
.animated-editorial-banner-copy h2 { max-width: 8ch; margin: 20px 0; color: var(--text-primary); font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 6.5rem); font-weight: 400; letter-spacing: -.09em; line-height: .86; }
.animated-editorial-banner-copy p:not(.animated-editorial-kicker) { max-width: 29ch; margin: 0 0 26px; color: var(--text-secondary); font-family: var(--font-body); font-size: .82rem; line-height: 1.6; }
.animated-editorial-banner-copy .pill { align-self: flex-start; }

/* Projects and every project-like dynamic section */
.animated-editorial-projects {
  width: 100%;
  margin-top: clamp(72px, 11vw, 190px);
  padding: 0 8vw clamp(72px, 10vw, 150px);
  background: var(--bg);
  color: var(--text-primary);
}
.animated-editorial-projects-head { display: grid; grid-template-columns: minmax(120px, .42fr) minmax(0, 1.2fr) minmax(180px, .5fr); align-items: end; gap: 30px; margin-bottom: clamp(35px, 5vw, 75px); }
.animated-editorial-projects-head h2 { margin: 0; color: var(--text-primary); font-family: var(--font-display); font-size: clamp(3.5rem, 7.6vw, 9rem); font-weight: 400; letter-spacing: -.1em; line-height: .78; }
.animated-editorial-projects-note { max-width: 220px; margin: 0 0 3px auto; color: var(--text-secondary); font-family: var(--font-body); font-size: .78rem; line-height: 1.6; }
.animated-editorial-project-list { border-top: 1px solid var(--border); }
.animated-editorial-project-card { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(190px, 30%); gap: clamp(18px, 3vw, 44px); align-items: center; min-height: 260px; padding: 28px 0; border-bottom: 1px solid var(--border); transition: padding .35s var(--ease), background .35s var(--ease); }
.animated-editorial-project-card:hover { padding-right: 18px; padding-left: 18px; background: color-mix(in srgb, var(--accent), transparent 94%); }
.animated-editorial-project-number { align-self: start; padding-top: 6px; }
.animated-editorial-project-copy h3 { margin: 0 0 14px; color: var(--text-primary); font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 4.2rem); font-weight: 400; letter-spacing: -.09em; line-height: .88; }
.animated-editorial-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.animated-editorial-card-link { display: inline-flex; gap: 10px; margin-top: 25px; color: var(--accent); font-family: var(--font-body); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.animated-editorial-card-link span { transition: transform .25s var(--ease); }
.animated-editorial-card-link:hover span { transform: translate(4px, -4px); }
.animated-editorial-project-image { width: 100%; aspect-ratio: 1.55; overflow: hidden; border: 1px solid var(--border); background: color-mix(in srgb, var(--accent), transparent 94%); }
.animated-editorial-project-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .65s var(--ease), filter .4s var(--ease); }
.animated-editorial-project-card:hover .animated-editorial-project-image img { transform: scale(1.06); filter: saturate(1.15); }
.showcase > .animated-editorial-projects,
.gallery-section > .animated-editorial-projects { grid-column: 1 / -1; width: 100%; }

/* About / Motive */
.animated-editorial-motive { display: grid; grid-template-columns: minmax(120px, .35fr) minmax(0, 2.1fr); gap: 6vw; width: 100%; margin-top: clamp(70px, 12vw, 210px); padding: 0 8vw clamp(75px, 10vw, 150px); background: var(--bg); }
.animated-editorial-motive-label { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; color: var(--text-secondary); font-family: var(--font-body); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.animated-editorial-motive-copy { max-width: 1060px; }
.animated-editorial-motive-copy .animated-editorial-kicker { margin-bottom: 22px; }
.animated-editorial-motive-copy h2 { max-width: 18ch; margin: 0; color: var(--text-primary); font-family: var(--font-display); font-size: clamp(2.5rem, 5.4vw, 6.6rem); font-weight: 400; letter-spacing: -.1em; line-height: .86; }
.animated-editorial-motive-copy p:not(.animated-editorial-kicker) { max-width: 650px; margin: 35px 0 0 auto; color: var(--text-secondary); font-family: var(--font-body); font-size: clamp(.82rem, 1.1vw, 1.05rem); line-height: 1.65; }
.animated-editorial-motive-copy .info-inline-link { color: var(--accent); }

/* Services */
.animated-editorial-services { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.55fr); gap: 8vw; width: 100%; margin-top: clamp(72px, 11vw, 190px); padding: 0 8vw clamp(75px, 10vw, 150px); background: var(--bg); }
.animated-editorial-services-intro h2 { max-width: 9ch; margin: 24px 0 0; color: var(--text-primary); font-family: var(--font-display); font-size: clamp(3rem, 6.4vw, 8rem); font-weight: 400; letter-spacing: -.1em; line-height: .8; }
.animated-editorial-service-list { border-top: 1px solid var(--border); }
.animated-editorial-service { display: grid; grid-template-columns: 48px minmax(150px, .85fr) minmax(0, 1.2fr); gap: 22px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--border); transition: padding .3s var(--ease), background .3s var(--ease); }
.animated-editorial-service:hover { padding-right: 16px; padding-left: 16px; background: color-mix(in srgb, var(--accent), transparent 95%); }
.animated-editorial-service > span { color: var(--accent); font-family: var(--font-body); font-size: .75rem; }
.animated-editorial-service h3 { margin: 0; color: var(--text-primary); font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 2.3rem); font-weight: 400; letter-spacing: -.07em; line-height: .95; }
.animated-editorial-service p { margin: 0; color: var(--text-secondary); font-family: var(--font-body); font-size: .82rem; line-height: 1.6; }

/* Tools */
section.animated-editorial-tools { width: 100%; margin-top: clamp(70px, 10vw, 170px); padding: 0 8vw clamp(65px, 8vw, 120px); }
.animated-editorial-tools .tools-label { display: flex; align-items: center; gap: 20px; margin: 0 0 28px; color: var(--text-secondary); font-family: var(--font-body); font-size: .68rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; }
.animated-editorial-tools .tools-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.animated-editorial-tools .tools-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.animated-editorial-tools .tool-item { display: flex; min-height: 130px; align-items: end; padding: 18px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); color: var(--text-primary); font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 2.2rem); letter-spacing: -.08em; transition: color .25s var(--ease), background .25s var(--ease); }
.animated-editorial-tools .tool-item:hover { background: var(--accent); color: var(--bg); }

/* Clients */
div.animated-editorial-clients { width: 100%; margin-top: clamp(60px, 9vw, 145px); padding: 0 0 clamp(70px, 10vw, 150px); }
.animated-editorial-clients .logos-intro { width: auto; padding: 0 8vw 28px; }
.animated-editorial-clients .tools-label { display: flex; align-items: center; gap: 20px; margin: 0; color: var(--text-secondary); font-family: var(--font-body); font-size: .68rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; }
.animated-editorial-clients .tools-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.animated-editorial-clients .logos-marquee { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.animated-editorial-clients .logos-track { min-height: 150px; align-items: center; }
.animated-editorial-clients .logo-link, .animated-editorial-clients .logo-item { filter: grayscale(1); opacity: .68; transition: filter .25s var(--ease), opacity .25s var(--ease); }
.animated-editorial-clients .logo-link:hover, .animated-editorial-clients .logo-item:hover { filter: grayscale(0); opacity: 1; }

/* Blogs */
div.animated-editorial-blogs { width: 100%; margin-top: clamp(70px, 11vw, 180px); padding-bottom: clamp(70px, 10vw, 150px); }
.animated-editorial-blogs .section-intro { width: auto; padding: 0 8vw clamp(34px, 5vw, 72px); }
.animated-editorial-blogs .details-title { margin: 0; color: var(--text-primary); font-family: var(--font-display); font-size: clamp(3.5rem, 7.5vw, 9rem); font-weight: 400; letter-spacing: -.1em; line-height: .78; }
.animated-editorial-blogs .gallery-section { padding: 0 8vw; }
.animated-editorial-blogs .blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.animated-editorial-blogs .blog-card { display: grid; grid-template-rows: auto auto 1fr; min-height: 340px; padding: 18px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); transition: background .25s var(--ease), color .25s var(--ease); }
.animated-editorial-blogs .blog-card:hover { background: color-mix(in srgb, var(--accent), transparent 92%); }
.animated-editorial-blogs .blog-card-thumb { aspect-ratio: 1.45; margin-bottom: 24px; overflow: hidden; border: 1px solid var(--border); background: color-mix(in srgb, var(--accent), transparent 94%); }
.animated-editorial-blogs .blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.animated-editorial-blogs .blog-card:hover img { transform: scale(1.05); }
.animated-editorial-blogs .blog-card-date { margin: 0 0 16px; color: var(--text-secondary); font-family: var(--font-body); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.animated-editorial-blogs .blog-card-title { align-self: end; margin: 0; color: var(--text-primary); font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 2.4rem); letter-spacing: -.08em; line-height: .92; }

/* Contact and footer */
footer.animated-editorial-footer { width: 100%; min-height: auto; margin-top: clamp(60px, 9vw, 145px); padding: 0 8vw; background: var(--bg); }
footer.animated-editorial-footer .site-footer { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(300px, .95fr); gap: clamp(40px, 9vw, 150px); width: 100%; min-height: auto; padding: clamp(60px, 9vw, 140px) 0 34px; border-top: 1px solid var(--border); }
footer.animated-editorial-footer .footer-intro { grid-column: 1 / -1; }
footer.animated-editorial-footer .footer-heading { max-width: 9ch; margin: 0; color: var(--text-primary); font-family: var(--font-display); font-size: clamp(4rem, 9.5vw, 12rem); font-weight: 400; letter-spacing: -.12em; line-height: .78; }
footer.animated-editorial-footer #footerSub { max-width: 320px; margin-top: 30px; color: var(--text-secondary) !important; font-family: var(--font-body); font-size: .82rem !important; line-height: 1.6; }
form.animated-editorial-contact { width: 100%; max-width: none; padding: 0; border-top: 0; }
form.animated-editorial-contact .contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
form.animated-editorial-contact .field-label { color: var(--text-secondary); font-family: var(--font-body); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
form.animated-editorial-contact .field-input { width: 100%; color: var(--text-primary); border-color: var(--border); background: transparent; font-family: var(--font-body); }
form.animated-editorial-contact .field-input:focus { border-color: var(--accent); outline: none; }
form.animated-editorial-contact .form-submit { margin-top: 24px; color: var(--accent); font-family: var(--font-body); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
footer.animated-editorial-footer .footer-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 22px 34px; padding-top: 20px; border-top: 1px solid var(--border); }
footer.animated-editorial-footer .footer-links a { color: var(--text-secondary); font-family: var(--font-body); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
footer.animated-editorial-footer .footer-links a:hover { color: var(--accent); }
footer.animated-editorial-footer #footerCopyright { grid-column: 1 / -1; margin: 0 !important; padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--border), transparent 35%); color: var(--text-faint) !important; font-family: var(--font-body); }

/* Showcase-only custom-code sample */
.ael-showcase-note { display: flex; min-height: 220px; flex-direction: column; justify-content: space-between; padding: 30px; background: var(--bg); color: var(--text-primary); font-family: var(--font-body); }
.ael-showcase-note span { color: var(--accent); font-size: .68rem; letter-spacing: .1em; }
.ael-showcase-note strong { max-width: 14ch; font-family: var(--font-display); font-size: clamp(2rem, 5vw, 5rem); font-weight: 400; letter-spacing: -.1em; line-height: .86; }

/* Motion */
.ael-reveal { opacity: 0; transform: translateY(32px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.ael-reveal.ael-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .animated-editorial-hero { grid-template-columns: 90px minmax(0, 1fr); gap: 24px; }
  .animated-editorial-hero-visit { grid-column: 1 / -1; padding-top: 0; }
  .animated-editorial-hero-headings h1 { font-size: clamp(3rem, 10vw, 6.5rem); }
  .animated-editorial-projects-head { grid-template-columns: 1fr 1fr; }
  .animated-editorial-projects-head h2 { grid-column: 1 / -1; }
  .animated-editorial-services { grid-template-columns: 1fr; gap: 45px; }
  .animated-editorial-tools .tools-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .site-header.animated-editorial-header { padding: 24px 6vw 18px; }
  .site-header.animated-editorial-header .nav-right { gap: 12px; }
  .site-header.animated-editorial-header .nav-right a { font-size: .56rem; }
  .animated-editorial-hero { display: flex; flex-wrap: wrap; gap: 20px; min-height: 0; margin-top: 48px; padding: 0 6vw 80px; }
  .animated-editorial-hero-sustain { width: 24%; padding-top: 12px; }
  .animated-editorial-hero-main { width: calc(76% - 20px); padding-top: 28px; }
  .animated-editorial-hero-headings { width: 150%; margin-left: -18vw; margin-bottom: 28px; }
  .animated-editorial-hero-headings h1 { font-size: clamp(2.8rem, 13vw, 5.5rem); line-height: .84; white-space: normal; }
  .animated-editorial-hero-headings h1:nth-child(2) { margin-left: 10vw; }
  .animated-editorial-hero-image-text { width: 100%; margin-left: 0; }
  .animated-editorial-hero-image-text img { max-height: 52vh; }
  .animated-editorial-hero-image-text p { width: 90%; font-size: .75rem; }
  .animated-editorial-hero-visit { width: 100%; margin-top: 18px; }
  .animated-editorial-banner { display: block; margin-top: 58px; }
  .animated-editorial-banner-image { min-height: 48vh; }
  .animated-editorial-banner-copy { padding: 48px 6vw 58px; }
  .animated-editorial-banner-copy h2 { font-size: clamp(3rem, 14vw, 6rem); }
  .animated-editorial-projects { margin-top: 70px; padding: 0 6vw 80px; }
  .animated-editorial-projects-head { display: block; }
  .animated-editorial-projects-head h2 { margin: 24px 0 28px; font-size: clamp(3.8rem, 17vw, 7rem); }
  .animated-editorial-projects-note { margin: 0; }
  .animated-editorial-project-card { grid-template-columns: 34px 1fr; gap: 12px; min-height: 0; padding: 25px 0; }
  .animated-editorial-project-copy h3 { font-size: clamp(1.8rem, 9vw, 3.4rem); }
  .animated-editorial-project-image { grid-column: 2; }
  .animated-editorial-motive, .animated-editorial-services { display: block; margin-top: 70px; padding: 0 6vw 80px; }
  .animated-editorial-motive-copy { margin-top: 34px; }
  .animated-editorial-motive-copy h2 { font-size: clamp(2.8rem, 13vw, 6rem); }
  .animated-editorial-motive-copy p:not(.animated-editorial-kicker) { margin-top: 28px; font-size: .82rem; }
  .animated-editorial-services-intro h2 { margin-top: 25px; font-size: clamp(3.2rem, 15vw, 6.5rem); }
  .animated-editorial-service { grid-template-columns: 34px 1fr; gap: 12px; }
  .animated-editorial-service p { grid-column: 2; }
  section.animated-editorial-tools { margin-top: 70px; padding: 0 6vw 80px; }
  .animated-editorial-tools .tools-list { grid-template-columns: 1fr; }
  .animated-editorial-tools .tool-item { min-height: 92px; }
  div.animated-editorial-clients { margin-top: 60px; padding-bottom: 80px; }
  .animated-editorial-clients .logos-intro, .animated-editorial-blogs .section-intro, .animated-editorial-blogs .gallery-section { padding-right: 6vw; padding-left: 6vw; }
  .animated-editorial-blogs { margin-top: 70px; }
  .animated-editorial-blogs .details-title { font-size: clamp(3.8rem, 17vw, 7rem); }
  .animated-editorial-blogs .blog-grid { grid-template-columns: 1fr; }
  footer.animated-editorial-footer { margin-top: 50px; padding: 0 6vw; }
  footer.animated-editorial-footer .site-footer { display: block; padding: 65px 0 28px; }
  footer.animated-editorial-footer .footer-heading { font-size: clamp(4rem, 18vw, 8rem); }
  form.animated-editorial-contact { margin-top: 54px; }
  form.animated-editorial-contact .contact-row { grid-template-columns: 1fr; }
  footer.animated-editorial-footer .footer-links { margin-top: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  .ael-reveal { opacity: 1; transform: none; transition: none; }
  .animated-editorial-project-card, .animated-editorial-project-image img, .animated-editorial-card-link span, .animated-editorial-tools .tool-item { transition: none; }
}


#section-featured.animated-editorial-featured > .section-intro,
#section-allProjects.animated-editorial-all-projects > main > .section-intro { display: none; }
#section-allProjects.animated-editorial-all-projects > main { width: 100%; max-width: none; padding: 0 8vw; }
#section-allProjects.animated-editorial-all-projects .filter-section { display: flex; justify-content: flex-end; gap: 24px; margin: 34px 0 0; padding: 0 0 20px; border-bottom: 1px solid var(--border); }
#section-allProjects.animated-editorial-all-projects .filter-group { display: flex; align-items: center; gap: 10px; }
#section-allProjects.animated-editorial-all-projects .filter-label { color: var(--text-secondary); font-family: var(--font-body); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
#section-allProjects.animated-editorial-all-projects .filter-tabs-row { display: flex; flex-wrap: wrap; gap: 8px; }
#section-allProjects.animated-editorial-all-projects .disc-btn,
#section-allProjects.animated-editorial-all-projects .niche-btn { padding: 0; border: 0; background: none; color: var(--text-secondary); font-family: var(--font-body); font-size: .62rem; letter-spacing: .05em; text-transform: uppercase; }
#section-allProjects.animated-editorial-all-projects .disc-btn.active,
#section-allProjects.animated-editorial-all-projects .niche-btn.active,
#section-allProjects.animated-editorial-all-projects .disc-btn:hover,
#section-allProjects.animated-editorial-all-projects .niche-btn:hover { color: var(--accent); }
@media (max-width: 600px) {
  #section-allProjects.animated-editorial-all-projects > main { padding: 0 6vw; }
  #section-allProjects.animated-editorial-all-projects .filter-section { display: block; }
  #section-allProjects.animated-editorial-all-projects .filter-group { display: block; margin-top: 14px; }
}


/* Category folders: real thumbnail-led cards instead of empty dark panels. */
.animated-editorial-categories { width: 100%; margin-top: clamp(75px, 11vw, 185px); padding: 0 8vw clamp(75px, 10vw, 150px); background: var(--bg); }
.animated-editorial-categories-head { display: grid; grid-template-columns: minmax(120px, .4fr) minmax(0, 1.35fr) minmax(180px, .5fr); align-items: end; gap: 30px; margin-bottom: 45px; }
.animated-editorial-categories-index, .animated-editorial-services-index, .animated-editorial-footer-index { color: var(--accent); font-family: var(--font-body); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.animated-editorial-categories-head h2 { margin: 0; color: var(--text-primary); font-family: var(--font-display); font-size: clamp(3.2rem, 7vw, 8.5rem); font-weight: 400; letter-spacing: -.1em; line-height: .8; }
.animated-editorial-categories-head p { max-width: 220px; margin: 0 0 4px auto; color: var(--text-secondary); font-family: var(--font-body); font-size: .78rem; line-height: 1.55; }
.animated-editorial-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.animated-editorial-category-card { display: grid; grid-template-rows: auto 1fr; min-height: 410px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); color: var(--text-primary); background: var(--bg); transition: background .3s var(--ease), color .3s var(--ease); }
.animated-editorial-category-image { aspect-ratio: 1.15; margin: 14px; overflow: hidden; border: 1px solid var(--border); background: color-mix(in srgb, var(--accent), transparent 90%); }
.animated-editorial-category-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .6s var(--ease), filter .35s var(--ease); }
.animated-editorial-category-copy { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: end; padding: 16px 18px 22px; }
.animated-editorial-category-copy > span { align-self: start; color: var(--accent); font-family: var(--font-body); font-size: .7rem; }
.animated-editorial-category-copy h3 { margin: 0; color: var(--text-primary); font-family: var(--font-display); font-size: clamp(1.7rem, 2.8vw, 3.2rem); font-weight: 400; letter-spacing: -.09em; line-height: .88; }
.animated-editorial-category-copy b { grid-column: 2; margin-top: 20px; color: var(--text-secondary); font-family: var(--font-body); font-size: .65rem; font-weight: 400; letter-spacing: .07em; text-transform: uppercase; }
.animated-editorial-category-card:hover { background: var(--accent); color: var(--bg); }
.animated-editorial-category-card:hover .animated-editorial-category-image img { transform: scale(1.06); filter: saturate(1.15); }
.animated-editorial-category-card:hover .animated-editorial-category-copy h3,
.animated-editorial-category-card:hover .animated-editorial-category-copy b,
.animated-editorial-category-card:hover .animated-editorial-category-copy > span { color: var(--bg); }

/* Capabilities: full-width index, thesis, service rows, and explicit CTA. */
.animated-editorial-services { display: block; }
.animated-editorial-services-top { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(190px, .55fr); gap: 8vw; align-items: end; margin-bottom: 55px; }
.animated-editorial-services-top h2 { max-width: 10ch; }
.animated-editorial-services-thesis { max-width: 240px; margin: 0 0 4px auto; color: var(--text-secondary); font-family: var(--font-body); font-size: .82rem; line-height: 1.6; }
.animated-editorial-service { grid-template-columns: 62px minmax(0, 1fr) 40px; gap: 28px; }
.animated-editorial-service > div { display: grid; grid-template-columns: minmax(160px, .7fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.animated-editorial-service p { max-width: 300px; }
.animated-editorial-service-mark { justify-self: end; color: var(--accent); font-family: var(--font-body); font-size: 1.25rem; }
.animated-editorial-services-bottom { display: flex; justify-content: flex-end; padding-top: 30px; }
.animated-editorial-service-cta { display: inline-flex; gap: 18px; align-items: center; color: var(--accent); font-family: var(--font-body); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.animated-editorial-service-cta span { font-size: 1.1rem; transition: transform .25s var(--ease); }
.animated-editorial-service-cta:hover span { transform: translate(4px, -4px); }

/* Footer: a new closing statement and contact module, not the old site-footer grid. */
footer.animated-editorial-footer { width: 100%; min-height: 0; margin-top: clamp(70px, 11vw, 190px); padding: 0 8vw; }
.animated-editorial-footer-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(310px, .9fr); gap: 8vw; padding: clamp(65px, 9vw, 150px) 0 34px; border-top: 1px solid var(--border); }
.animated-editorial-footer-statement { align-self: start; }
.animated-editorial-footer-heading { max-width: 8ch; margin: 34px 0 0; color: var(--text-primary); font-family: var(--font-display); font-size: clamp(4rem, 8vw, 10rem); font-weight: 400; letter-spacing: -.12em; line-height: .78; }
.animated-editorial-footer-sub { max-width: 260px; margin: 32px 0 0; color: var(--text-secondary); font-family: var(--font-body); font-size: .82rem; line-height: 1.6; }
.animated-editorial-contact { display: block; margin: 0; padding: 0; border: 0; }
.animated-editorial-contact-head { padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.animated-editorial-contact-head > span, .animated-editorial-footer-links > span { color: var(--accent); font-family: var(--font-body); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.animated-editorial-contact-head h2 { max-width: 12ch; margin: 22px 0 0; color: var(--text-primary); font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 4.8rem); font-weight: 400; letter-spacing: -.1em; line-height: .86; }
.animated-editorial-contact .contact-row { margin-top: 28px; }
.animated-editorial-footer-links { grid-column: 1 / -1; padding-top: 26px; border-top: 1px solid var(--border); }
.animated-editorial-footer-links .footer-links { display: flex; flex-wrap: wrap; gap: 18px 30px; margin-top: 22px; }
.animated-editorial-footer-links .footer-links a { color: var(--text-secondary); font-family: var(--font-body); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.animated-editorial-footer-links .footer-links a:hover { color: var(--accent); }
.animated-editorial-footer-links #footerCopyright { margin-top: 35px; color: var(--text-faint); font-family: var(--font-body); font-size: .7rem; }

@media (max-width: 900px) {
  .animated-editorial-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .animated-editorial-service > div { grid-template-columns: 1fr; gap: 12px; }
  .animated-editorial-footer-inner { gap: 50px; }
}
@media (max-width: 600px) {
  .animated-editorial-categories { padding-right: 6vw; padding-left: 6vw; }
  .animated-editorial-categories-head { display: block; }
  .animated-editorial-categories-head h2 { margin: 24px 0 25px; font-size: clamp(3.5rem, 16vw, 7rem); }
  .animated-editorial-categories-head p { margin: 0; }
  .animated-editorial-category-grid { grid-template-columns: 1fr; }
  .animated-editorial-category-card { min-height: 360px; }
  .animated-editorial-services-top { display: block; }
  .animated-editorial-services-thesis { margin: 28px 0 0; }
  .animated-editorial-service { grid-template-columns: 40px 1fr 25px; gap: 12px; }
  .animated-editorial-service > div { display: block; }
  .animated-editorial-service p { margin-top: 14px; }
  footer.animated-editorial-footer { padding-right: 6vw; padding-left: 6vw; }
  .animated-editorial-footer-inner { display: block; }
  .animated-editorial-footer-heading { font-size: clamp(4rem, 18vw, 8rem); }
  .animated-editorial-contact { margin-top: 60px; }
  .animated-editorial-footer-links { margin-top: 62px; }
}
