
.htx{
  
  --navy: #0F2238;        
  --navy-deep: #0A1726;   
  --navy-soft: #18324C;   

  --blue: #2F76B8;        
  --blue-soft: #7DB0DD;   
  --blue-deep: #245C93;   

  --stone: #F3F1EC;       
  --mist: #EEF2F6;        

  --muted: #56697D;       
  --white: #FFFFFF;

  
  --line: #E3E8ED;                    
  --line-dark: rgba(255, 255, 255, 0.12); 

  
  --accent: var(--blue);
  --accent-hover: var(--blue-deep);
  --accent-on-dark: var(--blue-soft);

  --text-strong: var(--navy);
  --text-body: var(--muted);
  --text-on-dark: var(--white);
  --text-muted-on-dark: rgba(255, 255, 255, 0.66);

  --surface-page: var(--white);
  --surface-warm: var(--stone);
  --surface-cool: var(--mist);
  --surface-dark: var(--navy);
  --surface-darkest: var(--navy-deep);
  --surface-card-dark: var(--navy-soft);

  --border-subtle: var(--line);
  --border-on-dark: var(--line-dark);

  
  --focus-ring: 0 0 0 3px rgba(47, 118, 184, 0.16);
}

.htx{
  
  --font-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Figtree", "Helvetica Neue", Arial, sans-serif;

  
  --fw-body: 400; 
  --fw-body-strong: 600; 
  --fw-display-med: 500; 
  --fw-display-bold: 700; 
  --fw-display-x: 800; 
  --fw-display-black: 900; 

  
  --fs-h1: clamp(46px, 6vw, 84px); 
  --fs-h2: clamp(38px, 4vw, 48px); 
  --fs-h3: 22px; 
  --fs-lead: 19px; 
  --fs-body: 16px; 
  --fs-small: 14px; 
  --fs-eyebrow: 12px; 
  --fs-stat: 48px; 

  
  --lh-h1: 1.04; 
  --lh-h2: 1.18; 
  --lh-h3: 1.18; 
  --lh-body: 1.6; 
  --lh-lead: 1.5; 

  
  --ls-h1: -0.02em; 
  --ls-h2: -0.01em; 
  --ls-stat: -0.03em; 
  --ls-eyebrow: 0.14em; 

  
  --measure-body: 64ch; 
  --measure-lead: 56ch; 
}

.htx{
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;   
  --space-11: 160px;

  
  --section-y: var(--space-10);       
  --section-y-mobile: 80px;

  
  --container-max: 1240px;
  --gutter: 24px;

  
  --bp-mobile: 960px;
}

.htx{
  
  --radius-square: 0px;    
  --radius-control: 2px;   
  --radius-pill: 999px;    

  
  --shadow-none: none;
  --shadow-lift: 0 8px 28px rgba(15, 34, 56, 0.10);

  
  --border-width: 1px;
  --border-width-outline: 1.5px;  

  
  --dur-reveal: 480ms; 
  --dur-hover: 200ms; 
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1); 
  --hover-slide: 4px;   
}

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

.htx{
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.htx h1, .htx h2, .htx h3, .htx h4, .htx h5, .htx h6{
  font-family: var(--font-display);
  color: var(--text-strong);
  margin: 0;
  text-wrap: balance;
}

.htx h1{
  font-weight: var(--fw-display-x);
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  letter-spacing: var(--ls-h1);
}

.htx h2{
  font-weight: var(--fw-display-bold);
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-h2);
}

.htx h3{
  font-weight: var(--fw-display-bold);
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
}

.htx p{
  margin: 0;
  max-width: var(--measure-body);
  text-wrap: pretty;
}

.htx a{
  color: var(--accent);
  text-decoration: none;
}

.htx img{
  max-width: 100%;
  display: block;
}

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

.htx{ margin: 0; font-family: var(--font-body, "Figtree", system-ui, sans-serif);
  font-size: 16px; line-height: 1.6; color: var(--muted); background: var(--white);
  -webkit-font-smoothing: antialiased; }

.htx img{ max-width: 100%; display: block; }

.htx a{ color: var(--blue); text-decoration: none; }

.htx a:hover{ color: var(--blue-deep); }

