/* ==========================================================================
   Skapa Design House — site styles
   One stylesheet for every page. Plain CSS, no build step.
   ========================================================================== */

/* ---------- Fonts ----------
   Self-hosted from /fonts (downloaded from Google Fonts, SIL Open Font
   License), so no visitor data goes to Google when a page loads.
   latin-ext files only download if a page uses those characters. */

@font-face {
  font-family: 'Hanken Grotesk';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/hanken-grotesk-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/hanken-grotesk-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/hanken-grotesk-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/hanken-grotesk-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/newsreader-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/newsreader-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/fonts/newsreader-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/fonts/newsreader-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/playfair-display-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/playfair-display-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url('/fonts/playfair-display-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url('/fonts/playfair-display-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream: #FAF6EE;
  --offwhite: #FFFDF8;
  --plum: #4B1E3F;
  --plum-deep: #33132A;
  --plum-hover: #7A4468;
  --plum-muted: #6F4762;
  --lime: #D4E85C;
  --lime-deep: #B9CE3E;
  --error: #8A2D2D;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --gutter: clamp(20px, 5vw, 44px);
  --serif-display: 'Playfair Display', Georgia, serif;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --squiggle-plum: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2212%22%3E%3Cpath d=%22M-10 6 q5 -5 10 0 t10 0 t10 0 t10 0%22 fill=%22none%22 stroke=%22%234B1E3F%22 stroke-width=%222.6%22 stroke-linecap=%22round%22/%3E%3C/svg%3E');
  --squiggle-lime: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2212%22%3E%3Cpath d=%22M-10 6 q5 -5 10 0 t10 0 t10 0 t10 0%22 fill=%22none%22 stroke=%22%23D4E85C%22 stroke-width=%222.6%22 stroke-linecap=%22round%22/%3E%3C/svg%3E');
  --squiggle-current: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2212%22%3E%3Cpath d=%22M-10 6 q5 -5 10 0 t10 0 t10 0 t10 0%22 fill=%22none%22 stroke=%22%23B9CE3E%22 stroke-width=%223%22 stroke-linecap=%22round%22/%3E%3C/svg%3E');
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--plum);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }

/* Paper grain: a fixed, non-interactive layer so it never repaints on scroll */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: .07;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .29 0 0 0 0 .12 0 0 0 0 .25 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media print { body::after { display: none; } }
[hidden] { display: none !important; }
a { color: var(--plum); text-decoration: none; }
a:hover { color: var(--plum); }
::selection { background: var(--lime); color: var(--plum-deep); }
input::placeholder, textarea::placeholder { color: #7A5670; opacity: 1; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark a:focus-visible, .on-dark button:focus-visible { outline-color: var(--cream); }
main:focus { outline: none; }
h1, h2, h3 { font-weight: 400; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Layout helpers */
.wrap { max-width: 1180px; margin: 0 auto; }
.wrap-1080 { max-width: 1080px; margin: 0 auto; }
.wrap-1000 { max-width: 1000px; margin: 0 auto; }
.wrap-900 { max-width: 900px; margin: 0 auto; }
.pretty { text-wrap: pretty; }

/* ---------- Skip link ---------- */

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 120;
  background: var(--plum);
  color: var(--cream);
  padding: 14px 24px;
  border-radius: 0 0 14px 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: top .18s ease;
}
.skip-link:focus, .skip-link:hover { top: 0; color: var(--cream); }

/* ---------- Buttons and text links ---------- */

.btn {
  display: inline-block;
  background: var(--plum);
  color: var(--cream);
  padding: 17px 40px;
  border: 0;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: normal;
  cursor: pointer;
  transition: background-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { background: var(--plum-deep); color: var(--cream); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(51, 19, 42, .6); }
.btn:active, .btn-outline:active, .nav-cta:active, .jump-chip:active, .chip span:active { transform: scale(.98); box-shadow: none; }
.btn--lg { padding: 20px 48px; font-size: 16px; }

.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--plum);
  padding: 17px 38px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.btn-outline:hover { background: var(--plum); color: var(--cream); }

/* Squiggle underline: grows in on hover, stays on for the current page */
.sq { position: relative; display: inline-block; }
.sq-line {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 10px;
  width: 0;
  background-image: var(--squiggle-plum);
  background-repeat: repeat-x;
  background-size: 24px 10px;
  transition: width .42s var(--ease);
}
.sq--lime .sq-line { background-image: var(--squiggle-lime); }
.sq:hover .sq-line, .sq:focus-visible .sq-line { width: 100%; }

.tlink {
  font-weight: 600;
  transition: border-color .2s ease;
}
.tlink:hover { border-bottom-color: transparent; }
.tlink--lg { font-size: 15px; border-bottom: 2px solid rgba(75, 30, 63, .3); padding-bottom: 14px; }
.tlink--caps {
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(75, 30, 63, .55);
  padding-bottom: 7px;
}
.tlink--on-dark, .tlink--on-dark:hover { color: var(--lime); border-bottom-color: rgba(212, 232, 92, .4); }
.tlink--on-dark:hover { border-bottom-color: transparent; }

/* ---------- Type ---------- */

.eyebrow {
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--plum-muted);
  margin: 0 0 20px;
}
.kicker {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--plum-muted);
}
.rule { display: block; width: 56px; height: 3px; background: var(--lime); }
.wavy { display: block; }

