/* Nyfikna Investerare.

   The same palette and the same two typefaces as Their Legacy, on purpose:
   sharing a type system is what makes two sites read as one house. The layout
   is its own. Their Legacy can give a page to a single image; this is a
   magazine with 150 pieces and needs a grid that can carry them. */

:root{
  --ink:#0B0B0C; --bone:#F6F2EA; --stone:#EDE7DC;
  --grey:#6E6A64; --grey-light:#A9A29A; --brass:#B08A54;
  --hair:rgba(11,11,12,.14);
  --serif:"Cormorant Garamond",Georgia,"Times New Roman",serif;
  --sans:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
  --wrap:1240px; --narrow:720px; --gut:clamp(20px,4vw,56px);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bone);color:var(--ink);font-family:var(--sans);
  font-weight:300;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
.wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gut)}
.wrap--narrow{max-width:var(--narrow)}
.skip{position:absolute;left:-9999px}
.skip:focus{left:var(--gut);top:10px;z-index:50;background:var(--ink);
  color:var(--bone);padding:10px 16px;font-size:13px}

/* masthead */
.top{border-bottom:1px solid var(--hair);position:sticky;top:0;z-index:10;
  background:rgba(246,242,234,.93);backdrop-filter:blur(8px)}
.top .wrap{display:flex;align-items:center;justify-content:space-between;
  gap:28px;padding-block:18px}
.brand{font-family:var(--serif);font-size:clamp(19px,2vw,25px);letter-spacing:.14em;
  text-transform:uppercase;white-space:nowrap}
.brand b{font-weight:400}
nav{display:flex;gap:clamp(14px,1.9vw,30px);flex-wrap:wrap}
nav a{font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--grey)}
nav a:hover{color:var(--brass)}

.eyebrow{font-size:11px;font-weight:500;letter-spacing:.26em;text-transform:uppercase;
  color:var(--brass);margin:0 0 1.2em}
.when{font-size:11px;letter-spacing:.18em;text-transform:uppercase;
  color:var(--grey-light);margin:0 0 1.4em}
.more{display:inline-block;font-size:11px;letter-spacing:.2em;text-transform:uppercase;
  color:var(--brass);border-bottom:1px solid var(--brass);padding-bottom:3px}
.tag{font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;
  color:var(--grey-light);white-space:nowrap;margin:0}

/* lead */
.lead{padding-block:clamp(44px,6vw,86px)}
.lead__inner{display:grid;grid-template-columns:1.08fr 1fr;
  gap:clamp(28px,4vw,64px);align-items:center}
.lead__shot{display:block;aspect-ratio:4/3;background-size:cover;
  background-position:center;background-color:var(--stone)}
.lead h1{font-family:var(--serif);font-weight:300;font-size:clamp(32px,4.2vw,54px);
  line-height:1.07;letter-spacing:-.012em;margin:0 0 .4em;text-wrap:balance}
.lead p{font-size:16px;line-height:1.7;color:var(--grey);margin:0 0 1.5em;max-width:46ch}

/* grids */
.strip{border-top:1px solid var(--hair);padding-block:clamp(34px,4vw,56px)}
.strip__head{display:flex;align-items:baseline;justify-content:space-between;
  gap:20px;margin-bottom:clamp(22px,3vw,38px)}
.strip__head h2{font-family:var(--serif);font-weight:300;
  font-size:clamp(23px,2.5vw,33px);margin:0}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(22px,2.6vw,40px)}
.card__shot{aspect-ratio:3/2;background-size:cover;background-position:center;
  background-color:var(--stone);margin-bottom:16px}
.card h3{font-family:var(--serif);font-weight:300;font-size:clamp(19px,1.8vw,24px);
  line-height:1.22;margin:0 0 .45em;text-wrap:balance}
.card p{font-size:13.5px;line-height:1.65;color:var(--grey);margin:0}
.card .when{margin:0 0 .5em}
.card a:hover h3{color:var(--brass)}

.rows{border-top:1px solid var(--hair)}
.row{border-bottom:1px solid var(--hair)}
.row a{display:grid;grid-template-columns:130px 1fr auto;
  gap:clamp(16px,2.4vw,36px);align-items:baseline;padding-block:17px}
