/* === Familjen Grotesk (body) — latin === */
@font-face {
  font-family: 'Familjen Grotesk';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/familjen-grotesk-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Familjen Grotesk';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('/fonts/familjen-grotesk-latin-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Familjen Grotesk';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('/fonts/familjen-grotesk-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* === Familjen Grotesk — latin-ext (covers å ä ö ñ ¿ ¡ etc.) === */
@font-face {
  font-family: 'Familjen Grotesk';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/familjen-grotesk-latin-ext-400.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Familjen Grotesk';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('/fonts/familjen-grotesk-latin-ext-500.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Familjen Grotesk';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('/fonts/familjen-grotesk-latin-ext-600.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* === Instrument Serif (display) — latin === */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/instrument-serif-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic; font-weight: 400; font-display: swap;
  src: url('/fonts/instrument-serif-latin-400-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* === Instrument Serif — latin-ext === */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/instrument-serif-latin-ext-400.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic; font-weight: 400; font-display: swap;
  src: url('/fonts/instrument-serif-latin-ext-400-italic.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --bg-dark: #050505;
    --bg-surface: #0f0f11;
    --border-color: rgba(255, 255, 255, 0.05);
    --text-main: #f0f0f0;
    --text-muted: #888888;
    --accent-blue: #7ca8d9; /* Dov isblå */
    --accent-display: #9ec6ee;     /* lighter ice-blue for serif italic on dark */
    --ease-editorial: cubic-bezier(.22,.61,.36,1);
    --transition-speed: 0.3s;
}

/* Krispigt och lyxigt ljust tema (Inverterade färger) */
body.light-mode {
    --bg-dark: #f8f9fa;
    --bg-surface: #ffffff;
    --border-color: rgba(0, 0, 0, 0.08);
    --text-main: #1a1a1a;
    --text-muted: #666666;
    --accent-blue: #2f5f9e; /* Något mörkare blå för optimal kontrast mot ljust */
    --accent-display: #2f5f9e;     /* match existing light-mode accent for italic */
}

/* --- Specifik design för navigeringen i ljust tema --- */
body.light-mode nav {
    background: rgba(255, 255, 255, 0.9); /* Ljus och frostad bakgrund */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* En subtil linje som avgränsar mot sidan */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03); /* Mjuk skugga för djup */
    /* color removed — links now inherit --text-main (dark) in light mode */
}

/* Light mode: dark nav text on desktop */
body.light-mode .nav-links a,
body.light-mode .hamburger span {
    color: var(--text-main);
}
body.light-mode .hamburger span { background: var(--text-main); }

/* Mobile: the menu overlay stays dark even in light mode, so links stay white */
@media (max-width: 768px) {
    body.light-mode .nav-menu {
        background: rgba(5, 5, 5, 0.95);
    }
    body.light-mode .nav-menu .nav-links a,
    body.light-mode .nav-menu .lang-switch a {
        color: #f0f0f0;
    }
}

/* Ger sol-ikonen en varm färg i ljust tema (≥3:1 kontrast mot ljus bakgrund, WCAG 1.4.11) */
body.light-mode .theme-toggle-btn {
    color: #cc7a00; /* Gyllene, varm sol-färg */
}

/* Frivilligt: Liten hover-effekt för solen */
body.light-mode .theme-toggle-btn:hover {
    color: #a35f00; /* Mörkare orange när du hovrar */
}

/* Säkerställ att loggan får rätt textfärg i ljust läge */
body.light-mode .logo {
    color: var(--text-main);
}

/* Lägg till denna regel för smidigt färgbyte överallt */
body, nav, .spotlight-card, .bento-item, footer, input, textarea {
    transition: background-color var(--transition-speed) ease, 
                color var(--transition-speed) ease, 
                border-color var(--transition-speed) ease;
}

/* Fix för Lunar-bakgrunden i ljust läge */
body.light-mode .lunar-arc {
    border-color: rgba(47, 95, 158, 0.15);
}
body.light-mode .lunar-glow {
    background: radial-gradient(circle, rgba(47, 95, 158, 0.08) 0%, transparent 70%);
}

/* Styling för tema-knappen */
.theme-toggle-btn {
    background: none; border: none; color: var(--text-main);
    font-size: 1.1rem; cursor: pointer; margin-left: 15px; padding: 5px;
}

/* --- Self-hosted inline icons (replaces Font Awesome) --- */
.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    fill: currentColor;
}

/* Theme toggle: swap moon/sun icon with CSS instead of JS */
.theme-toggle-btn .icon-sun { display: none; }
body.light-mode .theme-toggle-btn .icon-moon { display: none; }
body.light-mode .theme-toggle-btn .icon-sun { display: inline-block; }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Honour the `hidden` attribute even on elements with an explicit display
   (e.g. .portfolio-card). Remove `hidden` from the markup to show again. */
[hidden] { display: none !important; }

body {
    font-family: 'Familjen Grotesk', -apple-system, Segoe UI, sans-serif;
    font-weight: 400;
    letter-spacing: -0.003em;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Custom arrow cursor: the normal pointer, tinted in the brand blue --- */
/* Dark theme → light ice-blue (#7ca8d9). Light theme → the darker blue (#2f5f9e), same shift as the text/accent. */
body {
    cursor: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M0%200V18L4.5%2013.7L7.5%2020.8L10.2%2019.6L7.2%2012.7H13Z'%20fill='%237ca8d9'%20stroke='white'%20stroke-width='1.2'%20stroke-linejoin='round'/%3E%3C/svg%3E") 0 0, auto;
}
body.light-mode {
    cursor: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M0%200V18L4.5%2013.7L7.5%2020.8L10.2%2019.6L7.2%2012.7H13Z'%20fill='%232f5f9e'%20stroke='white'%20stroke-width='1.2'%20stroke-linejoin='round'/%3E%3C/svg%3E") 0 0, auto;
}

/* --- Comet WebGL Canvas (created dynamically by script.js) --- */
#comet-bg {
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
}

/* --- Lunar Tech Bakgrund --- */
.lunar-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-color: transparent; /* canvas provides the bg; body is the no-WebGL fallback */
    z-index: -2;
    overflow: hidden;
}

