:root{
  --bg:#ffffff;
  --fg:#0f0f10;
  --muted:#5b6168;
  --muted-bg:#fafafa;
  --line:#e6e6e6;
  --line-strong:#d4d4d4;
  --accent:#0f0f10;
  --radius:12px;
  --maxw:1200px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  color:var(--fg);background:var(--bg);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
  font-size:16px;
}
img{max-width:100%;display:block;height:auto}
a{color:inherit;text-decoration:none}
.container{max-width:var(--maxw);margin:0 auto;padding:0 24px}

.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;gap:24px}
.brand{display:inline-flex;align-items:baseline;line-height:1;font-weight:800;letter-spacing:.01em;color:var(--fg)}
.brand-e{font-size:30px;font-weight:800;letter-spacing:.01em}
.brand-bracket{font-size:24px;font-weight:600;color:var(--fg);padding:0 1px;font-family:'Inter',sans-serif}
.brand-rest{font-size:22px;font-weight:700;letter-spacing:.02em;margin-left:2px;text-transform:uppercase}
.nav{display:flex;gap:32px}
.nav a{font-size:15px;color:var(--muted);transition:color .2s}
.nav a:hover,.nav a.active{color:var(--fg)}
.menu-toggle{display:none;background:none;border:0;flex-direction:column;gap:5px;cursor:pointer;padding:6px}
.menu-toggle span{width:22px;height:2px;background:var(--fg);display:block}

