/* ==========================================================================
   Al Tarrab Steel & Ember
   Realization of the active Novamira design direction.
   Tokens -> CSS custom properties. Zero radius. One accent. Chevron cuts.
   ========================================================================== */

:root {
  --bg: #F4F3F1;
  --surface: #FFFFFF;
  --ink: #22272E;
  --accent: #EE7E25;
  --steel: #33393F;
  --steel-deep: #191D22;
  --sand: #C8B29B;
  --muted: #6B7280;
  --hairline: #D8D5D0;

  --sp-xs: 8px;
  --sp-sm: 16px;
  --sp-md: 28px;
  --sp-lg: 56px;
  --sp-xl: 88px;
  --sp-xxl: 108px;

  --radius: 0px;
  --container: 1240px;
  --gutter: 24px;
  --chev: 72px;
  /* Distance from the container's content edge to the viewport edge. */
  --bleed: calc((100vw - min(100vw, var(--container))) / 2 + var(--gutter));

  --font-ar: "Beiruti", "Fira Sans", system-ui, sans-serif;
  --font-lat: "Fira Sans", system-ui, sans-serif;
  --font-display: var(--font-lat);
  --font-body: var(--font-lat);

  --header-h: 76px;
}

html[lang^="ar"] {
  --font-display: var(--font-ar);
  --font-body: var(--font-ar);
}

/* --- Reset: :where() keeps specificity at 0 so components always win -------- */

*, *::before, *::after { box-sizing: border-box; }

:where(html, body, h1, h2, h3, h4, p, ul, ol, li, figure, blockquote, dl, dd, table, th, td) {
  margin: 0;
  padding: 0;
  border: 0;
}

