:root {
  --paper: #f2f0e9;
  --ink: #121210;
  --muted: #6e6c65;
  --line: rgba(18, 18, 16, 0.18);
  --accent: #ee5534;
  --serif: "Frank Ruhl Libre", Georgia, serif;
  --sans: "IBM Plex Sans Hebrew", sans-serif;
  --page-x: clamp(1.25rem, 4vw, 4.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: white; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { color: inherit; }
.noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
}
.skip-link {
  position: fixed;
  inset-block-start: .75rem;
  inset-inline-start: .75rem;
  transform: translateY(-160%);
  z-index: 50;
  background: var(--ink);
  color: var(--paper);
  padding: .7rem 1rem;
}
.skip-link:focus { transform: none; }

.site-header {
  min-height: 90px;
  padding: 0 var(--page-x);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  width: max-content;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -.03em;
}
.brand-mark { width: 34px; height: 34px; overflow: visible; }
.brand-mark path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-box: fill-box;
  transform-origin: center;
}
.brand-mark .brand-corner {
  stroke-width: 1.4;
  opacity: .34;
  transition: opacity .22s ease, transform .5s cubic-bezier(.2,.8,.2,1);
}
.brand-mark .brand-shortcut {
  stroke: var(--accent);
  stroke-width: 2.6;
  stroke-dasharray: 32 32;
}
.brand:hover .brand-corner-start { transform: translate(-2px, -2px); opacity: .18; }
.brand:hover .brand-corner-end { transform: translate(2px, 2px); opacity: .18; }
.brand:hover .brand-shortcut { animation: shortcut-travel .5s cubic-bezier(.2,.8,.2,1); }
@keyframes shortcut-travel { to { stroke-dashoffset: -64; } }