/* Page hero: h1 + lime rule on the cream band */
.hero { padding: clamp(30px, 5vw, 44px) var(--gutter) clamp(30px, 4vw, 40px); }
.hero-inner { display: flex; flex-direction: column; gap: 14px; }
.hero h1 {
  font-family: var(--serif-display);
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1;
  letter-spacing: -.03em;
  margin: 0;
}
.hero--wide h1 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.02; max-width: 24ch; text-wrap: pretty; }
.hero--narrow h1 { max-width: 20ch; }
.hero-lead { font-size: 17px; line-height: 1.65; max-width: 46ch; margin: 0; opacity: .8; text-wrap: pretty; }

/* "Want to make something?" call to action row */
.cta-row { display: flex; align-items: center; gap: clamp(18px, 3vw, 32px); flex-wrap: wrap; }
.cta-row h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 38px); line-height: 1.15; margin: 0; }

/* "Next" cards at the foot of studio pages */
.next-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 18px;
  margin-top: clamp(48px, 6vw, 72px);
}
.next-card {
  display: block;
  padding: 24px 26px;
  border: 1px solid rgba(75, 30, 63, .55);
  border-radius: 18px;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.next-card:hover { background: var(--plum); color: var(--cream); }
.next-card-label { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; opacity: .7; margin-bottom: 10px; }
.next-card-title { display: block; font-family: var(--serif); font-size: 24px; }

/* ==========================================================================
   Header and navigation
   ========================================================================== */

.hdr-sentinel { height: 80px; margin-bottom: -80px; pointer-events: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px clamp(16px, 4vw, 44px);
  transition: padding-top .3s var(--ease), padding-bottom .3s var(--ease);
  background: rgba(250, 246, 238, .9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(75, 30, 63, .12);
}
.site-header.is-condensed { padding-top: 8px; padding-bottom: 8px; }
.hdr-row { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; }
.hdr-logo { display: flex; align-items: center; }
.hdr-logo img {
  width: clamp(124px, 34vw, 150px);
  height: auto;
  display: block;
  transform-origin: left center;
  transition: transform .3s var(--ease);
}
.is-condensed .hdr-logo img { transform: scale(.82); }

.nav-main { display: flex; gap: 10px 26px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.nav-link {
  flex: none;
  font-size: 11px;
  letter-spacing: .19em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 10px 0 15px;
}
.nav-cta {
  flex: none;
  font-size: 11px;
  letter-spacing: .19em;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--plum);
  color: var(--cream);
  padding: 12px 24px;
  border-radius: 999px;
  transition: background-color .18s var(--ease);
}
.nav-cta:hover { background: var(--plum-deep); color: var(--cream); }

.menu-btn {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  background: transparent;
  border: 1px solid rgba(75, 30, 63, .55);
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
}
.menu-btn-bars { display: flex; flex-direction: column; gap: 5px; width: 18px; }
.menu-btn-bars span { display: block; height: 1.5px; background: var(--plum); border-radius: 2px; }

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 0 10px;
  margin-top: 12px;
  border-top: 1px solid rgba(75, 30, 63, .12);
}
.nav-mobile .nav-link {
  align-self: flex-start;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  padding: 12px 2px 16px;
}
.nav-mobile .nav-cta {
  margin-top: 14px;
  text-align: center;
  padding: 16px 24px;
  font-size: 12px;
}

@media (max-width: 860px) {
  .nav-main { display: none; }
  .menu-btn { display: grid; }
}
@media (min-width: 861px) {
  .nav-mobile { display: none !important; }
}

/* Current page marker, driven by the class on <body> */
body.page-work .site-header [data-navlink="work"] .sq-line,
body.page-services .site-header [data-navlink="services"] .sq-line,
body.page-why-skapa .site-header [data-navlink="why-skapa"] .sq-line,
body.page-our-story .site-header [data-navlink="our-story"] .sq-line,
body.page-meet-the-founder .site-header [data-navlink="meet-the-founder"] .sq-line {
  width: 100%;
  background-image: var(--squiggle-current);
}
body.page-contact .site-header [data-navlink="contact"].nav-cta {
  background: var(--plum-deep);
  box-shadow: inset 0 0 0 2px var(--lime-deep);
}

/* ==========================================================================
   Footer and AI disclaimer
   ========================================================================== */

.site-footer {
  background: var(--plum-deep);
  color: var(--cream);
  padding: clamp(56px, 8vw, 70px) var(--gutter) 44px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: clamp(36px, 5vw, 44px);
  align-items: start;
}
.footer-logo { width: 180px; height: auto; display: block; margin-bottom: 26px; }
.footer-tagline { font-family: var(--serif); font-size: 24px; line-height: 1.4; margin: 0; max-width: 26ch; opacity: .9; }
.footer-col { display: flex; flex-direction: column; gap: 2px; }
.footer-col--elsewhere { gap: 12px; }
.footer-heading { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; opacity: .62; margin: 0 0 6px; }
.footer-link, .footer-link:hover {
  color: var(--cream);
  font-size: 15px;
  display: inline-block;
  padding: 8px 0;
  width: fit-content;
}
.footer-link { opacity: .85; transition: opacity .18s var(--ease); }
.footer-link:hover { opacity: 1; }
button.footer-link {
  background: none;
  border: 0;
  font-family: var(--sans);
  line-height: inherit;
  text-align: left;
  cursor: pointer;
}
.footer-place { font-size: 15px; opacity: .6; margin: 0; }
.social { display: flex; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.social a {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(250, 246, 238, .3);
  color: var(--cream);
  display: grid;
  place-items: center;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.social a:hover { background: var(--cream); color: var(--plum-deep); }
.footer-base { margin: 56px auto 0; display: flex; gap: 10px 26px; flex-wrap: wrap; align-items: center; }
.footer-base p { font-size: 12px; opacity: .62; letter-spacing: .04em; margin: 0; }

/* Modal dialogs (AI disclaimer, image lightbox) use native <dialog> */
dialog.modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 24px;
  border: 0;
  background: transparent;
  color: var(--plum);
  overflow: auto;
}
dialog.modal[open] { display: grid; place-items: center; }
html.has-modal { overflow: hidden; }

.ai-modal::backdrop {
  background: rgba(51, 19, 42, .62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.ai-card {
  background: var(--cream);
  color: var(--plum);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 44px);
  max-width: 560px;
  width: 100%;
  position: relative;
  box-shadow: 0 30px 70px -20px rgba(51, 19, 42, .45);
}
.ai-card .kicker { margin: 0 0 16px; letter-spacing: .2em; }
.ai-card h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; margin: 0 0 20px; }
.ai-card p { font-size: 17px; line-height: 1.75; margin: 0; opacity: .88; text-wrap: pretty; }
.ai-card .btn { margin-top: 30px; padding: 15px 34px; font-size: 14px; }

.lightbox { cursor: zoom-out; }
.lightbox::backdrop { background: rgba(43, 17, 36, .92); }
.lightbox[open] { padding: clamp(20px, 5vw, 56px); }
.lb-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; width: 100%; }
.lb-img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(1000px, 92vw);
  max-height: 76vh;
  object-fit: contain;
  border-radius: 18px;
  cursor: default;
}
.lb-caption { margin: 0; color: var(--cream); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; opacity: .75; text-align: center; }
.lb-caption a, .lb-caption a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.lb-pager { display: flex; align-items: center; gap: 16px; cursor: default; }
.lb-count { color: var(--cream); font-family: var(--mono); font-size: 12px; opacity: .7; }
.lb-btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(250, 246, 238, .35);
  background: transparent;
  color: var(--cream);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.lb-btn:hover { border-color: var(--cream); }
