:root {
  --ink: #12100e;
  --ink-2: #1b1815;
  --ink-3: #26211c;
  --paper: #f3eee6;
  --paper-2: #e7dfd2;
  --cream: #faf6ef;
  --fg: #f4efe8;
  --fg-ink: #1a1612;
  --muted: #b5aa9c;
  --muted-ink: #6a6056;
  --brick: #c2543a;
  --brick-fg: #fff8f2;
  --stone: #cfc3b0;
  --border: rgb(244 239 232 / 0.14);
  --font-sans: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --radius: 12px;
  --radius-lg: 24px;
  --max: 72rem;
}

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

html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
  outline: 1px solid rgb(244 239 232 / 0.1);
  outline-offset: -1px;
}

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

h1, h2, h3 {
  text-wrap: balance;
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
}

p { margin: 0; text-wrap: pretty; }

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

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

@media (min-width: 640px) {
  .wrap { width: min(100% - 3rem, var(--max)); }
}

.kicker {
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brick);
}

.display {
  font-family: var(--font-display);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-solid,
body:not(.is-home) .site-header {
  background: rgb(18 16 14 / 0.95);
  box-shadow: 0 1px 0 0 rgb(244 239 232 / 0.08);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4rem;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--brick);
}

.logo-mark { width: 2.5rem; height: 2.5rem; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; min-width: 0; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.logo-sub {
  margin-top: 0.2rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--stone);
}

.nav-desktop { display: none; gap: 0.15rem; }
.nav-desktop a {
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.nav-desktop a:hover,
.nav-desktop a.is-active { color: var(--fg); }

.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.header-quote { display: none; }

.menu-btn {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  color: var(--fg);
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--ink);
  padding: 1rem;
}
.nav-mobile.is-open { display: block; }
.nav-mobile a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.75rem;
  font-size: 1.125rem;
}
.nav-mobile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

@media (min-width: 640px) {
  .header-quote { display: inline-flex; }
}
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .menu-btn { display: none; }
  .nav-mobile { display: none !important; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3rem;
  padding: 0 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.btn:active { transform: scale(0.96); }
.btn-lg { height: 3.5rem; padding: 0 1.5rem; font-size: 1rem; }
.btn-sm { height: 2.5rem; padding: 0 0.9rem; font-size: 0.875rem; }
.btn-primary { background: var(--brick); color: var(--brick-fg); }
.btn-primary:hover { background: #b24b34; }
.btn-outline {
  color: var(--fg);
  box-shadow: 0 0 0 1px rgb(244 239 232 / 0.22);
}
.btn-outline:hover { background: rgb(244 239 232 / 0.06); }
.btn-ink { background: var(--ink); color: var(--fg); }
.btn-paper {
  color: var(--fg-ink);
  box-shadow: 0 0 0 1px rgb(26 22 18 / 0.16);
}
.btn-solid { background: var(--paper); color: var(--fg-ink); }
.btn-full { width: 100%; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(18 16 14 / 0.45) 0%, rgb(18 16 14 / 0.28) 38%, rgb(18 16 14 / 0.82) 100%),
    linear-gradient(90deg, rgb(18 16 14 / 0.55) 0%, transparent 55%);
}
.hero-copy {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 7rem 0 6rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  max-width: 18ch;
  margin-top: 1rem;
}
.hero .lede {
  max-width: 36rem;
  margin-top: 1.25rem;
  color: var(--stone);
  font-size: 1.05rem;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}
.hero-urdu {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: rgb(207 195 176 / 0.9);
  margin-top: 2rem;
}
.hero-bar {
  display: none;
  position: absolute;
  inset: auto 0 0;
  border-top: 1px solid var(--border);
  background: rgb(18 16 14 / 0.7);
  backdrop-filter: blur(8px);
}
.hero-bar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.hero-meta {
  padding: 1rem 1.5rem;
  border-left: 1px solid var(--border);
}
.hero-meta:first-child { border-left: 0; padding-left: 0; }
.hero-meta .label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-meta .value { margin-top: 0.25rem; font-size: 0.9rem; }

@media (min-width: 640px) {
  .hero-actions { flex-direction: row; }
  .hero-copy { padding-bottom: 5rem; }
}
@media (min-width: 768px) {
  .hero-bar { display: block; }
  .hero-copy { padding-bottom: 6.5rem; }
}

/* Sections */
.section { padding: 5rem 0; }
@media (min-width: 768px) { .section { padding: 7rem 0; } }

.bg-paper { background: var(--paper); color: var(--fg-ink); }
.bg-paper-2 { background: var(--paper-2); color: var(--fg-ink); }
.bg-ink { background: var(--ink); color: var(--fg); }
.bg-ink-2 { background: var(--ink-2); color: var(--fg); }
.muted { color: var(--muted); }
.muted-ink { color: var(--muted-ink); }
.stone { color: var(--stone); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 18ch;
}
@media (min-width: 768px) {
  .section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

/* Cards */
.service-grid {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
}
@media (min-width: 640px) { .service-grid { grid-template-columns: 1fr 1fr; } }

.card-media {
  position: relative;
  isolation: isolate;
  min-height: 18rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: var(--fg);
}
.card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card-media:hover img { transform: scale(1.05); }
.card-media .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(18 16 14 / 0.1) 0%, rgb(18 16 14 / 0.78) 100%);
}
.card-media .body {
  position: relative;
  min-height: 18rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}
.card-media h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-top: 0.25rem;
}

.work-grid {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
}
@media (min-width: 768px) {
  .work-grid { grid-template-columns: repeat(6, 1fr); }
  .span-4 { grid-column: span 4; min-height: 24rem; }
  .span-2 { grid-column: span 2; }
}

.gallery {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .gallery { grid-template-columns: 1fr 1fr 1fr; } }