.lunar-arc {
    position: absolute;
    top: 50%; left: 50%;
    width: 90vmin; height: 90vmin;
    border-radius: 50%;
    box-shadow: inset 0 0 60px rgba(124, 168, 217, 0.05), 
                0 0 30px rgba(124, 168, 217, 0.1);
    border: 1px solid transparent;
    border-top: 2px solid rgba(124, 168, 217, 0.4);
    transform: translate(-50%, -50%);
    animation: rotateArc 40s linear infinite;
    filter: blur(3px);
}

.lunar-glow {
    position: absolute;
    top: 30%; left: 60%;
    width: 50vw; height: 50vw;
    background: radial-gradient(circle, rgba(124, 168, 217, 0.08) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    animation: pulseGlow 10s ease-in-out infinite alternate;
}

@keyframes rotateArc {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulseGlow {
    0% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* --- Layout & Typography --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 5%; }
.section-padding { padding: 120px 0; }
.section-title {
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-muted);
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

/* --- Nav --- */
nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 30px 5%; position: fixed; width: 100%; top: 0; z-index: 100;
    background: rgba(5, 5, 5, 0.8); backdrop-filter: blur(10px);
}
.logo { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.5px; }
.nav-links { display: flex; gap: 40px; align-items: center; font-size: 0.9rem; }
.btn-nav { border: 1px solid var(--border-color); padding: 8px 20px; border-radius: 40px; transition: border-color 0.3s; }
.btn-nav:hover { border-color: var(--accent-blue); }

/* Nav link hover pill — same edge as contact button */
.nav-links a:not(.btn-nav) {
    padding: 7px 14px;
    border-radius: 40px;
    border: 1px solid transparent;
    transition: border-color 0.3s, color 0.3s;
}
.nav-links a:not(.btn-nav):hover { border-color: var(--accent-blue); }
.nav-links a:not(.btn-nav)[aria-current="page"] { border-color: rgba(124, 168, 217, 0.28); }
body.light-mode .nav-links a:not(.btn-nav)[aria-current="page"] { border-color: rgba(47, 95, 158, 0.28); }

/* --- Språkväljare --- */
.lang-switch {
    display: flex; gap: 10px;
    margin-left: 30px;
    border-left: 1px solid var(--border-color);
    padding-left: 20px;
}
.lang-switch a {
    background: none; border: none;
    color: var(--text-muted);
    font-family: inherit; font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s;
}
.lang-switch a:hover, .lang-switch a.active {
    color: var(--accent-blue);
    font-weight: 600;
}
.lang-switch a:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* Logo serif italic suffix */
.logo a { font-family: 'Familjen Grotesk', sans-serif; }
.logo a em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent-display);
}

