/* ==========================================================================
   AMR Child Theme — Single Project Page & Project Archive
   File:    assets/css/project.css
   Scoped:  body.amr-dark-theme
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. CSS CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */
:root {
  --amr-font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --amr-bg: #0f142a;
  --amr-bg-header: #13182e;
  --amr-bg-card: #141a30;
  --amr-bg-card-2: #181e34;
  --amr-bg-icon: #1b2138;
  --amr-line: rgba(255, 255, 255, 0.09);
  --amr-line-soft: rgba(255, 255, 255, 0.06);
  --amr-white: #ffffff;
  --amr-text: #e6e3de;
  --amr-muted: #a7a3a8;
  --amr-dim: #6f6f7c;
  --amr-sand: #d3c49d;
  --amr-sand-hover: #e2d6b4;
  --amr-ink: #0f142a;
  --amr-container: 1240px;
  --amr-gutter: 32px;
  --amr-radius: 12px;
  --amr-radius-lg: 18px;
}

/* --------------------------------------------------------------------------
   1. ASTRA / WRAPPER RESETS — full-width fix
   -------------------------------------------------------------------------- */
body.amr-dark-theme .amr-single-project-page #primary,
body.amr-dark-theme .amr-single-project-page .ast-container,
body.amr-dark-theme .amr-single-project-page .site-content > .ast-container,
body.amr-dark-theme .amr-single-project-page #content > .ast-container,
body.amr-dark-theme .amr-single-service-page #primary,
body.amr-dark-theme .amr-single-service-page .ast-container,
body.amr-dark-theme .amr-single-service-page .site-content > .ast-container,
body.amr-dark-theme .amr-single-service-page #content > .ast-container {
  max-width: 100%;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
}

body.amr-dark-theme .amr-single-project-page .entry-content,
body.amr-dark-theme .amr-single-project-page .ast-article-single,
body.amr-dark-theme .amr-single-project-page article {
  max-width: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
}

body.amr-dark-theme .amr-single-project-page .entry-header,
body.amr-dark-theme .amr-single-project-page .post-navigation,
body.amr-dark-theme .amr-single-project-page .entry-footer {
  display: none;
}

body.amr-dark-theme .amr-single-project-page {
  background: var(--amr-bg);
}

/* --------------------------------------------------------------------------
   2. SHARED UTILITIES
   -------------------------------------------------------------------------- */

/* Container */
body.amr-dark-theme .amr-container {
  max-width: var(--amr-container);
  margin-inline: auto;
  padding-inline: var(--amr-gutter);
  width: 100%;
  box-sizing: border-box;
}

/* Eyebrow label */
body.amr-dark-theme .amr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--amr-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--amr-sand);
  margin-bottom: 18px;
}

body.amr-dark-theme .amr-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--amr-sand);
  border-radius: 1px;
  flex-shrink: 0;
}

/* Buttons */
body.amr-dark-theme .amr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--amr-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  padding: 13px 30px;
  border-radius: var(--amr-radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

body.amr-dark-theme .amr-btn:focus-visible {
  outline: 2px solid var(--amr-sand);
  outline-offset: 3px;
}

body.amr-dark-theme .amr-btn--accent {
  background: var(--amr-sand);
  color: var(--amr-ink);
}

body.amr-dark-theme .amr-btn--accent:hover,
body.amr-dark-theme .amr-btn--accent:focus {
  background: var(--amr-sand-hover);
  color: var(--amr-ink);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(211, 196, 157, 0.22);
}

body.amr-dark-theme .amr-btn--pill {
  border-radius: 50px;
}

body.amr-dark-theme .amr-btn--full {
  width: 100%;
}

/* Breadcrumbs */
body.amr-dark-theme .amr-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--amr-font);
  font-size: 13px;
  font-weight: 400;
  color: var(--amr-muted);
}

body.amr-dark-theme .amr-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body.amr-dark-theme .amr-breadcrumbs a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}

body.amr-dark-theme .amr-breadcrumbs a:hover {
  color: var(--amr-white);
}

body.amr-dark-theme .amr-breadcrumbs .amr-breadcrumbs__sep {
  color: var(--amr-dim);
  font-size: 11px;
  user-select: none;
}

