/* ─────────────────────────────────────────────
   אדר מדיה — 2026 rebuild
   Palette lifted from the original 2010 “tech-blue”
   theme and the butterfly mark.
   ───────────────────────────────────────────── */

:root{
  --navy:      #123056;
  --navy-2:    #1b4372;
  --blue:      #2f86c9;
  --blue-soft: #7fbde4;
  --sky:       #e9f2fa;
  --sky-2:     #f5f9fc;
  --green:     #8cc63f;
  --orange:    #f6921e;

  --ink:       #1d2836;
  --ink-2:     #3b4b5e;
  --muted:     #64748b;
  --line:      #e2eaf1;
  --line-2:    #eef3f8;
  --paper:     #ffffff;

  --shadow-sm: 0 1px 2px rgba(18,48,86,.05), 0 1px 3px rgba(18,48,86,.05);
  --shadow-md: 0 2px 4px rgba(18,48,86,.04), 0 8px 24px rgba(18,48,86,.07);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;

  --head-h: 62px;
}

*,*::before,*::after{ box-sizing:border-box; }

html{
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
  scroll-padding-top: calc(var(--head-h) + 12px);
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation:none !important; transition:none !important; }
}

body{
  margin:0;
  font-family:'Assistant', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size:17px;
  font-weight:400;
  line-height:1.72;
  color:var(--ink-2);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}

h1,h2,h3{
  font-family:'Frank Ruhl Libre', Georgia, serif;
  font-weight:700;
  color:var(--navy);
  line-height:1.25;
  margin:0;
  letter-spacing:-.01em;
}

p{ margin:0 0 1em; }
p:last-child{ margin-bottom:0; }

a{ color:var(--navy-2); }

img{ max-width:100%; height:auto; display:block; }

.wrap{
  width:100%;
  max-width:1060px;
  margin-inline:auto;
  padding-inline:20px;
}

.skip{
  position:absolute; inset-inline-start:-9999px; top:0;
  background:var(--navy); color:#fff; padding:10px 16px; z-index:100;
  border-radius:0 0 var(--r-sm) var(--r-sm);
}
.skip:focus{ inset-inline-start:12px; }

/* ── header ───────────────────────────────── */

.site-head{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.88);
  -webkit-backdrop-filter:saturate(180%) blur(12px);
  backdrop-filter:saturate(180%) blur(12px);
  border-bottom:1px solid transparent;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.site-head.scrolled{
  border-bottom-color:var(--line);
  box-shadow:0 1px 16px rgba(18,48,86,.05);
}

.head-inner{
  height:var(--head-h);
  display:flex; align-items:center; gap:12px;
}

.brand{
  display:flex; align-items:center; gap:10px;
  text-decoration:none; color:inherit;
  margin-inline-end:auto;
}
.brand-mark{ width:30px; height:auto; }
.brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand-name{
  font-family:'Frank Ruhl Libre', Georgia, serif;
  font-weight:700; font-size:20px; color:var(--navy);
}
.brand-tag{
  font-size:11.5px; font-weight:400; color:var(--blue);
  letter-spacing:.055em;
}

.nav{ display:flex; gap:6px; }
.nav a{
  position:relative;
  padding:7px 12px;
  border-radius:99px;
  font-size:15.5px; font-weight:600;
  color:var(--ink-2); text-decoration:none;
  transition:background .16s ease, color .16s ease;
}
.nav a:hover{ background:var(--sky); color:var(--navy); }