.row .when{margin:0;padding-top:3px}
.row h3{font-family:var(--serif);font-weight:300;font-size:clamp(17px,1.5vw,21px);
  line-height:1.3;margin:0}
.row a:hover h3{color:var(--brass)}

/* their legacy */
.sister{background:var(--ink);color:var(--bone);
  padding-block:clamp(52px,6.5vw,94px)}
.sister .wrap{display:grid;grid-template-columns:1fr 1fr;
  gap:clamp(28px,4vw,64px);align-items:center}
.sister .eyebrow{color:#C9A87A}
.sister h2{font-family:var(--serif);font-weight:300;
  font-size:clamp(28px,3.4vw,46px);line-height:1.1;margin:0 0 .5em}
.sister h2 em{font-style:italic;color:#C9A87A}
.sister p{font-size:15px;line-height:1.72;color:var(--grey-light);margin:0 0 1.6em}
.sister .shot{aspect-ratio:3/2;background-size:cover;background-position:center;
  background-color:#17171A}
.sister .more{color:#C9A87A;border-color:#C9A87A}

/* article */
.single{padding-block:clamp(40px,5vw,74px)}
.single h1{font-family:var(--serif);font-weight:300;
  font-size:clamp(30px,3.8vw,50px);line-height:1.08;letter-spacing:-.012em;
  margin:0 0 .5em;text-wrap:balance}
.hero{aspect-ratio:16/9;background-size:cover;background-position:center;
  background-color:var(--stone);margin:clamp(24px,3vw,44px) 0}
.prose{font-size:16.5px;line-height:1.78;color:var(--grey)}
.prose p{margin:0 0 1.35em}
.prose h2,.prose h3,.prose h4{font-family:var(--serif);font-weight:300;
  color:var(--ink);line-height:1.2;margin:1.8em 0 .5em}
.prose h2{font-size:clamp(24px,2.4vw,32px)}
.prose h3{font-size:clamp(20px,1.9vw,25px)}
.prose a{color:var(--ink);border-bottom:1px solid var(--brass)}
.prose a:hover{color:var(--brass)}
.prose img,.prose figure img{margin:1.6em 0}
.prose figure{margin:1.8em 0}
.prose figcaption{font-size:12.5px;color:var(--grey-light);margin-top:.6em}
.prose blockquote{margin:1.8em 0;padding-left:clamp(18px,2.4vw,32px);
  border-left:1px solid var(--brass);font-family:var(--serif);
  font-size:clamp(20px,2vw,26px);line-height:1.4;color:var(--ink)}
.prose ul,.prose ol{padding-left:1.3em;margin:0 0 1.35em}
.prose li{margin-bottom:.5em}
.prose iframe,.prose video{width:100%;aspect-ratio:16/9;height:auto;margin:1.6em 0;
  border:0}
.prose table{width:100%;border-collapse:collapse;margin:1.6em 0;font-size:15px}
.prose td,.prose th{border-bottom:1px solid var(--hair);padding:10px 8px;
  text-align:left}
/* The standing pages carry no date and no hero. */
body.page .single h1{margin-bottom:.3em}

footer{border-top:1px solid var(--hair);margin-top:clamp(44px,5vw,76px);
  padding-block:clamp(34px,4vw,56px);font-size:12.5px;color:var(--grey)}
footer .wrap{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}
footer a:hover{color:var(--brass)}

@media (max-width:900px){
  .lead__inner,.sister .wrap{grid-template-columns:1fr}
  .cards{grid-template-columns:repeat(2,1fr)}
  .row a{grid-template-columns:1fr;gap:4px}
  .row .when{order:-1}
}
@media (max-width:760px){
  /* Wrapped into a column the nav was six lines tall, and being sticky it sat
     on top of the article underneath. A menu button belongs here eventually. */
  .top{position:static;backdrop-filter:none}
  .top .wrap{flex-direction:column;align-items:flex-start;gap:12px}
  nav{flex-wrap:nowrap;overflow-x:auto;width:100%;gap:18px;scrollbar-width:none}
  nav::-webkit-scrollbar{display:none}
  nav a{white-space:nowrap}
}
@media (max-width:600px){ .cards{grid-template-columns:1fr} }
@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto} }

/* nyhetsbrev */
.news{border-top:1px solid var(--hair);background:var(--stone);
  padding-block:clamp(38px,4.5vw,64px);text-align:center}
.news h2{font-family:var(--serif);font-weight:300;font-size:clamp(23px,2.5vw,32px);
  margin:0 0 1.1em}
.news__form{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;
  margin:0 auto 1.4em;max-width:460px}
.news__form input{flex:1 1 230px;min-width:0;font-family:inherit;font-size:15px;
  padding:12px 14px;border:1px solid var(--hair);background:#fff;color:var(--ink)}
.news__form input:focus{outline:2px solid var(--brass);outline-offset:-2px}
.news__form button{font-family:inherit;font-size:11px;letter-spacing:.2em;
  text-transform:uppercase;padding:12px 22px;border:0;background:var(--ink);
  color:var(--bone);cursor:pointer}
.news__form button:hover{background:var(--brass)}
.news__form button:disabled{opacity:.55;cursor:default}
.news__note{font-size:12.5px;line-height:1.6;color:var(--grey);margin:0 auto;
  max-width:52ch}
.news__note a{border-bottom:1px solid var(--brass)}
.news__note--ok{color:var(--ink)}
.news__note--fel{color:#8A3A2A}
@media (max-width:600px){ .news__form{flex-direction:column} }

/* Galleriblock från WordPress.

   The markup survived the move intact; what did not was the theme's stylesheet,
   so every gallery stacked into a single column. WordPress nests the pictures
   inside the gallery figure and carries the column count as a class, with
   is-cropped meaning they are squared off to a common shape. */
.prose .wp-block-gallery{display:grid;gap:8px;margin:1.9em 0;
  grid-template-columns:repeat(3,1fr)}
.prose .wp-block-gallery.columns-1{grid-template-columns:1fr}
.prose .wp-block-gallery.columns-2{grid-template-columns:repeat(2,1fr)}
.prose .wp-block-gallery.columns-4{grid-template-columns:repeat(4,1fr)}
.prose .wp-block-gallery.columns-5{grid-template-columns:repeat(5,1fr)}
.prose .wp-block-gallery.columns-6{grid-template-columns:repeat(6,1fr)}
/* columns-default is what WordPress writes when the author did not choose a
   number, and it means "one column per picture, up to three". Every gallery
   in the archive is this one, and seventeen of them hold two pictures: left
   at three columns they sit in two thirds of the width and come out smaller
   than they were on WordPress. */
.prose .wp-block-gallery.columns-default:has(figure:nth-child(2):last-child){
  grid-template-columns:repeat(2,1fr)}
.prose .wp-block-gallery.columns-default:has(figure:only-child){
  grid-template-columns:1fr}
.prose .wp-block-gallery figure{margin:0;min-width:0}
.prose .wp-block-gallery img{width:100%;display:block;margin:0}
.prose .wp-block-gallery.is-cropped img{aspect-ratio:1/1;object-fit:cover}
.prose .wp-block-gallery figcaption{font-size:11.5px;margin-top:.4em}
/* A gallery of three squares each 90px wide is not a gallery. Below the point
   where the columns stop being readable it becomes two, then one. */
@media (max-width:760px){
  .prose .wp-block-gallery,
  .prose .wp-block-gallery.columns-4,
  .prose .wp-block-gallery.columns-5,
  .prose .wp-block-gallery.columns-6{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:460px){
  .prose .wp-block-gallery,
  .prose .wp-block-gallery[class*="columns-"]{grid-template-columns:1fr}
}
/* Kolumnblock, samma historia */
.prose .wp-block-columns{display:flex;gap:16px;margin:1.8em 0;flex-wrap:wrap}
.prose .wp-block-column{flex:1 1 240px;min-width:0}

/* ── ingress, kort svar, vanliga frågor ──────────────────────────────────
   Three blocks an article only has if the author gave it one, so none of
   them may leave a gap when empty — they are not rendered at all in that
   case, and the markup below never assumes a sibling. */
.single .standfirst{font-family:var(--serif);font-size:clamp(19px,1.9vw,23px);
  line-height:1.5;color:var(--ink);font-weight:400;margin:.9em 0 0;max-width:38em}

.answer{border-left:2px solid var(--brass);background:var(--stone);
  padding:clamp(18px,2.2vw,26px) clamp(20px,2.4vw,30px);margin:2.2em 0 .4em}
.answer__label{font-family:var(--sans);font-size:11px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--brass);margin:0 0 .6em}
.answer p:last-child{margin:0;font-size:17px;line-height:1.65;color:var(--ink)}

.faq{margin:2.6em 0 0;padding-top:1.8em;border-top:1px solid var(--hair)}
.faq h2{font-family:var(--serif);font-weight:300;
  font-size:clamp(24px,2.4vw,32px);margin:0 0 .7em}
.faq details{border-bottom:1px solid var(--hair);padding:.85em 0}
.faq summary{cursor:pointer;font-size:16px;color:var(--ink);
  list-style:none;display:flex;justify-content:space-between;gap:16px}
.faq summary::-webkit-details-marker{display:none}
/* The arrow is the only affordance saying these open, so it is drawn rather
   than left to the browser's default triangle, which the rule above hides. */
.faq summary::after{content:"+";color:var(--brass);font-size:19px;line-height:1}
.faq details[open] summary::after{content:"\2013"}
.faq details p{margin:.8em 0 .2em;font-size:15.5px;line-height:1.7;
  color:var(--grey);max-width:44em}

/* Säger varför en artikel ligger överst fast den inte är nyast. */
.row .nal{margin-left:.6em;color:var(--brass);font-weight:400;
  letter-spacing:.12em;font-size:10.5px;text-transform:uppercase}

/* ── teamet ──────────────────────────────────────────────────────────────
   Porträtten kommer från Their Legacy och är alla stående i samma format,
   så raden får en fast proportion i stället för att låta varje bild sätta
   sin egen höjd. */
.prose .team{display:grid;gap:clamp(28px,4vw,52px);margin:2.2em 0}
.prose .tm{margin:0}
.prose .tm img{width:100%;max-width:300px;aspect-ratio:3/4;object-fit:cover;
  margin:0 0 1.1em;border-radius:2px}
.prose .tm h2{margin:0 0 .15em;font-size:clamp(23px,2.2vw,29px)}
.prose .tm__roll{margin:0 0 1em;font-size:12px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--brass)}
/* Orten står i en span inuti rollen och ska läsas som en egen uppgift. */
.prose .tm__roll span{color:var(--grey-light);margin-left:.5em}
.prose .tm p{margin:0 0 1em;max-width:40em}
@media (min-width:860px){
  .prose .team{grid-template-columns:repeat(2,1fr)}
}

/* ── poddavsnitt ─────────────────────────────────────────────────────────
   Byggs av podd-sync.py ur Acast-flödet. Spelaren är webbläsarens egen, så
   den ärver inte sajtens typsnitt; allt runt omkring gör det. */
.prose .podd__alla{font-size:14px;color:var(--grey)}
.prose .podd{margin:2.2em 0}
.prose .podd__ep{padding:1.6em 0;border-top:1px solid var(--hair);
  display:grid;gap:clamp(14px,2vw,24px);align-items:start}
/* Omslaget är kvadratiskt som alla poddomslag, och får inte växa med texten. */
.prose .podd__bild{width:100%;max-width:150px;aspect-ratio:1/1;object-fit:cover;
  margin:0;border-radius:2px}
.prose .podd__text{min-width:0}
@media (min-width:620px){
  .prose .podd__ep{grid-template-columns:150px 1fr}
}
.prose .podd__ep:last-child{border-bottom:1px solid var(--hair)}
.prose .podd__nar{margin:0 0 .35em;font-size:11.5px;letter-spacing:.12em;
  text-transform:uppercase;color:var(--grey-light)}
.prose .podd__langd{margin-left:.9em;color:var(--brass)}
.prose .podd__ep h2{margin:0 0 .5em;font-size:clamp(20px,2vw,26px)}
.prose .podd__ep p{margin:0 0 1em;font-size:15.5px;max-width:42em}
.prose .podd__ep audio{width:100%;max-width:520px;height:40px;display:block}
