:root {
  --bg: #fcf9f4;
  --panel: #f7f1e8;
  --text: #161616;
  --muted: #6f665f;
  --line: rgba(191, 115, 51, 0.24);
  --accent: #b87333;
  --accent-dark: #8f5827;
  --shadow: 0 24px 60px rgba(27, 18, 8, 0.08);
  --radius: 22px;
  --max: 1360px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Lunasima", sans-serif;
}

body h1,body p.eyebrow,.main-nav a{
  
   font-family: "IBM Plex Sans Hebrew", sans-serif;
  font-weight: 700!important;
  letter-spacing: 0.5px!important;

}




a { color: inherit; text-decoration: none; }
img { /*max-width: 100%;*/ display: block; }
button, input, select, textarea {
  font: inherit;
}

.site-shell {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

html[dir="rtl"] {
  direction: rtl;
}

html[dir="rtl"] .site-header,
html[dir="rtl"] .site-footer,
html[dir="rtl"] .section-head,
html[dir="rtl"] .footer-meta {
  direction: rtl;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header {
  padding: 28px 0 20px;
  gap: initial;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: 500px;
  width: 350px;


}

.site-footer .brand {
  background-image: url(assets/web_dojo_logo.png);
  background-size: 390px;
          height: 70px;
            
  background-position: center; 
  background-repeat: no-repeat; 
      margin-top: 15px;
    margin-bottom: 15px;
} 

a.brand img {
position: relative;
    left: -32px;
}

.brand-mark {
  width: 58px;
  height: 58px;
  color: var(--accent);
  flex: 0 0 auto;


width: 400px;

}

.brand-mark  img{
  width: 100%;
    height: 78px;
    object-fit: cover;
    object-position: center;
    left: -45px;
    position: relative;
    top: -15px;
}

html[dir="rtl"] a.brand img {
  left: auto;
  right: -32px;
}

html[dir="rtl"] .brand-mark img {
  left: auto;
  right: -45px;
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-name,
.brand-tag,
.main-nav a,
.eyebrow,
.hero-subcopy,
.project-body p,
.process-number,
.process-grid h3,
.contact-meta,
.button-primary,
.play-link,
.text-link,
.mini-link,
.footer-meta,
.browser-chrome,
label span,
input,
select,
textarea {
 /* font-family: Inter, Arial, Helvetica, sans-serif;*/
}

.brand-name {
  font-size: 1.2rem;
  letter-spacing: 0.36rem;
}

.brand-tag {
  font-size: 0.69rem;
  color: var(--muted);
  letter-spacing: 0.32rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  border-radius: 18px;
  padding: 0;
      margin-top: 6px;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: rgba(184, 115, 51, 0.6);
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.hamburger-line + .hamburger-line {
  margin-top: 6px;
}

.main-nav a {
  text-transform: uppercase;
  font-size: 0.8rem;
      font-size: 1.1rem;
  letter-spacing: 0.18rem;
  position: relative;

  letter-spacing: 0.1rem;
    font-weight: bold;

        color: var(--accent);
            font-weight: normal!important;

}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--accent);
}

html[dir="rtl"] .main-nav a:hover::after,
html[dir="rtl"] .main-nav a:focus-visible::after {
  left: auto;
  right: 0;
}

main  .section-panel{
  width: min(calc(100%   ), var(--max));
}

.section-panel {
  padding: 48px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.035);
   border-top: 2px solid var(--line);
      width: min(calc(100% - 48px), var(--max));
      width: min(calc(100% - 28px ), var(--max));

    margin: 0 auto;

}

.work.section-panel
{
/*margin-top: 48px;*/
border-top: none;
    
    padding-bottom: 0;
}

.hero {
  border-top:none;
  padding-top: 20px;
  display: grid;
  grid-template-columns: 1.04fr 1.22fr;
  /*min-height: 620px;
  min-height: 550px;
*/
   /* background-image: url(assets/main_image.jpg);*/
    background-position: right bottom;
    background-size: 1140px auto;
    background-repeat: no-repeat;
    padding-bottom: 0;

    position: relative;
    z-index: 0;

}

html[dir="rtl"] .hero {
  background-position: left bottom;
}

.hero-copy {
  padding: 80px 42px 80px 12px;
  display: flex;
  flex-direction: column;
  /*justify-content: center;*/
width: 500px;
width: 650px;

  position: relative;
    z-index: 2;
}
/*
.hero-copy::before {
content: "";
    position: absolute;
    left: 182px;
    right: 12px;
    top: 140px;
    
    background: rgba(255, 255, 255, 0.7);
    filter: blur(18px);
    border-radius: 12px;
    pointer-events: none;
    z-index: 0;
    height: 280px;
}
*/
html[dir="rtl"] .hero-copy {
  padding: 80px 12px 80px 42px;
 /* padding: 50px 12px 18vw 42px;*/

}

.eyebrow, .about-copy p.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  

font-size: 0.82rem;
  font-size: 1.1rem;
  letter-spacing: 0.1rem;

  margin: 0 0 18px;
  font-weight: bold;
}

