/* ============================================================
   Mac Usta · Landing hero + wordmark + hero strip + foot
   Loaded by index.html via <link>.  See styles/_index.css for order.
   ============================================================ */

   9. LANDING / HERO
   ============================================================ */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  grid-template-rows: auto 1fr auto;
  column-gap: 48px;
  row-gap: 24px;
  padding: 18px 16px 36px;
  max-width: 1480px;
  margin: 0 auto;
  align-items: start;
}

.hero-meta {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  flex-wrap: wrap;
}
.hero-meta-key { color: var(--ink-mute); }
.hero-meta-val { color: var(--ink); font-weight: 500; }
.hero-meta-dot { color: var(--rust); font-size: 8px; }
.hero-meta-spacer { flex: 1 1 auto; }

/* Wordmark — kompakt, hero-meta hizasında sağda */
.hero-wordmark-inline {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--f-display);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1;
  letter-spacing: -.015em;
  text-transform: none;
  color: var(--ink);
  font-variation-settings: "opsz" 96, "SOFT" 80, "WONK" 1;
}
.hero-wordmark-inline em {
  font-style: italic;
  color: var(--ink);
  font-variation-settings: "opsz" 96, "SOFT" 100, "WONK" 1;
}
.hero-wordmark-inline span {
  color: var(--rust);
  font-weight: 500;
  font-variation-settings: "opsz" 96, "SOFT" 100, "WONK" 1, "wght" 500;
}
.hero-wordmark-inline sup {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0;
  font-style: normal;
  margin-left: 2px;
  vertical-align: super;
}

.hero-lede {
  grid-column: 1;
  font-family: var(--f-display);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
  margin-top: 30px;
  font-variation-settings: "opsz" 36, "SOFT" 50;
}
.hero-lede em {
  font-style: italic;
  color: var(--ink);
  font-variation-settings: "opsz" 36, "SOFT" 100, "WONK" 1;
}

.hero-cta {
  grid-column: 1;
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.cta-foot {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-left: 6px;
}

.hero-board {
  grid-column: 2;
  grid-row: 2 / span 3;
  position: relative;
  margin-top: 24px;
  transform: rotate(-1.4deg);
  transition: transform var(--t-slow);
}
.hero-board:hover { transform: rotate(0deg); }
.hero-board-frame {
  position: relative;
  border: 1px solid var(--ink);
  background: var(--paper-0);
  padding: 14px 14px 36px;
  box-shadow:
    0 30px 50px -28px rgba(14,27,48,.5),
    0 8px 14px -8px rgba(14,27,48,.2);
}
.hero-board-frame img {
  width: 100%;
  filter: contrast(1.04) saturate(.9);
  mix-blend-mode: multiply;
}
.hero-board-stamp {
  position: absolute;
  left: 14px; right: 14px; bottom: 8px;
  display: flex; justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hero-board-callouts {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero-board-callouts path {
  fill: none;
  stroke: var(--rust);
  stroke-width: .8;
  stroke-dasharray: 3 3;
  opacity: 0;
  animation: callout 6s ease-in-out infinite;
}
.hero-board-callouts path:nth-child(2) { animation-delay: 1.5s; }
.hero-board-callouts path:nth-child(3) { animation-delay: 3s; }
.hero-board-callouts path:nth-child(4) { animation-delay: 4.5s; }
@keyframes callout {
  0%, 100% { opacity: 0; }
  20%, 80% { opacity: .7; }
}

/* --- Interaktif hotspot katmanı --- */
.hero-hotspots {
  position: absolute;
  inset: 14px 14px 36px;
  pointer-events: none;
}
.hero-hotspots .hot {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  outline: none;
}
.hero-hotspots .hot-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--rust);
  box-shadow:
    0 0 0 2px var(--paper-0),
    0 0 0 3px var(--rust),
    0 0 0 8px rgba(176, 80, 50, 0.18);
  animation: hotPulse 2.2s ease-in-out infinite;
  flex: 0 0 12px;
}
.hero-hotspots .hot-label {
  background: var(--paper-0);
  border: 1px solid var(--ink);
  padding: 2px 6px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.hero-hotspots .hot:hover .hot-label,
.hero-hotspots .hot:focus .hot-label,
.hero-hotspots .hot.active .hot-label {
  opacity: 1;
  transform: translateX(0);
}
.hero-hotspots .hot:hover .hot-dot,
.hero-hotspots .hot.active .hot-dot {
  animation: none;
  background: var(--brass);
  box-shadow:
    0 0 0 2px var(--paper-0),
    0 0 0 3px var(--brass),
    0 0 0 10px rgba(212, 162, 60, 0.28);
}
@keyframes hotPulse {
  0%, 100% { box-shadow: 0 0 0 2px var(--paper-0), 0 0 0 3px var(--rust), 0 0 0 6px rgba(176, 80, 50, 0.22); }
  50%      { box-shadow: 0 0 0 2px var(--paper-0), 0 0 0 3px var(--rust), 0 0 0 12px rgba(176, 80, 50, 0.04); }
}

.hero-tip {
  position: absolute;
  z-index: 5;
  min-width: 220px;
  max-width: 280px;
  background: var(--paper-0);
  border: 1px solid var(--ink);
  padding: 10px 12px;
  box-shadow: 0 16px 28px -18px rgba(14, 27, 48, .55);
  transform: translate(-50%, 0);
  pointer-events: none;
}
.hero-tip[hidden] { display: none; }
.hero-tip-title {
  display: block;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 2px;
}
.hero-tip-sub {
  display: block;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 6px;
}
.hero-tip-desc {
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-2);
}

.hero-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.strip-cell {
  position: relative;
  display: block;
  text-align: left;
  background: transparent;
  border: 0;
  border-right: 1px dashed rgba(14,27,48,.25);
  padding: 22px 22px 38px 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: background var(--t-fast);
}
.strip-cell:first-child { padding-left: 0; }
.strip-cell:not(:first-child) { padding-left: 22px; }
.strip-cell:nth-child(4) { border-right: 0; }
.strip-cell:hover { background: rgba(212, 162, 60, 0.08); }
.strip-cell:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: -2px;
}
.strip-cell.active {
  background: rgba(212, 162, 60, 0.14);
}
.strip-cell.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--rust);
}
.strip-no {
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--rust);
}
.strip-cell h3 {
  font-family: var(--f-display);
  font-size: 18px;
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 72, "SOFT" 100, "WONK" 1, "wght" 500;
  margin-bottom: 8px;
  color: var(--ink);
}
.strip-cell p {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 36ch;
  font-weight: 400;
}
.strip-more {
  position: absolute;
  left: 0; bottom: 14px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  transition: color var(--t-fast), transform var(--t-fast);
}
.strip-cell:not(:first-child) .strip-more { left: 22px; }
.strip-more em {
  font-style: normal;
  font-weight: 600;
  color: var(--rust);
}
.strip-cell:hover .strip-more,
.strip-cell.active .strip-more {
  color: var(--ink);
  transform: translateX(2px);
}
.strip-cell.active .strip-more em { color: var(--rust-deep); }