:where(ul, ol) { list-style: none; }
:where(img, svg, video) { display: block; max-width: 100%; height: auto; }
:where(a) { color: inherit; text-decoration: none; }
:where(button) { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:where(table) { border-collapse: collapse; width: 100%; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.atr {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html[lang^="ar"] body.atr { line-height: 1.85; font-size: 18px; }

::selection { background: var(--accent); color: var(--steel-deep); }

/* --- Layout primitives ----------------------------------------------------- */

.atr-wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.atr-sec { padding-block: var(--sp-xxl); position: relative; }
.atr-sec--tight { padding-block: var(--sp-xl); }

/* The statistics band sits directly under the hero and needs no top air. */
main > section:nth-of-type(2).atr-sec { padding-block: var(--sp-lg) 0; }

.atr-sec--steel { background: var(--steel); color: #F1EFEC; }
.atr-sec--deep  { background: var(--steel-deep); color: #F1EFEC; }
.atr-sec--steel::before,
.atr-sec--deep::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 4px;
  background: var(--accent);
}

/* --- Type ------------------------------------------------------------------ */

.atr-h1, .atr-h2, .atr-h3, .atr-h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.015em;
}

.atr-h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  line-height: 1.05;
}
.atr-h2 {
  font-size: clamp(1.95rem, 3.6vw, 3rem);
  line-height: 1.08;
}
.atr-h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.2; font-weight: 700; }
.atr-h4 { font-size: 1.02rem; line-height: 1.25; font-weight: 700; letter-spacing: 0; }

html[lang^="ar"] .atr-h1 { line-height: 1.2; letter-spacing: 0; }
html[lang^="ar"] .atr-h2 { line-height: 1.28; letter-spacing: 0; }
html[lang^="ar"] .atr-h3,
html[lang^="ar"] .atr-h4 { line-height: 1.5; letter-spacing: 0; }

.atr-lead { font-size: clamp(1.06rem, 1.35vw, 1.22rem); line-height: 1.72; max-width: 62ch; }
html[lang^="ar"] .atr-lead { line-height: 1.9; }

.atr-body { max-width: 66ch; }
.atr-body + .atr-body { margin-block-start: var(--sp-sm); }

.atr-label {
  font-family: var(--font-lat);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
html[lang^="ar"] .atr-label {
  font-family: var(--font-ar);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.atr-muted { color: var(--muted); }
.atr-sec--steel .atr-muted,
.atr-sec--deep .atr-muted { color: #A9AFB6; }

.atr-accent { color: var(--accent); }

/* --- Buttons --------------------------------------------------------------- */

.atr-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, transform .12s ease, border-color .18s ease;
}
.atr-btn:active { transform: translateY(1px); }

.atr-btn--primary { background: var(--accent); color: var(--steel-deep); }
.atr-btn--primary:hover { background: #FF9036; }

.atr-btn--ghost { border: 1px solid var(--ink); color: var(--ink); }
.atr-btn--ghost:hover { background: var(--ink); color: var(--bg); }

.atr-hero .atr-btn--ghost,
.atr-sec--steel .atr-btn--ghost,
.atr-sec--deep .atr-btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.atr-hero .atr-btn--ghost:hover,
.atr-sec--steel .atr-btn--ghost:hover,
.atr-sec--deep .atr-btn--ghost:hover { background: #fff; color: var(--steel-deep); }

.atr-btn--sm { padding: 11px 22px; font-size: 0.94rem; }

/* --- Header ---------------------------------------------------------------- */

.atr-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 60;
  background: rgba(25, 29, 34, .96);
  box-shadow: 0 1px 0 rgba(200, 178, 155, .22);
  color: #fff;
}
.atr-header__in {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}

.atr-brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.atr-brand img { width: 34px; height: auto; }
.atr-brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  line-height: 1;
  color: var(--accent);
}
.atr-brand__sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7rem;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: #A9AFB6;
  margin-block-start: 3px;
}
html[lang^="ar"] .atr-brand__sub { letter-spacing: 0; font-size: 0.76rem; }

.atr-nav { display: flex; align-items: center; gap: 22px; margin-inline-start: auto; }
.atr-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #C9CFD5;
  padding-block: 6px;
  border-block-end: 2px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}
.atr-nav a:hover { color: #fff; border-block-end-color: var(--accent); }

.atr-header__side { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }

.atr-lang {
  font-family: var(--font-lat);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  padding: 7px 12px;
  transition: background-color .16s ease, color .16s ease;
}
.atr-lang:hover { background: #fff; color: var(--steel-deep); }

.atr-burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; }
.atr-burger span { display: block; width: 22px; height: 2px; background: #fff; position: relative; }
.atr-burger span::before,
.atr-burger span::after { content: ""; position: absolute; inset-inline: 0; height: 2px; background: #fff; }
.atr-burger span::before { top: -7px; }
.atr-burger span::after { top: 7px; }

/* --- Hero ------------------------------------------------------------------ */

.atr-hero { position: relative; background: var(--steel-deep); color: #fff; overflow: hidden; }
.atr-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  align-items: center;
  gap: var(--sp-lg);
  min-height: min(78vh, 660px);
  padding-block: var(--sp-xl);
}
.atr-hero__copy { position: relative; z-index: 2; max-width: 36rem; }
.atr-hero__copy .atr-h1 { color: #fff; }
/* Latin display is wider per character than the Arabic, so the hero headline
   takes a smaller ceiling to stay inside two lines. */
html[lang="en"] .atr-hero__copy .atr-h1 { font-size: clamp(2.4rem, 4.1vw, 3.45rem); }
.atr-hero__copy .atr-h1 em { font-style: normal; color: var(--accent); }
.atr-hero__sub {
  margin-block-start: var(--sp-md);
  font-size: clamp(1.02rem, 1.25vw, 1.16rem);
  line-height: 1.7;
  color: #C9CFD5;
  max-width: 40ch;
}
html[lang^="ar"] .atr-hero__sub { line-height: 1.95; max-width: 44ch; }
.atr-hero__cta { margin-block-start: var(--sp-lg); display: flex; flex-wrap: wrap; gap: var(--sp-sm); }

.atr-hero__media {
  position: relative;
  align-self: stretch;
  margin-inline-end: calc(var(--bleed) * -1);
  margin-block: calc(var(--sp-xl) * -1);
}
.atr-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  clip-path: polygon(var(--chev) 0, 100% 0, 100% 100%, 0 100%, 0 var(--chev));
}
html[dir="rtl"] .atr-hero__media img {
  clip-path: polygon(0 0, calc(100% - var(--chev)) 0, 100% var(--chev), 100% 100%, 0 100%);
}
.atr-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(25,29,34,.96) 0%, rgba(25,29,34,.55) 34%, rgba(25,29,34,0) 68%);
  pointer-events: none;
}
html[dir="rtl"] .atr-hero__scrim {
  background: linear-gradient(to left, rgba(25,29,34,.96) 0%, rgba(25,29,34,.55) 34%, rgba(25,29,34,0) 68%);
}

/* --- Statistics band ------------------------------------------------------- */

.atr-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-block-start: 1px solid var(--hairline);
}
.atr-stat {
  padding-block: var(--sp-lg);
  padding-inline-end: var(--sp-md);
  border-inline-end: 1px solid var(--hairline);
}
.atr-stat:last-child { border-inline-end: 0; }

.atr-stat__n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 2.5vw, 2.45rem);
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
  white-space: nowrap;
  direction: ltr;
  unicode-bidi: isolate;
}
html[dir="rtl"] .atr-stat__n { text-align: right; }
.atr-stat__l {
  margin-block-start: 12px;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--muted);
}