.about-copy p
{
  color: var(--muted);
font-size: 1.1rem;
    line-height: 1.3;
}

.hero h1 {
  font-size: clamp(4rem, 7vw, 6.3rem);
  line-height: 0.96;
  margin: 0 0 28px;
  margin: 0 0 0;
  letter-spacing: -4px!important;
  font-weight: 500!important;
    letter-spacing: -3px!important;
}

.hero-visual img
{
    height: 100%;
    object-fit: cover;
    object-position: center;
    	scale: -1 1;
          position: relative;
    right: -320px;
}

.hero-subcopy {
    max-width: 400px;
    text-transform: uppercase;
letter-spacing: 0.2px;
    line-height: 1.2;
    font-size: 1.65rem;
    color: #302c28;
}

.hero-actions { margin-top: 38px; }

.play-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18rem;
  font-size: 0.88rem;
}

.play-icon,
.circle-link {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  border: 1px solid rgba(184, 115, 51, 0.45);
  display: inline-grid;
  place-items: center;
}

.hero-visual {
 /* position: relative;
  min-height: 620px;
  overflow: hidden;
*/
  /*position: absolute;
    width: 100%;
    right: -250px;*/

        max-height: 620px;
}

html[dir="rtl"] .hero-visual {
  left: -250px;
  right: auto;
}

.hero-scene {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 72%, rgba(184, 115, 51, 0.25), transparent 16%),
    linear-gradient(180deg, rgba(255,255,255,0.52) 0%, rgba(255,255,255,0) 28%),
    linear-gradient(180deg, rgba(22,22,22,0) 0 68%, rgba(22,22,22,0.06) 100%);
}

.sun-disc {
  position: absolute;
  right: 155px;
  bottom: 165px;
  width: 185px;
  height: 185px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f6c699 0%, #d39157 62%, #b87333 100%);
  filter: saturate(0.9);
  box-shadow: 0 0 0 10px rgba(184, 115, 51, 0.04);
}

html[dir="rtl"] .sun-disc {
  left: 155px;
  right: auto;
}

.torii-large {
  position: absolute;
  right: 115px;
  bottom: 140px;
  width: 310px;
  height: 330px;
  color: var(--accent);
}

html[dir="rtl"] .torii-large {
  left: 115px;
  right: auto;
}

