/* ==========================================================================
   Grove Foundry — Stylesheet (mobile-first)
   Loads after variables.css via separate <link> tag
   ========================================================================== */

/* ==========================================================================
   Reset / Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text-dark);
  background-color: var(--color-bg-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: var(--leading-tight);
  font-weight: var(--weight-bold);
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--color-accent-warm);
  color: #fff;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  z-index: var(--z-modal);
  font-weight: var(--weight-medium);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-md);
}

/* Focus indicators */
:focus-visible {
  outline: 2px solid var(--color-accent-warm);
  outline-offset: 2px;
}

/* Screen reader only */
.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;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* Section spacing */
.section {
  padding: var(--space-4xl) 0;
}

.section--dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  position: relative;
}

.section--light {
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
}

/* Noise/grain overlay on dark sections — CSS-only multi-gradient approach */
.section--dark::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.035;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 40%),
    radial-gradient(circle at 40% 80%, rgba(255,255,255,0.05) 0%, transparent 45%),
    radial-gradient(circle at 60% 30%, rgba(255,255,255,0.04) 0%, transparent 35%);
  z-index: 0;
}

.section--dark > * {
  position: relative;
  z-index: 1;
}

/* Section transition gradient bleed */
.section--dark + .section--light {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.section--light + .section--dark {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* ==========================================================================
   Typography
   ========================================================================== */

.heading-1 {
  font-size: var(--text-3xl);
  font-weight: var(--weight-extrabold);
  letter-spacing: -0.02em;
}

.heading-2 {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  letter-spacing: -0.01em;
}

.heading-3 {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
}

.heading-4 {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
}

.text-muted {
  color: var(--color-text-muted);
}

.section--dark .text-muted {
  color: var(--color-light-60);
}

.text-accent {
  color: var(--color-accent-green);
}

.text-mono {
  font-family: var(--font-mono);
}

.text-center {
  text-align: center;
}

.text-balance {
  text-wrap: balance;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast),
              color var(--transition-fast),
              transform var(--transition-fast);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background-color: var(--color-accent-warm);
  color: #fff;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: var(--color-accent-warm-hover);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-text-light);
  border: 1px solid rgba(232, 228, 222, 0.3);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  border-color: rgba(232, 228, 222, 0.6);
  background-color: rgba(232, 228, 222, 0.05);
}

.btn--secondary-dark {
  color: var(--color-text-dark);
  border: 1px solid rgba(42, 47, 46, 0.2);
}

.btn--secondary-dark:hover,
.btn--secondary-dark:focus-visible {
  border-color: rgba(42, 47, 46, 0.4);
  background-color: rgba(42, 47, 46, 0.03);
}

.btn--large {
  padding: 1rem 2.25rem;
  font-size: var(--text-base);
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  transition: background-color var(--transition-base),
              box-shadow var(--transition-base);
}

.site-header--transparent {
  background-color: transparent;
}

.site-header--solid {
  background-color: var(--color-bg-dark);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

/* Inner pages: always solid */
.site-header--inner {
  background-color: var(--color-bg-dark);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-text-light);
  letter-spacing: -0.02em;
}

.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-xl);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-light-70);
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-text-light);
}

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-accent-green);
  border-radius: 1px;
}

.nav__cta {
  display: none;
}

/* Hamburger */
.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  background: none;
  border: none;
  cursor: pointer;
  z-index: var(--z-overlay);
}

.nav__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-light);
  border-radius: 1px;
  transition: transform var(--transition-base),
              opacity var(--transition-base);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: var(--color-bg-dark);
  z-index: var(--z-overlay);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base),
              visibility var(--transition-base);
}

