:root{
/* Palette (approximate, “Plasmonica-like” light/blue scheme) */
--bg: #f3f0ff;
--card: #ffffff;
--text: #0f172a;     /* slate-900 */
--muted: #475569;    /* slate-600 */
--line: #dbe3f0;     /* cool light border */
--link: #1d4ed8;     /* blue-700 */
--link_hover: #1e40af;

/* Subtle blue accents */
--accent_1: #0b2f6a; /* deep navy */
--accent_2: #2b6cb0; /* blue */
--accent_3: #e6f0ff; /* pale blue wash */

--max: 980px;
--radius: 14px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
margin:0;
font: 16px/1.55 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
color: var(--text);
background: linear-gradient(180deg, #ffffff 0%, #f3f0ff 100%);
background-attachment: fixed;
background-repeat: no-repeat;
background-size: cover;
}

a{ color: var(--link); text-decoration: none; }
a:hover{ color: var(--link_hover); text-decoration: underline; }
a:focus-visible{
outline: 2px solid rgba(29,78,216,0.6);
outline-offset: 2px;
border-radius: 6px;
}

.wrap{
max-width: var(--max);
margin: 0 auto;
padding: 22px 16px 56px;
}

/* Full-width hero/banner slider */
.hero{
  position: relative;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  height: clamp(320px, 55vh, 520px);
  overflow: hidden;
}

/* Compact hero variant for secondary pages */
.hero.hero-small{
  height: clamp(100px, 18vh, 150px);
}

.hero.hero-small .hero-arrow{
  display: none;
}


.hero-slide{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 300ms ease;
}

.hero-slide.is-active{
  opacity: 1;
}

.hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.18) 40%,
    rgba(0,0,0,0.30) 100%
  );
  pointer-events: none;
}

/* Overlaid title */
.hero-title{
  position: absolute;
  left: clamp(20px, 6vw, 80px);
  bottom: clamp(12px, 4vh, 40px);
  transform: none;
  color: #ffffff;
  text-align: left;
  max-width: min(90%, 720px);
  z-index: 2;
}

.hero-title h1{
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
}

h1 .inline-icon{
  height: 1em;       /* same as text height */
  width: auto;       /* preserve aspect ratio */
  vertical-align: -0.1em; /* fine-tune alignment */
}

.hero-title p{
  margin: 12px 0 0;
  font-size: clamp(16px, 2.2vw, 20px);
  color: rgba(255,255,255,0.9);
}

/* Navigation arrows */
.hero-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.35);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(2px);
}

.hero-arrow:hover{
  background: rgba(0,0,0,0.55);
}

.hero-arrow.left{ left: 18px; }
.hero-arrow.right{ right: 18px; }

.hero-arrow svg{
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

.hero-slide{ opacity: 0; transition: opacity 300ms ease; }
.hero-slide.is-active{ opacity: 1; }

header{
padding: 30px 0 18px;
border-bottom: 1px solid var(--line);
}
header h1{
margin: 0 0 6px;
font-size: clamp(28px, 4vw, 40px);
line-height: 1.15;
letter-spacing: -0.02em;
color: var(--accent_1);
}
header p{
margin: 0;
color: var(--muted);
max-width: 75ch;
}
.banner{
margin: 0 0 10px;
}
.banner img{
width: 100%;
max-width: 720px;   /* adjust to taste */
height: auto;
display: block;
}

.pill-row{
display:flex;
flex-wrap:wrap;
gap:10px;
margin-top:14px;
}
.pill{
border: 1px solid rgba(29,78,216,0.20);
background: var(--accent_3);
padding: 6px 10px;
border-radius: 999px;
color: #1f3b78;
font-size: 14px;
white-space: nowrap;
}

main{
padding-top: 18px;
display: grid;
gap: 14px;
}

section{
background: var(--card);
border: 1px solid var(--line);
border-radius: var(--radius);
padding: 18px;
box-shadow:
0 1px 0 rgba(15, 23, 42, 0.03),
0 10px 24px rgba(15, 23, 42, 0.06);
}
section h2{
margin: 0 0 10px;
font-size: 18px;
letter-spacing: -0.01em;
color: var(--accent_1);
}
.meta{
margin: -6px 0 12px;
color: var(--muted);
font-size: 14px;
}

.bullets{
margin: 0;
padding-left: 18px;
}
.bullets li{ margin: 6px 0; }
.bullets .muted{ color: var(--muted); }

.one-col-list{
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 8px;
}

.two-col-list{
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
column-gap: 32px;
row-gap: 8px;
}

@media (max-width: 640px){
.two-col-list{
grid-template-columns: 1fr;
}
}

.image-row{
display:flex;
flex-wrap:wrap;
gap: 12px;
margin-top: 10px;
}
.image-row figure{
margin:0;
flex: 1 1 220px;
min-width: 180px;
border: 1px solid var(--line);
border-radius: 12px;
overflow: hidden;
background: #ffffff;
}
.image-row img{
width:100%;
height: 160px;
object-fit: cover;
display:block;
background: #eef2ff;
}
.image-row figcaption{
padding: 10px 10px 12px;
color: var(--muted);
font-size: 14px;
}

/* Face row: like .image-row, but each tile keeps a fixed size when wrapping */
.face-row{
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 10px;
}

.face-row figcaption br{
  line-height: 1.2;
}

.face-row figure{
margin: 0;
flex: 0 0 180px;      /* fixed tile width; does not grow/shrink */
width: 180px;
border: 1px solid var(--line);
border-radius: 12px;
overflow: hidden;
background: #ffffff;
}

.face-row img{
width: 100%;
height: 180px;        /* fixed tile height */
object-fit: cover;
display: block;
background: #eef2ff;
}

.face-row figcaption{
padding: 10px 10px 12px;
color: var(--muted);
font-size: 14px;
}


.logo-gallery{
display: flex;
flex-wrap: wrap;
gap: 12px;
align-items: center;
}

.logo-gallery a,
.logo-gallery .logo{
display: inline-flex;
align-items: center;
justify-content: center;
padding: 10px 12px;
border: 1px solid var(--line);
border-radius: 10px;
background: var(--card);
}

.logo-gallery img{
display: block;
width: auto;
height: 56px;     /* compact; adjust (e.g. 36–56px) */
max-width: 180px; /* prevents very wide logos */
object-fit: contain; /* ensures full logo is visible */
}

/* Form controls */
input[type="text"],
input[type="email"],
textarea,
input[type="file"]{
  width: 100%;
  max-width: 720px;   /* matches banner image width */
}

.social-inline{
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.social-inline svg{
  width: 18px;
  height: 18px;
  fill: var(--accent_1);
}

footer{
margin-top: 18px;
color: var(--muted);
font-size: 14px;
padding-top: 14px;
border-top: 1px solid var(--line);
}

@media (max-width: 520px){
section{ padding: 14px; }
.image-row img{ height: 140px; }
}

@media (prefers-reduced-motion: reduce){
*{ scroll-behavior:auto !important; }
}
