/* ============================================================
   HASHBIT — section components
   ============================================================ */
.section { padding-block: clamp(80px, 11vh, 150px); }
.sec-co { font-size: 11px; color: var(--ink-3); letter-spacing: .14em; }

/* ===== HERO ===== */
.hero {
  min-height: 100svh; padding: 0; display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden; background: var(--bg);
}

.hero-canvas-wrap { position: absolute; inset: 0; z-index: 1; }
.hero-canvas-wrap canvas { display: block; }
.hero-grid-overlay {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 90px 90px; opacity: .5;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, #000 30%, transparent 78%);
          mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, #000 30%, transparent 78%);
}
.hero-inner { position: relative; z-index: 3; pointer-events: none; padding-top: 90px; }
.hero-inner button { pointer-events: auto; }
.hero-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); margin-bottom: 30px; letter-spacing: .12em; }
.hero-status { display: inline-flex; align-items: center; gap: 8px; }
.hero-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(122,232,0,.5);} 70%{box-shadow:0 0 0 9px rgba(122,232,0,0);} 100%{box-shadow:0 0 0 0 rgba(122,232,0,0);} }
.hero-title { font-size: clamp(30px, 5.6vw, 78px); font-weight: 700; line-height: 1.16; letter-spacing: -.01em; max-width: 18ch; }
.hero-sub { margin-top: 28px; font-size: clamp(12px, 1.3vw, 15px); color: var(--ink-2); line-height: 1.8; letter-spacing: .08em; }
.hero-cta { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.hero-foot { position: absolute; bottom: 26px; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); letter-spacing: .12em; pointer-events: none; }
.scrollcue { display: inline-flex; align-items: center; gap: 9px; }
.scrollcue i { width: 1px; height: 30px; background: var(--line-2); position: relative; overflow: hidden; }
.scrollcue i::after { content:""; position:absolute; inset:0; background: var(--accent); animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { 0%{transform:translateY(-100%);} 60%,100%{transform:translateY(100%);} }

/* ===== BUSINESS — categorized works marquee, sliced by diagonal cuts ===== */
.business { background: var(--ink-dark); color: var(--on-dark); }
.business .eyebrow { color: #6f6d68; }
.business .eyebrow::before { background: #3a3834; }

.business-panel {
  position: relative; margin-top: 40px; background: var(--paper); color: var(--ink);
  padding: clamp(30px, 5vw, 56px) clamp(22px, 4.5vw, 52px) clamp(40px, 6vw, 68px);
  box-shadow: 0 40px 100px rgba(0,0,0,.4);
}
.lane { position: relative; }
.lane-empty { color: var(--ink-3); font-size: 13px; margin-top: 14px; }

/* stage: backdrop strip (behind, layer 1) + one big featured mockup (front, layer 2) */
.lane-stage { position: relative; padding-block: clamp(10px, 1.6vw, 20px); }

.lane-backdrop {
  position: absolute; inset: 0; z-index: 1; overflow: hidden; display: flex; align-items: center;
  opacity: .5; filter: grayscale(.15);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.lane-backdrop-track {
  display: flex; align-items: center; gap: 14px; width: max-content;
  animation: laneScroll var(--lane-dur, 22s) linear infinite;
  transform: translateX(var(--lane-start, 100%));
}
.lane-backdrop-track.dir-ltr { animation-direction: reverse; }
@keyframes laneScroll { from { transform: translateX(var(--lane-start, 100%)); } to { transform: translateX(var(--lane-end, -100%)); } }
.lane-back-item { flex: 0 0 auto; cursor: pointer; }
.lane-back-thumb { position: relative; height: 108px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; transition: border-color .3s var(--ease); }
/* Same dark device-bezel look as the big feature/grid mockups, scaled down to fit
   a ~100px-tall strip thumb (their 6px/26px — even the feature lane's toned-down
   4px/14px — reads as a thick smudge at this size). */
.lane-back-thumb.phone, .lane-back-thumb.hardware { border: 2px solid #181715; border-radius: 9px; }
.lane-back-thumb.tablet { border: 2px solid #181715; border-radius: 7px; }
.lane-back-thumb.desktop { border: 1px solid #181715; border-radius: 4px; }
.lane-back-thumb.doc { border: 1px solid var(--line-2); border-radius: 2px; }
.lane-back-item:hover .lane-back-thumb { border-color: var(--ink-3); }
.lane-back-shot { width: 100%; height: 100%; object-fit: cover; display: block; }

.lane-feature { position: relative; z-index: 2; display: flex; align-items: flex-end; gap: clamp(24px, 3.4vw, 40px); cursor: pointer; }
.lane-alt .lane-feature { flex-direction: row-reverse; margin-left: auto; text-align: right; }
.lane-feature-frame { flex: 0 0 auto; transition: transform .35s var(--ease); }
.lane-feature-frame .dframe { transition: box-shadow .35s var(--ease); }
.lane-feature:hover .lane-feature-frame { transform: translateY(-6px); }
.lane-feature:hover .lane-feature-frame .dframe.phone,
.lane-feature:hover .lane-feature-frame .dframe.hw,
.lane-feature:hover .lane-feature-frame .hw-body,
.lane-feature:hover .lane-feature-frame .dframe.tab { box-shadow: 0 34px 80px rgba(0,0,0,.32); }
.lane-feature:hover .lane-feature-frame .dframe.desk { box-shadow: 0 34px 80px rgba(0,0,0,.24); }
/* real demo screens: reuse the Works grid's own work-thumb box instead of a DeviceFrame,
   since WorkPrototypeThumb already draws its own phone/tablet/desktop chrome for these. */
.work-thumb.lane-feature-demo { width: auto; height: clamp(200px, 30vh, 300px); background: none; border: none; transition: transform .35s var(--ease); }
.lane-feature-demo .work-proto { padding: 0; background: none; }
.lane-feature-demo .work-proto-device { box-shadow: none; }
.lane-feature-demo .work-proto-device.phone { border-width: 4px; border-radius: 14px; }
.lane-feature-demo .work-proto-device.tablet { border-width: 6px; border-radius: 12px; }
.lane-feature-demo .work-proto-device.desktop { border-radius: 5px; }
.lane-feature-demo .work-proto-dots { display: none; }
.lane-feature-copy { padding-bottom: clamp(6px, 1.4vw, 20px); transform: rotate(-.6deg); }
.lane-alt .lane-feature-copy { transform: rotate(.9deg); }
.lane-title { font-size: clamp(26px, 3.8vw, 44px); font-weight: 700; letter-spacing: -.01em; line-height: 1.1; }
.lane-feature-name { margin-top: 12px; font-size: 15px; font-weight: 700; display: flex; gap: 8px; align-items: baseline; }
.lane-alt .lane-feature-name { justify-content: flex-end; }
.lane-feature-name .mono { font-size: 11px; color: var(--ink-3); font-weight: 500; }
.lane-count { display: block; margin-top: 10px; font-size: 11px; color: var(--ink-3); letter-spacing: .1em; }

/* diagonal seam between lanes — a slab of the dark stage bleeding across the light panel */
.lane-cut { position: relative; height: clamp(30px, 4.5vw, 50px); margin-block: clamp(8px, 1.8vw, 20px); }
.lane-cut::before {
  content: ""; position: absolute; left: -12%; right: -12%; top: 50%; height: clamp(16px, 2.6vw, 28px);
  background: var(--ink-dark); transform: translateY(-50%) rotate(-2.6deg);
}
.lane-cut.cut-a::before { transform: translateY(-50%) rotate(2.4deg); }

/* ===== WORKS ===== */
.works-h { font-size: clamp(26px, 3.6vw, 46px); font-weight: 700; margin: 36px 0 30px; line-height: 1.2; }
.works-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-chip { font-size: 13px; font-weight: 600; padding: 9px 16px; white-space: nowrap; border: 1px solid var(--line-2); color: var(--ink-2); transition: all .3s var(--ease); display: inline-flex; align-items: center; gap: 7px; }
.filter-chip:hover { border-color: var(--ink); color: var(--ink); }
.filter-chip.on { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.filter-chip .fc-n { font-size: 10px; opacity: .6; }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 30px; }
.work-card { cursor: pointer; }
.work-thumb { position: relative; aspect-ratio: 4/3; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; }
.work-thumb-inner { position: absolute; inset: 0; transition: transform .7s var(--ease); }
.work-card:hover .work-thumb-inner, .work-card.flash .work-thumb-inner { transform: scale(1.04); }
.work-card.flash { outline: 2px solid var(--accent); outline-offset: 6px; transition: outline-color .5s var(--ease); }

.work-proto { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px 24px 18px; pointer-events: none; background: radial-gradient(circle at 78% 18%, rgba(43,91,255,.12), transparent 32%), linear-gradient(135deg, var(--bg-2), var(--paper)); }
.work-proto-device { position: relative; overflow: hidden; background: #fff; box-shadow: 0 18px 45px rgba(18,18,16,.16); }
.work-proto-device.phone { height: min(96%, 320px); aspect-ratio: 300/620; border: 6px solid #181715; border-radius: 26px; }
.work-proto-device.tablet { width: min(82%, 360px); aspect-ratio: 4/3; border: 9px solid #181715; border-radius: 18px; }
.work-proto-device.desktop { width: min(88%, 430px); aspect-ratio: 16/10; border: 1px solid var(--line-2); border-radius: 7px; }
.work-proto-bar { height: 24px; display: flex; align-items: center; gap: 5px; padding: 0 9px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.work-proto-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.work-proto-device.desktop .work-proto-screen { height: calc(100% - 24px); }
.work-proto-screen { width: 100%; height: 100%; overflow: hidden; background: var(--bg); animation: workProtoFade .55s var(--ease); }
.work-proto-screen img { width: 100%; height: 100%; object-fit: contain; background: var(--bg); display: block; }
.work-proto-screen .ap { width: 100%; height: 100%; }
.work-proto-dots { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; gap: 6px; padding: 5px 7px; background: color-mix(in srgb, var(--paper) 78%, transparent); border: 1px solid rgba(255,255,255,.7); }
.work-proto-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); }
.work-proto-dots i.on { background: var(--accent); }
@keyframes workProtoFade { from { opacity: .45; transform: translateY(5px) scale(.985); } to { opacity: 1; transform: none; } }
.work-hud { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; pointer-events: none; }
.work-card:hover .work-hud, .work-card.flash .work-hud { opacity: 1; }
.work-hud .mono { position: absolute; font-size: 10px; color: var(--ink); letter-spacing: .08em; background: color-mix(in srgb, var(--bg) 70%, transparent); padding: 3px 6px; }
.work-hud-tl { top: 10px; left: 10px; } .work-hud-tr { top: 10px; right: 10px; }
.work-hud-br { bottom: 10px; right: 10px; }
.work-open { bottom: 10px; left: 10px; color: var(--accent) !important; background: var(--ink) !important; padding: 6px 10px !important; }
.work-scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); animation: scan 2.6s linear infinite; }
@keyframes scan { 0%{top:0;} 100%{top:100%;} }
.work-demo-badge { position: absolute; top: 12px; left: 12px; font-size: 10px; letter-spacing: .1em; background: var(--accent); color: var(--ink); padding: 5px 9px; display: inline-flex; align-items: center; gap: 6px; z-index: 2; }
.work-demo-badge i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink); animation: pulse2 1.6s infinite; }
@keyframes pulse2 { 50%{opacity:.3;} }
.work-meta { display: flex; justify-content: space-between; align-items: center; margin: 16px 0 8px; font-size: 12px; color: var(--ink-3); }
.work-status { font-family: var(--mono); font-size: 11px; padding: 3px 8px; border: 1px solid var(--line-2); letter-spacing: .04em; }
.st-running { color: oklch(0.5 0.14 150); border-color: oklch(0.5 0.14 150 / .4); }
.st-prototype, .st-beta { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.st-archived { color: var(--ink-3); }
.work-title { font-size: 21px; font-weight: 700; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.work-title .mono { font-size: 12px; color: var(--ink-3); font-weight: 500; }
.work-desc { color: var(--ink-2); font-size: 14px; margin: 8px 0 14px; line-height: 1.7; }
.work-cats .tag { font-size: 10px; padding: 4px 8px; }

/* ===== NEWS ===== */
.news-h { font-size: clamp(24px, 3.2vw, 40px); font-weight: 700; margin: 36px 0 30px; line-height: 1.2; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 26px; }
.news-card { display: block; }
a.news-card { cursor: pointer; }
.news-thumb { position: relative; aspect-ratio: 16/10; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s var(--ease); }
a.news-card:hover .news-thumb { border-color: var(--ink-3); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-type { position: absolute; top: 10px; left: 10px; font-size: 10px; letter-spacing: .08em; background: var(--ink); color: var(--on-dark); padding: 5px 9px; }
.news-meta { display: flex; align-items: center; margin: 16px 0 8px; font-size: 11px; color: var(--ink-3); letter-spacing: .06em; }
.news-outlet { color: var(--ink-2); }
.news-outlet::before { content: "/"; margin: 0 10px; color: var(--line-2); }
.news-title { font-size: 17px; font-weight: 700; line-height: 1.5; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.news-open { font-size: 11px; color: var(--accent); font-weight: 600; opacity: 0; transform: translateX(-4px); transition: opacity .3s, transform .3s; white-space: nowrap; }
a.news-card:hover .news-open { opacity: 1; transform: none; }
.news-excerpt { color: var(--ink-2); font-size: 13.5px; margin: 8px 0 0; line-height: 1.7; }
.news-card.feat .news-thumb { border-color: var(--accent); }

/* ===== MEMBER ===== */
.member-grid { display: grid; grid-template-columns: 0.92fr 1fr; gap: 60px; margin-top: 50px; align-items: start; }
.member-photo-frame { position: relative; background: var(--bg-2); border: 1px solid var(--line); aspect-ratio: 1/1; overflow: hidden; }
.member-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: grayscale(.18) contrast(1.02); }
.member-ph-hud { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-between; padding: 12px 14px; font-size: 10px; letter-spacing: .12em; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.member-corner { position: absolute; width: 16px; height: 16px; border: 1.5px solid var(--accent); }
.member-corner.tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.member-corner.tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.member-corner.bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.member-corner.br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.member-role { font-size: 12px; color: var(--accent); letter-spacing: .18em; margin-bottom: 14px; }
.member-name { font-size: clamp(34px, 5vw, 60px); font-weight: 700; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; line-height: 1; }
.member-name .mono { font-size: 15px; color: var(--ink-3); font-weight: 500; }
.member-bio { margin: 30px 0; }
.member-bio p { color: var(--ink-2); font-size: 16px; margin-bottom: 14px; max-width: 46ch; }
.ms-label { font-size: 11px; color: var(--ink-3); letter-spacing: .14em; margin-bottom: 14px; }
.member-skills { margin-bottom: 34px; }
.member-links { display: flex; gap: 10px; flex-wrap: wrap; }
.member-link { font-size: 14px; font-weight: 600; padding: 12px 20px; border: 1px solid var(--line-2); transition: all .3s; display: inline-flex; gap: 10px; align-items: center; }
.member-link:hover { border-color: var(--ink); background: var(--ink); color: var(--on-dark); }
.member-link:hover .mono { color: var(--accent); }

/* ===== COMPANY ===== */
.company { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.company-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 70px; margin-top: 50px; }
.company-row { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.company-k { font-size: 11px; color: var(--ink-3); letter-spacing: .1em; padding-top: 3px; }
.company-v { font-size: 15.5px; white-space: pre-line; }
.company-biz-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 8px; }
.company-biz-head p { color: var(--ink-2); font-size: 13.5px; max-width: 34em; margin-top: -4px; }
.company-more { flex: none; padding: 11px 17px; font-size: 13px; }
.company-biz ul { list-style: none; margin-top: 16px; }
.company-biz-item { display: flex; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; align-items: baseline; }
.company-biz-item .mono { font-size: 11px; color: var(--accent); }

/* ===== CONTACT ===== */
.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; margin-top: 50px; }
.contact-h { font-size: clamp(30px, 4vw, 52px); font-weight: 700; line-height: 1.15; }
.contact-lead { color: var(--ink-2); margin: 24px 0 32px; font-size: 15px; max-width: 38ch; }
.contact-steps { display: flex; gap: 8px; margin-bottom: 36px; }
.cstep { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-3); padding: 8px 14px; border: 1px solid var(--line); letter-spacing: .06em; }
.cstep i { width: 18px; height: 18px; border: 1px solid currentColor; display: grid; place-items: center; font-size: 10px; }
.cstep.on { color: var(--ink); border-color: var(--ink); }
.cstep.on i { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.cstep.done { color: var(--ink-2); }
.contact-direct { display: flex; flex-direction: column; gap: 6px; }
.contact-direct .mono { font-size: 11px; color: var(--ink-3); letter-spacing: .14em; }
.contact-direct a { font-size: 18px; font-weight: 700; border-bottom: 1px solid var(--line-2); padding-bottom: 4px; width: fit-content; }
.contact-direct a:hover { border-color: var(--accent); color: var(--accent); }
.contact-form-wrap { background: var(--paper); border: 1px solid var(--line); padding: 40px; }

.cf { display: flex; flex-direction: column; gap: 22px; }
.cf-field { display: flex; flex-direction: column; gap: 9px; }
.cf-label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.cf-label .mono { font-size: 10px; color: var(--ink-3); letter-spacing: .12em; font-weight: 500; }
.cf-label .req { font-style: normal; font-size: 10px; color: var(--accent); border: 1px solid color-mix(in srgb,var(--accent) 40%,transparent); padding: 1px 6px; }
.cf input, .cf textarea, .cf select { font-family: inherit; font-size: 15px; padding: 13px 14px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); transition: border-color .3s; width: 100%; }
.cf input:focus, .cf textarea:focus, .cf select:focus { outline: none; border-color: var(--accent); }
.cf textarea { resize: vertical; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cf-field.err input, .cf-field.err textarea { border-color: #d4513c; }
.cf-error { color: #d4513c; font-size: 11px; }
.cf-chips { display: flex; gap: 7px; flex-wrap: wrap; }
.cf-chip { font-size: 12.5px; padding: 9px 13px; border: 1px solid var(--line-2); color: var(--ink-2); transition: all .25s; }
.cf-chip:hover { border-color: var(--ink); color: var(--ink); }
.cf-chip.on { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.cf-file { border: 1px dashed var(--line-2); padding: 22px; text-align: center; display: flex; flex-direction: column; gap: 6px; cursor: pointer; transition: border-color .3s; }
.cf-file:hover { border-color: var(--accent); }
.cf-file .mono { font-size: 13px; } .cf-file small { color: var(--ink-3); font-size: 11px; }
.cf-agree { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.cf-agree input { width: 18px; height: 18px; accent-color: var(--accent); margin-top: 2px; flex: none; }
.cf-agree a { color: var(--accent); border-bottom: 1px solid; }
.cf-agree.err span { color: #d4513c; }
.cf-submit { margin-top: 6px; justify-content: center; }

.cf-confirm-note { font-size: 11px; color: var(--ink-3); letter-spacing: .14em; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.cf-cf-row { display: grid; grid-template-columns: 140px 1fr; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.cf-cf-row .mono { font-size: 11px; color: var(--ink-3); letter-spacing: .08em; padding-top: 3px; }
.cf-cf-row p { font-size: 15px; white-space: pre-wrap; }
.cf-confirm-btns { display: flex; gap: 12px; margin-top: 14px; }
.cf-confirm-btns .btn { flex: 1; justify-content: center; }

.cf-done { align-items: center; text-align: center; padding: 30px 0; }
.cf-check, .ap-check { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; margin-bottom: 8px; animation: pop .6s var(--ease); }
.cf-check svg, .ap-check svg { width: 40px; height: 40px; }
@keyframes pop { 0%{transform:scale(.5);opacity:0;} 60%{transform:scale(1.08);} 100%{transform:scale(1);opacity:1;} }
.cf-done h3 { font-size: 26px; } .cf-done p { color: var(--ink-2); max-width: 36ch; }
.cf-done-id { font-size: 12px; color: var(--ink-3); letter-spacing: .1em; padding: 8px 14px; border: 1px solid var(--line); }

/* ===== FOOTER ===== */
.footer { background: var(--ink-dark); color: var(--on-dark); padding: clamp(64px, 9vw, 120px) 0 34px; }
.footer-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr); gap: clamp(36px, 7vw, 96px); align-items: end; padding-bottom: 58px; border-bottom: 1px solid #26241f; }
.footer-logo { height: clamp(44px, 8vw, 96px); width: auto; display: block; }
.footer-hero p { color: #8d8980; max-width: 40em; margin-top: 24px; font-size: 15px; line-height: 1.9; }
.footer-cta { border-left: 1px solid #2b2924; padding-left: clamp(24px, 4vw, 42px); }
.footer-cta > .mono { display: block; color: var(--accent); font-size: 11px; letter-spacing: .18em; margin-bottom: 14px; }
.footer-cta h3 { font-size: clamp(24px, 3vw, 40px); font-weight: 700; margin-bottom: 26px; line-height: 1.24; letter-spacing: -.02em; }
.footer-map { display: grid; grid-template-columns: minmax(260px, 1.35fr) repeat(4, minmax(0, .75fr)); gap: clamp(24px, 4vw, 52px); padding: 52px 0; border-bottom: 1px solid #26241f; }
.footer-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.footer-col > .mono { font-size: 10px; color: #6a665e; letter-spacing: .16em; margin-bottom: 8px; }
.footer-col a, .footer-text-link { font-size: 14px; color: #b9b4aa; line-height: 1.55; transition: color .25s, transform .25s; }
.footer-col a:hover { color: var(--on-dark); transform: translateX(3px); }
.footer-link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #2b2924; border-left: 1px solid #2b2924; }
.footer-link-grid button { min-height: 82px; border-right: 1px solid #2b2924; border-bottom: 1px solid #2b2924; padding: 16px; text-align: left; color: var(--on-dark); transition: background .25s, color .25s; }
.footer-link-grid button:hover { background: var(--accent); color: var(--ink); }
.footer-link-grid b { display: block; font-size: 18px; line-height: 1.1; letter-spacing: -.01em; }
.footer-link-grid small { display: block; color: currentColor; opacity: .58; margin-top: 7px; font-size: 11px; }
.footer-addr p { font-size: 13px; color: #8d8980; line-height: 1.75; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 11px; color: #5f5b54; letter-spacing: .12em; padding-top: 28px; }


/* ===== responsive ===== */
@media (max-width: 1000px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .member-grid, .company-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .company-biz-head { flex-direction: column; }
  .footer-map { grid-template-columns: 1fr 1fr; }
  .footer-hero { grid-template-columns: 1fr; }
  .footer-cta { border-left: 0; padding-left: 0; }
}
@media (max-width: 680px) {
  .works-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .cf-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
  .footer-link-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 32px; }
}
@media (max-width: 520px) {
  .footer-map { grid-template-columns: 1fr; }
}

