/* Presa – presa.css (CocioDark design)
   Colours and fonts from the old CocioOne design and the logo; the layout from the approved clean version (www/).
   Content is styled through the content region (.p-content h2, .p-content p …) so edited text looks right without classes. */

@font-face {
  font-family: "Yanone Kaffeesatz";
  src: url("fonts/yanone-kaffeesatz-latin.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Exo";
  src: url("fonts/exo-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #2e3e4b;
  --navy-deep: #243240;
  --blue: #00aae2;
  --blue-dark: #0087b4;
  --grey: #ebebeb;
  --slate-dark: #4a4e58;
  --text: #2e3e4b;
  --text-muted: #5b6874;
  --white: #fff;

  --font-body: "Yanone Kaffeesatz", "Arial Narrow", sans-serif;
  --font-head: "Exo", "Segoe UI", sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgb(46 62 75 / 0.10);
  --container: 1180px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 350;
  font-size: 1.375rem;
  line-height: 1.45;
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; height: auto; }

a { color: var(--blue-dark); }
a:hover { color: var(--navy); }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

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

.p-wrap {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.p-skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 20;
  background: var(--white);
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 8px;
}

.p-skip:focus { top: 12px; }

/* Header */

.p-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(46 62 75 / 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.06);
}

.p-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.p-logo img { display: block; width: 150px; }

.p-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(10px, 3vw, 36px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.p-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.p-nav a:hover { border-bottom-color: var(--blue); color: var(--white); }

.p-nav .p-nav-cta {
  background: var(--blue);
  padding: 6px 18px;
  border-radius: 999px;
  border: 0;
}

.p-nav .p-nav-cta:hover { background: var(--blue-dark); }

/* Buttons: the editor's "Link button" block (cocio-button); .p-ghost is the outlined variant on dark backgrounds. */

.cocio-button {
  display: inline-block;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--white);
  background: var(--blue);
  padding: 10px 26px;
  border-radius: 999px;
  border: 2px solid var(--blue);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.cocio-button:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }

.p-ghost { background: transparent; border-color: rgb(255 255 255 / 0.5); }
.p-ghost:hover { background: var(--white); border-color: var(--white); color: var(--navy); }

.p-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.p-lead { font-size: 1.55rem; max-width: 34ch; }

.p-eyebrow {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 0.6em;
}

/* Hero */

.p-hero {
  background:
    radial-gradient(circle at 85% 30%, rgb(0 170 226 / 0.22), transparent 45%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  overflow: hidden;
}

.p-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 32px;
  min-height: min(680px, calc(100vh - var(--header-h)));
}

.p-hero-text { padding: 72px 0; align-self: center; }
.p-hero h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); max-width: 16ch; }
.p-hero .p-lead { opacity: 0.92; }

.p-hero-image { align-self: end; justify-self: center; margin: 0; }

.p-hero-image img {
  display: block;
  width: min(460px, 100%);
  filter: drop-shadow(0 20px 40px rgb(0 0 0 / 0.35));
}

/* Sections */

.p-section { padding: clamp(64px, 9vw, 112px) 0; }

.p-section-head { text-align: center; margin-bottom: 48px; }
.p-section-head h2 { margin-bottom: 0.15em; }
.p-section-head p { color: var(--text-muted); font-size: 1.5rem; margin: 0; }

.p-section-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 2px;
  background: var(--blue);
}

/* Services: the icon is decoration in the design, chosen by the card's class. */

.p-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.p-service {
  background: var(--white);
  border: 1px solid var(--grey);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.p-service:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgb(46 62 75 / 0.16); }

.p-service::before {
  content: "";
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-bottom: 20px;
  background: var(--blue) var(--icon, none) center / 28px no-repeat;
}