.lb-close { position: fixed; top: 20px; right: 20px; }
.lightbox .lb-btn:focus-visible, .lightbox a:focus-visible { outline-color: var(--cream); }

/* ==========================================================================
   Home
   ========================================================================== */

/* Hero: copy on the left, real work framed in the Skapa arch on the right */
.h-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 5vw, 64px) var(--gutter) clamp(64px, 8vw, 112px);
}
.h-hero-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(40px, 5vw, 88px);
  align-items: center;
}
.h-hero h1 {
  font-family: var(--serif-display);
  font-weight: 800;
  font-size: clamp(40px, 4.7vw, 76px);
  line-height: 1.02;
  letter-spacing: -.03em;
  margin: 0 0 28px;
  text-wrap: balance;
}
.rise { display: inline-block; overflow: hidden; vertical-align: top; padding: .02em .1em .22em; margin: -.02em -.1em -.22em; }
.rise > span { display: inline-block; animation: riseWord .9s cubic-bezier(.16, 1, .3, 1) both; }
.rise em { font-style: italic; font-weight: 700; }
@keyframes riseWord { from { transform: translateY(135%); } to { transform: translateY(0); } }
.h-hero .lead { font-size: 18px; line-height: 1.65; max-width: 46ch; margin: 0 0 28px; opacity: .84; text-wrap: pretty; }
.hero-actions { display: flex; gap: 22px 28px; align-items: center; flex-wrap: wrap; }
.h-hero-svcs { list-style: none; margin: 0 0 36px; padding: 0; max-width: 540px; }
.h-hero-svcs li { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-top: 1px solid rgba(75, 30, 63, .18); font-size: 16px; line-height: 1.5; }
.h-hero-svcs li:last-child { border-bottom: 1px solid rgba(75, 30, 63, .18); }
.h-hero-svcs li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--lime-deep); transform: translateY(-2px); }
.h-hero-svcs strong { font-family: var(--serif); font-weight: 600; font-size: 20px; min-width: 10em; }
.h-hero-note { margin: 18px 0 0; font-size: 14px; color: var(--plum-muted); }
@media (max-width: 480px) {
  .h-hero-svcs li { flex-wrap: wrap; gap: 2px 14px; }
}

