
:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --surface-2: #efeee9;
  --text: #151515;
  --muted: #6b6b66;
  --line: #d9d7cf;
  --accent: #5f49e8;
  --accent-soft: #e8e4ff;
  --dark: #111111;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --shadow: 0 24px 70px rgba(18,18,18,.08);
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { max-width: 100%; display: block; }

.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.section { padding: 120px 0; }
.section--tight { padding: 80px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 22px;
}
.eyebrow::before { content:""; width: 26px; height: 1px; background: currentColor; }
.section-heading {
  font-size: clamp(2.25rem, 4vw, 4.5rem);
  line-height: 1.02; letter-spacing: -.055em; max-width: 900px;
}
.section-copy { color: var(--muted); max-width: 660px; font-size: 1.05rem; margin-top: 22px; }
.muted { color: var(--muted); }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.site-header.scrolled {
  background: rgba(246,245,241,.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.nav {
  min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 26px;
}
.logo { font-weight: 800; letter-spacing: -.04em; font-size: 1.08rem; }
.logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: .92rem; }
.nav-links a { color: #3f3f3b; transition: color .2s ease; }
.nav-links a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; padding: 14px 20px; border: 1px solid transparent;
  font-weight: 700; font-size: .93rem; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn--dark { background: var(--dark); color: white; }
.btn--light { border-color: var(--line); background: rgba(255,255,255,.65); }
.btn--accent { background: var(--accent); color: white; }
.menu-btn {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  background: rgba(255,255,255,.65); border-radius: 50%; align-items:center; justify-content:center;
  position: relative; z-index: 70;
}
.menu-btn span, .menu-btn::before, .menu-btn::after {
  content:""; position:absolute; width:19px; height:1.5px; background:var(--text); transition:.25s ease;
}
.menu-btn::before { transform: translateY(-6px); }
.menu-btn::after { transform: translateY(6px); }
.menu-btn.active span { opacity: 0; }
.menu-btn.active::before { transform: rotate(45deg); }
.menu-btn.active::after { transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: min(88vw, 410px);
  background: var(--surface); z-index: 60; padding: 120px 34px 40px;
  transform: translateX(105%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  box-shadow: -30px 0 80px rgba(0,0,0,.1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu nav { display:grid; gap: 8px; }
.mobile-menu a { font-size: 2rem; font-weight: 750; letter-spacing: -.05em; padding: 10px 0; }
.mobile-menu .mobile-cta { margin-top: 28px; font-size: 1rem; }
.menu-overlay { position: fixed; inset:0; background: rgba(0,0,0,.28); opacity:0; visibility:hidden; z-index:55; transition:.25s ease; }
.menu-overlay.show { opacity:1; visibility:visible; }

.hero {
  min-height: 100vh; padding: 150px 0 70px; display:flex; align-items:center; position:relative; overflow:hidden;
}
.hero::after {
  content:""; position:absolute; width:540px; height:540px; border-radius:50%;
  background: radial-gradient(circle, rgba(95,73,232,.17), rgba(95,73,232,0) 70%);
  right:-160px; top:90px; pointer-events:none;
}
.hero-grid { display:grid; grid-template-columns: 1.12fr .88fr; gap: 70px; align-items:end; position:relative; z-index:1; }
.hero h1 {
  font-size: clamp(3.7rem, 7.3vw, 7.8rem); line-height:.88; letter-spacing:-.075em; max-width: 900px;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-copy { max-width: 480px; padding-bottom: 12px; }
.hero-copy p { color:var(--muted); font-size:1.14rem; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.hero-meta {
  display:flex; gap:24px; flex-wrap:wrap; margin-top:38px; padding-top:24px; border-top:1px solid var(--line);
  color:var(--muted); font-size:.85rem;
}
.hero-note {
  position:absolute; left:0; bottom:34px; font-size:.8rem; color:var(--muted);
  display:flex; align-items:center; gap:10px;
}
.hero-note::before { content:""; width:7px; height:7px; background:#38a169; border-radius:50%; box-shadow:0 0 0 5px rgba(56,161,105,.12); }

.work-intro { display:flex; justify-content:space-between; gap:40px; align-items:end; margin-bottom:58px; }
.work-intro .section-heading { max-width:760px; }
.projects { display:grid; gap:42px; }
.project-card {
  display:grid; grid-template-columns: 1.2fr .8fr; min-height:540px;
  border:1px solid var(--line); background:var(--surface); border-radius:var(--radius-lg); overflow:hidden;
  box-shadow: var(--shadow); transition: transform .35s ease, box-shadow .35s ease;
}
.project-card:hover { transform: translateY(-7px); box-shadow:0 30px 90px rgba(18,18,18,.12); }
.project-visual { padding:40px; display:flex; align-items:center; justify-content:center; min-height:380px; }
.project-visual.skin-one { background:linear-gradient(135deg,#e7f0ff,#d7e4ff); }
.project-visual.skin-two { background:linear-gradient(135deg,#1b1a23,#403d57); }
.project-visual.dental { background:linear-gradient(135deg,#d9f2f0,#ebfbf8); }
.browser {
  width:100%; max-width:720px; background:#fff; border-radius:18px; overflow:hidden;
  box-shadow:0 24px 60px rgba(0,0,0,.18); transform:perspective(900px) rotateY(-3deg) rotateX(1deg);
}
.browser-bar { height:32px; border-bottom:1px solid #ececec; display:flex; align-items:center; gap:6px; padding:0 12px; background:#fafafa; }
.browser-bar i { width:7px; height:7px; border-radius:50%; background:#d1d1d1; }
.mock {
  min-height:315px; display:grid; align-content:center; padding:34px;
  background:linear-gradient(145deg,#fff 0 58%,#f5f7fb 58% 100%);
}
.mock.dark { background:linear-gradient(145deg,#15151a 0 58%,#26242f 58% 100%); color:white; }
.mock .mini { font-size:.68rem; text-transform:uppercase; letter-spacing:.14em; opacity:.58; margin-bottom:10px; }
.mock h3 { font-size:clamp(1.8rem,3vw,3.3rem); max-width:470px; line-height:1; letter-spacing:-.055em; }
.mock p { margin-top:14px; font-size:.86rem; opacity:.65; max-width:360px; }
.mock .mock-btn { width:105px; height:28px; border-radius:999px; margin-top:20px; background:var(--accent); }
.mock.dark .mock-btn { background:#f4dfbd; }
.project-info { padding:48px 42px; display:flex; flex-direction:column; justify-content:space-between; gap:34px; }
.project-number { color:var(--muted); font-size:.78rem; letter-spacing:.12em; text-transform:uppercase; }
.project-info h3 { font-size:2.2rem; line-height:1.05; letter-spacing:-.045em; margin-top:16px; }
.project-info p { color:var(--muted); margin-top:18px; }
.tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:24px; }
.tag { border:1px solid var(--line); border-radius:999px; padding:7px 11px; font-size:.76rem; color:#555550; background:#fafaf7; }
.project-link { display:inline-flex; align-items:center; gap:10px; font-weight:750; }
.project-link span { transition:transform .2s ease; }
.project-link:hover span { transform:translateX(5px); }

.services-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:54px; }
.service-card { padding:34px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md); }
.service-icon {
  width:48px; height:48px; border-radius:14px; display:grid; place-items:center; margin-bottom:32px;
  background:var(--accent-soft); color:var(--accent); font-weight:800;
}
.service-card h3 { font-size:1.32rem; letter-spacing:-.025em; }
.service-card p { margin-top:12px; color:var(--muted); font-size:.95rem; }

.process { background:var(--dark); color:white; border-radius:var(--radius-lg); padding:70px; }
.process .eyebrow, .process .section-copy { color:#a9a9a3; }
.steps { margin-top:58px; display:grid; grid-template-columns:repeat(5,1fr); }
.step { padding:26px 24px; border-left:1px solid #313131; min-height:230px; }
.step:first-child { border-left:0; padding-left:0; }
.step-num { font-size:.72rem; color:#85857f; letter-spacing:.12em; }
.step h3 { margin-top:68px; font-size:1.05rem; }
.step p { color:#92928c; font-size:.84rem; margin-top:9px; }

.about-grid { display:grid; grid-template-columns:.78fr 1.22fr; gap:80px; align-items:start; }
.about-card {
  border-radius:var(--radius-lg); min-height:480px; background:linear-gradient(145deg,#ddd9cf,#f9f8f4);
  border:1px solid var(--line); padding:30px; display:flex; align-items:end;
}
.about-card-inner { background-image: url(Rahul.jpg); backdrop-filter:blur(10px); border-radius:20px; padding:24px; width:100%; }
.about-card strong { display:block; font-size:1.1rem; }
.about-card span { color:var(--muted); font-size:.88rem; }
.about-copy h2 { font-size:clamp(2.4rem,4.5vw,5rem); line-height:.98; letter-spacing:-.06em; }
.about-copy p { color:var(--muted); font-size:1.08rem; margin-top:25px; max-width:700px; }
.skill-list { display:flex; flex-wrap:wrap; gap:9px; margin-top:32px; }

.cta {
  background:var(--accent); color:white; border-radius:var(--radius-lg); padding:72px;
  display:flex; justify-content:space-between; align-items:end; gap:44px;
}
.cta h2 { font-size:clamp(2.8rem,6vw,6rem); line-height:.94; letter-spacing:-.065em; max-width:780px; }
.cta p { max-width:370px; opacity:.78; margin-bottom:24px; }
.cta .btn { background:white; color:var(--text); }

.footer { padding:34px 0 48px; }
.footer-top { display:flex; justify-content:space-between; gap:28px; align-items:center; padding-bottom:24px; border-bottom:1px solid var(--line); }
.socials { display:flex; gap:18px; flex-wrap:wrap; color:var(--muted); font-size:.88rem; }
.footer-bottom { display:flex; justify-content:space-between; gap:20px; padding-top:20px; color:var(--muted); font-size:.8rem; }

.page-hero { padding:170px 0 80px; }
.page-hero h1 { font-size:clamp(3.5rem,7vw,7rem); line-height:.92; letter-spacing:-.07em; max-width:1000px; }
.page-hero p { max-width:650px; color:var(--muted); margin-top:26px; font-size:1.08rem; }

.case-hero { padding:160px 0 70px; }
.case-meta { display:flex; gap:40px; flex-wrap:wrap; margin-top:34px; color:var(--muted); }
.case-preview { margin-top:60px; border-radius:var(--radius-lg); overflow:hidden; padding:70px; min-height:600px; display:grid; place-items:center; }
.case-preview.one { background:linear-gradient(135deg,#e7f0ff,#cfdfff); }
.case-preview.two { background:linear-gradient(135deg,#1b1a23,#4a4560); }
.case-preview.three { background:linear-gradient(135deg,#d9f2f0,#eaf9f8); }
.case-content { display:grid; grid-template-columns:.8fr 1.2fr; gap:70px; padding-top:80px; }
.case-content h2 { font-size:2rem; letter-spacing:-.04em; }
.case-content p { color:var(--muted); margin-bottom:20px; }

.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:70px; }
.contact-links { display:grid; gap:12px; margin-top:34px; }
.contact-link {
  display:flex; justify-content:space-between; padding:20px 0; border-bottom:1px solid var(--line);
  font-weight:700;
}
.contact-card { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:40px; }
.contact-card h2 { font-size:2rem; letter-spacing:-.04em; }
.contact-card p { color:var(--muted); margin-top:12px; }
.contact-card .btn { margin-top:24px; }

.reveal { opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity:1; transform:none; }

@media (max-width: 980px) {
  .nav-links, .nav > .btn { display:none; }
  .menu-btn { display:flex; }
  .hero-grid { grid-template-columns:1fr; gap:38px; align-items:start; }
  .hero-copy { max-width:650px; }
  .hero-note { position:static; margin-top:42px; }
  .project-card { grid-template-columns:1fr; }
  .project-info { min-height:330px; }
  .services-grid { grid-template-columns:1fr; }
  .steps { grid-template-columns:1fr 1fr; }
  .step:nth-child(3) { border-left:0; }
  .about-grid, .case-content, .contact-grid { grid-template-columns:1fr; }
  .about-card { min-height:360px; }
  .cta { align-items:start; flex-direction:column; }
}

@media (max-width: 680px) {
  .container { width:min(calc(100% - 28px), var(--max)); }
  .section { padding:84px 0; }
  .section--tight { padding:60px 0; }
  .nav { min-height:72px; }
  .hero { padding-top:122px; min-height:auto; }
  .hero h1 { font-size:clamp(3.15rem,16vw,5.6rem); }
  .hero-copy p { font-size:1rem; }
  .hero-actions { align-items:stretch; }
  .hero-actions .btn { flex:1 1 100%; }
  .work-intro { align-items:start; flex-direction:column; }
  .project-card { border-radius:24px; }
  .project-visual { padding:22px; min-height:320px; }
  .mock { min-height:260px; padding:24px; }
  .project-info { padding:32px 26px; }
  .project-info h3 { font-size:1.8rem; }
  .services-grid { margin-top:34px; }
  .process { padding:42px 26px; border-radius:24px; }
  .steps { grid-template-columns:1fr; }
  .step, .step:nth-child(3) { border-left:0; border-top:1px solid #313131; padding:24px 0; min-height:auto; }
  .step:first-child { border-top:0; }
  .step h3 { margin-top:28px; }
  .about-grid { gap:42px; }
  .cta { padding:46px 26px; border-radius:24px; }
  .cta h2 { font-size:clamp(2.7rem,13vw,4rem); }
  .footer-top, .footer-bottom { align-items:flex-start; flex-direction:column; }
  .page-hero, .case-hero { padding-top:130px; }
  .case-preview { min-height:370px; padding:22px; margin-top:40px; }
}