.torii-large > div {
  position: absolute;
  background: linear-gradient(180deg, #ca915d 0%, #a86431 100%);
}

.torii-large .top-curve {
  width: 290px;
  height: 26px;
  left: 10px;
  top: 0;
  border-radius: 100px 100px 12px 12px;
  transform: perspective(200px) rotateX(8deg);
}

html[dir="rtl"] .torii-large .top-curve {
  right: 10px;
  left: auto;
}

.torii-large .top-beam {
  width: 250px;
  height: 18px;
  left: 30px;
  top: 28px;
}

html[dir="rtl"] .torii-large .top-beam {
  right: 30px;
  left: auto;
}

.torii-large .mid-beam {
  width: 260px;
  height: 18px;
  left: 25px;
  top: 112px;
}

html[dir="rtl"] .torii-large .mid-beam {
  right: 25px;
  left: auto;
}

.torii-large .pillar {
  width: 24px;
  height: 170px;
  top: 46px;
}

.torii-large .pillar.left { left: 60px; }
.torii-large .pillar.right { right: 60px; }

html[dir="rtl"] .torii-large .pillar.left { right: 60px; left: auto; }
html[dir="rtl"] .torii-large .pillar.right { left: 60px; right: auto; }

.torii-large .foot {
  width: 36px;
  height: 6px;
  top: 216px;
}

.torii-large .foot.left { left: 54px; }
.torii-large .foot.right { right: 54px; }

html[dir="rtl"] .torii-large .foot.left { right: 54px; left: auto; }
html[dir="rtl"] .torii-large .foot.right { left: 54px; right: auto; }

.rock {
  position: absolute;
  bottom: 64px;
  background: radial-gradient(circle at 36% 32%, #61584f 0%, #3f3933 45%, #1c1a17 100%);
  filter: grayscale(0.08);
  opacity: 0.95;
}

.rock-1 { left: 110px; width: 170px; height: 96px; border-radius: 58% 42% 49% 51% / 55% 48% 52% 45%; }
.rock-2 { left: 252px; width: 128px; height: 112px; border-radius: 47% 53% 42% 58% / 51% 39% 61% 49%; }
.rock-3 { right: 66px; width: 118px; height: 104px; border-radius: 54% 46% 55% 45% / 44% 59% 41% 56%; }
.rock-4 { right: 215px; width: 102px; height: 85px; border-radius: 45% 55% 44% 56% / 58% 42% 58% 42%; }

html[dir="rtl"] .rock-1 { right: 110px; left: auto; }
html[dir="rtl"] .rock-2 { right: 252px; left: auto; }
html[dir="rtl"] .rock-3 { left: 66px; right: auto; }
html[dir="rtl"] .rock-4 { left: 215px; right: auto; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  margin-bottom: 0px;

}

.mini-link,
.text-link {
 
     font-family: "IBM Plex Sans Hebrew", sans-serif;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500!important;
  font-size: 0.82rem;

  font-size: 1rem;
    font-weight: normal !important;
}

.project-grid.three-up {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.services {
  /* display: grid; */
  grid-template-columns: 1.14fr 1fr;
  gap: 36px;
  align-items: start;
}

html[dir="rtl"] .services {
  direction: rtl;
}

.services-intro {
  display: grid;
  gap: 24px;
  padding: 40px 38px;
  background: rgba(255,255,255,0.85);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 24px;
}

.services-intro h2 {
  margin: 0;
  font-size: clamp(2.7rem, 4vw, 4rem);
  line-height: 1.02;
}

.services-copy {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.85;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
     
  padding: 32px;
  /*display: grid;*/
  /* gap: 18px; */
  min-height: 300px;
  position: relative;
 
}

.service-card::before
{
    content: "";
    position: absolute;
    left: -12px;
    top: 25%;
    background: var(--line);
    width: 2px;
    height: 50%;
}

.services-grid .service-card:last-child::before
{
    display: none;
}



.service-image {
  width: auto;
  height: 90px;
  object-fit: cover;
  border-radius: 22px;
  display: block;
  background: transparent;
  border: none;
  margin: 0 auto;
}

.about-visual.media-vase {
    background: initial;
    border: none;
}

.about-visual.media-vase .service-image {
    height: auto;
    width: 100%;
    border-radius: initial;
}


.service-card-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.service-card .eyebrow,
.service-card .service-number {
  font-family: Inter, Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16rem;
  color: var(--accent);
  font-size: 0.78rem;
}

.service-card .service-number {
  color: var(--text);
  opacity: 0.65;
}

.service-card h3 {
  margin: 0;
  font-size: clamp(1.75rem, 2vw, 2.3rem);
  line-height: 1.08;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}
/*
.service-card:hover {
  transform: translateY(-5px);
  transition: transform 0.25s ease;
}
 */
.service-card .service-number {
  color: var(--text);
  opacity: 0.55;
}

.service-card h3 {
  text-align: center;
  margin: 0;
  font-size: clamp(1.75rem, 2vw, 2.4rem);
  line-height: 1.08;
}

.service-card p {
  text-align: center;
  margin: 0;
  color: var(--muted);
    line-height: 1.2;
    padding-top: 10px;
    font-family: "Lunasima", sans-serif;
    font-size: 1.1rem;
}
/*
.service-card:hover {
  transform: translateY(-4px);
  transition: transform 0.25s ease;
}
*/
.project-card {
  background: rgba(255,255,255,0.35);
  box-shadow: var(--shadow);
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
}

.project-card--tall .project-media {
  height: 470px;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.45), transparent 30%), linear-gradient(180deg, rgba(245, 239, 229, 0.9), rgba(201, 190, 175, 0.6)), linear-gradient(135deg, #ddd3c6, #f7f2ea);
    position: relative;
}

.project-media,
.case-study-image,
.about-visual {
  background-size: cover;
  background-position: center;
}


 

.project-body {
  position: absolute;
  padding: 22px 22px 24px;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}


.project-media img{
    height: 100%;
    width: 100%;
}

.project-body::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 56px;
  background: rgba(255,255,255,0.7);
  filter: blur(18px);
  border-radius: 12px;
  pointer-events: none;
  z-index: 0;
      height: 140px;
}

.project-body h3,
.case-study-copy h3,
.case-study-preview h3,
.about h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.3rem);
  font-weight: 400;
  line-height: 1.02;
     font-family: "IBM Plex Sans Hebrew", sans-serif;
}