.btn{display:inline-block;padding:14px 28px;border-radius:10px;font-weight:500;font-size:15px;transition:all .2s;cursor:pointer;border:1px solid transparent;font-family:inherit}
.btn-primary{background:var(--fg);color:#fff}
.btn-primary:hover{background:#000;transform:translateY(-1px)}
.btn-outline{border-color:var(--fg);color:var(--fg);background:transparent}
.btn-outline:hover{background:var(--fg);color:#fff}
.btn-light{background:#fff;color:var(--fg)}
.btn-light:hover{background:#f3f3f3;transform:translateY(-1px)}

.hero{padding:96px 0 88px}
.hero-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:64px;align-items:center}
.hero-text h1{font-size:clamp(34px,4.4vw,56px);line-height:1.08;letter-spacing:-.02em;font-weight:700;margin-bottom:24px}
.hero-text p{color:var(--muted);font-size:18px;max-width:560px;margin-bottom:0}
.hero-image img{border-radius:var(--radius);aspect-ratio:5/4;object-fit:cover}

.section{padding:104px 0;border-top:1px solid var(--line)}
.section-muted{background:var(--muted-bg)}
.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:12px;color:var(--muted);font-weight:600;display:block;margin-bottom:14px}
h2{font-size:clamp(28px,3vw,40px);font-weight:700;letter-spacing:-.015em;line-height:1.15;margin-bottom:20px}
h3{font-size:19px;font-weight:600;margin-bottom:10px}
.section p{color:var(--muted)}
.section-head{max-width:640px;margin-bottom:56px}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.two-col p{font-size:17px;max-width:520px}
.rounded{border-radius:var(--radius);aspect-ratio:4/3;object-fit:cover;width:100%}

.portfolio-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:40px;flex-wrap:wrap}
.portfolio-head h2{margin-bottom:0}
.portfolio-badge{display:inline-block;font-size:12px;color:var(--muted);background:#fff;border:1px solid var(--line);border-radius:999px;padding:6px 14px;font-weight:500}
.portfolio-carousel{display:flex;align-items:center;gap:16px}
.portfolio-arrow{
  flex:0 0 auto;width:44px;height:44px;border-radius:50%;
  background:#fff;border:1px solid var(--line);color:var(--fg);
  display:flex;align-items:center;justify-content:center;cursor:pointer;
  transition:background .2s,border-color .2s,opacity .2s;
}
.portfolio-arrow svg{width:20px;height:20px}
.portfolio-arrow:hover:not([disabled]){background:#f3f3f3;border-color:var(--line-strong)}
.portfolio-arrow[disabled]{opacity:.4;cursor:not-allowed}
.portfolio-grid{flex:1;display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:28px;max-width:560px;margin:0 auto}
.portfolio-card{display:block;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff;transition:transform .25s ease, box-shadow .25s, border-color .25s;color:inherit}
.portfolio-card:hover{transform:translateY(-4px);border-color:var(--line-strong);box-shadow:0 12px 32px -18px rgba(0,0,0,.2)}
.portfolio-card .portfolio-image img{aspect-ratio:16/9;object-fit:cover;width:100%}
.portfolio-body{padding:22px 24px}
.portfolio-body h3{margin-bottom:6px}
.portfolio-body .portfolio-url{color:var(--muted);font-size:13px;word-break:break-all}

.cta-banner{
  position:relative;
  background-image:url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?auto=format&fit=crop&w=1800&q=80');
  background-size:cover;background-position:center;
  padding:200px 0;color:#fff;overflow:hidden;
}
.cta-overlay{position:absolute;inset:0;background:rgba(15,15,16,.62)}
.cta-content{position:relative;text-align:center;max-width:720px;margin:0 auto}
.cta-content h2{color:#fff;margin-bottom:32px;font-size:clamp(32px,3.6vw,46px)}

.site-footer{border-top:1px solid var(--line);padding:48px 0 24px;background:#fff}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:24px;border-bottom:1px solid var(--line);flex-wrap:wrap}
.footer-nav{display:flex;gap:24px;flex-wrap:wrap}
.footer-nav a{font-size:14px;color:var(--muted);transition:color .2s}
.footer-nav a:hover{color:var(--fg)}
.footer-bottom{padding-top:20px;color:var(--muted);font-size:13px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px}

.reveal{opacity:0;transform:translateY(20px);transition:opacity .8s ease,transform .8s ease}
.reveal.in{opacity:1;transform:none}

.feature-row{
  display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center;
  padding:72px 0;
}
.feature-row + .feature-row{border-top:1px solid var(--line)}
.feature-row-reverse .feature-visual{order:1}
.feature-row-reverse .feature-text{order:2}
.feature-row-center{grid-template-columns:1fr;justify-items:center;text-align:center}
.feature-text h3{font-size:clamp(24px,2.4vw,32px);font-weight:700;letter-spacing:-.01em;margin-bottom:18px}
.feature-text p{font-size:17px;line-height:1.7;margin-bottom:14px;max-width:520px}
.feature-text-wide{max-width:720px}
.feature-text-wide p{max-width:none;margin-left:auto;margin-right:auto}
.feature-visual{display:flex;align-items:center;justify-content:center}
.feature-visual img,.feature-visual .illus{width:100%;max-width:520px;height:auto;display:block}
.illus{filter:drop-shadow(0 16px 32px rgba(0,0,0,.08))}

.feature-anim-left,.feature-anim-right{opacity:0;transition:opacity 1.4s cubic-bezier(.22,.61,.36,1) .25s, transform 1.4s cubic-bezier(.22,.61,.36,1) .25s;will-change:transform,opacity}
.feature-anim-left{transform:translateX(-90px)}
.feature-anim-right{transform:translateX(90px)}
.feature-anim-left.in,.feature-anim-right.in{opacity:1;transform:none}

.price-list{list-style:none;padding:0;margin:24px auto;max-width:560px;text-align:left}
.price-list li{
  display:flex;justify-content:space-between;align-items:baseline;gap:16px;
  padding:14px 0;border-bottom:1px solid var(--line);
  font-size:16px;color:var(--fg);
}
.price-right{display:inline-flex;align-items:baseline;gap:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.price-amt{color:var(--muted)}
.price-sep{color:var(--line-strong)}
.price-link{color:var(--fg);border-bottom:1px solid var(--line-strong);transition:border-color .2s,color .2s}
.price-link:hover{color:#000;border-bottom-color:var(--fg)}

.process-track{position:relative;display:flex;flex-direction:column;gap:80px;padding:20px 0}
.process-row{display:flex;width:100%}
.process-left{justify-content:flex-start}
.process-right{justify-content:flex-end}
.process-card{
  position:relative;
  width:min(460px,90%);
  padding:48px 32px 32px;
  background:#fdfaf2;
  background-image:
    repeating-linear-gradient(0deg,rgba(0,0,0,.025) 0 1px,transparent 1px 28px),
    radial-gradient(120% 80% at 0% 0%,rgba(0,0,0,.04),transparent 50%);
  border:1px solid #e8e1cf;
  box-shadow:0 12px 30px -16px rgba(0,0,0,.25), 0 2px 4px rgba(0,0,0,.06);
  border-radius:4px;
  font-family:'Caveat',cursive;
  font-size:22px;
  color:#1a1a1c;
  line-height:1.45;
  opacity:0;
  transform:translateY(-380px) rotate(-6deg);
  transition:transform .9s cubic-bezier(.34,1.3,.5,1), opacity .35s ease;
}
.process-card.dropped{opacity:1;transform:translateY(0) rotate(-1.5deg)}
.process-right .process-card.dropped{transform:translateY(0) rotate(1.8deg)}
.process-card p{color:#1a1a1c;font-size:inherit;line-height:1.45;margin:0}
.process-pin{position:absolute;top:-22px;left:50%;transform:translateX(-50%);width:34px;height:48px;filter:drop-shadow(0 4px 6px rgba(0,0,0,.35))}
.process-pin svg{width:100%;height:100%;display:block}

.process-line{position:absolute;width:70%;height:160px;pointer-events:none;left:15%}
.process-line path{stroke-dasharray:6 8;stroke-dashoffset:0;
  /* progress emulation via clip-path */
}
.process-line-1{top:calc(33% - 40px)}
.process-line-2{top:calc(66% - 40px)}
.process-line .draw{transition:stroke-dashoffset .15s linear}

.page{padding:80px 0 96px;border-top:1px solid var(--line)}
.page-narrow{max-width:780px;margin:0 auto}
.page h1{font-size:clamp(30px,3.4vw,44px);font-weight:700;letter-spacing:-.015em;margin-bottom:24px;line-height:1.15}
.page h2{font-size:22px;margin:36px 0 12px}
.page h3{font-size:18px;margin:24px 0 10px}
.page p,.page li{color:var(--muted);font-size:16px;margin-bottom:12px}
.page ul,.page ol{padding-left:22px;margin-bottom:16px}
.page a{color:var(--fg);border-bottom:1px solid var(--line-strong)}
.page .meta{color:var(--muted);font-size:14px;margin-bottom:32px}
.page-image{border-radius:var(--radius);margin:8px 0 28px;width:100%;max-height:380px;object-fit:cover}

.not-found{text-align:center;padding:60px 0}
.not-found-code{font-size:clamp(80px,14vw,160px);font-weight:800;letter-spacing:-.04em;line-height:1;margin-bottom:24px;color:var(--fg)}
.not-found-text{color:var(--muted);font-size:18px;max-width:520px;margin:0 auto}
.not-found-text a{color:var(--fg);border-bottom:1px solid var(--line-strong)}

.form-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:36px;display:flex;flex-direction:column;gap:18px;max-width:560px;margin:0 auto}
.form-card label{display:flex;flex-direction:column;font-size:13px;color:var(--muted);font-weight:500;gap:8px}
.form-card input,.form-card textarea{
  border:1px solid var(--line);border-radius:8px;padding:12px 14px;
  font:inherit;color:var(--fg);background:#fff;width:100%;
  transition:border-color .2s;
}
.form-card input:focus,.form-card textarea:focus{outline:none;border-color:var(--fg)}
.form-card button{align-self:flex-start}
.form-msg{font-size:14px;color:var(--muted);margin-top:8px}
.form-msg.error{color:#b00020}
.form-msg.success{color:#0a7d2b}

.contact-block{max-width:640px;margin:0 auto;text-align:center}
.contact-block h1{margin-bottom:32px}
.blocked-card{max-width:640px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:36px;text-align:center}
.blocked-card h2{margin-bottom:16px;font-size:22px}
.blocked-card .countdown{font-weight:600;color:var(--fg);margin:12px 0}

.cookie-backdrop{
  position:fixed;inset:0;background:rgba(8,8,10,.82);
  display:none;align-items:center;justify-content:center;
  z-index:1000;padding:20px;
  backdrop-filter:blur(2px);
}
.cookie-backdrop.show{display:flex}
.cookie-modal{
  background:#fff;border-radius:14px;max-width:520px;width:100%;
  padding:32px 30px;box-shadow:0 20px 60px -20px rgba(0,0,0,.5);
  text-align:left;
}
.cookie-modal h3{font-size:18px;margin-bottom:12px}
.cookie-modal p{font-size:14.5px;color:var(--muted);margin-bottom:24px;line-height:1.6}
.cookie-modal a{color:var(--fg);border-bottom:1px solid var(--line-strong)}
.cookie-modal .cookie-actions{display:flex;justify-content:flex-end}
.cookie-modal .btn-ok{
  background:#0f0f10;color:#fff;border:1px solid #0f0f10;
  padding:12px 32px;border-radius:8px;font-weight:600;cursor:pointer;
  font-family:inherit;font-size:15px;min-width:100px;
  transition:background .2s;
}
.cookie-modal .btn-ok:hover{background:#000}
.cookie-countdown{font-size:12.5px;color:var(--muted);margin-top:16px;margin-bottom:0;text-align:center}

.spinner-backdrop{
  position:fixed;inset:0;background:rgba(8,8,10,.82);
  display:none;align-items:center;justify-content:center;
  z-index:1500;backdrop-filter:blur(2px);
}
.spinner-backdrop.show{display:flex}
.spinner{
  width:54px;height:54px;border-radius:50%;
  border:4px solid rgba(255,255,255,.25);
  border-top-color:#fff;
  animation:spin 0.8s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}

.toast{
  position:fixed;left:50%;bottom:24px;transform:translateX(-50%) translateY(20px);
  background:#fff;color:var(--fg);border:1px solid var(--line-strong);
  border-radius:10px;padding:14px 18px;
  box-shadow:0 12px 32px -12px rgba(0,0,0,.25);
  display:none;align-items:center;gap:14px;
  max-width:calc(100% - 32px);z-index:2000;font-size:14px;
}
.toast.show{display:flex;animation:toastIn .25s ease-out forwards}
@keyframes toastIn{to{transform:translateX(-50%) translateY(0)}}
.toast-text{flex:1}
.toast-close{
  background:none;border:0;color:var(--muted);font-size:22px;line-height:1;
  cursor:pointer;padding:0 4px;font-family:inherit;
}
.toast-close:hover{color:var(--fg)}

@media (max-width:960px){
  .nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);flex-direction:column;padding:18px 24px;gap:16px}
  .nav.open{display:flex}
  .menu-toggle{display:flex}
  .hero{padding:60px 0}
  .hero-grid,.two-col{grid-template-columns:1fr;gap:40px}
  .feature-row{grid-template-columns:1fr;gap:36px;padding:56px 0}
  .feature-row-reverse .feature-visual{order:0}
  .feature-row-reverse .feature-text{order:0}
  .feature-anim-left,.feature-anim-right{transform:translateY(30px)}
  .section{padding:72px 0}
  .cta-banner{padding:140px 0}
  .footer-inner{flex-direction:column;align-items:flex-start}
  .process-line{display:none}
  .process-row{justify-content:center}
}
@media (max-width:520px){
  .brand-e{font-size:26px}
  .brand-bracket{font-size:20px}
  .brand-rest{font-size:18px}
  .portfolio-arrow{width:38px;height:38px}
  .price-list li{flex-direction:column;align-items:flex-start;gap:6px}
}