.h-hero-art { position: relative; aspect-ratio: 5 / 6; }
.h-hero-dot {
  position: absolute;
  left: -2%;
  top: 4%;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--lime);
  animation: popIn 1s cubic-bezier(.16, 1, .3, 1) .15s both;
}
.h-hero-main, .h-hero-inset { position: absolute; display: block; overflow: hidden; }
.h-hero-main {
  right: 0;
  top: 0;
  width: 84%;
  height: 90%;
  border-radius: 999px 999px 28px 28px;
  box-shadow: 0 40px 80px -40px rgba(51, 19, 42, .45);
  animation: archIn 1.1s cubic-bezier(.16, 1, .3, 1) .1s both;
}
.h-hero-inset {
  left: 0;
  bottom: 0;
  width: 38%;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  border: 6px solid var(--cream);
  box-shadow: 0 24px 50px -22px rgba(51, 19, 42, .5);
  transform: rotate(-4deg);
  animation: insetIn .9s cubic-bezier(.16, 1, .3, 1) .55s both;
}
.h-hero-main img, .h-hero-inset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s cubic-bezier(.16, 1, .3, 1);
}
.h-hero-main:hover img, .h-hero-inset:hover img { transform: scale(1.04); }
@keyframes archIn { from { clip-path: inset(100% 0 0 0 round 999px 999px 28px 28px); } to { clip-path: inset(0 0 0 0 round 999px 999px 28px 28px); } }
@keyframes insetIn { from { opacity: 0; transform: translateY(28px) rotate(0deg); } to { opacity: 1; transform: translateY(0) rotate(-4deg); } }
@keyframes popIn { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

@media (max-width: 860px) {
  .h-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .h-hero-art { width: min(100%, 460px); margin: 8px auto 0; }
}

/* Plum band + section title shared by services and kind words */
.band-plum { background: var(--plum); color: var(--cream); padding: clamp(72px, 10vw, 120px) var(--gutter) clamp(80px, 11vw, 132px); }
.section-title { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.4vw, 62px); line-height: 1.05; margin: 0; }

/* Services: pinned heading on the left, the six services on a two-column index */
.h-services-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.h-services-head { position: sticky; top: 130px; display: flex; flex-direction: column; align-items: flex-start; gap: 30px; }
.h-svc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 4vw, 56px);
}
.h-svc { padding: 30px 0 38px; border-top: 1px solid var(--lime); }
.h-svc h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.15; margin: 0 0 12px; text-wrap: balance; }
.h-svc p { font-size: 16px; line-height: 1.7; margin: 0; opacity: .78; max-width: 38ch; text-wrap: pretty; }
@media (max-width: 860px) {
  .h-services-grid { grid-template-columns: minmax(0, 1fr); }
  .h-services-head { position: static; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; }
}
@media (max-width: 600px) {
  .h-svc-list { grid-template-columns: minmax(0, 1fr); }
}

/* Recent work: asymmetric grid, real images, in-progress projects on a lime tile */
.h-work { max-width: 1280px; margin: 0 auto; padding: clamp(80px, 11vw, 132px) var(--gutter); }
.h-work-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 30px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 56px); }
.h-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.h-tile { display: block; min-width: 0; }
.h-tile--wide { grid-column: span 8; }
.h-tile--tall { grid-column: span 4; }
.h-tile--soon { grid-column: 1 / -1; }
.h-tile-img { display: block; overflow: hidden; border-radius: 22px; background: #EFE7D5; }
.h-tile--wide .h-tile-img { aspect-ratio: 3 / 2; }
.h-tile--tall .h-tile-img { aspect-ratio: 3 / 4; }
.h-tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.h-tile:hover .h-tile-img img { transform: scale(1.035); }
.h-tile-text { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.h-tile .kicker { margin: 0; }
.h-tile-title { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.2; padding-bottom: 12px; align-self: flex-start; }
/* Same squiggle as the nav, triggered by hovering anywhere on the tile */
a.h-tile:hover .sq-line, a.h-tile:focus-visible .sq-line, .h-soon-item:hover .sq-line, .h-soon-item:focus-visible .sq-line { width: 100%; }

.h-tile--soon {
  background: var(--lime);
  border-radius: 22px;
  padding: clamp(24px, 3.4vw, 40px) clamp(24px, 3.4vw, 44px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px clamp(24px, 4vw, 56px);
  align-items: center;
}
.h-soon-label { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--plum); }
.h-soon-item { display: flex; flex-direction: column; gap: 8px; padding-left: clamp(20px, 3vw, 40px); border-left: 1px solid rgba(75, 30, 63, .3); }
.h-soon-item .kicker { color: var(--plum); opacity: .8; }
@media (max-width: 860px) {
  .h-tile--wide, .h-tile--tall { grid-column: 1 / -1; }
  .h-tile--tall .h-tile-img { aspect-ratio: 4 / 3; }
  .h-tile--soon { grid-template-columns: minmax(0, 1fr); }
  .h-soon-item { padding: 18px 0 0; border-left: 0; border-top: 1px solid rgba(75, 30, 63, .3); }
}

/* How we work together: the partnership, set apart from AI tools */
.h-partner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(88px, 12vw, 144px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.h-partner-head .section-title { margin-bottom: 24px; }
.h-partner-lead { font-family: var(--serif); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.6; margin: 0; max-width: 38ch; text-wrap: pretty; }
.h-partner-lead + .h-partner-lead { margin-top: 18px; }
.h-partner-list { list-style: none; margin: 0; padding: 0; }
.h-partner-list li { padding: 26px 0 30px; border-top: 1px solid var(--lime-deep); }
.h-partner-list li:last-child { border-bottom: 1px solid var(--lime-deep); }
.h-partner-list h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.15; margin: 0 0 10px; }
.h-partner-list p { font-size: 17px; line-height: 1.7; margin: 0; opacity: .82; max-width: 48ch; text-wrap: pretty; }
@media (max-width: 860px) {
  .h-partner { grid-template-columns: minmax(0, 1fr); }
}

/* Founder band */
.founder-band { background: #EFE7D5; padding: clamp(64px, 9vw, 104px) 0; overflow: hidden; }
.founder-band-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding-right: var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(40px, 5vw, 70px);
  align-items: center;
}
.founder-band-photo { margin-left: clamp(-120px, -6vw, -40px); }
.founder-band-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 0 240px 240px 0;
  display: block;
}
.founder-band-text { padding-left: clamp(20px, 3vw, 10px); }
.founder-band-text .eyebrow { letter-spacing: .22em; margin: 0 0 18px; }
.founder-band-text h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 54px); line-height: 1.1; margin: 0 0 26px; }
.founder-band-text p { font-size: 19px; line-height: 1.75; margin: 0 0 30px; opacity: .85; max-width: 48ch; text-wrap: pretty; }