.htx .container{ max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.htx .section{ padding: 128px 0; }

.htx .section--tight{ padding: 96px 0; }

.htx .section--dark{ background: var(--navy-deep); color: var(--white); }

.htx .section--stone{ background: var(--stone); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.htx .grid{ display: grid; gap: 32px; }

.htx .grid-2{ grid-template-columns: repeat(2, 1fr); }

.htx .grid-3{ grid-template-columns: repeat(3, 1fr); }

.htx .grid-4{ grid-template-columns: repeat(4, 1fr); }

.htx .grid-5{ grid-template-columns: repeat(5, 1fr); }

.htx .split{ display: grid; grid-template-columns: 1.35fr 1fr; gap: 80px; align-items: start; }

.htx .h1{ font-family: var(--font-display, "Schibsted Grotesk", system-ui, sans-serif); font-weight: 800;
  font-size: clamp(46px, 6vw, 84px); line-height: 1.04; letter-spacing: -0.02em; color: var(--navy); margin: 0; }

.htx .h2{ font-family: var(--font-display, "Schibsted Grotesk", system-ui, sans-serif); font-weight: 700;
  font-size: clamp(34px, 3.4vw, 48px); line-height: 1.18; letter-spacing: -0.01em; color: var(--navy); margin: 0; }

.htx .h3{ font-family: var(--font-display, "Schibsted Grotesk", system-ui, sans-serif); font-weight: 700;
  font-size: 21px; line-height: 1.28; letter-spacing: -0.01em; color: var(--navy); margin: 0; }

.htx .lead{ font-size: 20px; line-height: 1.5; max-width: 56ch; }

.htx .body{ font-size: 17px; line-height: 1.7; max-width: 64ch; text-wrap: pretty; }

.htx .on-dark .h1, .htx .on-dark .h2, .htx .on-dark .h3{ color: var(--white); }

.htx .on-dark, .htx .section--dark{ color: var(--text-muted-on-dark); }

.htx .accent{ color: var(--blue); }

.htx .on-dark .accent, .htx .hero .accent{ color: var(--blue-soft); }

.htx .eyebrow{ display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display, "Schibsted Grotesk", sans-serif); font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--blue); }

.htx .eyebrow::before{ content: ""; width: 22px; height: 2px; background: currentColor; display: block; }

.htx .on-dark .eyebrow, .htx .hero .eyebrow, .htx .section--dark .eyebrow{ color: var(--blue-soft); }

.htx .btn{ display: inline-flex; align-items: center; gap: 10px; border-radius: 2px; border: none; cursor: pointer;
  font-family: var(--font-display, "Schibsted Grotesk", sans-serif); font-weight: 700; font-size: 15px;
  padding: 15px 26px; background: var(--blue); color: var(--white);
  transition: background 240ms cubic-bezier(.22,.61,.36,1), transform 120ms; }

.htx .btn:hover{ background: var(--blue-deep); color: var(--white); }

.htx .btn:active{ transform: translateY(1px); }

.htx .btn .arrow{ transition: transform 240ms cubic-bezier(.22,.61,.36,1); }

.htx .btn:hover .arrow{ transform: translateX(4px); }

.htx .btn--outline{ background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }

.htx .btn--outline:hover{ background: var(--navy); color: var(--white); }

.htx .on-dark .btn--outline, .htx .hero .btn--outline{ color: var(--white); border-color: rgba(255,255,255,0.4); }

.htx .on-dark .btn--outline:hover, .htx .hero .btn--outline:hover{ background: var(--white); color: var(--navy); }

.htx .btn--link{ background: none; padding: 0; color: var(--blue); }

.htx .btn--link:hover{ background: none; color: var(--blue-deep); }

.htx .chip{ display: inline-flex; align-items: center; border-radius: 999px; padding: 7px 16px;
  font-size: 14px; border: 1px solid var(--line); color: var(--navy); background: var(--white); }

.htx .on-dark .chip, .htx .hero .chip{ border-color: rgba(255,255,255,0.22); color: var(--white); background: transparent; }

.htx .hero{ position: relative; background: var(--navy); color: var(--text-muted-on-dark); overflow: hidden; }