body.amr-dark-theme .amr-breadcrumbs .amr-breadcrumbs__current {
  color: var(--amr-white);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   3. HERO SECTION
   -------------------------------------------------------------------------- */
body.amr-dark-theme .amr-project-hero {
  position: relative;
  width: 100%;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--amr-bg);
}

body.amr-dark-theme .amr-project-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

body.amr-dark-theme .amr-project-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.amr-dark-theme .amr-project-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(15, 20, 42, 0.25) 0%,
    rgba(15, 20, 42, 0.55) 50%,
    #0f142a 100%
  );
}

body.amr-dark-theme .amr-project-hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-bottom: 48px;
  padding-top: 100px;
}

body.amr-dark-theme .amr-project-hero .amr-breadcrumbs {
  margin-bottom: 20px;
}

body.amr-dark-theme .amr-project-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(211, 196, 157, 0.15);
  color: var(--amr-sand);
  font-family: var(--amr-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  border: 1px solid rgba(211, 196, 157, 0.2);
}

body.amr-dark-theme .amr-project-hero__badge svg,
body.amr-dark-theme .amr-project-hero__badge i {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.85;
}

body.amr-dark-theme .amr-project-hero__title {
  font-family: var(--amr-font);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--amr-white);
  margin: 0;
  max-width: 760px;
  letter-spacing: -0.5px;
}

/* --------------------------------------------------------------------------
   4. INFO BAR SECTION
   -------------------------------------------------------------------------- */
body.amr-dark-theme .amr-project-info-bar {
  background: var(--amr-bg);
  border-bottom: 1px solid var(--amr-line);
  padding: 32px 0;
}

body.amr-dark-theme .amr-project-info-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  align-items: center;
}

body.amr-dark-theme .amr-project-info-bar__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

body.amr-dark-theme .amr-project-info-bar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--amr-bg-icon);
  color: var(--amr-sand);
  flex-shrink: 0;
  margin-top: 2px;
}

body.amr-dark-theme .amr-project-info-bar__icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

body.amr-dark-theme .amr-project-info-bar__label {
  font-family: var(--amr-font);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amr-dim);
  margin-bottom: 4px;
}

body.amr-dark-theme .amr-project-info-bar__value {
  font-family: var(--amr-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--amr-white);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   5. SCOPE SECTION (Two-column layout)
   -------------------------------------------------------------------------- */
body.amr-dark-theme .amr-project-scope {
  background: var(--amr-bg);
  padding: 72px 0 80px;
}

body.amr-dark-theme .amr-project-scope__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 56px;
  align-items: start;
}

/* Left column */
body.amr-dark-theme .amr-project-scope__main {
  min-width: 0;
}

body.amr-dark-theme .amr-project-scope__title {
  font-family: var(--amr-font);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--amr-white);
  margin: 0 0 24px;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

body.amr-dark-theme .amr-project-scope__text {
  font-family: var(--amr-font);
  font-size: 15px;
  line-height: 1.75;
  color: var(--amr-muted);
  margin: 0 0 28px;
}

body.amr-dark-theme .amr-project-scope__subheading {
  font-family: var(--amr-font);
  font-size: 18px;
  font-weight: 700;
  color: var(--amr-white);
  margin: 0 0 14px;
  line-height: 1.35;
}

/* Highlights list */
body.amr-dark-theme .amr-project-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  list-style: none;
  padding: 0;
}

body.amr-dark-theme .amr-project-highlights__item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--amr-bg-card);
  border: 1px solid var(--amr-line-soft);
  border-radius: var(--amr-radius);
  padding: 16px 20px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

body.amr-dark-theme .amr-project-highlights__item:hover {
  border-color: var(--amr-line);
  background: var(--amr-bg-card-2);
}

body.amr-dark-theme .amr-project-highlights__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--amr-sand);
  background: rgba(211, 196, 157, 0.12);
  flex-shrink: 0;
  color: var(--amr-sand);
}

body.amr-dark-theme .amr-project-highlights__icon svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}

body.amr-dark-theme .amr-project-highlights__text {
  font-family: var(--amr-font);
  font-size: 14px;
  font-weight: 500;
  color: var(--amr-text);
  line-height: 1.5;
}

/* Right column / Sidebar */
body.amr-dark-theme .amr-project-scope__sidebar {
  min-width: 0;
}

body.amr-dark-theme .amr-project-scope__image {
  width: 100%;
  border-radius: var(--amr-radius-lg);
  overflow: hidden;
  margin-bottom: 28px;
}

