:root {
  --ink: #17211d;
  --ink-soft: #34433c;
  --paper: #f4f1e9;
  --paper-bright: #fffdf7;
  --blue: #2d63c8;
  --mint: #9fd8c2;
  --ochre: #dfa84b;
  --rose: #bf6a72;
  --line: rgba(23, 33, 29, 0.16);
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  inset-inline-start: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--paper-bright);
  background: var(--blue);
  border-radius: 999px;
  text-decoration: none;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.properties,
.site-footer {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--ink);
  border-radius: 50%;
  font-size: 0.75rem;
  letter-spacing: -0.04em;
}

.language-link {
  padding: 0.48rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 750;
  text-decoration: none;
}

.language-link:hover,
.language-link:focus-visible {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 620px;
  padding: clamp(5rem, 11vw, 9rem) max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.55fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 8rem);
  overflow: hidden;
  color: var(--paper-bright);
  background: var(--ink);
}

.hero-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.7;
  background-image:
    linear-gradient(rgba(159, 216, 194, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 216, 194, 0.09) 1px, transparent 1px),
    radial-gradient(circle at 82% 22%, rgba(45, 99, 200, 0.36), transparent 28rem);
  background-size: 76px 76px, 76px 76px, auto;
  mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
}

.hero-copy {
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--blue);
  font-size: 0.73rem;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--ochre);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1;
  letter-spacing: -0.055em;
}

h1 {
  margin-bottom: 2rem;
  font-size: clamp(3.4rem, 7.4vw, 7rem);
  font-weight: 760;
}

h1 span {
  color: var(--mint);
  font-weight: 540;
}

.hero-copy > p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: #e6e8e2;
  font-size: clamp(1.08rem, 1.7vw, 1.38rem);
}

.hero-key {
  display: grid;
  align-content: end;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-key span {
  padding: 0.85rem 0;
  color: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.properties {
  padding-block: clamp(3rem, 6vw, 5rem);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-weight: 720;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.property {
  min-width: 0;
}

.property + .property {
  border-inline-start: 1px solid var(--line);
}

.property-grid > .property-ai {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  border-inline-start: 0;
}

.property > a {
  position: relative;
  min-height: 430px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  overflow: hidden;
  transition: color 180ms ease, background-color 180ms ease;
}

.property-ai > a {
  min-height: 360px;
}

.property > a::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: var(--accent);
  transform: scaleX(0.24);
  transform-origin: left;
  transition: transform 240ms ease;
}

[dir="rtl"] .property > a::before {
  transform-origin: right;
}

.property > a:hover,
.property > a:focus-visible {
  color: var(--paper-bright);
  background: var(--ink);
  outline: none;
}

.property > a:hover::before,
.property > a:focus-visible::before {
  transform: scaleX(1);
}

.property-etgar {
  --accent: var(--blue);
}

.property-ai {
  --accent: #4f8a69;
}

.property-adi {
  --accent: var(--rose);
}

.property-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.property > a:hover .property-topline,
.property > a:focus-visible .property-topline {
  color: var(--mint);
}

.property-copy {
  margin-block: auto;
}

h3 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.1rem, 3vw, 3.25rem);
  font-weight: 740;
}

.property-copy p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.62;
}

.property > a:hover .property-copy p,
.property > a:focus-visible .property-copy p {
  color: #dfe6df;
}

.property-action {
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 800;
}

.property > a:hover .property-action,
.property > a:focus-visible .property-action {
  border-color: rgba(255, 255, 255, 0.2);
}

.site-footer {
  min-height: 120px;
  padding-block: 1.5rem;
  display: grid;
  grid-template-columns: 0.5fr 1fr 1fr;
  align-items: center;
  gap: 2rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 850;
}

html[lang="he"] body {
  font-family: Arial, "Noto Sans Hebrew", sans-serif;
}

html[lang="he"] .eyebrow,
html[lang="he"] .hero-key span,
html[lang="he"] .property-topline {
  letter-spacing: 0.02em;
}

html[lang="he"] h1,
html[lang="he"] h2,
html[lang="he"] h3 {
  letter-spacing: -0.035em;
}

@media (max-width: 900px) {
  .hero {
    min-height: 600px;
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-key {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-key span {
    border-bottom: 0;
  }

  .property-grid {
    grid-template-columns: 1fr;
  }

  .property-grid > .property-ai {
    grid-column: auto;
  }

  .property + .property {
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }

  .property > a {
    min-height: 370px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .site-header,
  .properties,
  .site-footer {
    width: min(calc(100% - 32px), var(--max));
  }

  .site-header {
    min-height: 76px;
  }

  .hero {
    min-height: 570px;
    padding: 5rem 16px 4rem;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .hero-key {
    grid-template-columns: 1fr;
  }

  .hero-key span {
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .property > a {
    min-height: 410px;
    padding: 1.5rem;
  }

  .site-footer {
    min-height: 0;
    padding-block: 2rem;
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .language-link,
  .skip-link {
    display: none;
  }

  .hero {
    min-height: 0;
    color: var(--ink);
    background: white;
  }

  .hero h1 span,
  .hero-copy > p:last-child {
    color: var(--ink);
  }

  .property-grid {
    display: block;
  }

  .property + .property {
    border-top: 1px solid var(--line);
    border-inline-start: 0;
  }

  .property > a {
    min-height: 0;
  }
}