/* Kind words: two quotes side by side */
.h-words-title { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.4vw, 62px); line-height: 1.05; margin: 0 0 clamp(40px, 6vw, 72px); }
.h-words-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(44px, 6vw, 96px);
  align-items: start;
}
.h-quote { margin: 0; position: relative; padding-top: 58px; }
.h-quote::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: -4px;
  font-family: var(--serif-display);
  font-weight: 800;
  font-size: 112px;
  line-height: 1;
  color: var(--lime);
}
.quote-label { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--lime); margin: 0 0 16px; }
.h-quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.65; text-wrap: pretty; }
.quote-by { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.quote-by::before { content: ''; display: block; width: 34px; height: 1px; background: var(--lime); flex: none; }
.quote-by p { margin: 0; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.quote-by span { opacity: .6; font-weight: 500; }
@media (max-width: 860px) {
  .h-words-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Closing call to action, set against the lime arch */
.h-close { position: relative; overflow: hidden; padding: clamp(96px, 13vw, 176px) var(--gutter) clamp(104px, 14vw, 188px); text-align: center; isolation: isolate; }
.h-close-arch {
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: 0;
  width: min(380px, 64vw);
  height: 74%;
  transform: translateX(-50%);
  border-radius: 999px 999px 0 0;
  background: var(--lime);
  opacity: .6;
}
.h-close h2 {
  font-family: var(--serif-display);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: -.03em;
  margin: 0 0 38px;
  text-wrap: balance;
}

/* Shared by the Services and Work pages */
.svc-num { font-family: var(--serif); font-size: 15px; opacity: .55; }
.placeholder {
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  background: repeating-linear-gradient(135deg, #EEEBDB 0 12px, #F6F3E5 12px 24px);
  display: grid;
  place-items: center;
  border: 1px solid rgba(75, 30, 63, .1);
}
.placeholder span { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--plum-muted); }

/* ==========================================================================
   Services
   ========================================================================== */

.svc-list {
  padding: 0 var(--gutter) clamp(68px, 10vw, 110px);
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 64px);
}
.svc-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
  border-top: 1px solid rgba(75, 30, 63, .16);
  padding-top: clamp(26px, 4vw, 38px);
}
.svc-row:first-child { border-top: none; padding-top: 0; }
.svc-row .svc-num { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--plum-muted); opacity: 1; }
.svc-row h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; margin: 10px 0 0; }
.svc-blurb { font-size: 17px; line-height: 1.7; margin: 16px 0 0; opacity: .78; max-width: 38ch; text-wrap: pretty; }
.svc-detail { display: flex; flex-direction: column; gap: 22px; }
.svc-detail > p { font-size: 18px; line-height: 1.75; margin: 0; opacity: .88; max-width: 56ch; text-wrap: pretty; }
.dot-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.dot-list li { display: flex; align-items: baseline; gap: 11px; font-size: 15px; line-height: 1.5; opacity: .82; }
.dot-list li::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.svc-closer {
  border-top: 1px solid rgba(75, 30, 63, .16);
  padding-top: clamp(26px, 4vw, 38px);
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.svc-closer p { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.5; max-width: 36ch; }

/* ==========================================================================
   Work
   ========================================================================== */

.work-body {
  padding: 0 var(--gutter) clamp(68px, 10vw, 110px);
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 4.5vw, 52px);
}
.work-jump-wrap { display: flex; flex-direction: column; gap: 18px; }
.work-jump { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.jump-chip {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 20px;
  border: 1px solid rgba(75, 30, 63, .22);
  border-radius: 999px;
  line-height: 1.2;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.jump-chip:hover { background: var(--plum); border-color: var(--plum); color: var(--cream); }
.work-aside { margin: 0; font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.5; opacity: .88; }
.work-aside a { border-bottom: 2px solid rgba(75, 30, 63, .3); }
.work-groups { min-width: 0; display: flex; flex-direction: column; gap: clamp(48px, 7vw, 84px); }
.work-group { scroll-margin-top: 130px; display: flex; flex-direction: column; gap: clamp(40px, 6vw, 68px); }
.project-head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-bottom: 12px; }
.project-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; margin: 0; }
.project-summary { font-size: 18px; line-height: 1.75; margin: 0 0 30px; opacity: .85; max-width: 62ch; text-wrap: pretty; }
.project-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 24px;
  align-items: start;
  max-width: 760px;
}
.project-images figure { margin: 0; }
.zoom { display: block; cursor: zoom-in; transition: opacity .18s var(--ease); }
.zoom:hover { opacity: .9; }
.project-images img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid rgba(75, 30, 63, .1); }
.project-images figcaption { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--plum-muted); margin-top: 12px; }
.project-images figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.project .placeholder { max-width: 520px; border-radius: 18px; background: repeating-linear-gradient(135deg, #EAE7D7 0 12px, #F2EFE1 12px 24px); }

/* ==========================================================================
   Why Skapa
   ========================================================================== */

.reasons { padding: 0 var(--gutter) clamp(68px, 10vw, 110px); max-width: 1000px; margin: 0 auto; }
.reason {
  display: grid;
  grid-template-columns: minmax(0, 72px) minmax(0, 1fr);
  gap: clamp(14px, 3vw, 34px);
  align-items: start;
  padding: clamp(26px, 4vw, 38px) 0;
  border-top: 1px solid rgba(75, 30, 63, .28);
}
.reason:first-child { padding-top: 0; border-top: 0; }
.reason--last { border-bottom: 1.5px solid rgba(75, 30, 63, .55); }
.reason-num { font-family: var(--serif-display); font-weight: 800; font-size: clamp(26px, 4vw, 40px); line-height: 1; opacity: .55; }
.reason h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 3vw, 36px); line-height: 1.15; margin: 0 0 12px; text-wrap: pretty; }
.reason p { font-size: 18px; line-height: 1.75; margin: 0; opacity: .85; max-width: 58ch; text-wrap: pretty; }
.reason p a { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; font-weight: 600; }
.reasons .cta-row { margin-top: clamp(44px, 6vw, 64px); }

