/* High Ticket Sales Partners — highticket.no */

:root {
  --blekk: #151e2d;      /* bakgrunn */
  --flate: #1b2638;      /* kort */
  --dyp-sjo: #153d47;    /* bånd/gradient */
  --dyp-sjo-2: #154651;  /* gradient sekundær */
  --isbre: #7fd8e8;      /* aksent */
  --lys: #f5fbfd;        /* lys tekst */
  --dempet: #9fb3bd;     /* dempet tekst */
  --linje: rgba(159, 179, 189, 0.15);
  --font-display: 'Jost', sans-serif;
  --font-body: 'Archivo', sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--blekk);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--isbre); text-decoration: none; }
a:hover { color: var(--lys); }

.page { background: var(--blekk); min-height: 100vh; overflow: hidden; }

/* Logolås — forholdstall låst mot --t (TICKET-størrelsen) */
.logo-lock { display: flex; flex-direction: column; align-items: flex-start; }
.logo-lock.center { align-items: center; }
.logo-lock .l-high {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: calc(var(--t) * 1.273); letter-spacing: 0.05em; margin-right: -0.05em;
  color: var(--lys); line-height: 1.05;
}
.logo-lock .l-ticket {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: var(--t); letter-spacing: 0.05em; margin-right: -0.05em;
  color: var(--isbre); line-height: 1.15;
}
.logo-lock .l-sales {
  display: block; font-family: var(--font-body); font-weight: 400;
  font-size: calc(var(--t) * 0.759); letter-spacing: 0.3em; margin-right: -0.3em;
  color: var(--dempet); line-height: 1.3; margin-top: 3px;
}
.logo-lock .l-partners {
  display: block; font-family: var(--font-body); font-weight: 400;
  font-size: calc(var(--t) * 0.46); letter-spacing: 0.3em; margin-right: -0.3em;
  color: var(--dempet); line-height: 1.3;
}

/* Nav */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 64px; border-bottom: 1px solid var(--linje);
}
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a:not(.btn) { font-size: 14px; color: var(--dempet); }
.nav-links a:not(.btn):hover { color: var(--lys); }
.btn {
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  padding: 11px 22px; cursor: pointer; border: none; display: inline-block;
  transition: filter .15s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn-primary { background: var(--isbre); color: #000; }
.btn-outline { background: transparent; border: 1px solid var(--dempet); color: var(--lys); }

.burger { display: none; flex-direction: column; gap: 5px; padding: 6px 2px; background: none; border: none; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--lys); }
.burger span:nth-child(2) { background: var(--isbre); }
.burger span:nth-child(3) { width: 16px; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
  padding: 96px 64px 88px; position: relative; overflow: hidden;
}
.hero-decor { position: absolute; border: 1px solid rgba(127, 216, 232, 0.14); transform: rotate(45deg); pointer-events: none; }
.hero-decor.d1 { right: -120px; top: -120px; width: 420px; height: 420px; }
.hero-decor.d2 { right: 40px; top: 120px; width: 200px; height: 200px; border-color: rgba(127, 216, 232, 0.1); }
.kicker { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.4em; color: var(--isbre); margin-bottom: 20px; }
#roller > .kicker, .process-section > .kicker { margin-bottom: 14px; }
.hero h1 {
  font-family: var(--font-display); font-weight: 600; font-size: 56px; color: var(--lys);
  line-height: 1.12; margin: 0 0 22px; text-wrap: pretty;
}
.hero .lead { color: var(--dempet); font-size: 17px; line-height: 1.65; margin: 0 0 34px; max-width: 520px; }
.hero-ctas { display: flex; gap: 14px; }
.hero-ctas .btn { font-size: 14px; padding: 14px 28px; }

.portraits { position: relative; height: 480px; }
.p-diamond { position: absolute; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); background: var(--dyp-sjo); overflow: hidden; }
.p-diamond img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.08); mix-blend-mode: luminosity;
}
.p1 { left: 30px; top: 10px; width: 230px; height: 230px; }
.p1 img { object-position: 50% 18%; }
.p2 { right: 40px; top: 120px; width: 200px; height: 200px; }
.p2 img { object-position: 50% 14%; }
.p3 { left: 110px; top: 250px; width: 200px; height: 200px; }
.p3 img { object-position: 50% 12%; }
.p-dot { position: absolute; background: var(--isbre); transform: rotate(45deg); }
.p-dot.a { right: 120px; top: 70px; width: 14px; height: 14px; }
.p-dot.b { left: 60px; top: 290px; width: 10px; height: 10px; }
.p-dot.c { right: 70px; bottom: 60px; width: 18px; height: 18px; background: none; border: 1.5px solid var(--isbre); }