/* === Hero (editorial polish) === */
#hero {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 140px clamp(20px, 5vw, 80px) 80px;
  text-align: center;
}
#hero .hero-content {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-display);
  margin: 0 auto 48px;
  opacity: 0;
  transform: translateY(8px);
  animation: heroRise .9s var(--ease-editorial) .2s forwards;
}
.hero-eyebrow .rule {
  width: 36px;
  height: 1px;
  background: var(--accent-display);
  opacity: .55;
  display: inline-block;
}

.hero-title {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(2.6rem, 7.4vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--text-main);
  margin: 0 0 36px;
}
.hero-title .word {
  display: inline-block;
  overflow: hidden;
  line-height: 1.02;
  vertical-align: bottom;
}
.hero-title .word > span {
  display: inline-block;
  transform: translateY(110%);
  animation: heroWordIn 1.1s var(--ease-editorial) forwards;
}
.hero-title em.emphasis {
  font-style: italic;
  color: var(--accent-display);
  position: relative;
  font-family: 'Instrument Serif', serif;
}
.hero-title em.emphasis::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .08em;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent-display), transparent);
  transform: scaleX(0);
  transform-origin: left;
  animation: heroUnderline 1.2s var(--ease-editorial) 1.6s forwards;
}

.hero-sub {
  font-family: 'Familjen Grotesk', sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 56px;
  opacity: 0;
  transform: translateY(12px);
  animation: heroRise 1s var(--ease-editorial) 1.1s forwards;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
  opacity: 0;
  transform: translateY(12px);
  animation: heroRise 1s var(--ease-editorial) 1.3s forwards;
}

/* Hero CTAs — applies globally to btn-primary / btn-ghost */
.btn-primary, .btn-ghost {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 32px;
  border-radius: 999px;
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: .94rem;
  font-weight: 500;
  letter-spacing: .005em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .4s var(--ease-editorial),
              background .4s var(--ease-editorial),
              border-color .4s var(--ease-editorial),
              color .4s var(--ease-editorial);
  min-width: 200px;
}
.btn-primary {
  background: var(--text-main);
  color: var(--bg-dark);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: #ffffff;
}
.btn-ghost {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border-color);
}
.btn-ghost:hover {
  border-color: var(--accent-display);
  color: var(--accent-display);
  transform: translateY(-2px);
}
.btn-primary .arrow,
.btn-ghost .arrow {
  transition: transform .4s var(--ease-editorial);
}
.btn-primary:hover .arrow,
.btn-ghost:hover .arrow {
  transform: translateX(4px);
}

.hero-locations {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 72px auto 0;
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(8px);
  animation: heroRise 1s var(--ease-editorial) 1.6s forwards;
}
.hero-locations .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
  display: inline-block;
}

@keyframes heroWordIn   { to { transform: translateY(0); } }
@keyframes heroUnderline{ to { transform: scaleX(1); } }
@keyframes heroRise     { to { opacity: 1; transform: translateY(0); } }

/* Hero — mobile */
@media (max-width: 680px) {
  #hero { padding-top: 120px; padding-bottom: 60px; }
  .hero-eyebrow { margin-bottom: 36px; font-size: .7rem; gap: 10px; }
  .hero-eyebrow .rule { width: 24px; }
  /* Stack the location onto its own line on mobile */
  .hero-eyebrow .eyebrow-text { text-align: center; }
  .hero-eyebrow .eyebrow-dot { display: none; }
  .hero-eyebrow .eyebrow-loc { display: block; }
  .hero-title { margin-bottom: 28px; }
  .hero-sub { margin-bottom: 40px; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: 340px;
    margin: 0 auto;
  }
  .btn-primary, .btn-ghost { width: 100%; min-width: 0; }
  .hero-locations { flex-wrap: wrap; gap: 14px; margin-top: 48px; }
}

