/* AG Technics — Apple-inspired redesign
   Monochrome palette · SF-style type · generous whitespace · subtle motion */

:root {
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --hair: #d2d2d7;
  --hair-2: #e8e8ed;
  --paper: #ffffff;
  --paper-2: #fbfbfd;
  --paper-3: #f5f5f7;
  --night: #0b0b0f;
  --accent: #d23368;        /* refined from the original pink */
  --accent-ink: #ffffff;
  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 14px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 1px 2px rgba(0, 0, 0, 0.05), 0 18px 40px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.18);
  font-family:
    "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", "Inter", "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.47;
  letter-spacing: -0.003em;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* Typographic scale ------------------------------------------------------ */
.t-display {
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.t-headline {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.022em;
}
.t-title {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.014em;
}
.t-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  text-transform: none;
}
.t-body {
  font-size: clamp(1.05rem, 1.2vw, 1.18rem);
  color: var(--ink-2);
}
.t-quiet { color: var(--muted); }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(251, 251, 253, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 240ms var(--ease), border-color 240ms var(--ease);
}
.site-header.dark {
  background: rgba(11, 11, 15, 0.72);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  color: #f5f5f7;
}
.header-row {
  width: 100%;
  max-width: 1024px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand img { width: 26px; height: 26px; object-fit: contain; }
.brand small { color: var(--muted); font-weight: 500; margin-left: 4px; }
.site-header.dark .brand small { color: #a1a1a6; }

.nav {
  display: flex;
  gap: 28px;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--ink);
  opacity: 0.92;
}
.site-header.dark .nav { color: #f5f5f7; }
.nav a { transition: opacity 160ms var(--ease); }
.nav a:hover { opacity: 0.62; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  display: inline-flex;
  background: rgba(0,0,0,0.06);
  border-radius: 999px;
  padding: 2px;
  font-size: 0.72rem;
  font-weight: 600;
}
.site-header.dark .lang-toggle { background: rgba(255,255,255,0.1); }
.lang-toggle button {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 160ms var(--ease), color 160ms var(--ease);
}
.lang-toggle button.active {
  background: var(--ink);
  color: #fff;
}
.site-header.dark .lang-toggle button.active {
  background: #f5f5f7;
  color: var(--night);
}

.menu-button {
  display: none;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.menu-button span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 22px;
  border-radius: 980px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 0;
  transition: transform 200ms var(--ease), background 200ms var(--ease), color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { background: #b22a58; }
.btn-ghost {
  background: transparent;
  color: inherit;
  padding: 0 6px;
}
.btn-ghost::after {
  content: "›";
  margin-left: 2px;
  transition: transform 200ms var(--ease);
}
.btn-ghost:hover::after { transform: translateX(3px); }
.btn-ghost.accent { color: var(--accent); }
.btn-pill {
  background: var(--ink);
  color: #fff;
}
.btn-pill:hover { background: #000; }
.btn-pill.light {
  background: rgba(255,255,255,0.95);
  color: var(--night);
}

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: 120px 22px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #f5f5f7;
  overflow: hidden;
  background: var(--night);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(210, 51, 104, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(11,11,15,0.20) 0%, rgba(11,11,15,0.55) 55%, rgba(11,11,15,0.95) 100%),
    url("assets/hero-project.jpg") center/cover no-repeat;
  z-index: -1;
  transform: scale(1.05);
  animation: heroDrift 30s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.05) translateY(0); }
  to   { transform: scale(1.10) translateY(-2%); }
}

.hero .eyebrow {
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  margin: 0 0 18px;
  letter-spacing: -0.005em;
}
.hero h1 {
  margin: 0;
  max-width: 1100px;
  font-size: clamp(2.6rem, 7vw, 6.4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero h1 .accent {
  background: linear-gradient(180deg, #fff 0%, #c2c2c7 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lede {
  margin: 22px auto 0;
  max-width: 640px;
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  color: rgba(245,245,247,0.78);
  font-weight: 400;
  letter-spacing: -0.005em;
}
.hero .actions {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero .actions .btn-pill.light {
  background: rgba(255,255,255,0.95);
  color: var(--night);
}
.hero .actions .btn-ghost {
  color: #fff;
}

.hero-stats {
  margin-top: 88px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, 880px);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.hero-stats > div {
  background: rgba(11,11,15,0.4);
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hero-stats strong {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}
.hero-stats span {
  color: rgba(255,255,255,0.7);
  font-size: 0.86rem;
  text-align: center;
  max-width: 22ch;
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.7), transparent);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue {
  0%,100% { opacity: 0.3; transform: translateY(-6px); }
  50%     { opacity: 1;   transform: translateY(0); }
}

/* Section primitives ----------------------------------------------------- */
.section {
  padding: clamp(56px, 8vw, 110px) 22px;
}
.section.tight { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.section.dark { background: var(--night); color: #f5f5f7; }
.section.soft { background: var(--paper-3); }
.wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
.wrap.narrow { max-width: 820px; }
.wrap.wide   { max-width: 1280px; }

.section-head {
  text-align: center;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.section-head .t-eyebrow { display: block; margin-bottom: 14px; }
.section-head .t-headline { margin: 0; max-width: 18ch; margin-inline: auto; }
.section-head p.lede {
  margin: 18px auto 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.1rem;
}
.section.dark .section-head p.lede { color: #a1a1a6; }

/* Reveal animation ------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* Manifesto / about ------------------------------------------------------ */
.manifesto h2 {
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.024em;
  line-height: 1.08;
  text-align: center;
  margin: 0;
  max-width: 24ch;
  margin-inline: auto;
}
.manifesto h2 em {
  font-style: normal;
  color: var(--muted);
}

html[lang="sq"] .hero p.lede {
  max-width: 700px;
}

html[lang="sq"] .manifesto h2 {
  max-width: 28ch;
}

html[lang="sq"] .section-head .t-headline {
  max-width: 22ch;
}

html[lang="sq"] .tile h3 {
  max-width: 18ch;
}

html[lang="sq"] .project .body {
  max-width: 520px;
}

/* Services grid (Apple feature-tile style) ------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.tile {
  position: relative;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--hair-2);
  padding: 26px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  isolation: isolate;
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease), border-color 280ms var(--ease);
}
.tile.col-6.wide { min-height: 180px; }
.tile-cta-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.tile-cta-row h3 { max-width: 32ch; }
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: transparent; }
.tile h3 {
  margin: 0;
  font-size: clamp(1.4rem, 1.8vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 16ch;
}
.tile p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 32ch;
}
.tile .index {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.tile.dark { background: var(--night); color: #f5f5f7; }
.tile.dark p { color: #a1a1a6; }
.tile.dark .index { color: #86868b; }
.tile.accent {
  background: linear-gradient(140deg, #d23368 0%, #7a1a3c 90%);
  color: #fff;
}
.tile.accent p { color: rgba(255,255,255,0.82); }
.tile.accent .index { color: rgba(255,255,255,0.7); }

/* Span helpers within services grid */
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-2 { grid-column: span 2; }
.col-6 { grid-column: span 6; }

/* Decorative glyphs inside tiles */
.tile .glyph {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 200px;
  height: 200px;
  opacity: 0.18;
  pointer-events: none;
}
.tile.dark .glyph, .tile.accent .glyph { opacity: 0.26; }

/* Process — minimal icon cards ------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hair);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--hair);
}
.section.dark .process-grid {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.08);
}
.process-step {
  background: var(--paper);
  padding: 24px 22px;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.section.dark .process-step { background: var(--night); }
.process-step .icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 36%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  line-height: 1;
}
.process-step p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.5;
}
.section.dark .process-step p { color: #c7c7cc; }

/* Projects — large showcases (Apple Pro Display style) ------------------- */
.projects-stack {
  display: grid;
  gap: 14px;
}
.project {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  background: var(--paper-3);
  min-height: 440px;
  display: flex;
  align-items: flex-start;
  padding: 40px 40px 44px;
  color: #fff;
}
.project::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  z-index: -2;
  transition: transform 1.2s var(--ease);
}
.project:hover::before { transform: scale(1.03); }
.project::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.05) 100%);
  z-index: -1;
}
.project[data-img="marina"]::before  { background-image: url("assets/project-durres-marina.jpg"); }
.project[data-img="lindner"]::before { background-image: url("assets/project-lindner.jpg"); }
.project[data-img="adfd"]::before    { background-image: url("assets/project-adfd.jpg"); }
.project[data-img="storage"]::before { background-image: url("assets/project-storage.jpg"); }
.project[data-img="road1"]::before   { background-image: url("assets/project-road-1-custom.png"); }
.project[data-img="road2"]::before   { background-image: url("assets/project-road-2.jpg"); }

.project .meta {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
}
.project h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.06;
  max-width: 18ch;
}
.project .body {
  max-width: 480px;
}
.project .desc {
  margin: 18px 0 24px;
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  line-height: 1.5;
}
.project .tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 18px;
}

.projects-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.project.compact {
  min-height: 340px;
  padding: 28px;
}
.project.compact h3 { font-size: clamp(1.4rem, 2vw, 1.85rem); }

/* Clients ---------------------------------------------------------------- */
/* Client logo wall - monochrome wordmarks */
.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hair-2);
  border-left: 1px solid var(--hair-2);
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border-right: 1px solid var(--hair-2);
  border-bottom: 1px solid var(--hair-2);
}
.client-cell {
  border-right: 1px solid var(--hair-2);
  border-bottom: 1px solid var(--hair-2);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 130px;
  color: #1d1d1f;
  transition: background 200ms var(--ease), color 200ms var(--ease);
}
.client-cell:hover { color: var(--accent); background: var(--paper-2); }
.client-cell:nth-child(3n) { border-right: 0; }
.client-cell:last-child { border-bottom: 0; }
.client-logo {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.92;
}
.client-logo svg { height: 100%; width: auto; max-width: 160px; }
.client-name {
  font-size: 0.74rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.3;
  max-width: 22ch;
}

/* Team ------------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.member {
  background: var(--paper-3);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.member .portrait {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
}
.member h3 {
  margin: 0;
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.014em;
}
.member .role {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 2px;
}
.member p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

/* Contact ---------------------------------------------------------------- */
.contact-card {
  background: linear-gradient(140deg, #1d1d1f 0%, #0b0b0f 100%);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 80px);
  color: #f5f5f7;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 80%;
  height: 120%;
  background: radial-gradient(closest-side, rgba(210,51,104,0.45), transparent 70%);
  filter: blur(40px);
}
.contact-card h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.08;
  position: relative;
}
.contact-card .lede {
  margin: 18px 0 0;
  color: #a1a1a6;
  font-size: 1.06rem;
  position: relative;
  max-width: 44ch;
}
.contact-list {
  display: grid;
  gap: 18px;
  position: relative;
}
.contact-list .contact-item {
  display: grid;
  gap: 8px;
}
.contact-list .label {
  color: #86868b;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  display: block;
}
.contact-list .value {
  display: block;
  color: #f5f5f7;
  line-height: 1.4;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 200ms var(--ease), border-color 200ms var(--ease), transform 200ms var(--ease);
}
.contact-list a.value:hover { background: rgba(255,255,255,0.12); transform: translateX(2px); }

/* Footer ----------------------------------------------------------------- */
.site-footer {
  background: var(--paper-3);
  padding: 40px 22px 32px;
  font-size: 0.78rem;
  color: var(--muted);
}
.site-footer .wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.site-footer img { height: 22px; width: auto; opacity: 0.8; }
.site-footer .legal {
  border-top: 1px solid var(--hair);
  padding-top: 18px;
  margin-top: 24px;
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.74rem;
}

/* Mobile ----------------------------------------------------------------- */
@media (max-width: 880px) {
  .nav { display: none; }
  .menu-button { display: block; }

  body.menu-open .nav {
    display: flex;
    position: fixed;
    inset: 52px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: rgba(251,251,253,0.96);
    backdrop-filter: blur(20px);
    padding: 14px 22px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  body.menu-open .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--hair-2);
    font-size: 1.08rem;
  }

  .hero { padding-top: 100px; }
  .hero-stats { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .col-3, .col-4, .col-2, .col-6 { grid-column: span 1; }
  .tile { min-height: 280px; padding: 28px; }

  .process-grid { grid-template-columns: 1fr; }
  .projects-row { grid-template-columns: 1fr; }
  .project { padding: 40px 28px; min-height: 520px; }
  .project.compact { min-height: 420px; padding: 28px; }

  .client-grid { grid-template-columns: 1fr 1fr; }
  .client-cell:nth-child(3n) { border-right: 1px solid var(--hair-2); }
  .client-cell:nth-child(2n) { border-right: 0; }
  .client-cell:last-child { border-bottom: 1px solid var(--hair-2); }
  .client-cell:nth-last-child(-n+2) { border-bottom: 0; }
  .team-grid { grid-template-columns: 1fr; }

  .contact-card { grid-template-columns: 1fr; }

  .site-footer .wrap { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .brand small { display: none; }
  .hero h1 { font-size: 2.6rem; }
  .hero .actions { flex-direction: column; align-items: stretch; }
  .hero .actions .btn { justify-content: center; }
  .client-grid { grid-template-columns: 1fr; }
}

/* Reduce motion ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
  .scroll-cue::after { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}
