:root {
  --white: #ffffff;
  --black: #171717;
  --ink: #0f0f0f;
  --gray: #6b6b6b;
  --gray-light: #f3f2ee;
  --gold: #b89a52;
  --gold-soft: rgba(184, 154, 82, 0.16);
  --border: #e5e4df;
  --max: 1200px;
  --header-h: 76px;
  --radius: 2px;
  --font: "Manrope", sans-serif;
  --display: "Syne", "Manrope", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

#services,
#portfolio,
#about,
#contact {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.65;
  color: var(--black);
  background:
    linear-gradient(180deg, #fafaf8 0%, var(--white) 28%, var(--white) 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.035;
  background-image: var(--noise);
  background-size: 180px 180px;
}

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

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

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

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

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

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 9vw, 7.5rem) 0;
  position: relative;
}

.section--alt {
  background: var(--gray-light);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--gray);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.62);
}

.eyebrow--light::before {
  background: var(--gold);
}

.section-title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.045em;
  max-width: 10ch;
}

#contact .section-title {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1.85rem, 4.6vw, 4rem);
}

.section-lead {
  margin-top: 1rem;
  color: var(--gray);
  max-width: 34ch;
  font-size: 1rem;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.75rem;
  margin-bottom: clamp(2.2rem, 5vw, 3.5rem);
}

.section-head__side {
  display: grid;
  gap: 1.1rem;
  justify-items: start;
  max-width: 34ch;
}

.section-head__side .section-lead {
  margin-top: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--ink);
  color: var(--white);
}

.btn--primary:hover {
  background: #000;
}

.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--black);
}

.btn--ghost:hover {
  border-color: var(--black);
  background: var(--white);
}

.btn--light {
  background: var(--white);
  color: var(--black);
}

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

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.95rem;
  position: relative;
}

.link-arrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0.28);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.link-arrow:hover::after {
  transform: scaleX(1);
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
}

.header-left {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  min-width: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}

.logo-img {
  width: auto;
  height: 24px;
  display: block;
}

.logo--footer .logo-img {
  height: 28px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 1.75rem);
}

.nav a {
  color: var(--gray);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1;
  position: relative;
  padding: 0;
  transition: color 0.25s var(--ease);
}

.nav a:hover,
.nav a.is-active {
  color: var(--black);
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.55rem;
  height: 2px;
  background: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.header-actions .btn {
  min-height: 44px;
  padding-inline: 1.15rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 999px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--black);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.98);
  padding: 0.5rem 0 1.5rem;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.mobile-nav .btn {
  width: 100%;
  margin-top: 1.1rem;
}

/* Hero */
.hero {
  position: relative;
  display: block;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem);
  background: #fafaf8;
  text-align: start;
}

.brand-mark {
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  margin: 0 0 1.25rem;
  color: var(--gray);
  line-height: 1;
}

.brand-mark::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  margin-inline-start: 0.7rem;
  vertical-align: middle;
  background: var(--gold);
}

.hero-copy {
  width: 100%;
  max-width: 920px;
  margin: 0;
  margin-inline: 0 auto 0 0;
  text-align: start;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(3.2rem, 8.5vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 700;
  text-align: start;
}

.hero-line {
  display: block;
  white-space: nowrap;
  color: #c8c8c8;
  font-weight: 500;
}

.hero-line--accent {
  margin-top: 0.14em;
  color: var(--black);
  font-weight: 700;
}

.hero-text {
  margin-top: 1.5rem;
  color: var(--gray);
  max-width: 42ch;
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.65;
  text-align: start;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem;
  margin-top: 2.2rem;
}

.hero-actions .btn {
  width: auto;
  flex: 0 0 auto;
}

/* Services stack */
.section--services {
  background:
    linear-gradient(180deg, var(--gray-light) 0%, #efeee8 100%);
}

.service-stack {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}

.service-row {
  display: grid;
  grid-template-columns: 72px 160px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem 0.75rem;
  margin-inline: -0.75rem;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.35s var(--ease);
}

.service-row:hover {
  background-color: rgba(255, 255, 255, 0.72);
}

.service-row__num {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.04em;
  transition: color 0.35s var(--ease);
}

.service-row:hover .service-row__num {
  color: var(--black);
}

.service-row__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--white);
}

.service-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.service-row:hover .service-row__media img {
  transform: scale(1.04);
}

.service-row__body h3 {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  letter-spacing: -0.035em;
  margin-bottom: 0.35rem;
}

.service-row__body p {
  color: var(--gray);
  font-size: 0.95rem;
  max-width: 42ch;
}

.service-row__go {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}

.service-row__go svg {
  width: 18px;
  height: 18px;
  transition: transform 0.35s var(--ease);
}