/* Hero — respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-title .word > span { transform: none; animation: none; }
  .hero-title em.emphasis::after { transform: scaleX(1); animation: none; }
  .hero-eyebrow, .hero-sub, .hero-actions, .hero-locations {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* --- Portfolio & Cards --- */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 30px; }
.portfolio-card, .service-item { 
    display: block; 
    background: var(--bg-surface); 
    border: 1px solid var(--border-color); 
    border-radius: 12px; 
    overflow: hidden; 
    transition: transform 0.3s, border-color 0.3s; 
}
.portfolio-card:hover, .service-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}
.card-content { padding: 15px; }
.mockup-img { width: 100%; height: 300px; object-fit: cover; border-radius: 8px; filter: grayscale(80%) contrast(1.2); transition: filter 0.5s; }
.portfolio-card:hover .mockup-img { filter: grayscale(0%); }
.card-info { padding: 20px 10px 10px; }
.card-info h3 { font-size: 1.2rem; font-weight: 400; }
.card-info p { color: var(--text-muted); font-size: 0.9rem; margin-top: 5px; }

/* --- Services Grid --- */
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.service-item { padding: 40px 30px; }
.service-item h3 { font-size: 1.1rem; margin-bottom: 15px; font-weight: 400; color: var(--accent-blue); }
.service-item p { color: var(--text-muted); font-size: 0.9rem; }

/* --- About --- */
.about-text h2 { font-size: 3rem; font-weight: 300; margin-bottom: 2rem; }
.about-text p { font-size: 1.2rem; color: var(--text-muted); max-width: 700px; margin-bottom: 1.5rem; }

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 40px; right: 40px;
    width: 60px; height: 60px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    color: var(--text-main); font-size: 1.8rem;
    z-index: 1000;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.whatsapp-float:hover {
    background: #25D366;
    color: #075E54; /* WhatsApp dark teal — gives ≥3:1 contrast vs. green bg (WCAG 1.4.11) */
    border-color: #25D366;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

footer { text-align: center; padding: 40px; font-size: 0.8rem; color: var(--text-muted); border-top: 1px solid var(--border-color); }
footer a { text-decoration: underline; text-underline-offset: 3px; }
footer a:hover { color: var(--accent-blue); }

/* --- Social Links --- */
.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: color 0.3s, border-color 0.3s, transform 0.3s;
}
.social-links a:hover,
.social-links a:focus-visible {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .portfolio-grid { grid-template-columns: 1fr; }

    /* Smaller, repositioned WhatsApp button so it never overlaps the stacked hero CTAs */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
    }

/* --- Spotlight Effekten (Återställd) --- */
.spotlight-card {
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}
.spotlight-overlay {
    position: absolute; inset: 0; pointer-events: none; opacity: 0;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(124, 168, 217, 0.08), transparent 40%);
    transition: opacity 0.3s ease;
    z-index: 1;
}
.spotlight-card:hover .spotlight-overlay { opacity: 1; }

/* --- Hamburgermeny & Mobil-Nav --- */
.hamburger {
    display: none; cursor: pointer; z-index: 101; flex-direction: column; gap: 6px; margin-right: 15px;
}
.hamburger span {
    width: 30px; height: 2px; background: var(--text-main);
    transition: all 0.4s ease; border-radius: 2px;
}
.nav-menu {
    display: flex; align-items: center;
}

@media (max-width: 768px) {

    .portfolio-grid { grid-template-columns: 1fr; }

    /*Hamburgaremeny och mobilnav*/
    .hamburger { display: flex; }
    .nav-menu {
        position: fixed; top: 0; right: -100%; /* Gömd utanför skärmen */
        width: 100vw; height: 100vh;
        background: rgba(5, 5, 5, 0.95); backdrop-filter: blur(15px);
        flex-direction: column; justify-content: center; gap: 40px;
        transition: right 0.5s ease-in-out; z-index: 100;
    }
    .nav-menu.active { right: 0; /* Åker in vid klick */ }
    .nav-links { flex-direction: column; text-align: center; font-size: 1.5rem; }
    
    /* Animation när hamburgaren klickas till ett X */
    .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--accent-blue); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--accent-blue); }
    
    .lang-switch { margin-left: 0; border-left: none; padding-left: 0; justify-content: center; }
}