.mobile-menu[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__link {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  color: var(--color-text-light);
  transition: color var(--transition-fast);
}

.mobile-menu__link:hover {
  color: var(--color-accent-green);
}

.mobile-menu__cta {
  margin-top: var(--space-lg);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 4.5rem;
}

.hero__content {
  max-width: 720px;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-accent-green);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero__label svg {
  width: 16px;
  height: 16px;
}

.hero__title {
  font-size: var(--text-3xl);
  font-weight: var(--weight-extrabold);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: var(--text-md);
  line-height: var(--leading-normal);
  color: var(--color-light-70);
  margin-bottom: var(--space-2xl);
  max-width: 560px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.hero__location {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-light-50);
}

.hero__location svg {
  width: 14px;
  height: 14px;
  opacity: 0.5;
}

/* ==========================================================================
   Services Overview (Homepage)
   ========================================================================== */

.services-overview {
  text-align: center;
}

.services-overview__intro {
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
}

.services-overview__intro p {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  margin-top: var(--space-md);
}

.services-grid {
  display: grid;
  gap: var(--space-xl);
}

.service-card {
  text-align: left;
  padding: var(--space-2xl);
  border: 1px solid var(--color-dark-10);
  border-radius: var(--radius-md);
  transition: box-shadow var(--transition-base),
              transform var(--transition-base);
}

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

.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-lg);
  color: var(--color-accent-green);
}

.service-card__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-sm);
}

.service-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-lg);
}

.service-card__items {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.service-card__tag {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  padding: 0.25rem 0.75rem;
  background-color: rgba(90, 122, 100, 0.08);
  color: var(--color-accent-green);
  border-radius: 100px;
}

/* ==========================================================================
   Credibility Bar
   ========================================================================== */

.credibility {
  text-align: center;
}

.credibility__stats {
  display: grid;
  gap: var(--space-2xl);
}

.credibility__stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.credibility__number {
  font-family: var(--font-mono);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--color-accent-warm);
}

.credibility__label {
  font-size: var(--text-sm);
  color: var(--color-light-60);
}

/* ==========================================================================
   Value Proposition
   ========================================================================== */

.value-prop {
  text-align: center;
}

.value-prop__intro {
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
}

.value-prop__intro p {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  margin-top: var(--space-md);
}

.value-grid {
  display: grid;
  gap: var(--space-xl);
  text-align: left;
}

.value-item {
  padding: var(--space-xl);
}

.value-item__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-sm);
}

.value-item__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
  text-align: center;
}

.cta-section__title {
  margin-bottom: var(--space-md);
}

.cta-section__text {
  font-size: var(--text-md);
  color: var(--color-light-70);
  margin-bottom: var(--space-2xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA on light backgrounds */
.cta-section--light .cta-section__title {
  color: var(--color-text-dark);
}

.cta-section--light .cta-section__text {
  color: var(--color-text-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  border-top: 1px solid rgba(232, 228, 222, 0.08);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__top {
  display: grid;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-sm);
}

.footer__brand-tagline {
  font-size: var(--text-sm);
  color: var(--color-light-50);
  max-width: 280px;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-light-40);
  margin-bottom: var(--space-md);
}

.footer__link {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-light-70);
  margin-bottom: var(--space-sm);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-text-light);
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-light-70);
  transition: color var(--transition-fast);
}

.footer__social-link:hover {
  color: var(--color-text-light);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(232, 228, 222, 0.08);
  font-size: var(--text-xs);
  color: var(--color-light-40);
}

/* ==========================================================================
   Services Page — Detailed Sections
   ========================================================================== */

.service-detail {
  padding: var(--space-4xl) 0;
}

.service-detail__label {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-accent-green);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-md);
}

.service-detail__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
}

.service-detail__desc {
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-2xl);
  max-width: 640px;
}

.section--dark .service-detail__desc {
  color: var(--color-light-70);
}

.section--light .service-detail__desc {
  color: var(--color-text-muted);
}

.service-detail__grid {
  display: grid;
  gap: var(--space-lg);
}

.service-detail__item {
  padding: var(--space-lg);
  border-radius: var(--radius-md);
}

.section--dark .service-detail__item {
  background-color: rgba(232, 228, 222, 0.04);
  border: 1px solid rgba(232, 228, 222, 0.06);
}