.htx .hero__grid{ position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 100% at 100% 0%, #000 20%, transparent 72%);
          mask-image: radial-gradient(120% 100% at 100% 0%, #000 20%, transparent 72%); }

.htx .hero__inner{ position: relative; padding-top: 96px; padding-bottom: 96px; }

.htx .hero .lead{ color: var(--text-muted-on-dark); }

.htx .hvt-header{ position: sticky; top: 0; z-index: 40; height: 78px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }

.htx .hvt-header__inner{ display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }

.htx .hvt-header__logo img{ height: 40px; width: auto; }

.htx .hvt-nav{ display: flex; align-items: center; gap: 32px; }

.htx .hvt-nav a{ font-family: var(--font-display, "Schibsted Grotesk", sans-serif); font-weight: 500; font-size: 15px;
  color: var(--navy); padding-bottom: 3px; border-bottom: 2px solid transparent; }

.htx .hvt-nav a.is-active{ font-weight: 700; border-bottom-color: var(--blue); }

.htx .hvt-burger{ display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; cursor: pointer; }

.htx .hvt-burger span{ width: 24px; height: 2px; background: var(--navy); display: block; }

.htx .breadcrumb{ display: flex; gap: 10px; align-items: center; font-size: 13px; color: rgba(255,255,255,0.55); }

.htx .breadcrumb a{ color: rgba(255,255,255,0.55); }

.htx .breadcrumb .current{ color: rgba(255,255,255,0.85); }

.htx .factstrip{ background: var(--stone); border-bottom: 1px solid var(--line); }

.htx .factstrip .container{ padding-top: 48px; padding-bottom: 48px; }

.htx .fact__label{ font-family: var(--font-display, "Schibsted Grotesk", sans-serif); font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--blue); margin-bottom: 10px; }

.htx .fact__value{ font-family: var(--font-display, "Schibsted Grotesk", sans-serif); font-weight: 700; font-size: 17px;
  line-height: 1.35; color: var(--navy); }

.htx .stat__value{ font-family: var(--font-display, "Schibsted Grotesk", sans-serif); font-weight: 800; font-size: 48px;
  letter-spacing: -0.03em; line-height: 1; color: var(--navy); }

.htx .section--dark .stat__value, .htx .on-dark .stat__value{ color: var(--white); }

.htx .stat__value sup, .htx .stat__suffix{ color: var(--blue); font-size: 0.6em; vertical-align: super; }

.htx .section--dark .stat__suffix, .htx .on-dark .stat__suffix{ color: var(--blue-soft); }

.htx .stat__label{ font-size: 15px; margin-top: 12px; }

.htx .feature-list{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }

.htx .feature-list li{ display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.55; }

.htx .feature-list li::before{ content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px;
  background: var(--blue); -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat; }

.htx{ --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

.htx .card{ border: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column;
  transition: background 240ms cubic-bezier(.22,.61,.36,1), border-color 240ms; }

.htx a.card:hover{ background: var(--stone); border-color: #D6DCE3; }

.htx .card__media{ aspect-ratio: 4/3; background: var(--mist); overflow: hidden; }

.htx .card__media img{ width: 100%; height: 100%; object-fit: cover; transition: transform 480ms cubic-bezier(.22,.61,.36,1); }

.htx a.card:hover .card__media img{ transform: scale(1.03); }

.htx .card__body{ padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }

.htx .card__meta{ font-family: var(--font-display, "Schibsted Grotesk", sans-serif); font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--blue); }

.htx .card__more{ display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 18px;
  font-family: var(--font-display, "Schibsted Grotesk", sans-serif); font-weight: 700; font-size: 14px; color: var(--blue); }

.htx .ba{ display: flex; flex-direction: column; gap: 56px; }

.htx .ba__pair{ display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.htx .ba__frame{ aspect-ratio: 4/3; background: var(--navy-soft); overflow: hidden; }

.htx .ba__frame img{ width: 100%; height: 100%; object-fit: cover; }

.htx .ba__tag{ font-family: var(--font-display, "Schibsted Grotesk", sans-serif); font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.14em; margin-top: 14px; color: rgba(255,255,255,0.5); }

.htx .ba__tag--after{ color: var(--blue-soft); }

.htx .ba__caption{ font-size: 16px; line-height: 1.6; color: var(--text-muted-on-dark); margin: 18px 0 0; max-width: 68ch; }

.htx .quote{ margin: 0; max-width: 42ch; }

.htx .quote p{ font-family: var(--font-display, "Schibsted Grotesk", sans-serif); font-weight: 500;
  font-size: clamp(26px, 2.6vw, 34px); line-height: 1.35; letter-spacing: -0.01em; color: var(--navy); margin: 0; }

.htx .quote footer{ display: flex; align-items: center; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.htx .quote footer::before{ content: ""; width: 22px; height: 2px; background: var(--blue); display: block; }

.htx .quote .name{ font-family: var(--font-display, "Schibsted Grotesk", sans-serif); font-weight: 700; font-size: 15px; color: var(--navy); }

.htx .quote .role{ font-size: 15px; color: var(--muted); }

.htx .cta-band{ background: var(--navy); color: var(--text-muted-on-dark); }

.htx .cta-band .container{ padding-top: 96px; padding-bottom: 96px; display: grid;
  grid-template-columns: 1.4fr auto; gap: 48px; align-items: center; }

.htx .cta-band .h2{ color: var(--white); margin: 18px 0 14px; }

.htx .cta-band__actions{ display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }

.htx .hvt-footer{ background: var(--navy-deep); color: var(--text-muted-on-dark); }

.htx .hvt-footer__grid{ display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px;
  padding-top: 80px; padding-bottom: 40px; }

.htx .hvt-footer__brand{ font-family: var(--font-display, "Schibsted Grotesk", sans-serif); font-weight: 800;
  font-size: 22px; color: var(--white); margin-bottom: 18px; }

.htx .hvt-footer h4{ font-family: var(--font-display, "Schibsted Grotesk", sans-serif); font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--blue-soft); margin: 0 0 18px; }

.htx .hvt-footer ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }

.htx .hvt-footer a{ font-size: 15px; color: var(--text-muted-on-dark); }

.htx .hvt-footer__bottom{ border-top: 1px solid var(--line-dark); }

.htx .hvt-footer__bottom .container{ display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 22px; padding-bottom: 22px; font-size: 13px; }

@media (max-width: 960px){

.htx .section{ padding: 80px 0; }

.htx .hvt-nav, .htx .hvt-header .btn{ display: none; }

.htx .hvt-burger{ display: flex; }

.htx .grid-3, .htx .grid-5, .htx .split, .htx .cta-band .container{ grid-template-columns: 1fr; }

.htx .grid-4{ grid-template-columns: 1fr 1fr; }

.htx .split{ gap: 48px; }

.htx .ba__pair{ grid-template-columns: 1fr; }

.htx .cta-band__actions{ justify-content: flex-start; }

.htx .hvt-footer__grid{ grid-template-columns: 1fr 1fr; }

}

@media (max-width: 560px){

.htx .grid-4, .htx .hvt-footer__grid{ grid-template-columns: 1fr; }

}



/* ==========================================================================
   v3 — Felles rytme for referanseprosjekt-sidene (2026-09-19)
   Samler hero, "Om prosjektet" og morke seksjoner slik at alle
   /no/prosjekter/*-sider far identisk luft, plassering og farge.
   ========================================================================== */

/* --- Hero --- */
.htx .hero .container .breadcrumb{ margin: 0 0 56px; }
.htx .hero .container .eyebrow{ margin: 0 0 28px; }
.htx .hero .container .h1{ margin: 0 0 36px; }
.htx .hero .container p{ margin: 0 0 44px; }
.htx .hero .container p:not(.lead){ font-size: 20px; line-height: 1.5; max-width: 56ch; color: var(--text-muted-on-dark); }
.htx .hero .container .chips,
.htx .hero .container div:has(> .chip){ margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.htx .hero .container .hero__inner{ padding-top: 96px; padding-bottom: 128px; }
.htx .hero > .container:not(:has(.hero__inner)){ padding-top: 96px; padding-bottom: 128px; }

/* --- Morke seksjoner: hvit overskrift --- */
.htx .section--dark .h1,
.htx .section--dark .h2,
.htx .section--dark .h3,
.htx .section--dark h1,
.htx .section--dark h2,
.htx .section--dark h3{ color: var(--white); }
.htx .section--dark .body{ color: var(--text-muted-on-dark); }
.htx .section--dark .eyebrow{ margin: 0; }
.htx .section--dark .h2{ margin: 18px 0 12px; }
.htx .section--dark .lead{ margin: 0 0 56px; }
.htx .section--dark .ba{ margin-top: 0; }

/* --- "Om prosjektet": lik rytme pa alle sider --- */
.htx .section .split .eyebrow{ margin: 0; }
.htx .section .split .h2{ margin: 18px 0 28px; }
.htx .section .split .body{ margin: 0 0 20px; }
.htx .section .split .body:last-child{ margin-bottom: 0; }
.htx .section .split .sidebar-title,
.htx .section .split .fact__label{ font-family: var(--font-display, "Schibsted Grotesk", sans-serif); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--blue); margin: 0 0 22px; }

/* --- Tospalte: stikkord og overskrift over, brodtekst og faktaboks side om side --- */
.htx .section .split:has(.split__head){ row-gap: 0; align-items: start; }
.htx .section .split .split__head{ grid-column: 1; grid-row: 1; }
.htx .section .split .split__body{ grid-column: 1; grid-row: 2; }
.htx .section .split:has(.split__head) > :last-child{ grid-column: 2; grid-row: 2; background: var(--stone); border: 1px solid var(--line); padding: 40px 36px; }

@media (max-width: 960px){
  .htx .hero .container .breadcrumb{ margin: 0 0 32px; }
  .htx .hero .container .eyebrow{ margin: 0 0 18px; }
  .htx .hero .container .h1{ margin: 0 0 24px; }
  .htx .hero .container p{ margin: 0 0 28px; }
  .htx .hero .container .hero__inner{ padding-top: 64px; padding-bottom: 80px; }
  .htx .hero > .container:not(:has(.hero__inner)){ padding-top: 64px; padding-bottom: 80px; }
  .htx .section .split:has(.split__head){ row-gap: 40px; }
  .htx .section .split .split__head{ grid-column: 1; grid-row: 1; }
  .htx .section .split .split__body{ grid-column: 1; grid-row: 2; }
  .htx .section .split:has(.split__head) > :last-child{ grid-column: 1; grid-row: 3; padding: 32px 28px; }
}
