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

:root {
  --bg-light: #F2EDE8;
  --bg-dark: #1A1A1A;
  --text-primary: #1A1A1A;
  --text-muted: #8A8A8A;
  --accent: #C45A30;
  --divider: #D4CFC9;
  --white: #F2EDE8;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-light);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== Hero Section ===== */
.hero {
  padding: 0;
  height: 100vh;
  min-height: 700px;
}

.hero-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: url('images/background/homepage-background-image.webp') center center / cover no-repeat;
}

.hero-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.05) 30%,
    rgba(0, 0, 0, 0.3) 100%
  );
  z-index: 1;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
}

.nav {
  transition: background 0.3s ease;
}

.nav.scrolled {
  background: var(--bg-light);
}

.nav.scrolled .nav-logo {
  color: var(--text-primary);
}

.nav.scrolled .logo-dot {
  color: var(--accent);
}

.nav.scrolled .nav-link {
  color: var(--text-primary);
}

.nav.scrolled .nav-link:hover {
  color: var(--accent);
}

.nav.scrolled .nav-cta {
  background: var(--bg-dark);
  color: var(--white);
}

.nav.scrolled .nav-cta:hover {
  background: var(--accent);
  color: #fff;
}

.nav-light .nav-logo {
  color: var(--text-primary);
}

.nav-light .logo-dot {
  color: var(--accent);
}

.nav-light .nav-link {
  color: var(--text-primary);
}

.nav-light .nav-link:hover {
  color: var(--accent);
}

.nav-light .nav-cta {
  background: var(--bg-dark);
  color: var(--white);
}

.nav-light .nav-cta:hover {
  background: var(--accent);
  color: #fff;
}

.nav-light .nav-hamburger span {
  background: var(--text-primary);
}

.nav-center {
  display: flex;
  gap: 40px;
}

.hero-sub-bar {
  position: absolute;
  bottom: 32px;
  left: 48px;
  right: 48px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 2px;
  color: #fff;
  text-decoration: none;
}

.logo-dot {
  color: var(--accent);
}

.nav-sub-text {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.nav-link {
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-cta {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--bg-dark);
  background: var(--white);
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 2px;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.nav-cta:hover {
  background: var(--accent);
  color: #fff;
}

/* ===== Hero Content ===== */
.hero-content {
  position: absolute;
  top: 45%;
  left: 13%;
  transform: translateY(-50%);
  z-index: 2;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.05;
  color: #fff;
  max-width: 700px;
}

.hero-headline .accent {
  color: var(--accent);
  font-style: italic;
}

/* ===== Services Section ===== */
.services {
  padding: 120px 64px 140px;
  max-width: 1400px;
  margin: 0 auto;
}

.services-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 80px;
}

.section-number {
  font-family: 'DM Sans', monospace;
  font-size: 14px;
  color: var(--text-muted);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(48px, 5vw, 72px);
  color: var(--text-primary);
}

/* ===== Service Items ===== */
.services-list {
  display: flex;
  flex-direction: column;
}

.service-item {
  display: grid;
  grid-template-columns: 60px 1fr 1fr;
  align-items: baseline;
  padding: 48px 0;
  border-top: 1px solid var(--divider);
  gap: 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.service-item:last-child {
  border-bottom: 1px solid var(--divider);
}

.service-number {
  font-family: 'DM Sans', monospace;
  font-size: 13px;
  color: var(--text-muted);
}

.service-name {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(24px, 2.5vw, 32px);
  color: var(--text-primary);
}

.accent-text {
  color: var(--accent);
  font-weight: 700;
}

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

.service-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 420px;
}

/* ===== Services CTA ===== */
.services-cta {
  margin-top: 64px;
  text-align: center;
}

.section-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 1.5px;
  font-weight: 500;
  color: var(--text-primary);
  background: none;
  padding: 0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.section-cta::after {
  content: '→';
  font-size: 18px;
  transition: transform 0.3s ease;
}

.section-cta:hover {
  color: var(--accent);
}

.section-cta:hover::after {
  transform: translateX(4px);
}

/* ===== Work Page ===== */
.work-bg {
  position: relative;
  overflow: hidden;
}

.work-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: url('images/background/boston-image-portfolio.webp') center top / cover no-repeat;
  opacity: 0.15;
  z-index: 0;
  mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
}

.work-page {
  position: relative;
  padding: 120px 64px 100px;
  max-width: 1400px;
  margin: 0 auto;
}

.work-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 64px;
}

.work-showcase {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 120px;
}