.section--light .service-detail__item {
  background-color: #fff;
  border: 1px solid rgba(42, 47, 46, 0.06);
  box-shadow: var(--shadow-sm);
}

.service-detail__item-title {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-xs);
}

.service-detail__item-desc {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

.section--dark .service-detail__item-desc {
  color: var(--color-light-60);
}

.section--light .service-detail__item-desc {
  color: var(--color-text-muted);
}

/* ==========================================================================
   How We Work — Process Timeline
   ========================================================================== */

.process-timeline {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.process-step {
  position: relative;
  padding-left: var(--space-3xl);
  padding-bottom: var(--space-2xl);
}

.process-step:last-child {
  padding-bottom: 0;
}

/* Timeline line */
.process-step::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 36px;
  bottom: 0;
  width: 1px;
  background-color: rgba(42, 47, 46, 0.12);
}

.process-step:last-child::before {
  display: none;
}

.process-step__number {
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-accent-green);
  color: #fff;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-sm);
  padding-top: var(--space-xs);
}

.process-step__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
}

/* Engagement models */
.engagement-grid {
  display: grid;
  gap: var(--space-xl);
}

.engagement-card {
  padding: var(--space-2xl);
  border-radius: var(--radius-md);
  background-color: rgba(232, 228, 222, 0.04);
  border: 1px solid rgba(232, 228, 222, 0.06);
}

.engagement-card__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-sm);
}

.engagement-card__desc {
  font-size: var(--text-sm);
  color: var(--color-light-60);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-md);
}

.engagement-card__detail {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--color-accent-green);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   About Page
   ========================================================================== */

.about-intro {
  display: grid;
  gap: var(--space-2xl);
  align-items: start;
}

.about-intro__photo {
  width: 100%;
  max-width: 300px;
}

.about-intro__photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}

.about-intro__caption {
  margin-top: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.about-intro__text p {
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-md);
  color: var(--color-text-muted);
}

.about-intro__text p:first-child {
  font-size: var(--text-lg);
  color: var(--color-text-dark);
}

.values-grid {
  display: grid;
  gap: var(--space-xl);
}

.value-card {
  padding: var(--space-xl);
  background-color: rgba(232, 228, 222, 0.04);
  border: 1px solid rgba(232, 228, 222, 0.06);
  border-radius: var(--radius-md);
}

.value-card__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-sm);
}

.value-card__desc {
  font-size: var(--text-sm);
  color: var(--color-light-60);
  line-height: var(--leading-normal);
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-layout {
  display: grid;
  gap: var(--space-3xl);
}

.contact-form__group {
  margin-bottom: var(--space-lg);
}

.contact-form__label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-sm);
}

.contact-form__input,
.contact-form__textarea,
.contact-form__select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: var(--text-base);
  border: 1px solid rgba(42, 47, 46, 0.15);
  border-radius: var(--radius-sm);
  background-color: #fff;
  transition: border-color var(--transition-fast),
              box-shadow var(--transition-fast);
}

.contact-form__input:focus,
.contact-form__textarea:focus,
.contact-form__select:focus {
  border-color: var(--color-accent-green);
  box-shadow: 0 0 0 3px rgba(90, 122, 100, 0.1);
  outline: none;
}

.contact-form__textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form__select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23636866' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.contact-form__hint {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

.contact-form__honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.contact-form__status {
  margin-top: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  display: none;
}

.contact-form__status--success {
  display: block;
  background-color: rgba(90, 122, 100, 0.1);
  color: var(--color-accent-green);
  border: 1px solid rgba(90, 122, 100, 0.2);
}

.contact-form__status--error {
  display: block;
  background-color: rgba(196, 133, 58, 0.1);
  color: var(--color-accent-warm);
  border: 1px solid rgba(196, 133, 58, 0.2);
}

.contact-details__item {
  margin-bottom: var(--space-xl);
}

.contact-details__heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.contact-details__value {
  font-size: var(--text-base);
}

.contact-details__value a {
  color: var(--color-accent-green);
  transition: color var(--transition-fast);
}

