/* =====================================================
   Imustech Solutions — premium static site
   Palette: white + kinetic yellow, warm charcoal text
   Type: Fraunces (headings) + Inter Tight (body)
   ===================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #faf8f2;
  --bg-cream: #f4efe3;
  --ink: #1f1b16;          /* warm dark, not black */
  --ink-2: #3a332b;
  --muted: #6f675c;
  --line: #ece7db;
  --line-2: #e2dccd;
  --yellow: #ffe500;       /* kinetic yellow */
  --yellow-2: #ffd400;
  --yellow-soft: #fff7a8;
  --shadow-sm: 0 1px 2px rgba(31, 27, 22, 0.05);
  --shadow-md: 0 20px 40px -20px rgba(31, 27, 22, 0.18);
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

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

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

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

/* Typography ------------------------------------------------ */
/* body-prefixed selectors give (0,0,2) specificity to beat Tailwind CDN
   preflight (h1..h6 { font-size: inherit }) that loads inside the preview iframe. */
body h1, body h2, body h3, body h4 {
  font-family: "Fraunces", "Playfair Display", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  line-height: 1.08;
}

body h1 {
  font-size: clamp(2.5rem, 5.4vw, 5.25rem);
  font-weight: 400;
}

body h2 {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  font-weight: 400;
}

body h3 {
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.015em;
}

body h4 {
  font-size: 1rem;
}

.eyebrow {
  font-family: "Inter Tight", sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--ink);
  display: inline-block;
}

.lead {
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  color: var(--ink-2);
  max-width: 640px;
  line-height: 1.55;
}

.serif-italic {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 400;
}

/* Navigation ------------------------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav.scrolled {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Fraunces", serif;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--yellow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(255, 229, 0, 0.5);
}

.brand-name b { font-weight: 500; }
.brand-name span { color: var(--muted); font-size: 12px; display: block; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; margin-top: 3px; font-family: "Inter Tight", sans-serif; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-size: 14px;
  color: var(--ink-2);
  position: relative;
  transition: color 0.2s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--ink); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.burger {
  display: none;
  border: 1px solid var(--line-2);
  background: #fff;
  width: 42px; height: 42px;
  border-radius: 999px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.burger span {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--ink);
  position: relative;
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink);
}
.burger span::before { top: -5px; }
.burger span::after  { top: 5px; }

/* Buttons --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}

.btn-yellow:hover {
  background: var(--yellow-2);
  border-color: var(--yellow-2);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: #fff;
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

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

/* Hero ------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 8vw, 120px) 0 clamp(80px, 10vw, 140px);
  background: linear-gradient(180deg, #fff 0%, #fff 40%, var(--bg-soft) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: end;
}

.hero-copy h1 span.kinetic {
  position: relative;
  display: inline-block;
  padding: 0 6px;
  background: linear-gradient(120deg, var(--yellow) 0%, var(--yellow) 100%);
  background-size: 100% 40%;
  background-position: 0 88%;
  background-repeat: no-repeat;
}

.hero-copy .eyebrow { margin-bottom: 26px; }
.hero-copy p.lead   { margin-top: 26px; }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 620px;
}

.hero-meta .kpi span {
  font-family: "Fraunces", serif;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -0.03em;
  display: block;
  line-height: 1;
}
.hero-meta .kpi small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-cream);
  box-shadow: 0 40px 80px -30px rgba(31, 27, 22, 0.35);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 6s ease-out;
}

.hero-visual:hover img { transform: scale(1.08); }

.hero-visual .badge {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.hero-visual .badge strong {
  font-family: "Fraunces", serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 18px;
}
.hero-visual .badge small { color: var(--muted); font-size: 12px; }

.ticker {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  background: var(--bg);
}

.ticker-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
  align-items: center;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Fraunces", serif;
  font-size: 22px;
  color: var(--ink-2);
}
.ticker-item::before {
  content: "";
  width: 8px; height: 8px; border-radius: 999px; background: var(--yellow);
  display: inline-block;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Sections -------------------------------------------------- */
.section {
  padding: clamp(72px, 9vw, 130px) 0;
}

.section-header {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 60px;
}

.section-header .eyebrow { margin-bottom: 22px; }

.section-header p {
  color: var(--muted);
  font-size: 17px;
  max-width: 520px;
}

