@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --bg: #0b0d12;
  --bg-soft: #10131b;
  --surface: rgba(255,255,255,.045);
  --surface-strong: #151925;
  --text: #f4f5f8;
  --text-soft: #b1b7c5;
  --muted: #777f91;
  --line: rgba(255,255,255,.1);
  --accent: #a78bfa;
  --accent-2: #67e8d1;
  --accent-strong: #8b5cf6;
  --header: rgba(11,13,18,.72);
  --shadow: 0 24px 80px rgba(0,0,0,.3);
  --radius: 22px;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f7fb;
  --bg-soft: #eef0f7;
  --surface: rgba(255,255,255,.78);
  --surface-strong: #fff;
  --text: #171a25;
  --text-soft: #4f5668;
  --muted: #83899a;
  --line: rgba(27,32,49,.12);
  --accent: #7650da;
  --accent-2: #168d80;
  --accent-strong: #7650da;
  --header: rgba(246,247,251,.8);
  --shadow: 0 24px 80px rgba(32,38,65,.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Vazirmatn", "IRANSansX", Tahoma, sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
  transition: background .3s ease, color .3s ease;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .19;
  background-image: radial-gradient(var(--muted) .55px, transparent .55px);
  background-size: 7px 7px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.section-space { padding-block: 116px; }
.ambient { position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(2px); }
.ambient-one { width: 480px; height: 480px; top: 80px; right: -270px; background: radial-gradient(circle, rgba(139,92,246,.13), transparent 68%); }
.ambient-two { width: 460px; height: 460px; top: 680px; left: -300px; background: radial-gradient(circle, rgba(103,232,209,.08), transparent 70%); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--header); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.header-inner { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 11px; direction: ltr; flex-shrink: 0; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: #fff; font: 800 19px/1 Arial, sans-serif; background: linear-gradient(140deg, #a78bfa, #6b4bc2); box-shadow: 0 5px 22px rgba(139,92,246,.24); }
.brand-name { font: 700 18px/1 Arial, sans-serif; letter-spacing: -.7px; color: var(--text); }
.brand-name span { color: var(--text-soft); font-weight: 400; }
.brand-name i { color: var(--accent-2); font-style: normal; }
.main-nav { display: flex; align-items: center; gap: 36px; margin-right: auto; margin-left: auto; }
.main-nav a { color: var(--text-soft); font-size: 13px; transition: color .2s ease; }
.main-nav a:hover { color: var(--text); }
.main-nav .nav-cta { color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; }
.main-nav .nav-cta span { color: var(--accent-2); margin-right: 4px; }
.theme-toggle, .menu-toggle { border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; display: grid; place-items: center; }
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.moon-icon { display: none; }
html[data-theme="light"] .sun-icon { display: none; }
html[data-theme="light"] .moon-icon { display: block; }
.menu-toggle { display: none; }

/* Hero */
.hero { padding-top: 82px; padding-bottom: 36px; min-height: 690px; display: flex; flex-direction: column; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 52px; flex: 1; }
.hero-copy { padding-block: 30px 55px; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--accent-2); font-size: 12px; font-weight: 600; letter-spacing: .2px; }
.eyebrow { border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; background: var(--surface); }
.status-dot, .project-status i { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px rgba(103,232,209,.1); }
.hero h1 { font-size: clamp(35px, 4.5vw, 58px); line-height: 1.55; letter-spacing: -1.9px; margin: 28px 0 18px; font-weight: 800; }
.gradient-text { background: linear-gradient(100deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-outline { color: transparent; -webkit-text-stroke: 1px var(--text-soft); text-stroke: 1px var(--text-soft); }
.hero-description { max-width: 510px; color: var(--text-soft); font-size: 14px; line-height: 2.2; margin: 0; }
.hero-actions { display: flex; align-items: center; gap: 27px; margin-top: 32px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 0 21px; border: 0; border-radius: 12px; cursor: pointer; font-size: 13px; font-weight: 600; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: linear-gradient(110deg, #9875ed, #7955d7); color: #fff; box-shadow: 0 10px 28px rgba(123,85,215,.24); }
.button-primary:hover { box-shadow: 0 14px 34px rgba(123,85,215,.34); }
.button span { font-size: 17px; line-height: 1; }
.text-link { color: var(--text-soft); font-size: 13px; transition: color .2s; }
.text-link:hover { color: var(--text); }
.text-link span { color: var(--accent-2); margin-right: 5px; }
.hero-meta { display: flex; align-items: center; gap: 12px; margin-top: 56px; color: var(--muted); font-size: 11px; }
.meta-line { width: 34px; height: 1px; background: var(--accent-2); }

.hero-art { min-height: 440px; position: relative; display: grid; place-items: center; isolation: isolate; }
.art-glow { position: absolute; width: 330px; height: 330px; border-radius: 50%; background: radial-gradient(circle, rgba(139,92,246,.2), rgba(103,232,209,.07) 45%, transparent 70%); filter: blur(12px); z-index: -1; }
.orbit { position: absolute; border: 1px solid var(--line); border-radius: 50%; transform: rotate(-28deg); }
.orbit-large { width: 420px; height: 250px; }
.orbit-small { width: 310px; height: 390px; transform: rotate(49deg); border-style: dashed; opacity: .55; }
.code-window { width: min(390px, 90%); position: relative; z-index: 2; border: 1px solid rgba(174,158,255,.24); border-radius: 17px; overflow: hidden; background: linear-gradient(145deg, rgba(25,29,43,.96), rgba(14,17,26,.96)); box-shadow: 0 30px 90px rgba(0,0,0,.32), 0 0 55px rgba(139,92,246,.12); direction: ltr; }
html[data-theme="light"] .code-window { background: linear-gradient(145deg, #25283a, #141722); }
.window-top { height: 46px; display: flex; align-items: center; gap: 13px; padding: 0 16px; color: #848ba0; border-bottom: 1px solid rgba(255,255,255,.08); font: 10px Arial, sans-serif; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #fc7c86; }
.window-dots i:nth-child(2) { background: #f6c66c; }
.window-dots i:nth-child(3) { background: #75d6a4; }
.window-lock { margin-left: auto; font-size: 16px; color: #a78bfa; }
.code-content { padding: 25px 23px 30px; color: #e0e3ef; font: 13px/2.2 ui-monospace, SFMono-Regular, Consolas, monospace; }
.line-no { display: inline-block; width: 26px; color: #5b6379; user-select: none; }
.code-purple { color: #c4a4ff; }
.code-blue { color: #82c8f2; }
.code-green { color: #8ce0c2; }
.code-spacer { height: 14px; }
.cursor { width: 7px; height: 15px; display: inline-block; margin-left: 4px; vertical-align: -3px; background: #a78bfa; animation: blink 1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.floating-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; padding: 10px 14px; background: var(--surface-strong); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 12px; color: var(--text-soft); font-size: 11px; }
.chip-icon { display: grid; place-items: center; color: var(--accent-2); font-size: 17px; }
.chip-top { top: 66px; right: 1%; transform: rotate(5deg); }
.chip-bottom { bottom: 73px; left: -1%; transform: rotate(-5deg); }
.art-caption { position: absolute; right: 2%; bottom: 9px; display: flex; align-items: center; gap: 10px; color: var(--muted); font: 9px Arial, sans-serif; letter-spacing: 1px; }
.art-caption span:first-child { color: var(--accent-2); }
.caption-rule { width: 34px; height: 1px; background: var(--line); }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 30px; color: var(--muted); font-size: 10px; }
.scroll-cue { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; color: var(--accent-2); font-size: 16px; transition: transform .2s; }
.scroll-cue:hover { transform: translateY(4px); }
.hero-domain { direction: ltr; font: 10px Arial, sans-serif; letter-spacing: 2px; opacity: .65; }

/* About */
.about { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(90deg, transparent, var(--surface), transparent); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.section-kicker { font: 600 10px Arial, sans-serif; letter-spacing: 1.6px; text-transform: uppercase; }
.section-heading h2 { margin: 20px 0 0; font-size: clamp(31px, 3.6vw, 45px); line-height: 1.6; letter-spacing: -1.2px; font-weight: 800; }
.muted-heading { color: var(--muted); }
.about-content { padding-top: 31px; }
.about-lead { margin: 0 0 16px; color: var(--text); font-size: 17px; line-height: 2.05; font-weight: 500; }
.body-copy { margin: 0; color: var(--text-soft); font-size: 13px; line-height: 2.25; }
.skills-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 27px; }
.skills-row span { color: var(--text-soft); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 6px 11px; font-size: 10px; }

/* Projects */
.work { background: var(--bg); }
.work-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 52px; }
.work-intro { max-width: 390px; margin: 0 0 9px; color: var(--text-soft); font-size: 13px; line-height: 2.2; }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 19px; }
.project-card { min-width: 0; padding: 19px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.project-card:hover { transform: translateY(-6px); border-color: rgba(167,139,250,.4); box-shadow: var(--shadow); }
.project-featured { grid-row: span 2; }
.project-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.project-number { color: var(--muted); direction: ltr; font: 10px Arial, sans-serif; letter-spacing: 1px; }
.project-status { color: var(--text-soft); font-size: 9px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.project-status i { width: 5px; height: 5px; box-shadow: none; }
.project-status:not(:has(i)) { color: var(--muted); }
.project-visual { height: 190px; position: relative; display: grid; place-items: center; margin: 17px 0 20px; overflow: hidden; border-radius: 15px; background: linear-gradient(135deg, rgba(139,92,246,.13), rgba(103,232,209,.06)); }
.project-featured .project-visual { height: 310px; }
.browser-card { width: 70%; height: 72%; background: var(--surface-strong); border: 1px solid rgba(167,139,250,.35); border-radius: 10px; box-shadow: 0 20px 40px rgba(0,0,0,.18); overflow: hidden; transform: perspective(700px) rotateY(-11deg) rotateX(5deg); }
.browser-bar { height: 23px; display: flex; align-items: center; gap: 4px; padding: 0 9px; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 5px; height: 5px; border-radius: 50%; background: #a78bfa; opacity: .8; }
.browser-layout { display: flex; gap: 10px; padding: 13px; height: calc(100% - 23px); }
.browser-sidebar { width: 22%; border-radius: 4px; background: linear-gradient(180deg, rgba(167,139,250,.4), rgba(167,139,250,.08)); }
.browser-main { flex: 1; display: flex; flex-direction: column; gap: 7px; padding: 3px; }
.browser-main b { display: block; width: 62%; height: 8px; background: var(--accent); opacity: .75; border-radius: 4px; }
.browser-main b:nth-child(2) { width: 39%; opacity: .35; }
.browser-main span { width: 90%; height: 4px; border-radius: 5px; background: var(--muted); opacity: .2; }
.browser-main span:nth-of-type(2) { width: 68%; }
.browser-blocks { display: flex; gap: 6px; margin-top: auto; }
.browser-blocks i { flex: 1; height: 38px; border-radius: 5px; background: linear-gradient(140deg, rgba(103,232,209,.35), rgba(139,92,246,.2)); }
.visual-spark { position: absolute; color: var(--accent-2); font-size: 22px; }
.spark-one { top: 16%; right: 15%; }
.spark-two { bottom: 15%; left: 13%; font-size: 31px; color: var(--accent); }
.visual-tools { background: linear-gradient(135deg, rgba(103,232,209,.12), rgba(139,92,246,.11)); }
.tool-tile { position: absolute; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 17px; width: 75px; height: 75px; font-size: 32px; color: var(--text); background: var(--surface-strong); box-shadow: 0 14px 34px rgba(0,0,0,.16); }
.tile-one { transform: translate(-75px, 13px) rotate(-12deg); color: var(--accent); }
.tile-two { transform: translate(0, -17px) rotate(7deg); color: var(--accent-2); z-index: 2; }
.tile-three { transform: translate(75px, 14px) rotate(12deg); color: #e6b875; }
.tool-orbit { position: absolute; width: 235px; height: 85px; border: 1px dashed var(--muted); opacity: .45; border-radius: 50%; transform: rotate(-17deg); }
.visual-digital { background: linear-gradient(135deg, rgba(139,92,246,.13), rgba(240,186,116,.07)); }
.digital-cube { position: relative; width: 85px; height: 85px; transform: rotate(-30deg) skew(8deg, 8deg); }
.digital-cube span { position: absolute; inset: 0; border: 1px solid var(--accent); background: rgba(139,92,246,.12); }
.digital-cube span:nth-child(2) { transform: translate(12px, -12px); opacity: .65; }
.digital-cube span:nth-child(3) { transform: translate(24px, -24px); opacity: .35; }
.digital-ring { position: absolute; width: 180px; height: 65px; border: 1px solid var(--accent-2); border-radius: 50%; transform: rotate(36deg); opacity: .45; }
.digital-star { position: absolute; top: 20%; right: 24%; color: #e6b875; font-size: 27px; }
.project-info { display: flex; align-items: start; justify-content: space-between; gap: 15px; }
.project-info h3 { margin: 0 0 7px; font-size: 15px; font-weight: 700; }
.project-info p { margin: 0; max-width: 390px; color: var(--text-soft); font-size: 11px; line-height: 2.15; }
.project-arrow { color: var(--accent-2); font: 20px Arial, sans-serif; transition: transform .2s; }
.project-card:hover .project-arrow { transform: translate(3px, -3px); }
.projects-note { margin: 25px 0 0; color: var(--muted); font-size: 10px; }
.projects-note span { color: var(--accent-2); margin-left: 5px; }

/* Approach */
.approach { border-top: 1px solid var(--line); background: var(--bg-soft); }
.approach-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.principles { border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: 42px 1fr 25px; align-items: start; gap: 19px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.principle-index { color: var(--accent-2); font: 11px Arial, sans-serif; padding-top: 4px; }
.principle h3 { margin: 0 0 6px; font-size: 14px; font-weight: 600; }
.principle p { margin: 0; color: var(--text-soft); font-size: 11px; line-height: 2; }
.principle-symbol { color: var(--muted); font-size: 17px; text-align: left; }

/* Contact & Footer */
.contact { padding-top: 100px; padding-bottom: 100px; }
.contact-panel { min-height: 350px; position: relative; display: flex; align-items: center; overflow: hidden; border-radius: 26px; padding: 55px 60px; background: linear-gradient(115deg, #7955d7, #5942a7 55%, #243a58); color: #fff; box-shadow: 0 25px 65px rgba(88,64,160,.2); }
.contact-panel::before, .contact-panel::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; pointer-events: none; }
.contact-panel::before { width: 520px; height: 520px; left: -145px; top: -290px; }
.contact-panel::after { width: 390px; height: 390px; left: -75px; bottom: -290px; }
.contact-decoration { position: absolute; right: 35%; top: -120px; color: rgba(255,255,255,.055); font: 800 440px/1 Arial, sans-serif; pointer-events: none; }
.contact-content { position: relative; z-index: 1; max-width: 540px; }
.contact-content .section-kicker { color: #c7f9ef; }
.contact-content h2 { margin: 15px 0 12px; font-size: clamp(30px, 4vw, 43px); line-height: 1.55; letter-spacing: -1px; }
.contact-content p { max-width: 440px; margin: 0 0 22px; color: rgba(255,255,255,.75); font-size: 12px; line-height: 2.1; }
.button-light { background: #fff; color: #40306f; }
.button-light:hover { box-shadow: 0 10px 25px rgba(0,0,0,.15); }
.copy-feedback { display: inline-block; margin-right: 12px; color: #d2fff2; font-size: 11px; }
.contact-side { position: absolute; z-index: 1; left: 58px; bottom: 48px; display: flex; flex-direction: column; align-items: flex-start; direction: ltr; opacity: .82; }
.contact-side span { font: 9px Arial, sans-serif; letter-spacing: 2px; }
.contact-side strong { margin-top: 9px; font: 800 26px/1.12 Arial, sans-serif; letter-spacing: -1px; }
.contact-side i { position: absolute; left: -27px; top: 1px; font-size: 17px; color: #c7f9ef; font-style: normal; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand .brand-mark { width: 30px; height: 30px; border-radius: 9px; font-size: 16px; }
.footer-brand .brand-name { font-size: 15px; }
.footer-inner p, .footer-meta { color: var(--muted); font-size: 10px; }
.footer-meta { display: flex; direction: ltr; align-items: center; gap: 10px; }
.footer-meta a { transition: color .2s; }
.footer-meta a:hover { color: var(--accent-2); }
.footer-separator { opacity: .5; }

/* Motion */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 900px) {
  .section-space { padding-block: 88px; }
  .hero { padding-top: 55px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .hero h1 { font-size: clamp(32px, 5vw, 46px); }
  .hero-art { min-height: 390px; }
  .orbit-large { width: 330px; height: 210px; }
  .orbit-small { width: 260px; height: 330px; }
  .code-window { width: 100%; }
  .about-grid, .approach-inner { gap: 45px; }
  .project-featured .project-visual { height: 270px; }
  .contact-panel { padding: 45px; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 34px, 520px); }
  .header-inner { height: 68px; gap: 12px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 39px; height: 39px; border-radius: 50%; order: 1; }
  .menu-toggle span { width: 15px; height: 1px; background: currentColor; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .brand { margin-left: auto; }
  .theme-toggle { order: 2; width: 37px; height: 37px; }
  .main-nav { position: absolute; top: 68px; inset-inline: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px 17px 17px; background: var(--header); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 8px; border-bottom: 1px solid var(--line); }
  .main-nav .nav-cta { margin-top: 10px; text-align: center; border: 1px solid var(--line); }
  .section-space { padding-block: 75px; }
  .hero { padding-top: 50px; padding-bottom: 25px; }
  .hero-grid { display: flex; flex-direction: column; gap: 5px; align-items: stretch; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(32px, 9vw, 45px); line-height: 1.55; margin-top: 22px; letter-spacing: -1.3px; }
  .hero-description { font-size: 12px; }
  .hero-actions { gap: 18px; margin-top: 25px; }
  .button { min-height: 45px; padding-inline: 16px; font-size: 11px; }
  .text-link { font-size: 11px; }
  .hero-meta { margin-top: 30px; }
  .hero-art { min-height: 340px; margin-top: 18px; }
  .code-window { width: min(340px, 84%); }
  .code-content { font-size: 11px; padding: 18px; }
  .orbit-large { width: 300px; height: 185px; }
  .orbit-small { width: 220px; height: 285px; }
  .chip-top { top: 37px; right: 0; }
  .chip-bottom { bottom: 40px; left: 0; }
  .floating-chip { padding: 7px 10px; font-size: 9px; }
  .art-caption { bottom: 0; right: 8%; }
  .hero-bottom { padding-top: 17px; }
  .about-grid, .approach-inner { grid-template-columns: 1fr; gap: 20px; }
  .section-heading h2 { font-size: 34px; }
  .about-content { padding-top: 0; }
  .about-lead { font-size: 15px; }
  .body-copy { font-size: 12px; }
  .work-heading { display: block; margin-bottom: 30px; }
  .work-intro { margin-top: 18px; font-size: 12px; }
  .project-grid { grid-template-columns: 1fr; gap: 14px; }
  .project-featured { grid-row: auto; }
  .project-visual, .project-featured .project-visual { height: 210px; }
  .project-info h3 { font-size: 14px; }
  .project-info p { font-size: 10px; }
  .approach-inner { gap: 28px; }
  .principle { grid-template-columns: 30px 1fr 20px; gap: 11px; }
  .contact { padding-block: 70px; }
  .contact-panel { min-height: 390px; padding: 35px 26px 120px; align-items: flex-start; }
  .contact-content h2 { font-size: 32px; }
  .contact-content p { font-size: 11px; }
  .contact-side { left: 28px; bottom: 24px; }
  .contact-side strong { font-size: 21px; }
  .contact-decoration { right: 25%; top: -60px; font-size: 320px; }
  .footer-inner { min-height: 120px; flex-wrap: wrap; justify-content: space-between; padding-block: 20px; }
  .footer-inner p { order: 3; width: 100%; margin: 0; }
}
@media (max-width: 370px) {
  .container { width: calc(100% - 28px); }
  .hero h1 { font-size: 30px; }
  .hero-actions { flex-wrap: wrap; }
  .chip-bottom { bottom: 24px; }
  .contact-panel { padding-inline: 21px; }
}