/* ==========================================================================
   Our Story
   ========================================================================== */

.timeline { padding: 0 var(--gutter) clamp(56px, 8vw, 90px); max-width: 900px; margin: 0 auto; }
.moment {
  display: grid;
  grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
  gap: clamp(16px, 4vw, 44px);
  align-items: start;
  padding: clamp(28px, 4vw, 40px) 0;
  border-top: 1px solid rgba(75, 30, 63, .28);
}
.moment:first-child { padding-top: 0; border-top: 0; }
.moment:last-child { border-bottom: 1px solid rgba(75, 30, 63, .28); }
.moment-when { margin: 0; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: var(--plum-muted); }
.moment h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.12; margin: 0 0 16px; text-wrap: pretty; }
.moment p { font-size: 19px; line-height: 1.75; margin: 0 0 18px; opacity: .85; max-width: 58ch; text-wrap: pretty; }
.moment p:last-child { margin-bottom: 0; }
@media (max-width: 480px) {
  .moment { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
}

.name-band { padding: clamp(60px, 9vw, 100px) var(--gutter); }
.name-band .eyebrow { color: var(--lime); margin: 0 0 26px; }
.name-band h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.8vw, 52px); line-height: 1.1; margin: 0 0 28px; max-width: 24ch; text-wrap: pretty; }
.name-band p { font-size: 19px; line-height: 1.8; margin: 0; opacity: .88; max-width: 56ch; text-wrap: pretty; }

.person { padding: clamp(56px, 8vw, 90px) var(--gutter) clamp(68px, 10vw, 110px); max-width: 1080px; margin: 0 auto; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(36px, 5vw, 64px); align-items: center; }
.photo-arch { position: relative; }
.photo-arch::before {
  content: '';
  position: absolute;
  right: -22px;
  top: -26px;
  width: 96px;
  height: 96px;
  background: var(--lime);
  border-radius: 50%;
}
.photo-arch img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 58% 22%;
  border-radius: 200px 200px 26px 26px;
  display: block;
  position: relative;
}
.person h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.6vw, 48px); line-height: 1.1; margin: 0 0 22px; text-wrap: pretty; }
.person p { font-size: 19px; line-height: 1.75; margin: 0 0 30px; opacity: .85; max-width: 48ch; text-wrap: pretty; }

/* ==========================================================================
   Meet the Founder
   ========================================================================== */

.founder-hero { padding: clamp(60px, 9vw, 100px) var(--gutter); }
.founder-hero .split { gap: clamp(40px, 5vw, 70px); }
.photo-dot { position: relative; }
.photo-dot::before {
  content: '';
  position: absolute;
  left: -30px;
  bottom: -28px;
  width: 150px;
  height: 150px;
  background: var(--lime);
  border-radius: 50%;
}
.photo-dot img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 56% 30%;
  border-radius: 26px;
  display: block;
  position: relative;
}
.founder-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.8vw, 52px); line-height: 1.08; margin: 0 0 30px; text-wrap: pretty; }
.founder-hero p { font-size: 19px; line-height: 1.8; margin: 0 0 22px; opacity: .88; text-wrap: pretty; }
.founder-hero p:last-child { margin-bottom: 0; }

/* How Skapa came together: heading on the left, the story on the right */
.founder-story { background: #EFE7D5; padding: clamp(64px, 9vw, 110px) var(--gutter); }
.founder-story-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.founder-story .eyebrow { margin: 0 0 22px; }
.founder-story h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.8vw, 52px); line-height: 1.12; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.founder-story-body p { font-size: 19px; line-height: 1.8; margin: 0 0 22px; opacity: .88; text-wrap: pretty; }
.founder-story-body p:last-child { margin-bottom: 0; }
.founder-story-body h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.3vw, 30px); line-height: 1.2; margin: 44px 0 16px; padding-top: 28px; border-top: 1px solid var(--lime-deep); }
@media (min-width: 861px) {
  .founder-story-grid > div:first-child { position: sticky; top: 120px; }
}
@media (max-width: 860px) {
  .founder-story-grid { grid-template-columns: minmax(0, 1fr); }
}

