/* KamaxMedia: Nightfire */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 125%;
  font-display: swap;
  src: url('../fonts/archivo-125-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 125%;
  font-display: swap;
  src: url('../fonts/archivo-125-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #0F0D0C;
  --surface: #171412;
  --ink: #F4F0E8;
  --muted: #A69F93;
  --accent: #FF6B35;
  --accent-bright: #FF7E4D;
  --accent-ink: #141110;
  --line: #2A2622;
  --cream: #F4F0E8;
  --cream-ink: #141110;
  --cream-muted: #6E675C;
  --cream-line: #DAD3C6;
  --font: 'Archivo', sans-serif;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 6px;
  --container: 1360px;
  --pad: clamp(20px, 3.4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

html, body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  pointer-events: none;
  opacity: .28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

.container { width: min(100% - 2 * var(--pad), var(--container)); margin-inline: auto; }

.sec-cream {
  background: var(--cream);
  color: var(--cream-ink);
}

.section { padding-block: clamp(110px, 12vw, 180px); }

.display {
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: .94;
}

.section-title {
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 4.6vw, 3.8rem);
  line-height: .96;
  letter-spacing: -0.02em;
  margin: 0 0 clamp(48px, 6vw, 88px);
}

.orange { color: var(--accent); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  transition: background-color .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(15, 13, 12, .96);
  border-bottom-color: var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}
.brand {
  font-stretch: 125%;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}
.brand span { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 38px); }

/* Rolling hover for nav links */
.site-nav a:not(.btn) {
  position: relative;
  overflow: hidden;
  display: inline-block;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
}
.site-nav a:not(.btn) .roll { display: block; transition: transform .35s cubic-bezier(.65, 0, .35, 1); }
.site-nav a:not(.btn) .roll::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 100%;
  color: var(--ink);
}
.site-nav a:not(.btn):hover .roll,
.site-nav a:not(.btn):focus-visible .roll { transform: translateY(-100%); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
  will-change: transform;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--accent-bright); }
.btn-primary .btn-arrow { transition: transform .2s ease; }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }
.btn-ghost { border-color: currentColor; color: var(--ink); }
.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--accent); }
.sec-cream .btn-ghost { color: var(--cream-ink); }
.sec-cream .btn-ghost:hover { color: var(--accent); }
.btn-sm { padding: 11px 22px; font-size: .92rem; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding-top: 78px;
}
.spotlight { position: relative; }
.spotlight .spot {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s ease;
  background: radial-gradient(640px circle at var(--sx, 60%) var(--sy, 30%), rgba(255, 107, 53, .10), transparent 65%);
}
.spotlight.is-live .spot { opacity: 1; }

.hero-kicker {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
  color: var(--muted);
  font-size: .9rem;
}
.hero-title {
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(3rem, 10.6vw, 10rem);
  line-height: .92;
  letter-spacing: -0.025em;
  margin: clamp(36px, 4.5vw, 64px) 0 0;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line-in { display: inline-block; }
html.js .hero-title .line-in {
  transform: translateY(110%);
  transition: transform .9s cubic-bezier(.22, .8, .3, 1);
}
html.js .hero-title.is-in .line-in { transform: none; }
.hero-title .line:nth-child(2) .line-in { transition-delay: .1s; }
.hero-title .line:nth-child(3) .line-in { transition-delay: .2s; }
.hero-title .indent { padding-left: clamp(40px, 12vw, 190px); }
.hero-title em { font-style: italic; font-weight: 700; color: var(--accent); }
.hero-title .ch { display: inline-block; transition: transform .28s cubic-bezier(.34, 1.56, .64, 1); }
.hero-title .ch:hover { transform: translateY(-.08em); }

.hero-meta {
  display: grid;
  gap: 36px;
  margin-block: clamp(44px, 5.5vw, 80px);
  align-items: end;
}
@media (min-width: 860px) { .hero-meta { grid-template-columns: 1fr auto; } }
.hero-sub { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 42ch; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Marquee ---------- */

.marquee {
  border-block: 1.5px solid var(--ink);
  padding: 20px 0;
  white-space: nowrap;
  overflow: hidden;
}
.marquee .track {
  display: inline-block;
  font-stretch: 125%;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.1rem, 1.9vw, 1.6rem);
  letter-spacing: .02em;
}
html.js .marquee .track { animation: mq 22s linear infinite; }
@keyframes mq { to { transform: translateX(-50%); } }
.marquee .sep { color: var(--accent); padding-inline: 1.4em; }
.sec-cream.marquee { border-color: var(--cream-ink); }

/* ---------- Services panels ---------- */

.services-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px; }
.panel {
  grid-column: span 12;
  position: relative;
  border-radius: var(--r-lg);
  padding: clamp(32px, 3.6vw, 56px);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .3s cubic-bezier(.22, .61, .36, 1);
}
.panel:hover { transform: translateY(-6px); }
.panel-cream { background: var(--cream); color: var(--cream-ink); border: none; }
.panel-orange { background: var(--accent); color: var(--accent-ink); border: none; }
.panel h3 {
  font-stretch: 125%;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.3rem, 2.1vw, 1.8rem);
  line-height: 1;
  margin: 0 0 18px;
  max-width: 14ch;
}
.panel p { margin: 0; line-height: 1.65; max-width: 44ch; opacity: .85; }
.panel .num {
  position: absolute;
  right: 18px;
  bottom: 2px;
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(4rem, 7vw, 6.5rem);
  line-height: 1;
  opacity: .13;
  pointer-events: none;
}
.panel .service-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 30px; }
.panel .service-tags span {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .04em;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 5px 12px;
  opacity: .7;
}
@media (min-width: 860px) {
  .panel.w7 { grid-column: span 7; }
  .panel.w5 { grid-column: span 5; }
}