/* --- Split (about / safety) ------------------------------------------------ */

.atr-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 84px);
  align-items: center;
}
.atr-split--rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }

.atr-figure { position: relative; }
.atr-figure img {
  width: 100%;
  clip-path: polygon(0 0, calc(100% - var(--chev)) 0, 100% var(--chev), 100% 100%, 0 100%);
}
html[dir="rtl"] .atr-figure img {
  clip-path: polygon(var(--chev) 0, 100% 0, 100% 100%, 0 100%, 0 var(--chev));
}
.atr-figure--bleedStart { margin-inline-start: calc(var(--bleed) * -1); }

.atr-creds {
  margin-block-start: var(--sp-lg);
  border-block-start: 1px solid var(--hairline);
}
.atr-creds li {
  padding-block: 13px;
  border-block-end: 1px solid var(--hairline);
  font-size: 0.98rem;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.atr-creds li::before { content: ""; width: 9px; height: 9px; background: var(--accent); flex: 0 0 auto; }

/* --- Services bento -------------------------------------------------------- */

.atr-bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-block-start: var(--sp-lg);
}
.atr-panel {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--steel);
}
.atr-panel > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.atr-panel:hover > img { transform: scale(1.045); }
.atr-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(25,29,34,.94) 0%, rgba(25,29,34,.62) 42%, rgba(25,29,34,.12) 100%);
}
.atr-panel__body { position: relative; z-index: 2; padding: var(--sp-md); }
.atr-panel__body p { margin-block-start: 8px; font-size: 0.93rem; line-height: 1.6; color: #C9CFD5; max-width: 42ch; }

.atr-panel--a { grid-column: span 4; min-height: 340px; }
.atr-panel--b { grid-column: span 2; min-height: 340px; }
.atr-panel--c { grid-column: span 2; }
.atr-panel--d { grid-column: span 2; }
.atr-panel--e { grid-column: span 2; }
.atr-panel--f { grid-column: span 6; min-height: 240px; }

/* --- Mission + values ------------------------------------------------------ */

.atr-quote {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.atr-quote__big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.32;
  color: #fff;
}
html[lang^="ar"] .atr-quote__big { line-height: 1.62; }
.atr-quote__vision { margin-block-start: var(--sp-md); color: #A9AFB6; max-width: 56ch; }

.atr-values { border-block-start: 1px solid rgba(200,178,155,.3); }
.atr-values li {
  padding-block: 18px;
  border-block-end: 1px solid rgba(200,178,155,.3);
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: var(--sp-sm);
  align-items: baseline;
}
.atr-values h4 { color: var(--accent); }
.atr-values p { color: #A9AFB6; font-size: 0.95rem; line-height: 1.6; }

/* --- Projects mosaic ------------------------------------------------------- */

.atr-mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  margin-block-start: var(--sp-lg);
}
.atr-proj {
  position: relative;
  overflow: hidden;
  background: var(--steel);
  color: #fff;
  display: flex;
  align-items: flex-end;
  min-height: 240px;
}
.atr-proj > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.atr-proj:hover > img { transform: scale(1.04); }
.atr-proj::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(25,29,34,.95) 0%, rgba(25,29,34,.5) 48%, rgba(25,29,34,.05) 100%);
}
.atr-proj__body { position: relative; z-index: 2; padding: var(--sp-md); }
.atr-proj__place { font-size: 0.8rem; font-weight: 600; color: var(--accent); }
.atr-proj__body p { margin-block-start: 6px; font-size: 0.9rem; line-height: 1.55; color: #C9CFD5; max-width: 44ch; }

.atr-proj--xl { grid-column: span 7; min-height: 400px; }
.atr-proj--lg { grid-column: span 5; min-height: 400px; }
.atr-proj--md { grid-column: span 4; min-height: 280px; }
.atr-proj--sm { grid-column: span 3; min-height: 280px; }
.atr-proj--w  { grid-column: span 6; min-height: 260px; }

/* --- Equipment / capacity -------------------------------------------------- */

.atr-cap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}
.atr-bigNums { display: grid; gap: var(--sp-md); margin-block-start: var(--sp-lg); }
.atr-bigNums div { border-inline-start: 3px solid var(--accent); padding-inline-start: var(--sp-sm); }
.atr-bigNums strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1;
  color: #fff;
  direction: ltr;
  unicode-bidi: isolate;
}
html[dir="rtl"] .atr-bigNums strong { text-align: right; }
.atr-bigNums span { display: block; margin-block-start: 6px; font-size: 0.9rem; color: #A9AFB6; }

.atr-table th, .atr-table td {
  text-align: start;
  padding: 13px 10px;
  border-block-end: 1px solid rgba(200,178,155,.26);
  font-size: 0.96rem;
}
.atr-table th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
  border-block-end-color: rgba(200,178,155,.5);
}
html[lang^="ar"] .atr-table th { text-transform: none; letter-spacing: 0; font-size: 0.92rem; }
.atr-table td:last-child {
  font-family: var(--font-lat);
  font-weight: 700;
  color: var(--accent);
  text-align: end;
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
}
/* Quantity column: the cell is direction:ltr, so end resolves to physical right
   in both languages and lines up with its start-aligned header. */