/* --- Bento Grid för Projekt-sidan --- */
.project-container { display: flex; gap: 50px; padding-top: 120px; align-items: flex-start; }
.project-info { flex: 1; }
.project-info h1 { font-size: 3.5rem; font-weight: 300; margin-bottom: 20px; }
.project-info .tech-stack { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0; }
.tech-tag { padding: 5px 15px; border: 1px solid var(--accent-blue); border-radius: 20px; font-size: 0.8rem; color: var(--accent-blue); }
.project-gallery { flex: 2; display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
.bento-item { border-radius: 12px; overflow: hidden; background: var(--bg-surface); border: 1px solid var(--border-color); }
.bento-item img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(50%); transition: filter 0.4s; }
.bento-item:hover img { filter: grayscale(0%); }
.bento-desktop { grid-column: span 2; height: 400px; }
.bento-mobile, .bento-tablet { grid-column: span 1; height: 500px; }

@media (max-width: 900px) {
    .project-container { flex-direction: column; }
    .project-info { position: static; margin-bottom: 40px; }
    .bento-desktop, .bento-mobile, .bento-tablet { grid-column: span 2; height: auto; aspect-ratio: 16/9; }
}

/* --- Accessibility: Focus States for Keyboard Navigation --- */
a:focus-visible, 
button:focus-visible, 
input:focus-visible, 
textarea:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Säkerställer att knappar ser ut som knappar för skärmläsare */
button {
    font-family: inherit;
}

/* --- ACCESSIBILITY & SEO: Keyboard Navigation Focus Ring --- */
a:focus-visible,
div[role="button"]:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--accent-blue) !important;
    outline-offset: 4px !important;
    border-radius: 4px !important;
}

/* --- Packages (services page + home preview) --- */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
    align-items: stretch;
}
.package-card {
    display: flex;
    flex-direction: column;
    padding: 40px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    position: relative;
    transition: transform 0.4s ease, border-color 0.4s ease;
}
.package-card:hover { transform: translateY(-6px); border-color: var(--accent-blue); }
.package-card.featured { border-color: var(--accent-blue); box-shadow: 0 30px 60px rgba(124, 168, 217, 0.08); }
.package-card .badge {
    position: absolute; top: -12px; left: 24px;
    background: var(--accent-blue); color: var(--bg-dark);
    font-size: 0.7rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
    padding: 5px 12px; border-radius: 20px;
}
.package-name { color: var(--accent-blue); font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; margin-bottom: 10px; }
.package-title { font-size: 1.8rem; font-weight: 400; margin-bottom: 10px; }
.package-price { font-size: 2.5rem; font-weight: 300; margin-bottom: 5px; }
.package-price .strike { font-size: 1.1rem; color: var(--text-muted); text-decoration: line-through; margin-right: 8px; }
.package-price-note { color: var(--accent-blue); font-size: 0.85rem; margin-bottom: 20px; min-height: 1.2em; }
.package-desc { color: var(--text-muted); margin-bottom: 25px; line-height: 1.6; }
.package-features { list-style: none; padding: 0; margin: 0 0 30px 0; flex: 1; }
.package-features li { padding: 10px 0 10px 28px; position: relative; color: var(--text-main); font-size: 0.95rem; line-height: 1.5; border-bottom: 1px solid var(--border-color); }
.package-features li:last-child { border-bottom: none; }
.package-features li::before {
    content: '✓'; position: absolute; left: 0; top: 10px;
    color: var(--accent-blue); font-weight: 600;
}

/* --- 10 Premium Features grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 50px;
}
.feature-item {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.feature-item:hover { border-color: var(--accent-blue); transform: translateY(-3px); }
.feature-item .feature-icon {
    flex-shrink: 0;
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: rgba(124, 168, 217, 0.1);
    color: var(--accent-blue);
    font-size: 1.1rem;
}
.feature-item h3 { font-size: 1rem; font-weight: 600; margin: 0 0 5px 0; }
.feature-item p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.5; margin: 0; }

/* --- "Looking for something else?" CTA card --- */
.cta-card {
    margin-top: 100px;
    padding: 60px 40px;
    text-align: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
}
.cta-card h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 300; margin-bottom: 15px; }
.cta-card p { color: var(--text-muted); max-width: 640px; margin: 0 auto 30px; line-height: 1.7; font-size: 1.05rem; }

