/* TONALINQ home: photo-led, quiet editorial layout. */
.menu-home-page{
  background:var(--tn-paper);
}
.menu-home-page .site-header{
  border-bottom:0;
  padding-top:14px;
  padding-bottom:10px;
}
.menu-home-page .main-nav{display:none}
.menu-home-page .locale-nav{margin-left:auto}
.menu-home-page>footer{display:none}

.menu-home-page .brand{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  text-decoration:none;
}
.brand-lockup{
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.menu-home-page .brand .brand-lockup-mark{
  width:26px;
  height:28px;
  object-fit:contain;
}
.menu-home-page .brand .brand-lockup-wordmark{
  width:132px;
  height:auto;
  display:block;
}
.menu-home-page .mobile-menu summary{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  font-size:0;
}
.menu-home-page .mobile-menu summary::before{
  content:"";
  width:20px;
  height:1px;
  background:currentColor;
  box-shadow:0 -6px 0 currentColor,0 6px 0 currentColor;
}

.home-menu{
  width:min(100%,1120px);
  margin-inline:auto;
  padding:12px 32px 72px;
}
.home-editorial a{
  text-underline-offset:4px;
}

/* HERO */
.home-hero{
  position:relative;
  display:block;
  min-height:clamp(340px,46vw,520px);
  overflow:hidden;
  color:var(--tn-ink);
  text-decoration:none;
  border-bottom:1px solid var(--tn-line);
}
.home-hero>img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.home-hero-shade{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(247,246,240,.96) 0%,rgba(247,246,240,.76) 34%,rgba(247,246,240,.16) 65%,rgba(247,246,240,0) 100%);
}
.home-hero-copy{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  padding:clamp(28px,5vw,60px);
}
.home-hero-copy h1{
  max-width:520px;
  margin:0 0 12px;
  font-family:var(--tn-serif);
  font-size:clamp(29px,3.4vw,38px);
  font-weight:400;
  line-height:1.45;
  letter-spacing:-.025em;
}
.home-hero-sub{
  display:block;
  max-width:440px;
  font-size:14px;
  line-height:1.8;
  color:var(--tn-muted);
}
.home-hero-empty{
  position:relative;
  min-height:240px;
  background:var(--tn-soft);
}
.home-hero-empty .home-hero-copy{
  position:relative;
}

/* SIGNED-IN SHORTCUTS */
.home-menu-personal{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px 22px;
  padding:10px 0;
  border-bottom:1px solid var(--tn-line);
}
.home-menu-personal>span{
  margin-right:auto;
  font-size:14px;
  line-height:1.4;
  letter-spacing:.1em;
  color:var(--tn-muted);
}
.home-menu-personal a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  font-size:14px;
  text-decoration:none;
}

/* SHARED SECTION */
.home-editorial-section{
  padding:46px 0 52px;
  border-bottom:1px solid var(--tn-line);
}
.home-section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:20px;
}
.home-section-head h2{
  margin:0;
  font-family:var(--tn-sans);
  font-size:20px;
  line-height:1.4;
  font-weight:500;
  letter-spacing:.12em;
}
.home-now .home-section-head h2{
  font-family:var(--tn-serif);
  font-size:clamp(23px,2.5vw,30px);
  letter-spacing:-.015em;
  font-weight:400;
}
.home-text-link{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  font-size:14px;
  color:inherit;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-decoration-color:var(--tn-line-strong);
}

