/* ==========================================================================
   GEAR HOUSE — homepage option "one-quote network" (home-network.html).
   Adds to home-crew.css: hero tabs, quote form, 3 steps, quick-access tiles,
   sticky section bar, slim studio band, why + film side by side.
   ========================================================================== */

/* hero: a bit less top space so the steps and tiles reach the first screen */
.home-network .hc-hero { padding-bottom: clamp(20px, 2.4vw, 32px); }
.home-network .hc-hero-copy { gap: 18px; }
.home-network .hc-faces { aspect-ratio: 4 / 4.2; }
/* hero copy swaps with the tab: a short fade */
.hn-swap { transition: opacity 0.16s ease; }
.hn-swap.fade { opacity: 0; }

/* tabs above the search box */
.hn-box { display: grid; gap: 12px; }
.hn-tabs { display: inline-flex; justify-self: start; gap: 4px; padding: 4px; border: 1px solid var(--smoke); border-radius: 999px; background: rgba(22,22,24,0.82); }
.hn-tabs button { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--mist); transition: background var(--t-fast), color var(--t-fast); }
.hn-tabs button:hover { color: var(--bone); }
.hn-tabs button[aria-selected="true"] { background: var(--bone); color: var(--ink); }
.hn-tabs button:focus-visible { outline: 2px solid var(--tungsten); outline-offset: 2px; }
.hn-box [role="tabpanel"] { display: grid; gap: 12px; }
.hn-box [role="tabpanel"][hidden] { display: none; }

/* quote form: step 1 (shoot, gear list, dates), step 2 (contact), done */
.hn-quote { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--smoke); border-radius: var(--radius-lg); background: rgba(22,22,24,0.82); backdrop-filter: blur(10px); }
.hn-step { display: grid; gap: 10px; }
.hn-step[hidden] { display: none; }
.hn-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.hn-quote .hc-field label span { color: var(--mist-2); font-weight: 400; }
.hn-quote textarea, .hn-contact input { width: 100%; min-width: 0; background: var(--ink-2); border: 1px solid var(--smoke); border-radius: 12px; padding: 12px; color: var(--bone); font: inherit; font-size: 15px; outline: none; }
.hn-quote textarea { resize: vertical; min-height: 52px; }
.hn-quote textarea:focus, .hn-contact input:focus { border-color: var(--tungsten); }
.hn-quote textarea::placeholder, .hn-contact input::placeholder { color: var(--mist-2); }
.hn-quote .btn-lg { min-height: 48px; }
.hn-file-btn { width: 100%; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px dashed var(--smoke-2); border-radius: 12px; color: var(--bone); text-align: left; transition: border-color var(--t-fast), background var(--t-fast); }
.hn-file-btn:hover { border-color: var(--tungsten); background: var(--tungsten-dim); }
.hn-file-btn .ico { width: 18px; height: 18px; color: var(--tungsten-2); flex: none; }
.hn-file-btn span { font-size: 14px; font-weight: 500; }
.hn-file-btn small { margin-left: auto; font-size: 12px; color: var(--mist-2); }
.hn-file-on { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; border: 1px solid var(--tungsten); border-radius: 12px; background: var(--tungsten-dim); }
.hn-file-on[hidden], .hn-file-btn[hidden] { display: none; }
.hn-file-name { flex: 1; min-width: 0; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hn-file-on button { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--bone-2); }
.hn-file-on button:hover { background: rgba(255,255,255,0.08); }
.hn-file-on .ico { width: 14px; height: 14px; }
.hn-step-t { font-size: 15px; font-weight: 600; }
.hn-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hn-done { display: flex; gap: 14px; align-items: flex-start; padding: 6px; }
.hn-done p:not(.hn-step-t) { font-size: 14px; color: var(--mist); margin-top: 2px; }
.hn-done a { color: var(--bone); border-bottom: 1px solid var(--smoke-2); }
.hn-quote .hc-ask-err { margin: 0; }
/* the second headline line in red on the quote tab */
.hc-hero h1 .grey.hn-red { color: var(--tungsten); }

/* "Gear House 360" label in the hero */
.hn-360 { font-weight: 700; color: var(--bone); }

.hn-abroad h2 { line-height: 0.98; }
.hn-abroad h2 .grey { display: block; color: var(--mist-2); }
.hn-abroad h2 .grey.hn-red { color: var(--tungsten); }
.hn-steps-wrap { padding-bottom: 8px; }

/* section: from abroad — open layout, big heading, photo on the right */
.hn-abroad { position: relative; padding: clamp(56px, 7vw, 104px) 0; overflow: hidden; }
.hn-abroad::before { content: ""; position: absolute; left: -15%; top: 10%; width: 55%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(216,11,42,0.12), transparent 70%); filter: blur(40px); pointer-events: none; }
.hn-abroad-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hn-abroad-copy { display: grid; gap: 22px; justify-items: start; }
.hn-abroad .kicker { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mist); }
.hn-abroad-list { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hn-abroad-list li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--bone-2); }
.hn-abroad-list .ico { width: 18px; height: 18px; color: var(--tungsten-2); }
.hn-abroad-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.4; border: 1px solid var(--smoke); }
.hn-abroad-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* 3 steps — one slim band */
.hn-steps { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--smoke); border-radius: var(--radius-lg); background: var(--graphite); list-style: none; margin: 0; padding: 0; }
.hn-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; }
.hn-steps li + li { border-left: 1px solid var(--smoke); }
.hn-steps .n { flex: none; font-family: var(--font-mono); font-size: 12px; color: var(--tungsten-2); padding-top: 2px; }
.hn-steps strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.hn-steps span:not(.n) { font-size: 13px; color: var(--mist); line-height: 1.5; }

