/* ── HERO ────────────────────────────────────────────────────────────── */
/* The two variants come in as custom properties set on the element, because
   only the template can resolve a hashed static URL. Swapping them here means
   a phone fetches the 900px file (28 KB) instead of the 1920px one (117 KB). */
.hero {
  position: relative;
  min-height: 100svh;
  background-image: var(--hero-img);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero { background-image: var(--hero-img-sm); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(75deg, rgba(15, 17, 21, 0.88) 0%, rgba(15, 17, 21, 0.55) 45%, rgba(15, 17, 21, 0.15) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 3.5rem) 2rem 3.5rem;
}

.hero-inner h1 {
  max-width: 15em;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
}

.hero-sub {
  max-width: 34em;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--t-lo);
  margin-bottom: 2rem;
}

/* ── SERVICES ────────────────────────────────────────────────────────── */
.services-section .section-title a {
  color: inherit;
  transition: color var(--transition);
}

.services-section .section-title a:hover { color: var(--c-accent); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background-color: var(--c-ink-2);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  padding-bottom: 1.5rem;
  transition: transform var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(210, 162, 76, 0.45);
}

.service-card-img {
  height: 170px;
  background-position: center center;
  background-size: cover;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  padding: 0 1.5rem;
  margin-bottom: 0.75rem;
  transition: color var(--transition);
}

.service-card a:hover h3 { color: var(--c-accent); }

.service-card p {
  padding: 0 1.5rem;
  font-size: 0.93rem;
  line-height: 1.65;
  margin-bottom: 0.6rem;
}

.service-card i { color: var(--c-accent); font-style: normal; }

/* ── SELECTED WORK ───────────────────────────────────────────────────── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.work-card {
  background-color: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--c-line-dark);
  border-left: 3px solid var(--c-accent2);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.6rem 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.work-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(21, 24, 29, 0.10);
}

.work-client {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--t-ink);
  line-height: 1.25;
}

.work-meta {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-accent2);
  margin-top: 0.15rem;
  margin-bottom: 0.9rem;
}

.work-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.work-card p:not(.work-client):not(.work-meta) {
  font-size: 0.93rem;
  line-height: 1.7;
}

.work-note {
  max-width: 46em;
  margin-top: 2.25rem;
  padding-left: 1.1rem;
  border-left: 2px solid var(--c-accent2);
  font-size: 0.93rem;
  line-height: 1.7;
  font-style: italic;
}

/* ── ABOUT ───────────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.about-item svg {
  width: 40px;
  height: 40px;
  color: var(--c-accent);
  margin-bottom: 1.1rem;
}

.about-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.about-item p {
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 0.6rem;
}

.about-item i { color: var(--c-accent); font-style: normal; }

/* ── PROCESS ─────────────────────────────────────────────────────────── */
.process-intro {
  max-width: 46em;
  font-size: 1.02rem;
  line-height: 1.75;
  margin-top: -1.5rem;
  margin-bottom: 3rem;
}

.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 3rem;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.1rem;
  align-items: start;
}

.process-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--c-accent2);
  padding-top: 0.15rem;
  grid-row: 1 / span 2;
}

.process-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.95rem;
  line-height: 1.7;
  grid-column: 2;
}

.process-note {
  max-width: 46em;
  margin-top: 2.75rem;
  padding-left: 1.1rem;
  border-left: 2px solid var(--c-accent2);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── FOUNDER ─────────────────────────────────────────────────────────── */
.founder-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: start;
}

.founder-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin-bottom: 1.1rem;
  object-fit: cover;
  border: 1px solid rgba(210, 162, 76, 0.35);
}

.founder-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--t-hi);
}

.founder-role {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.founder-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--t-dim);
  transition: color var(--transition);
}

.founder-linkedin:hover { color: var(--c-accent); }
.founder-linkedin svg { width: 16px; height: 16px; flex-shrink: 0; }

.founder-bio p {
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 0.9rem;
  max-width: 44em;
}

.founder-bio i { color: var(--c-accent); font-style: normal; }

.founder-facts {
  list-style: none;
  margin: 1.75rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.founder-facts li {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--t-dim);
}

.founder-facts strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--c-accent);
  margin-bottom: 0.15rem;
}

.founder-network {
  font-size: 0.95rem;
  color: var(--t-dim);
}

/* ── CONTACT (page-specific tweaks) ──────────────────────────────────── */
.contact-section .section-title { margin-bottom: 1rem; }

.services-section,
.work-section,
.about-section,
.process-section,
.founder-section,
.contact-section { scroll-margin-top: var(--nav-h); }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .hero-inner { padding: calc(var(--nav-h) + 2.5rem) 1.25rem 2.5rem; }
}

@media (max-width: 900px) {
  .service-grid,
  .about-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .about-grid { gap: 2.25rem; }

  .work-grid { grid-template-columns: 1fr; }

  .process-list { grid-template-columns: 1fr; gap: 2rem; }

  .founder-grid { grid-template-columns: 1fr; gap: 2rem; }

  .founder-aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

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

@media (max-width: 480px) {
  .founder-facts { grid-template-columns: 1fr; gap: 0.9rem; }
  .founder-photo { width: 120px; height: 120px; }
}
