/* ── TOKENS ── */
:root {
  --bg:       #f5f3ee;
  --navy:     #003087;
  --red:      #b22222;
  --yellow:   #ffd93d;
  --yellow-d: #e6c200;
  --orange:   #ff6b35;
  --navy-dim: rgba(0,48,135,.09);
  --red-dim:  rgba(178,34,34,.09);
  --ink:      #1c1a18;
  --ink2:     #4a4642;
  --ink3:     #9a9690;
  --white:    #ffffff;
  --warm:     #E9E4E0;
  --gap:      24px;
  --r:        18px;
  --font-d:   'Bricolage Grotesque', sans-serif;
  --font-b:   'Nunito', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  background-image: radial-gradient(circle, rgba(0,48,135,.13) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
  overflow-x: hidden;
}

a:hover { text-decoration: none; }

/* ── NAV ── */
.r-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  background: rgba(245,243,238,.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0,48,135,.1);
}

.r-logo {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -.03em;
  display: flex;
  align-items: center;
  gap: 9px;
}

.r-logo:hover { color: var(--red); }

.r-logo .dot {
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: blink 2.4s ease-in-out infinite;
}

.r-logo:hover .dot { background: var(--navy); }

@keyframes blink {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.3; transform:scale(.55); }
}

.r-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0; padding: 0;
}

.r-nav-links a {
  font-family: var(--font-b);
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink2);
  text-decoration: none;
  transition: color .2s;
}

.r-nav-links a:hover { color: var(--red); }

.r-nav-btn {
  background: var(--navy) !important;
  color: #fff !important;
  padding: 8px 22px;
  border-radius: 100px;
  transition: background .2s, transform .15s !important;
}

.r-nav-btn:hover { background: var(--red) !important; transform: translateY(-1px); }

.r-nav .lang-btn {
  background: transparent;
  border: 1.5px solid rgba(0,48,135,.2);
  color: var(--ink2);
  font-size: .72rem;
  padding: 5px 12px;
}

.r-nav .lang-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.r-nav .lang-sep { color: var(--ink3); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 100px;
  position: relative;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.blob-1 { width:580px; height:580px; background:rgba(0,48,135,.15); top:-170px; left:-190px; animation:d1 13s ease-in-out infinite alternate; }
.blob-2 { width:440px; height:440px; background:rgba(178,34,34,.12); bottom:-110px; right:-130px; animation:d2 15s ease-in-out infinite alternate; }
.blob-3 { width:340px; height:340px; background:rgba(255,217,61,.35); top:35%; left:52%; animation:d3 11s ease-in-out infinite alternate; }

@keyframes d1 { to { transform:translate(55px,75px) scale(1.07); } }
@keyframes d2 { to { transform:translate(-58px,-48px) scale(1.1); } }
@keyframes d3 { to { transform:translate(38px,-58px) scale(.93); } }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,.09);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: .76rem;
  font-weight: 700;
  color: var(--ink2);
  letter-spacing: .09em;
  text-transform: uppercase;
  margin-bottom: 32px;
  position: relative; z-index: 1;
  animation: fadeUp .8s ease both;
}

.hero-tag .pulse {
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

.hero-h1 {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(3.2rem, 9vw, 8rem);
  line-height: .93;
  letter-spacing: -.04em;
  color: var(--navy);
  margin: 0 0 28px;
  position: relative; z-index: 1;
  animation: fadeUp .9s .1s ease both;
}

.hero-h1 .hl {
  position: relative;
  display: inline-block;
  color: var(--navy);
}

.hero-h1 .hl::before {
  content: '';
  position: absolute;
  left: -4px; right: -4px;
  bottom: 8%;
  height: 36%;
  background: var(--yellow);
  z-index: -1;
  border-radius: 4px;
  transform: rotate(-.4deg);
}

.hero-h1 em {
  font-style: normal;
  color: var(--red);
  display: inline-block;
  animation: wobble 3.5s 1.5s ease-in-out infinite;
}

@keyframes wobble {
  0%,100% { transform:rotate(-1deg); }
  50%      { transform:rotate(1.5deg); }
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--ink2);
  max-width: 540px;
  margin: 0 auto 44px;
  line-height: 1.75;
  position: relative; z-index: 1;
  animation: fadeUp 1s .2s ease both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative; z-index: 1;
  animation: fadeUp 1s .35s ease both;
}

