/* ════════════════════════════════════════════════════════════════
   Al Amir Home — Production page styles
   Builds on styles.css (design system), adds layout + responsive
   ═══════════════════════════════════════════════════════════════ */

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

/* ──────────────────────── NAV ──────────────────────── */
.prod-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 56px;
  transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
  background: transparent;
}
.prod-nav.scrolled {
  padding: 14px 56px;
  background: rgba(250, 246, 238, 0.85);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(20,17,14,0.06);
}
/* Logo: full wordmark on desktop, gear-only on mobile.
   Selector specificity bumped (.alamir-nav-logo prefix) so it beats the
   .alamir-nav-logo img { width:38px; height:38px } rule in styles.css. */
.prod-logo { display: flex; align-items: center; }
.alamir-nav-logo img.prod-logo-wordmark {
  height: 76px;
  width: auto;
  display: block;
  transition: height 0.3s ease;
}
.alamir-nav-logo img.prod-logo-mark { display: none; height: 56px; width: auto; }
.prod-nav.scrolled .prod-logo-wordmark { height: 60px; }
.prod-nav.scrolled .prod-logo-mark { height: 48px; }

.hamburger {
  display: none;
  width: 36px; height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0 8px;
}

/* Social icon buttons in nav */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(20, 17, 14, 0.05);
  color: var(--ink);
  text-decoration: none;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.social-icon:hover {
  background: var(--brand-orange);
  color: #fff;
  transform: translateY(-1px);
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ──────────────────────── HERO V2 ──────────────────────── */
.hero-v2 {
  position: relative;
  background: var(--paper);
  padding-top: 112px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 820px;
}
.hero-left {
  padding: 40px 24px 60px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.eyebrow-bar {
  width: 28px;
  height: 1px;
  background: var(--brand-orange);
  flex-shrink: 0;
}
.hero-headline {
  font-size: clamp(56px, 8.5vw, 124px);
  line-height: 0.9;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.025em;
}
.hero-sub {
  max-width: 480px;
  opacity: 0.75;
  margin-top: 36px;
}
.hero-cta-row {
  display: flex;
  gap: 12px;
  margin-top: 52px;
  flex-wrap: wrap;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(20,17,14,0.12);
  padding-top: 28px;
  margin-top: 40px;
}
.hero-stats .stat .n { font-size: clamp(36px, 4vw, 52px); }

/* Right column — image */
.hero-right { position: relative; padding: 40px 56px 40px 24px; }
.hero-image-wrap {
  position: relative;
  height: 100%;
  min-height: 700px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--cream-2);
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.3s linear;
  will-change: transform;
}
.hero-caption-card {
  position: absolute;
  left: 24px; bottom: 24px;
  background: rgba(15,12,10,0.78);
  backdrop-filter: blur(18px);
  color: var(--cream);
  padding: 20px 24px;
  border-radius: 14px;
  max-width: 320px;
  border: 1px solid rgba(255,245,230,0.12);
  z-index: 2;
}
.hero-live-pill {
  position: absolute;
  right: 24px; top: 24px;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(14px);
  padding: 12px 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(20,17,14,0.06);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink);
  z-index: 2;
}

/* ──────────────────────── TRUST STRIP ──────────────────────── */
.trust-strip {
  padding: 28px 56px;
  border-top: 1px solid rgba(20,17,14,0.08);
  display: flex;
  align-items: center;
  gap: 60px;
  background: var(--paper);
}
.trust-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
  flex-shrink: 0;
  line-height: 1.5;
}
.trust-tags {
  display: flex;
  gap: 20px;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  color: var(--ink-2);
  letter-spacing: -0.01em;
}
.trust-tags span:nth-child(even) {
  color: var(--brand-orange);
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 18px;
  opacity: 0.5;
}

/* ──────────────────────── INTRO BAND ──────────────────────── */
.intro-band {
  padding: 140px 56px;
  background: var(--paper);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}
.intro-h2 {
  font-size: clamp(48px, 5.5vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin: 16px 0 0 0;
}
.intro-right p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 18px;
}
.intro-stats {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid rgba(20,17,14,0.12);
}
.intro-stats .stat-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
}
.intro-stats .stat-num em {
  font-style: italic;
  color: var(--brand-orange);
}
.intro-stats .stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 8px;
  opacity: 0.65;
}

