:root {
  color-scheme: light;
  --ink: #142B4A;
  --ink-soft: #294363;
  --muted: #64748B;
  --paper: #F8FAFC;
  --white: #ffffff;
  --mist: #eef4fb;
  --line: #d8e1ec;
  --accent: #60A5FA;
  --accent-dark: #2B73EE;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Poppins", Arial, sans-serif;
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #4b829f; outline-offset: 3px; }
.skip-link { position: absolute; z-index: 1000; top: 8px; left: 8px; padding: .7rem 1rem; transform: translateY(-150%); background: var(--ink); color: white; border-radius: 4px; }
.skip-link:focus { transform: translateY(0); }
.container { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(248 247 243 / 94%); border-bottom: 1px solid rgb(215 224 227 / 65%); backdrop-filter: blur(16px); }
.nav-wrap { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand-mark { width: 42px; height: 42px; display: inline-flex; flex: 0 0 auto; }
.brand-mark svg { width: 100%; height: 100%; fill: var(--ink); }
.brand-mark .mark-line { fill: none; stroke: var(--accent); stroke-width: 1.4; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.3; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; letter-spacing: -.04em; }
.brand-tagline { color: var(--muted); font-size: .62rem; letter-spacing: .015em; white-space: nowrap; }
.primary-nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 34px); }
.nav-link, .footer-nav a { text-decoration: none; font-size: .82rem; color: var(--ink-soft); }
.nav-link { position: relative; padding: 10px 0; }
.nav-link::after { content: ""; position: absolute; bottom: 2px; left: 0; height: 1px; width: 100%; background: var(--accent-dark); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 12px 22px; border: 1px solid var(--ink); border-radius: 3px; background: var(--ink); color: white; text-decoration: none; font: 600 .88rem var(--sans); cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover { background: var(--accent-dark); transform: translateY(-1px); }
.button-small { min-height: 40px; padding: 8px 15px; gap: 12px; font-size: .8rem; }
.button-outline { background: transparent; color: var(--ink); border-color: #7c8f9d; }
.button-outline:hover { color: white; }
.menu-toggle { display: none; }
.section { padding: 94px 0; }
.hero { padding-top: 78px; padding-bottom: 82px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.04fr; align-items: center; gap: 26px; }
.eyebrow { margin: 0 0 18px; color: var(--accent-dark); font-size: .72rem; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; line-height: 1.08; }
h1 { margin-bottom: 20px; font-size: clamp(3.15rem, 5.2vw, 5.15rem); }
h1 em, h2 em { font-weight: 400; }
.hero-intro { max-width: 530px; margin-bottom: 28px; color: var(--ink-soft); font-size: 1.12rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { min-height: 390px; position: relative; display: grid; place-items: center; isolation: isolate; }
.art-grid { position: absolute; inset: 2% -12% 0 0; opacity: .5; background: repeating-linear-gradient(168deg, transparent 0 51px, #c9d6dc 52px, transparent 53px), repeating-linear-gradient(90deg, transparent 0 68px, #d6e0e4 69px, transparent 70px); mask-image: linear-gradient(90deg, transparent, black 20%, black 85%, transparent); }
.n-art { width: 100%; max-width: 570px; overflow: visible; }
.construction-lines { stroke: #a9bec8; stroke-width: .8; fill: none; opacity: .75; }
.n-face { fill: url(#nfill); stroke: #294f69; stroke-width: 1.2; }
.n-side { fill: #557d94; stroke: #294f69; stroke-width: 1; }
.n-highlight { fill: #f8f7f3; opacity: .84; }
.art-ground { fill: none; stroke: #6f91a3; stroke-width: 1; }
.art-note { position: absolute; right: 0; top: 36%; color: var(--accent-dark); font-size: .65rem; line-height: 2.1; letter-spacing: .22em; text-transform: uppercase; }
.services { background: var(--white); }
.section-heading { margin-bottom: 44px; }
.split-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 50px; }
.section-heading .eyebrow { margin-bottom: 12px; }
h2 { margin-bottom: 0; font-size: clamp(2.35rem, 3.6vw, 3.55rem); }
.split-heading > p { max-width: 500px; margin: 0 0 5px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.service-card { padding: 30px 30px 8px 0; }
.service-card + .service-card { padding-left: 30px; border-left: 1px solid var(--line); }
.service-icon { height: 52px; width: 60px; margin-bottom: 20px; position: relative; color: var(--accent-dark); }
.icon-architecture span { position: absolute; width: 25px; height: 25px; border: 1.5px solid currentColor; }
.icon-architecture span:nth-child(1) { left: 0; top: 0; }
.icon-architecture span:nth-child(2) { left: 13px; top: 12px; }
.icon-architecture span:nth-child(3) { left: 26px; top: 24px; }
.icon-infrastructure span { position: absolute; width: 21px; height: 21px; border: 1.5px solid currentColor; transform: rotate(30deg) skewY(30deg) scaleX(.86); }
.icon-infrastructure span:nth-child(1) { left: 18px; top: 0; }
.icon-infrastructure span:nth-child(2) { left: 5px; top: 20px; }
.icon-infrastructure span:nth-child(3) { left: 31px; top: 20px; }
.icon-engineering { display: flex; align-items: center; gap: 4px; font-size: 2.4rem; font-family: var(--serif); font-weight: 300; }
.service-card h3, .process-grid h3 { margin-bottom: 9px; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; letter-spacing: -.025em; }
.service-card p { min-height: 82px; margin-bottom: 14px; color: var(--muted); font-size: .94rem; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--accent-dark); font-size: .87rem; font-weight: 600; text-decoration: none; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px, -2px); }
.approach { background: var(--mist); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 0; padding: 0; list-style: none; }
.process-grid li { position: relative; }
.process-grid li:not(:last-child)::after { content: ""; position: absolute; top: 25px; left: 65px; right: -12px; height: 1px; background: #9db3bf; }
.step-number { position: relative; z-index: 1; display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 18px; border: 1px solid #7896a6; border-radius: 50%; background: var(--mist); font-family: var(--serif); font-size: 1rem; }
.process-grid h3 { font-size: 1.45rem; }
.process-grid p { margin: 0; color: var(--muted); font-size: .9rem; }
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: .95fr 1fr .65fr; align-items: center; gap: 34px; }
.about-heading h2 { font-size: clamp(2.3rem, 3.2vw, 3.3rem); }
.about-copy { padding-left: 30px; border-left: 1px solid var(--line); color: var(--muted); font-size: .94rem; }
.about-copy p:last-of-type { margin-bottom: 18px; }
.about-art { height: 235px; position: relative; overflow: hidden; background: linear-gradient(145deg, #dfe9ed, #a6bdc8 60%, #6c8fa3); }
.building-panel { position: absolute; top: -20px; right: 12%; width: 64%; height: 300px; background: linear-gradient(110deg, #f7f8f5 0 44%, #b7cbd4 44% 47%, #f1f2ee 47%); transform: skewY(-19deg); box-shadow: 14px 12px 20px rgb(16 43 67 / 10%); }
.building-line { position: absolute; top: 0; bottom: 0; right: 38%; width: 3px; background: #5f7f91; transform: skewY(-19deg); }
.building-sky { position: absolute; top: 0; left: 0; width: 32%; height: 100%; background: linear-gradient(130deg, rgb(255 255 255 / 35%), transparent); }
.contact { background: var(--mist); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 8vw, 110px); }
.contact-copy h2 { margin-bottom: 18px; }
.contact-copy > p:not(.eyebrow) { color: var(--muted); }
.form-note { font-size: .82rem; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .82rem; font-weight: 600; }
.field label span { color: #9c4b42; }
.field label .optional { color: var(--muted); font-weight: 400; }
.field input, .field textarea { width: 100%; border: 1px solid #c9d5da; border-radius: 3px; background: rgb(255 255 255 / 85%); color: var(--ink); padding: 12px 13px; font: 400 .95rem var(--sans); }
.field input { min-height: 46px; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { border-color: var(--accent-dark); outline: 2px solid rgb(33 74 102 / 16%); }
.contact-form .button { align-self: flex-start; }
.contact-form .small { margin: -5px 0 0; }
.contact-form code { font-size: .8rem; }
.form-error { margin: 0; color: #8d3028; font-size: .9rem; }
.site-footer { background: var(--paper); }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 28px; }
.footer-brand .brand-mark { width: 34px; height: 34px; }
.footer-brand .brand-name { font-size: 1.2rem; }
.footer-brand .brand-tagline { font-size: .56rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-nav a:hover { color: var(--accent-dark); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 15px 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
@media (max-width: 960px) {
  .container { width: min(var(--max), calc(100% - 44px)); }
  .nav-wrap { min-height: 76px; }
  .primary-nav { gap: 16px; }
  .nav-link { font-size: .76rem; }
  .brand-name { font-size: 1.3rem; }
  .brand-tagline { font-size: .55rem; }
  .hero-grid { grid-template-columns: 1fr .85fr; }
  h1 { font-size: clamp(2.8rem, 5.2vw, 4rem); }
  .hero-art { min-height: 320px; }
  .art-note { right: -4px; font-size: .55rem; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-art { display: none; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 76px; }
  .container { width: calc(100% - 40px); }
  .nav-wrap { min-height: 72px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 1.25rem; }
  .brand-tagline { font-size: .52rem; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 3px; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 19px; height: 1px; margin-inline: auto; background: var(--ink); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; align-items: stretch; gap: 0; padding: 10px 20px 20px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 15px 20px rgb(16 43 67 / 6%); }
  .primary-nav.is-open { display: flex; flex-direction: column; }
  .nav-link { padding: 12px 0; font-size: .9rem; }
  .nav-link::after { display: none; }
  .nav-cta { margin-top: 8px; align-self: flex-start; }
  .section { padding: 68px 0; }
  .hero { padding-top: 48px; padding-bottom: 54px; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-copy { position: relative; z-index: 2; }
  .eyebrow { font-size: .66rem; letter-spacing: .15em; }
  h1 { font-size: clamp(2.8rem, 11vw, 4.3rem); }
  .hero-intro { font-size: 1rem; }
  .hero-art { min-height: 245px; margin: -8px -8px 0; }
  .n-art { max-height: 280px; }
  .art-note { right: 3%; top: 35%; font-size: .5rem; }
  .split-heading { grid-template-columns: 1fr; gap: 18px; }
  h2 { font-size: clamp(2.25rem, 9vw, 3rem); }
  .section-heading { margin-bottom: 32px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card + .service-card { padding: 25px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .service-card:last-child { border-bottom: 0; }
  .service-card p { min-height: 0; max-width: 500px; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .process-grid li:not(:last-child)::after { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-copy { padding-left: 18px; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-main { align-items: flex-start; flex-direction: column; }
  .footer-nav { gap: 16px 22px; }
  .footer-bottom { flex-direction: column; gap: 4px; }
}
@media (max-width: 380px) {
  .brand-tagline { white-space: normal; max-width: 210px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .process-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Official Niyaara Tech brand-kit logo */
.brand { gap: 0; }
.brand-logo { display: block; width: min(290px, 30vw); height: auto; max-height: 54px; object-fit: contain; object-position: left center; }
.footer-logo { width: min(270px, 42vw); max-height: 48px; }
@media (max-width: 720px) {
  .brand-logo { width: min(235px, 57vw); max-height: 46px; }
  .footer-logo { width: min(245px, 65vw); max-height: 44px; }
}


/* Spam-trap field: hidden from people, available to basic automated form fillers. */
.form-trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