/* --- FAQ accordion --- */
.faq-list {
    max-width: 760px;
    margin: 50px auto 0;
}
.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0 24px;
    margin-bottom: 14px;
    transition: border-color 0.3s ease;
}
.faq-item:hover { border-color: var(--accent-blue); }
.faq-item summary {
    padding: 20px 0;
    font-weight: 600;
    list-style: none;
    position: relative;
    padding-right: 30px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute; right: 0; top: 18px;
    font-size: 1.4rem; font-weight: 300; color: var(--accent-blue);
    transition: transform 0.3s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 0 20px 0;
}

/* --- Project gallery: phone-frame grid for mobile screenshots --- */
.project-gallery-mobile {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 60px;
    align-items: start;
}
.phone-frame {
    background: var(--bg-surface);
    padding: 10px 8px 8px;
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.phone-frame:hover {
    transform: translateY(-6px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(124, 168, 217, 0.2);
}
.phone-frame img {
    width: 100%;
    display: block;
    border-radius: 20px;
}
body.light-mode .phone-frame {
    background: #e8e8ea;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Portfolio card thumbnails: crop tall mobile shots to a landscape preview */
.portfolio-card .mockup-img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top center;
}

/* --- Accessibility: Screen-reader-only text (visually hidden) --- */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* --- Accessibility: Skip link (keyboard users tab here first) --- */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--accent-blue);
    color: var(--bg-dark);
    padding: 12px 20px;
    z-index: 9999;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 8px 0;
}
.skip-link:focus { top: 0; }

/* --- Accessibility: Active page indicator (replaces inline color styling) --- */
.nav-links a[aria-current="page"] { color: var(--accent-blue); }

/* --- Accessibility: Respect prefers-reduced-motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .lunar-bg { display: none !important; }
}

/* --- Säkerställ färg på sol-ikonen i ljust läge (≥3:1 kontrast mot ljus bakgrund, WCAG 1.4.11) --- */
body.light-mode .theme-toggle-btn {
    color: #cc7a00 !important;
}
body.light-mode .theme-toggle-btn:hover {
    color: #a35f00 !important;
}

/* ============================================================
   GALLERY COMPONENTS
   ============================================================ */

/* --- Peek Slider (Featured Work — all index pages) --- */
.peek-slider {
  position: relative;
  overflow: hidden;
  margin-top: 30px;
}
.peek-slider__track {
  display: flex;
  will-change: transform;
  transition: transform .7s cubic-bezier(.22,.61,.36,1);
}
.peek-slide {
  flex: 0 0 85%;
  box-sizing: border-box;
  padding-right: 4%;
}
@media (max-width: 680px) {
  .peek-slide { flex: 0 0 94%; padding-right: 3%; }
}
.peek-slide__link {
  display: block;
  text-decoration: none;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  transition: border-color .3s;
}
.peek-slide__link:hover { border-color: var(--accent-blue); }
.peek-slide__img-wrap img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: grayscale(60%) contrast(1.1);
  transition: filter .5s;
}
.peek-slide__link:hover .peek-slide__img-wrap img { filter: grayscale(0%); }
.peek-slide__body { padding: 22px 26px 26px; }
.peek-slide__title {
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0 0 8px;
  color: var(--text-main);
}
.peek-slide__desc {
  color: var(--text-muted);
  font-size: .9rem;
  margin: 0 0 14px;
  line-height: 1.5;
}
.peek-slide__cta {
  color: var(--accent-blue);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .04em;
  display: inline-block;
  transition: transform .3s;
}
.peek-slide__link:hover .peek-slide__cta { transform: translateX(4px); }

.peek-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 26px;
}
.peek-btn {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .3s, color .3s;
  flex-shrink: 0;
  font-family: inherit;
}
.peek-btn:hover, .peek-btn:focus-visible {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}
.peek-dots { display: flex; gap: 10px; align-items: center; }
.peek-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border-color);
  cursor: pointer;
  padding: 0;
  transition: background .3s, transform .25s;
  flex-shrink: 0;
  font-family: inherit;
}
.peek-dot.active {
  background: var(--accent-blue);
  transform: scale(1.4);
}
@media (prefers-reduced-motion: reduce) {
  .peek-slider__track { transition: none; }
  .peek-dot { transition: none; }
}


