/* ==========================================================================
   EthioDevMatrix
   am.css: Amharic typography and layout adjustments
   ========================================================================== */

html[lang="am"] {
  --font-display: "Noto Sans Ethiopic", "Nyala", sans-serif;
  --font-body: "Noto Sans Ethiopic", "Nyala", sans-serif;
  --font-mono: "Noto Sans Ethiopic", "Nyala", sans-serif;
}

html[lang="am"] body {
  font-size: 1.0625rem;
  line-height: 1.8;
}

html[lang="am"] h1,
html[lang="am"] h2,
html[lang="am"] h3,
html[lang="am"] h4 {
  letter-spacing: -0.01em;
  line-height: 1.3;
}

html[lang="am"] .brand__name,
html[lang="am"] .footer__wordmark {
  font-family: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.045em;
}

html[lang="am"] .brand__name {
  line-height: 1;
}

/* Header and navigation */
html[lang="am"] .nav__link,
html[lang="am"] .eyebrow,
html[lang="am"] .label,
html[lang="am"] .tag,
html[lang="am"] .btn,
html[lang="am"] .work-card__meta,
html[lang="am"] .stat__label,
html[lang="am"] .svc__title small,
html[lang="am"] .shift__bar,
html[lang="am"] .shift__cap,
html[lang="am"] .mess span,
html[lang="am"] .mini__list span,
html[lang="am"] .mini__stats span,
html[lang="am"] .process__time,
html[lang="am"] .footer__col h3,
html[lang="am"] .footer__bottom,
html[lang="am"] .quote__who span,
html[lang="am"] .page-hero__index,
html[lang="am"] .crumbs {
  text-transform: none;
  letter-spacing: 0.02em;
}

html[lang="am"] .nav__link {
  font-size: 0.75rem;
}

html[lang="am"] .eyebrow {
  font-size: 0.6875rem;
}

html[lang="am"] .lang-switch__item {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
}

html[lang="am"] .lang-switch__item[lang="en"] {
  font-family: "JetBrains Mono", monospace;
}

/* Hero */
html[lang="am"] .hero {
  padding-top: calc(var(--header-h) + 1rem);
}

html[lang="am"] .hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.1vw, 4.4rem);
  line-height: 1.24;
  letter-spacing: -0.02em;
}

html[lang="am"] .hero__sub {
  max-width: 46ch;
  line-height: 1.8;
}