.contact-details__value a:hover {
  color: var(--color-accent-green-hover);
}

/* ==========================================================================
   Inner Page Shared — Section Intros
   ========================================================================== */

.section-intro {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-intro p {
  font-size: var(--text-md);
  margin-top: var(--space-md);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.section--dark .section-intro p {
  color: var(--color-light-70);
}

.section--light .section-intro p {
  color: var(--color-text-muted);
}

/* What happens next */
.contact-next {
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(42, 47, 46, 0.1);
}

.contact-next p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
}

/* ==========================================================================
   Page Headers (Inner Pages)
   ========================================================================== */

.page-header {
  padding-top: calc(4.5rem + var(--space-4xl));
  padding-bottom: var(--space-3xl);
}

.page-header__breadcrumb {
  font-size: var(--text-sm);
  margin-bottom: var(--space-lg);
}

.page-header__breadcrumb ol {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.page-header__breadcrumb a {
  color: var(--color-light-50);
  transition: color var(--transition-fast);
}

.page-header__breadcrumb a:hover {
  color: var(--color-text-light);
}

.page-header__breadcrumb-sep {
  color: rgba(232, 228, 222, 0.3);
}

.page-header__breadcrumb-current {
  color: var(--color-text-light);
}

.page-header__title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

.page-header__desc {
  font-size: var(--text-md);
  color: var(--color-light-70);
  max-width: 560px;
}

/* ==========================================================================
   404 Page
   ========================================================================== */

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-page__code {
  font-family: var(--font-mono);
  font-size: var(--text-5xl);
  font-weight: var(--weight-bold);
  color: var(--color-accent-green);
  opacity: 0.3;
  margin-bottom: var(--space-md);
}

.error-page__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
}

.error-page__desc {
  font-size: var(--text-md);
  color: var(--color-light-70);
  margin-bottom: var(--space-2xl);
}

/* ==========================================================================
   Animations
   ========================================================================== */

/* Hero stagger animations */
.hero__content > * {
  opacity: 0;
  transform: translateY(20px);
}

.hero--loaded .hero__content > * {
  animation: fadeUp 0.6s ease forwards;
}

.hero--loaded .hero__content > *:nth-child(1) { animation-delay: 0.1s; }
.hero--loaded .hero__content > *:nth-child(2) { animation-delay: 0.2s; }
.hero--loaded .hero__content > *:nth-child(3) { animation-delay: 0.35s; }
.hero--loaded .hero__content > *:nth-child(4) { animation-delay: 0.5s; }
.hero--loaded .hero__content > *:nth-child(5) { animation-delay: 0.6s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveals */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger--visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger--visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger--visible > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger--visible > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger--visible > *:nth-child(5) { transition-delay: 0.4s; }

.reveal-stagger--visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero__content > *,
  .reveal,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   Responsive — Tablet (768px+)
   ========================================================================== */

@media (min-width: 768px) {
  .heading-1 {
    font-size: var(--text-4xl);
  }

  .heading-2 {
    font-size: var(--text-3xl);
  }

  .hero__title {
    font-size: var(--text-4xl);
  }

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

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

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

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

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

  .about-intro {
    grid-template-columns: 280px 1fr;
  }

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

  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
  }

  .footer__top {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .page-header__title {
    font-size: var(--text-4xl);
  }
}

/* ==========================================================================
   Responsive — Desktop (1024px+)
   ========================================================================== */

@media (min-width: 1024px) {
  :root {
    --container-padding: 2rem;
  }

  .heading-1 {
    font-size: var(--text-5xl);
  }

  .hero__title {
    font-size: var(--text-5xl);
  }

  /* Show desktop nav, hide hamburger */
  .nav__links {
    display: flex;
  }

  .nav__cta {
    display: inline-flex;
  }

  .nav__toggle {
    display: none;
  }

  .section {
    padding: var(--space-5xl) 0;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .page-header__title {
    font-size: var(--text-5xl);
  }
}