/* small round icon (studio band, quote sent) */
.hn-tile-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--tungsten-dim); color: var(--tungsten-2); }
.hn-tile-ic svg { width: 20px; height: 20px; }

/* sticky section bar: hidden in the hero, slides in under the header after it */
.hn-bar { position: sticky; top: var(--header-h); z-index: 50; height: 0; overflow: visible; }
.hn-bar .wrap { pointer-events: none; }
.hn-bar-in { pointer-events: auto; display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 10px auto 0; padding: 4px; overflow-x: auto; scrollbar-width: none; border: 1px solid var(--smoke); border-radius: 999px; background: rgba(13,14,19,0.88); backdrop-filter: blur(12px); box-shadow: 0 10px 30px rgba(0,0,0,0.35); opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast); }
.hn-bar-in::-webkit-scrollbar { display: none; }
.hn-bar.show .hn-bar-in { opacity: 1; transform: none; visibility: visible; }
.hn-bar a { flex: none; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--mist); white-space: nowrap; transition: background var(--t-fast), color var(--t-fast); }
.hn-bar a:hover { color: var(--bone); }
.hn-bar a.on { background: var(--bone); color: var(--ink); }
/* anchors land below the header and the bar */
.hn-anchor { scroll-margin-top: calc(var(--header-h) + 56px); }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* departments: denser, 3 per row */
.home-network .hc-depts { grid-template-columns: repeat(3, 1fr); gap: 10px; }
.home-network .hc-dept { min-height: 180px; }
.home-network .hc-dept-body { padding: 16px; gap: 4px; }
.home-network .hc-dept h3 { font-size: 20px; }

/* gear: a little less air between kits and most rented */
.home-network .hc-subhead { margin-top: clamp(28px, 3.4vw, 44px); }

/* favourite gear: right under the steps, six per line */
.hn-fav { padding: clamp(28px, 3.4vw, 44px) 0 0; }
.hn-fav-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 14px; }
.hn-fav-head h2 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; letter-spacing: -0.02em; }
.hn-fav-head p { font-size: 14px; color: var(--mist); margin-top: 2px; }
.home-network #hc-popular { grid-template-columns: repeat(6, 1fr); gap: 10px; }
.home-network #hc-popular .lcard { padding: 10px; gap: 6px; }
.home-network #hc-popular .lcard .lvis { border-radius: 10px; }
.home-network #hc-popular .lcard p { display: none; }
.home-network #hc-popular .lcard h3 { font-size: 14px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.home-network #hc-popular .lcard .lprice { font-size: 15px; }
.home-network #hc-popular .lcard .lprice small { font-size: 10px; }
.home-network #hc-popular .lcard .plus { top: 16px; right: 16px; width: 26px; height: 26px; }

/* why: big heading left, four points right, no boxes */
.hn-why-sec { position: relative; padding: clamp(56px, 7vw, 104px) 0; border-top: 1px solid var(--smoke); }
.hn-why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.hn-why-copy { display: grid; gap: 22px; justify-items: start; position: sticky; top: calc(var(--header-h) + 72px); }
.hn-why-copy .kicker { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mist); }
.hn-why-copy h2 { line-height: 0.98; }
.hn-why-copy h2 .grey { display: block; color: var(--mist-2); }
.hn-points { list-style: none; margin: 0; padding: 0; display: grid; }
.hn-points li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 8px; padding: 16px 0; border-top: 1px solid var(--smoke); }
.hn-points li:last-child { border-bottom: 1px solid var(--smoke); }
.hn-points .n { font-family: var(--font-mono); font-size: 11px; color: var(--tungsten-2); padding-top: 4px; }
.hn-points h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.hn-points p { font-size: 14px; color: var(--mist); line-height: 1.5; margin-top: 3px; max-width: 46ch; }

/* responsive */
@media (max-width: 1280px) {
  .home-network #hc-popular { grid-template-columns: repeat(4, 1fr); }
  .home-network #hc-popular .lcard:nth-child(n+5) { display: none; }
}
@media (max-width: 1100px) {
  .home-network .hc-depts { grid-template-columns: repeat(2, 1fr); }
  .hn-abroad-grid, .hn-why-grid { grid-template-columns: 1fr; }
  .hn-why-copy { position: static; }
  .hn-abroad-media { aspect-ratio: 16 / 10; }
  }
@media (max-width: 760px) {
  .home-network #hc-popular { grid-template-columns: repeat(2, 1fr); }
  .hn-steps { grid-template-columns: 1fr; }
  .hn-steps li + li { border-left: 0; border-top: 1px solid var(--smoke); }
  .hn-steps li { padding: 12px 16px; }
  .hn-bar-in { margin-inline: 0; }
}
@media (max-width: 560px) {
  .hn-row, .hn-contact { grid-template-columns: 1fr; }
  .hn-quote .btn-lg { width: 100%; }
  .hn-file-btn small { display: none; }
}