/* ──────────────────────── SERVICES ──────────────────────── */
.services-band {
  padding: 140px 56px;
  background: var(--cream);
  color: var(--ink);
}
.services-band .section-head {
  margin-bottom: 60px;
}
.services-band h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 5.5vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 18px 0 0 0;
}
.services-band h2 em { font-style: italic; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.svc-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.4s;
}
.svc-card:hover { transform: translateY(-6px); }
.svc-card .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  opacity: 0.5;
}
.svc-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 12px 0;
}
.svc-card h3 em { font-style: italic; }
.svc-card p {
  font-size: 13px;
  line-height: 1.55;
  opacity: 0.65;
  margin: 0;
}
.svc-small {
  background: #fff;
  border: 1px solid rgba(20,17,14,0.08);
  grid-column: span 1;
  min-height: 240px;
}

/* Featured cards with bg image */
.svc-feat {
  grid-column: span 2;
  min-height: 380px;
  color: #fff;
}
.svc-feat-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.svc-feat-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.svc-feat-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,104,47,0.15) 0%, rgba(15,12,10,0.4) 40%, rgba(15,12,10,0.85) 100%);
}
.svc-feat .svc-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  color: #fff;
}
.svc-feat .svc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.svc-feat h3 {
  font-size: 44px;
  color: #fff;
}
.svc-feat p {
  opacity: 0.88;
  max-width: 360px;
  color: rgba(255,255,255,0.92);
}
.svc-reno .svc-feat-bg::after {
  background: linear-gradient(180deg, rgba(15,12,10,0.2) 0%, rgba(15,12,10,0.5) 40%, rgba(15,12,10,0.92) 100%);
}

.services-foot {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.services-foot-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
}

/* ──────────────────────── PROJECTS ──────────────────────── */
.projects-band {
  padding: 140px 56px;
  background: var(--paper);
}
.projects-band h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 5.5vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 18px 0 0 0;
}
.projects-band h2 em { font-style: italic; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 180px;
  gap: 16px;
}
.proj-tile {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
}
.proj-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2,0.7,0.3,1);
}
.proj-tile:hover img { transform: scale(1.05); }
.proj-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
  pointer-events: none;
}
.proj-tile .meta {
  position: absolute;
  left: 24px; bottom: 24px;
  color: #fff;
  z-index: 1;
}
.proj-tile .cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 6px;
}
.proj-tile .name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  letter-spacing: -0.01em;
}
.proj-large { grid-column: span 6; grid-row: span 3; }
.proj-tall  { grid-column: span 6; grid-row: span 2; }
.proj-small { grid-column: span 3; grid-row: span 1; }
.proj-square { grid-column: span 4; grid-row: span 2; }
.proj-feature { grid-column: span 12; grid-row: span 2; }
.proj-feature .name { font-size: 36px; }
.proj-feature .cat { font-size: 11px; }

/* ──────────────────────── PROCESS BAND ──────────────────────── */
.process-band {
  padding: 120px 56px;
  background: #fff;
}
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}
.process-h2 {
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 16px 0 24px 0;
}
.process-intro {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 480px;
}
.process-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 60px;
}
.process-step {
  border-top: 1px solid var(--ink);
  padding-top: 20px;
}
.step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--brand-orange);
  margin-bottom: 8px;
}
.step-name {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.015em;
}
.step-desc {
  font-size: 13px;
  opacity: 0.65;
  margin-top: 8px;
  line-height: 1.5;
}

/* ──────────────────────── TEAM STRIP ──────────────────────── */
.team-strip {
  padding: 32px 56px 80px;
  background: var(--paper);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.team-tile {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream-2);
}
.team-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.team-tile:hover img { transform: scale(1.05); }
.team-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0) 60%);
}
.team-cap {
  position: absolute;
  left: 14px; bottom: 12px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  z-index: 1;
}

/* ──────────────────────── BLOG ──────────────────────── */
.blog-band {
  padding: 140px 56px;
  background: var(--cream);
  color: var(--ink);
}
.blog-band h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 5.5vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 18px 0 0 0;
}
.blog-band h2 em { font-style: italic; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(20,17,14,0.06);
  transition: transform 0.4s cubic-bezier(0.2,0.7,0.3,1), box-shadow 0.4s;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -16px rgba(20,17,14,0.16);
}
.blog-cover {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-2);
}
.blog-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2,0.7,0.3,1);
}
.blog-card:hover .blog-cover img { transform: scale(1.04); }
.blog-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(15,12,10,0.78);
  backdrop-filter: blur(14px);
  color: var(--cream);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(255,245,230,0.12);
}
.blog-body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 14px;
}
.blog-meta .dot { opacity: 0.6; }
.blog-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.018em;
  margin: 0 0 14px 0;
  color: var(--ink);
}
.blog-title em {
  font-style: italic;
  color: var(--brand-orange);
}
.blog-excerpt {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.7;
  margin: 0 0 24px 0;
  flex: 1;
}
.blog-foot {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: auto;
}
.blog-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.blog-pills .pill {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,104,47,0.1);
  color: var(--brand-orange);
  border: 1px solid rgba(255,104,47,0.25);
}