.btn-p {
  background: var(--navy);
  color: #fff;
  font-family: var(--font-b);
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 30px;
  border-radius: 100px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .2s, transform .2s, box-shadow .2s;
}

.btn-p:hover { background:var(--red); transform:translateY(-2px); box-shadow:0 8px 24px rgba(178,34,34,.25); color:#fff; }

.btn-s {
  background: transparent;
  color: var(--navy);
  font-family: var(--font-b);
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 28px;
  border-radius: 100px;
  border: 1.5px solid rgba(0,48,135,.28);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color .2s, color .2s, transform .2s;
}

.btn-s:hover { border-color:var(--red); color:var(--red); transform:translateY(-2px); }

/* ── TICKER — pinned to bottom of hero ── */
.ticker-wrap {
  overflow: hidden;
  background: var(--navy);
  padding: 13px 0;
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
}

.ticker-inner { display:flex; animation:ticker 32s linear infinite; white-space:nowrap; width:max-content; }

.ticker-item {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: .82rem;
  color: rgba(255,255,255,.58);
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 0 36px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ticker-item i {
  background-color: var(--yellow);
  font-size: .8rem;
  line-height: 24px;
  width: 24px;
  height: 24px;
  color: #003087;
  border-radius: 4px;
  text-align: center;
}

@keyframes ticker { from { transform:translateX(0); } to { transform:translateX(-50%); } }

/* ── BENTO ── */
.bento-wrap {
  padding: 72px 40px 88px;
  max-width: 1280px;
  margin: 0 auto;
}

.bento-heading {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -.03em;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 28px;
}

.bento-heading .dim { color: var(--ink3); }
.bento-intro { color: var(--ink2); font-size: 1.05rem; margin-bottom: 40px; }

.bento-box {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.bento-row {
  display: flex;
  gap: var(--gap);
}

.bc {
    border:1px solid rgba(0,0,0,.08);
  border-radius: var(--r);
  padding: 36px 36px 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease;
}

.bc:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0,48,35,.14);
  z-index: 2;
}

.bc-navy   { background: var(--navy);   color: #fff; }
.bc-red    { background: var(--red);    color: #fff; }
.bc-yellow { background: var(--yellow); color: var(--ink); }
.bc-white  { background: var(--white);  color: var(--ink); }
.bc-warm   { background: var(--warm);   color: var(--ink); }

.bc-2-3 { flex: 2; min-width: 0; }
.bc-1-3 { flex: 1; min-width: 0; }
.bc-1-1 { flex: 1; }

.c-eye {
  font-family: var(--font-b);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .5;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.bc-yellow .c-eye { opacity: .6; color: var(--ink2); }

.c-title {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  letter-spacing: -.03em;
  line-height: 1.05;
  margin: 0 0 12px;
}

.c-body {
  font-size: .93rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 22px;
}

.bc-navy .c-body,
.bc-red  .c-body  { opacity: .78; }
.bc-yellow .c-body { color: var(--ink2); }
.bc-white .c-body,
.bc-warm  .c-body  { color: var(--ink2); }

.c-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: .87rem;
  text-decoration: none;
  transition: gap .2s;
  margin-top: auto;
}

.c-link:hover { gap: 13px; }

.bc-navy   .c-link { color: rgba(255,255,255,.8); }
.bc-red    .c-link { color: rgba(255,255,255,.8); }
.bc-yellow .c-link { color: var(--navy); font-weight: 800; }
.bc-white  .c-link { color: var(--red); }
.bc-warm   .c-link { color: var(--navy); }

.c-stat {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(3rem, 6vw, 5.5rem);
  letter-spacing: -.04em;
  line-height: 1;
  margin: 0 0 10px;
  color: var(--yellow);
}

.c-stat .u { font-size: 44%; opacity: .7; font-weight: 600; }

.pill-row { display:flex; flex-wrap:wrap; gap:7px; margin:14px 0 22px; }

.pill {
  font-size: .7rem; font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: .04em;
}

.bc-navy   .pill { background:rgba(255,255,255,.12); color:rgba(255,255,255,.8); }
.bc-red    .pill { background:rgba(255,255,255,.15); color:#fff; }
.bc-yellow .pill { background:rgba(0,48,135,.1); color:var(--navy); }
.bc-white  .pill { background:var(--navy-dim); color:var(--navy); }
.bc-warm   .pill { background:rgba(0,48,135,.07); color:var(--navy); }

.c-deco {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  top: -70px; right: -70px;
  pointer-events: none;
}

.bc-navy   .c-deco { background:rgba(255,255,255,.06); }
.bc-red    .c-deco { background:rgba(255,255,255,.07); }
.bc-yellow .c-deco { background:rgba(0,0,0,.05); }
.bc-white  .c-deco { background:var(--navy-dim); }
.bc-warm   .c-deco { background:var(--red-dim); }

.bc-yellow .c-title {
    color: #003087;
}
.c-ghost {
  position: absolute;
  bottom: -10px; right: -8px;
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -.03em;
  color: rgba(255,255,255,.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.c-badge {
  display: inline-block;
  border-radius: 8px;
  padding: 3px 11px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: 14px;
}

.c-wide {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
}

/* ── SCROLL REVEAL ── */
.reveal { opacity:0; transform:translateY(32px); transition:opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
.d1 { transition-delay:.07s; }
.d2 { transition-delay:.17s; }
.d3 { transition-delay:.27s; }

/* ── STUDIO STRIP ── */
.studio-strip {
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,.07);
  border-bottom: 1px solid rgba(0,0,0,.07);
  padding: 80px 40px;
}

.studio-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.studio-big {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--navy);
  margin-bottom: 24px;
}

.bento-heading span span,
.studio-big span span { color: var(--red); }
.studio-text { color: var(--ink2); font-size: 1rem; line-height: 1.8; }

.studio-facts { display:grid; grid-template-columns:1fr 1fr; gap:16px; }

.fact {
  background: var(--bg);
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid rgba(0,0,0,.07);
  transition: transform .3s ease, border-color .3s;
}

.fact:hover { transform:translateY(-3px); border-color:var(--yellow); }

.fact-num {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: -.04em;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.fact-num span { color: var(--red); }
.fact-label { font-size: .82rem; color: var(--ink3); font-weight: 600; }

/* ── FOOTER ── */
footer { background: var(--navy); color: rgba(255,255,255,.9); padding: 56px 40px 40px; }
.footer-inner { max-width: 1280px; margin: 0 auto; }

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 32px;
}
.sweden-flag-big svg {
    margin-top:10px;
}
.footer-logo {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -.03em;
  color: #fff;
  text-decoration: none;
}

.footer-logo span { color: var(--yellow); }
.footer-business-details {
    font-size: .875rem;
    margin-top: 16px;
}
.footer-tagline {
    font-size: .875rem;
}

.footer-logo:hover { color: var(--yellow); text-decoration: none; }
.footer-logo:hover span { color: #fff; }

.footer-links { display:flex; gap:56px; flex-wrap:wrap; }

.footer-col h6 {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin: 0 0 14px;
}

.footer-col ul { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.footer-col a { color:rgba(255,255,255,.8); text-decoration:none; font-size:.9rem; transition:color .2s; }
.footer-col a:hover { color:var(--yellow); }

.footer-bottom { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; font-size:.82rem; }

.r24k-se-footer-list li i { margin-right: 5px; }

/* ── INNER PAGE HERO (for portfolio, services etc.) ── */
.page-hero {
  padding: 120px 40px 64px;
  max-width: 1280px;
  margin: 0 auto;
}

.page-hero-label {
  font-family: var(--font-b);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.page-hero-title {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 5rem);
  letter-spacing: -.04em;
  line-height: .95;
  color: var(--navy);
  margin: 0 0 20px;
}

.page-hero-sub {
  font-size: 1.1rem;
  color: var(--ink2);
  max-width: 560px;
  line-height: 1.7;
}

@keyframes fadeUp {
  from { opacity:0; transform:translateY(28px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .r-nav { padding: 0 20px; }
  .r-nav-links { display: none; }
  .bento-wrap { padding: 48px 16px 64px; }
  .bento-row { flex-direction: column; }
  .bc-2-3, .bc-1-3, .bc-1-1 { flex: none; width: 100%; }
  .studio-inner { grid-template-columns: 1fr; gap: 40px; }
  .studio-strip { padding: 60px 24px; }
  .footer-top { flex-direction: column; }
  footer { padding: 48px 20px 32px; }
  .c-wide { grid-template-columns: 1fr; }
  .page-hero { padding: 100px 24px 48px; }
}

@media (max-width: 640px) {
  .hero { padding: 90px 20px 90px; }
  .studio-facts { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════
   PORTFOLIO — Japan Bento Mode
   Dense grid, every cell locked tight,
   varied sizes like a lacquered lunch box.
   ══════════════════════════════════════════════ */

.pf-page {
  background: var(--ink);
  min-height: 100vh;
}

/* ── Hero sits on dark bg ── */
.pf-page .page-hero {
  background: var(--ink);
  padding: 120px 48px 48px;
}

.pf-page .page-hero-label { color: var(--yellow); }
.pf-page .page-hero-title { color: #fff; }
.pf-page .page-hero-sub   { color: rgba(255,255,255,.5); }

/* ── Filter bar ── */
.pf-filter-wrap {
  padding: 0 48px 36px;
}

.pf-filter {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px;
}

.pf-btn {
  font-family: var(--font-b);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.15);
  background: transparent;
  color: rgba(255,255,255,.45);
  cursor: pointer;
  transition: all .2s;
}

.pf-btn:hover { border-color: var(--yellow); color: var(--yellow); }
.pf-btn.active { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

.pf-count {
  opacity: .6;
  font-size: .65rem;
}

/* ── Bento grid wrapper ── */
.pf-bento-wrap {
  padding: 0 48px 80px;
  background: var(--ink);
}

/* ── Bento box — rows of varying height cells ── */
.pf-bento {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pf-row {
  display: flex;
  gap: 6px;
  /* each row height set inline per row */
}

/* ── Individual bento cell ── */
.pf-cell {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #111;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform .3s cubic-bezier(.22,1,.36,1);
}

.pf-cell:hover { transform: scale(1.012); z-index: 5; }

/* image fills cell */
.pf-cell-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease, filter .4s ease;
  filter: brightness(.82) saturate(.9);
}

.pf-cell:hover .pf-cell-img {
  transform: scale(1.07);
  filter: brightness(.65) saturate(1.1);
}

/* gradient for legibility */
.pf-cell::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,5,20,.9) 0%,
    rgba(0,5,20,.3) 45%,
    transparent 75%
  );
  z-index: 1;
  transition: opacity .3s;
}

/* info layer */
.pf-cell-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 18px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pf-cell-tag {
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.pf-cell-name {
  font-family: var(--font-d);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0;
}

.pf-cell-loc {
  font-size: .65rem;
  color: rgba(255,255,255,.45);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 1px;
}

.pf-cell-desc {
  font-size: .72rem;
  color: rgba(255,255,255,.65);
  line-height: 1.5;
  margin: 4px 0 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .35s ease, opacity .3s ease;
}

.pf-cell:hover .pf-cell-desc {
  max-height: 60px;
  opacity: 1;
}

/* visit pill on hover */
.pf-cell-visit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + 12px));
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-b);
  font-weight: 800;
  font-size: .75rem;
  padding: 8px 18px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 3;
  opacity: 0;
  transition: opacity .25s ease, transform .3s ease;
  white-space: nowrap;
  pointer-events: none;
}

.pf-cell:hover .pf-cell-visit {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* name size by cell type — set via data attr */
.pf-cell[data-size="featured"] .pf-cell-name { font-size: clamp(1.3rem, 2vw, 1.9rem); }
.pf-cell[data-size="wide"]     .pf-cell-name { font-size: clamp(1rem, 1.6vw, 1.4rem); }
.pf-cell[data-size="tall"]     .pf-cell-name { font-size: clamp(1rem, 1.4vw, 1.25rem); }
.pf-cell[data-size="normal"]   .pf-cell-name { font-size: clamp(.85rem, 1.2vw, 1.05rem); }
.pf-cell[data-size="mini"]     .pf-cell-name { font-size: .82rem; }
.pf-cell[data-size="mini"]     .pf-cell-loc,
.pf-cell[data-size="mini"]     .pf-cell-tag  { display: none; }

/* own-product accent — red left border */
.pf-cell[data-tag="own-product"]::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: var(--yellow);
  z-index: 4;
  border-radius: 10px 0 0 10px;
}

/* hidden state for filter */
.pf-cell.pf-hidden {
  display: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .pf-page .page-hero,
  .pf-filter-wrap,
  .pf-bento-wrap { padding-left: 16px; padding-right: 16px; }

  /* on mobile collapse to simple 2-col grid */
  .pf-bento { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .pf-row   { display: contents; }
  .pf-cell  { height: 200px !important; width: auto !important; flex: none !important; }
}

@media (max-width: 480px) {
  .pf-bento { grid-template-columns: 1fr; }
  .pf-cell  { height: 220px !important; }
  .pf-cell-desc { max-height: 60px; opacity: 1; }
}

/* ── PORTFOLIO PAGE ── */

/* half-width flex sizing */
.bc-1-2 { flex: 1; min-width: 0; }

/* screenshot image — fixed height so all rows are consistent regardless of card width */
.bc-img { padding: 0; overflow: hidden; }

.bc-screenshot {
    aspect-ratio:16/9;
  width: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform .45s ease;
}

.bc-img:hover .bc-screenshot { transform: scale(1.04); }

.bc-img-body {
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bc-img .c-eye  { margin-bottom: 8px; }
.bc-img .c-link { margin-top: auto; padding-top: 10px; }

/* full-width special cards — no image, styled like homepage bento */
.bc-full { flex: 1 0 100%; }

/* filter bar */
.pf-filter-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px 32px;
}

.pf-filter { display: flex; gap: 8px; flex-wrap: wrap; }

.pf-btn {
  font-family: var(--font-b);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 7px 18px;
  border-radius: 100px;
  border: 1.5px solid rgba(0,48,135,.2);
  background: transparent;
  color: var(--ink2);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}

.pf-btn:hover  { border-color: var(--navy); color: var(--navy); }
.pf-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* hidden by filter */
.bc-hidden { display: none !important; }

@media (max-width: 960px) {
  .pf-filter-wrap { padding: 0 16px 24px; }
  .bc-screenshot  { height: 180px; }
}

/* ── Utgift bento card ── */
.bc-utgift {
  background: linear-gradient(160deg, #fff8e7 0%, #fff3f0 50%, #f0fff8 100%);
  min-height: 220px;
  overflow: hidden;
}

.fi-1 {
    animation-delay: 0s;
    background: #ffd93d;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(255, 217, 61, 0.4);
    color: #1c1a18;
    font-size: 28px;
    height: 56px;
    right: 5%;
    top: 18%;
    transform: rotate(-8deg);
    width: 56px;
}
.fi-2 {
  animation-delay: -1.5s;
  background: var(--orange);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(255,107,53,0.35);
  color: white;
  font-size: 34px;
  height: 68px;
  right: 19%;
  bottom: 18%;
  transform: rotate(6deg);
  width: 68px;
}
.float-icon {
    align-items: center;
    animation: wiggle 4s ease-in-out infinite;
    display: flex;
    justify-content: center;
    pointer-events: none;
    position: fixed;
    z-index: 0;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  25%       { transform: rotate(8deg) translateY(-8px); }
  75%       { transform: rotate(-4deg) translateY(4px); }
}
/* blobs */
.bc-utgift .utgift-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
  z-index: 0;
}

.bc-utgift .utgift-blob-1 {
  width: 320px; height: 320px;
  background: rgba(255, 200, 100, .35);
  top: -120px; left: -80px;
  animation: d1 11s ease-in-out infinite alternate;
}

.bc-utgift .utgift-blob-2 {
  width: 260px; height: 260px;
  background: rgba(178, 34, 34, .1);
  bottom: -100px; right: 20%;
  animation: d2 13s ease-in-out infinite alternate;
}

.bc-utgift .utgift-blob-3 {
  width: 200px; height: 200px;
  background: rgba(0, 200, 140, .15);
  top: 10px; right: -60px;
  animation: d3 9s ease-in-out infinite alternate;
}
.highlight {
    color: #ff6b35;
    display: inline-block;
    position: relative;
}
.highlight::after {
    background: #ffd93d;
    border-radius: 4px;
    bottom: -4px;
    content: '';
    height: 8px;
    left: 0;
    position: absolute;
    right: 0;
    transform: rotate(-1.5deg);
    z-index: -1;
}
/* floating icons */
.bc-utgift .utgift-icon {
  position: absolute;
  z-index: 1;
  font-size: 2.2rem;
  opacity: .18;
  pointer-events: none;
}

.bc-utgift .utgift-icon-1 {
  bottom: 24px; right: 180px;
  animation: wobble 4s ease-in-out infinite;
}

.bc-utgift .utgift-icon-2 {
  top: 20px; right: 60px;
  font-size: 3rem;
  animation: wobble 5.5s 1s ease-in-out infinite;
}

/* keep all card content above blobs */
.bc-utgift .c-badge,
.bc-utgift .c-eye,
.bc-utgift .c-title,
.bc-utgift .c-body,
.bc-utgift .pill-row,
.bc-utgift .c-link,
.bc-utgift .c-ghost { position: relative; z-index: 2; }

.bc-utgift .c-link {
    color:var(--navy);
}

/* ── SERVICES PAGE ── */

.srv-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px 100px;
}

/* language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 40px;
}

.lang-btn {
  font-family: var(--font-b);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1.5px solid rgba(0,48,135,.2);
  background: transparent;
  color: var(--ink2);
  cursor: pointer;
  transition: all .2s;
}

.lang-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.lang-btn:hover:not(.active) { border-color: var(--navy); color: var(--navy); }
.lang-sep { color: var(--ink3); font-size: .8rem; }

/* hide/show by language */
[data-lang] { display: none; }
[data-lang].lang-visible { display: block; }
/* for inline elements */
span[data-lang].lang-visible { display: inline; }

/* rates table card */
.srv-table-card {
  background: var(--white);
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.06);
}

.srv-table-head {
  background: var(--navy);
  color: #fff;
  padding: 18px 32px;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.srv-table-head span { opacity: .55; font-size: .65rem; }

.srv-table {
  width: 100%;
  border-collapse: collapse;
}

.srv-table tr {
  border-bottom: 1px solid rgba(0,0,0,.05);
  transition: background .15s;
}

.srv-table tr:last-child { border-bottom: none; }
.srv-table tr:hover { background: var(--bg); }

.srv-table td {
  padding: 16px 32px;
  font-size: .92rem;
  color: var(--ink2);
  vertical-align: top;
}

.srv-table td:last-child {
  text-align: right;
  font-family: var(--font-d);
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  font-size: 1rem;
}

.srv-table .srv-note {
  display: block;
  font-size: .75rem;
  color: var(--ink3);
  margin-top: 3px;
  font-style: italic;
  font-weight: 400;
  font-family: var(--font-b);
}

.srv-table .srv-soon {
  font-family: var(--font-b);
  font-size: .72rem;
  font-weight: 700;
  color: var(--ink3);
  background: var(--warm);
  padding: 3px 10px;
  border-radius: 100px;
}

.srv-table .srv-quote {
  font-family: var(--font-b);
  font-size: .82rem;
  font-weight: 700;
  color: var(--red);
}

/* sup footnote */
.r24k-sup {
  color: var(--red);
  font-size: .65rem;
  font-weight: 800;
}

/* info cards below table */
.srv-info-row {
  display: flex;
  gap: var(--gap);
  margin-top: var(--gap);
}

.srv-info-card {
  flex: 1;
  background: var(--white);
  border-radius: var(--r);
  padding: 28px 32px;
  border: 1px solid rgba(0,0,0,.06);
}

.srv-info-card h4 {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy);
  margin: 0 0 10px;
  letter-spacing: -.02em;
}

.srv-info-card p {
  font-size: .88rem;
  color: var(--ink2);
  line-height: 1.7;
  margin: 0;
}

.srv-info-card a { color: var(--red); text-decoration: none; font-weight: 700; }
.srv-info-card a:hover { color: var(--navy); }

@media (max-width: 960px) {
  .srv-wrap { padding: 0 16px 64px; }
  .srv-table td { padding: 14px 20px; }
  .srv-info-row { flex-direction: column; }
}