.atr-capMedia { margin-block-start: var(--sp-xl); margin-block-end: calc(var(--sp-xxl) * -1); }
.atr-capMedia img {
  width: 100%;
  height: clamp(200px, 26vw, 330px);
  object-fit: cover;
}

/* --- Safety pillars -------------------------------------------------------- */

.atr-pillars { border-block-start: 1px solid var(--hairline); margin-block-start: var(--sp-lg); }
.atr-pillar {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: var(--sp-md);
  padding-block: var(--sp-md);
  border-block-end: 1px solid var(--hairline);
  align-items: baseline;
}
.atr-pillar p { color: var(--muted); font-size: 0.98rem; }

/* --- Companies table ------------------------------------------------------- */

.atr-tableLight th, .atr-tableLight td {
  text-align: start;
  padding: 15px 12px;
  border-block-end: 1px solid var(--hairline);
  font-size: 0.98rem;
}
.atr-tableLight thead th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-block-end: 1px solid var(--ink);
}
html[lang^="ar"] .atr-tableLight thead th { text-transform: none; letter-spacing: 0; font-size: 0.92rem; }
.atr-tableLight tbody th { font-weight: 700; }
.atr-tableLight td.atr-year { font-family: var(--font-lat); color: var(--accent); font-weight: 700; }

/* --- Contact --------------------------------------------------------------- */