/* Stats-bånd */
.stats { display: flex; border-top: 1px solid var(--linje); border-bottom: 1px solid var(--linje); background: var(--dyp-sjo); }
.stats > div { flex: 1; padding: 36px 64px; border-right: 1px solid var(--linje); }
.stats > div:last-child { border-right: none; }
.stat-num { font-family: var(--font-display); font-weight: 600; font-size: 34px; color: var(--isbre); }
.stat-label { font-size: 13px; color: var(--dempet); margin-top: 4px; }

/* Roller */
.section { padding: 88px 64px; }
.section h2 { font-family: var(--font-display); font-weight: 500; font-size: 36px; color: var(--lys); margin: 0 0 44px; }
.roles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.role-card { background: var(--flate); padding: 34px 30px; border-top: 2px solid var(--isbre); }
.role-icon { width: 22px; height: 22px; margin: 6px 0 24px; transform: rotate(45deg); box-sizing: border-box; }
.role-icon.outline { border: 2px solid var(--isbre); }
.role-icon.filled { background: var(--isbre); }
.role-icon-pair { display: flex; gap: 4px; margin: 6px 0 24px; }
.role-icon-pair .dim { width: 14px; height: 14px; background: var(--dempet); opacity: 0.5; margin-top: 8px; transform: rotate(45deg); }
.role-icon-pair .bright { width: 22px; height: 22px; background: var(--isbre); transform: rotate(45deg); }
.role-card .title { font-family: var(--font-display); font-weight: 500; font-size: 21px; color: var(--lys); margin-bottom: 12px; }
.role-card p { color: var(--dempet); font-size: 14.5px; line-height: 1.65; margin: 0; }

/* Slik jobber vi */
.process-section { padding: 0 64px 88px; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.process-step .step-title { font-family: var(--font-display); font-weight: 500; font-size: 16px; color: var(--lys); margin-bottom: 6px; }
.process-step .step-title span { color: var(--isbre); margin-right: 8px; }
.process-step p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--dempet); }

/* CTA */
.cta-section {
  margin: 0 64px 88px; background: linear-gradient(120deg, var(--dyp-sjo) 30%, var(--dyp-sjo-2));
  padding: 64px 56px; display: flex; align-items: center; justify-content: space-between; gap: 40px;
  position: relative; overflow: hidden;
}
.cta-decor { position: absolute; right: -60px; bottom: -100px; width: 260px; height: 260px; border: 1px solid rgba(127, 216, 232, 0.2); transform: rotate(45deg); pointer-events: none; }
.cta-section .copy { max-width: 560px; }
.cta-section .kicker { margin-bottom: 12px; font-size: 11px; }
.cta-section .title { font-family: var(--font-display); font-weight: 500; font-size: 30px; color: var(--lys); line-height: 1.25; margin-bottom: 14px; }
.cta-section p { color: var(--dempet); font-size: 15px; line-height: 1.6; margin: 0; }
.cta-action { display: flex; align-items: center; gap: 36px; }
.monogram {
  border: 2.5px solid var(--isbre); transform: rotate(45deg); display: flex;
  align-items: center; justify-content: center; flex: 0 0 auto;
}
.monogram span { transform: rotate(-45deg); font-family: var(--font-display); font-weight: 600; line-height: 0.95; color: var(--lys); text-align: center; }
.monogram span b { color: var(--isbre); font-weight: 600; }
.monogram.lg { width: 64px; height: 64px; }
.monogram.lg span { font-size: 17px; }
.monogram.sm { width: 52px; height: 52px; }
.monogram.sm span { font-size: 14px; }
.cta-action .btn { font-size: 14px; padding: 14px 28px; white-space: nowrap; }