.paint { padding: clamp(60px, 9vw, 100px) var(--gutter); }
.paint-intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.paint-intro .eyebrow { margin: 0 0 22px; }
.paint-intro h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.8vw, 52px); line-height: 1.12; letter-spacing: -.02em; margin: 0; text-wrap: pretty; }
.paint-intro .wavy { margin-top: 18px; }
.paint-intro > p { font-size: 19px; line-height: 1.8; margin: 0; opacity: .85; text-wrap: pretty; }
.art-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: clamp(22px, 3vw, 40px); }
.art-frame {
  display: block;
  background: #fff;
  padding: clamp(14px, 1.8vw, 22px);
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(51, 19, 42, .1), 0 18px 40px -18px rgba(51, 19, 42, .34);
}
.art-frame-inner { display: block; aspect-ratio: 4 / 5; position: relative; }
.art-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.paint-intro .inline-link { text-decoration: underline; text-decoration-color: var(--lime-deep); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.paint-intro .inline-link:hover { text-decoration-color: var(--plum); }
/* Photos of pieces as they hang, shown wide underneath the framed prints */
.art-grid--photos { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); margin-top: clamp(22px, 3vw, 40px); align-items: start; }
.art-photo { border-radius: 4px; overflow: hidden; box-shadow: 0 1px 2px rgba(51, 19, 42, .1), 0 18px 40px -18px rgba(51, 19, 42, .34); }
.art-photo img { display: block; width: 100%; height: auto; }
.paint .shop { margin-top: clamp(34px, 4vw, 48px); }

.founder-foot { padding: 0 var(--gutter) clamp(68px, 10vw, 110px); max-width: 1080px; margin: 0 auto; }
.fineprint { font-size: 14px; line-height: 1.7; margin: clamp(44px, 6vw, 64px) 0 0; opacity: .7; letter-spacing: .02em; max-width: 70ch; }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-body { padding: 0 var(--gutter) clamp(64px, 9vw, 104px); }
/* Form on the left, the partnership note on the right; the note drops below the form on phones */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact-layout .contact-aside { order: 2; padding-top: clamp(8px, 2vw, 24px); }
.contact-aside h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.1; margin: 0 0 16px; }
.contact-aside-lead { font-family: var(--serif); font-size: 19px; line-height: 1.55; margin: 0 0 26px; text-wrap: pretty; }
.contact-expect { list-style: none; margin: 0; padding: 0; }
.contact-expect li { padding: 18px 0 20px; border-top: 1px solid var(--lime-deep); }
.contact-expect h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.2; margin: 0 0 6px; }
.contact-expect p { font-size: 15px; line-height: 1.65; margin: 0; opacity: .82; text-wrap: pretty; }
@media (max-width: 860px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-layout .contact-aside { padding-top: 0; }
}
.contact-form, .form-success {
  max-width: 620px;
  background: var(--cream);
  border: 1px solid rgba(75, 30, 63, .14);
  border-radius: 28px;
  padding: clamp(22px, 5vw, 40px);
}
.contact-form { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field-label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--plum-muted); padding: 0; }
.field-label .note { letter-spacing: .06em; text-transform: none; font-weight: 500; color: #7A5670; }
.input {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--plum);
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(75, 30, 63, .55);
  border-radius: 0;
  padding: 10px 0;
  -webkit-appearance: none;
  appearance: none;
}
.input:focus { outline: none; border-bottom-color: var(--plum); }
.input:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 2px; }
textarea.input { resize: vertical; line-height: 1.5; }
.input[aria-invalid="true"] { border-bottom-color: var(--error); }
.field-error { margin: 0; font-size: 14px; color: var(--error); font-weight: 500; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips-field { gap: 10px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 11px 20px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid rgba(75, 30, 63, .55);
  background: transparent;
  color: var(--plum);
  transition: background-color .18s var(--ease), color .18s var(--ease);
  user-select: none;
}
.chip span::before { content: '✓'; display: none; font-size: 12px; line-height: 1; }
.chip input:checked + span { background: var(--plum); color: var(--cream); }
.chip input:checked + span::before { display: inline-block; }
.chip input:focus-visible + span { outline: 2px solid var(--plum); outline-offset: 3px; }

.contact-form .btn { align-self: flex-start; padding: 18px 42px; margin-top: 8px; }
.contact-form .btn[disabled] { opacity: .7; cursor: progress; }
.form-status { margin: 0; min-height: 1.4em; font-size: 15px; line-height: 1.4; color: var(--plum); }
.form-status.is-error { color: var(--error); }
.form-status a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.form-consent { margin: -8px 0 0; font-size: 14px; line-height: 1.5; color: #7A5670; }
.form-consent a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.form-success p { margin: 0; font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); line-height: 1.3; }
.form-success:focus { outline: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   Legal pages (Privacy, Cookies, Terms, Accessibility)
   Plain elements are styled so pasted Termly text inherits the look.
   ========================================================================== */

.legal { padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(72px, 10vw, 110px); }
.legal-inner { max-width: 760px; margin: 0 auto; }
.legal .eyebrow { margin: 0 0 22px; }
.legal h1 {
  font-family: var(--serif-display);
  font-weight: 800;
  font-size: clamp(38px, 5.6vw, 72px);
  line-height: 1;
  letter-spacing: -.03em;
  margin: 0 0 18px;
}
.legal .updated { font-size: 15px; letter-spacing: .04em; color: var(--plum-muted); margin: 0 0 40px; }
.legal p, .legal ul, .legal ol { font-size: 17px; line-height: 1.75; margin: 0 0 18px; }
.legal p { text-wrap: pretty; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-bottom: 10px; }
.legal li.roomy { margin-bottom: 12px; }
.legal ul.nested { margin: 10px 0 0; }
.legal ul.nested li { margin-bottom: 8px; }
.legal ol.toc { font-size: 16px; line-height: 1.8; padding-left: 26px; }
.legal ol.toc li { margin-bottom: 0; }
.legal p.lead { font-size: 18px; }
.legal p.tight { margin-bottom: 10px; }
.legal p.summary { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.6; margin: 0 0 26px; }
.legal p.callout {
  background: var(--lime);
  padding: 14px 18px;
  border-radius: 12px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 20px;
}
.legal h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 56px 0 16px;
  scroll-margin-top: 160px;
}
.legal h2.sec { margin-top: 64px; }
.legal h2.first { margin-top: 0; }
.legal h3 { font-size: 18px; font-weight: 600; letter-spacing: .01em; margin: 30px 0 10px; }
.legal a { color: var(--plum); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--plum); }
.legal .table-wrap { overflow-x: auto; margin: 0 0 22px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.6; min-width: 420px; }
.legal table.wide { font-size: 15px; line-height: 1.55; min-width: 520px; }
.legal thead tr { text-align: left; border-bottom: 1.5px solid var(--plum); }
.legal th { padding: 10px 12px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; text-align: left; }
.legal td { padding: 12px; vertical-align: top; }
.legal th:first-child, .legal td:first-child { padding-left: 0; }
.legal th:last-child, .legal td:last-child { padding-right: 0; }
.legal tbody tr { border-bottom: 1px solid rgba(75, 30, 63, .2); }
.legal .yn { text-align: right; font-weight: 600; }
.legal th.yn { font-weight: 600; }
.legal .contact-box {
  border: 1px solid rgba(75, 30, 63, .16);
  border-radius: 22px;
  padding: clamp(22px, 4vw, 32px);
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.legal .contact-box p { margin: 0; }
.legal .contact-box .box-label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--plum-muted); }
.legal .contact-box .box-email { font-size: 19px; line-height: 1.5; }
.legal .contact-box .box-note { line-height: 1.7; opacity: .85; }