.service-row:hover .service-row__go {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.service-row:hover .service-row__go svg {
  transform: translateX(2px);
}

/* Portfolio bento */
.section--portfolio {
  background: var(--white);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.9rem;
}

.filter-btn {
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  color: var(--gray);
  font-weight: 600;
  font-size: 0.84rem;
  transition: all 0.25s var(--ease);
}

.filter-btn:hover,
.filter-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.project-bento,
.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.project-tile,
.project-card {
  grid-column: span 4;
  position: relative;
  overflow: hidden;
  background: var(--gray-light);
  min-height: 280px;
  display: block;
}

.project-tile--wide {
  grid-column: span 8;
  min-height: 380px;
}

.project-tile--tall {
  grid-row: span 1;
  min-height: 380px;
}

.project-tile__image,
.project-card__image {
  position: absolute;
  inset: 0;
}

.project-tile__image img,
.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.5s var(--ease);
}

.project-tile:hover .project-tile__image img,
.project-card:hover .project-card__image img {
  transform: scale(1.06);
  filter: brightness(0.78);
}

.project-tile__meta,
.project-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.3rem 1.2rem;
  color: var(--white);
  background: linear-gradient(transparent, rgba(15, 15, 15, 0.78));
  transform: translateY(8px);
  opacity: 0.92;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}

.project-tile:hover .project-tile__meta,
.project-card:hover .project-card__body {
  transform: translateY(0);
  opacity: 1;
}

.project-tile__meta span,
.meta-tag,
.project-card__body .meta-tag {
  display: inline-block;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.project-tile__meta h3,
.project-card__body h3 {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.project-card__body p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  margin-top: 0.35rem;
}

.project-card {
  border: 0;
}

.project-card .project-card__body {
  color: var(--white);
}

/* Why */
.section--why {
  background:
    linear-gradient(135deg, #111 0%, #1c1c1c 55%, #241f14 100%);
  color: var(--white);
}

.section--why .eyebrow {
  color: rgba(255, 255, 255, 0.55);
}

.section--why .section-title {
  color: var(--white);
}

.section--why .section-lead {
  color: rgba(255, 255, 255, 0.58);
}

.why-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.why-list {
  display: grid;
  gap: 0;
}

.why-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.why-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.why-item__index {
  font-family: var(--display);
  color: var(--gold);
  font-weight: 700;
  font-size: 1.15rem;
}

.why-item h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}

.why-item p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.95rem;
}

/* Process */
.section--process {
  background: var(--gray-light);
}

.process-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}

.process-rail::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  pointer-events: none;
}

.process-step-card,
.process-card,
.advantage-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.6rem 1.3rem 1.7rem;
  position: relative;
}

.process-step-card__num,
.process-step {
  font-family: var(--display);
  color: var(--gold);
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
  margin-bottom: 1.1rem;
}

.process-step-card h3,
.process-card h3,
.advantage-card h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.55rem;
}

.process-step-card p,
.process-card p,
.advantage-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

.advantage-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

/* CTA */
.cta-banner {
  background: var(--ink);
  color: var(--white);
  padding: clamp(4.5rem, 10vw, 8rem) 0;
  position: relative;
  overflow: hidden;
}


.cta-banner__inner {
  position: relative;
  z-index: 1;
  max-width: 18ch;
}

.cta-banner h2 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 1.2rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 2rem;
  max-width: 34ch;
  font-size: 1.05rem;
}

.cta-block {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-inner h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  max-width: 14ch;
}

.cta-inner p {
  margin-top: 0.75rem;
  color: var(--gray);
  max-width: 40ch;
}

/* Page hero */
.page-hero {
  padding: clamp(2.8rem, 6vw, 4.5rem) 0 2rem;
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 100% 0%, var(--gold-soft), transparent 70%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
  max-width: 12ch;
}

.page-hero p {
  margin-top: 1.1rem;
  color: var(--gray);
  max-width: 46ch;
}

/* Cards (legacy / other pages) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.service-card,
.faq-item {
  border: 1px solid var(--border);
  background: var(--white);
}

.service-card {
  display: grid;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: #d2d1cb;
}

.service-card__image {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--gray-light);
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.service-card:hover .service-card__image img {
  transform: scale(1.04);
}

.service-card__body {
  padding: 1.3rem 1.3rem 1.5rem;
}

.service-card h3,
.service-card h2 {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* Detail layouts */
.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.detail-media {
  background: var(--gray-light);
  overflow: hidden;
}

.detail-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.content-block {
  margin-top: 2rem;
}

.content-block h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.content-block p {
  color: var(--gray);
  margin-bottom: 1rem;
}

