/* ============================================================
   Akshar Digitals — Design System
   styles.css · v1.0
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,300;1,9..144,400&family=Mulish:wght@300;400;500;600;700&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
  --ink:         #1C1F26;
  --ember:       #D95F3B;
  --ember-light: #F0926D;
  --sand:        #F5EFE6;
  --sage:        #4A7966;
  --sage-light:  #EAF2EE;
  --cream:       #FFFDF9;
  --stone:       #8A8680;
  --border:      #E8E3DC;
  --ff-display:  'Fraunces', serif;
  --ff-body:     'Mulish', sans-serif;

  /* Shadows */
  --shadow-card:  0 2px 16px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.10);
  --shadow-nav:   0 1px 0 var(--border);

  /* Transitions */
  --transition: 0.2s ease;

  /* Layout */
  --max-width: 1100px;
  --section-pad: 56px 0;
  --nav-height: 68px;
}

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

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

body {
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  -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-family: var(--ff-body);
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* ---- Layout Utilities ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 20px;
}

.section {
  padding: var(--section-pad);
}

.section--sand   { background-color: var(--sand); }
.section--ink    { background-color: var(--ink); color: var(--cream); }
.section--sage   { background-color: var(--sage-light); }
.section--compact-top { padding-top: 40px; }
.section--compact-top .contact-layout { margin-top: 16px; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

.h1 {
  font-size: clamp(38px, 6vw, 60px);
  font-weight: 600;
}

.h2 {
  font-size: clamp(28px, 4vw, 38px);
}

.h3 {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 400;
}

.h4 {
  font-size: 20px;
  font-weight: 600;
}

em {
  font-style: italic;
  color: var(--ember);
}

/* On dark backgrounds, em stays ember-light */
.section--ink em,
.cta-section em {
  color: var(--ember-light);
}

.body-lg {
  font-size: 17px;
  line-height: 1.75;
}

.body {
  font-size: 15px;
  line-height: 1.7;
}

.body-sm {
  font-size: 13px;
  line-height: 1.65;
  color: var(--stone);
}

/* ---- Section Label ---- */
.section-label {
  display: block;
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 12px;
}

.section--ink .section-label {
  color: var(--ember-light);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 13px 28px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--ember);
  color: var(--cream);
  border-color: var(--ember);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: #C24E2C;
  border-color: #C24E2C;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-1px);
}

/* Secondary on dark bg */
.section--ink .btn-secondary,
.cta-section .btn-secondary {
  color: var(--cream);
  border-color: var(--cream);
}
.section--ink .btn-secondary:hover,
.cta-section .btn-secondary:hover {
  background: var(--cream);
  color: var(--ink);
}

.btn-ghost {
  background: var(--sand);
  color: var(--ink);
  border-color: transparent;
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--border);
  transform: translateY(-1px);
}

