@font-face{ font-family:'Pil Kahol'; src:url('fonts/FtPilKahol2.woff2') format('woff2'), url('fonts/FtPilKahol2.ttf') format('truetype'); font-weight:400; font-style:normal; font-display:swap; }
:root{
  --ink:#1c1a17;
  --paper:#faf8f5;
  --line:#d8d3cb;
  --muted:#8a8377;
  /* Helvetica Now / Metropolitser Heb / NarkisBlockMF / Lovely May Font Duo
     are commercial fonts, not available on a free CDN. Close free stand-ins
     are used below until the licensed font files can be embedded via @font-face. */
  --font-en:'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-he-heading:'Rubik', sans-serif;
  --font-he-body:'Heebo', sans-serif;
  /* logotype font: closest free match to the supplied "one.54" mark
     (thin geometric sans with fully circular o/e) */
  --font-logo:'Poppins', sans-serif;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth; scroll-padding-top:70px;}
body{
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font-he-body);
  font-weight:300;
  line-height:1.7;
}
h1,h2,h3{
  font-family:var(--font-he-heading);
  font-weight:500;
  letter-spacing:0.01em;
}
h2.latin, h1.latin, .logo, .latin{
  font-family:var(--font-en);
  letter-spacing:0.06em;
}
.logo, .logo-hero{
  font-family:var(--font-logo);
  font-weight:300;
  text-transform:lowercase;
}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
button{ font-family:inherit; }

/* header */
header{
  position:fixed; top:0; right:0; left:0; z-index:50;
  display:flex; justify-content:space-between; align-items:center;
  padding:22px 6vw;
  background:transparent;
  border-bottom:1px solid var(--line);
  transition:background-color .3s ease;
}
header.scrolled{
  background:var(--paper);
}
.section-divider{
  max-width:1300px;
  margin:0 auto;
  border:none;
  border-top:1px solid var(--line);
}
.logo{ font-size:1.15rem; letter-spacing:0.14em; }
.logo-link{ display:block; }
.logo-img{ height:22px; width:auto; display:block; }
nav{display:flex; gap:34px; font-size:0.92rem; color:var(--muted); font-family:var(--font-he-body);}
nav a:hover{ color:var(--ink); }

/* hero */
.hero{
  display:flex; flex-direction:column; justify-content:center; align-items:center;
  text-align:center;
  padding:150px 8vw 20px;
}
.logo-hero{
  font-size:clamp(2.6rem, 7vw, 4.4rem);
  letter-spacing:0.16em;
  line-height:1;
  margin-bottom:0;
}
.byline{
  font-size:clamp(0.85rem, 1.6vw, 1.05rem);
  letter-spacing:0.22em;
  line-height:1.2;
  color:var(--muted);
  margin-top:10px;
  margin-bottom:26px;
}
.hero-sub{
  font-size:1.05rem;
  color:var(--muted);
  letter-spacing:0.03em;
}
.logo-hero-img{
  width:min(30vw, 230px);
  height:auto;
  margin-bottom:22px;
}

section{ padding:70px 8vw; }
#about{ padding-top:76px; }
.section-title{
  font-size:0.85rem;
  letter-spacing:0.25em;
  color:var(--muted);
  text-transform:uppercase;
  margin-bottom:60px;
  text-align:center;
  font-family:var(--font-he-body);
}
.section-title.latin{ font-family:var(--font-en); letter-spacing:0.28em; }
.section-title.big{
  font-size:clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing:0.02em;
  text-transform:none;
  color:var(--ink);
  font-family:var(--font-he-heading);
  font-weight:500;
  margin-bottom:50px;
}