body.amr-dark-theme .amr-project-scope__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* "At a Glance" sidebar card */
body.amr-dark-theme .amr-project-glance {
  background: var(--amr-bg-card);
  border: 1px solid var(--amr-line);
  border-radius: var(--amr-radius-lg);
  padding: 28px 24px 24px;
}

body.amr-dark-theme .amr-project-glance__heading {
  font-family: var(--amr-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--amr-sand);
  margin: 0 0 22px;
}

body.amr-dark-theme .amr-project-glance__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--amr-line-soft);
}

body.amr-dark-theme .amr-project-glance__row:last-of-type {
  border-bottom: 1px solid var(--amr-line-soft);
  margin-bottom: 24px;
}

body.amr-dark-theme .amr-project-glance__label {
  font-family: var(--amr-font);
  font-size: 13px;
  font-weight: 400;
  color: var(--amr-dim);
}

body.amr-dark-theme .amr-project-glance__value {
  font-family: var(--amr-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--amr-white);
  text-align: right;
}

body.amr-dark-theme .amr-project-glance__value--accent {
  color: var(--amr-sand);
}

body.amr-dark-theme .amr-project-glance .amr-btn {
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   6. NEXT PROJECT SECTION
   -------------------------------------------------------------------------- */
body.amr-dark-theme .amr-project-next {
  background: var(--amr-bg);
  padding: 0 0 64px;
}

body.amr-dark-theme .amr-project-next__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--amr-bg-card);
  border: 1px solid var(--amr-line);
  border-radius: var(--amr-radius-lg);
  padding: 24px 28px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

body.amr-dark-theme .amr-project-next__card:hover {
  border-color: rgba(211, 196, 157, 0.18);
  background: var(--amr-bg-card-2);
}

body.amr-dark-theme .amr-project-next__left {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
  flex: 1;
}

body.amr-dark-theme .amr-project-next__thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--amr-radius);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--amr-bg-card-2);
}

body.amr-dark-theme .amr-project-next__thumb--placeholder {
  color: var(--amr-sand);
  border: 1px solid var(--amr-line-soft);
}

body.amr-dark-theme .amr-project-next__thumb--placeholder svg {
  width: 32px;
  height: 32px;
}

body.amr-dark-theme .amr-project-next__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.amr-dark-theme .amr-project-next__info {
  min-width: 0;
}

body.amr-dark-theme .amr-project-next__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(211, 196, 157, 0.1);
  color: var(--amr-sand);
  font-family: var(--amr-font);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
}

body.amr-dark-theme .amr-project-next__title {
  font-family: var(--amr-font);
  font-size: 17px;
  font-weight: 700;
  color: var(--amr-white);
  margin: 0 0 4px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.amr-dark-theme .amr-project-next__title a {
  color: var(--amr-white);
  text-decoration: none;
  transition: color 0.2s ease;
}

body.amr-dark-theme .amr-project-next__title a:hover {
  color: var(--amr-sand);
}

body.amr-dark-theme .amr-project-next__location {
  font-family: var(--amr-font);
  font-size: 13px;
  font-weight: 400;
  color: var(--amr-dim);
}

body.amr-dark-theme .amr-project-next__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--amr-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--amr-sand);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s ease, gap 0.2s ease;
}

body.amr-dark-theme .amr-project-next__link:hover {
  color: var(--amr-sand-hover);
  gap: 10px;
}

body.amr-dark-theme .amr-project-next__link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform 0.2s ease;
}

body.amr-dark-theme .amr-project-next__link:hover svg {
  transform: translateX(2px);
}

/* --------------------------------------------------------------------------
   7. CTA BANNER SECTION (standalone re-declaration)
   -------------------------------------------------------------------------- */
body.amr-dark-theme .amr-cta-section {
  background: var(--amr-bg);
  padding: 0 0 96px;
}

body.amr-dark-theme .amr-cta-banner {
  position: relative;
  background: linear-gradient(135deg, #1a2040 0%, #141a32 50%, #181e36 100%);
  border: 1px solid var(--amr-line);
  border-radius: var(--amr-radius-lg);
  padding: 64px 56px;
  overflow: hidden;
  text-align: center;
}

body.amr-dark-theme .amr-cta-banner__glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(211, 196, 157, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

body.amr-dark-theme .amr-cta-banner__glow--bl {
  top: auto;
  right: auto;
  bottom: -80px;
  left: -80px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(211, 196, 157, 0.05) 0%, transparent 70%);
}

body.amr-dark-theme .amr-cta-banner__content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin-inline: auto;
}

