:root {
  --paper: #f7f5ee;
  --ink: #0d1a3b;
  --muted: #59637b;
  --blue: #1b55e5;
  --blue-dark: #123db0;
  --orange: #ff813e;
  --line: #d9dfec;
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; }
::selection { background: #c9d9ff; color: var(--ink); }
.wrap { width: min(1180px, calc(100% - 88px)); margin: auto; }
.skip { position: fixed; top: 10px; left: 10px; background: var(--ink); color: white; padding: 10px; transform: translateY(-160%); z-index: 20; }
.skip:focus { transform: none; }
header { position: sticky; top: 0; background: rgba(247,245,238,.97); backdrop-filter: blur(12px); z-index: 10; border-bottom: 1px solid var(--line); }
.nav { height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 750; letter-spacing: -.6px; line-height: 1.2; }
.brand-mark { display: grid; place-items: center; background: var(--blue); color: white; width: 43px; height: 43px; border-radius: 12px; font: italic 39px/.9 Georgia, serif; padding-bottom: 6px; }
.brand small { display: block; font-size: 10px; text-transform: uppercase; font-weight: 600; letter-spacing: 2.6px; margin-top: 5px; }
.links { display: flex; align-items: center; gap: 29px; font-size: 14px; font-weight: 600; }
.links > a:not(.button):hover { color: var(--blue); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; border-radius: 100px; padding: 15px 24px; background: var(--blue); color: white; font-size: 14px; font-weight: 650; line-height: 1.35; transition: background .2s, transform .2s; }
.button:hover { background: var(--blue-dark); transform: translateY(-2px); }
.button.light { background: var(--orange); color: var(--ink); }
.button.light:hover { background: #ffac73; }
.arrow { font-size: 23px; line-height: 1; font-weight: 400; }
.eyebrow { display: flex; align-items: center; gap: 10px; text-transform: uppercase; font-size: 11px; letter-spacing: 2px; font-weight: 700; }
.dot { height: 8px; width: 8px; background: var(--orange); border-radius: 50%; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 58px; padding: 88px 0 78px; align-items: center; }
.hero h1 { font-size: clamp(46px,5.8vw,78px); font-weight: 500; letter-spacing: -4px; line-height: 1.08; margin: 25px 0; }
.serif { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-style: italic; color: var(--blue); }
.hero-copy { font-size: 18px; max-width: 450px; color: var(--muted); line-height: 1.7; margin: 0 0 29px; }
.hero-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.text-link { border-bottom: 1px solid var(--blue); color: var(--blue); font-size: 14px; font-weight: 650; padding: 3px 0; }
.text-link:hover { color: var(--blue-dark); }
.intro-line { margin-top: 30px; color: var(--muted); font-size: 12px; }
.real-project { min-width: 0; position: relative; padding: 22px; background: var(--blue); border-radius: 25px; box-shadow: 0 22px 60px #1b55e52b; transform: rotate(-2deg); }
.real-project::before { content: ""; position: absolute; width: 85px; height: 85px; border-radius: 50%; background: var(--orange); top: -24px; right: -20px; z-index: -1; }
.real-project-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #fff; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 17px; }
.real-project-top strong { font-size: 14px; letter-spacing: 0; text-transform: none; }
.real-project a { display: block; border-radius: 10px; overflow: hidden; background: white; }
.real-project img { width: 100%; height: auto; }
.real-project-caption { margin: 16px 0 0; color: #fff; font-size: 12px; }
.ribbon { border-block: 1px solid var(--line); padding: 23px 0; background: #eaf0ff; }
.ribbon-inner { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 12px; color: #38517e; }
.ribbon strong { font-weight: 650; color: var(--ink); }
section { padding: 76px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 35px; }
.section-head h2, .about h2 { font-size: 43px; letter-spacing: -1.8px; font-weight: 500; line-height: 1.15; margin: 17px 0 0; }
.section-head > p { color: var(--muted); max-width: 330px; font-size: 14px; margin: 0 0 3px; }
.case-study { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.case-intro { display: flex; align-items: center; justify-content: space-between; gap: 26px; margin-bottom: 26px; }
.case-intro h3 { font-size: 30px; font-weight: 600; letter-spacing: -1px; margin: 0 0 7px; }
.case-intro p { max-width: 650px; margin: 0; color: var(--muted); font-size: 15px; }
.case-intro .button { flex-shrink: 0; }
.case-cover { display: block; border: 1px solid #dce4d4; border-radius: 14px; overflow: hidden; background: #f6f8f0; }
.case-cover img { width: 100%; height: auto; }
.screenshot-note { font-size: 11px; color: var(--muted); margin: 13px 0 26px; }
.case-features { display: grid; grid-template-columns: repeat(3,1fr); gap: 25px; margin: 28px 0; }
.case-features h4 { font-size: 16px; font-weight: 650; margin: 0 0 7px; }
.case-features p { font-size: 13px; color: var(--muted); margin: 0; }
.case-features h4::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 4px; background: var(--orange); margin-bottom: 14px; }
.case-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 23px; border-top: 1px solid var(--line); padding-top: 27px; }
.case-gallery figure { margin: 0; min-width: 0; }
.case-gallery a { display: block; aspect-ratio: 4/3; border: 1px solid var(--line); border-radius: 12px; background: #f8fafc; overflow: hidden; }
.case-gallery img { width: 100%; height: 100%; object-fit: contain; }
.case-gallery figcaption { padding: 11px 0 0; color: var(--muted); font-size: 12px; }
.about-section { border-top: 1px solid var(--line); }
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 95px; }
.about h2 { max-width: 360px; font-size: 46px; }
.about-copy > p { color: var(--muted); font-size: 16px; margin: 0 0 19px; }
.about-copy strong { color: var(--ink); font-weight: 600; }
.service-list { margin-top: 30px; }
.service { display: grid; grid-template-columns: 35px 1fr; gap: 13px; border-top: 1px solid var(--line); padding: 18px 0; }
.service > span { font: italic 17px Georgia, serif; color: var(--blue); }
.service h3 { font-size: 15px; margin: 0 0 4px; font-weight: 650; }
.service p { font-size: 13px; margin: 0; color: var(--muted); }
.process { background: #eaf0ff; padding: 52px; border-radius: var(--radius); margin-top: 58px; border-left: 5px solid var(--blue); }
.process-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.process h3 { font: 32px/1.1 Georgia, serif; letter-spacing: -.6px; margin: 0; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 35px; margin-top: 34px; }
.step { border-top: 1px solid #bfcef0; padding-top: 16px; }
.step span { font-size: 10px; color: var(--muted); }
.step h4 { font-size: 16px; margin: 10px 0 6px; font-weight: 650; }
.step p { font-size: 13px; color: var(--muted); margin: 0; }
.contact { background: var(--ink); color: var(--paper); padding: 66px; border-radius: var(--radius); display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: center; margin-bottom: 65px; }
.contact h2 { font-size: 48px; line-height: 1.15; letter-spacing: -2px; font-weight: 450; margin: 17px 0 0; }
.contact .serif { color: #ffb58c; }
.contact p { color: #c6d0e9; font-size: 14px; margin: 0 0 24px; }
.contact .eyebrow { color: #b8ccff; }
.contact small { display: block; font-size: 11px; color: #bcc8e1; margin-top: 17px; }
footer { border-top: 1px solid var(--line); padding: 25px 0 30px; }
.footer-inner { display: flex; justify-content: space-between; gap: 25px; align-items: center; font-size: 12px; color: var(--muted); }
.footer-inner p { margin: 0; }
.footer-inner span { display: block; font-size: 10px; margin-top: 3px; }
.back-top { white-space: nowrap; }
.back-top:hover { color: var(--blue); }
@media (min-width:1500px) {
  .hero { padding-top: 105px; padding-bottom: 100px; }
  .hero h1 { font-size: 83px; }
}
@media (max-width:1000px) {
  .wrap { width: calc(100% - 52px); }
  .hero { gap: 30px; }
  .hero h1 { font-size: 60px; letter-spacing: -3px; }
  .about { gap: 45px; }
  .case-study { padding: 25px; }
  .case-intro { align-items: start; }
  .case-intro .button { padding: 13px 18px; font-size: 12px; }
  .contact { padding: 45px; gap: 30px; }
  .contact h2 { font-size: 42px; }
}
@media (max-width:760px) {
  .wrap { width: calc(100% - 38px); }
  .nav { height: 77px; }
  .brand { font-size: 16px; gap: 9px; }
  .brand-mark { width: 36px; height: 36px; font-size: 33px; }
  .brand small { font-size: 8px; letter-spacing: 2px; }
  .links { gap: 16px; }
  .links > a:not(.button) { display: none; }
  .links .button { padding: 11px 16px; font-size: 12px; gap: 11px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 51px 0 60px; }
  .hero h1 { font-size: clamp(44px,11vw,69px); max-width: 560px; letter-spacing: -2.5px; }
  .hero-copy { font-size: 16px; max-width: 480px; }
  .real-project { max-width: 560px; margin: 0 6px; padding: 17px; }
  .real-project::before { width: 60px; height: 60px; top: -16px; right: -10px; }
  .ribbon-inner { justify-content: flex-start; gap: 10px 24px; }
  .ribbon-inner span:first-child { width: 100%; }
  section { padding: 52px 0; }
  .section-head { display: block; }
  .section-head h2, .about h2 { font-size: 36px; }
  .section-head > p { margin-top: 17px; }
  .case-study { padding: 20px; }
  .case-intro { display: block; }
  .case-intro .button { margin-top: 20px; }
  .case-intro h3 { font-size: 27px; }
  .case-features { grid-template-columns: 1fr; gap: 22px; }
  .case-gallery { grid-template-columns: 1fr; gap: 23px; }
  .about { grid-template-columns: 1fr; gap: 25px; }
  .about h2 { max-width: 440px; }
  .process { padding: 28px 23px; margin-top: 30px; }
  .process-head { align-items: start; }
  .process h3 { font-size: 27px; }
  .steps { grid-template-columns: 1fr; gap: 21px; margin-top: 26px; }
  .step { padding-top: 12px; }
  .step h4 { margin-top: 5px; }
  .contact { grid-template-columns: 1fr; padding: 33px 26px; gap: 25px; margin-bottom: 40px; }
  .contact h2 { font-size: 40px; }
  .contact p { margin-bottom: 20px; }
  .footer-inner { align-items: start; }
  .footer-inner p { max-width: 270px; }
  html { scroll-padding-top: 95px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