html[lang="am"] .hero__meta {
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

html[lang="am"] .hero__meta span::before {
  width: 5px;
  height: 5px;
}

html[lang="am"] .hero-stat {
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

html[lang="am"] .hero-stat b {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

html[lang="am"] .btn {
  font-size: 0.75rem;
  letter-spacing: 0.01em;
  line-height: 1.4;
  white-space: normal;
  text-align: center;
  gap: 0.7rem;
  padding: 0.9rem 1.2rem;
}

html[lang="am"] .btn svg {
  margin-top: 0.15rem;
}

/* Before / after panel */
html[lang="am"] .shift__bar {
  font-size: 0.625rem;
}

html[lang="am"] .shift__body {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
}

html[lang="am"] .mini__list span {
  font-size: 0.5rem;
  font-weight: 500;
  white-space: nowrap;
}

html[lang="am"] .mess b {
  font-size: 0.72rem;
  line-height: 1.5;
}

html[lang="am"] .mess span {
  font-size: 0.5625rem;
}

html[lang="am"] .shift__cap {
  font-size: 0.5625rem;
  line-height: 1.6;
}

html[lang="am"] .shift__foot {
  font-size: 0.6875rem;
  line-height: 1.6;
}

html[lang="am"] .mini__head {
  font-size: 0.5625rem;
}

html[lang="am"] .mini__head b {
  font-family: var(--font-body);
  font-size: 0.72rem;
}

html[lang="am"] .mini__stats b {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

html[lang="am"] .mini__list li {
  font-size: 0.625rem;
  line-height: 1.5;
}

html[lang="am"] .mini__list span {
  font-size: 0.5rem;
}

/* Sections and headings */
html[lang="am"] .sec-head__title h2 {
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  line-height: 1.3;
}

html[lang="am"] .sec-head__aside p,
html[lang="am"] .lede {
  line-height: 1.8;
}

html[lang="am"] .statement {
  font-size: clamp(1.4rem, 2.6vw, 2.35rem);
  line-height: 1.5;
  letter-spacing: 0;
}

/* Service rows */
html[lang="am"] .svc {
  grid-template-columns: 3rem minmax(0, 1.2fr) minmax(0, 0.9fr) 3rem;
  align-items: center;
}

html[lang="am"] .svc__title {
  font-size: clamp(1.2rem, 2.1vw, 1.75rem);
  line-height: 1.45;
}

html[lang="am"] .svc__desc {
  font-size: 0.875rem;
  line-height: 1.8;
}

html[lang="am"] .svc__title small {
  font-size: 0.5625rem;
  line-height: 1.5;
  margin-top: 0.5rem;
}

html[lang="am"] .svc__desc ul {
  display: none;
}

/* Work cards */
html[lang="am"] .work-card h3 {
  font-size: clamp(1.3rem, 2.1vw, 1.7rem);
  line-height: 1.4;
}

html[lang="am"] .work-card__body p {
  font-size: 0.875rem;
  line-height: 1.8;
}

html[lang="am"] .work-card__stat {
  font-size: 0.5625rem;
  letter-spacing: 0.01em;
  text-transform: none;
}

html[lang="am"] .work-card__meta {
  font-size: 0.5625rem;
}

/* Process */
html[lang="am"] .process__step h3 {
  font-size: 1.15rem;
  line-height: 1.4;
}

html[lang="am"] .process__step p {
  font-size: 0.875rem;
  line-height: 1.75;
}

html[lang="am"] .process__time {
  font-size: 0.5625rem;
}

/* Quotes */
html[lang="am"] .quote__text {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.7;
  letter-spacing: 0;
}

html[lang="am"] .quote--feature .quote__text {
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  line-height: 1.65;
}

html[lang="am"] .quote__who b {
  font-size: 0.875rem;
}

html[lang="am"] .quote__source,
html[lang="am"] .quote__proof span {
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.5625rem;
}

html[lang="am"] .quote__proof b {
  font-size: 1.4rem;
}

/* About */
html[lang="am"] .about-quote {
  font-size: clamp(1.5rem, 2.8vw, 2.5rem);
  line-height: 1.45;
  letter-spacing: 0;
}

html[lang="am"] .about-intro__text p {
  line-height: 1.85;
}

html[lang="am"] .fact dt {
  font-size: 0.625rem;
  letter-spacing: 0.01em;
  text-transform: none;
}

html[lang="am"] .fact dd {
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Contact cards */
html[lang="am"] .contact-card > a,
html[lang="am"] .contact-card > b {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.5;
}

html[lang="am"] .contact-card > a.contact-card__email {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
}

html[lang="am"] .contact-card p,
html[lang="am"] .hours {
  line-height: 1.75;
}

html[lang="am"] .contact-questions {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted);
}

html[lang="am"] .contact-questions li {
  position: relative;
  padding-left: 1.1rem;
}

html[lang="am"] .contact-questions li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  color: var(--muted-2);
}

html[lang="am"] .contact-card__label,
html[lang="am"] .copy-link {
  text-transform: none;
  letter-spacing: 0.01em;
}

/* CTA band and footer */
html[lang="am"] .cta-band h2 {
  font-size: clamp(1.9rem, 4.2vw, 3.4rem);
  line-height: 1.35;
}

html[lang="am"] .cta-band p {
  line-height: 1.8;
}

html[lang="am"] .footer__pitch h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.35;
  letter-spacing: 0;
}

html[lang="am"] .footer__pitch p,
html[lang="am"] .footer__col a {
  line-height: 1.75;
}

html[lang="am"] .footer__col a {
  font-size: 0.875rem;
}

html[lang="am"] .footer__email {
  font-size: 0.8125rem;
}

html[lang="am"] .footer__bottom {
  font-size: 0.625rem;
  line-height: 1.7;
}

/* Mobile */
@media (max-width: 900px) {
  html[lang="am"] .hero__title {
    font-size: clamp(2rem, 7.6vw, 3.2rem);
    line-height: 1.28;
  }

  html[lang="am"] .svc {
    grid-template-columns: 2.5rem minmax(0, 1fr) 3rem;
    align-items: start;
  }

  html[lang="am"] .svc__desc {
    grid-column: 2 / 3;
  }

  html[lang="am"] .svc__title {
    font-size: 1.25rem;
  }

  html[lang="am"] .sec-head__title h2 {
    font-size: clamp(1.7rem, 6vw, 2.4rem);
  }
}

@media (max-width: 720px) {
  html[lang="am"] .hero__title {
    font-size: clamp(1.85rem, 8.4vw, 2.8rem);
  }

  html[lang="am"] .hero__sub {
    font-size: 0.9375rem;
    line-height: 1.8;
  }

  html[lang="am"] .shift__body {
    grid-template-columns: 1fr;
  }

  html[lang="am"] .footer__pitch h2 {
    font-size: clamp(1.6rem, 8vw, 2.4rem);
  }

  html[lang="am"] .quote--feature .quote__text {
    font-size: 1.05rem;
  }

  html[lang="am"] .mobile-nav__link {
    font-size: clamp(1.5rem, 7.2vw, 2.2rem);
    line-height: 1.45;
  }
}

@media (max-width: 460px) {
  html[lang="am"] .btn {
    font-size: 0.6875rem;
    padding: 0.9rem 1rem;
  }

  html[lang="am"] .hero__title {
    font-size: clamp(1.75rem, 8.6vw, 2.5rem);
  }
}