/* --- Strip detail panel (accordion) --- */
.strip-detail {
  grid-column: 1 / -1;
  border-top: 1px dashed rgba(14,27,48,.25);
  padding: 22px 0 26px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--t-mid), transform var(--t-mid);
}
.strip-detail[hidden] { display: none; }
.strip-detail.open {
  opacity: 1;
  transform: translateY(0);
}
.strip-detail-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 10px;
}
.strip-detail-no {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--rust);
}
.strip-detail-head h4 {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  flex: 1 1 auto;
  font-variation-settings: "opsz" 96, "SOFT" 100, "WONK" 1, "wght" 500;
}
.strip-detail-close {
  background: transparent;
  border: 1px solid var(--ink);
  width: 26px; height: 26px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
  transition: background var(--t-fast), color var(--t-fast);
}
.strip-detail-close:hover {
  background: var(--ink);
  color: var(--paper-0);
}
.strip-detail-lede {
  font-family: var(--f-display);
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 78ch;
  margin-bottom: 16px;
}
.strip-detail-lede em {
  font-style: italic;
  color: var(--rust);
  font-variation-settings: "opsz" 36, "SOFT" 100, "WONK" 1;
}
.strip-detail-foot {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 10px;
  border: 1px dashed var(--brass);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass);
}
.strip-detail-body .kv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px 28px;
  margin: 0;
}
.strip-detail-body .kv-grid > div {
  padding: 10px 0;
  border-top: 1px solid rgba(14, 27, 48, .1);
}
.strip-detail-body .kv-grid dt {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 4px;
}
.strip-detail-body .kv-grid dd {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
}

/* SPI flash katalog kartları */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 4px 0 0;
}
.catalog-card {
  border: 1px solid var(--ink);
  background: var(--paper-0);
  padding: 12px 14px;
}
.catalog-card-meta {
  background: var(--paper-2);
  border-style: dashed;
}
.catalog-card header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(14, 27, 48, .25);
}
.catalog-card header strong {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 15px;
  color: var(--ink);
  font-variation-settings: "opsz" 72, "SOFT" 100, "WONK" 1, "wght" 500;
}
.catalog-card header span {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--rust);
}
.catalog-card ul {
  list-style: none;
  padding: 0; margin: 0;
}
.catalog-card li {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink);
  padding: 3px 0;
  border-bottom: 1px dotted rgba(14, 27, 48, .12);
}
.catalog-card li:last-child { border-bottom: 0; }
.catalog-card li em {
  font-style: italic;
  color: var(--brass);
  font-size: 11px;
}

