/* neoamorfic.ai — site stylesheet (base + responsive overrides for inline-styled sections) */
:root{padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
html{scroll-padding-top:env(safe-area-inset-top,0px);scroll-behavior:smooth}
body{margin:0;background:#ffffff;font-family:'Instrument Sans','Helvetica Neue',Helvetica,Arial,sans-serif;color:#232e3a;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}
h1,h2,h3,p,ul,dl,dd,dt{margin:0}
ul{padding:0;list-style:none}
a{color:#5a6a7a;text-decoration-thickness:1px;text-underline-offset:3px}a:hover{color:#1a2632}
img{max-width:100%}
.site{width:100%;max-width:1440px;margin:0 auto;min-height:100vh;display:flex;flex-direction:column;background:#fff}
.scroll-x{overflow-x:auto;-webkit-overflow-scrolling:touch}
.scroll-x > div{min-width:920px}
.skip{position:absolute;left:-9999px}
html,body{overflow-x:hidden}
.menu-toggle{display:none;width:44px;height:44px;padding:0;border:1px solid #c9d1d8;border-radius:2px;background:#fff;cursor:pointer;position:relative}
.menu-toggle span{position:absolute;left:12px;right:12px;height:2px;background:#1a2632;transition:transform .2s ease,opacity .2s ease}
.menu-toggle span:nth-child(1){top:14px}
.menu-toggle span:nth-child(2){top:21px}
.menu-toggle span:nth-child(3){top:28px}
.menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
@media (max-width:1180px){
  nav,section,footer{padding-left:48px !important;padding-right:48px !important}
}
@media (max-width:900px){
  [style*="display: flex"]{flex-wrap:wrap}
  [style*="flex-direction: column"]{flex-wrap:nowrap}
  a,dd,dt,p,li{overflow-wrap:anywhere}
  nav{height:auto !important;padding:12px 24px !important;flex-wrap:wrap;gap:12px}
  .menu-toggle{display:inline-flex;align-items:center;margin-left:auto}
  .nav-links{display:none !important;width:100%;flex-direction:column;align-items:flex-start !important;gap:2px !important;padding:6px 0 14px;border-top:1px solid #e4e8ec;margin-top:4px}
  .nav-links.open{display:flex !important}
  .nav-links a{padding:11px 0;font-size:17px !important;width:100%}
  .nav-links a[href^="mailto"]{margin-top:10px;width:auto;padding:0 20px !important}
  section,footer{padding:64px 24px !important}
  [style*="grid-template-columns: repeat(12"]{display:flex !important;flex-direction:column;gap:28px}
  [style*="grid-template-columns: repeat(3"],[style*="grid-template-columns: repeat(2"]{grid-template-columns:1fr !important;row-gap:28px}
  [style*="grid-template-columns: 260px"]{grid-template-columns:1fr !important}
  [style*="grid-template-columns: 1fr 220px"],[style*="grid-template-columns: 1fr 200px"]{grid-template-columns:1fr !important;row-gap:6px}
  [style*="text-align: right"]{text-align:left !important}
  [style*="padding-right: 40px"],[style*="padding-right: 24px"]{padding-right:0 !important}
  [style*="white-space: nowrap"]{white-space:normal !important}
  h1{font-size:40px !important;line-height:1.1 !important}
  h2[style*="font-size: 48px"]{font-size:32px !important;line-height:1.15 !important}
  h2[style*="font-size: 40px"],h2[style*="font-size: 32px"]{font-size:28px !important}
  p[style*="font-size: 23px"],p[style*="font-size: 24px"]{font-size:20px !important;line-height:1.5 !important}
  p[style*="font-size: 21px"]{font-size:19px !important;line-height:1.55 !important}
  p[style*="font-size: 42px"]{font-size:28px !important}
  p[style*="font-size: 32px"],p[style*="font-size: 28px"]{font-size:24px !important}
  img[style*="width: 84px"],img[style*="width: 72px"]{width:56px !important;height:56px !important}
  [style*="height: 460px"]{height:320px !important}
  footer [style*="justify-content: space-between"]{flex-wrap:wrap;gap:12px}
}
@media (max-width:520px){
  section,footer{padding:48px 20px !important}
  nav{padding:10px 20px !important}
  h1{font-size:34px !important}
}