/* NEW PEOPLE */
.home-new-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(12px,2.2vw,26px);
}
.home-new-person{
  display:grid;
  align-content:start;
  min-width:0;
  color:inherit;
  text-decoration:none;
}
.home-new-person img,
.home-new-placeholder{
  display:block;
  width:100%;
  aspect-ratio:4/5;
  object-fit:cover;
  background:var(--tn-soft);
  margin-bottom:10px;
}
.home-new-person strong{
  display:block;
  font-size:15px;
  line-height:1.5;
  font-weight:500;
}
.home-new-detail,
.home-new-fallback{
  display:-webkit-box;
  margin-top:3px;
  font-size:14px;
  line-height:1.55;
  color:var(--tn-muted);
  -webkit-line-clamp:1;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.home-new-fallback{
  display:block;
  margin:0 0 4px;
  -webkit-line-clamp:unset;
}
.home-discovery-links{
  display:grid;
  grid-template-columns:1fr 1fr;
  margin-top:26px;
  border-top:1px solid var(--tn-line);
  border-bottom:1px solid var(--tn-line);
}
.home-discovery-links a{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:72px;
  padding:10px 18px;
  color:inherit;
  font-size:15px;
  text-decoration:none;
}
.home-discovery-links a+a{
  border-left:1px solid var(--tn-line);
}
.home-link-icon{
  width:26px;
  height:26px;
  flex:none;
}

/* NOW */
.home-now{
  overflow:hidden;
}
.home-now-rail{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:280px;
  gap:18px;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  scroll-snap-type:inline mandatory;
  scroll-padding-inline:0;
  padding:0 18px 8px 0;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.home-now-rail::-webkit-scrollbar{display:none}
.home-now-card{
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  align-content:start;
  min-width:0;
  color:inherit;
  text-decoration:none;
  scroll-snap-align:start;
}
.home-now-thumb{
  display:block;
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  background:var(--tn-soft);
}
.home-now-thumb-empty{
  display:block;
}
.home-now-copy{
  display:grid;
  align-content:start;
  min-width:0;
  padding-top:10px;
}
.home-now-meta{
  margin-bottom:4px;
  font-size:14px;
  line-height:1.5;
  color:var(--tn-muted);
}
.home-now-card strong{
  display:-webkit-box;
  min-width:0;
  min-height:3em;
  font-size:15px;
  line-height:1.5;
  font-weight:500;
  overflow:hidden;
  overflow-wrap:anywhere;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.home-now-byline{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px;
  margin-top:8px;
  min-width:0;
  font-size:14px;
  line-height:1.5;
  color:var(--tn-muted);
}
.home-now-person{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-width:0;
}
.home-now-person img{
  width:24px;
  height:24px;
  border-radius:50%;
  object-fit:cover;
}
.home-now-person>span:last-child{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.home-now-separator{
  color:var(--tn-muted);
}
.home-now-fallback,
.home-empty-note{
  font-size:14px;
  color:var(--tn-muted);
}

/* JOIN */
.home-menu-kicker{
  display:block;
  margin:0 0 7px;
  font-size:14px;
  line-height:1.4;
  letter-spacing:.12em;
  color:var(--tn-muted);
}
.home-join{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:34px;
  padding:38px 0;
  border-bottom:1px solid var(--tn-line);
}
.home-join h2{
  margin:0;
  font-family:var(--tn-serif);
  font-size:clamp(21px,2.2vw,27px);
  line-height:1.5;
  font-weight:400;
  letter-spacing:-.01em;
}
.home-join-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:52px;
  padding:4px 0;
  color:inherit;
  font-size:14px;
  text-decoration:none;
}
.home-join-link .home-link-icon{
  width:25px;
  height:25px;
}

/* IDEA */
.home-idea-experiment{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:28px;
  padding:18px 0;
  border-bottom:1px solid var(--tn-line);
}
.home-idea-experiment strong{
  display:block;
  font-size:14px;
  line-height:1.55;
  font-weight:400;
  color:var(--tn-muted);
}
.home-idea-experiment>a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  color:inherit;
  font-size:14px;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-decoration-color:var(--tn-line-strong);
}

/* HOME-ONLY FOOTER */
.home-editorial-footer{
  display:grid;
  gap:10px;
  padding:20px 0 0;
  font-size:14px;
}
.home-footer-primary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:6px 20px;
}
.home-instagram{
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:44px;
  color:inherit;
  text-decoration:none;
}
.home-instagram img{
  width:20px;
  height:20px;
  object-fit:contain;
}
.home-footer-primary nav,
.home-footer-support{
  display:flex;
  flex-wrap:wrap;
  gap:0 18px;
}
.home-footer-primary nav{
  justify-content:flex-end;
}
.home-footer-support{
  justify-content:flex-start;
  padding-top:8px;
  border-top:1px solid var(--tn-line);
  color:var(--tn-muted);
}
.home-editorial-footer nav a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  color:inherit;
  text-decoration:none;
}

