/* ============================================================
   DAY OWL STUDIO — fast landing page (hero + form)
   Bold monochrome · CSS-only motion (no GSAP/Lenis)
============================================================ */
:root {
  --bg: #050505;
  --fg: #fdfdfd;
  --muted: #8a8a8a;
  --line: rgba(255, 255, 255, 0.12);
  --card: #0d0d0d;
  --font-head: "Cabinet Grotesk", sans-serif;
  --font-body: "Switzer", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

body { background: var(--bg); color: var(--fg); font-family: var(--font-body); line-height: 1.5; overflow-x: hidden; }
::selection { background: var(--fg); color: var(--bg); }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: clamp(20px, 5vw, 72px); padding-right: clamp(20px, 5vw, 72px); }
.label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

/* Nav */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 22px clamp(20px, 5vw, 72px); }
.nav__brand { font-family: var(--font-head); font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.nav__logo { width: 28px; height: 28px; object-fit: contain; }
@keyframes spin { to { transform: rotate(360deg); } }
.nav__link { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); transition: color 0.3s var(--ease); }
.nav__link:hover { color: var(--fg); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 96px 0 48px; }
.hero__bg { position: absolute; inset: 0; z-index: 0; opacity: 0.22; filter: grayscale(1) contrast(1.1); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, var(--bg) 30%, rgba(5,5,5,0.5) 100%); }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; width: 100%; }

.hero__copy .label { display: block; margin-bottom: 24px; }
.hero__title { font-family: var(--font-head); font-weight: 900; text-transform: uppercase; line-height: 0.84; letter-spacing: -0.03em; font-size: clamp(48px, 8.5vw, 128px); }
.hero__title sup { font-size: 0.26em; vertical-align: super; }
.line { display: block; overflow: hidden; }
.line__in { display: block; }
.hero__tag { max-width: 460px; margin-top: 26px; font-size: clamp(15px, 1.3vw, 18px); color: #cfcfcf; }
.hero__tag em { font-family: var(--font-head); font-style: italic; color: var(--fg); }
.hero__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hero__tags li { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; }

/* Form card */
.card { background: rgba(13,13,13,0.72); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 2.6vw, 38px); }
.card__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.02em; }
.card__sub { color: var(--muted); font-size: 14px; margin-top: 8px; margin-bottom: 26px; }

.form { display: flex; flex-direction: column; gap: 20px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; }
.field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.field input, .field textarea { background: transparent; border: none; border-bottom: 1px solid var(--line); color: var(--fg); font-family: var(--font-body); font-size: 16px; padding: 6px 0 10px; width: 100%; transition: border-color 0.3s var(--ease); resize: none; }
.field input::placeholder, .field textarea::placeholder { color: #4a4a4a; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--fg); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff5a5a; }
.form__error { color: #ff6b6b; font-family: var(--font-mono); font-size: 12px; min-height: 4px; }
.btn-submit { cursor: pointer; border: none; background: var(--fg); color: var(--bg); font-family: var(--font-head); font-weight: 600; font-size: 16px; letter-spacing: 0; text-transform: none; border-radius: 999px; padding: 16px 30px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; transition: transform 0.3s var(--ease), background 0.3s var(--ease), opacity 0.3s; }
.btn-submit:hover { transform: translateY(-2px); background: #e2e2e2; }
.btn-submit__arrow { transition: transform 0.3s var(--ease); }
.btn-submit:hover .btn-submit__arrow { transform: translateX(5px); }
.btn-submit:disabled { opacity: 0.5; cursor: default; }

.success { text-align: center; padding: 20px 0 8px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.success__logo { width: 60px; height: 60px; object-fit: contain; }
.success__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.02em; }
.success__body { color: var(--muted); max-width: 34ch; font-size: 15px; }
.success__again { cursor: pointer; margin-top: 8px; background: transparent; border: 1px solid var(--line); color: var(--fg); border-radius: 999px; padding: 12px 26px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; transition: border-color 0.3s var(--ease); }
.success__again:hover { border-color: var(--fg); }

/* Marquee (CSS only) */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(12px, 1.6vw, 20px) 0; overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; animation: scroll 32s linear infinite; will-change: transform; }
.marquee__track span { font-family: var(--font-head); font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 6.5vw, 100px); letter-spacing: -0.02em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.26); padding-right: 0.3em; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Section head */
.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-title { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.02em; line-height: 0.95; font-size: clamp(34px, 6vw, 78px); }

/* Services */
.services { padding: clamp(60px, 8vw, 110px) clamp(20px, 5vw, 72px) clamp(40px, 5vw, 60px); }
.svc-list { list-style: none; border-top: 1px solid var(--line); }
.svc { position: relative; display: grid; grid-template-columns: 80px 1fr auto; align-items: baseline; gap: 20px; padding: clamp(18px, 2.6vw, 34px) 6px; border-bottom: 1px solid var(--line); transition: padding-left 0.5s var(--ease), color 0.4s var(--ease); }
.svc::before { content: ""; position: absolute; inset: 0; background: var(--fg); transform: scaleY(0); transform-origin: bottom; transition: transform 0.45s var(--ease); z-index: -1; }
.svc:hover { padding-left: 24px; color: var(--bg); }
.svc:hover::before { transform: scaleY(1); transform-origin: top; }
.svc:hover .svc__no, .svc:hover .svc__meta { color: rgba(5,5,5,0.6); }
.svc__no { font-family: var(--font-mono); font-size: 13px; color: var(--muted); transition: color 0.4s var(--ease); }
.svc__name { font-family: var(--font-head); font-weight: 700; font-size: clamp(26px, 4.4vw, 58px); letter-spacing: -0.02em; line-height: 1; }
.svc__meta { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); text-align: right; transition: color 0.4s var(--ease); }

/* Footer */
.footer { padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 72px) 40px; border-top: 1px solid var(--line); }
.footer__big { font-family: var(--font-head); font-weight: 900; text-transform: uppercase; line-height: 0.9; letter-spacing: -0.03em; font-size: clamp(40px, 10vw, 150px); }
.footer__links { display: flex; flex-wrap: wrap; gap: 16px 26px; margin-top: clamp(28px, 4vw, 52px); font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.footer__links a { color: var(--muted); transition: color 0.3s var(--ease); }
.footer__links a:hover { color: var(--fg); }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.footer__base a { transition: color 0.3s var(--ease); }
.footer__base a:hover { color: var(--fg); }

/* ---- Motion ---- */
.anim { opacity: 0; transform: translateY(24px); animation: rise 0.8s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 88px; }
}
@media (max-width: 620px) {
  .row { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 44px 1fr; }
  .svc__meta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .anim, [data-reveal] { opacity: 1 !important; transform: none !important; animation: none !important; }
  .marquee__track, .nav__owl, .success__mark { animation: none !important; }
}