body.amr-dark-theme .amr-cta-banner__title {
  font-family: var(--amr-font);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--amr-white);
  margin: 0 0 16px;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

body.amr-dark-theme .amr-cta-banner__text {
  font-family: var(--amr-font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--amr-muted);
  margin: 0 0 32px;
}

body.amr-dark-theme .amr-cta-banner .amr-btn {
  font-size: 15px;
  padding: 15px 36px;
}

/* --------------------------------------------------------------------------
   8. ARCHIVE PAGE — Project Grid
   -------------------------------------------------------------------------- */
body.amr-dark-theme .amr-project-archive {
  background: var(--amr-bg);
  padding: 72px 0 96px;
}

body.amr-dark-theme .amr-project-archive__header {
  text-align: center;
  margin-bottom: 48px;
}

body.amr-dark-theme .amr-project-archive__title {
  font-family: var(--amr-font);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--amr-white);
  margin: 0 0 12px;
  line-height: 1.15;
}

body.amr-dark-theme .amr-project-archive__subtitle {
  font-family: var(--amr-font);
  font-size: 16px;
  color: var(--amr-muted);
  margin: 0;
  line-height: 1.6;
}

body.amr-dark-theme .amr-project-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Archive Card */
body.amr-dark-theme .amr-project-card {
  background: var(--amr-bg-card);
  border: 1px solid var(--amr-line-soft);
  border-radius: var(--amr-radius-lg);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

body.amr-dark-theme .amr-project-card:hover {
  border-color: rgba(211, 196, 157, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

body.amr-dark-theme .amr-project-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

body.amr-dark-theme .amr-project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

body.amr-dark-theme .amr-project-card:hover .amr-project-card__image img {
  transform: scale(1.05);
}

body.amr-dark-theme .amr-project-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(15, 20, 42, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--amr-sand);
  font-family: var(--amr-font);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.amr-dark-theme .amr-project-card__body {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

body.amr-dark-theme .amr-project-card__title {
  font-family: var(--amr-font);
  font-size: 17px;
  font-weight: 700;
  color: var(--amr-white);
  margin: 0 0 8px;
  line-height: 1.35;
}

body.amr-dark-theme .amr-project-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

body.amr-dark-theme .amr-project-card__title a:hover {
  color: var(--amr-sand);
}

body.amr-dark-theme .amr-project-card__meta {
  font-family: var(--amr-font);
  font-size: 13px;
  color: var(--amr-dim);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

body.amr-dark-theme .amr-project-card__meta svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  flex-shrink: 0;
}

body.amr-dark-theme .amr-project-card__excerpt {
  font-family: var(--amr-font);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--amr-muted);
  margin: 0;
  flex: 1;
}

body.amr-dark-theme .amr-project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--amr-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--amr-sand);
  text-decoration: none;
  margin-top: 18px;
  transition: color 0.2s ease, gap 0.2s ease;
}

body.amr-dark-theme .amr-project-card__link:hover {
  color: var(--amr-sand-hover);
  gap: 10px;
}

body.amr-dark-theme .amr-project-card__link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* --------------------------------------------------------------------------
   9. RESPONSIVE — 1024px
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  body.amr-dark-theme .amr-project-scope__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  body.amr-dark-theme .amr-project-scope__image {
    max-height: 420px;
  }

  body.amr-dark-theme .amr-project-scope__image img {
    height: 420px;
  }

  body.amr-dark-theme .amr-project-info-bar__grid {
    gap: 32px;
  }

  body.amr-dark-theme .amr-project-archive-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  body.amr-dark-theme .amr-cta-banner {
    padding: 52px 40px;
  }
}