/* --- Editorial Gallery (project-2 Interior by Ivana) --- */
.editorial-gallery {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.editorial-item { display: flex; align-items: center; gap: 50px; }
.editorial-item--right { flex-direction: row-reverse; }
.editorial-item__img { flex: 0 0 280px; }
.editorial-item__caption { flex: 1; }
.editorial-item__caption h3 {
  font-size: 1.1rem; font-weight: 500;
  margin: 0 0 10px; color: var(--text-main);
}
.editorial-item__caption p {
  color: var(--text-muted); line-height: 1.7;
  font-size: .95rem; margin: 0;
}
@media (max-width: 680px) {
  .editorial-item, .editorial-item--right {
    flex-direction: column; gap: 20px;
  }
  .editorial-item__img { flex: none; width: 100%; }
}

/* (BuildMasters gallery styles — expand-panels & screenshot-grid — removed with the project) */

/* ============================================================
   PORTFOLIO CARD STATUS BADGE
   ============================================================ */
.card-content { position: relative; }
.peek-slide__img-wrap { position: relative; }
.card-status {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg-dark);
  background: var(--accent-blue);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* ============================================================
   DEVICE FRAMES — desktop browser window + long-scroll viewport
   (project galleries: BuddyTag, Brasa, Ivana, Forno)
   ============================================================ */

/* Stylised browser window for desktop screenshots */
.browser-frame {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.browser-frame:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(124, 168, 217, 0.2);
}
.browser-frame__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-color);
}
.browser-frame__dots {
  display: flex;
  gap: 7px;
  flex-shrink: 0;
}
.browser-frame__dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--border-color);
}
.browser-frame__address {
  flex: 1;
  min-width: 0;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 7px;
  padding: 4px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.light-mode .browser-frame {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Fixed-height window onto a tall full-page screenshot.
   Auto-pans (script.js) and stays manually scrollable by the user. */
.scroll-shot {
  --shot-h: 340px;
  height: var(--shot-h);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: var(--bg-surface);
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-blue) transparent;
}
.scroll-shot::-webkit-scrollbar { width: 8px; }
.scroll-shot::-webkit-scrollbar-track { background: transparent; }
.scroll-shot::-webkit-scrollbar-thumb {
  background: var(--accent-blue);
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
.scroll-shot img {
  width: 100%;
  display: block;
  height: auto;
  border-radius: 0;
}
.phone-frame .scroll-shot { border-radius: 20px; }

/* Placeholder shown while a screenshot file has not been added yet */
.scroll-shot.is-missing {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  overflow: hidden;
}
.scroll-shot.is-missing img { display: none; }
.scroll-shot.is-missing::after {
  content: 'Screenshot coming soon';
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* --- BuddyTag: long-scroll device rows (desktop browser + phone side by side) --- */
.device-rows {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.device-row {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}
.device-figure { margin: 0; }
.device-caption {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 14px;
}
.device-row .browser-frame,
.editorial-item .browser-frame { width: 100%; }
@media (max-width: 680px) {
  .device-row { grid-template-columns: 1fr; gap: 36px; }
}

/* --- Brasa: responsive device switcher (Desktop / Mobile tabs, crossfade) --- */
.device-switch { margin-top: 40px; }
.device-switch__tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}
.device-switch__tab {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 9px 22px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.device-switch__tab:hover,
.device-switch__tab:focus-visible {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}
.device-switch__tab.is-active {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: var(--bg-dark);
}
.device-switch__stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
}
.device-switch__panel {
  width: 100%;
  display: flex;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.985);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
.device-switch__panel.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.device-switch__panel:not(.is-active) {
  position: absolute;
  inset: 0;
}
.device-switch__panel .browser-frame { width: 100%; max-width: 760px; }
.device-switch__panel .phone-frame { width: 264px; }
@media (prefers-reduced-motion: reduce) {
  .device-switch__panel { transition: none; }
}
@media (max-width: 680px) {
  .device-switch__stage { min-height: 480px; }
  .device-switch__panel .phone-frame { width: 220px; }
}

/* --- Ivana editorial: desktop browser + phone paired in the reveal --- */
.editorial-item__img--devices {
  flex: 0 0 420px;
  max-width: 420px;
  display: flex;
  align-items: flex-end;
  gap: 16px;
}
.editorial-item__img--devices .browser-frame { flex: 1 1 auto; min-width: 0; }
.editorial-item__img--devices .phone-frame { flex: 0 0 96px; width: 96px; }
.editorial-item__img--devices .phone-frame img { border-radius: 16px; }
@media (max-width: 680px) {
  .editorial-item__img--devices { flex: none; width: 100%; max-width: 100%; }
}

/* ============================================================
   PROJECT GALLERIES — three distinct layouts
   Forno (compose) · Ámbar (cinema) · Dulce (scrapbook)
   All reuse .browser-frame / .phone-frame / .scroll-shot
   ============================================================ */

/* Plain (non-scrolling) image inside a browser frame — used for the BuddyTag "before" shot */
.browser-frame__img { display: block; width: 100%; height: auto; }

/* --- Forno Vero: overlapping hero composition (big desktop + phone in front) --- */
.compose {
  position: relative;
  margin-top: 44px;
  padding: 20px 0 44px;
}
.compose::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: min(680px, 88%);
  height: 120px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(124, 168, 217, 0.18), transparent);
  filter: blur(8px);
  z-index: 0;
  pointer-events: none;
}
.compose__desktop {
  position: relative;
  z-index: 1;
  width: 78%;
  margin-left: auto;
  transition: transform 0.5s var(--ease-editorial);
}
.compose__phone {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 10px;
  width: 208px;
  margin: 0;
  transition: transform 0.5s var(--ease-editorial);
}
.compose__desktop:hover,
.compose__phone:hover { transform: translateY(-8px); }
@media (max-width: 760px) {
  .compose { display: flex; flex-direction: column; align-items: center; gap: 28px; padding-bottom: 20px; }
  .compose::before { display: none; }
  .compose__desktop { width: 100%; }
  .compose__phone { position: static; width: 200px; }
}

/* --- Ámbar cocktail bar: cinematic after-hours stage (dark + amber glow) --- */
.cinema {
  position: relative;
  margin-top: 44px;
  padding: 56px 24px 44px;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(130% 90% at 50% -10%, rgba(224, 160, 74, 0.18), transparent 55%),
    linear-gradient(180deg, #14100b 0%, #0c0a08 100%);
  border: 1px solid rgba(224, 160, 74, 0.20);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.cinema__desktop { position: relative; z-index: 1; width: min(720px, 82%); margin: 0; }
.cinema__phone {
  position: relative;
  z-index: 2;
  width: 210px;
  margin: 0 0 12px -68px;
  border-radius: 30px;
  box-shadow: 0 0 44px rgba(224, 160, 74, 0.28);
  transition: transform 0.5s var(--ease-editorial);
}
.cinema__phone:hover { transform: translateY(-8px); }
.cinema .device-caption { color: rgba(255, 255, 255, 0.62); }
@media (max-width: 760px) {
  .cinema { flex-direction: column; align-items: center; gap: 24px; padding: 40px 16px; }
  .cinema__desktop { width: 100%; }
  .cinema__phone { margin: 0; width: 200px; }
}

/* --- Dulce bakery: warm scrapbook / tilted photo cards --- */
.scrapbook {
  position: relative;
  margin-top: 44px;
  padding: 52px 24px;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(214, 168, 120, 0.16), transparent 62%),
    var(--bg-surface);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.scrapbook__desktop {
  width: min(600px, 66%);
  margin: 0;
  transform: rotate(-2.5deg);
  transition: transform 0.5s var(--ease-editorial);
}
.scrapbook__phone {
  width: 208px;
  margin: 0;
  transform: rotate(3.5deg);
  transition: transform 0.5s var(--ease-editorial);
}
.scrapbook__desktop:hover { transform: rotate(0deg) translateY(-6px); }
.scrapbook__phone:hover { transform: rotate(0deg) translateY(-6px); }
@media (max-width: 760px) {
  .scrapbook { gap: 28px; padding: 36px 16px; }
  .scrapbook__desktop { width: 100%; transform: none; }
  .scrapbook__phone { width: 190px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .scrapbook__desktop, .scrapbook__phone { transform: none; }
}