/* iPad kartı içinde sub-aile başlığı (Pro 11" · Pro 12.9" · Air-mini-10) */
.catalog-card li.cat-sub {
  border-bottom: 0;
  padding: 8px 0 2px;
  margin-top: 4px;
  border-top: 1px dashed rgba(14, 27, 48, .14);
}
.catalog-card li.cat-sub:first-child {
  margin-top: 0;
  border-top: 0;
  padding-top: 2px;
}
.catalog-card li.cat-sub em {
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rust);
}
/* Mac kartında kategori-renkli sub-aile başlıkları */
.catalog-card li.cat-sub[data-cat="usbc"] em { color: var(--spark); }
.catalog-card li.cat-sub[data-cat="m1"]   em { color: var(--spark); }
.catalog-card li.cat-sub[data-cat="t2"]   em { color: var(--rust); }
.catalog-card li.cat-sub[data-cat="efi"]  em { color: var(--ink-soft); }
.catalog-card li.cat-sub[data-cat="gpu"]  em { color: var(--moss); }

/* Mac kartı geniş — Mac BIOS modelleri çok detaylı, 2 kolon kaplasın */
.catalog-grid .catalog-card-mac-wide {
  grid-column: span 2;
}
.catalog-card-mac-wide ul {
  /* iç liste 2 kolona düşsün — sub-başlıklar break-inside avoid */
  column-count: 2;
  column-gap: 22px;
  column-rule: 1px dashed rgba(14, 27, 48, .12);
}
.catalog-card-mac-wide li {
  break-inside: avoid;
}
.catalog-card-mac-wide li.cat-sub {
  break-before: column;
  break-after: avoid;
}
.catalog-card-mac-wide li.cat-sub:first-child {
  break-before: avoid;
}
@media (max-width: 900px) {
  .catalog-grid .catalog-card-mac-wide { grid-column: span 1; }
  .catalog-card-mac-wide ul { column-count: 1; }
}

/* ---- Strip-detail içinde ikinci alt başlık (Mac BIOS bölümü) ---- */
.strip-sub-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 22px 0 8px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(14, 27, 48, .25);
}
.strip-sub-no {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--rust);
  text-transform: uppercase;
}
.strip-sub-head h5 {
  font-family: var(--f-display);
  font-style: italic;
  font-variation-settings: "opsz" 72, "SOFT" 100, "WONK" 1, "wght" 500;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.008em;
  flex: 1 1 auto;
  margin: 0;
}
.strip-sub-count {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.strip-detail-lede-tight {
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 12px;
}
.catalog-grid-mac {
  /* Mac kategori grid'i biraz daha sıkışık olsun */
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

/* ---- Mac BIOS kategorileri — sol kenar renk şeridi + üst etiket ---- */
.catalog-card-cat {
  position: relative;
  padding-left: 18px;
}
.catalog-card-cat::before {
  content: "";
  position: absolute;
  left: 0; top: 12px; bottom: 12px;
  width: 3px;
  border-radius: 0 1px 1px 0;
  background: var(--ink-soft);
}
.catalog-card-cat[data-cat="m1"]::before  { background: var(--spark); }
.catalog-card-cat[data-cat="t2"]::before  { background: var(--rust); }
.catalog-card-cat[data-cat="efi"]::before { background: var(--ink-soft); }
.catalog-card-cat[data-cat="gpu"]::before { background: var(--moss); }
.catalog-card-cat::after {
  /* sağ üstte kategori mührü */
  position: absolute;
  top: 10px; right: 12px;
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 2px 5px;
  border-radius: 2px;
  border: 1px solid currentColor;
  opacity: .8;
}
.catalog-card-cat[data-cat="m1"]::after  { content: "M1";  color: var(--spark); }
.catalog-card-cat[data-cat="t2"]::after  { content: "T2";  color: var(--rust); }
.catalog-card-cat[data-cat="efi"]::after { content: "EFI"; color: var(--ink-soft); }
.catalog-card-cat[data-cat="gpu"]::after { content: "GPU"; color: var(--moss); }
.catalog-card-cat header { padding-right: 38px; }
.catalog-card-cat .cat-codes em {
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: .08em;
  color: var(--ink-mute);
  line-height: 1.65;
}

.hero-foot {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 8px;
}
.foot-cell { padding: 4px 0; }
.foot-label {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.foot-cell p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-2);
}

/* ============================================================