.main-nav { display: flex; align-items: center; gap: clamp(1.5rem, 3.2vw, 3.2rem); }
.main-nav a {
  text-decoration: none;
  font-size: .73rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: -.35rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform .25s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a.nav-cta {
  color: white;
  background: var(--accent);
  padding: .6rem 1.2rem;
  border-radius: 100px;
  transition: background .2s ease, color .2s ease;
}
.main-nav a.nav-cta::after { content: none; }
.main-nav a.nav-cta:hover { background: var(--ink); }
.language-toggle {
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: transparent;
  padding: .45rem .7rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  font-size: .69rem;
  font-weight: 600;
  transition: background .2s ease, color .2s ease;
}
.language-toggle:hover { background: var(--ink); color: var(--paper); }
.toggle-divider { width: 1px; height: 12px; background: currentColor; opacity: .3; }
.language-next { opacity: .48; }

.hero {
  min-height: calc(100vh - 90px);
  min-height: calc(100svh - 90px);
  padding: clamp(4rem, 8vh, 7rem) var(--page-x) clamp(3rem, 7vh, 5.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: center;
}
.hero-copy { max-width: 800px; }
.eyebrow {
  margin: 0 0 1.5rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; display: inline-block; width: 18px; height: 1px; margin-inline-end: .65rem; vertical-align: .24em; background: var(--accent); }
.hero-title {
  margin: 0;
  font-size: clamp(4.35rem, 8.2vw, 9.2rem);
  line-height: .81;
  font-weight: 500;
  letter-spacing: -.075em;
}
.hero-title span { display: block; white-space: nowrap; }
.hero-title .serif {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -.055em;
  margin-inline-start: clamp(2rem, 8vw, 9rem);
  color: var(--accent);
}
.hero-intro {
  max-width: 590px;
  margin: clamp(2.5rem, 5vh, 4.5rem) 0 2.4rem;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  line-height: 1.65;
  color: #35342f;
}
.text-link {
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  text-decoration: none;
  font-weight: 600;
}
.text-link svg { width: 38px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .25s ease; }
.text-link:hover svg { transform: translateX(6px); }
[dir="rtl"] .text-link svg, [dir="rtl"] .submit-button svg { transform: scaleX(-1); }
[dir="rtl"] .text-link:hover svg { transform: scaleX(-1) translateX(6px); }

.route-card {
  width: min(100%, 570px);
  min-width: 0;
  justify-self: end;
  border: 1px solid var(--ink);
  padding: 1.15rem;
  background: rgba(242, 240, 233, .72);
  box-shadow: 14px 14px 0 rgba(18, 18, 16, .06);
  transform: rotate(1.2deg);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease;
}
.route-card:hover { transform: rotate(0); box-shadow: 7px 7px 0 rgba(18,18,16,.1); }
.route-meta, .route-caption { display: flex; justify-content: space-between; gap: 1rem; font-size: .6rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.route-map { width: 100%; display: block; margin: .5rem 0; }
.route-grid { fill: none; stroke: var(--line); stroke-width: 1; }
.long-route { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-dasharray: 4 7; opacity: .48; }
.short-route { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 550; stroke-dashoffset: 550; animation: draw-route 1.4s .7s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes draw-route { to { stroke-dashoffset: 0; } }
.route-start { fill: var(--ink); }
.route-end { fill: var(--accent); animation: pulse 2.2s 2s infinite; transform-origin: 495px 76px; }
@keyframes pulse { 50% { transform: scale(1.5); opacity: .55; } }
.route-distance { color: var(--accent); }

.reveal { opacity: 0; transform: translateY(18px); animation: reveal .75s cubic-bezier(.2,.75,.3,1) forwards; }
.hero-copy .reveal:nth-child(1) { animation-delay: .1s; }
.hero-copy .reveal:nth-child(2) { animation-delay: .18s; }
.hero-copy .reveal:nth-child(3) { animation-delay: .3s; }
.hero-copy .reveal:nth-child(4) { animation-delay: .42s; }
.route-card.reveal { animation-delay: .35s; }
@keyframes reveal { to { opacity: 1; transform: translateY(0); } }

.ticker { border-block: 1px solid var(--ink); padding: .95rem var(--page-x); background: var(--ink); color: var(--paper); }
.ticker-track { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 2rem; }
.ticker span { font-size: .66rem; font-weight: 500; letter-spacing: .18em; }
.ticker i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

.section-shell { padding: clamp(6rem, 12vw, 11rem) var(--page-x); }
.section-index { margin: 0; font-size: .67rem; letter-spacing: .12em; font-weight: 600; }
.manifesto { display: grid; grid-template-columns: 1fr 3fr; border-bottom: 1px solid var(--line); }
.manifesto-copy { max-width: 1000px; }
.manifesto h2 {
  margin: 0 0 2.5rem;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 5.8rem);
  line-height: 1.03;
  font-weight: 400;
  letter-spacing: -.045em;
}
.manifesto-copy > p:last-child { max-width: 690px; margin: 0 0 0 auto; font-size: clamp(1rem, 1.45vw, 1.3rem); line-height: 1.7; color: var(--muted); }
[dir="rtl"] .manifesto-copy > p:last-child { margin: 0 auto 0 0; }
.observe { opacity: 0; transform: translateY(26px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.75,.3,1); }
.observe.in-view { opacity: 1; transform: none; }

.section-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; margin-bottom: clamp(4rem, 8vw, 8rem); }
.section-heading .eyebrow { margin-top: 2.6rem; }
.section-heading h2 { margin: 0; max-width: 820px; font-size: clamp(2.2rem, 4.25vw, 4.8rem); line-height: 1.04; letter-spacing: -.055em; font-weight: 400; }
.service-list { border-top: 1px solid var(--ink); }
.service {
  display: grid;
  grid-template-columns: .55fr 1.6fr .8fr;
  gap: 2rem;
  padding: 2.5rem 0 3rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.service::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .35s cubic-bezier(.2,.75,.3,1); z-index: -1; }
.service:hover { color: var(--paper); padding-inline: 1.2rem; transition: color .2s ease, padding .35s ease; }
.service:hover::before { transform: scaleY(1); }
.service-number { font-size: .68rem; font-weight: 600; letter-spacing: .1em; }
.service-number span { display: inline-block; margin-inline-start: .6rem; padding: .2rem .45rem; background: var(--accent); color: white; }
.service h3 { margin: 0 0 1rem; font-family: var(--serif); font-size: clamp(1.85rem, 3vw, 3.3rem); font-weight: 400; line-height: 1; }
.service-content p { max-width: 670px; margin: 0; color: var(--muted); line-height: 1.75; transition: color .2s ease; }
.service:hover .service-content p { color: rgba(242,240,233,.68); }
.service-tags { display: flex; flex-wrap: wrap; align-content: start; justify-content: flex-end; gap: .45rem; }
.service-tags span { border: 1px solid currentColor; border-radius: 99px; padding: .35rem .65rem; font-size: .6rem; text-transform: uppercase; letter-spacing: .08em; opacity: .75; }

.approach { background: var(--ink); color: var(--paper); }
.approach .section-heading { border-bottom: 1px solid rgba(242,240,233,.2); padding-bottom: clamp(4rem, 8vw, 7rem); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.step { min-height: 350px; padding: 1.5rem clamp(1.5rem, 3vw, 3rem); border-inline-start: 1px solid rgba(242,240,233,.2); display: flex; flex-direction: column; }
.step:first-child { border-inline-start: none; padding-inline-start: 0; }
.step:last-child { padding-inline-end: 0; }
.step > span { color: var(--accent); font-size: .66rem; font-weight: 600; letter-spacing: .1em; }
.step h3 { margin: auto 0 0; padding-top: 2.5rem; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 400; line-height: 1.08; }
.step p { margin: 1.2rem 0 0; max-width: 390px; min-height: 5.1em; color: rgba(242,240,233,.62); line-height: 1.7; }

.contact { padding: clamp(6rem, 12vw, 11rem) var(--page-x); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(4rem, 10vw, 11rem); }
.contact-intro h2 { margin: 3.5rem 0 2rem; font-size: clamp(4rem, 7.5vw, 8rem); line-height: .78; font-weight: 500; letter-spacing: -.075em; }
.contact-intro h2 .serif { color: var(--accent); font-family: var(--serif); font-weight: 400; font-style: italic; }
.contact-intro > p:not(.section-index):not(.eyebrow) { max-width: 500px; color: var(--muted); line-height: 1.7; }
.contact-intro .eyebrow { margin-top: 2.6rem; }
.contact-form { border-top: 1px solid var(--ink); }
.contact-form label { display: block; border-bottom: 1px solid var(--line); padding: 1.25rem 0 .9rem; }
.contact-form label > span { display: block; margin-bottom: .4rem; font-size: .64rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.contact-form em { font-weight: 400; text-transform: none; opacity: .55; }
.contact-form input, .contact-form textarea { display: block; width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); padding: .35rem 0; font-size: 1.15rem; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { box-shadow: inset 3px 0 0 var(--accent); padding-inline-start: .8rem; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #aaa79e; }
.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.submit-button { margin-top: 2rem; width: 100%; border: 0; background: var(--accent); color: white; display: flex; justify-content: space-between; align-items: center; padding: 1.15rem 1.3rem; cursor: pointer; font-weight: 600; transition: background .2s ease, transform .2s ease; }
.submit-button:hover { background: var(--ink); transform: translateY(-2px); }
.submit-button:disabled { opacity: .55; cursor: wait; }
.submit-button svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.form-status { min-height: 1.5em; font-size: .78rem; }
.form-status.error { color: #a4210b; }
.form-status.success { color: #277443; }

.site-footer { border-top: 1px solid var(--ink); min-height: 120px; padding: 2rem var(--page-x); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }
.site-footer p:nth-child(2) { justify-self: center; }
.site-footer p:last-child { justify-self: end; }
.footer-brand { font-size: .9rem; text-transform: none; letter-spacing: -.03em; }
.footer-brand .brand-mark { width: 28px; }

[dir="rtl"] .hero-title { letter-spacing: -.055em; }
[dir="rtl"] .hero-title .serif { letter-spacing: -.035em; font-size: .72em; margin-inline-start: 0; }
[dir="rtl"] .route-card { transform: rotate(-1.2deg); }
[dir="rtl"] .route-card:hover { transform: rotate(0); }
[dir="rtl"] .contact-intro h2 { letter-spacing: -.03em; font-size: clamp(3.4rem, 6.4vw, 6.8rem); line-height: .92; }
[dir="rtl"] .contact-form input:focus, [dir="rtl"] .contact-form textarea:focus { box-shadow: inset -3px 0 0 var(--accent); }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-title { font-size: clamp(4rem, 13vw, 8rem); }
  .route-card { width: min(88%, 560px); justify-self: end; }
  .manifesto { grid-template-columns: 1fr 5fr; }
  .service { grid-template-columns: .35fr 1.7fr; }
  .service-tags { grid-column: 2; justify-content: flex-start; }
  .contact { grid-template-columns: 1fr; }
  .contact-intro { max-width: 800px; }
  .contact-form { max-width: 760px; width: 100%; justify-self: end; }
}

@media (max-width: 700px) {
  :root { --page-x: 1.15rem; }
  .site-header { min-height: 74px; grid-template-columns: 1fr auto auto; gap: 1.1rem; }
  .main-nav a:not(.nav-cta) { display: none; }
  .hero { padding-top: 4.5rem; gap: 4rem; }
  .hero-title { font-size: clamp(3.25rem, 15.5vw, 6rem); line-height: .86; }
  .hero-title .serif { margin-inline-start: 0; font-size: .82em; }
  [dir="rtl"] .hero-title .serif { font-size: .82em; }
  .hero-intro { font-size: 1rem; }
  .route-card { width: calc(100% - 1.25rem); padding: .8rem; justify-self: center; transform: none; }
  .section-shell { padding-block: 5.5rem; }
  .manifesto { display: block; }
  .manifesto .section-index { margin-bottom: 4rem; }
  .manifesto h2 { font-size: 2.7rem; }
  .section-heading { grid-template-columns: 1fr; margin-bottom: 4rem; }
  .section-heading .eyebrow { margin-top: 1rem; }
  .section-heading h2 { font-size: 2.6rem; }
  .service { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 2rem; }
  .service-tags { grid-column: auto; }
  .service:hover { padding-inline: .75rem; }
  .steps { grid-template-columns: 1fr; }
  .step, .step:first-child, .step:last-child { min-height: 0; padding: 2.5rem 0; border-inline-start: 0; border-bottom: 1px solid rgba(242,240,233,.2); }
  .step:last-child { border-bottom: 0; padding-bottom: .5rem; }
  .step h3 { padding-top: 1.1rem; }
  .step p { min-height: 0; }
  .contact { padding-block: 5.5rem; }
  .contact-intro h2 { font-size: clamp(4rem, 20vw, 6.5rem); }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .site-footer p:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .observe, .reveal { opacity: 1; transform: none; }
  .brand:hover .brand-shortcut { animation: none; }
  .brand:hover .brand-corner-start,
  .brand:hover .brand-corner-end { transform: none; opacity: .34; }
}