/* --------------------------------------------------------------------------
   10. RESPONSIVE — 767px
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  :root {
    --amr-gutter: 20px;
  }

  body.amr-dark-theme .amr-project-hero {
    min-height: 320px;
  }

  body.amr-dark-theme .amr-project-hero__inner {
    padding-top: 80px;
    padding-bottom: 36px;
  }

  body.amr-dark-theme .amr-project-hero__title {
    font-size: 26px;
  }

  body.amr-dark-theme .amr-project-info-bar__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  body.amr-dark-theme .amr-project-info-bar {
    padding: 28px 0;
  }

  body.amr-dark-theme .amr-project-scope {
    padding: 48px 0 56px;
  }

  body.amr-dark-theme .amr-project-scope__grid {
    gap: 32px;
  }

  body.amr-dark-theme .amr-project-scope__image {
    max-height: 260px;
  }

  body.amr-dark-theme .amr-project-scope__image img {
    height: 260px;
  }

  body.amr-dark-theme .amr-project-next__card {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 22px;
  }

  body.amr-dark-theme .amr-project-next__left {
    width: 100%;
  }

  body.amr-dark-theme .amr-project-next__title {
    white-space: normal;
  }

  body.amr-dark-theme .amr-project-next__link {
    align-self: flex-start;
    margin-top: 8px;
  }

  body.amr-dark-theme .amr-cta-banner {
    padding: 44px 28px;
  }

  body.amr-dark-theme .amr-cta-banner__title {
    font-size: 22px;
  }

  body.amr-dark-theme .amr-project-archive {
    padding: 52px 0 64px;
  }

  body.amr-dark-theme .amr-project-archive-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  body.amr-dark-theme .amr-project-next {
    padding-bottom: 48px;
  }

  body.amr-dark-theme .amr-cta-section {
    padding-bottom: 64px;
  }
}

/* --------------------------------------------------------------------------
   11. RESPONSIVE — 480px
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  :root {
    --amr-gutter: 16px;
  }

  body.amr-dark-theme .amr-project-hero {
    min-height: 280px;
  }

  body.amr-dark-theme .amr-project-hero__inner {
    padding-top: 70px;
    padding-bottom: 28px;
  }

  body.amr-dark-theme .amr-project-hero__title {
    font-size: 22px;
  }

  body.amr-dark-theme .amr-project-hero__badge {
    font-size: 11px;
    padding: 5px 12px;
  }

  body.amr-dark-theme .amr-breadcrumbs {
    font-size: 11.5px;
  }

  body.amr-dark-theme .amr-project-info-bar__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  body.amr-dark-theme .amr-project-info-bar__item {
    gap: 12px;
  }

  body.amr-dark-theme .amr-project-scope {
    padding: 36px 0 44px;
  }

  body.amr-dark-theme .amr-project-scope__title {
    font-size: 24px;
  }

  body.amr-dark-theme .amr-project-scope__text {
    font-size: 14px;
  }

  body.amr-dark-theme .amr-project-scope__subheading {
    font-size: 16px;
  }

  body.amr-dark-theme .amr-project-highlights__item {
    padding: 14px 16px;
    gap: 12px;
  }

  body.amr-dark-theme .amr-project-highlights__text {
    font-size: 13px;
  }

  body.amr-dark-theme .amr-project-glance {
    padding: 22px 18px 20px;
  }

  body.amr-dark-theme .amr-project-glance__row {
    flex-wrap: wrap;
    gap: 4px;
    padding: 10px 0;
  }

  body.amr-dark-theme .amr-project-glance__label {
    font-size: 12px;
  }

  body.amr-dark-theme .amr-project-glance__value {
    font-size: 13px;
    text-align: right;
    max-width: 100%;
    word-break: break-word;
  }

  body.amr-dark-theme .amr-project-next__card {
    padding: 18px;
  }

  body.amr-dark-theme .amr-project-next__thumb {
    width: 64px;
    height: 64px;
  }

  body.amr-dark-theme .amr-project-next__title {
    font-size: 15px;
  }

  body.amr-dark-theme .amr-project-next__left {
    gap: 14px;
  }

  body.amr-dark-theme .amr-cta-banner {
    padding: 36px 20px;
  }

  body.amr-dark-theme .amr-cta-banner__text {
    font-size: 14px;
  }

  body.amr-dark-theme .amr-cta-banner .amr-btn {
    font-size: 14px;
    padding: 14px 28px;
    width: 100%;
  }

  body.amr-dark-theme .amr-project-card__body {
    padding: 18px 18px 20px;
  }

  body.amr-dark-theme .amr-project-card__title {
    font-size: 15px;
  }
}

/* --------------------------------------------------------------------------
   12. PREFERS-REDUCED-MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  body.amr-dark-theme .amr-project-card,
  body.amr-dark-theme .amr-project-card__image img,
  body.amr-dark-theme .amr-project-next__card,
  body.amr-dark-theme .amr-project-next__link,
  body.amr-dark-theme .amr-project-next__link svg,
  body.amr-dark-theme .amr-project-card__link,
  body.amr-dark-theme .amr-project-highlights__item,
  body.amr-dark-theme .amr-btn {
    transition: none !important;
    animation: none !important;
  }

  body.amr-dark-theme .amr-project-card:hover {
    transform: none;
  }

  body.amr-dark-theme .amr-project-card:hover .amr-project-card__image img {
    transform: none;
  }

  body.amr-dark-theme .amr-btn--accent:hover {
    transform: none;
  }

  body.amr-dark-theme .amr-project-next__link:hover svg {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   13. RTL SUPPORT
   -------------------------------------------------------------------------- */