.includes-list li {
  position: relative;
  padding: 0.9rem 0 0.9rem 1.4rem;
  border-bottom: 1px solid var(--border);
}

.includes-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.3rem;
  width: 10px;
  height: 2px;
  background: var(--gold);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--gray-light);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 820px;
}

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

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.25rem;
  font-weight: 700;
  font-family: var(--display);
  letter-spacing: -0.02em;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq-item summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.25rem;
  line-height: 1;
  font-family: var(--font);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  padding: 0 1.25rem 1.25rem;
  color: var(--gray);
}

/* Forms */
.form-card {
  border: 1px solid var(--border);
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--white);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.88rem;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s var(--ease);
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--black);
}

.form-field .error {
  color: #b42318;
  font-size: 0.85rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  display: none;
}

.form-status.is-success {
  display: block;
  border-color: #b7d7b0;
  background: #f3faf1;
  color: #1f5b2a;
}

.form-status.is-error {
  display: block;
  border-color: #f0c2bc;
  background: #fff5f4;
  color: #8a1f14;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 1.35rem;
}

.contact-info a {
  font-weight: 700;
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.contact-info .label {
  color: var(--gray);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #d4d4d4;
  padding: clamp(3.2rem, 6vw, 5rem) 0 2rem;
}

.site-footer::before {
  content: "zaarqalam";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.12em;
  font-family: var(--display);
  font-size: clamp(4.5rem, 18vw, 14rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.8;
  text-align: center;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
  white-space: nowrap;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-col--services {
  columns: 2;
  column-gap: 1.25rem;
}

.footer-col--services h4 {
  column-span: all;
}

.footer-col--services a {
  break-inside: avoid;
}

.footer-about {
  margin-top: 1.1rem;
  max-width: 34ch;
  color: #9a9a9a;
  font-size: 0.95rem;
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.footer-col a,
.footer-col p {
  display: block;
  color: #9a9a9a;
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
  transition: color 0.25s var(--ease);
}

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

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #2a2a2a;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  color: #737373;
  font-size: 0.875rem;
}

/* Misc */
.related-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.45rem 1rem;
  border: 1px solid var(--border);
  background: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 999px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.chip:hover {
  border-color: var(--black);
  background: var(--gray-light);
}

.text-page {
  max-width: 70ch;
}

.text-page h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.text-page p {
  color: var(--gray);
  margin-bottom: 1rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.about-copy p {
  color: var(--gray);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.about-panel {
  background: var(--gray-light);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--border);
}

.about-panel h3 {
  font-family: var(--display);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.about-panel li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.about-panel li:last-child {
  border-bottom: 0;
}

.not-found {
  text-align: center;
  padding: clamp(5rem, 12vw, 8rem) 0;
}

.not-found h1 {
  font-family: var(--display);
  font-size: clamp(4rem, 12vw, 7rem);
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.not-found p {
  color: var(--gray);
  margin: 1rem auto 2rem;
  max-width: 36ch;
}

.is-hidden {
  display: none !important;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1023px) {
  .nav {
    display: none;
  }

  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-left .nav {
    display: none;
  }

  .header-inner {
    display: flex;
  }

  .detail-grid,
  .contact-layout,
  .about-grid,
  .footer-grid,
  .why-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 2.5rem 0 3.5rem;
  }

  .service-row {
    grid-template-columns: 48px 1fr auto;
    gap: 0.85rem;
  }

  .service-row__media {
    display: none;
  }

  .project-tile,
  .project-card,
  .project-tile--wide,
  .project-tile--tall {
    grid-column: span 6;
    min-height: 260px;
  }

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

  .process-rail::before {
    display: none;
  }

  .section-title {
    max-width: none;
  }

  .cta-banner__inner {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .cards-grid,
  .gallery-grid,
  .form-grid,
  .process-rail,
  .advantage-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .project-tile,
  .project-card,
  .project-tile--wide,
  .project-tile--tall {
    grid-column: span 12;
    min-height: 240px;
  }

  .hero h1 {
    font-size: min(3.6rem, calc((100vw - 2.5rem) * 0.1));
  }

  .hero-line,
  .hero-line--accent {
    font-size: 1em;
    white-space: nowrap;
  }

  .hero-line--accent {
    margin-top: 0.22em;
  }

  .hero-actions .btn,
  .cta-banner .btn,
  .cta-inner .btn {
    width: 100%;
  }

  .service-row {
    grid-template-columns: 40px 1fr;
  }

  .service-row__go {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
  }

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

@media (max-width: 374px) {
  .container {
    width: min(100% - 1.25rem, var(--max));
  }

  .filters {
    gap: 0.4rem;
  }

  .filter-btn {
    font-size: 0.78rem;
    padding: 0.4rem 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
