/* Hamza Akhtar — Full Stack Developer Services */
:root {
  --ink: #0b1f3a;
  --ink-soft: #24364f;
  --ink-muted: #4a5d73;
  --paper: #f4f7f8;
  --paper-2: #e8eef1;
  --teal: #126b6e;
  --teal-bright: #1fa8a0;
  --teal-deep: #0a4a4d;
  --amber: #e8a838;
  --amber-soft: #f3d08a;
  --whatsapp: #128c7e;
  --whatsapp-dark: #075e54;
  --white: #ffffff;
  --line: rgba(11, 31, 58, 0.12);
  --shadow-soft: 0 18px 50px rgba(11, 31, 58, 0.08);
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-card: 0 24px 60px rgba(11, 31, 58, 0.12);
  --shadow-lift: 0 32px 80px rgba(11, 31, 58, 0.18);
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(31, 168, 160, 0.12), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(232, 168, 56, 0.1), transparent 50%),
    linear-gradient(180deg, #f7fafb 0%, var(--paper) 40%, #eef3f5 100%);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
  object-fit: cover;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal-deep);
}

h1, h2, h3, .logo-text, .hero-brand, .footer-brand, .step-num {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(244, 247, 248, 0.85);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(244, 247, 248, 0.94);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.logo:hover {
  color: var(--ink);
}

.logo-mark {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--amber-soft);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.logo-text {
  font-weight: 700;
  font-size: 1.05rem;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.35rem;
  margin-inline-start: auto;
}

.nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s var(--ease);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.nav-cta {
  color: var(--teal) !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-inline-start: auto;
}

.lang-select {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230b1f3a' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 0.65rem center;
  padding: 0.45rem 1.8rem 0.45rem 0.7rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  min-width: 7.5rem;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  padding: 0.55rem;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-nav {
  display: grid;
  gap: 0.35rem;
  padding: 0.5rem 1.25rem 1.25rem;
  border-top: 1px solid var(--line);
  background: rgba(244, 247, 248, 0.98);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 0.7rem 0.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 0.95rem 1.35rem;
  font-size: 1rem;
}

.btn-xl {
  padding: 1.15rem 1.7rem;
  font-size: 1.1rem;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white) !important;
  border-color: var(--whatsapp-dark);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  color: var(--white) !important;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.24);
  color: var(--white) !important;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(100vh, 920px);
  min-height: min(100dvh, 920px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(11, 31, 58, 0.92) 0%, rgba(11, 31, 58, 0.72) 42%, rgba(18, 107, 110, 0.55) 100%),
    linear-gradient(180deg, transparent 55%, rgba(11, 31, 58, 0.85) 100%);
  z-index: 1;
}

@keyframes heroZoom {
  from { transform: scale(1.03); }
  to { transform: scale(1.08); }
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding: calc(var(--header-h) + 2.5rem) 0 4rem;
}

.hero-eyebrow {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber-soft);
  animation: riseIn 0.9s var(--ease) both;
}

.hero-visual-stack {
  position: relative;
  min-height: 280px;
  display: none;
}

.hero-card {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-lift);
}

.hero-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.hero-card-main {
  width: 78%;
  margin-inline-start: auto;
}

.hero-card-float {
  position: absolute;
  inset-inline-start: 0;
  bottom: -1.25rem;
  width: 52%;
  transform: rotate(-3deg);
  animation: floatCard 6s ease-in-out infinite alternate;
}

@keyframes floatCard {
  from { transform: rotate(-3deg) translateY(0); }
  to { transform: rotate(-2deg) translateY(-10px); }
}

.hero-pills {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-pills li {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(31, 168, 160, 0.35), transparent),
    radial-gradient(ellipse 40% 40% at 85% 20%, rgba(232, 168, 56, 0.22), transparent);
  animation: meshDrift 14s ease-in-out infinite alternate;
  z-index: 1;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
  z-index: 1;
  pointer-events: none;
  animation: gridFade 1.2s var(--ease) both;
}

@keyframes meshDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-2%, 2%, 0) scale(1.05); }
}

@keyframes gridFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-content {
  max-width: 38rem;
}

.hero-brand {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--amber-soft);
  animation: riseIn 0.9s var(--ease) both;
}

.hero-title {
  margin: 0 0 1.1rem;
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  font-weight: 600;
  max-width: 22ch;
  color: var(--white);
  animation: riseIn 0.9s var(--ease) 0.12s both;
}

.hero-lead {
  margin: 0 0 2rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 36ch;
  color: rgba(232, 244, 243, 0.9);
  animation: riseIn 0.9s var(--ease) 0.22s both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: riseIn 0.9s var(--ease) 0.34s both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 750;
}

.section-head p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.1rem;
}

.section-head--center {
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
}

.services {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), transparent 40%);
}

/* Services — image cards */
.service-grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: 1fr;
}

.service-card {
  display: grid;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.service-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.service-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(11, 31, 58, 0.35));
  pointer-events: none;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  transition: transform 0.6s var(--ease);
}

.service-card:hover .service-card-media img {
  transform: scale(1.06);
}

.service-card-body {
  padding: 1.25rem 1.35rem 1.45rem;
}

.service-card-body h3 {
  margin: 0 0 0.55rem;
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--ink);
}

.service-card-body p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Showcase bento */
.showcase {
  padding-top: 0;
}