.case-study-copy h3
{
  text-transform: uppercase;
}


.project-body h3 {
  font-size: 3rem;
  margin-bottom: 10px;
      position: relative;
         font-family: "IBM Plex Sans Hebrew", sans-serif;
}

.project-body p,
/*.case-study-copy p,*/
.contact-meta,
.process-grid p,
/*.about p,*/
.contact-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  letter-spacing: 0.03rem;
}

.process-grid p
{

  font-family: Inter, Arial, Helvetica, sans-serif;
}


.case-study-copy p
{
  color: var(--accent);
    font-family: Inter, Arial, Helvetica, sans-serif;
        
}


.heb-body .case-study-copy p,.heb-body .process-grid p
{
font-family: "Lunasima", sans-serif;
        
}

 .heb-body .process-grid p 
 {
  line-height: 1.2;
    letter-spacing: normal;


  color: var(--muted);

    font-size: 1.1rem;


 }

.heb-body .services.section-panel h3,.heb-body .process-grid h3 
{
  font-family: "IBM Plex Sans Hebrew", sans-serif;
}


.case-study-copy p.eyebrow
{
  font-size: 1rem;
}


.project-body p
  {
        color: var(--accent);
            position: relative;
  }

.project-body a
  {
        
            position: relative;
  }  

.case-study {


  margin-top: 36px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0;
  border: 1px solid rgba(0,0,0,0.05);
  background: rgba(255,255,255,0.35);
}

html[dir="rtl"] .case-study {
  direction: rtl;
}