[dir="rtl"] body.amr-dark-theme .amr-eyebrow,
body.amr-dark-theme[dir="rtl"] .amr-eyebrow {
  flex-direction: row-reverse;
}

[dir="rtl"] body.amr-dark-theme .amr-breadcrumbs,
body.amr-dark-theme[dir="rtl"] .amr-breadcrumbs {
  flex-direction: row-reverse;
}

[dir="rtl"] body.amr-dark-theme .amr-project-info-bar__item,
body.amr-dark-theme[dir="rtl"] .amr-project-info-bar__item {
  flex-direction: row-reverse;
  text-align: right;
}

[dir="rtl"] body.amr-dark-theme .amr-project-highlights__item,
body.amr-dark-theme[dir="rtl"] .amr-project-highlights__item {
  flex-direction: row-reverse;
}

[dir="rtl"] body.amr-dark-theme .amr-project-highlights__text,
body.amr-dark-theme[dir="rtl"] .amr-project-highlights__text {
  text-align: right;
}

[dir="rtl"] body.amr-dark-theme .amr-project-glance__label,
body.amr-dark-theme[dir="rtl"] .amr-project-glance__label {
  text-align: right;
}

[dir="rtl"] body.amr-dark-theme .amr-project-glance__value,
body.amr-dark-theme[dir="rtl"] .amr-project-glance__value {
  text-align: left;
}

[dir="rtl"] body.amr-dark-theme .amr-project-next__left,
body.amr-dark-theme[dir="rtl"] .amr-project-next__left {
  flex-direction: row-reverse;
}

[dir="rtl"] body.amr-dark-theme .amr-project-next__info,
body.amr-dark-theme[dir="rtl"] .amr-project-next__info {
  text-align: right;
}

[dir="rtl"] body.amr-dark-theme .amr-project-next__link svg,
body.amr-dark-theme[dir="rtl"] .amr-project-next__link svg {
  transform: scaleX(-1);
}

[dir="rtl"] body.amr-dark-theme .amr-project-next__link:hover svg,
body.amr-dark-theme[dir="rtl"] .amr-project-next__link:hover svg {
  transform: scaleX(-1) translateX(2px);
}

[dir="rtl"] body.amr-dark-theme .amr-project-card__badge,
body.amr-dark-theme[dir="rtl"] .amr-project-card__badge {
  left: auto;
  right: 14px;
}

[dir="rtl"] body.amr-dark-theme .amr-project-card__link svg,
body.amr-dark-theme[dir="rtl"] .amr-project-card__link svg {
  transform: scaleX(-1);
}

[dir="rtl"] body.amr-dark-theme .amr-project-card__meta,
body.amr-dark-theme[dir="rtl"] .amr-project-card__meta {
  flex-direction: row-reverse;
}

[dir="rtl"] body.amr-dark-theme .amr-cta-banner__glow,
body.amr-dark-theme[dir="rtl"] .amr-cta-banner__glow {
  right: auto;
  left: -60px;
}

[dir="rtl"] body.amr-dark-theme .amr-cta-banner__glow--bl,
body.amr-dark-theme[dir="rtl"] .amr-cta-banner__glow--bl {
  left: auto;
  right: -80px;
}

[dir="rtl"] body.amr-dark-theme .amr-btn,
body.amr-dark-theme[dir="rtl"] .amr-btn {
  flex-direction: row-reverse;
}

/* ==========================================================================
   END — project.css
   ========================================================================== */