/* TABLET */
@media(max-width:900px){
  .home-menu{
    padding-left:24px;
    padding-right:24px;
  }
  .home-hero{
    min-height:430px;
  }
  .home-hero-shade{
    background:linear-gradient(90deg,rgba(247,246,240,.95) 0%,rgba(247,246,240,.72) 46%,rgba(247,246,240,.08) 82%);
  }
}

/* MOBILE 390px FIRST */
@media(max-width:767px){
  .menu-home-page .site-header{
    padding-top:8px;
    padding-bottom:4px;
  }
  .brand-lockup{
    gap:7px;
  }
  .menu-home-page .brand .brand-lockup-mark{
    width:22px;
    height:24px;
  }
  .menu-home-page .brand .brand-lockup-wordmark{
    width:112px;
  }
  .home-menu{
    padding:4px 16px 58px;
  }
  .home-hero{
    min-height:390px;
  }
  .home-hero-shade{
    background:
      linear-gradient(0deg,rgba(247,246,240,.97) 0%,rgba(247,246,240,.76) 38%,rgba(247,246,240,.05) 74%),
      linear-gradient(90deg,rgba(247,246,240,.36),rgba(247,246,240,0) 60%);
  }
  .home-hero-copy{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    align-content:end;
    justify-content:stretch;
    padding:22px 18px;
  }
  .home-hero-copy h1{
    max-width:280px;
    margin-bottom:8px;
    font-size:27px;
    line-height:1.45;
  }
  .home-hero-sub{
    max-width:250px;
    font-size:14px;
  }
  .home-menu-personal{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0 14px;
  }
  .home-menu-personal>span{
    grid-column:1/-1;
    width:100%;
    margin:0;
  }
  .home-editorial-section{
    padding:34px 0 38px;
  }
  .home-section-head{
    align-items:center;
    margin-bottom:14px;
  }
  .home-section-head h2{
    font-size:17px;
  }
  .home-now .home-section-head h2{
    font-size:24px;
  }
  .home-new-grid{
    gap:8px;
  }
  .home-new-person img,
  .home-new-placeholder{
    margin-bottom:7px;
  }
  .home-new-person strong{
    font-size:14px;
  }
  .home-new-detail,
  .home-new-fallback{
    font-size:14px;
  }
  .home-discovery-links{
    margin-top:20px;
  }
  .home-discovery-links a{
    min-height:64px;
    padding:8px 7px;
    gap:7px;
    font-size:14px;
  }
  .home-link-icon{
    width:23px;
    height:23px;
  }
  .home-now-rail{
    grid-auto-columns:min(76vw,280px);
    gap:14px;
    margin-right:-16px;
    padding-right:36px;
  }
  .home-now-card strong{
    font-size:15px;
  }
  .home-now-meta,
  .home-now-byline,
  .home-now-fallback{
    font-size:14px;
  }
  .home-now-person img{
    width:24px;
    height:24px;
  }
  .home-join{
    grid-template-columns:1fr;
    gap:10px;
    padding:30px 0;
  }
  .home-join h2{
    font-size:21px;
  }
  .home-join-link{
    min-height:48px;
  }
  .home-idea-experiment{
    grid-template-columns:1fr auto;
    gap:12px;
    padding:16px 0;
  }
  .home-editorial-footer{
    gap:6px;
    padding-top:14px;
  }
  .home-footer-primary{
    display:grid;
    justify-items:start;
    gap:0;
  }
  .home-footer-primary nav,
  .home-footer-support{
    justify-content:flex-start;
    gap:0 14px;
  }
  .home-footer-support{
    padding-top:6px;
  }
  .home-editorial-footer nav a{
    min-height:44px;
  }
}

@media(prefers-reduced-motion:reduce){
  .home-hero,
  .home-new-person,
  .home-now-rail{scroll-behavior:auto}
}
