/* Theorayne home — premium, quiet, no heavy motion. Place at assets/css/home-light.css */
.th-home{--ink:#141414;--stone:#efeeec;--mute:#6f6e6a;--line:#dedcd8;--brass:#a98550;
  color:var(--ink);background:#fff;font-family:Inter,system-ui,sans-serif;font-size:15px;line-height:1.6}
.th-home *,.th-home *::before,.th-home *::after{box-sizing:border-box}
.th-home img{display:block;max-width:100%}
.th-home a{color:inherit;text-decoration:none}
.th-home h2{color:inherit;font-family:'Bodoni Moda',Georgia,serif;font-weight:400;line-height:1.04;letter-spacing:-.015em;margin:0}
.th-home p{margin:0}
.th-home :focus-visible{outline:2px solid var(--brass);outline-offset:3px}
.th-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Buttons (selectors carry .th-home so they beat the generic link colour) */
.th-home .th-btn{display:inline-flex;align-items:center;justify-content:center;height:52px;padding:0 32px;font-size:14px;font-weight:500;letter-spacing:.01em;border:1px solid transparent;cursor:pointer;transition:background .25s,color .25s,border-color .25s}
.th-home .th-btn--white{background:#fff;color:var(--ink)}
.th-home .th-btn--white:hover{background:var(--brass);color:#fff}
.th-home .th-btn--ghost{color:#fff;border-color:rgba(255,255,255,.7)}
.th-home .th-btn--ghost:hover{background:#fff;color:var(--ink)}
.th-home .th-btn--dark{background:var(--ink);color:#fff}
.th-home .th-link{font-size:14px;font-weight:500;border-bottom:1px solid var(--ink);padding-bottom:2px;transition:color .2s,border-color .2s}
.th-home .th-link:hover{color:var(--brass);border-color:var(--brass)}

/* Hero: full-bleed image, text sits on the quiet right side */
.th-hero{position:relative;height:min(88vh,820px);min-height:560px;background:#0e0c0a;color:#fff;overflow:hidden}
.th-hero__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:20% center}
.th-hero__shade{position:absolute;inset:0;background:linear-gradient(270deg,rgba(10,8,6,.82) 0%,rgba(10,8,6,.45) 38%,rgba(10,8,6,0) 65%)}
.th-hero__wrap{position:relative;height:100%;display:flex;align-items:center;justify-content:flex-end}
.th-hero__text{width:min(100%,470px);display:flex;flex-direction:column;gap:22px}
.th-hero__text h2{font-size:clamp(3rem,5.4vw,5.2rem)}
.th-hero__text p{color:rgba(255,255,255,.82);font-size:16px;max-width:36ch}
.th-hero__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:10px}

/* Trust strip */
.th-strip{list-style:none;margin:0 auto;padding:0;display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--line);font-size:13px;color:var(--mute);text-align:center}
.th-strip li{padding:20px 12px}
.th-strip li+li{border-left:1px solid var(--line)}

/* Sections */
.th-home .th-section{padding-top:clamp(64px,8vw,112px)}
.th-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:36px}
.th-head h2{font-size:clamp(2rem,3.6vw,3rem)}

/* Categories */
.th-cats{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.th-cat{display:block}
.th-cat__img{display:block;aspect-ratio:3/4;background:var(--stone);overflow:hidden}
.th-cat__img img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.th-cat:hover .th-cat__img img{transform:scale(1.03)}
.th-cat__name{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid var(--line);font-family:'Bodoni Moda',Georgia,serif;font-size:1.35rem}
.th-cat__go{font-family:Inter,sans-serif;font-size:13px;color:var(--mute);transition:color .2s}
.th-cat:hover .th-cat__go{color:var(--brass)}

/* Product cards */
.th-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:40px 20px}
.th-card{display:block}
.th-card__media{position:relative;display:block;aspect-ratio:4/5;background:var(--stone);overflow:hidden}
.th-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.th-card:hover .th-card__media img{transform:scale(1.03)}
.th-card__badge{position:absolute;top:12px;left:12px;background:#fff;color:var(--brass);font-size:12px;font-weight:600;padding:4px 12px}
.th-card__info{display:flex;justify-content:space-between;gap:12px;margin-top:16px;font-weight:500}
.th-card__price{display:flex;gap:8px;white-space:nowrap}
.th-card__price del{color:var(--mute);font-weight:400}
.th-card__cat{display:block;color:var(--mute);font-size:13px;margin-top:2px}

/* Brand statement */
.th-statement{margin-top:clamp(64px,8vw,112px);background:var(--ink);color:#fff}
.th-home .th-statement__inner{padding-top:clamp(64px,9vw,128px);padding-bottom:clamp(64px,9vw,128px);display:grid;grid-template-columns:1.4fr 1fr;gap:48px;align-items:end}
.th-statement h2{font-size:clamp(2.6rem,6vw,5.6rem);color:#fff}
.th-statement__side{display:flex;flex-direction:column;align-items:flex-start;gap:22px;max-width:360px;padding-top:24px;border-top:1px solid var(--brass)}
.th-statement__side img{width:52px;height:auto;filter:brightness(0) invert(1)}
.th-statement__side p{color:#cfcdc8}
.th-home .th-statement .th-btn--light{background:#fff;color:var(--ink)}
.th-home .th-statement .th-btn--light:hover{background:var(--brass);color:#fff}

/* Newsletter */
.th-news{background:var(--stone)}
.th-home .th-news__inner{padding-top:clamp(56px,7vw,96px);padding-bottom:clamp(56px,7vw,96px);display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center}
.th-news h2{font-size:clamp(1.9rem,3.4vw,2.9rem);margin-bottom:8px}
.th-news p{color:var(--mute)}
.th-news__form{display:flex;border-bottom:1px solid var(--ink)}
.th-news__form input{flex:1;min-width:0;border:0;background:transparent;padding:14px 0;font:inherit;color:var(--ink)}
.th-news__form input:focus{outline:none}
.th-news__form:focus-within{border-bottom-color:var(--brass)}
.th-news__form button{border:0;background:none;font:inherit;font-weight:600;cursor:pointer;padding:0 0 0 16px;color:var(--ink)}
.th-news__form button:hover{color:var(--brass)}
.th-news__message{margin-top:10px;font-size:14px}

/* Tablet */
@media (max-width:960px){
  .th-cats,.th-grid{grid-template-columns:repeat(2,1fr)}
  .th-home .th-statement__inner,.th-home .th-news__inner{grid-template-columns:1fr}
}

/* Mobile: image on top, text below on dark */
@media (max-width:700px){
  .th-hero{height:auto;min-height:0;display:flex;flex-direction:column}
  .th-hero__img{position:relative;height:72vw;min-height:280px}
  .th-hero__shade{display:none}
  .th-hero__wrap{height:auto;padding:36px 20px 44px;justify-content:flex-start}
  .th-hero__text{width:100%}
  .th-hero__actions .th-btn{flex:1;padding:0 16px}
  .th-strip{grid-template-columns:1fr}
  .th-strip li+li{border-left:0;border-top:1px solid var(--line)}
  .th-grid--scroll{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;scrollbar-width:none}
  .th-grid--scroll::-webkit-scrollbar{display:none}
  .th-grid--scroll .th-card{flex:0 0 68%;scroll-snap-align:start}
}
@media (prefers-reduced-motion:reduce){.th-home *{transition:none!important}}