/* Orange edge that follows the cursor (dark panels) */
.glow-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(280px circle at var(--x, -200px) var(--y, -200px), var(--accent), transparent 65%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.glow-card:hover::before { opacity: 1; }

/* ---------- Portal (cream) ---------- */

.portal { overflow: hidden; position: relative; }
.portal-word {
  position: absolute;
  right: -3vw;
  bottom: -8vw;
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(9rem, 26vw, 24rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(20, 17, 16, .16);
  pointer-events: none;
  user-select: none;
  will-change: transform;
}
.portal .container { position: relative; z-index: 1; }
.label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.portal-title {
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 4.6vw, 4rem);
  line-height: .96;
  letter-spacing: -0.02em;
  margin: 0 0 26px;
}
.portal-text { color: var(--cream-muted); max-width: 52ch; margin: 0 0 48px; line-height: 1.75; }

/* ---------- About (dark list) ---------- */

.about-grid { display: grid; gap: clamp(32px, 5vw, 80px); }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 5fr 7fr; align-items: start; }
  .about-grid > .section-title { position: sticky; top: 120px; margin-bottom: 0; }
}
.about-list { display: grid; margin: 0; padding: 0; list-style: none; }
.about-list li { padding: clamp(34px, 4vw, 56px) 0; border-top: 1px solid var(--line); }
.about-list li:last-child { border-bottom: 1px solid var(--line); }
.about-list h3 {
  font-stretch: 125%;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  line-height: 1.05;
  margin: 0 0 10px;
}
.about-list p { margin: 0; color: var(--muted); max-width: 58ch; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; gap: clamp(40px, 5vw, 88px); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 5fr 6fr; } }
.contact-email {
  display: inline-block;
  font-stretch: 125%;
  font-weight: 700;
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  color: var(--accent);
  text-decoration: none;
  margin: 8px 0 36px;
  overflow-wrap: anywhere;
}
.contact-email:hover { color: var(--accent-bright); text-decoration: underline; text-underline-offset: 7px; }
.contact-address { font-style: normal; color: var(--muted); line-height: 1.9; }

.contact-form { display: grid; gap: 26px; }
.form-field { display: grid; gap: 9px; }
.form-field label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-field input,
.form-field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  padding: 15px 17px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #6B655D; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, .18);
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.form-check input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.form-check label { cursor: pointer; line-height: 1.55; }
.form-check a { color: var(--ink); text-underline-offset: 3px; }
.form-check a:hover { color: var(--accent); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-notice {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 18px;
  font-size: .95rem;
  margin-bottom: 20px;
}
.form-notice.is-ok { border-color: var(--accent); }
.form-notice.is-error { border-color: #D14B3A; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding-block: 46px; }
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
  font-size: .88rem;
  color: var(--muted);
}
.site-footer p { margin: 0; }

/* ---------- Reveals ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.22, .61, .36, 1), transform .8s cubic-bezier(.22, .61, .36, 1);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .reveal[data-delay='1'] { transition-delay: .12s; }
html.js .reveal[data-delay='2'] { transition-delay: .24s; }
html.js .reveal[data-delay='3'] { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html.js .hero-title .line-in { transform: none; transition: none; }
  html.js .marquee .track { animation: none; }
  .hero-title .ch { transition: none; }
  .hero-title .ch:hover { transform: none; }
  .spotlight .spot { display: none; }
  .glow-card::before { display: none; }
  .panel, .panel:hover { transform: none; transition: none; }
  .btn, .btn-primary .btn-arrow, .site-nav a:not(.btn) .roll { transition: none; }
}

/* ---------- Mobile ---------- */

@media (max-width: 700px) {
  .site-nav a:not(.btn) { display: none; }
  .brand { font-size: .82rem; letter-spacing: .1em; }
  .section-title { font-size: min(7vw, 2.4rem); }
  .portal-title { font-size: min(7vw, 2.4rem); }
  .site-header .btn-sm { padding: 10px 16px; font-size: .85rem; }
  .site-header .container { height: 64px; }
  .hero { justify-content: center; }
  .hero-title { font-size: 10.2vw; letter-spacing: -0.02em; }
  .hero-title .indent { padding-left: 7vw; }
  .portal-word { font-size: 9rem; right: -8vw; bottom: -2rem; }
  .panel { min-height: 0; }
  .panel .num { font-size: 3.6rem; }
}