/* Footer */
footer {
  border-top: 1px solid var(--linje); padding: 40px 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-copy { font-size: 12px; color: var(--dempet); }

/* Mobil (<=768px) */
@media (max-width: 768px) {
  nav { padding: 16px 22px; }
  .nav-links {
    display: none; position: fixed; inset: 0; top: 65px; background: var(--blekk);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 22px; z-index: 20;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 16px 0; width: 100%; border-bottom: 1px solid var(--linje); font-size: 16px; }
  .nav-links .btn { margin-top: 20px; text-align: center; width: 100%; }
  .burger { display: flex; }

  .hero { grid-template-columns: 1fr; padding: 56px 22px 40px; gap: 0; }
  .hero-decor.d1 { right: -110px; top: -110px; width: 280px; height: 280px; }
  .hero-decor.d2 { display: none; }
  .kicker { font-size: 11px; letter-spacing: 0.36em; margin-bottom: 16px; }
  .hero h1 { font-size: 38px; line-height: 1.14; margin-bottom: 16px; }
  .hero .lead { font-size: 15.5px; margin-bottom: 28px; max-width: none; }
  .hero-ctas { flex-direction: column; gap: 12px; }
  .hero-ctas .btn { padding: 15px 28px; text-align: center; }

  .portraits-wrap { height: 360px; position: relative; margin-top: 36px; overflow: hidden; }
  .portraits { transform: scale(0.72); transform-origin: top left; width: 470px; }

  .stats { flex-direction: column; }
  .stats > div { border-right: none; border-bottom: 1px solid var(--linje); padding: 26px 22px; }
  .stats > div:last-child { border-bottom: none; }
  .stat-num { font-size: 28px; }

  .section { padding: 56px 22px; }
  .section h2 { font-size: 27px; margin-bottom: 28px; }
  #roller > .kicker { margin-bottom: 12px; }
  .roles-grid { grid-template-columns: 1fr; gap: 16px; }
  .role-card { padding: 28px 24px; }
  .role-icon { width: 20px; height: 20px; margin: 4px 0 20px; }
  .role-icon-pair { margin: 4px 0 20px; }
  .role-icon-pair .dim { width: 13px; height: 13px; margin-top: 7px; }
  .role-icon-pair .bright { width: 20px; height: 20px; }
  .role-card .title { font-size: 19px; margin-bottom: 10px; }
  .role-card p { font-size: 14px; }

  .process-section { padding: 0 22px 56px; }
  .process-section > .kicker { margin-bottom: 20px; }
  .process-grid { grid-template-columns: 1fr; gap: 22px; }
  .process-step .step-title { margin-bottom: 5px; }

  .cta-section {
    margin: 0 22px 56px; padding: 40px 28px; flex-direction: column;
    justify-content: flex-start; gap: 0; text-align: center;
  }
  .cta-section .copy, .cta-section .cta-action { display: contents; }
  .cta-section .kicker { order: 2; font-size: 10px; margin-bottom: 10px; }
  .cta-section .title { order: 3; font-size: 23px; margin-bottom: 12px; }
  .cta-section p { order: 4; margin-bottom: 24px; }
  .monogram.lg { order: 1; width: 52px; height: 52px; margin: 8px auto 28px; }
  .monogram.lg span { font-size: 14px; }
  .cta-action .btn { order: 5; width: 100%; text-align: center; }

  footer { flex-direction: column; gap: 16px; padding: 32px 22px; text-align: center; }
  footer .logo-lock { align-items: center; }
  .footer-copy { text-align: center; line-height: 1.6; }
}

/* Søknadsskjema (soknad.html) */
main.page {
  max-width: 640px; margin: 0 auto; padding: 72px 24px 96px;
}
main.page .kicker { display: block; }
main.page h1 { font-family: var(--font-display); font-weight: 500; font-size: 34px; color: var(--lys); margin: 14px 0 12px; }
main.page .lead { color: var(--dempet); font-size: 16px; line-height: 1.6; margin: 0 0 40px; max-width: 520px; }

.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .field { margin-bottom: 22px; }
.form label { display: block; font-size: 13px; color: var(--dempet); margin-bottom: 8px; }
.form .req { color: var(--isbre); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea {
  width: 100%; background: rgba(245, 251, 253, 0.06); border: 1px solid rgba(159, 179, 189, 0.35);
  color: var(--lys); font-family: var(--font-body); font-size: 14.5px; padding: 13px 16px;
  outline: none; transition: border-color .15s ease;
}
.form textarea { min-height: 96px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: var(--dempet); opacity: 0.7; }
.form input:focus, .form select:focus, .form textarea:focus {
  border-color: var(--isbre); outline: 2px solid rgba(127, 216, 232, 0.35); outline-offset: -1px;
}
.form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239fb3bd' fill='none' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form-actions { margin-top: 32px; }
.form-actions .btn { width: 100%; padding: 15px; font-size: 14px; }
.form-note { font-size: 12px; color: var(--dempet); margin-top: 14px; }

.form-msg { font-size: 15px; line-height: 1.6; margin-top: 24px; }
.form-msg.ok { color: var(--isbre); }
.form-msg.err { color: #ff9a9a; }

@media (max-width: 768px) {
  main.page { padding: 48px 22px 72px; }
  main.page h1 { font-size: 27px; }
}