.work-showcase:last-of-type {
  margin-bottom: 0;
}

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

.work-showcase.reverse .work-image-container {
  order: 2;
}

.work-showcase.reverse .work-detail {
  order: 1;
}

.work-image-container {
  border-radius: 8px;
  overflow: hidden;
}

.work-image-container img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.work-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
}

.work-name {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(32px, 3vw, 48px);
  color: var(--text-primary);
  margin-top: 16px;
  line-height: 1.15;
}

.work-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-top: 24px;
  max-width: 400px;
}

.work-meta {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.work-visit {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--text-primary);
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.work-visit:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.work-tags {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== Learn More Button ===== */
.work-learn-more {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 500;
  color: var(--text-primary);
  background: none;
  border: none;
  border-bottom: 1px solid var(--text-primary);
  padding: 0 0 2px;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.work-learn-more:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ===== Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-light);
  border-radius: 12px;
  width: 100%;
  max-width: 1280px;
  height: 85vh;
  overflow: hidden;
  padding: 40px 48px;
  position: relative;
  display: flex;
  flex-direction: column;
  transform: scale(0.97);
  transition: transform 0.35s ease;
}

.modal-overlay.open .modal {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-body {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  grid-template-rows: 1fr;
  gap: 40px;
  flex: 1;
  min-height: 0;
}

/* ===== Modal Carousel (connected / peek) ===== */
.modal-carousel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

.modal-viewport {
  flex: 1;
  overflow: hidden;
  min-height: 0;
  background: #e8e3dd;
  border-radius: 8px;
  position: relative;
}

.modal-track {
  display: flex;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  transition: transform 0.5s ease;
  align-items: center;
  padding: 24px 0 24px 32px;
}

/* Device carousel (Moskow Linn) */
.carousel-device .modal-track {
  padding: 24px 0;
  width: 100%;
}

.carousel-device .modal-slide {
  flex: 0 0 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 40px 36px 40px;
  box-sizing: border-box;
}

/* Compare carousel (LivFit) */
.carousel-compare .modal-slide {
  flex: 0 0 auto;
  position: relative;
  height: 100%;
  margin-right: 32px;
}

.modal-desktop {
  width: 95%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.modal-desktop img {
  width: 100%;
  height: auto;
  display: block;
}

.modal-desktop {
  transition: transform 0.3s ease;
}

.modal-desktop:hover {
  transform: scale(1.05);
  z-index: 3;
}


.modal-mobile {
  position: absolute;
  right: 32px;
  bottom: 0;
  height: 80%;
  aspect-ratio: 9 / 19.5;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
  border: 6px solid #1a1a1a;
  z-index: 2;
  background: #1a1a1a;
  padding: 0;
}

.modal-mobile {
  transition: transform 0.3s ease;
}

.modal-mobile:hover {
  transform: scale(1.05);
  z-index: 11;
}

.modal-mobile::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 10px;
  background: #1a1a1a;
  border-radius: 10px;
  z-index: 3;
}

.modal-mobile img {
  width: 100%;
  height: calc(100% - 16px);
  margin-top: 16px;
  object-fit: contain;
  object-position: top;
  display: block;
  border-radius: 0 0 12px 12px;
}

.modal-placeholder {
  width: 100%;
  height: 100%;
  background: var(--divider);
  border-radius: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.modal-placeholder.mobile {
  background: #ccc8c2;
  font-size: 10px;
}

/* ===== Before/After Stacked Layout ===== */
.compare-stack {
  position: relative;
  height: 100%;
  aspect-ratio: 16 / 10;
}

.compare-old {
  position: absolute;
  top: 0;
  left: 0;
  width: 62%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.compare-new {
  position: absolute;
  bottom: 0;
  right: 12%;
  width: 62%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.compare-old img,
.compare-new img {
  width: 100%;
  height: auto;
  display: block;
}

.compare-old .modal-placeholder,
.compare-new .modal-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compare-label {
  position: absolute;
  bottom: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.5px;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  padding: 6px 14px;
  border-radius: 4px;
  z-index: 4;
}

.compare-old .compare-label {
  left: 10px;
}

.compare-new .compare-label {
  right: 10px;
}

.compare-new {
  transition: transform 0.3s ease;
}

.compare-new:hover {
  transform: scale(1.05);
  z-index: 3;
}

.modal-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 14px 0 0;
  flex-shrink: 0;
}

.modal-arrow {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-primary);
  cursor: pointer;
  padding: 4px;
  transition: color 0.3s ease;
}

.modal-arrow:hover {
  color: var(--accent);
}

.modal-dots {
  display: flex;
  gap: 8px;
}

.modal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--divider);
  cursor: pointer;
  transition: background 0.3s ease;
}

.modal-dot.active {
  background: var(--text-primary);
}

/* ===== Modal Text ===== */
.modal-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}