/* about */
.about-grid{
  max-width:1080px;
  margin:0 auto;
  display:grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap:38px;
  align-items:stretch;
}
.about-photo{ height:100%; overflow:visible; position:relative; }
.about-photo img{ position:absolute; inset:0; width:100%; height:100%; object-fit:contain; object-position:0% 0%; display:block; }
.about-photo .photo-mobile{ display:none; }
.about-text{ display:flex; flex-direction:column; height:100%; }
.about-text h2{ font-size:clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom:32px; margin-top:0; }
.about-text p{ font-size:1.05rem; color:#3a362f; margin-bottom:20px; text-align:justify; text-align-last:right; }
.about-text p:last-child{ margin-bottom:0; }
@media (max-width: 760px){
  .about-grid{ grid-template-columns:0.8fr 1.2fr; gap:16px; align-items:stretch; }
  .about-photo{ height:100%; }
  .about-photo .photo-desktop{ display:none; }
  .about-photo .photo-mobile{ display:block; position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:78% center; }
  .about-text h2{ font-size:1.4rem; margin-bottom:16px; }
  .about-text p{ font-size:0.86rem; line-height:1.65; margin-bottom:12px; }
}

/* home tiles */
.tiles{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  max-width:1300px;
  margin:0 auto;
}
@media (max-width:760px){ .tiles{ grid-template-columns:1fr; } }

.tile{
  position:relative;
  display:block;
  aspect-ratio: 4 / 3;
  overflow:hidden;
  background:#111;
}
.tile img{
  width:100%; height:100%; object-fit:cover; display:block;
  transition:transform .7s ease;
}
.tile.tile-amuda img{ object-position:100% 0%; }
.tile.tile-jusa img{ object-position:0% 50%; }
.tile.tile-fugue img{ object-position:50% 40%; }

#work .tiles{ grid-template-columns:repeat(2, 1fr); max-width:1100px; margin-left:auto; margin-right:auto; }   /* four projects: 2 + 2 */
@media (max-width:980px){ #work .tiles{ grid-template-columns:1fr 1fr; } }
@media (max-width:760px){ #work .tiles{ grid-template-columns:1fr; } }
.tile::after{
  content:'';
  position:absolute; inset:0;
  background:rgba(18,16,14,0);
  transition:background .45s ease;
}
.tile:hover::after{ background:rgba(18,16,14,0.58); }
.tile:hover img{ transform:scale(1.045); }
.tile-caption{
  position:absolute; inset:0;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:10px;
  color:#f6f3ee;
  opacity:0;
  transition:opacity .45s ease;
  text-align:center;
  padding:20px;
}
.tile:hover .tile-caption{ opacity:1; }
.tile-caption .t-title{
  font-family:var(--font-en);
  font-size:clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing:0.1em;
}
.tile-caption .t-sub{
  font-family:var(--font-he-body);
  font-size:0.95rem;
  letter-spacing:0.02em;
}

/* detail page header */
.detail-hero{ padding:150px 8vw 10px; max-width:900px; margin:0 auto; text-align:center; }
.detail-hero .project-logo-img{ height:44px; width:auto; margin:0 auto 22px; }
.detail-hero h1{ font-size:clamp(2rem, 4.4vw, 2.9rem); font-weight:600; margin-bottom:22px; }
.detail-hero .detail-subtitle{
  display:inline-block;
  font-size:1.02rem;
  color:var(--ink);
  border-bottom:1px solid var(--ink);
  padding-bottom:5px;
  font-family:var(--font-he-body);
}

.detail-paragraph{
  max-width:920px;
  margin:30px auto 0;
  font-size:1.08rem;
  line-height:1.9;
  color:#3a362f;
  padding:0 8vw;
  text-align:justify;
  text-align-last:right;
}

.materials{
  max-width:1100px;
  margin:90px auto 0;
  display:flex;
  flex-direction:column;
  gap:26px;
  padding:0 8vw;
}
.materials img, .materials video{
  width:100%;
  height:auto;
  display:block;
  background:#000;
}
.materials button.cell{ all:unset; display:block; cursor:pointer; width:100%; }
.materials .ratio-43{ aspect-ratio:4/3; object-fit:contain; background:var(--paper); }

/* also-like bar */
.also-like{
  margin-top:150px;
  border-top:1px solid var(--line);
  padding:80px 8vw 0;
  text-align:center;
}
.also-like .section-title{ margin-bottom:40px; }
.also-like .tiles{ max-width:900px; grid-template-columns:1fr 1fr; }

/* mood board */
#moodboard{ max-width:1640px; margin:0 auto; padding:104px 2.5vw 80px; }
.mb-h{ text-align:center; font-family:var(--font-en); font-weight:300; font-size:clamp(1.4rem,2.8vw,2rem); letter-spacing:0.32em; padding-inline-start:0.32em; margin-bottom:12px; }
.mb-l1{ text-align:center; font-size:1rem; color:var(--ink); margin-bottom:2px; line-height:1.5; }
.mb-l2{ text-align:center; font-size:0.88rem; color:var(--muted); margin-bottom:22px; line-height:1.5; }
.mb-bar-r{ display:flex; align-items:center; gap:18px; }
.mb-btn.line{ background:transparent; color:var(--ink); border:1px solid var(--ink); padding:11px 26px; }
.mb-btn.line:hover{ background:var(--ink); color:var(--paper); opacity:1; }
.mb-two{ display:flex; gap:12px; }
.mb-two .mb-btn{ flex:1; text-align:center; }
.mb-toast{ min-height:22px; margin-top:10px; text-align:center; font-size:0.88rem; color:var(--muted); opacity:0; transition:opacity .3s; }
.mb-toast.on{ opacity:1; }
.mb-intro{ text-align:center; color:var(--muted); max-width:560px; margin:-24px auto 40px; font-size:1rem; }
.mb-types{ display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:14px; margin:0 auto 22px; }
.mb-types-label{ font-size:0.95rem; color:var(--muted); }
.mb-types-chips{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
.mb-type{
  all:unset; cursor:pointer; box-sizing:border-box; padding:6px 20px; border:1px solid var(--line);
  border-radius:30px; font-size:0.9rem; transition:all .2s;
}
.mb-type:hover{ border-color:var(--ink); }
.mb-type.on{ background:var(--ink); color:var(--paper); border-color:var(--ink); }
.mb-other{
  padding:9px 16px; border:1px solid var(--line); background:#fff; font:inherit; font-size:0.92rem;
  color:var(--ink); border-radius:0; width:190px; text-align:right;
}
.mb-other[hidden]{ display:none; }
.mb-other:focus{ outline:none; border-color:var(--ink); }
.mb-app{ display:grid; grid-template-columns:340px 1fr; gap:22px; align-items:start; }
.mb-lib{ border:1px solid var(--line); background:#fdfbf6; display:flex; flex-direction:column; height:560px; min-height:0; }
.mb-tabs{ display:flex; border-bottom:1px solid var(--line); flex-shrink:0; overflow-x:auto; scrollbar-width:thin; }
.mb-tab{
  all:unset; cursor:pointer; flex:1 1 0; text-align:center; padding:13px 2px; font-size:0.88rem; font-weight:500; white-space:nowrap;
  color:var(--muted); border-bottom:2px solid transparent; box-sizing:border-box;
}
.mb-tab.on{ color:var(--ink); border-bottom-color:var(--ink); }
.mb-grid{ padding:10px; overflow-y:auto; display:grid; grid-template-columns:repeat(3,1fr); gap:8px; align-content:start; flex:1; }
.mb-sub{ display:flex; gap:6px; overflow-x:auto; padding:9px 10px; border-bottom:1px solid var(--line); flex-shrink:0; scrollbar-width:thin; }
.mb-sub[hidden]{ display:none; }
.mb-subchip{ all:unset; cursor:pointer; flex:0 0 auto; padding:3px 12px; font-size:0.78rem; border:1px solid var(--line); border-radius:20px; white-space:nowrap; color:var(--muted); box-sizing:border-box; }
.mb-subchip:hover{ border-color:var(--ink); color:var(--ink); }
.mb-subchip.on{ background:var(--ink); color:var(--paper); border-color:var(--ink); }
.mb-note.soon{ text-align:center; padding:40px 10px; font-size:0.9rem; }
.mb-grid.sections{ display:block; padding:6px 12px 14px; }
.mb-upload{ all:unset; cursor:pointer; box-sizing:border-box; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; width:100%; margin-top:8px; padding:24px 10px; border:1.5px dashed #bdb7ab; text-align:center; color:var(--muted); font-size:0.9rem; transition:all .2s; }
.mb-upload b{ font-size:1.7rem; font-weight:300; line-height:1; color:var(--ink); }
.mb-upload small{ font-size:0.72rem; }
.mb-upload:hover{ border-color:var(--ink); color:var(--ink); }
.mb-sec{ font-size:0.78rem; font-weight:500; letter-spacing:0.04em; color:var(--muted); margin:16px 0 8px; padding-bottom:5px; border-bottom:1px solid var(--line); }
.mb-sec:first-child{ margin-top:8px; }
.mb-secgrid{ display:grid; gap:7px; }
.mb-note{ grid-column:1/-1; font-size:0.72rem; color:var(--muted); line-height:1.5; margin-top:6px; }
.mb-grid.wide{ grid-template-columns:repeat(2,1fr); }
.mb-it{
  all:unset; cursor:grab; -webkit-user-drag:element; user-select:none; display:block; aspect-ratio:1/1; overflow:hidden; box-sizing:border-box;
  border:1px solid rgba(0,0,0,.08); position:relative; touch-action:manipulation;
}
.mb-it img{ width:100%; height:100%; object-fit:cover; pointer-events:none; }
.mb-it.prod{ background:#fff; }
.mb-it.prod img{ object-fit:contain; padding:4px; box-sizing:border-box; }
.mb-it:hover{ border-color:var(--ink); }
.mb-grid.wide .mb-it{ aspect-ratio:4/3; }

.mb-canvas{
  --pad:9px;
  position:relative; width:100%; aspect-ratio:3/2; overflow:hidden; direction:ltr;
  touch-action:pan-y; user-select:none; -webkit-user-select:none;
  background:none;
}
.mb-board{ border:1px solid var(--line); box-shadow:0 30px 60px -34px rgba(40,30,20,.35);
  background-color:#e7e4df;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .35  0 0 0 0 .32  0 0 0 0 .28  0 0 0 .13 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.45), transparent 62%);
}
.mb-canvas{ border:0 !important; box-shadow:none !important; }
.mb-foot{ display:flex; align-items:center; justify-content:space-between; direction:ltr; padding:4px 20px 12px; background:transparent; }
.mb-foot img{ height:15px; width:auto; display:block; opacity:.8; }
.mb-foot span{ font:300 9px/1 'Poppins',Helvetica,Arial,sans-serif; letter-spacing:.38em; color:rgba(28,26,23,.5); }
.mb-hint{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center; text-align:center;
  color:#8f887c; font-size:0.95rem; letter-spacing:0.02em; pointer-events:none; direction:rtl; padding:20px; z-index:0;
}
.mb-item{ position:absolute; cursor:move; touch-action:none; transform-origin:50% 50%; }
.mb-item .fr{
  position:relative; background:#fbfaf6; padding:var(--pad) var(--pad) 0;
  box-shadow:0 18px 30px -14px rgba(40,30,20,.4), 0 2px 5px rgba(40,30,20,.14);
}
.mb-item img{ width:100%; display:block; pointer-events:none; -webkit-user-drag:none; }
.mb-item.ttl .tt{ font-family:'Pil Kahol','Amatic SC','Gveret Levin',cursive; font-weight:400; color:#14235c; line-height:1.2; white-space:nowrap; direction:rtl; text-align:right; width:100%; pointer-events:none; }
.mb-item.ttl.sel .tt{ outline:1px dashed rgba(28,26,23,.55); outline-offset:6px; }
.mb-item .sw{ width:100%; aspect-ratio:1/1; box-shadow:inset 0 0 0 1px rgba(0,0,0,.07); }
.pal{ display:flex; width:100%; height:100%; }
.pal i{ flex:1; display:block; }
.mb-item .sw.pal{ aspect-ratio:1/1; height:auto; }
.mb-item .cap{
  display:block; height:calc(var(--pad)*2.8); line-height:calc(var(--pad)*2.8); text-align:center; direction:rtl;
  font-size:calc(var(--pad)*0.95); color:rgba(28,26,23,.6); white-space:nowrap; overflow:hidden;
}
.mb-item.prod .fr{ background:none; padding:0; box-shadow:none; }
.mb-item.prod .cap, .mb-item.prod .sheet, .mb-item.prod .tape{ display:none !important; }
.mb-item.prod img{ filter:drop-shadow(0 14px 12px rgba(40,30,20,.34)); }
.mb-item .sheet{
  position:absolute; inset:0; background:#f1ede3; display:none;
  box-shadow:0 8px 16px -8px rgba(40,30,20,.4);
}
.mb-item .s1{ transform:translate(calc(var(--pad)*.5), calc(var(--pad)*.4)) rotate(2.2deg); }
.mb-item .s2{ transform:translate(calc(var(--pad)*-.5), calc(var(--pad)*-.4)) rotate(-1.8deg); }
.mb-item[data-stack="1"] .s1, .mb-item[data-stack="2"] .s1, .mb-item[data-stack="2"] .s2{ display:block; }
.mb-item .tape{
  display:none; position:absolute; top:0; left:50%; width:34%; height:calc(var(--pad)*2);
  background:rgba(232,222,182,.66); box-shadow:0 1px 2px rgba(40,30,20,.12);
  transform:translate(-50%,-50%) rotate(var(--ta,0deg)); pointer-events:none;
}
.mb-item[data-deco="1"] .tape{ display:block; }
.mb-item .dpin, .mb-item .dclip, .mb-item .dcor{ display:none; position:absolute; pointer-events:none; }
.mb-item .dpin{ top:calc(var(--pad)*-.7); left:50%; width:calc(var(--pad)*1.9); height:calc(var(--pad)*1.9); margin-left:calc(var(--pad)*-.95); border-radius:50%;
  background:radial-gradient(circle at 35% 30%,#f3b9a8,#c4553d 60%,#8d3524); box-shadow:0 3px 4px rgba(0,0,0,.35); }
.mb-item .dclip{ top:calc(var(--pad)*-1.8); left:calc(22% - var(--pad)); width:calc(var(--pad)*2); height:calc(var(--pad)*5);
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 50'><path d='M6 14 V38 a4 4 0 0 0 8 0 V10 a7 7 0 0 0 -14 0 V40 a10 10 0 0 0 20 0 V16' fill='none' stroke='%238a8680' stroke-width='2.2' stroke-linecap='round'/></svg>") center/100% 100% no-repeat; }
.mb-item .dcor{ inset:0; }
.mb-item .dcor::before, .mb-item .dcor::after{ content:''; position:absolute; width:calc(var(--pad)*3.2); height:calc(var(--pad)*3.2); background:#3a3631; }
.mb-item .dcor::before{ top:0; left:0; clip-path:polygon(0 0,100% 0,0 100%); }
.mb-item .dcor::after{ bottom:0; right:0; clip-path:polygon(100% 100%,0 100%,100% 0); }
.mb-item[data-deco="2"] .dpin, .mb-item[data-deco="3"] .dclip, .mb-item[data-deco="4"] .dcor{ display:block; }
.mb-item.prod .tape, .mb-item.prod .dpin, .mb-item.prod .dclip, .mb-item.prod .dcor{ display:none !important; }
.mb-item.sel .fr{ outline:1px solid var(--ink); outline-offset:3px; }
.mb-item .rm, .mb-item .rs, .mb-item .rt{ display:none; position:absolute; width:22px; height:22px; background:var(--ink); color:var(--paper); z-index:2; }
.mb-item.sel .rm, .mb-item.sel .rs, .mb-item.sel .rt{ display:block; }
.mb-item .rm{ top:-12px; right:-12px; border-radius:50%; font-size:14px; line-height:22px; text-align:center; cursor:pointer; }
.mb-item .rt{ bottom:-12px; right:-12px; border-radius:50%; font-size:13px; line-height:22px; text-align:center; cursor:grab; }
.mb-item .rs{ top:-12px; left:-12px; border-radius:50%; cursor:nwse-resize; }
.mb-bar{ display:flex; justify-content:space-between; align-items:center; margin-top:14px; }
.mb-btn{
  all:unset; cursor:pointer; box-sizing:border-box; padding:12px 28px; background:var(--ink); color:var(--paper);
  font-size:0.95rem; transition:opacity .2s;
}
.mb-btn:hover{ opacity:.85; }
.mb-btn.ghost{ background:transparent; color:var(--muted); border-bottom:1px solid var(--line); padding:4px 0; }
.mb-btn[disabled]{ opacity:.5; cursor:default; }

.mb-modal{
  position:fixed; inset:0; z-index:200; background:rgba(18,16,14,.55);
  display:flex; align-items:center; justify-content:center; padding:20px;
}
.mb-modal[hidden]{ display:none; }
.mb-modal-box{ position:relative; background:var(--paper); width:min(420px,100%); padding:34px 30px 28px; text-align:right; }
.mb-modal-box h3{ font-size:1.3rem; margin-bottom:20px; }
.mb-modal-box p{ color:var(--muted); font-size:0.95rem; margin-bottom:20px; }
.mb-x{ all:unset; cursor:pointer; position:absolute; top:10px; left:16px; font-size:1.6rem; color:var(--muted); }
.mb-hp{ position:absolute !important; left:-9999px; margin:0 !important; }
#mbForm label{ display:block; font-size:0.88rem; margin-bottom:6px; }
#mbForm input[type=text], #mbForm input[type=tel]{
  width:100%; padding:12px 14px; border:1px solid var(--line); background:#fff; font:inherit;
  color:var(--ink); border-radius:0; margin-bottom:16px; text-align:right;
}
#mbForm input[type=tel]{ direction:ltr; }
#mbForm input:focus{ outline:none; border-color:var(--ink); }
.mb-msg{ min-height:22px; margin-top:12px; font-size:0.9rem; color:var(--muted); }
.mb-msg.ok{ color:#2f5d3a; }
.mb-msg.err{ color:#9c3a2e; }

@media (max-width:900px){
  .mb-app{ grid-template-columns:1fr; }
  .mb-lib{ height:auto; order:2; }
  .mb-grid{ max-height:300px; grid-template-columns:repeat(4,1fr); }
  .mb-grid.wide{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:760px){
  #moodboard{ padding:96px 3vw 60px; }
  .mb-canvas{ aspect-ratio:4/5; }                       /* taller board on a phone */
  .mb-bar{ flex-direction:column-reverse; align-items:stretch; gap:10px; }
  .mb-bar-r{ gap:8px; flex-wrap:wrap; justify-content:center; }
  .mb-bar .mb-btn{ padding:11px 16px; font-size:0.88rem; flex:1 1 auto; text-align:center; }
  .mb-grid{ max-height:44vh; }
  .mb-lib{ margin-top:6px; }
  .mb-type{ padding:8px 14px; }
}
@media (pointer:coarse){                                 /* touch: bigger handles */
  .mb-item .rm, .mb-item .rs, .mb-item .rt{ width:32px; height:32px; }
  .mb-item .rm{ top:-16px; right:-16px; line-height:32px; font-size:18px; }
  .mb-item .rt{ bottom:-16px; right:-16px; line-height:32px; }
  .mb-item .rs{ top:-16px; left:-16px; }
}

/* contact */
#contact{ text-align:center; padding-bottom:150px; }
#contact h2{ font-size:clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom:30px; }
.contact-links{ display:flex; flex-direction:column; gap:14px; align-items:center; font-size:1.05rem; }
.contact-links a{ border-bottom:1px solid var(--line); padding-bottom:2px; transition:border-color .25s; }
.contact-links a:hover{ border-color:var(--ink); }

.contact-icons{
  display:flex; justify-content:center; align-items:center; gap:26px;
}
.contact-icons a{
  width:48px; height:48px;
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--line);
  border-radius:50%;
  color:var(--ink);
  transition:border-color .25s, background-color .25s, color .25s;
}
.contact-icons a:hover{
  border-color:var(--ink);
  background:var(--ink);
  color:var(--paper);
}
.contact-icons svg{
  width:20px; height:20px;
  fill:currentColor;
}

footer{
  text-align:center; padding:34px 8vw; border-top:1px solid var(--line);
  color:var(--muted); font-size:0.8rem; letter-spacing:0.06em;
}

/* scroll reveal */
.reveal{
  opacity:0;
  transform:translateY(26px);
  transition:opacity 1s cubic-bezier(.16,.8,.24,1), transform 1s cubic-bezier(.16,.8,.24,1);
}
.reveal.is-visible{
  opacity:1;
  transform:translateY(0);
}
.tiles .tile.reveal:nth-child(2){ transition-delay:.08s; }
.tiles .tile.reveal:nth-child(3){ transition-delay:.16s; }
.materials > *.reveal:nth-child(2){ transition-delay:.06s; }
.materials > *.reveal:nth-child(3){ transition-delay:.12s; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
}

/* lightbox */
.lightbox{
  position:fixed; inset:0; background:rgba(18,16,14,0.95);
  display:none; align-items:center; justify-content:center;
  z-index:300; padding:6vh 6vw;
}
.lightbox.open{ display:flex; }
.lightbox img{ max-width:100%; max-height:100%; object-fit:contain; }
.lightbox-close{
  all:unset; position:fixed; top:26px; left:26px; cursor:pointer;
  color:#f4f1ec; font-size:2rem; line-height:1; font-family:var(--font-en);
}

/* ===== mobile ===== */
@media (max-width:760px){
  header{ padding:16px 6vw; }
  .logo{ font-size:1rem; }
  .logo-img{ height:17px; }
  nav{ gap:13px; font-size:0.76rem; }

  .hero{ padding:120px 6vw 16px; }
  .logo-hero{ font-size:2.4rem; letter-spacing:0.1em; }
  .logo-hero-img{ width:42vw; margin-bottom:16px; }
  .byline{ font-size:0.78rem; letter-spacing:0.16em; }
  .hero-sub{ font-size:0.92rem; }

  section{ padding:50px 6vw; }
  #about{ padding-top:40px; }
  .section-title{ margin-bottom:36px; }
  .section-title.big{ font-size:1.4rem; margin-bottom:32px; }

  .tile::after{ transition:background .6s ease; }
  .tile.in-view::after{ background:rgba(18,16,14,0.58); }
  .tile-caption{ transition:opacity .6s ease; }
  .tile.in-view .tile-caption{ opacity:1; }

  .detail-hero{ padding:120px 6vw 8px; }
  .detail-hero .project-logo-img{ height:32px; }
  .detail-paragraph{ margin-top:18px; padding:0 6vw; font-size:1rem; }
  .materials{ margin-top:50px; padding:0 6vw; gap:18px; }

  .also-like{ margin-top:90px; padding:56px 6vw 0; }

  #contact{ padding-bottom:90px; }
  #contact h2{ font-size:1.4rem; margin-bottom:20px; }

  footer{ padding:26px 6vw; }
}

.detail-credits{ max-width:920px; margin:12px auto 0; padding:0 8vw; text-align:right; font-size:0.95rem; color:var(--muted); line-height:1.8; }

.tile-residential .t-title{ font-family:var(--font-he-heading); letter-spacing:0.02em; font-weight:400; }

/* process video (Instagram embed) */
.process-video{ margin:90px auto 0; padding:0 6vw; text-align:center; }
.process-title{ font-size:clamp(1.2rem,2.4vw,1.6rem); font-weight:400; margin-bottom:28px; letter-spacing:0.02em; }
.video-embed{ --vw:min(340px, 86vw); width:var(--vw); margin:0 auto; }
.video-embed iframe{ width:100%; height:calc(var(--vw) * 1.78 + 170px); border:0; background:#f3f1ec; display:block; }
.video-link{ display:inline-block; margin-top:14px; font-size:0.86rem; color:var(--muted); border-bottom:1px solid var(--line); }

.process-photos{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; max-width:980px; margin:0 auto 54px; }
.process-photos button.cell{ all:unset; display:block; cursor:pointer; overflow:hidden; }
.process-photos img{ width:100%; aspect-ratio:3/4; object-fit:cover; display:block; transition:transform .5s ease; }
.process-photos button.cell:hover img{ transform:scale(1.03); }
@media (max-width:560px){ .process-photos{ gap:8px; } }

.materials.tight{ margin-top:48px; }
.materials .pair{ display:grid; grid-template-columns:1fr 1fr; gap:26px; }
.materials .pair img{ width:100%; aspect-ratio:4/3; object-fit:cover; display:block; }
@media (max-width:760px){ .materials .pair{ gap:14px; } .detail-credits{ padding:0 6vw; } }

.video-btn{ display:inline-flex; align-items:center; gap:10px; margin-top:34px; padding:13px 30px; border:1px solid var(--line); color:var(--ink,#1c1a17); font-size:0.92rem; letter-spacing:.04em; transition:background .25s,color .25s; }
.video-btn svg{ width:14px; height:14px; fill:currentColor; }
.video-btn:hover{ background:#1c1a17; color:#fff; }

.video-card{ position:relative; display:block; width:min(340px,86vw); aspect-ratio:9/16; margin:34px auto 0; overflow:hidden; background:#e7e4df; }
.video-card img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .6s ease; }
.video-card:hover img{ transform:scale(1.03); }
.video-card::after{ content:''; position:absolute; inset:0; background:linear-gradient(to top, rgba(20,18,15,.35), rgba(20,18,15,0) 45%); pointer-events:none; }
.video-card .play{ position:absolute; z-index:1; left:50%; top:50%; width:68px; height:68px; margin:-34px 0 0 -34px; border-radius:50%; background:rgba(255,255,255,.9); display:flex; align-items:center; justify-content:center; }
.video-card .play svg{ width:24px; height:24px; fill:#1c1a17; margin-left:3px; }
.video-card .vc-cap{ position:absolute; z-index:1; left:0; right:0; bottom:20px; text-align:center; color:#fff; font-size:.88rem; letter-spacing:.08em; }

/* phone: full-screen board; the library is a bottom drawer opened by a button */
.mb-openlib, .mb-lib-close{ display:none; }
@media (max-width:760px){
  .mb-app{ display:block; height:auto; min-height:0; }
  .mb-canvas{ aspect-ratio:4/5; }
  .mb-bar{ flex-direction:column-reverse; align-items:stretch; gap:8px; margin-top:8px; }
  .mb-openlib{ display:block; width:100%; margin-top:10px; padding:14px; background:#1c1a17; color:#fff; border:0; font:inherit; font-size:.95rem; letter-spacing:.04em; cursor:pointer; }
  .mb-lib{ position:fixed; left:0; right:0; bottom:0; z-index:70; height:46dvh !important; margin:0; order:0; border-width:1px 0 0; background:#fdfbf6; box-shadow:0 -18px 40px -18px rgba(40,30,20,.35); transform:translateY(110%); transition:transform .3s ease; display:flex; flex-direction:column; }
  body.mb-lib-open .mb-lib{ transform:translateY(0); }
  .mb-lib-close{ display:block; align-self:stretch; padding:9px 14px; background:#f3f0ea; border:0; border-bottom:1px solid var(--line); font:inherit; font-size:.82rem; color:#5a554c; text-align:center; cursor:pointer; flex:none; }
  .mb-grid{ max-height:none; min-height:0; flex:1; }
  body.mb-lib-open #moodboard{ padding-bottom:50dvh; }
}

.mb-desk-note{ display:none; }
@media (max-width:760px){
  .mb-desk-note{ display:block; text-align:center; margin:6px auto 0; padding:8px 18px; max-width:340px; font-size:.82rem; line-height:1.5; color:#6d675d; border:1px solid var(--line); background:#fdfbf6; }
  .mb-secgrid{ grid-template-columns:repeat(5,1fr) !important; gap:5px; }
  .mb-grid.wide{ grid-template-columns:repeat(3,1fr); }
}

/* shared board = view only */
.mb-viewbar{ display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; margin:0 0 14px; padding:12px 18px; border:1px solid var(--line); background:#fdfbf6; font-size:.92rem; color:#4a463f; }
.mb-viewbtns{ display:flex; gap:8px; flex-wrap:wrap; }
.mb-viewbar button{ all:unset; cursor:pointer; padding:8px 16px; border:1px solid var(--ink,#1c1a17); font-size:.86rem; }
.mb-viewbar button:first-child{ background:#1c1a17; color:#fff; }
.mb-viewbar button:hover{ opacity:.85; }
.mb-view .mb-app{ grid-template-columns:1fr; }
.mb-view .mb-lib, .mb-view .mb-types, .mb-view .mb-openlib, .mb-view .mb-hint, .mb-view .mb-bar #mbClear{ display:none !important; }
.mb-view .mb-item{ pointer-events:none; }
.mb-view .mb-item .rm, .mb-view .mb-item .rs, .mb-view .mb-item .rt{ display:none !important; }
.mb-view .mb-stage{ max-width:1100px; margin:0 auto; width:100%; }

.mb-types.need{ animation:mbNeed .5s ease 2; }
.mb-types.need .mb-type{ border-color:#9c3a2e; }
.mb-types.need .mb-types-label{ color:#9c3a2e; }
@keyframes mbNeed{ 0%,100%{ transform:translateX(0); } 25%{ transform:translateX(-6px); } 75%{ transform:translateX(6px); } }

/* podcast */
#podcast{ padding-top:20px; padding-bottom:20px; }
.pod{ display:grid; grid-template-columns:minmax(220px,320px) 1fr; gap:clamp(28px,5vw,64px); align-items:center; max-width:980px; margin:0 auto; padding:0 6vw; }
.pod-cover{ display:block; aspect-ratio:1/1; overflow:hidden; background:#e7e4df; box-shadow:0 26px 50px -30px rgba(40,30,20,.45); }
.pod-cover img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .6s ease; }
.pod-cover:hover img{ transform:scale(1.03); }
.pod-text h3{ font-size:clamp(1.5rem,2.6vw,2.1rem); font-weight:300; letter-spacing:.14em; margin:0 0 12px; }
.pod-lead{ font-size:1.08rem; margin:0 0 12px; }
.pod-text p{ line-height:1.8; color:var(--muted); margin:0 0 12px; }
.pod-links{ display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.pod-links a{ padding:10px 20px; border:1px solid var(--line); font-size:.88rem; letter-spacing:.04em; transition:background .25s,color .25s; }
.pod-links a:hover{ background:#1c1a17; color:#fff; border-color:#1c1a17; }
@media (max-width:760px){ .pod{ grid-template-columns:1fr; text-align:center; } .pod-cover{ max-width:300px; margin:0 auto; } .pod-links{ justify-content:center; } }

/* reel shown as an Instagram-style post card (links to the real reel) */
.ig-card{ display:block; width:min(340px,88vw); margin:34px auto 0; background:#fff; border:1px solid #dcdad5; border-radius:12px; overflow:hidden; text-align:right; box-shadow:0 22px 44px -30px rgba(40,30,20,.4); color:#1c1a17; }
.ig-head{ display:flex; align-items:center; gap:10px; padding:10px 12px; }
.ig-av{ flex:none; width:34px; height:34px; border-radius:50%; padding:2px; background:linear-gradient(45deg,#f0c27b,#d6786a,#a45a86); display:block; }
.ig-av img{ width:100%; height:100%; border-radius:50%; background:#faf8f5; object-fit:contain; padding:4px; box-sizing:border-box; display:block; }
.ig-who{ display:flex; flex-direction:column; line-height:1.25; }
.ig-who b{ font-size:.86rem; font-weight:600; }
.ig-who small{ font-size:.72rem; color:#8a857b; }
.ig-media{ position:relative; display:block; aspect-ratio:9/16; background:#e7e4df; overflow:hidden; }
.ig-media img{ width:100%; height:100%; object-fit:cover; display:block; }
.ig-media::after{ content:''; position:absolute; inset:0; background:linear-gradient(to top, rgba(20,18,15,.28), rgba(20,18,15,0) 40%); }
.ig-media .play{ position:absolute; z-index:1; left:50%; top:50%; width:62px; height:62px; margin:-31px 0 0 -31px; border-radius:50%; background:rgba(255,255,255,.92); display:flex; align-items:center; justify-content:center; }
.ig-media .play svg{ width:22px; height:22px; fill:#1c1a17; margin-left:3px; }
.ig-foot{ display:flex; align-items:center; justify-content:center; gap:8px; padding:12px; font-size:.86rem; color:#3a362f; border-top:1px solid #eeece8; }
.ig-foot svg{ width:18px; height:18px; }
.ig-card:hover .ig-foot{ background:#faf8f5; }

/* podcast: logo on top, centred text (replaces the square cover layout) */
.pod{ display:block; max-width:760px; margin:0 auto; padding:0 6vw; text-align:center; }
.pod-logo{ display:block; width:min(560px,100%); margin:0 auto 34px; }
.pod-logo img{ width:100%; height:auto; display:block; }
.pod-lead{ font-size:1.12rem; margin:0 0 16px; }
.pod p{ line-height:1.9; color:var(--muted); margin:0 0 14px; }
.pod .pod-lead{ color:inherit; }
.pod-links{ justify-content:center; }

/* podcast: more compact */
#podcast{ padding-top:0; padding-bottom:0; }
#podcast .section-title.big{ margin-bottom:22px; }
.pod{ max-width:620px; }
.pod-logo{ width:min(340px,80%); margin:0 auto 20px; }
.pod-lead{ font-size:1rem; margin:0 0 10px; }
.pod p{ font-size:.92rem; line-height:1.7; margin:0 0 8px; }
.pod-links{ margin-top:16px; gap:8px; }
.pod-links a{ padding:8px 16px; font-size:.8rem; }

/* mood board on desktop: the whole board + buttons fit one screen at 100% zoom */
@media (min-width:901px){
  #moodboard{ padding:76px 2.5vw 16px; }
  .mb-h{ font-size:1.1rem; margin-bottom:2px; }
  .mb-l1{ font-size:.86rem; margin-bottom:0; }
  .mb-l2{ display:none; }
  .mb-types{ margin:6px auto 8px; gap:10px; }
  .mb-types-label{ font-size:.85rem; }
  .mb-type{ padding:4px 14px !important; font-size:.82rem; }
  .mb-app{ grid-template-columns:300px minmax(0, calc((100vh - 272px) * 1.5)); justify-content:center; gap:18px; }
  .mb-bar{ margin-top:8px; }
  .mb-bar .mb-btn{ padding:9px 24px; font-size:.88rem; }
  .mb-foot{ padding:3px 18px 8px; }
  .mb-foot span{ font-size:8px; }
}
/* podcast first line stays on one line on wide screens */
@media (min-width:761px){ .pod{ max-width:760px; } .pod-lead{ white-space:nowrap; } }

/* header: five links fit on a phone */
@media (max-width:760px){ nav{ gap:8px; font-size:0.68rem; } nav a{ white-space:nowrap; } header{ padding:20px 3.5vw; gap:8px; } .logo-img{ height:17px; } }
/* mood board: wider board, narrower side margins (desktop) */
@media (min-width:901px){
  #moodboard{ max-width:1900px; padding-left:1.5vw; padding-right:1.5vw; }
  .mb-canvas{ aspect-ratio:19/10; }
  .mb-app{ grid-template-columns:290px 1fr; justify-content:stretch; gap:16px; }
  .mb-stage{ width:100%; max-width:calc((100vh - 272px) * 1.9); margin:0 auto; }
}

/* mood board: equal margins, small gap between library and board (desktop) */
@media (min-width:901px){
  .mb-app{ grid-template-columns:290px min(calc((100vh - 272px) * 1.9), calc(100% - 306px)); justify-content:center; gap:16px; }
  .mb-stage{ width:100%; max-width:none; margin:0; }
}
/* action buttons under the board: outlined; save fills black on hover/press, share and send get a thicker frame */
.mb-bar-r .mb-btn{ background:transparent; color:var(--ink); border:0; box-shadow:inset 0 0 0 1px var(--ink); opacity:1; transition:background .2s, color .2s, box-shadow .15s; }
.mb-bar-r .mb-btn:hover, .mb-bar-r .mb-btn:active{ opacity:1; }
.mb-bar-r .mb-btn:hover, .mb-bar-r .mb-btn:active, .mb-bar-r .mb-btn:focus-visible, .mb-bar-r .mb-btn.line:hover{ background:var(--ink); color:var(--paper); box-shadow:inset 0 0 0 1px var(--ink); }

/* podcast: same breathing room around the section as the other sections */
#podcast{ padding-top:70px; padding-bottom:70px; }
@media (max-width:760px){ #podcast{ padding-top:50px; padding-bottom:50px; } }

.mb-btn[hidden], .mb-modal [hidden]{ display:none !important; }

/* podcast buttons with service icons */
.pod-links a{ display:inline-flex; align-items:center; gap:8px; }
.pod-links a svg{ width:18px; height:18px; flex:none; }
.pod-links .fg{ stroke:var(--paper,#faf8f5); }
.pod-links a:hover .fg{ stroke:#1c1a17; }