.atr-contact { position: relative; overflow: hidden; }
.atr-contact__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .2;
}
.atr-contact__in { position: relative; z-index: 2; }
.atr-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.atr-deptGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-md); }
.atr-dept { border-block-start: 3px solid var(--accent); padding-block-start: var(--sp-sm); }
.atr-dept a { display: block; margin-block-start: 6px; color: #F1EFEC; font-size: 1rem; }
.atr-dept a:hover { color: var(--accent); }
.atr-dept .atr-tel { font-family: var(--font-lat); direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .atr-dept .atr-tel { text-align: right; }

.atr-offices { margin-block-start: var(--sp-lg); border-block-start: 1px solid rgba(200,178,155,.3); }
.atr-offices li {
  padding-block: 15px;
  border-block-end: 1px solid rgba(200,178,155,.3);
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: var(--sp-sm);
  font-size: 0.95rem;
  color: #C9CFD5;
}
.atr-offices strong { color: #fff; font-weight: 700; }

/* --- Footer ---------------------------------------------------------------- */

.atr-footer { background: var(--steel-deep); color: #8F969D; padding-block: var(--sp-lg); border-block-start: 1px solid rgba(200,178,155,.2); }
.atr-footer__in { display: flex; flex-wrap: wrap; gap: var(--sp-md); align-items: center; justify-content: space-between; }
.atr-footer a:hover { color: var(--accent); }
.atr-footer__links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 0.92rem; }

/* --- Reveal: hidden only when JS is present -------------------------------- */

.js .atr-rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .atr-rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .atr-rv { opacity: 1; transform: none; transition: none; }
}

/* --- Responsive ------------------------------------------------------------ */

@media (max-width: 1180px) {
  .atr-nav { gap: 16px; }
  .atr-nav a { font-size: 0.9rem; }
}

@media (max-width: 1024px) {
  :root { --sp-xxl: 96px; --sp-xl: 72px; --chev: 52px; }
  .atr-nav { display: none; }
  .atr-burger { display: flex; }
  .atr-header.is-open .atr-nav {
    display: flex;
    position: absolute;
    inset-block-start: var(--header-h);
    inset-inline: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--steel-deep);
    padding: var(--sp-sm) var(--gutter) var(--sp-md);
    border-block-start: 1px solid rgba(200,178,155,.24);
  }
  .atr-header.is-open .atr-nav a { width: 100%; padding-block: 12px; border-block-end: 1px solid rgba(255,255,255,.08); }

  .atr-hero__grid { grid-template-columns: 1fr; min-height: 0; gap: var(--sp-lg); }
  .atr-hero__media { margin-inline: calc(50% - 50vw); margin-block: 0; }
  .atr-hero__media img { min-height: 320px; }
  .atr-hero__scrim { background: linear-gradient(to top, rgba(25,29,34,.85), rgba(25,29,34,.1)); }

  .atr-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .atr-stat { border-block-end: 1px solid var(--hairline); }
  .atr-stat:nth-child(3n) { border-inline-end: 0; }

  .atr-split, .atr-split--rev, .atr-quote, .atr-cap, .atr-contact__grid { grid-template-columns: 1fr; }
  .atr-figure--bleedStart { margin-inline-start: 0; }

  .atr-panel--a, .atr-panel--b, .atr-panel--c, .atr-panel--d, .atr-panel--e, .atr-panel--f { grid-column: span 3; min-height: 260px; }
  .atr-proj--xl, .atr-proj--lg, .atr-proj--md, .atr-proj--sm, .atr-proj--w { grid-column: span 6; min-height: 260px; }

  .atr-pillar { grid-template-columns: 1fr; gap: 6px; }
  .atr-values li { grid-template-columns: 1fr; gap: 4px; }
  .atr-offices li { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 720px) {
  :root { --sp-xxl: 72px; --sp-xl: 56px; --sp-lg: 40px; --chev: 40px; }
  body.atr { font-size: 16px; }
  .atr-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .atr-stat:nth-child(3n) { border-inline-end: 1px solid var(--hairline); }
  .atr-stat:nth-child(2n) { border-inline-end: 0; }
  .atr-bento { grid-template-columns: 1fr; }
  .atr-panel--a, .atr-panel--b, .atr-panel--c, .atr-panel--d, .atr-panel--e, .atr-panel--f { grid-column: span 1; min-height: 240px; }
  .atr-mosaic { grid-template-columns: 1fr; }
  .atr-proj--xl, .atr-proj--lg, .atr-proj--md, .atr-proj--sm, .atr-proj--w { grid-column: span 1; min-height: 240px; }
  .atr-deptGrid { grid-template-columns: 1fr; }
  .atr-hero__cta .atr-btn { flex: 1 1 100%; justify-content: center; }
  .atr-brand__sub { display: none; }
  .atr-tableWrap { overflow-x: auto; }
}