.modal-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--text-primary);
  line-height: 1.5;
  text-transform: uppercase;
}

.modal-paragraph {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-primary);
}

.modal-section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: 6px;
}

.modal-bullets {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-bullets li {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-primary);
  padding-left: 18px;
  position: relative;
}

.modal-bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

.modal-quote {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-primary);
  font-style: italic;
  border: none;
  margin: 0;
  padding: 0;
}

.modal-quote cite {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.modal-visit-btn {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 500;
  color: var(--white);
  background: var(--bg-dark);
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.3s ease;
  align-self: flex-start;
  margin-top: 4px;
}

.modal-visit-btn:hover {
  background: var(--accent);
}

/* ===== About Section ===== */
.about-bg {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.about-bg::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: url('images/background/boston-image-about.webp') center center / cover no-repeat;
  opacity: 0.18;
  z-index: 0;
  mask-image: linear-gradient(to right, transparent 0%, black 40%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 40%);
}

.about {
  position: relative;
  padding: 80px 64px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.about-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 80px;
}

.about-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--text-primary);
  text-transform: uppercase;
}

.about-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.about-headline {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 40px;
}

.about-points {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-points li {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
  color: var(--text-muted);
  padding-left: 32px;
  position: relative;
}

.about-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 2px;
}

.about-paragraph {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 520px;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.about-caption {
  display: block;
  margin-top: 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-align: center;
}

/* ===== About Bottom Row ===== */
.about-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-credentials {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.credentials-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.credentials-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.credentials-list li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}

.credentials-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ===== Services Background ===== */
.services-bg {
  position: relative;
  overflow: hidden;
}

.services-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 400px;
  background: url('images/background/boston-image-services.webp') center top / cover no-repeat;
  opacity: 0.15;
  z-index: 0;
  mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
}

/* ===== Brand Value Section ===== */
.brand-value {
  position: relative;
  padding: 0 64px 140px;
  max-width: 1400px;
  margin: 0 auto;
}

.brand-value-page {
  padding-top: 120px;
}

.brand-value-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 80px;
}

.brand-value-intro {
  max-width: 720px;
  margin-bottom: 80px;
}

.brand-value-headline {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.brand-value-subtext {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ===== Stat Cards ===== */
.brand-value-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding: 64px 0;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

.stat-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 400;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
  line-height: 1;
}

.stat-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 280px;
}

/* ===== Results ===== */
.brand-value-results {
  margin-bottom: 100px;
  max-width: 680px;
}

.results-headline {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(24px, 2.5vw, 32px);
  color: var(--text-primary);
  margin-bottom: 24px;
  line-height: 1.3;
}

.results-paragraph {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.results-paragraph:last-child {
  margin-bottom: 0;
}

/* ===== Results with Stat ===== */
.results-with-stat {
  display: flex;
  gap: 64px;
  align-items: flex-start;
  max-width: 100%;
  padding-top: 80px;
}

.results-with-stat .results-text {
  flex: 1;
  min-width: 0;
}

.results-stat {
  flex: 0 0 auto;
  text-align: left;
  padding: 32px 36px;
  border: 1px solid var(--divider);
  border-radius: 12px;
}

/* ===== Pricing Comparison ===== */
.pricing-compare {
  padding-top: 80px;
}

.pricing-headline {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(24px, 2.5vw, 32px);
  color: var(--text-primary);
  margin-bottom: 48px;
}

.pricing-chart {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.chart-row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.chart-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--text-primary);
  width: 160px;
  flex-shrink: 0;
  font-weight: 500;
}

.chart-bar-track {
  flex: 1;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 4px;
  height: 48px;
  position: relative;
  overflow: hidden;
}

.chart-bar {
  height: 100%;
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 0;
}

.chart-bar.animated {
  width: var(--bar-width);
}

.chart-bar.industry {
  background: var(--text-muted);
  --bar-width: 100%;
}

.chart-bar.casanave {
  background: var(--accent);
  --bar-width: 25%;
}

.chart-bar-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.pricing-explanation {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 720px;
}

.pricing-bullets {
  list-style: none;
  max-width: 720px;
}