@media (max-width: 1100px) {
  .blog-band { padding: 100px 32px; }
  .blog-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}

@media (max-width: 760px) {
  .blog-band { padding: 80px 20px; }
  .blog-band .section-head { flex-direction: column; gap: 24px; margin-bottom: 36px; }
  .blog-band h2 { font-size: clamp(40px, 9vw, 56px); }
  .blog-grid { grid-template-columns: 1fr; gap: 20px; }
  .blog-title { font-size: 24px; }
  .blog-body { padding: 22px 22px 26px; }
}
.cta-band {
  padding: 120px 56px;
  background: var(--warm-ink);
  color: var(--cream);
}
.cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}
.cta-h2 {
  font-size: clamp(44px, 5vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 24px 0 0 0;
}
.cta-blurb {
  font-size: 15px;
  line-height: 1.65;
  opacity: 0.75;
  margin: 0 0 32px 0;
}
.cta-form { display: flex; flex-direction: column; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cta-form input, .cta-form select, .cta-form textarea {
  background: rgba(255,245,230,0.06);
  border: 1px solid rgba(255,245,230,0.18);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--cream);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.cta-form input::placeholder, .cta-form textarea::placeholder { color: rgba(255,245,230,0.45); }
.cta-form input:focus, .cta-form select:focus, .cta-form textarea:focus {
  border-color: var(--brand-orange);
  background: rgba(255,245,230,0.09);
}
.cta-form select { color: rgba(255,245,230,0.85); }
.cta-form select option { background: var(--warm-ink); }
.cta-form textarea { font-family: var(--font-sans); resize: vertical; min-height: 80px; }
.form-actions { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.form-msg {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--brand-orange);
  margin-top: 8px;
  min-height: 14px;
}
.cta-meta {
  margin-top: 40px;
  display: flex;
  gap: 36px;
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  opacity: 0.5;
  flex-wrap: wrap;
}

/* ──────────────────────── REVEAL ON SCROLL ──────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.hero-v2.reveal { opacity: 1; transform: none; } /* hero shouldn't fade in */

/* ──────────────────────── DESKTOP-ONLY UTILITY ──────────────────────── */
.desktop-only { display: inline-flex; }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — Tablet + Mobile
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
  .prod-nav { padding: 18px 32px; }
  .prod-nav.scrolled { padding: 14px 32px; }
  .hero-left { padding: 24px 16px 40px 32px; }
  .hero-right { padding: 24px 32px 32px 16px; }
  .hero-grid { min-height: 700px; }
  .trust-strip { padding: 24px 32px; gap: 32px; }
  .intro-band, .services-band, .projects-band, .process-band, .cta-band { padding-left: 32px; padding-right: 32px; }
  .team-strip { padding-left: 32px; padding-right: 32px; }
  .intro-grid { gap: 48px; }
  .intro-h2 { font-size: clamp(40px, 6vw, 64px); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-feat { grid-column: span 2; }
  .team-grid { grid-template-columns: repeat(4, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .cta-grid { gap: 56px; }
}

@media (max-width: 760px) {
  /* Mobile nav */
  .prod-nav { padding: 14px 20px; }
  .alamir-nav-logo img.prod-logo-wordmark { display: none; }
  .alamir-nav-logo img.prod-logo-mark { display: block; height: 52px; }
  .prod-nav.scrolled .prod-logo-mark { height: 46px; }
  .prod-nav.scrolled { padding: 10px 20px; background: rgba(250, 246, 238, 0.95); }
  .alamir-nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--paper);
    padding: 24px 24px 32px;
    gap: 4px;
    align-items: flex-start;
    border-top: 1px solid rgba(20,17,14,0.08);
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }
  .alamir-nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .alamir-nav-links a {
    font-size: 22px;
    font-family: var(--font-display);
    padding: 8px 0;
    letter-spacing: -0.01em;
  }
  .hamburger { display: flex; }
  .desktop-only { display: none; }
  .prod-nav .alamir-nav-cta .btn-orange { display: none; }

  /* Hero */
  .hero-v2 { padding-top: 80px; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 24px 20px 40px; min-width: 0; }
  .hero-right { padding: 0 20px 32px; min-width: 0; }
  .hero-image-wrap { min-height: 480px; border-radius: 16px; }
  .hero-headline { font-size: clamp(44px, 12vw, 64px); }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
  .hero-stats .stat .n { font-size: 36px; }
  .hero-caption-card { max-width: calc(100% - 32px); padding: 16px 18px; }
  .hero-live-pill { padding: 8px 12px; font-size: 10px; }
  .hero-cta-row { margin-top: 36px; }
  .hero-cta-row .btn { flex: 1; justify-content: center; }
  
  /* Trust strip */
  .trust-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 20px;
  }
  .trust-tags {
    font-size: 18px;
    gap: 12px;
  }
  .trust-tags span:nth-child(even) { font-size: 14px; }

  /* Intro */
  .intro-band { padding: 80px 20px; }
  .intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .intro-h2 { font-size: clamp(38px, 9vw, 52px); }
  .intro-stats { grid-template-columns: 1fr 1fr; gap: 24px; }
  .intro-stats .stat-num { font-size: 44px; }

  /* Services */
  .services-band { padding: 80px 20px; }
  .services-band .section-head { flex-direction: column; gap: 24px; margin-bottom: 36px; }
  .services-band .section-head .left h2,
  .services-band h2 { font-size: clamp(40px, 9vw, 56px); }
  .services-grid { grid-template-columns: 1fr; }
  .svc-feat { grid-column: span 1; min-height: 320px; }
  .svc-feat h3 { font-size: 36px; }
  .svc-small { min-height: 200px; }
  .services-foot { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* Projects */
  .projects-band { padding: 80px 20px; }
  .projects-band .section-head { flex-direction: column; gap: 24px; margin-bottom: 36px; }
  .projects-band h2 { font-size: clamp(40px, 9vw, 56px); }
  .projects-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 12px;
  }
  .proj-large, .proj-tall, .proj-square, .proj-feature { grid-column: span 1; grid-row: span 1; height: 320px; }
  .proj-large { height: 380px; }
  .proj-small { grid-column: span 1; grid-row: span 1; height: 240px; }
  .proj-feature .name { font-size: 26px; }

  /* Process */
  .process-band { padding: 80px 20px; }
  .process-grid { grid-template-columns: 1fr; gap: 40px; }
  .process-h2 { font-size: clamp(36px, 8vw, 48px); }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .step-name { font-size: 22px; }
  
  /* Team */
  .team-strip { padding: 24px 20px 60px; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }

  /* CTA */
  .cta-band { padding: 80px 20px; }
  .cta-grid { grid-template-columns: 1fr; gap: 36px; }
  .cta-h2 { font-size: clamp(48px, 11vw, 72px); }
  .form-actions .btn { flex: 1; justify-content: center; text-align: center; }
  .cta-meta { gap: 18px; font-size: 10px; }

  /* Footer */
  .alamir-footer { padding: 60px 20px 32px; }
  .alamir-footer h3 { font-size: clamp(56px, 14vw, 80px); margin-bottom: 40px; }
  .alamir-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-top: 40px;
  }
  .alamir-footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; margin-top: 40px; }

  /* Section head adjust */
  .section-head { flex-direction: column; gap: 24px; margin-bottom: 40px; }
  .section-head .right { max-width: none; }
}

@media (max-width: 760px) {
  /* Hero stats: keep grid clean, give numbers room */
  .hero-stats { padding-right: 4px; }
}

@media (max-width: 440px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr; gap: 20px; }
  .alamir-footer-grid { grid-template-columns: 1fr; }
  /* Keep hero stats in a row even on tiny screens — just shrink the numbers */
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hero-stats .stat .n { font-size: 28px; }
  .hero-stats .stat .l { font-size: 9px; letter-spacing: 0.1em; }
  .intro-stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .intro-stats .stat-num { font-size: 36px; }
  /* CTA buttons centered, full-width, stacked */
  .hero-cta-row { flex-direction: column; }
  .hero-cta-row .btn { width: 100%; }
  /* Tighter hero on very small phones */
  .hero-v2 { padding-top: 72px; }
  .hero-left { padding: 20px 18px 32px; }
  .hero-right { padding: 0 18px 24px; }
  .hero-image-wrap { min-height: 380px; }
  /* Pool feature tile a touch shorter on tiny screens */
  .proj-feature { height: 280px; }
  .proj-feature .name { font-size: 22px; }
}