/* Services -------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 38px 32px;
  background: #fff;
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 0;
  background: var(--yellow);
  transition: height 0.45s var(--ease);
  z-index: 0;
}

.service-card > * { position: relative; z-index: 1; }

.service-card:hover::before { height: 100%; }
.service-card:hover .service-icon { background: var(--ink); color: var(--yellow); border-color: var(--ink); }

.service-icon {
  width: 52px; height: 52px;
  border: 1px solid var(--ink);
  border-radius: 14px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all 0.35s var(--ease);
}
.service-icon svg { width: 22px; height: 22px; }

.service-card h3 { margin-bottom: 12px; }

.service-card p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 22px;
}

.service-card .link {
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-card .link .arrow { transition: transform 0.3s var(--ease); }
.service-card:hover .link .arrow { transform: translateX(4px); }

.service-num {
  position: absolute;
  top: 20px; right: 24px;
  font-family: "Fraunces", serif;
  font-style: italic;
  color: var(--muted);
  font-size: 14px;
}

/* Projects / Case studies ----------------------------------- */
.projects {
  background: var(--bg-soft);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.project-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.project-cover {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-cream);
}
.project-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.project-card:hover .project-cover img { transform: scale(1.06); }

.project-body {
  padding: 28px 32px 32px;
}

.project-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: var(--yellow-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.project-body h3 { font-size: 1.6rem; margin-bottom: 10px; }
.project-body p  { color: var(--muted); font-size: 15px; }

.project-metrics {
  display: flex;
  gap: 28px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.project-metrics div span {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.project-metrics div small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Marquee band ---------------------------------------------- */
.band {
  background: var(--yellow);
  padding: 26px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
}

.band-track {
  display: flex;
  gap: 60px;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}

.band-item {
  font-family: "Fraunces", serif;
  font-size: clamp(26px, 3vw, 42px);
  font-style: italic;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 40px;
}
.band-item::after {
  content: "✦";
  font-style: normal;
  font-size: 22px;
  color: var(--ink);
}

/* Testimonials ---------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.testimonial:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
}

.testimonial .quote-mark {
  font-family: "Fraunces", serif;
  font-size: 60px;
  line-height: 0.7;
  color: var(--yellow);
}

.testimonial blockquote {
  margin: 0;
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.testimonial .who {
  display: flex; align-items: center; gap: 14px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.testimonial .avatar {
  width: 44px; height: 44px; border-radius: 999px;
  background: var(--bg-cream);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "Fraunces", serif;
  font-weight: 600;
  color: var(--ink);
}
.testimonial .who strong { display: block; font-weight: 500; font-size: 15px; }
.testimonial .who small  { display: block; color: var(--muted); font-size: 13px; }

/* Testimonials Carousel ------------------------------------ */
.testimonials-carousel {
  position: relative;
  overflow: hidden;
  padding: 4px;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.testimonials-track .testimonial {
  flex: 0 0 calc((100% - 48px) / 3);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.testimonials-track .testimonial:hover {
  border-color: var(--ink);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.carousel-dots button {
  width: 22px;
  height: 4px;
  border-radius: 999px;
  border: none;
  background: var(--line-2);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s var(--ease), width 0.3s var(--ease);
}
.carousel-dots button.active {
  background: var(--ink);
  width: 40px;
}

.carousel-buttons {
  display: inline-flex;
  gap: 10px;
}

.carousel-btn {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: all 0.25s var(--ease);
}
.carousel-btn:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  transform: translateY(-2px);
}
.carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 960px) {
  .testimonials-track .testimonial { flex: 0 0 calc((100% - 24px) / 2); }
}
@media (max-width: 640px) {
  .testimonials-track .testimonial { flex: 0 0 100%; }
  .carousel-controls { justify-content: center; }
}

/* Process --------------------------------------------------- */
.process {
  background: var(--ink);
  color: #fff;
  border-radius: 0;
}
.process h2, .process .eyebrow { color: #fff; }
.process .eyebrow::before { background: var(--yellow); }
.process p { color: rgba(255,255,255,0.72); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.process-step {
  padding: 44px 28px;
  border-right: 1px solid rgba(255,255,255,0.12);
  position: relative;
}
.process-step:last-child { border-right: none; }
.process-step .num {
  font-family: "Fraunces", serif;
  font-style: italic;
  color: var(--yellow);
  font-size: 14px;
  margin-bottom: 18px;
  display: block;
}
.process-step h3 { color: #fff; font-size: 1.35rem; margin-bottom: 12px; }
.process-step p { font-size: 14px; color: rgba(255,255,255,0.68); }

/* CTA ------------------------------------------------------- */
.cta-block {
  background: var(--bg-cream);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 6vw, 90px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.cta-block::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  background: var(--yellow);
  border-radius: 999px;
  opacity: 0.55;
  filter: blur(30px);
}
.cta-block > * { position: relative; }

.cta-block h2 { max-width: 520px; }
.cta-block .cta-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* Footer ---------------------------------------------------- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 90px 0 40px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer h4 {
  color: #fff;
  font-family: "Inter Tight", sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 22px;
}

.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer ul a { font-size: 14px; transition: color 0.2s var(--ease); color: rgba(255,255,255,0.7); }
.footer ul a:hover { color: var(--yellow); }

.footer .brand { color: #fff; margin-bottom: 20px; }
.footer .brand-name span { color: rgba(255,255,255,0.5); }

.footer p.desc { font-size: 14px; color: rgba(255,255,255,0.7); max-width: 320px; line-height: 1.6; }

.footer-bottom {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
}

.socials { display: inline-flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 36px; height: 36px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.25s var(--ease);
}
.socials a:hover { background: var(--yellow); border-color: var(--yellow); }
.socials a:hover svg path { fill: var(--ink); }
.socials svg { width: 14px; height: 14px; }
.socials svg path { fill: rgba(255,255,255,0.75); transition: fill 0.25s var(--ease); }

/* Inner page hero ------------------------------------------- */
.page-hero {
  padding: 90px 0 60px;
  background: linear-gradient(180deg, #fff, var(--bg-soft));
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow { margin-bottom: 22px; }
.page-hero h1 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); max-width: 900px; }
.page-hero p { color: var(--muted); font-size: 17px; margin-top: 20px; max-width: 620px; }

.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { margin: 0 8px; }

/* Service detail page --------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.feature-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 16px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px;
  background: #fff;
  transition: background 0.3s var(--ease);
}
.feature-list li:hover { background: var(--bg-soft); }
.feature-list li .tick {
  width: 26px; height: 26px; border-radius: 8px; background: var(--yellow);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  margin-top: 2px;
}
.feature-list li strong { display: block; margin-bottom: 4px; font-weight: 500; }
.feature-list li p { margin: 0; color: var(--muted); font-size: 14px; }

/* Form ------------------------------------------------------ */
.form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid .full { grid-column: 1 / -1; }

.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px var(--yellow-soft);
}

.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

.form-success {
  display: none;
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--yellow-soft);
  border: 1px solid var(--yellow);
  border-radius: 12px;
  font-size: 14px;
  color: var(--ink);
}
.form-success.show { display: block; animation: fadeIn 0.4s var(--ease); }

/* Contact panel --------------------------------------------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start;
}
.contact-panel {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px;
}
.contact-panel h3 { color: #fff; margin-bottom: 24px; }
.contact-item { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.contact-item:last-child { border-bottom: none; }
.contact-item small {
  display: block; text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px; color: rgba(255,255,255,0.55); margin-bottom: 6px;
}
.contact-item strong, .contact-item a {
  font-family: "Fraunces", serif; font-weight: 400; font-size: 22px; letter-spacing: -0.01em; color: #fff; display: block;
}
.contact-item a:hover { color: var(--yellow); }

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

.post-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-cover { aspect-ratio: 16 / 10; overflow: hidden; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-cover img { transform: scale(1.05); }
.post-body { padding: 26px 28px 30px; }
.post-body small { color: var(--muted); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.post-body h3 { font-size: 1.4rem; margin: 12px 0 10px; }
.post-body p { font-size: 14px; color: var(--muted); }
.post-body .link { margin-top: 16px; display: inline-flex; gap: 8px; font-weight: 500; font-size: 14px; }

.post-article {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 0 80px;
}
.post-article img.cover {
  width: 100%; border-radius: var(--radius-lg); margin: 24px 0 40px; aspect-ratio: 16/8; object-fit: cover;
}
.post-article h2 { margin: 36px 0 16px; font-size: 2rem; }
.post-article p { color: var(--ink-2); font-size: 17px; line-height: 1.7; margin: 0 0 20px; }
.post-article blockquote {
  border-left: 3px solid var(--yellow);
  margin: 30px 0;
  padding: 6px 0 6px 24px;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
}
.post-article ul { padding-left: 20px; color: var(--ink-2); }
.post-article ul li { margin: 8px 0; }

/* Reveal on scroll ----------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(6px);} to {opacity:1; transform:none;} }

/* Responsive ------------------------------------------------ */
@media (max-width: 960px) {
  .hero-grid,
  .section-header,
  .split,
  .cta-block,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services-grid,
  .testimonials-grid,
  .blog-grid,
  .projects-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }
  .service-card { border-right: none; }
  .process-step { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .form-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 74px; left: 16px; right: 16px;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--shadow-md);
    gap: 18px;
  }
  .burger { display: inline-flex; }
  .hero-meta { flex-wrap: wrap; gap: 22px; }
}

@media (max-width: 640px) {
  .form-wrap { padding: 28px; }
  .contact-panel { padding: 32px; }
  .cta-block { padding: 40px 26px; }
  .band-item { font-size: 24px; }
}