.pricing-bullets li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.pricing-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ===== Our Commitment ===== */
.commitment {
  padding-top: 80px;
  margin-top: 80px;
  border-top: 1px solid var(--divider);
}

.commitment-headline {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(24px, 2.5vw, 32px);
  color: var(--text-primary);
  margin-bottom: 32px;
}

.commitment-list {
  list-style: none;
  max-width: 720px;
}

.commitment-list li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
  margin-bottom: 16px;
}

.commitment-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.commitment-list li strong {
  color: var(--text-primary);
}

/* ===== Start a Project Page ===== */
.start-bg {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.start-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 500px;
  background: url('images/background/boston-image-start.webp') center top / cover no-repeat;
  opacity: 0.15;
  z-index: 0;
  mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
}

.start-page {
  position: relative;
  padding: 120px 64px 100px;
  max-width: 720px;
  margin: 0 auto;
}

.start-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 48px;
}

.start-intro {
  margin-bottom: 56px;
}

.start-headline {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.start-subtext {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
}

.start-toggle {
  display: flex;
  gap: 0;
  margin-bottom: 48px;
  border: 1px solid var(--divider);
  border-radius: 4px;
  overflow: hidden;
}

.toggle-btn {
  flex: 1;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 500;
  padding: 16px 24px;
  border: none;
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.toggle-btn.active {
  background: var(--bg-dark);
  color: var(--white);
}

.toggle-btn:not(.active):hover {
  color: var(--text-primary);
}

.start-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.start-form.hidden {
  display: none;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 1.5px;
  font-weight: 500;
  color: var(--text-primary);
  text-transform: uppercase;
}

.form-optional {
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.form-group input,
.form-group textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--text-primary);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--divider);
  padding: 12px 0;
  outline: none;
  transition: border-color 0.3s ease;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  border: 1px solid var(--divider);
  padding: 12px 16px;
  border-radius: 4px;
}

.form-group textarea:focus {
  border-color: var(--accent);
}

.form-error {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--accent);
}

.form-group input.input-invalid {
  border-bottom-color: var(--accent);
}

.form-submit {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 500;
  color: var(--white);
  background: var(--bg-dark);
  border: none;
  padding: 16px 32px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s ease;
  align-self: flex-start;
  margin-top: 8px;
}

.form-submit:hover {
  background: var(--accent);
}

/* ===== Price Estimator ===== */
.estimator {
  padding: 0 64px 100px;
  max-width: 1400px;
  margin: 0 auto;
}

.estimator-inner {
  max-width: 720px;
}

.estimator-headline {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 56px;
}

.estimator-questions {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.eq-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.eq-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eq-option {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  background: none;
  border: 1px solid var(--divider);
  border-radius: 4px;
  padding: 14px 20px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.eq-option:hover {
  border-color: var(--text-muted);
  color: var(--text-primary);
}

.eq-option.selected {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(196, 90, 48, 0.05);
}

.estimator-result {
  display: flex;
  gap: 32px;
  margin-top: 56px;
  padding: 40px 0;
  border-top: 1px solid var(--divider);
}

.estimator-result.hidden,
.estimator-note.hidden {
  display: none;
}

.result-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.result-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.result-price {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}

.estimator-note {
  margin-top: 32px;
}

.estimator-note a {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.estimator-note a:hover {
  color: var(--accent);
}

/* ===== Pricing Details ===== */
.pricing-details {
  padding: 0 64px 140px;
  max-width: 1400px;
  margin: 0 auto;
}

.pricing-details-inner {
  max-width: 960px;
}

.pricing-table {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--divider);
  border-radius: 8px;
  overflow: hidden;
}

.pricing-col {
  padding: 40px 32px;
  border-right: 1px solid var(--divider);
}

.pricing-col:last-child {
  border-right: none;
}

.pricing-col-highlight {
  background: var(--accent);
  border-right: 1px solid var(--divider);
}

.pricing-col-highlight .pricing-col-title,
.pricing-col-highlight .pricing-col-price,
.pricing-col-highlight .pricing-col-subtitle,
.pricing-col-highlight .pricing-col-list li {
  color: #fff;
}

.pricing-col-highlight .pricing-col-list li::before {
  color: rgba(255, 255, 255, 0.5);
}

.pricing-col-with-or {
  position: relative;
}

.pricing-col-with-or::after {
  content: 'or';
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 1px solid var(--divider);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--text-muted);
  z-index: 1;
}

.pricing-col-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.pricing-col-price {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.pricing-col-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.pricing-col-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-col-list li {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}

.pricing-col-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--divider);
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--divider);
  padding: 48px 64px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-logo {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--text-primary);
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-col .footer-copyright {
  font-size: 10px;
  margin-top: 8px;
}