/* ==========================================================================
   404
   ========================================================================== */

.page-404 { min-height: 100vh; display: flex; flex-direction: column; }
.header-404 { padding: 18px clamp(16px, 4vw, 44px); border-bottom: 1px solid rgba(75, 30, 63, .1); }
.header-404 a { display: inline-block; }
.header-404 img { width: clamp(124px, 34vw, 150px); height: auto; display: block; }
.main-404 { flex: 1; display: grid; place-items: center; padding: clamp(56px, 10vw, 120px) var(--gutter); }
.main-404 > div { max-width: 620px; width: 100%; }
.code-404 { display: flex; align-items: center; gap: clamp(18px, 3vw, 28px); margin-bottom: clamp(30px, 5vw, 44px); }
.code-404 span:first-child { font-family: var(--serif-display); font-weight: 800; font-size: clamp(64px, 12vw, 112px); line-height: .82; letter-spacing: -.02em; display: block; }
.code-404 span:last-child { flex: none; width: clamp(56px, 9vw, 84px); height: clamp(56px, 9vw, 84px); background: var(--lime); border-radius: 50%; display: block; }
.main-404 h1 { font-family: var(--serif-display); font-weight: 700; font-size: clamp(34px, 5.4vw, 58px); line-height: 1.06; letter-spacing: -.01em; margin: 0 0 22px; text-wrap: pretty; }
.bar-404 { width: 74px; height: 4px; background: var(--lime); border-radius: 2px; margin-bottom: 30px; }
.lead-404 { font-family: var(--serif); font-size: clamp(19px, 2.2vw, 23px); line-height: 1.6; margin: 0 0 44px; max-width: 44ch; opacity: .86; text-wrap: pretty; }
.links-404 { display: flex; flex-direction: column; gap: 2px; margin-bottom: 46px; border-top: 1px solid rgba(75, 30, 63, .14); }
.links-404 a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 2px;
  border-bottom: 1px solid rgba(75, 30, 63, .14);
  transition: background-color .18s var(--ease);
}
.links-404 a:hover { background: rgba(212, 232, 92, .22); }
.links-404 a span:first-child { font-family: var(--serif); font-size: 22px; }
.links-404 a span:last-child { font-size: 13px; letter-spacing: .06em; opacity: .66; text-align: right; }
.note-404 { font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.55; margin: 0; opacity: .8; }
.note-404 a { border-bottom: 2px solid rgba(75, 30, 63, .3); }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-delay: 0s !important;
    transition-duration: .001s !important;
  }
}