.nav-toggle{
  display:none;
  width:40px; height:40px; padding:9px;
  background:none; border:1px solid var(--line); border-radius:10px;
  cursor:pointer;
}
.nav-toggle span{
  display:block; height:2px; border-radius:2px; background:var(--navy);
  transition:transform .2s ease, opacity .2s ease;
}
.nav-toggle span + span{ margin-top:5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

@media (max-width:719px){
  .nav-toggle{ display:block; }
  .nav{
    position:absolute; inset-inline:0; top:var(--head-h);
    flex-direction:column; gap:0;
    background:#fff; border-bottom:1px solid var(--line);
    box-shadow:var(--shadow-md);
    padding:6px 14px 14px;
    display:none;
  }
  .nav.open{ display:flex; }
  .nav a{ padding:12px 10px; border-radius:10px; font-size:17px; }
}

/* ── hero ─────────────────────────────────── */

.hero{
  position:relative;
  padding-block:clamp(48px, 9vw, 86px) clamp(32px, 6vw, 56px);
  background:
    radial-gradient(900px 420px at 78% -10%, #dcecf9 0%, rgba(220,236,249,0) 62%),
    linear-gradient(180deg, var(--sky-2) 0%, #fff 78%);
  overflow:hidden;
}
.hero::after{
  content:"";
  position:absolute; inset-inline:0; bottom:0; height:1px;
  background:linear-gradient(90deg, transparent, var(--line), transparent);
}

.hero-inner{ text-align:center; }

.hero-mark{
  width:clamp(74px, 13vw, 104px);
  margin:0 auto 18px;
  filter:drop-shadow(0 6px 14px rgba(18,48,86,.14));
}

.eyebrow{
  font-size:12.5px; font-weight:700;
  letter-spacing:.18em;
  color:var(--blue);
  text-transform:uppercase;
  margin:0 0 10px;
}

.hero h1{
  font-size:clamp(40px, 9vw, 64px);
  letter-spacing:-.02em;
  margin:0;
}

.hero-tag{
  font-size:clamp(16px, 3.4vw, 19px);
  font-weight:300;
  color:var(--blue);
  letter-spacing:.14em;
  margin:6px 0 26px;
}

.lead{
  max-width:640px; margin:0 auto 12px;
  font-size:clamp(17px, 2.4vw, 19.5px);
  color:var(--ink-2);
}
.lead-sub{
  max-width:640px; margin:0 auto;
  font-size:16px; color:var(--muted);
}

.strip{
  display:grid;
  direction:ltr;                 /* keep the 2009 banner's original photo order */
  grid-template-columns:repeat(2, 1fr);
  gap:10px;
  margin-top:clamp(34px, 6vw, 54px);
}
.strip img{
  width:100%; height:clamp(88px, 17vw, 132px);
  object-fit:cover;
  border-radius:var(--r-md);
  box-shadow:var(--shadow-sm);
  filter:saturate(.88);
}
@media (min-width:720px){
  .strip{ grid-template-columns:repeat(4, 1fr); gap:14px; }
}

/* ── sections ─────────────────────────────── */

.section{ padding-block:clamp(52px, 8vw, 88px); }
.section.alt{ background:var(--sky-2); border-block:1px solid var(--line-2); }

.band{
  padding-block:clamp(44px, 7vw, 72px);
  background:var(--paper);
}

.kicker{
  font-size:12.5px; font-weight:700; letter-spacing:.16em;
  color:var(--blue); text-transform:uppercase;
  margin:0 0 8px;
}

.section-title{
  font-size:clamp(28px, 5.2vw, 38px);
  margin:0 0 14px;
}
.section-title::after{
  content:"";
  display:block; width:46px; height:3px; border-radius:3px;
  margin-top:14px;
  background:linear-gradient(90deg, var(--green), var(--blue));
}

.sub-title{
  font-size:clamp(19px, 3.2vw, 23px);
  margin:clamp(40px, 6vw, 58px) 0 20px;
}

.section-intro{
  max-width:720px;
  font-size:17.5px;
  color:var(--ink-2);
  margin:18px 0 clamp(28px, 4.5vw, 40px);
}

/* ── approach cards ───────────────────────── */

.two-up{
  display:grid; gap:16px;
  grid-template-columns:1fr;
}
@media (min-width:720px){
  .two-up{ grid-template-columns:1fr 1fr; gap:22px; }
}

.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  padding:clamp(22px, 3.6vw, 30px);
  box-shadow:var(--shadow-sm);
}
.card h2{
  font-size:clamp(20px, 3.4vw, 24px);
  margin:0 0 10px;
}
.card p{ color:var(--ink-2); }

.quote{
  margin:clamp(30px, 5vw, 44px) 0 0;
  padding:clamp(22px, 4vw, 30px) clamp(24px, 4.4vw, 38px);
  background:linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  border-radius:var(--r-lg);
  position:relative; overflow:hidden;
}
.quote::before{
  content:"";
  position:absolute; inset-block:0; inset-inline-start:0; width:5px;
  background:linear-gradient(180deg, var(--green), var(--orange));
}
.quote p{
  font-family:'Frank Ruhl Libre', Georgia, serif;
  font-size:clamp(19px, 3.6vw, 26px);
  font-weight:500; line-height:1.5;
  color:#fff; margin:0;
}

.note{
  max-width:720px;
  margin:clamp(26px, 4vw, 34px) 0 0;
  color:var(--muted);
  font-size:16.5px;
}

/* ── about ────────────────────────────────── */

.about{
  display:grid; gap:clamp(24px, 4vw, 40px);
  grid-template-columns:1fr;
  align-items:start;
  margin-top:clamp(24px, 4vw, 34px);
}
@media (min-width:720px){
  .about{ grid-template-columns:220px 1fr; gap:44px; }
}

.portrait{ margin:0 auto; max-width:196px; }
@media (min-width:720px){ .portrait{ margin:0; max-width:230px; } }
.portrait img{
  width:100%; aspect-ratio:1; object-fit:cover;
  border-radius:50%;
  border:5px solid #fff;
  box-shadow:0 0 0 1px var(--line), 0 10px 30px rgba(18,48,86,.13);
}
.portrait figcaption{
  margin-top:14px;
  font-size:14.5px; font-weight:600; color:var(--navy);
  text-align:center;
}

.about-lead{
  font-size:clamp(18px, 2.6vw, 20.5px);
  color:var(--ink);
  font-weight:400;
  margin-bottom:1.1em;
}

.ticks{ list-style:none; margin:0; padding:0; }
.ticks li{
  position:relative;
  padding-inline-start:26px;
  margin-bottom:.7em;
  color:var(--ink-2);
}
.ticks li::before{
  content:"";
  position:absolute; inset-inline-start:0; top:.62em;
  width:9px; height:9px; border-radius:50%;
  background:linear-gradient(140deg, var(--green), var(--blue));
}
.ticks em{ font-style:normal; font-weight:700; color:var(--navy); }

/* ── services ─────────────────────────────── */

.services{
  display:grid; gap:16px;
  grid-template-columns:1fr;
}
@media (min-width:720px){
  .services{ grid-template-columns:1fr 1fr; gap:22px; }
}

.svc{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  padding:clamp(22px, 3.4vw, 28px);
  box-shadow:var(--shadow-sm);
  transition:box-shadow .2s ease, transform .2s ease;
}
.svc:hover{ box-shadow:var(--shadow-md); transform:translateY(-2px); }

.svc h3{
  font-size:clamp(18px, 2.9vw, 21px);
  margin:0 0 4px;
  padding-bottom:14px;
  border-bottom:1px solid var(--line-2);
}
.svc ul{
  list-style:none; margin:16px 0 0; padding:0;
  font-size:16.5px;
}
.svc li{
  position:relative;
  padding-inline-start:20px;
  margin-bottom:.55em;
  color:var(--ink-2);
}
.svc li:last-child{ margin-bottom:0; }
.svc li::before{
  content:"";
  position:absolute; inset-inline-start:2px; top:.68em;
  width:6px; height:6px; border-radius:50%;
  background:var(--blue-soft);
}

/* ── logos ────────────────────────────────── */

.logos{
  --cols: 2;
  --gap: 12px;
  list-style:none; margin:0; padding:0;
  display:flex; flex-wrap:wrap; justify-content:center;
  gap:var(--gap);
}
@media (min-width:560px){ .logos{ --cols:3; --gap:16px; } }
@media (min-width:860px){ .logos{ --cols:4; } }

.logos li{
  flex:0 1 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  display:flex; align-items:center; justify-content:center;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--r-md);
  min-height:clamp(96px, 16vw, 122px);
  padding:16px;
  box-shadow:var(--shadow-sm);
  transition:box-shadow .2s ease, border-color .2s ease;
}
.logos li:hover{ border-color:var(--blue-soft); box-shadow:var(--shadow-md); }
.logos img{
  max-height:clamp(58px, 10vw, 78px);
  width:auto; max-width:100%;
  object-fit:contain;
}

.logos.partners{ --cols:2; }
@media (min-width:720px){ .logos.partners{ --cols:4; } }

/* ── press ────────────────────────────────── */

.press{
  list-style:none; margin:0; padding:0;
  border-top:1px solid var(--line);
}
.press li{
  display:flex; flex-direction:column; gap:5px;
  padding:18px 2px;
  border-bottom:1px solid var(--line);
}
@media (min-width:720px){
  .press li{
    flex-direction:row; align-items:baseline; gap:20px;
    padding:20px 4px;
  }
}

.outlet{
  flex:0 0 auto;
  min-width:118px;
  font-size:12.5px; font-weight:700;
  letter-spacing:.09em; text-transform:uppercase;
  color:var(--blue);
}

.headline{
  font-size:17px;
  color:var(--ink);
  line-height:1.55;
  text-decoration:none;
}
a.headline{
  color:var(--navy-2);
  background-image:linear-gradient(var(--blue-soft), var(--blue-soft));
  background-size:100% 1px;
  background-position:0 100%;
  background-repeat:no-repeat;
  transition:background-size .2s ease, color .2s ease;
  padding-bottom:1px;
}
a.headline:hover{
  color:var(--blue);
  background-size:100% 2px;
}
span.headline{ color:var(--ink-2); }

/* ── footer ───────────────────────────────── */

.site-foot{
  background:linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 100%);
  color:#cfe0ef;
  padding-block:clamp(40px, 6vw, 58px);
  text-align:center;
}
.foot-mark{
  width:44px; margin:0 auto 14px;
  filter:drop-shadow(0 4px 10px rgba(0,0,0,.25));
}
.foot-name{
  font-family:'Frank Ruhl Libre', Georgia, serif;
  font-size:24px; font-weight:700; color:#fff;
  margin:0;
}
.foot-tag{
  font-size:13.5px; letter-spacing:.16em;
  color:var(--blue-soft);
  margin:4px 0 0;
}

::selection{ background:#cfe6f7; color:var(--navy); }

:focus-visible{
  outline:2px solid var(--blue);
  outline-offset:3px;
  border-radius:4px;
}