.p-icon-sales    { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17l6-6 4 4 8-8'/%3E%3Cpath d='M15 7h6v6'/%3E%3C/svg%3E"); }
.p-icon-branding { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11v2a1 1 0 0 0 1 1h2l5 4V6L6 10H4a1 1 0 0 0-1 1z'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7'/%3E%3Cpath d='M18.5 5.5a9 9 0 0 1 0 13'/%3E%3C/svg%3E"); }
.p-icon-startup  { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 15c-1.5 1.5-2 5-2 5s3.5-.5 5-2'/%3E%3Cpath d='M9 15l-3-3c1-4 5-9 14-9 0 9-5 13-9 14z'/%3E%3Ccircle cx='15' cy='9' r='1.5'/%3E%3C/svg%3E"); }
.p-icon-coaching { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1.5'/%3E%3C/svg%3E"); }

.p-service h3 { font-size: 1.25rem; }
.p-service p { margin: 0; color: var(--text-muted); }

/* Punchline and keywords */

.p-punchline { background: var(--grey); padding: clamp(56px, 8vw, 96px) 0; }

.p-punchline-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.p-punchline-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.1;
  margin: 0;
}

.p-keywords {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 28px;
  background: var(--navy);
  border-radius: var(--radius);
}

.p-keywords li {
  color: var(--white);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1;
  padding: 10px 18px;
  border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: 999px;
}

.p-keywords li::before { content: "» "; color: var(--blue); }
.p-keywords li::after { content: " «"; color: var(--blue); }
.p-keywords .p-kw-md { font-size: 1.6rem; }
.p-keywords .p-kw-lg { font-size: 1.9rem; }

/* Cases */

.p-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.p-case {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--grey);
  border-radius: var(--radius);
  padding: 36px 30px 28px;
  position: relative;
}

.p-case::before {
  content: "“";
  position: absolute;
  top: 6px;
  right: 22px;
  font-family: var(--font-head);
  font-size: 6rem;
  line-height: 1;
  color: var(--blue);
  opacity: 0.35;
}

.p-case blockquote { margin: 0 0 24px; flex: 1; }
.p-case blockquote p:last-child { margin: 0; }

.p-case figcaption {
  border-top: 2px solid var(--blue);
  padding-top: 14px;
  color: var(--text-muted);
}

.p-case figcaption strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--navy);
}

/* About */

.p-about { background: linear-gradient(var(--white), #f6f6f6); }

.p-about-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.p-about-text h3 { margin-top: 1.4em; }

.p-facts {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.p-facts ul { list-style: none; margin: 0; padding: 0; }

.p-facts li {
  position: relative;
  padding: 10px 0 10px 36px;
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
}

.p-facts li:last-child { border-bottom: 0; }

.p-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* An ordinary page (Side, Nyhed): a readable column */

.p-page {
  width: min(100% - 32px, 820px);
  margin-inline: auto;
  padding: clamp(48px, 7vw, 88px) 0;
}

.p-page h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
.p-page h2 { font-size: 1.6rem; margin-top: 1.4em; }
.p-page ul, .p-page ol { padding-left: 1.2em; }
.p-page img { border-radius: var(--radius); }

.news-intro { font-size: 1.5rem; color: var(--text-muted); }
.p-news figure { margin: 24px 0 0; }

/* Footer: contact section and credit line */

.p-contact {
  background:
    radial-gradient(circle at 10% 90%, rgb(0 170 226 / 0.2), transparent 40%),
    var(--navy);
  color: var(--white);
  padding: clamp(64px, 9vw, 112px) 0;
}

.p-contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.p-contact-card {
  font-style: normal;
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: var(--radius);
  padding: 32px;
}

.p-contact-logo { display: block; width: 170px; margin-bottom: 20px; }
.p-contact-card p:last-of-type { margin-bottom: 0; }
.p-contact-card .p-small { font-size: 1.05rem; margin-top: 1em; opacity: 0.85; }
.p-contact a:not(.cocio-button) { color: var(--white); }
.p-contact a:not(.cocio-button):hover { color: var(--blue); }

.p-credit {
  background: var(--slate-dark);
  color: rgb(255 255 255 / 0.85);
  font-size: 1rem;
  text-align: center;
  padding: 8px 16px;
}

.p-credit p { margin: 0; }
.p-credit a { color: var(--white); }

/* Tablet */

@media (max-width: 900px) {
  .p-hero-inner { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .p-hero-text { padding: 56px 0 24px; }
  .p-hero-image img { width: min(340px, 80vw); }
  .p-punchline-inner,
  .p-about-inner,
  .p-contact-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* Phone */

@media (max-width: 560px) {
  :root { --header-h: 64px; }
  body { font-size: 1.3rem; }
  .p-logo img { width: 104px; }
  .p-nav ul { gap: 12px; }
  .p-nav a { font-size: 1.2rem; }
  .p-nav .p-nav-cta { padding: 4px 12px; }
  .p-lead { font-size: 1.4rem; }
  .p-keywords { padding: 20px; }
  .p-keywords li { font-size: 1.15rem; }
  .p-keywords .p-kw-md { font-size: 1.35rem; }
  .p-keywords .p-kw-lg { font-size: 1.55rem; }
  .p-cases { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .p-logo img { width: 92px; }
  .p-nav ul { gap: 10px; }
  .p-nav a { font-size: 1.1rem; }
}

@media (max-width: 350px) {
  .p-nav li:nth-child(3) { display: none; } /* "Om Jesper" – the smallest phones keep three links */
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