.bento {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.bento-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 220px;
  box-shadow: var(--shadow-soft);
}

.bento-item img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  transition: transform 0.7s var(--ease);
}

.bento-item:hover img {
  transform: scale(1.05);
}

.bento-item figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1rem 1.15rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  background: linear-gradient(180deg, transparent, rgba(11, 31, 58, 0.88));
}

/* AI */
.ai-section {
  background:
    radial-gradient(900px 400px at 0% 0%, rgba(232, 168, 56, 0.15), transparent),
    linear-gradient(135deg, rgba(11, 31, 58, 0.98), rgba(18, 107, 110, 0.94)),
    var(--ink);
  color: var(--white);
}

.ai-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.ai-visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-lift);
}

.ai-visual img {
  width: 100%;
  min-height: 280px;
  aspect-ratio: 4 / 3;
}

.ai-section .section-head p {
  color: rgba(232, 244, 243, 0.82);
}

.ai-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.ai-list li {
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 1.12rem;
  position: relative;
  padding-inline-start: 1.4rem;
}

.ai-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 1.55rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--amber);
}

/* Process */
.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  counter-reset: none;
}

.process-cards .process-card {
  display: grid;
  gap: 0.55rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.process-cards .process-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.process-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.process-thumb img {
  width: 100%;
  height: 100%;
}

.process-cards .process-card .step-num,
.process-cards .process-card h3,
.process-cards .process-card p {
  padding-inline: 1.15rem;
}

.process-cards .process-card p {
  padding-bottom: 1.25rem;
}

.step-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.08em;
}

.process-list h3 {
  margin: 0;
  font-size: 1.35rem;
}

.process-list p {
  margin: 0;
  color: var(--ink-muted);
}

/* Tech */
.tech {
  padding-top: 0;
}

.tech-line {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.7;
  color: var(--ink);
  max-width: 52rem;
  padding-block: 1.5rem;
  border-block: 1px solid var(--line);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 42rem;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.75rem;
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.85rem 0;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: inline-end;
  color: var(--teal);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 0.75rem;
  color: var(--ink-muted);
}

/* Contact */
.contact {
  background:
    radial-gradient(700px 320px at 20% 0%, rgba(31, 168, 160, 0.16), transparent),
    radial-gradient(600px 280px at 90% 100%, rgba(232, 168, 56, 0.14), transparent),
    var(--paper-2);
}

.contact-split {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

.contact-visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  box-shadow: var(--shadow-card);
}

.contact-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
}

.contact-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-panel h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.9rem, 3.8vw, 2.75rem);
}

.contact-panel > p {
  margin: 0 0 1.75rem;
  color: var(--ink-muted);
  font-size: 1.15rem;
}

.contact-note {
  margin: 1.25rem 0 0 !important;
  font-family: var(--font-display);
  font-size: 0.92rem !important;
  font-weight: 600;
  color: var(--teal) !important;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.25rem 0;
  background: rgba(255, 255, 255, 0.45);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-brand {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 750;
}

.footer-tag {
  margin: 0.25rem 0 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.footer-meta {
  text-align: end;
}

.footer-meta a {
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}

.footer-meta p {
  margin: 0.35rem 0 0;
  color: var(--ink-muted);
  font-size: 0.88rem;
}

/* FAB */
.fab-whatsapp {
  position: fixed;
  inset-inline-end: 1.15rem;
  bottom: 1.15rem;
  z-index: 90;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
  animation: fabIn 0.6s var(--ease) 1s both;
}

.fab-whatsapp:hover {
  transform: scale(1.06);
  background: var(--whatsapp-dark);
  color: var(--white);
}

@keyframes fabIn {
  from { opacity: 0; transform: translateY(16px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* RTL */
[dir="rtl"] .footer-meta {
  text-align: start;
}

[dir="rtl"] .hero-card-float {
  inset-inline-start: auto;
  inset-inline-end: 0;
  transform: rotate(3deg);
}

[dir="rtl"] .faq-item summary::after {
  float: left;
}

/* Responsive */
@media (min-width: 640px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, minmax(200px, 1fr));
  }

  .bento-a {
    grid-column: 1 / 3;
    min-height: 280px;
  }
}

@media (min-width: 860px) {
  .nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .header-actions {
    margin-inline-start: 0;
  }

  .mobile-nav {
    display: none !important;
  }

  .hero-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }

  .hero-visual-stack {
    display: block;
  }

  .ai-split {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .ai-list {
    grid-template-columns: 1fr 1fr;
    gap: 0 3rem;
  }

  .contact-split {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

@media (min-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .service-card:nth-child(1),
  .service-card:nth-child(2) {
    grid-column: span 2;
  }

  .process-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .bento {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    grid-template-rows: repeat(2, minmax(220px, 1fr));
  }

  .bento-a {
    grid-column: 1;
    grid-row: 1 / 3;
    min-height: 460px;
  }

  .bento-b {
    grid-column: 2;
    grid-row: 1;
  }

  .bento-c {
    grid-column: 3;
    grid-row: 1;
  }

  .bento-d {
    grid-column: 2 / 4;
    grid-row: 2;
  }
}

@media (max-width: 520px) {
  .header-actions .btn-sm {
    display: none;
  }

  .hero-content {
    padding-bottom: 3.5rem;
  }

  .footer-meta {
    text-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-photo {
    transform: none;
    animation: none;
  }
}