.case-study-image { min-height: 390px; }
.media-mountains {
  background:
    linear-gradient(180deg, rgba(248,242,234,0.2), rgba(35,31,27,0.08)),
    linear-gradient(140deg, #5f5a53 15%, #2c2926 50%, #847462 100%);
 /* clip-path: polygon(0 100%, 0 66%, 14% 42%, 27% 48%, 43% 21%, 53% 8%, 61% 23%, 74% 14%, 85% 42%, 100% 31%, 100% 100%);*/
 position: relative;

background-image: url(assets/large.jpg);
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
}

.media-mountains img {
position: absolute;
    left: 50%;
    top: 10%;
    width: 50%;
    height: 80%;
    object-fit: cover;
    object-position: center;
}

.case-study-preview {
  background: linear-gradient(180deg, #f9f6f1, #f1eadf);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.browser-chrome { display: flex; gap: 8px; }
.browser-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0,0,0,0.14);
}

.browser-body h3 {
  max-width: 420px;
}

.case-study-copy {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
gap: 5px;
}

.circle-link {
  color: var(--accent);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
}

.aboutwrapper {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 32px;
  align-items: center;

     border-bottom: 2px solid var(--line);
     margin-top: 0;
    /* margin-bottom: 48px;*/
    align-items: start;
    padding-bottom: 48px;

    border-bottom: none;
    padding-bottom: 0;
     
}

html[dir="rtl"] .about {
  direction: rtl;
}

.about-copy {
  max-width: 590px;
}

.about h2,
.contact h2 {
  margin-bottom: 20px;
}

.contact h2 {
    margin: 10px 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.18rem;
    font-size: 2.5rem;
    line-height: 50px;
    text-align: center;


    font-weight: 700;
    letter-spacing: normal;
    font-size: 70px;
    line-height: 58px;

}

.about-visual {
  min-height: 360px;
  border: 1px solid rgba(0,0,0,0.04);
  background:
    linear-gradient(150deg, rgba(255,255,255,0.5), rgba(255,255,255,0)),
    linear-gradient(180deg, #ebe1d2, #f8f2e7);
  position: relative;
}
 
 

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.process-grid article {
  padding-top: 22px;
 /* border-top: 2px solid var(--line);*/
  position: relative;
  padding-left: 40px;
}

.process-grid article:before {
 
    content: "";
    border-top: 2px solid var(--line);
    width: 50%;
    position: absolute;
    top: 0px;
  
}



.process-number {
  color: var(--accent);
  font-size: 2rem;
  letter-spacing: 0.06rem;
}

.process-grid h3 {
  margin: 10px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.18rem;
  letter-spacing: 0.1rem;
   letter-spacing: normal; 
  /*font-size: 0.96rem;*/
}

.contact {
  display: grid;
    grid-template-columns: 1fr 1fr;
  gap: 40px;

    align-items: center;
 
}

html[dir="rtl"] .contact {
  direction: rtl;
}

.brand.brand--footer
  {
width: 300px;
  }

.contact-meta {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-row { display: grid; gap: 16px; }
.two-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }

label {
  display: grid;
  gap: 8px;
}

label span {
      font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: normal;
  color: var(--accent);
}

input,
select,
textarea {
  width: 100%;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 14px 16px;
  color: var(--text);
  border-radius: 5px;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(184, 115, 51, 0.8);
  box-shadow: 0 0 0 4px rgba(184,115,51,0.08);
}

.button-primary {
  justify-self: start;
  border: 0;
  background: var(--accent);
  color: #fff;
  padding: 16px 28px;

border-radius: 5px;

  text-transform: uppercase;
  letter-spacing: 0.18rem;
  cursor: pointer;
}

.heb-body .button-primary {
  font-family: "IBM Plex Sans Hebrew", sans-serif;
  font-weight: 700!important;
  letter-spacing: normal;
}

.button-primary:hover {
  background: var(--accent-dark);
}

.site-footer {
  /*border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-top: 2px solid var(--line);*/
  padding: 26px 0 36px;
padding:0;
      width: min(calc(100% - 48px), var(--max));
    margin: 0 auto;

}

textarea
{
  resize:none;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: #8f5827;
  transition: background 0.2s ease, color 0.2s ease;
}

.social-link:hover,
.social-link:focus-visible {
  background: var(--accent);
  color: #fff;
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-link:focus-visible {
  outline: 3px solid rgba(184, 115, 51, 0.35);
  outline-offset: 2px;
}

.footer-contact-form {
  max-width: 520px;
  width: 48%;
  display: grid;
  gap: 12px;
}

.footer-contact-form .form-row.two-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1400px) {

  .case-study-image {
    height: 100%;
    min-height: 290px;
}

.media-mountains img {
width: auto;
}


  html[dir="rtl"] .hero-copy {
    padding: 80px 12px 250px 42px;

  }

  .hero-visual img {

    right: 0;
}


  /*
  .hero-copy {
position: relative;
    top: -70px;
  }
*/


/*
body {
  color: red;
}

.hero {
  min-height: 620px;
}

html[dir="rtl"] .hero-copy {
    padding: 80px 12px 235px 42px;
  
}
*/
body {
  /*color: blue;*/
}
html[dir="rtl"] .hero-visual {
left: -25%;
     
        position: absolute;
        
        height: 100%;
}

/*
.hero-visual img {

    right: -12vw;
            right: -14em;
}
*/

}



@media (max-width: 1150px) {

body {
 /* color: red;*/
}

 

.site-footer .brand {
  background-size: 300px;
          height: 70px;
            
} 

.brand.brand--footer {
    width: 232px;
}


}



 
@media (max-width: 1100px) {



 

 /* .hero,*/
  .about,
  .contact,
  .case-study {
    grid-template-columns: 1fr;
  }

  /*
  .hero-copy::before {
content: "";
    position: absolute;
    left: 182px;
    right: 12px;
    top: 140px;
    
    background: rgba(255, 255, 255, 0.7);
    filter: blur(18px);
    border-radius: 12px;
    pointer-events: none;
    z-index: 0;
    height: 280px;
}
*/
  .hero {
    background: transparent;
  }

  .hero-copy,
  .hero-visual {
    min-height: auto;
  }

  .hero-copy { padding: 40px 0 24px; }
  /*.hero-visual { min-height: 520px; }*/
  .case-study-copy { padding-top: 24px; }
}

@media (max-width: 1000px) {


      .hero-visual img {
        right: 90px;
    }

    .aboutwrapper {
    display: grid;
    grid-template-columns: 1fr;
    }

    .about-copy {
    max-width: initial;
    }

        .aboutwrapper {
        display: flex;
        flex-direction: column-reverse;
    }
 
.about-visual {
  width: 100%;
}


}


@media (max-width: 860px) {

  .service-card::before {
display: none;
  }

  .case-study-image {
        min-height: 240px;
    }

  .hero-visual img {
      right: auto;
  }

      .hero-copy {
           top: auto;
    }
 

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

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

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

.brand.brand--footer {
    width: 230px;
}
html[dir="rtl"] a.brand img
 {
    right: -24px;
}


      body {
       /* color: green;*/
    }

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

  html[dir="rtl"] .hero-visual
    {
      position:initial;
    }

    html[dir="rtl"] .hero-copy {
        padding-bottom:0;
        text-align: center;
    }

    .hero-visual img {
    height: auto;
    width: 100%;
    }

    .hero-subcopy {
      margin:0;
    }

    .hero-actions {
    margin-top: 0px;
}

    .hero-copy {
        width: auto;
    }

  .footer-contact-form {
    width: 100%;
    margin-top: 18px;
  }
  .footer-meta {
   /* width: 100%;*/
    order: 1;
  }  

  .site-shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-header,
  .site-footer,
  .section-head,
  .footer-meta {
    flex-wrap: wrap;
  }

  .site-header {
    align-items: flex-start;
    gap: 16px;
    position: relative;
  }

  .main-nav {
    width: 100%;
    gap: 16px;
    justify-content: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    padding: 18px 20px;
    margin-top: 14px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 18px;
    box-shadow: var(--shadow);
    z-index: 2;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    font-size: 0.85rem;
    text-transform: uppercase;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .section-head {
   /* flex-direction: column;*/
    align-items: flex-start;
  }

  .project-grid.three-up,
  .services-grid,
  .process-grid,
  .two-col,
  .case-study,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .project-card--tall .project-media {
    height: 380px;
  }

  .hero h1,
  .project-body h3,
  .case-study-copy h3,
  .about h2,
  .contact h2 {
    line-height: 1.06;
  }

  .hero {
    padding-top: 0;
  }

  .hero-copy {
    padding: 32px 0 24px;
  }

  .hero-visual {
  /*  min-height: 420px;*/
  }

  .case-study-copy,
  .case-study-preview {
    padding: 28px;
  }
}

@media (max-width: 640px) {

    .case-study-image {
        min-height: 200px;
    }

  html[dir="rtl"] .site-header
  {
    display: block;
    text-align: center;
  }

  html[dir="rtl"] .nav-toggle
  {
            position: absolute;
        left: 0;
  }

  html[dir="rtl"] .hero-copy
  {
        text-align: center;
    padding-left: 0;
    padding-right: 0;
  }

html[dir="rtl"]  .work.section-panel .section-head
{
  justify-content: space-between;
}

html[dir="rtl"] a.brand img
{
      right: initial;
}
  
  .site-shell {
    width: calc(100% - 24px);
  }


  .site-header,
  .site-footer,
  .section-head,
  .footer-meta {
    justify-content: flex-start;
  }

  .site-footer
  {
    justify-content: space-between;
         gap: initial;
  }    
     

      .site-header {
justify-content: space-between;
    }

    .brand {
      width: 260px;
    }

    .brand-mark {
    width: 260px;
}

.brand-mark img {
      height: 100px;
        left: -13px;
        top: -23px;
       
}
/*
html[dir="rtl"] a.brand img {
right: inherit;
}
*/
html[dir="rtl"] .hero-visual {
    left: -200px;
    right: auto;
}

  .brand {
    gap: 12px;
  }

  .main-nav {
    gap: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

    .hero-copy {
  /*  width: 60%;*/
  margin-bottom: 10px;
  }

  .hero-copy {
    padding: 24px 0;
  }

  .hero h1 {
    font-size: clamp(3rem, 12vw, 3.2rem);
  }

  .hero-subcopy {
    max-width: 100%;
  }

  .hero-visual {
   /* min-height: 320px;*/
  }

  .project-card--tall .project-media {
    height: 260px;
  }

  .browser-body h3 {
    max-width: 100%;
  }

  .case-study {
    gap: 16px;
  }

  .about,
  .contact {
    gap: 24px;
  }

  .contact-form {
    gap: 12px;
  }

  .form-row {
    gap: 12px;
  }

  input,
  select,
  textarea {
    padding: 12px 14px;
  }
}


@media (max-width: 540px) {

     .case-study-image {
        min-height: 180px;
    }

  .site-footer span
  {
    display: none;
  }

    .brand.brand--footer {
        width: 170px;
    }

        .site-footer .brand {
background-size: 220px;
        height: 50px;
    }


    html[dir="rtl"] .hero-visual {
        left: -160px;
    }
        .hero h1 {
        font-size: 40px;
        letter-spacing: -2px !important;
    }

    .hero-subcopy {
    line-height: normal;
    font-size: 24px;
}

}


@media (max-width: 540px) {

     .case-study-image {
        min-height: 160px;
    }
  }




.fa {
    display: inline-block;
  
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fa-bars:before {
    content: "\f0c9";
}

 

.heb-body
{
        font-family: "Lunasima", sans-serif;
        		    background-image: url(assets/japanese_bg_alpha.png);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 100%;
}

.heb-body .media-mountains img
{
  left: initial;
    right: 50%;     
}

.case-study.section-card
{
  margin-top: 0px;
}

#case-study
{
  border-top: 1px solid transparent;
    position: relative;
    top: -2px;
}

.brand.brand--footer img
{
  width: 100%;
}


.header1
{
    font-size: clamp(4rem, 7vw, 6.3rem) !important;
    line-height: 0.96 !important;
    margin: 0 0 28px !important;
    margin: 0 0 0 !important;
    letter-spacing: -4px !important;
    font-weight: 500 !important;
    letter-spacing: -3px !important;
}

.header2 {
max-width: initial;
    text-transform: uppercase;
    letter-spacing: -0.5px !important;
    line-height: 1.2;
    font-size: 1.85rem !important;
    color: #302c28;
    font-weight: normal;
    font-family: "Lunasima", sans-serif !important;
        margin-top: 10px;
}

.header3
{
    font-size: clamp(4rem, 7vw, 5.3rem) !important;
    line-height: 0.96 !important;
    margin: 0 0 28px !important;
    margin: 0 0 0 !important;
    letter-spacing: -4px !important;
    font-weight: 500 !important;
    letter-spacing: -3px !important;
}


body p.eyebrow,.about-copy p.eyebrow
{
  font-size: 1.7rem;
    font-weight: normal !important;
}


.about.section-panel
{
  width: 100%;
      margin-top: 48px;
}
/*
.services.section-panel
{
      border-top: none;
    padding-top: 0;
}
*/
 

.about-copy p:first-child
{
  margin-top: 0;
} 


.descriptor
{
  margin-top: 0;
}

.section-head.portfolio-head
{
      border-top: 2px solid var(--line);
    margin-top: 48px;
    padding-top: 48px;
}
