/* Paper-collage / sticky-note look inspired by vridhiidigital.com: cream paper, Anton headlines on highlighter strips, Caveat handwriting, tilted sticky cards. */
:root {
  color-scheme: light;
  --bg: #FBF8F1; --surface: #FFFFFF; --ink: #26231F; --muted: #6B6355; --line: #D8C6A5;
  --accent: #D2452B; --accent-deep: #D2452B; --blue: #1B86B8;
  --strip: #FFE24D; --sticky-y: #FFF3A6; --sticky-b: #CDE9F7; --sticky-p: #FFD6E0; --sticky-g: #D9EFD3;
  --shadow-paper: 3px 5px 0 rgba(38,35,31,.9); --shadow-soft: 2px 4px 10px rgba(64,54,38,.18);
  --display: "Anton", Impact, sans-serif; --sans: "Inter", "Segoe UI", system-ui, sans-serif; --hand: "Caveat", cursive;
  --spring: cubic-bezier(.34,1.56,.64,1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg:#1E1B17; --surface:#2A2620; --ink:#F4EEDF; --muted:#B5AA95; --line:#4A4234; --accent:#FF7A5C; --accent-deep:#FF7A5C; --blue:#63BFE8; --strip:#FFD21F; --sticky-y:#6B6020; --sticky-b:#24516A; --sticky-p:#6E3A4A; --sticky-g:#3B5A36; --shadow-paper:3px 5px 0 rgba(0,0,0,.6); color-scheme: dark; }
}
:root[data-theme="dark"] { --bg:#1E1B17; --surface:#2A2620; --ink:#F4EEDF; --muted:#B5AA95; --line:#4A4234; --accent:#FF7A5C; --accent-deep:#FF7A5C; --blue:#63BFE8; --strip:#FFD21F; --sticky-y:#6B6020; --sticky-b:#24516A; --sticky-p:#6E3A4A; --sticky-g:#3B5A36; --shadow-paper:3px 5px 0 rgba(0,0,0,.6); color-scheme: dark; }
* { box-sizing: border-box; }
img { max-width: 100%; }
[hidden]:not([hidden="until-found" i]) { display: none !important; }
body { margin:0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size:17px; line-height:1.6; padding-inline: max(16px, env(safe-area-inset-left,0px)); padding-block: 0; overflow-x: hidden; }
.wrap { max-width: 1100px; margin: 0 auto; }
a { color: inherit; }
:focus-visible { outline: 2px dashed var(--accent); outline-offset: 3px; }
h1,h2,h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; margin:0; line-height:1.12; }
.hand { font-family: var(--hand); font-weight: 700; font-size: 24px; color: var(--blue); margin: 0; text-transform: none; }
.mono { font-family: var(--hand); font-weight: 700; font-size: 20px; color: var(--blue); }

/* nav: sticky notes */
.top { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; flex-wrap:wrap; padding-block: 22px 8px; }
.brand { display:inline-block; text-decoration:none; transform: rotate(-2deg); box-shadow: var(--shadow-soft); border-radius:12px; line-height:0; }
.brand img { display:block; width:auto; height:68px; border-radius:12px; }
.nav { display:flex; gap:10px; flex-wrap:wrap; }
.nav a { padding:14px 14px 16px; font-size:.7rem; font-weight:700; letter-spacing:.09em; text-transform:uppercase; text-decoration:none; color:#26231F; background: var(--sticky-y); box-shadow: var(--shadow-soft); transform: rotate(-2deg); transition: transform .3s var(--spring), box-shadow .3s; border-radius: 2px; }
.nav a:nth-child(2){ background: var(--sticky-b); transform: rotate(1.6deg); }
.nav a:nth-child(3){ background: var(--sticky-p); transform: rotate(-1.2deg); }
.nav a:nth-child(4){ background: var(--sticky-g); transform: rotate(2deg); }
.nav a:hover { transform: rotate(0) translateY(-4px); box-shadow: 4px 7px 14px rgba(64,54,38,.25); }

/* hero */
.hero { display:grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap:48px; padding-block: 48px 56px; align-items:start; }
.hero .eyebrow { margin:0 0 4px; }
.hero h1 { display:flex; flex-direction:column; gap:10px; align-items:flex-start; margin-top: 14px; }
.hero h1 .strip { display:inline-block; background: var(--strip); color:#26231F; padding: 16px 26px 20px; font-size: clamp(2rem,5vw,4rem); box-shadow: var(--shadow-paper); }
.hero h1 .strip:nth-child(2) { transform: rotate(-1deg) translateX(14px); }
.hero h1 em { font-style:normal; color: #B8321B; }
.hero p.lead { margin: 26px 0 0; max-width: 52ch; color: var(--muted); font-size: 18px; }
.actions { display:flex; gap:14px; flex-wrap:wrap; margin-top: 28px; }
.btn { display:inline-block; padding: 13px 24px; border-radius: 999px; font-weight:700; font-size:15px; text-decoration:none; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); transition: transform .2s var(--spring), box-shadow .2s; }
.btn:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--ink); }
.btn.primary { background: var(--accent); color:#fff; }
.btn.ghost { background: var(--surface); }
.hero .hand { margin-top: 18px; transform: rotate(-2deg); display:inline-block; }
.stats { display:flex; gap: 28px; flex-wrap:wrap; list-style:none; padding:0; margin: 22px 0 0; font-size: 14px; color: var(--muted); }
.stats b { display:block; font-family: var(--display); font-weight:400; font-size: 38px; color: var(--ink); line-height:1; }

/* workflow card: paper note */
.flow { background: var(--surface); border: 2px solid var(--ink); border-radius: 4px; padding: 22px; box-shadow: var(--shadow-paper); transform: rotate(1.2deg); position:relative; }
.flow::before { content:""; position:absolute; top:-14px; left:50%; width:90px; height:26px; transform: translateX(-50%) rotate(-3deg); background: rgba(255,226,77,.75); }
.flow-head { display:flex; justify-content:space-between; align-items:center; margin-bottom: 12px; }
.dot { display:inline-block; width:9px; height:9px; border-radius:50%; background: var(--accent); margin-right:8px; }
.flow ol { list-style:none; margin:0; padding:0; }
.flow li { display:grid; grid-template-columns: 64px minmax(0,1fr); gap:12px; padding: 10px 0; border-top: 2px dashed var(--line); font-size:15px; line-height:1.4; }
.flow li:first-child { border-top:0; }
.flow time { font-family: var(--hand); font-weight:700; font-size: 20px; color: var(--accent-deep); line-height:1.1; }
.flow .tag { font-size: 11px; font-weight:700; text-transform:uppercase; background: var(--sticky-g); color:#26231F; border-radius: 3px; padding: 1px 6px; margin-left:6px; }
.flow-foot { margin: 12px 0 0; font-size:14px; color: var(--muted); }

/* ticker */
.ticker { overflow:hidden; background: var(--ink); color: var(--bg); transform: rotate(-1deg); margin-inline: -16px; padding-block: 12px; font-family: var(--display); text-transform: uppercase; font-size: 22px; letter-spacing:.04em; white-space:nowrap; }
.ticker div { display:inline-flex; }

/* sections */
section { padding-block: 72px 24px; }
.sec-head { display:grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap:48px; margin-bottom: 36px; align-items:end; }
.sec-head h2 { font-size: clamp(32px,4.5vw,52px); display:inline-block; justify-self:start; background: var(--strip); color:#26231F; padding: 6px 16px 10px; box-shadow: var(--shadow-paper); transform: rotate(-1.5deg); }
.sec-head p { margin:0; color: var(--muted); max-width: 56ch; }

/* services: sticky cards */
#tracks { display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
#tracks .sec-head { grid-column: 1 / -1; margin-bottom: 8px; }
.svc { display:block; background: var(--sticky-y); color:#26231F; padding: 28px; border-radius: 3px; box-shadow: var(--shadow-soft); transform: rotate(-.8deg); transition: transform .3s var(--spring), box-shadow .3s; }
.svc:nth-of-type(2){ background: var(--sticky-b); transform: rotate(.8deg); }
.svc:nth-of-type(3){ background: var(--sticky-p); transform: rotate(.6deg); }
.svc:nth-of-type(4){ background: var(--sticky-g); transform: rotate(-.6deg); }
.svc:hover { transform: rotate(0) translateY(-5px); box-shadow: 4px 8px 16px rgba(64,54,38,.25); }
.svc h3 { font-size: 28px; margin-bottom: 12px; }
.svc h3 small { display:block; font-size: 22px; margin-bottom: 2px; color: #B8321B; font-family: var(--hand); font-weight:700; text-transform:none; }
.svc p { margin: 0 0 16px; color: #4A4234; }
.chips { display:flex; flex-wrap:wrap; gap:8px; margin:0; padding:0; list-style:none; }
.chips li { font-size:13px; font-weight:600; padding: 4px 12px; border: 1.5px solid #26231F; border-radius:999px; background: rgba(255,255,255,.65); }
.svc.feature h3 small::after { content:" ★ most popular"; }

/* checklist */
.checks { display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 28px; margin:0; padding:0; list-style:none; }
.checks li { padding: 14px 18px; background: var(--surface); border: 2px solid var(--ink); border-radius: 4px; display:flex; justify-content:space-between; gap:16px; font-weight:500; }
.checks li span:last-child { font-family: var(--hand); font-weight:700; font-size: 20px; color: var(--blue); white-space:nowrap; line-height:1.3; }

/* process */
.steps { display:grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 16px; margin:0; padding:0; list-style:none; counter-reset: s; }
.steps li { counter-increment: s; background: var(--surface); border: 2px solid var(--ink); border-radius: 4px; padding: 18px; box-shadow: var(--shadow-paper); }
.steps li:nth-child(even){ transform: translateY(14px) rotate(.8deg); }
.steps li:nth-child(odd){ transform: rotate(-.8deg); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--display); font-size: 40px; color: var(--accent-deep); line-height:1; display:block; margin-bottom:6px; }
.steps h3 { font-size: 22px; margin-bottom: 6px; }
.steps p { margin:0; font-size:14.5px; color: var(--muted); line-height:1.5; }

/* contact */
.contact { background: var(--ink); color: var(--bg); border-radius: 6px; padding: 48px; display:grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 40px; margin-top: 72px; box-shadow: 6px 8px 0 var(--accent); }
.contact h2 { font-size: clamp(34px,5vw,56px); color: #FFE24D; }
.contact p { color: color-mix(in srgb, var(--bg) 75%, transparent); margin: 14px 0 0; max-width: 40ch; }
.rows { display:grid; min-width:0; }
.row { display:flex; justify-content:space-between; align-items:center; gap:12px; padding: 14px 0; border-top: 2px dashed color-mix(in srgb, var(--bg) 25%, transparent); min-width:0; }
.row:first-child { border-top:0; }
.row .k { font-family: var(--hand); font-weight:700; font-size: 20px; color: #FFE24D; display:block; line-height:1.1; }
.row .v { font-size:18px; font-weight:500; overflow-wrap:anywhere; }
.copy { flex:none; font: 600 13px var(--sans); color: var(--bg); background:transparent; border: 1.5px solid color-mix(in srgb, var(--bg) 50%, transparent); border-radius: 999px; padding: 6px 14px; cursor:pointer; }
.copy:hover { background: color-mix(in srgb, var(--bg) 16%, transparent); }
.wa { display:inline-block; margin-top: 24px; background: #D9EFD3; color:#26231F; font-weight:700; padding: 13px 24px; border-radius: 999px; text-decoration:none; border: 2px solid #26231F; box-shadow: 3px 3px 0 #FFE24D; }

@media (max-width: 900px) {
  .hero, .sec-head, .contact, #tracks { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .steps { grid-template-columns: minmax(0,1fr); }
  .steps li:nth-child(n) { transform: none; }
  .checks { grid-template-columns: minmax(0,1fr); }
  .contact { padding: 30px 22px; }
  section { padding-block: 52px 16px; }
  .hero h1 .strip:nth-child(2) { transform: rotate(-1deg); }
}
@media (prefers-reduced-motion: no-preference) {
  .ticker div { animation: tick 28s linear infinite; }
  @keyframes tick { to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) { .ticker { overflow-x:auto; } }

/* ---- responsive: tablet, phone, small phone, large screens, touch ---- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (max-width: 900px) {
  body { font-size: 16px; }
  .top { justify-content: center; gap: 14px; }
  .nav { justify-content: center; }
  .flow { transform: none; }
  .hero { padding-block: 32px 40px; }
  .sec-head { align-items: start; }
  .sec-head h2 { transform: rotate(-1deg); }
  .ticker { font-size: 18px; }
}
@media (max-width: 600px) {
  .brand img { height: 56px; }
  .nav { gap: 8px; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav a { text-align: center; padding: 14px 8px; min-height: 44px; }
  .hero h1 .strip { padding: 12px 16px 14px; font-size: clamp(1.7rem, 8.5vw, 2.4rem); }
  .hero h1 .strip:nth-child(2) { transform: rotate(-1deg); }
  .hero p.lead { font-size: 16.5px; }
  .actions { flex-direction: column; }
  .btn { text-align: center; padding: 14px 20px; width: 100%; }
  .stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; font-size: 12.5px; line-height: 1.3; }
  .stats b { font-size: 30px; }
  .flow { padding: 18px 16px; }
  .flow li { grid-template-columns: 52px minmax(0, 1fr); gap: 8px; }
  .svc { padding: 22px 18px; transform: none !important; }
  .svc h3 { font-size: 24px; }
  .checks li { flex-direction: column; gap: 2px; }
  .steps li:nth-child(n) { transform: none; }
  .contact { padding: 28px 18px; box-shadow: 4px 6px 0 var(--accent); margin-top: 48px; }
  .row { flex-wrap: wrap; }
  .row .v { font-size: 16px; }
  .copy { padding: 9px 16px; min-height: 40px; }
  .wa { display: block; text-align: center; }
}
@media (max-width: 360px) {
  .brand img { height: 48px; }
  .sec-head h2 { font-size: 28px; }
}
@media (min-width: 1500px) {
  body { font-size: 18px; }
  .wrap { max-width: 1240px; }
}
@media (hover: none) {
  .nav a:hover, .svc:hover, .btn:hover { transform: none; }
  .nav a:nth-child(n), .svc:nth-of-type(n) { transition: none; }
}
@media (max-height: 500px) and (orientation: landscape) { .hero { padding-block: 24px; } }
@supports (padding: max(0px)) {
  .foot { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
}

/* footer */
.foot { margin-top: 40px; background: var(--bg); color: var(--ink); border-top: 2px solid var(--ink); border-radius: 6px 6px 0 0; padding: 28px 32px 14px; position: relative; font-size: 14px; line-height: 1.4; }
.foot::before { content:""; position:absolute; inset: 0 0 auto 0; height: 10px; border-radius: 6px 6px 0 0; background: repeating-linear-gradient(90deg, #FFE24D 0 40px, #FFD6E0 40px 80px, #CDE9F7 80px 120px, #D9EFD3 120px 160px); }
.foot-top { display:grid; grid-template-columns: minmax(0,1.6fr) repeat(3, minmax(0,1fr)); gap: 20px; }
.foot-brand img { display:block; height: 48px; width:auto; border-radius: 12px; transform: rotate(-2deg); }
.foot-brand .hand { color: var(--blue); margin-top: 8px; font-size: 21px; line-height:1.1; }
.foot-brand p:last-child { margin: 4px 0 0; max-width: 34ch; font-size: 13px; color: var(--muted); }
.foot-col { display:flex; flex-direction:column; gap: 3px; }
.foot-col h3 { font-size: 15px; color: #26231F; display:inline-block; align-self:flex-start; background: #FFE24D; padding: 2px 10px 4px; transform: rotate(-1.5deg); margin-bottom: 4px; letter-spacing:.04em; }
.foot-col a, .foot-col span { color: var(--muted); text-decoration: none; }
.foot-col a:hover { color: var(--accent); text-decoration: underline wavy; text-underline-offset: 4px; }
.foot-bottom { display:flex; justify-content:space-between; align-items:center; gap: 12px 20px; flex-wrap:wrap; margin-top: 18px; padding-top: 10px; border-top: 2px dashed var(--line); font-size: 13px; color: var(--muted); }
.heart { color: var(--accent); }
.totop { color: #26231F; background: #FFE24D; padding: 4px 12px; font-size: 13px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--accent); }
@media (max-width: 900px) { .foot-top { grid-template-columns: repeat(2, minmax(0,1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .foot { padding: 24px 20px 14px; } .foot-bottom { flex-direction: column; text-align: center; } .totop { min-height: 40px; } }

.chips.big { gap: 12px; }
.chips.big li { font-size: 15px; padding: 8px 16px; background: var(--surface); border: 2px solid var(--ink); box-shadow: 2px 3px 0 var(--ink); }
.chips.big li:nth-child(4n+1) { background: var(--sticky-y); color: #26231F; }
.chips.big li:nth-child(4n+2) { background: var(--sticky-b); color: #26231F; }
.chips.big li:nth-child(4n+3) { background: var(--sticky-p); color: #26231F; }
.chips.big li:nth-child(4n) { background: var(--sticky-g); color: #26231F; }

/* projects, AI, career */
.chips li.ai, .proj li.ai::after, .ai-badge { background: linear-gradient(120deg, #7B2FF7, #E8338A 55%, #FF9F1C); color: #fff; border-color: #26231F; }
.chips li.ai { font-weight: 700; }
.ai-banner { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 24px; align-items: center; background: #26231F; color: #FBF8F1; border-radius: 6px; padding: 28px 32px; margin-bottom: 28px; box-shadow: 6px 8px 0 #E8338A; }
.ai-badge { font-family: var(--display); font-size: 54px; line-height: 1; padding: 16px 22px; border-radius: 14px; border: 3px solid #FBF8F1; transform: rotate(-4deg); box-shadow: 0 0 28px rgba(232,51,138,.55); }
.ai-banner h3 { font-size: 30px; color: #FFE24D; margin-bottom: 8px; }
.ai-banner p { margin: 0 0 14px; color: #E8E1D0; max-width: 62ch; }
.ai-banner .chips li { color: #fff; }
.proj-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 28px; }
.proj { background: var(--surface); border: 2px solid var(--ink); border-radius: 4px; padding: 26px; box-shadow: var(--shadow-paper); }
.proj.big { background: var(--sticky-y); color: #26231F; }
.proj h3 { font-size: 30px; }
.proj-sub { margin: 6px 0 14px; color: var(--muted); }
.proj.big .proj-sub { color: #4A4234; }
.proj ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.proj li { position: relative; padding-left: 26px; font-weight: 500; }
.proj li::before { content: "▸"; position: absolute; left: 4px; color: var(--accent-deep); font-weight: 800; }
.proj li.ai { font-weight: 700; }
.proj li.ai::after { content: "AI"; margin-left: 8px; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; vertical-align: 2px; }
.career-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.career { color: #26231F; padding: 26px; border-radius: 3px; box-shadow: var(--shadow-soft); transition: transform .3s var(--spring); }
.career.yellow { background: var(--sticky-y); transform: rotate(-.8deg); }
.career.blue { background: var(--sticky-b); transform: rotate(.7deg); }
.career.pink { background: var(--sticky-p); transform: rotate(-.5deg); }
.career:hover { transform: rotate(0) translateY(-4px); }
.career h3 { font-size: 26px; margin-bottom: 10px; }
.career p { margin: 0 0 14px; color: #4A4234; }
@media (max-width: 900px) {
  .proj-grid, .career-grid { grid-template-columns: minmax(0,1fr); }
  .ai-banner { grid-template-columns: minmax(0,1fr); padding: 22px 18px; }
  .ai-badge { justify-self: start; font-size: 40px; padding: 12px 18px; }
  .career:nth-child(n) { transform: none; }
}
.proj ul.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.proj ul.chips li { padding: 6px 14px; font-weight: 600; }
.proj ul.chips li::before { content: none; }
.proj-grid .proj { min-height: 0; }

@media (max-width: 600px) {
  .stats b { font-size: 22px; overflow-wrap: anywhere; }
  .nav a:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
