/* v15: shared theme, responsive layout and interaction system. */
:root,[data-theme="light"] {
  color-scheme:light;
  --bg:#faf9f6; --surface:#ffffff; --surface2:#f3f1ed;
  --text:#19181d; --muted:#5e5b67; --line:#dedbe4;
  --violet:#6533cf; --violet2:#7040d4; --blue:#2457ff;
  --accent-soft:#f0e9fc; --on-accent:#fff;
  --shadow:0 18px 55px #3022480b;
}
[data-theme="dark"] {
  color-scheme:dark;
  --bg:#101014; --surface:#19191f; --surface2:#202027;
  --text:#f5f3fa; --muted:#b4b0c2; --line:#36343f;
  --violet:#6436cd; --violet2:#ba9af8; --accent-soft:#302344;
  --shadow:0 18px 55px #0003;
}
body { overflow-x:clip; }
button,input,select,textarea { font:inherit; }
button,a { -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
button { cursor:pointer; }
:focus-visible { outline:3px solid var(--violet2); outline-offset:4px; }
main:focus { outline:none; }
img { max-width:100%; }
h1,h2,h3 { line-height:1.06; text-wrap:balance; overflow-wrap:anywhere; }
h2 { font-size:clamp(34px,4.5vw,62px); }
h1 { letter-spacing:-.065em; }
h1 em,h2 em { line-height:1.08; }
p { line-height:1.7; }
.section { padding-top:100px; padding-bottom:100px; }
.section:first-child { padding-top:78px; }
.eyebrow { font-size:11px; line-height:1.5; color:var(--violet2); }
.lead { color:var(--muted); }
.two,.about-story,.studio-visual,.process,.contactcard,.hosting-plan-wrap,.showcase-head,.studio-home-head { grid-template-columns:repeat(2,minmax(0,1fr)); }
.two { gap:clamp(28px,5vw,72px); }
:where(.two,.about-story,.studio-visual,.process,.contactcard,.hosting-plan-wrap,.hosting-plans,.services-grid,.team-grid,.journey-grid,.aws-hosting-section,.studio-home-head,.showcase-head) > * { min-width:0; }
.button { min-height:48px; padding:12px 21px; line-height:1.25; gap:10px; }
.primary,.mobile a:last-child { background:var(--violet); color:var(--on-accent); border-color:transparent; }
.primary:hover { background:#5528ba; box-shadow:0 12px 28px #6533cf25; }
.button.primary .ui-icon { color:inherit; }
.button.secondary { background:var(--surface); color:var(--text); }
.ui-icon { width:20px; height:20px; display:inline-block; vertical-align:middle; flex:0 0 auto; color:inherit; }
a > .ui-icon { margin-left:3px; }
.nav { height:80px; background:color-mix(in srgb,var(--bg) 94%,transparent); border-color:var(--line); }
.navin { gap:22px; }
.links { gap:22px; }
.links a { min-height:44px; display:flex; align-items:center; color:var(--muted); }
.links a:hover,.links a[aria-current="page"] { color:var(--violet2); }
.links a::after { bottom:2px; background:var(--violet2); }
.theme,.menu { width:44px; min-width:44px; height:44px; padding:0; border:1px solid var(--line); background:var(--surface); color:var(--text); border-radius:50%; align-items:center; justify-content:center; }
.theme { display:inline-flex; }
.theme span { color:inherit; display:flex; }
.theme .theme-moon,[data-theme="dark"] .theme .theme-sun { display:none; }
[data-theme="dark"] .theme .theme-moon { display:flex; }
.menu { display:none; }
.menu::before { content:none; }
.mobile { display:none; }
.brand-logo { width:156px; }
[data-theme="dark"] .brand-logo,.footer .brand-logo { filter:brightness(0) invert(1); }
.hero { padding:72px 28px 92px; min-height:760px; }
.hero-media { min-height:580px; }
.tag { background:#19181d; border-color:#655180; }
.tag b { color:#fff; }
.tag small { color:#d0c8df; }
.stats { gap:20px; }
.stats b { color:var(--text); }
.stats span { font-size:12px; color:var(--muted); }
.service { min-height:370px; background:var(--surface); border:1px solid var(--line); box-shadow:var(--shadow); padding:26px; display:flex; flex-direction:column; }
.service .icon { width:60px; height:60px; display:grid; place-items:center; border:1px solid color-mix(in srgb,var(--violet2) 20%,transparent); background:var(--accent-soft); color:var(--violet2); border-radius:18px; margin:32px 0 24px; box-shadow:inset 0 1px 0 #ffffff40; }
.service .icon .ui-icon { width:31px; height:31px; }
.service h3 { font-size:22px; line-height:1.15; letter-spacing:-.04em; }
.service p { font-size:14px; color:var(--muted); margin-bottom:24px; }
.service > a { position:static; margin-top:auto; padding:10px 0 0; min-height:44px; display:flex; align-items:center; font-size:13px; }
.service-sweep { display:none; }
.car.prev { left:8px; }
.car.next { right:8px; }
.service:hover { border-color:var(--violet2); box-shadow:0 20px 44px #6533cf12; }
.step i { width:48px; height:48px; border-color:#5c526e; color:#d4bcff; background:#261b39; }
.step i .ui-icon { width:23px; height:23px; }
.process-panel { padding:48px; }
.dark,.story-dark,.dark-callout,.aws-hosting-section { --text:#f5f3fa; --muted:#c5bfd0; --line:#48414f; --violet2:#c0a1ff; color:var(--text); border-color:var(--line); background:#19151f; }
.dark :is(span,small,b,i),.story-dark :is(p,span),.dark-callout :is(p,span),.aws-hosting-section :is(p,span) { color:inherit; }
.dark .step p,.dark .principles small,.story-dark p { color:#c5bfd0; }
.principles div { grid-template-columns:30px minmax(0,.8fr) minmax(0,1.2fr); gap:14px; border-color:var(--line); }
.principles small { font-size:13px; line-height:1.6; color:var(--muted); }
.about-story { grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); }
.story-card { padding:clamp(24px,3vw,38px); }
.story-card h2 { font-size:clamp(32px,3.4vw,48px); }
.big-word { font-family:"Space Grotesk",sans-serif; font-size:clamp(40px,6.1vw,82px); letter-spacing:-.07em; }
.studio-visual { padding:32px; gap:32px; align-items:center; box-shadow:var(--shadow); }
.studio-visual h2 { font-size:clamp(32px,4vw,52px); }
.studio-visual img { aspect-ratio:3/2; height:auto; min-height:0; border:0; box-shadow:none; }
.studio-visual p { color:var(--muted); }
.contactcard { margin-top:54px; padding:clamp(24px,4vw,52px); gap:clamp(28px,4vw,60px); }
.contactcard h2 { font-family:"Space Grotesk",sans-serif; font-size:clamp(36px,4.2vw,58px); line-height:1.08; }
.form label { font-size:12px; letter-spacing:.03em; }
.form input,.form textarea { padding:13px 12px; border:1px solid var(--line); border-radius:10px; margin-top:7px; }
.form :is(input,select,textarea) { font-size:16px; min-width:0; max-width:100%; outline-offset:3px; }
.form :is(input,select,textarea):focus-visible { outline:2px solid var(--violet2); }
.form select,.form select option { background:var(--surface); color:var(--text); }
.phone-row { grid-template-columns:100px minmax(0,1fr); }
.phone-row input { min-width:0; }
.form-note { font-size:14px; line-height:1.6; min-height:1.6em; }
.hosting-feature h3,.hosting-plans h3 { line-height:1.15; }
.hosting-feature p,.hosting-plans p,.work-notes p,.journey-grid p { font-size:14px; }
.aws-benefits { border-color:#48414f; background:#48414f; }
.aws-benefits > div { background:#19151f; }
.work-notes h3 { line-height:1.2; }
.welcome-card { max-height:calc(100dvh - 40px); overflow-y:auto; transform:none; }
.welcome-card h2,.welcome-card strong,.welcome-card p,.welcome-signoff { color:var(--text); }
.welcome-card p { color:var(--muted); }
.welcome-close { width:44px; height:44px; display:grid; place-items:center; }
.newsletter-form input[type="email"] { font-size:16px; min-height:48px; width:100%; }
.newsletter-consent { font-size:13px; line-height:1.6; color:var(--muted); }
.newsletter-consent input { min-width:20px; height:20px; accent-color:var(--violet); }
.newsletter-form button:disabled { opacity:.6; cursor:wait; }
.newsletter-form[hidden],.newsletter-success[hidden],.newsletter-card [hidden] { display:none!important; }
.newsletter-success { padding:20px 0 10px; }
.newsletter-success:focus { outline:none; }
.newsletter-success-mark { display:grid; place-items:center; width:64px; height:64px; border:1px solid color-mix(in srgb,var(--violet2) 30%,transparent); border-radius:20px; color:var(--violet2); background:var(--accent-soft); margin-bottom:28px; }
.newsletter-success-mark .ui-icon { width:32px; height:32px; }
.newsletter-success h2 { margin:0 0 20px; font-size:clamp(34px,6vw,48px); }
.newsletter-success p { margin:0; color:var(--muted); font-size:16px; line-height:1.75; }
#newsletterNote[data-state="error"] { padding:12px 14px; border-radius:12px; border:1px solid #c9626b; background:#fff3f4; color:#902b35; font-size:14px; }
[data-theme="dark"] #newsletterNote[data-state="error"] { background:#3c2027; color:#ffd7dc; border-color:#a75f6b; }
.cookie-banner { max-width:940px; margin:auto; padding:18px 22px; box-shadow:0 8px 45px #17102520; }
.cookie-banner p { font-size:12px; color:var(--muted); }
.overlay-open .cookie-banner { visibility:hidden; }
.footer { background:#141217; border-color:#302b36; }
.footer :is(p,span,small) { color:#b5afc0; }
.footer-links b { color:#a7a0b3; font-size:11px; }
.footer-links a { color:#e0dae9; min-height:28px; display:flex; align-items:center; }
.footer-bottom { font-size:11px; border-color:#39323f; }
.footer-bottom a { color:#ddd1f1; }
.coming-soon { display:block; font-size:12px; }
.coming-soon small { display:block; font-size:10px; margin-top:3px; opacity:.7; }
.skip-link { position:fixed; top:10px; left:16px; z-index:300; padding:14px 20px; background:var(--text); color:var(--bg); border-radius:12px; transform:translateY(-150%); }
.skip-link:focus { transform:none; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.typing-content { color:inherit; }
.typing-char { color:inherit; visibility:hidden; }
.typing-char.typed { visibility:visible; }
.typing-char.cursor { position:relative; }
.typing-char.cursor::after { content:""; position:absolute; width:2px; height:.75em; background:var(--violet2); bottom:.08em; right:-.04em; animation:cursor-pulse .7s step-end infinite; }
@keyframes cursor-pulse { 50% { opacity:0; } }
@media (min-width:901px) and (max-width:1160px) {
  .links { gap:15px; }
  .navin { gap:14px; }
  .actions .button { padding:12px 16px; font-size:12px; }
  .brand-logo { width:136px; }
}
@media (max-width:1050px) {
  .hero { grid-template-columns:1fr; }
  .two,.process,.contactcard,.hosting-plan-wrap { grid-template-columns:minmax(0,1fr); }
  .two > div:first-child { max-width:900px; }
  .hero-media { min-height:500px; }
  .hero-img { height:440px; width:80%; }
  .hero { min-height:0; }
}
@media (max-width:900px) {
  .nav { height:74px; }
  .navin { padding-inline:20px; }
  .links,.actions .button { display:none; }
  .menu { display:inline-flex; border-radius:14px; }
  .mobile { position:fixed; top:86px; left:16px; right:16px; padding:12px; border:1px solid var(--line); border-radius:20px; background:var(--surface); box-shadow:0 20px 65px #1b122c24; max-height:calc(100dvh - 104px); overflow:auto; }
  .mobile.open { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .mobile a { padding:14px; min-height:52px; color:var(--text); background:var(--surface2); border:1px solid var(--line); border-radius:12px; text-decoration:none; font-size:14px; }
  .mobile a:hover,.mobile a:focus-visible,.mobile a[aria-current="page"] { background:var(--accent-soft); border-color:var(--violet2); color:var(--violet2); }
  .mobile a:last-child { grid-column:1/-1; justify-content:center; color:var(--on-accent); background:var(--violet); border-color:transparent; }
  .mobile a:last-child:hover,.mobile a:last-child:focus-visible { color:#fff; background:#5528ba; }
  .studio-visual,.studio-home-head,.showcase-head { grid-template-columns:minmax(0,1fr); }
  .section { padding-block:72px; }
  .section:first-child { padding-top:56px; }
  .about-values { margin-top:56px; }
}
@media (max-width:600px) {
  .wrap { padding-inline:20px; }
  .section { padding:64px 20px; }
  .section:first-child { padding-top:48px; }
  .section .section { padding-inline:0; }
  main h1[data-type-heading] { font-size:clamp(40px,11.5vw,66px)!important; line-height:1.05; }
  h2,.two h2 { font-size:clamp(32px,9vw,46px); }
  .lead { font-size:16px; }
  .hero { padding:48px 20px 64px; }
  .hero h1[data-type-heading] { font-size:clamp(58px,18vw,82px)!important; }
  .hero-copy p { font-size:16px; }
  .hero-media { min-height:320px; margin-top:24px; }
  .hero-img { width:94%; height:auto; aspect-ratio:1.4; }
  .phone-img { width:100px; height:205px; bottom:0; }
  .stats { margin-top:32px; }
  .services-grid { grid-template-columns:minmax(0,1fr); gap:14px; margin-top:30px; }
  .service { padding:24px; min-height:0; }
  .service .icon { margin:22px 0; width:56px; height:56px; }
  .service h3 { font-size:24px; }
  .service p { font-size:15px; margin-bottom:16px; }
  .service a { font-size:14px; }
  .about-story { grid-template-columns:minmax(0,1fr); margin-top:42px; gap:16px; }
  .story-card { padding:26px; }
  .story-card h2 { font-size:clamp(30px,8.5vw,42px); }
  .story-card p { font-size:15px; }
  .story-dark { min-height:260px; display:flex; flex-direction:column; }
  .big-word { font-size:clamp(42px,13vw,70px); margin:44px 0 20px; }
  .principles { margin-top:0; }
  .principles div { grid-template-columns:24px minmax(0,1fr); gap:6px 12px; padding:20px 0; }
  .principles small { grid-column:2; font-size:14px; }
  .studio-visual { padding:22px; gap:20px; margin-top:44px; }
  .studio-visual h2 { font-size:34px; }
  .studio-visual img { aspect-ratio:3/2; min-height:0; border-radius:14px; }
  .studio-home-visual img { min-height:0; }
  .callout { margin-top:44px; padding:26px; }
  .callout h2 { font-size:36px; }
  .callout .button { width:100%; }
  .processgrid { gap:24px 18px; }
  .process-panel { padding:26px; }
  .processgrid .step { min-width:0; }
  .step i { margin:28px 0 18px; }
  .step h3 { font-size:19px; }
  .step p { font-size:13px; }
  .dark > .process,.dark .principles { min-width:0; }
  .team-grid,.hosting-plans,.hosting-feature-grid,.work-notes { grid-template-columns:minmax(0,1fr); gap:16px; }
  .team-card { min-height:0; padding:28px; }
  .team-card h2 { font-size:32px; }
  .team-card p { font-size:15px; }
  .team-quote { gap:22px; padding:26px; }
  .hosting-feature { min-height:0; padding:26px; }
  .hosting-feature h3 { font-size:24px; margin-top:30px; }
  .hosting-feature p,.hosting-plans p,.work-notes p,.journey-grid p { font-size:15px; }
  .hosting-plans article { padding:26px; min-height:240px; }
  .hosting-plans h3 { font-size:24px; }
  .service-journey { padding:24px; }
  .journey-grid { grid-template-columns:minmax(0,1fr); }
  .journey-grid > div { padding:22px; }
  .contactcard { margin-top:32px; padding:24px; }
  .contactcard h2 { font-size:38px; }
  .contactcard p { font-size:15px; }
  .welcome-card { padding:28px 22px; }
  .welcome-card h2 { font-size:clamp(32px,9vw,42px); }
  .welcome-card p { font-size:14px; }
  .cookie-banner { padding:16px; gap:14px; }
  .cookie-actions .button { padding:10px 14px; }
  .footer-links { gap:32px; }
  .footer-bottom { gap:10px; line-height:1.6; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; animation:none!important; transition:none!important; }
  .reveal { opacity:1; transform:none; }
  .typing-char { visibility:visible; }
  .typing-char.cursor::after { display:none; }
}
@media (max-width:360px) {
  .processgrid { grid-template-columns:minmax(0,1fr); }
}
