/* ============ TOKENS ============ */
:root {
  --ink: #161513;
  --ink-soft: #232220;
  --paper: #ffffff;
  --paper-2: #eae7e0;
  --line: #d8d4ca;
  --text-dark: #2c2a26;
  --text-muted: #777;
  --text-light: #f3f1ec;
  --text-light-muted: #b9b6ae;
  --accent: #a8916b;
  /* muted brass, used sparingly */
  --radius: 2px;
  --maxw: 1180px;
  --gap: 24px;
  font-size: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  /* font-family: 'Helvetica Neue', Arial, sans-serif; */
  font-family: 'Dosis', sans-serif;
  color: var(--text-dark);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 400;
  margin: 0;
  letter-spacing: .02em;
}

p {
  margin: 0;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ SHARED TYPE ============ */
.eyebrow {
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  margin: 0 0 18px;
}

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

.eyebrow.center {
  text-align: center;
  margin-bottom: 40px;
}

.eyebrow-link {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
}

.section-title {
  text-align: center;
  font-size: .78rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--text-light-muted);
}

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

.section-title.left {
  text-align: left;
  margin-bottom: 0;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 50px;
  font-size: .95rem;
}

.text-link {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}

.btn {
  display: inline-block;
  padding: 14px 34px;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  transition: background .25s ease, color .25s ease;
}

.btn-outline {
  color: var(--text-light);
}

.btn-outline:hover {
  background: var(--text-light);
  color: var(--ink);
}

.btn-light {
  color: var(--text-light);
  background: transparent;
}

.btn-light:hover {
  background: var(--text-light);
  color: var(--ink);
}

.btn-dark {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
  cursor: pointer;
}

.btn-dark:hover {
  background: var(--ink-soft);
}

section {
  position: relative;
}

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(20, 19, 17, .55);
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.logo {
  color: var(--text-light);
  display: flex;
  align-items: center;
}

.main-nav ul {
  display: flex;
  gap: 34px;
}

.main-nav a {
  color: var(--text-light-muted);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text-light);
  border-color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-light);
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(255, 255, 255, .05), transparent 75%),
    radial-gradient(ellipse at 80% 70%, rgba(255, 255, 255, .04), transparent 75%),
    linear-gradient(180deg, #100f0e, #1a1917 80%, #100f0e);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  /* adjust darkness */
  z-index: 1;
}

.hero-texture {
  position: absolute;
  inset: 0;
  opacity: .6;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
  max-width: 800px;
}

.hero-content h1 {
  color: var(--text-light);
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  letter-spacing: .6em;
  line-height: 1.25;
  margin: 0 0 22px;
  font-weight: 200;
  font-size: 2.6rem;
  text-transform: uppercase;
}

.hero-tagline {
  color: var(--text-light-muted);
  font-size: .78rem;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.hero .eyebrow {
  margin-bottom: 26px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-light-muted);
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 3;
  padding: 10px;
  transition: color .2s ease;
}

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

.hero-arrow-left {
  left: 16px;
}

.hero-arrow-right {
  right: 16px;
}

.hero-dots {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-light-muted);
  opacity: .5;
}

.dot.active {
  opacity: 1;
  background: var(--text-light);
}

/* ============ ABOUT (home about block) ============ */
.about {
  background: var(--paper);
  padding: 110px 0 90px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1.1fr;
  gap: 50px;
  margin-bottom: 90px;
}

.about-side .eyebrow {
  margin-bottom: 34px;
}

.stat {
  margin-bottom: 22px;
}