.btn-sm {
  font-size: 13px;
  padding: 8px 18px;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ---- Cards ---- */
.card {
  background: var(--cream);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.card--sand {
  background: var(--sand);
  box-shadow: none;
  border-color: transparent;
}
.card--sand:hover {
  box-shadow: var(--shadow-card);
}

/* ---- Navigation ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-nav);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 20px;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-mark {
  width: 36px;
  height: 36px;
  background: var(--ember);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -1px;
  flex-shrink: 0;
}

.nav__logo-wordmark {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.3px;
}

.nav__logo-wordmark .dot {
  color: var(--ember);
}

/* Nav links */
.nav__links {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-family: var(--ff-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  transition: color var(--transition);
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--ember);
  transition: width var(--transition);
}

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

.nav__link.active::after,
.nav__link:hover::after {
  width: 100%;
}

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  flex-shrink: 0;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

.nav__hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  background: var(--cream);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px 20px;
}

.nav__mobile.open {
  display: flex;
}

.nav__mobile .nav__link {
  font-size: 24px;
  font-family: var(--ff-display);
  font-weight: 600;
}

.nav__mobile .nav__link::after {
  display: none;
}

.nav__mobile .btn {
  margin-top: 8px;
}

/* ---- Footer ---- */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 60px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.footer__logo-mark {
  width: 36px;
  height: 36px;
  background: var(--ember);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -1px;
  flex-shrink: 0;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer__wordmark {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: -0.3px;
}

.footer__wordmark .dot {
  color: var(--ember-light);
}

.footer__tagline {
  font-size: 14px;
  color: rgba(255, 253, 249, 0.55);
  line-height: 1.6;
  max-width: 240px;
}

.footer__nav-heading,
.footer__contact-heading {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ember-light);
  margin-bottom: 16px;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav-list a {
  font-size: 14px;
  color: rgba(255, 253, 249, 0.65);
  text-decoration: none;
  transition: color var(--transition);
}
.footer__nav-list a:hover {
  color: var(--cream);
}

.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__contact-list a {
  font-size: 14px;
  color: rgba(255, 253, 249, 0.65);
  text-decoration: none;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer__contact-list a:hover {
  color: var(--cream);
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: rgba(255, 253, 249, 0.65);
  text-decoration: none;
  transition: color var(--transition);
}
.footer__social-link:hover {
  color: var(--cream);
}

.footer__social-link svg {
  flex-shrink: 0;
}

.footer__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 253, 249, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__copy {
  font-size: 12px;
  color: rgba(255, 253, 249, 0.35);
  text-align: center;
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(160deg, var(--cream) 0%, var(--sand) 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(217, 95, 59, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(74, 121, 102, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero__headline {
  font-family: var(--ff-display);
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.12;
  margin-bottom: 24px;
}

.hero__sub {
  font-size: 17px;
  line-height: 1.75;
  color: var(--stone);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---- Social Proof Bar ---- */
.proof-bar {
  background: var(--ink);
  padding: 18px 0;
}

.proof-bar__list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.proof-bar__item {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 253, 249, 0.75);
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.proof-bar__item::before {
  content: '✦';
  color: var(--ember-light);
  font-size: 10px;
}

/* ---- Service Cards ---- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}

.service-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(217, 95, 59, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ember);
  margin-bottom: 20px;
  flex-shrink: 0;
}

.service-card__name {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.service-card__copy {
  font-size: 15px;
  line-height: 1.7;
  color: var(--stone);
  margin-bottom: 16px;
}

.service-card__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--ember);
}

/* ---- Value Pillars ---- */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.pillar__icon {
  width: 44px;
  height: 44px;
  background: rgba(217, 95, 59, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ember);
  flex-shrink: 0;
}

.pillar__title {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.pillar__copy {
  font-size: 15px;
  color: var(--stone);
  line-height: 1.65;
}

/* ---- Portfolio / Work Cards ---- */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

.work-card {
  background: var(--cream);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
}
.work-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.work-card__thumb {
  height: 200px;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.work-card__thumb--adroit {
  background: linear-gradient(135deg, #1C1F26 0%, #2E3340 100%);
}

.work-card__thumb--pramukh {
  background: linear-gradient(135deg, #4A7966 0%, #3A6155 100%);
}

.work-card__thumb--placeholder {
  background: linear-gradient(135deg, var(--sand) 0%, var(--border) 100%);
}

.work-card__thumb-text {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--cream);
  opacity: 0.4;
  letter-spacing: -0.5px;
}

.work-card__thumb--placeholder .work-card__thumb-text {
  color: var(--stone);
}

.work-card__body {
  padding: 24px;
}

.work-card__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--stone);
}

.badge--ember {
  background: rgba(217, 95, 59, 0.1);
  color: var(--ember);
}

.work-card__title {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.work-card__desc {
  font-size: 15px;
  color: var(--stone);
  line-height: 1.7;
  margin-bottom: 12px;
}

.work-card__outcome {
  font-size: 13px;
  font-weight: 600;
  color: var(--sage);
  margin-bottom: 20px;
}

.work-card__outcome::before {
  content: '✓ ';
}

.work-card__link {
  font-size: 14px;
  font-weight: 700;
  color: var(--ember);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition), color var(--transition);
}
.work-card__link:hover {
  gap: 8px;
  color: #C24E2C;
}

/* Placeholder work card */
.work-card--placeholder .work-card__body {
  text-align: center;
}

/* ---- CTA Section ---- */
.cta-section {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: 80px 0;
}

.cta-section .h2 {
  color: var(--cream);
  margin-bottom: 16px;
}

.cta-section__sub {
  font-size: 17px;
  color: rgba(255, 253, 249, 0.6);
  max-width: 500px;
  margin-inline: auto;
  margin-bottom: 36px;
  line-height: 1.7;
}

/* ---- Page Header ---- */
.page-header {
  background: linear-gradient(160deg, var(--cream) 0%, var(--sand) 100%);
  padding: 72px 0 60px;
}

.page-header__headline {
  font-family: var(--ff-display);
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 640px;
}

.page-header__sub {
  font-size: 17px;
  color: var(--stone);
  max-width: 540px;
  line-height: 1.7;
}

/* ---- Services Page: Service Blocks ---- */
.service-block {
  background: var(--cream);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}

.service-block:last-child {
  margin-bottom: 0;
}

.service-block__icon {
  width: 52px;
  height: 52px;
  background: rgba(217, 95, 59, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ember);
  margin-bottom: 16px;
}

.service-block__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.service-block__name {
  font-family: var(--ff-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
}

.service-block__price {
  font-family: var(--ff-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--ember);
}

.service-block__ideal {
  font-size: 14px;
  color: var(--stone);
  margin-bottom: 20px;
  font-style: italic;
}

.service-block__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.service-block__list li {
  font-size: 15px;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.service-block__list li::before {
  content: '✓';
  color: var(--sage);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-block__turnaround {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--stone);
  background: var(--sand);
  border-radius: 999px;
  padding: 6px 14px;
}

/* ---- Process Steps ---- */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
  counter-reset: process;
}

.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.process-step__num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ember);
  color: var(--cream);
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step__title {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.process-step__copy {
  font-size: 15px;
  color: var(--stone);
  line-height: 1.7;
}

/* ---- FAQ (details/summary accordion) ---- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--border);
}

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

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  gap: 16px;
}

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

.faq-item summary::after {
  content: '+';
  font-family: var(--ff-body);
  font-size: 22px;
  font-weight: 300;
  color: var(--ember);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item__answer {
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--stone);
  line-height: 1.7;
  max-width: 640px;
}

/* ---- About: Differentiator Cards ---- */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}

.diff-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
}
.diff-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.diff-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(217, 95, 59, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ember);
  margin-bottom: 18px;
  flex-shrink: 0;
}

.diff-card__title {
  font-family: var(--ff-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.diff-card__copy {
  font-size: 15px;
  color: var(--stone);
  line-height: 1.7;
}

/* ---- Contact Form ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-top: 48px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group:last-of-type {
  margin-bottom: 0;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.2px;
}

.form-label .optional {
  color: var(--stone);
  font-weight: 400;
  margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  font-size: 15px;
  font-family: var(--ff-body);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--stone);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--ember);
  box-shadow: 0 0 0 3px rgba(217, 95, 59, 0.12);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A8680' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-success {
  display: none;
  background: var(--sage-light);
  border: 1.5px solid var(--sage);
  border-radius: 12px;
  padding: 20px 24px;
  text-align: center;
}

.form-success.visible {
  display: block;
}

.form-success__emoji {
  font-size: 32px;
  margin-bottom: 10px;
}

.form-success__text {
  font-size: 16px;
  font-weight: 600;
  color: var(--sage);
}

/* Contact sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-detail__icon {
  width: 38px;
  height: 38px;
  background: rgba(217, 95, 59, 0.08);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ember);
  flex-shrink: 0;
}

.contact-detail__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--stone);
  margin-bottom: 2px;
}

.contact-detail__value {
  font-size: 15px;
  color: var(--ink);
}

.contact-detail__value a {
  color: var(--ember);
  text-decoration: none;
  transition: color var(--transition);
}
.contact-detail__value a:hover {
  color: #C24E2C;
}

.contact-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.contact-social__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.contact-social__link:hover {
  border-color: var(--ember);
  color: var(--ember);
  background: rgba(217, 95, 59, 0.04);
}

/* ---- 404 Page ---- */
.notfound {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.notfound__code {
  font-family: var(--ff-display);
  font-size: clamp(80px, 20vw, 160px);
  font-weight: 600;
  color: var(--ember);
  line-height: 1;
  margin-bottom: 8px;
  opacity: 0.18;
}

.notfound__headline {
  font-family: var(--ff-display);
  font-size: clamp(26px, 4vw, 40px);
  color: var(--ink);
  margin-bottom: 16px;
}

.notfound__sub {
  font-size: 16px;
  color: var(--stone);
  max-width: 400px;
  margin-inline: auto;
  margin-bottom: 36px;
  line-height: 1.7;
}

/* ---- Utility Classes ---- */
.text-center  { text-align: center; }
.text-ember   { color: var(--ember); }
.text-stone   { color: var(--stone); }
.text-cream   { color: var(--cream); }
.text-ink     { color: var(--ink); }
.text-sage    { color: var(--sage); }

.mt-8   { margin-top: 8px; }
.mt-12  { margin-top: 12px; }
.mt-16  { margin-top: 16px; }
.mt-24  { margin-top: 24px; }
.mt-32  { margin-top: 32px; }
.mt-40  { margin-top: 40px; }
.mt-48  { margin-top: 48px; }

.mb-8   { margin-bottom: 8px; }
.mb-12  { margin-bottom: 12px; }
.mb-16  { margin-bottom: 16px; }
.mb-24  { margin-bottom: 24px; }
.mb-32  { margin-bottom: 32px; }
.mb-40  { margin-bottom: 40px; }
.mb-48  { margin-bottom: 48px; }

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }

/* ---- Responsive: 768px (Tablet) ---- */
@media (min-width: 768px) {
  :root {
    --section-pad: 80px 0;
  }

  .container {
    padding-inline: 32px;
  }

  /* Nav */
  .nav__links {
    display: flex;
  }
  .nav__hamburger {
    display: none;
  }

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

  /* Pillars */
  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Work grid */
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  /* Diff grid */
  .diff-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Contact */
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }

  /* Proof bar */
  .proof-bar__list {
    gap: 0;
    justify-content: space-around;
  }
}

/* ---- Responsive: 1100px (Desktop) ---- */
@media (min-width: 1100px) {
  .container {
    padding-inline: 40px;
  }

  /* Services grid: 3 cols on desktop */
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Work grid: 3 cols */
  .work-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Process: 4 cols */
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Process step: vertical (no horizontal flex gap needed) */
  .process-step {
    flex-direction: column;
    gap: 16px;
  }

  /* Footer: 3 cols */
  .footer__grid {
    grid-template-columns: 2fr 1fr 1.5fr;
  }

  /* Contact: 3fr / 2fr */
  .contact-layout {
    grid-template-columns: 3fr 2fr;
    gap: 64px;
  }
}

/* ---- Screen-reader only (visually hidden but accessible) ---- */
.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;
}

/* ---- Focus Visible (accessibility) ---- */
:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  border-radius: 4px;
}
