/* Playmaker Agency. Mobil först. Typsnitt: Barlow Condensed + Source Serif 4 (Google Fonts, fria). */
:root {
  --ink: #0b0b0c;
  --ink-2: #151517;
  --line: #2a2a2d;
  --paper: #f3efe6;
  --text: #f4f1ea;
  --muted: #a9a49a;
  --muted-dark: #5d5950;
  --gold: #dca10f;
  --gold-2: #f0b92a;
  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --wrap: 1240px;
  --pad: clamp(20px, 5vw, 48px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; text-transform: uppercase; line-height: .92; letter-spacing: .005em; margin: 0; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--gold); color: var(--ink); padding: 8px 14px; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }

.kicker { font: 600 14px/1.3 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(11,11,12,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 22px/1 var(--head); text-transform: uppercase; letter-spacing: .02em; }
.brand img { width: 34px; height: 34px; }
.brand em { font-style: normal; color: var(--gold); }
.site-header nav { display: flex; gap: 4px; }
.site-header nav a { font: 600 15px/1 var(--head); text-transform: uppercase; letter-spacing: .1em; text-decoration: none; padding: 10px 8px; color: var(--text); }
.site-header nav a:hover { color: var(--gold-2); }
.site-header nav a:not(.nav-cta) { display: none; }
.nav-cta { border: 1px solid var(--gold); color: var(--gold) !important; padding: 9px 14px !important; }
@media (min-width: 760px) {
  .site-header nav { gap: 18px; }
  .site-header nav a:not(.nav-cta) { display: inline-block; }
  .brand { font-size: 24px; }
  .brand img { width: 40px; height: 40px; }
}

/* Buttons */
.btn { display: inline-block; font: 600 17px/1 var(--head); text-transform: uppercase; letter-spacing: .1em; text-decoration: none; padding: 16px 22px; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-line { border-color: #55534e; color: var(--text); text-transform: none; letter-spacing: .02em; }
.btn-line:hover { border-color: var(--text); }
.btn-big { font-size: clamp(20px, 3.2vw, 24px); font-weight: 800; padding: 20px 40px; letter-spacing: .12em; min-width: 240px; text-align: center; }
.btn-gold:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }
.btn-gold:active { transform: translateY(1px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Facts */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-2); }
.facts-grid { display: grid; }
.facts-grid > div { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 22px 0; border-top: 1px solid var(--line); }
.facts-grid > div:first-child { border-top: 0; }
.fact-big { font: 800 44px/1 var(--head); white-space: nowrap; color: var(--gold); min-width: 2.6ch; text-transform: uppercase; }
.fact-text { font-size: 17px; color: #cfcac0; line-height: 1.4; }
@media (min-width: 900px) {
  .facts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts-grid > div { align-content: start; }
  .facts-grid > div { grid-template-columns: 1fr; gap: 8px; padding: 36px 32px; border-top: 0; border-left: 1px solid var(--line); }
  .facts-grid > div:first-child { border-left: 0; padding-left: 0; }
  .fact-big { font-size: 64px; }
}

/* Section heads */
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head h2, .about-intro h2 { font-size: clamp(46px, 9vw, 96px); margin-bottom: 20px; }
.section-intro { font-size: 19px; color: #cfcac0; }

/* Players */
.players { padding: 80px 0 72px; }
.roster { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.roster figure { margin: 0; position: relative; overflow: hidden; background: #1b1b1e; }
.roster img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s ease; }
.roster figure::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(to bottom, rgba(11,11,12,0), rgba(11,11,12,.92)); pointer-events: none; }
.roster figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; }
.roster strong { display: block; font: 800 clamp(20px, 5vw, 28px)/.95 var(--head); text-transform: uppercase; }
.roster span { display: block; margin-top: 6px; font: 500 13px/1.2 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); }
.roster li:hover img { transform: scale(1.04); }
.roster-cta { margin: 40px 0 0; font-size: 19px; color: #cfcac0; }
.roster-cta a { color: var(--gold-2); text-underline-offset: 4px; }
@media (min-width: 700px) { .roster { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1100px) { .roster { grid-template-columns: repeat(4, 1fr); } .players { padding: 120px 0 100px; } }

/* Band */
.band { position: relative; min-height: 420px; display: grid; align-items: end; overflow: hidden; }
.band picture, .band picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,11,12,.85), rgba(11,11,12,.15) 70%); }
.band-copy { position: relative; z-index: 1; padding-top: 140px; padding-bottom: 56px; width: 100%; }
.band-quote { font: 800 clamp(44px, 9vw, 120px)/.9 var(--head); text-transform: uppercase; margin: 0; max-width: 11em; }
@media (min-width: 900px) { .band { min-height: 620px; } .band-copy { padding-bottom: 88px; } }

/* Services (ljus sektion) */
.services { background: var(--paper); color: var(--ink); padding: 80px 0; }
.services .kicker { color: #9a6d00; }
.services .section-intro { color: #3d3a34; }
.service-list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.service-list li { display: flex; align-items: baseline; gap: 18px; padding: 20px 0; border-top: 1px solid #cfc8b8; font: 800 clamp(26px, 5vw, 40px)/1 var(--head); text-transform: uppercase; }
.service-list li:last-child { border-bottom: 1px solid #cfc8b8; }
.num { font: 600 15px/1 var(--head); letter-spacing: .12em; color: #9a6d00; min-width: 2.2em; }
@media (min-width: 1000px) {
  .services { padding: 120px 0; }
  .services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
  .services .section-head { position: sticky; top: 100px; margin-bottom: 0; }
}

/* About */
.about { padding: 80px 0; }
.about-intro { display: grid; gap: 8px; margin-bottom: 56px; }
.about-text p { font-size: 19px; color: #dcd7cc; max-width: 36em; }
.team-head { font-size: 26px; letter-spacing: .04em; color: var(--gold); padding-top: 22px; border-top: 1px solid var(--line); margin: 0 0 22px; }
.team { list-style: none; margin: 0 0 48px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
.team img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 12px; background: #1b1b1e; }
.team strong { display: block; font: 800 22px/1 var(--head); text-transform: uppercase; }
.team span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.35; color: var(--muted); }
.team a { display: block; margin-top: 6px; font-size: 14px; color: #cfcac0; text-underline-offset: 3px; word-break: break-all; }
.team a:hover { color: var(--gold-2); }
@media (min-width: 700px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) {
  .about { padding: 120px 0; }
  .about-intro { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; margin-bottom: 80px; }
  .team { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .team-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, calc((100% - 96px) * .8 + 72px)); gap: 24px; }
  .team-one { grid-template-columns: 1fr; }
  .team-four { grid-template-columns: repeat(4, 1fr); }
}

/* Contact */
.contact { background: var(--ink-2); border-top: 1px solid var(--line); padding: 88px 0; text-align: center; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact img { width: 72px; height: 72px; margin-bottom: 28px; }
.contact h2 { font-size: clamp(46px, 9vw, 104px); margin-bottom: 18px; }
.contact p { font-size: 19px; color: #cfcac0; margin-bottom: 32px; }
.contact .contact-email { margin: 20px 0 0; font-size: 16px; color: var(--muted); }
.contact-email a { color: #cfcac0; text-underline-offset: 3px; }
.contact-email a:hover { color: var(--gold-2); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; font: 500 14px/1.4 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-inner p { margin: 0; }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.social a { text-decoration: none; }
.social a:hover { color: var(--gold-2); }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound h1 { font-size: clamp(64px, 16vw, 160px); margin-bottom: 18px; }
.notfound p { color: #cfcac0; margin-bottom: 28px; }

/* Knappeffekt: ljus fyllnad sveper in från vänster, pilen glider ut. */
.btn-fx { position: relative; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; isolation: isolate; transition: color .35s cubic-bezier(.2,.7,.2,1), border-color .35s; }
.btn-fx::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--text); transform: scaleX(0); transform-origin: left center; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.btn-fx:hover, .btn-fx:focus-visible { color: var(--ink); border-color: var(--text); }
.btn-fx.btn-gold:hover, .btn-fx.btn-gold:focus-visible { background: var(--gold); }
.btn-fx:hover::before, .btn-fx:focus-visible::before { transform: scaleX(1); }
.btn-fx:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 4px; }
.btn-line.btn-fx { padding: 20px 32px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: clamp(20px, 3.2vw, 24px); min-width: 240px; }
@media (prefers-reduced-motion: reduce) {
  .btn-fx, .btn-fx::before { transition: none; }
}

/* Citatbandet: orden lyses upp ett i taget när bandet scrollar mot mitten. Grundläge: fullt upplyst. */
.band-quote .w { display: inline-block; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .band { view-timeline: --band block; }
    .band-quote .w {
      animation: band-light linear both;
      animation-timeline: --band;
      animation-range: contain calc(var(--i) * 7%) contain calc(12% + var(--i) * 7%);
    }
  }
}
@keyframes band-light { from { opacity: .18; } to { opacity: 1; } }

/* Ankarlänkar hamnar inte under den klistrade headern. */
section[id] { scroll-margin-top: 72px; }

/* Citatbandet utan kicker: citatet centrerat i bandet. */
.band { align-items: center; }
.band::after { background: linear-gradient(to bottom, rgba(11,11,12,.55), rgba(11,11,12,.7)); }
.band-copy { padding-top: 96px; padding-bottom: 96px; text-align: center; }
.band-quote { margin: 0 auto; }
@media (min-width: 900px) { .band { min-height: 600px; } .band-copy { padding-top: 120px; padding-bottom: 120px; } }

/* Heroknapparna: staplade i full bredd på mobil, sida vid sida från 520 px. */
.hero .actions { gap: 12px; }
.hero .actions .btn { flex: 1 1 100%; }
@media (min-width: 520px) { .hero .actions .btn { flex: 0 0 auto; } }

/* Hero: fyller första skärmen, bilden kant i kant, faktaraden som nederkant (1 okt). */
:root { --header-h: 65px; }
.hero { position: relative; display: grid; grid-template-columns: 100%; grid-template-rows: 1fr auto; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); overflow: hidden; isolation: isolate; background: var(--ink); }
.hero-media, .hero-shade { position: absolute; inset: 0; grid-column: 1; grid-row: 1 / -1; }
.hero-media img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 70% 30%; }
.hero-shade { z-index: 1; background:
  linear-gradient(90deg, rgba(11,11,12,.9) 0%, rgba(11,11,12,.74) 32%, rgba(11,11,12,.3) 52%, rgba(11,11,12,0) 66%),
  linear-gradient(0deg, rgba(11,11,12,.94) 0%, rgba(11,11,12,.62) 26%, rgba(11,11,12,0) 52%); }
.hero-inner { grid-column: 1; grid-row: 1; position: relative; z-index: 2; width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 44px; }
.hero-copy { flex: 1 1 auto; min-width: 0; }
.hero h1 { font-size: clamp(48px, min(7vw, 11.5vh), 124px); font-size: clamp(48px, min(7vw, 11.5svh), 124px); line-height: .88; max-width: min(12em, 52vw); margin: 0; text-wrap: balance; }
.hero .kicker { text-shadow: 0 1px 12px rgba(0,0,0,.85), 0 0 2px rgba(0,0,0,.6); }
.hero-sub { margin: 22px 0 0; font: 400 clamp(19px, 1.6vw, 24px)/1.4 var(--body); color: #cfcac0; }
.hero .actions { margin-top: 34px; }
.hero-caption { flex: none; margin: 0; text-align: right; font: 500 13px/1.35 var(--head); letter-spacing: .1em; text-transform: uppercase; color: #d8d3c8; text-shadow: 0 1px 10px rgba(0,0,0,.7); }
.hero-caption strong { display: block; font-size: 16px; font-weight: 800; color: #fff; }
.hero .facts { grid-column: 1; grid-row: 2; position: relative; z-index: 2; background: transparent; border-top: 1px solid rgba(244,241,234,.18); border-bottom: 0; }
.hero .facts-grid > div { border-color: rgba(244,241,234,.18); }
@media (min-width: 900px) {
  .hero .facts-grid > div { padding: 26px 32px 30px; }
  .hero .facts-grid > div:first-child { padding-left: 0; }
  .hero .fact-big { font-size: 56px; }
}
@media (orientation: portrait) { .hero-media img { object-position: 50% 12%; } }
/* Mobil och låga liggande skärmar: bilden fyller första skärmen, faktaraden ligger direkt under. */
@media (max-width: 699px), (orientation: landscape) and (max-height: 500px) {
  .hero { grid-template-rows: auto auto; min-height: 0; }
  .hero-media, .hero-shade { grid-row: 1 / 2; } /* abspos: "1" ensamt sträcker sig till nederkanten */
  .hero-shade { background:
    linear-gradient(180deg, rgba(11,11,12,.72) 0%, rgba(11,11,12,0) 24%),
    linear-gradient(0deg, rgba(11,11,12,.96) 0%, rgba(11,11,12,.88) 40%, rgba(11,11,12,.74) 56%, rgba(11,11,12,0) 76%); }
  .hero-inner { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 0; padding-top: 18px; padding-bottom: 28px; }
  .hero-copy { flex: 0 0 auto; }
  .hero-caption { order: -1; margin-bottom: auto; align-self: flex-end; }
  .hero h1 { font-size: clamp(42px, 12.5vw, 72px); max-width: 12em; }
  .hero-sub { margin-top: 16px; }
  .hero .actions { margin-top: 26px; }
  .hero .facts { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .hero .facts-grid > div { border-color: var(--line); }
}
@media (orientation: landscape) and (max-height: 500px) {
  .hero-shade { background:
    linear-gradient(180deg, rgba(11,11,12,.85) 0%, rgba(11,11,12,.4) 22%, rgba(11,11,12,0) 34%),
    linear-gradient(90deg, rgba(11,11,12,.9) 0%, rgba(11,11,12,.74) 32%, rgba(11,11,12,.3) 52%, rgba(11,11,12,0) 66%),
    linear-gradient(0deg, rgba(11,11,12,.9) 0%, rgba(11,11,12,.5) 30%, rgba(11,11,12,0) 55%); }
  .hero h1 { font-size: clamp(34px, 10vh, 52px); max-width: 14em; }
  .hero-inner { padding-top: 14px; padding-bottom: 20px; }
  .hero-sub { margin-top: 10px; font-size: 18px; }
  .hero .actions { margin-top: 16px; }
  .hero .btn-big, .hero .btn-line.btn-fx { padding-top: 14px; padding-bottom: 14px; }
}

/* Partner utan foto (1 okt): initialer i samma 4:5-format tills kunden skickar en bild. */
.team-initials { width: 100%; aspect-ratio: 4 / 5; margin-bottom: 12px; display: grid; place-items: center; background: linear-gradient(160deg, #1f1f22 0%, #121214 100%); border: 1px solid var(--line); font: 800 clamp(48px, 7vw, 88px)/1 var(--head); letter-spacing: .04em; color: rgba(220, 161, 15, .55); user-select: none; }
@media (min-width: 700px) and (max-width: 999px) { .team-four { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .team-head { font-size: 22px; white-space: nowrap; } }