.stat-label {
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.bar {
  height: 2px;
  background: var(--line);
  width: 100%;
}

.bar-fill {
  height: 100%;
  background: var(--ink);
}

.about-col p {
  color: var(--text-muted);
  font-size: .94rem;
}

/* ============ SERVICES ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  text-align: center;
  margin-bottom: 56px;
}

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

.service svg {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.service h3 {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-dark);
}

.services-copy {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  border-top: 1px solid var(--line);
  padding-top: 44px;
}

.services-copy p {
  color: var(--text-muted);
  font-size: .92rem;
}

.service:hover svg {
  color: #000000;
}

.service:hover h3 {
  color: #000000;
}

/* ============ CTA DARK / MOCKUP ============ */
.cta-dark {
  background: var(--ink);
  padding: 50px 0;
  color: var(--text-light);
  background-image: url(img/hero-bg.jpg);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cta-text h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.35;
  margin-bottom: 20px;
  font-weight: 500;
}

.cta-text p {
  color: var(--text-light-muted);
  margin-bottom: 30px;
  font-size: .94rem;
}

.monitor {
  max-width: 420px;
  margin: 0 auto;
  margin-top: -100px;
}

.monitor-screen {
  background: #f4f2ee;
  border: 10px solid #0c0c0b;
  border-radius: 6px;
  aspect-ratio: 16/10.5;
  padding: 26px 22px;
}

.mock-line {
  height: 8px;
  background: var(--line);
  margin-bottom: 12px;
  border-radius: 1px;
  width: 80%;
}

.mock-line.short {
  width: 45%;
  background: #c9c4b8;
}

.mock-avatars {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.mock-avatars span {
  width: 34%;
  aspect-ratio: 1/1.1;
  background: linear-gradient(160deg, #3a3a38, #111);
  border-radius: 2px;
}

.monitor-stand {
  width: 14px;
  height: 34px;
  background: #0c0c0b;
  margin: 0 auto;
}

.monitor-base {
  width: 130px;
  height: 8px;
  background: #0c0c0b;
  margin: 0 auto;
  border-radius: 2px;
}

/* ============ PROCESS ============ */
.process {
  background: var(--paper);
  padding: 100px 0;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

.process-copy p {
  color: var(--text-muted);
  font-size: .94rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.step-icon {
  color: var(--text-muted);
  margin-bottom: 14px;
  width: 44px;
  align-items: center;
}

.step h4 {
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* ============ PORTFOLIO ============ */
.portfolio {
  background: var(--paper);
  padding: 100px 0 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-bottom: 10px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0.8;
  transform: translateY(100%);
  transition: transform .45s cubic-bezier(.19, 1, .22, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 28px;
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
}

.portfolio-overlay h3,
.portfolio-overlay p {
  opacity: 0;
  transform: translateY(20px);
  transition: all .35s ease;
}

.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-overlay h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #111;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.portfolio-overlay p {
  margin-top: 8px;
  color: #111;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.ph-1 {
  padding: 0px 10px 10px 0px;
}

.ph-2 {
  padding: 0px 0px 10px 0px;
}

.ph-3 {
  padding: 0px 0px 10px 10px;
}

.ph-icon {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35));
}

.cta-strip {
  background: var(--ink);
  color: var(--text-light);
  padding: 46px 24px;
  text-align: center;
}

.cta-strip p {
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--text-light-muted);
}

/* ============ WHY CHOOSE ============ */
.why {
  background: var(--paper);
  padding: 100px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 40px;
  margin-top: 20px;
}

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

.why-item svg {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.why-item h4 {
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.why-item p {
  color: var(--text-muted);
  font-size: .88rem;
}

/* ================= TESTIMONIAL ================= */

.testimonial {
  background: var(--ink);
  color: var(--text-light);
  padding: 110px 0;
  text-align: center;
}

.testimonial-slider {
  position: relative;
  min-height: 100px;
}

.testimonial-slide {
  display: none;
  animation: fade .6s ease;
}

.testimonial-slide.active {
  display: block;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

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

.testimonial blockquote {
  margin: 0 auto 22px;
  max-width: 700px;
  font-size: 1.15rem;
  line-height: 1.8;
  font-style: italic;
  font-weight: 300;
  color: #fff;
}

.testimonial-author {
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  margin-top: 20px;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.testimonial-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: .3s;
  font-size: 18px;
}

.testimonial-btn:hover {
  background: #fff;
  color: #000;
}

.hero-dots {
  display: flex;
  gap: 10px;
}

.hero-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
  transition: .3s;
}

.hero-dots .dot.active {
  background: #fff;
}

/* ============ BLOG ============ */
.blog {
  background: var(--paper);
  padding: 100px 0;
}

.blog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 16px;
}

.blog-head .section-title {
  margin-bottom: 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.blog-thumb {
  margin-bottom: 22px;
  border-radius: var(--radius);
}

.blog-card h4 {
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
}

.blog-card p {
  color: var(--text-muted);
  font-size: .88rem;
  margin-bottom: 16px;
}

/* ============ FEATURE STRIP ============ */
.feature-strip {
  background:
    linear-gradient(rgba(15, 14, 13, .75), rgba(15, 14, 13, .75)),
    url("img/bg-01.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-light);
  padding: 50px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.feature-slider {
  overflow: hidden;
}

.feature-track {
  display: flex;
  transition: .7s ease;
}

.feature {
  flex: 0 0 33.333%;
  text-align: center;
  padding: 25px;
  box-sizing: border-box;
}

.feature svg {
  margin-bottom: 20px;
  color: #bfbfbf;
}

.feature h5 {
  color: #fff;
  font-size: .85rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.feature p {
  color: #bbb;
  font-size: .9rem;
  line-height: 1.8;
}

.feature-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 45px;
}

.feature-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .3);
  cursor: pointer;
  transition: .3s;
}

.feature-dots span.active {
  background: #fff;
}

/* ============ NEWSLETTER ============ */
.newsletter {
  background: var(--paper);
  padding: 90px 0;
  text-align: center;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 480px;
  margin: 0 auto 16px;
}

.newsletter-form input {
  flex: 1;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-right: none;
  font-size: .88rem;
  background: var(--paper);
  border-radius: var(--radius) 0 0 var(--radius);
}

.newsletter-form input:focus {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}

.newsletter-form .btn {
  border-radius: 0 var(--radius) var(--radius) 0;
}

.form-note {
  font-size: .78rem;
  color: var(--text-muted);
}

/* ============ CONTACT ============ */
.contact {
  background: var(--paper);
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 30px;
  text-align: center;
}

.contact-item svg {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.contact-item h5 {
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.contact-item p {
  color: var(--text-muted);
  font-size: .9rem;
}

/* ============ FINAL CTA ============ */
.final-cta {
  background: var(--ink-soft);
  padding: 60px 0;
  text-align: center;
}

.final-cta p {
  color: var(--text-light);
  font-size: .85rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--paper);
  color: var(--text-light-muted);
  padding: 60px 0 30px;
  text-align: center;
}

.footer-logo {
  justify-content: center;
  margin-bottom: 22px;
  color: var(--text-light);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.social-links a {
  width: 34px;
  height: 34px;
  border: 1px solid var(--text-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  text-transform: uppercase;
  transition: border-color .2s ease, color .2s ease;
  color: var(--text-muted);
}

.social-links a:hover {
  background: #000;
  color: white;
}

.copyright {
  font-size: .78rem;
  color: var(--text-muted);
}

/* ============ FOCUS STATES ============ */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* =====================================================
   ABOUT PAGE — NEW SECTIONS
   ===================================================== */

/* ---- About hero banner ---- */
.about-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--text-light);
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background-color: #2b2b28;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.about-hero .hero-overlay {
  background: rgba(10, 10, 9, .5);
}

.about-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 74px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 346px;
  padding-bottom: 40px;
  gap: 20px;
  flex-wrap: wrap;
}

.about-hero-content h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  letter-spacing: .5em;
  text-transform: uppercase;
  font-weight: 300;
  color: var(--text-light);
  margin-bottom: 16px;
}

.about-hero-content .hero-tagline {
  letter-spacing: .18em;
}

.breadcrumb {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  white-space: nowrap;
}

.breadcrumb a {
  color: var(--text-light-muted);
  transition: color .2s ease;
}

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

.breadcrumb span {
  margin: 0 6px;
}

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

/* ---- Quote / intro section ---- */
.quote-section {
  background: var(--paper-2);
  padding: 100px 0 90px;
  text-align: center;
}

.quote-mark {
  color: var(--text-dark);
  display: flex;
  justify-content: center;
  margin-bottom: 46px;
}

.quote-mark-light {
  color: rgba(255, 255, 255, .5);
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 50px;
  text-align: left;
}

.quote-text {
  font-size: 1.3rem;
  line-height: 1.55;
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.quote-author {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.quote-copy p {
  color: var(--text-muted);
  font-size: .92rem;
}

/* ---- Team grid ---- */
.team {
  background: var(--paper-2);
  padding: 0 0 100px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}

.team-photo {
  aspect-ratio: 1 / 1.1;
  background-color: #0c0c0b;
  background-size: cover;
  background-position: center top;
  filter: grayscale(100%);
  margin-bottom: 24px;
  transition: filter .3s ease;
}

.team-member:hover .team-photo {
  filter: grayscale(0%);
}

.team-member h4 {
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.team-member p {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---- Client logos strip ---- */
.client-logos {
  background: var(--paper-2);
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  gap: 30px;
}

.logos-grid img {
  max-height: 56px;
  width: auto;
  margin: 0 auto;
  filter: grayscale(100%);
  opacity: .55;
  transition: opacity .2s ease;
}

.logos-grid img:hover {
  opacity: 1;
}

/* ---- Why grid variant with 3 columns on about page ---- */
.why-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* =====================================================
   RESPONSIVE (existing + new sections)
   ===================================================== */
@media (max-width:960px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .services-copy {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cta-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-text {
    order: 2;
  }

  .cta-mockup {
    order: 1;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

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

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .quote-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .logos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 20px;
  }

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

@media (max-width:720px) {
  .main-nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: rgba(15, 14, 13, .98);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }

  .main-nav.open {
    max-height: 400px;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 10px 24px 20px;
  }

  .main-nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .nav-toggle {
    display: flex;
  }

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

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

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

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

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    border-right: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 12px;
  }

  .newsletter-form .btn {
    border-radius: var(--radius);
    width: 100%;
  }

  .hero-content h1 {
    letter-spacing: .03em;
  }

  .about-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 30px;
  }

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

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

  .why-grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width:480px) {
  .container {
    padding: 0 18px;
  }

  .about {
    padding: 80px 0 60px;
  }

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

  .cta-dark,
  .process,
  .why,
  .blog,
  .contact,
  .testimonial,
  .newsletter,
  .quote-section {
    padding: 70px 0;
  }

  .about-hero {
    min-height: 340px;
  }

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

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

/* =====================================================
   SERVICES PAGE — NEW SECTIONS
   ===================================================== */

/* ---- Services list (icon + title + copy) ---- */
.services-page {
  background: var(--paper);
  padding: 110px 0 100px;
}

.service-block-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 50px;
}

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

.service-block svg {
  color: var(--text-dark);
  margin-bottom: 20px;
}

.service-block h4 {
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.service-block p {
  text-align: left;
  color: var(--text-muted);
  font-size: .92rem;
}

/* ---- CTA mockup as plain image (services page variant) ---- */
.cta-mockup .monitor {
  max-width: 480px;
  margin: 0 auto;
}

.cta-mockup .monitor img {
  width: 100%;
  border-radius: 4px;
  display: block;
}

/* ---- Work process + accordion split ---- */
.work-process-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.accordion {
  width: 100%;
}

.accordion-item {
  border: 1px solid var(--line);
  margin-bottom: -1px;
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 22px;
  font-family: inherit;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-dark);
  text-align: left;
}

.accordion-header .chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform .3s ease;
}

.accordion-item.active .accordion-header .chevron {
  transform: rotate(180deg);
}

.accordion-item.active .accordion-header {
  background: var(--paper-2);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  padding: 0 22px;
}

.accordion-item.active .accordion-body {
  max-height: 220px;
  padding: 0 22px 22px;
}

.accordion-body p {
  color: var(--text-muted);
  font-size: .9rem;
}

/* =====================================================
   RESPONSIVE — SERVICES PAGE
   ===================================================== */
@media (max-width:960px) {
  .service-block-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 30px;
  }

  .work-process-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width:720px) {
  .service-block-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

/* =====================================================
   PORTFOLIO PAGE — NEW SECTIONS
   ===================================================== */

.portfolio-page {
  background: var(--paper);
  padding: 100px 0 110px;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 44px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-tab {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.filter-tab:hover {
  color: var(--text-dark);
}

.filter-tab.active {
  color: var(--text-dark);
  border-color: var(--text-dark);
}

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

.portfolio-page-item {
  /* aspect-ratio: 6 / 5; */
  overflow: hidden;
  cursor: pointer;
}

.portfolio-page-item img {
  width: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.portfolio-page-item:hover img {
  transform: scale(1.04);
}

.portfolio-page-item.is-hidden {
  display: none;
}

/* =====================================================
   RESPONSIVE — PORTFOLIO PAGE
   ===================================================== */
@media (max-width:720px) {
  .portfolio-filters {
    gap: 24px;
  }

  .portfolio-page-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-page-item {
    aspect-ratio: 4 / 3;
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}