/* Shared owl-crop texture: halftone scanlines over an engraved crop */
.card::before, .tile::before, .banner-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/owl.jpg') no-repeat;
  filter: grayscale(0.15) contrast(1.15);
  transition: transform 1.2s var(--ease), opacity 0.6s;
}
.card::after, .tile::after, .banner-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.38) 0 1px, transparent 1px 3px);
}

/* Hero plate */
.plate {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1.1;
  border: 1px solid var(--line);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--cream) 9%, transparent), transparent 75%), #070605;
  overflow: hidden;
}
.rays { position: absolute; inset: -6%; width: 112%; height: 112%; color: var(--cream); transition: transform 0.8s var(--ease); }
.rays .ring { transform-origin: 0 0; animation: spin 140s linear infinite; }
.rays .fan { animation: breathe 6s ease-in-out infinite; }
.plate-owl {
  position: absolute;
  top: 47%; left: 50%;
  width: 64%;
  transform: translate(-50%, -50%);
  mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(closest-side, #000 95%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 95%, transparent 100%);
  transition: transform 0.8s var(--ease);
}
.tick { position: absolute; font: 300 18px/1 var(--f-mono); color: var(--cream-40); }
.tick.tl { top: 10px; left: 12px; } .tick.tr { top: 10px; right: 12px; }
.tick.bl { bottom: 10px; left: 12px; } .tick.br { bottom: 10px; right: 12px; }
.plate figcaption {
  position: absolute;
  inset: auto 36px 14px;
  display: flex;
  justify-content: space-between;
  font: 400 10.5px/1 var(--f-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-40);
}

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font: 500 14px/1 var(--f-label); letter-spacing: 0.22em; text-transform: uppercase; color: var(--cream-60); white-space: nowrap; }
.marquee svg { width: 11px; height: 11px; color: var(--cream); }

/* Lab */
.lab { padding-top: 128px; padding-bottom: 96px; }
.mark { display: block; width: 22px; height: 22px; margin: 0 auto 26px; color: var(--cream); }
.mark-inline { width: 0.3em; height: 0.3em; vertical-align: super; color: var(--cream); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  min-height: 300px;
  padding: 40px 28px;
  text-align: center;
  border: 1px solid var(--line);
  background: var(--panel);
}
.card::before { background-size: 300%; background-position: var(--crop); opacity: 0.32; }
.card::after {
  background:
    radial-gradient(closest-side, color-mix(in srgb, var(--panel) 92%, transparent) 30%, transparent),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.38) 0 1px, transparent 1px 3px);
}
.card:hover::before { opacity: 0.5; transform: scale(1.05); }
.card > * { position: relative; z-index: 1; margin: 0; }
.card h3 { font-size: 40px; }
.card p:last-child { font-size: 15px; color: var(--cream-80); max-width: 30ch; }

/* Vision */
.vision { padding-top: 96px; padding-bottom: 72px; border-top: 1px dashed var(--line-strong); }
.vision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 28px; margin-top: 64px; }
.idea { display: flex; flex-direction: column; }
.idea-copy { flex: 1; }
.idea h3 { font-size: 42px; margin: 16px 0 16px; }
.idea p:not(.label) { font-size: 15.5px; color: var(--cream-80); margin: 0; }
.tile { position: relative; overflow: hidden; aspect-ratio: 1; margin-top: 28px; border: 1px solid var(--line); background: #070605; }
.tile::before { background-size: var(--zoom); background-position: var(--crop); }
.idea:hover .tile::before { transform: scale(1.06); }
.tile span {
  position: absolute;
  z-index: 1;
  left: 10px; bottom: 10px;
  font: 400 10.5px/1 var(--f-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  background: color-mix(in srgb, var(--void) 75%, transparent);
  padding: 6px 8px;
}

/* Banner */
.banner { padding-block: 72px; }
.banner-frame {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 460px;
  border: 1px solid var(--line);
  background: #070605;
}
.banner-frame::before { left: 44%; background-size: cover; background-position: 50% 30%; }
.banner-frame::after { background: linear-gradient(90deg, #070605 36%, transparent 70%), repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.38) 0 1px, transparent 1px 3px); }
.banner-frame:hover::before { transform: scale(1.04); }
.banner-copy { position: relative; z-index: 1; max-width: 500px; padding: 56px; }
.banner-copy .h2 { font-size: clamp(44px, 5vw, 64px); margin: 22px 0 20px; }
.banner-copy p:not(.label) { color: var(--cream-80); margin: 0 0 30px; }

/* FAQ */
.faq { padding-top: 96px; padding-bottom: 72px; }
.faq-list { margin-top: 48px; }
.faq details { border-top: 1px dashed var(--line-strong); }
.faq details:last-child { border-bottom: 1px dashed var(--line-strong); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font: 300 clamp(22px, 2.4vw, 28px)/1.2 var(--f-display);
  color: var(--cream-hi);
}
.faq summary span { text-decoration: underline 1px var(--line-strong); text-underline-offset: 7px; transition: text-decoration-color 0.2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 300 20px/1 var(--f-mono); color: var(--cream-60); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover span { text-decoration-color: var(--cream); }
.faq details p { margin: 0; padding: 0 0 28px; max-width: 64ch; color: var(--cream-80); }

/* Contact */
.contact { padding-top: 96px; padding-bottom: 120px; }
.contact h2 { font-size: clamp(40px, 7.4vw, 104px); margin: 30px 0 0 -0.03em; overflow-wrap: anywhere; }
.contact h2 a {
  text-decoration: none;
  background: linear-gradient(var(--cream), var(--cream)) left bottom / 0 1px no-repeat;
  transition: background-size 0.5s var(--ease);
}
.contact h2 a:hover { background-size: 100% 1px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding-top: 64px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 56px; height: 56px; border-radius: 50%; margin-bottom: 18px; }
.footer-brand .display { font-size: 34px; text-transform: uppercase; margin-bottom: 10px; }
.footer-col .label { margin-bottom: 16px; }
.footer-col a { display: block; font-size: 15px; line-height: 2; color: var(--cream-60); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--cream-hi); }
.footer-word {
  margin: 72px 0 0.12em -0.04em;
  font-size: clamp(60px, 17.4vw, 206px);
  font-weight: 100;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0 30px;
  border-top: 1px dashed var(--line-strong);
  font: 500 11.5px/1.4 var(--f-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-40);
}

/* Scroll reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@keyframes marquee { to { transform: translateX(calc(-50% - 14px)); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }

@media (max-width: 900px) {
  .nav-inner { grid-template-columns: 1fr 150px 1fr; height: 96px; }
  .nav-link { display: none; }
  .brand { grid-column: 2; }
  .nav-cta { grid-column: 3; }
  .hero { grid-template-columns: 1fr; }
  .plate { max-width: 560px; width: 100%; justify-self: center; }
  .cards, .vision-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .banner-frame::before { left: 0; opacity: 0.45; }
  .banner-frame::after { background: linear-gradient(90deg, #070605 10%, transparent), repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.38) 0 1px, transparent 1px 3px); }
}
@media (max-width: 520px) {
  .nav-cta { display: none; }
  .banner-copy { padding: 36px 24px; }
}