.work-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink-2);
  text-align: left;
  color: inherit;
  width: 100%;
  padding: 0;
}
.work-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.work-card:hover img { transform: scale(1.05); }
.work-card .pad { padding: 1.25rem; }
.work-card h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-top: 0.25rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
}
.filter-btn {
  height: 2.5rem;
  padding: 0 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--muted);
  box-shadow: 0 0 0 1px rgb(244 239 232 / 0.16);
}
.filter-btn.is-on {
  background: var(--paper);
  color: var(--fg-ink);
  box-shadow: none;
}

/* Process */
.steps {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { border-top: 1px solid var(--border); padding-top: 1.5rem; }
.step-n {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--brick);
}
.step h3 { margin-top: 0.75rem; font-size: 1.125rem; font-weight: 500; }
.step p { margin-top: 0.5rem; font-size: 0.9rem; color: var(--muted); }

/* Split */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 768px) { .split { grid-template-columns: 1fr 1fr; } }
.split-12 {
  display: grid;
  gap: 3rem;
}
@media (min-width: 768px) {
  .split-12 { grid-template-columns: 7fr 5fr; }
}

.rounded-img {
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.rounded-img img { width: 100%; object-fit: cover; }
.portrait { aspect-ratio: 4 / 5; object-position: top; }
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-wide { aspect-ratio: 21 / 9; }

.owner-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--fg);
}
.owner-card .pad { padding: 1.5rem; }
@media (min-width: 768px) { .owner-card .pad { padding: 2rem; } }

.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.checklist svg { flex-shrink: 0; margin-top: 0.15rem; color: var(--brick); }

.page-hero { padding-top: 4rem; }
.page-hero-inner { padding: 4rem 0; }
@media (min-width: 768px) { .page-hero-inner { padding: 6rem 0; } }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  max-width: 18ch;
  margin-top: 1rem;
}

.banner {
  position: relative;
  overflow: hidden;
  padding-top: 4rem;
}
.banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-shade { position: absolute; inset: 0; background: rgb(18 16 14 / 0.7); }
.banner .wrap { position: relative; padding: 6rem 0; }

.alt-paper { background: var(--paper); color: var(--fg-ink); }
.alt-ink { background: var(--ink); color: var(--fg); }
.flip { }
@media (min-width: 768px) { .flip { order: 2; } }

/* Form */
.form-box {
  background: var(--ink-2);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
@media (min-width: 768px) { .form-box { padding: 2rem; } }
.form-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.span-2 { }
@media (min-width: 640px) { .span-2 { grid-column: span 2; } }

label.field-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
input, select, textarea {
  width: 100%;
  height: 3rem;
  border: 0;
  border-radius: 0.75rem;
  background: var(--ink-3);
  color: var(--fg);
  padding: 0 1rem;
  font: inherit;
  font-size: 1rem;
  box-shadow: 0 0 0 1px rgb(244 239 232 / 0.12);
  outline: none;
}
textarea { height: auto; min-height: 8rem; padding: 0.75rem 1rem; }
input:focus, select:focus, textarea:focus {
  box-shadow: 0 0 0 2px var(--brick);
}
.form-note { margin-top: 0.75rem; font-size: 0.75rem; color: var(--muted); }

.contact-list { list-style: none; padding: 0; margin: 2.5rem 0 0; }
.contact-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.icon-box {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 0.75rem;
  background: var(--ink-3);
  color: var(--brick);
}
.phone-xl {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-variant-numeric: tabular-nums;
  margin-top: 2rem;
}

.owner-thumb {
  width: 7rem;
  height: 7rem;
  border-radius: 0.75rem;
  object-fit: cover;
  object-position: top;
  margin-bottom: 1.5rem;
}

.map-frame {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink-2);
}
.map-frame iframe {
  width: 100%;
  height: 20rem;
  border: 0;
  filter: grayscale(1) contrast(1.05);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--ink-2);
  padding-bottom: 6rem;
}
@media (min-width: 768px) { .site-footer { padding-bottom: 0; } }
.footer-grid {
  display: grid;
  gap: 3rem;
  padding: 4rem 0;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 5fr 3fr 4fr; padding: 5rem 0; }
}
.footer-urdu {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--stone);
  margin-top: 1rem;
}
.footer-copy { margin-top: 1rem; max-width: 24rem; font-size: 0.9rem; color: var(--muted); }
.footer-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.footer-list li { margin-bottom: 0.5rem; }
.footer-list a { font-size: 0.9rem; color: var(--stone); }
.footer-list a:hover { color: var(--fg); }
.legal {
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 0;
  font-size: 0.75rem;
  color: var(--muted);
}
@media (min-width: 640px) {
  .legal { flex-direction: row; justify-content: space-between; }
}

/* Mobile CTA */
.mobile-cta {
  position: fixed;
  inset: auto 0 0;
  z-index: 40;
  border-top: 1px solid var(--border);
  background: rgb(18 16 14 / 0.95);
  padding: 0.75rem;
  backdrop-filter: blur(12px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
@media (min-width: 768px) { .mobile-cta { display: none; } }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgb(18 16 14 / 0.8);
  padding: 1rem;
  align-items: center;
  justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox figure {
  width: min(100%, 56rem);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink-2);
  margin: 0;
}
.lightbox img { width: 100%; max-height: 70vh; object-fit: cover; }
.lightbox figcaption { padding: 1.25rem; }

.rise-in {
  animation: rise-in 500ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.d1 { animation-delay: 80ms; }
.d2 { animation-delay: 160ms; }
.d3 { animation-delay: 240ms; }
.d4 { animation-delay: 320ms; }
@keyframes rise-in {
  from { opacity: 0; transform: translateY(12px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

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

[id] { scroll-margin-top: 5.5rem; }