/* ===== Hamburger (hidden on desktop) ===== */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  position: relative;
  z-index: 11;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav.scrolled .nav-hamburger span {
  background: var(--text-primary);
}

.nav-hamburger.open span {
  background: var(--text-primary);
}

.nav-hamburger.open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-hamburger.open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ===== Mobile Menu ===== */
.mobile-menu {
  display: none;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-center,
  .nav-right {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-light);
    z-index: 9;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
  }

  .mobile-menu.open {
    display: flex;
  }

  .mobile-menu-link {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    letter-spacing: 3px;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .mobile-menu-link:hover {
    color: var(--accent);
  }

  .mobile-menu-cta {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    letter-spacing: 1.5px;
    color: var(--white);
    background: var(--bg-dark);
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 2px;
    margin-top: 16px;
    transition: background 0.3s ease;
  }

  .mobile-menu-cta:hover {
    background: var(--accent);
  }

  .hero-content {
    left: 24px;
    right: 24px;
  }

  .hero-sub-bar {
    left: 24px;
    right: 24px;
    bottom: 20px;
  }

  .nav-sub-text {
    font-size: 8px;
    letter-spacing: 1px;
  }

  .services {
    padding: 80px 24px 100px;
  }

  .service-item {
    grid-template-columns: 40px 1fr;
    gap: 12px;
  }

  .service-desc {
    grid-column: 2;
    margin-top: -8px;
  }

  .services-header {
    margin-bottom: 48px;
  }

  .work-page {
    padding: 100px 24px 60px;
  }

  .work-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 80px;
  }

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

  .work-showcase.reverse .work-image-container,
  .work-showcase.reverse .work-detail {
    order: unset;
  }

  .work-header {
    margin-bottom: 40px;
  }

  .modal-overlay {
    padding: 12px;
  }

  .modal {
    padding: 24px 20px;
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    display: block;
  }

  .modal-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .modal-carousel {
    order: -1;
    flex-shrink: 0;
    height: auto;
  }

  .modal-viewport {
    position: relative;
    height: 250px;
    overflow: hidden;
    flex: none;
  }

  .modal-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px;
  }

  .carousel-device .modal-track {
    padding: 8px;
  }

  .carousel-device .modal-slide {
    flex: 0 0 100%;
    padding: 4px 24px 20px 4px;
  }

  .carousel-compare .modal-slide {
    flex: 0 0 90%;
    height: 100%;
    margin-right: 12px;
  }

  .modal-desktop {
    width: 100%;
  }

  .modal-mobile {
    height: 55%;
    right: 4px;
  }

  .compare-stack {
    height: 100%;
  }

  .compare-old,
  .compare-new {
    width: 65%;
  }

  .about {
    padding: 80px 24px 100px;
  }

  .about-header {
    margin-bottom: 48px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-bottom-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .brand-value {
    padding: 0 24px 100px;
  }

  .brand-value-page {
    padding-top: 100px;
  }

  .brand-value-header {
    margin-bottom: 48px;
  }

  .brand-value-stats {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 64px;
    padding: 48px 0;
  }

  .brand-value-intro {
    margin-bottom: 48px;
  }

  .brand-value-results {
    margin-bottom: 64px;
  }

  .results-with-stat {
    flex-direction: column;
    gap: 40px;
  }

  .chart-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .chart-label {
    width: auto;
  }

  .chart-bar-track {
    width: 100%;
  }

  .start-page {
    padding: 100px 24px 60px;
  }

  .start-toggle {
    flex-direction: column;
  }

  .estimator {
    padding: 80px 24px 80px;
  }

  .estimator-result {
    flex-direction: column;
    gap: 24px;
  }

  .pricing-details {
    padding: 0 24px 100px;
  }

  .pricing-table {
    grid-template-columns: 1fr;
  }

  .pricing-col {
    border-right: none;
    border-bottom: 1px solid var(--divider);
  }

  .pricing-col:last-child {
    border-bottom: none;
  }

  .pricing-col-with-or::after {
    right: 50%;
    top: auto;
    bottom: -14px;
    transform: translateX(50%);
  }

  .footer {
    padding: 40px 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .hero-headline {
    font-size: 36px;
  }

  .service-name {
    font-size: 22px;
  }

  .service-item {
    padding: 32px 0;
  }
}
