/* fatobuyspreadsheet.com — Fatobuy Spreadsheet Body Double (prefix bdq-). Film-set stand-in marks: warm grey paper,
   charcoal ink, terracotta floor tape, contact-sheet frames. Small-screen rules sit at the end of the file on purpose. */
@font-face{font-family:'Schibsted Grotesk';font-style:normal;font-weight:400 900;font-display:swap;src:url(/assets/fonts/schibsted-normal.woff2?v=4c8b93f431d4) format('woff2')}
@font-face{font-family:'Schibsted Grotesk';font-style:italic;font-weight:400 900;font-display:swap;src:url(/assets/fonts/schibsted-italic.woff2?v=4c72510c1a18) format('woff2')}
@font-face{font-family:'Petrona';font-style:normal;font-weight:300 800;font-display:swap;src:url(/assets/fonts/petrona-normal.woff2?v=16ffbbb1cc89) format('woff2')}
@font-face{font-family:'Petrona';font-style:italic;font-weight:300 800;font-display:swap;src:url(/assets/fonts/petrona-italic.woff2?v=7ef5c01d9e18) format('woff2')}
@font-face{font-family:'Martian Mono';font-style:normal;font-weight:300 600;font-stretch:75% 112.5%;font-display:swap;src:url(/assets/fonts/martian-normal.woff2?v=f9c1655c2c9d) format('woff2')}

:root{
  --paper:#F1EFEB;--paper2:#E8E4DE;--card:#FBFAF8;--ink:#1F1D1B;--muted:#55504A;--terra:#A4442A;--terra2:#8A3620;--terrasoft:#ECD9CE;
  --slate:#3B4651;--line:#CFC9C0;--line2:#BDB6AB;--focus:#1F5F8B;
  --head:'Schibsted Grotesk',system-ui,-apple-system,'Segoe UI',sans-serif;--body:'Petrona',Georgia,'Times New Roman',serif;
  --mono:'Martian Mono',ui-monospace,Consolas,monospace;
}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%;scroll-padding-top:16px}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body);font-size:18px;line-height:1.65;font-optical-sizing:auto}
img{max-width:100%;height:auto;display:block}
a{color:var(--terra);text-decoration:underline;text-underline-offset:.16em;text-decoration-thickness:1px}
a:hover{color:var(--terra2);text-decoration-thickness:2px}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
h1,h2,h3{font-family:var(--head);line-height:1.18;letter-spacing:-.01em;color:var(--ink)}
h1{font-size:clamp(2rem,3.9vw,3.05rem);font-weight:800;margin:.2em 0 .45em;max-width:26ch}
h2{font-size:clamp(1.45rem,2.6vw,1.85rem);font-weight:750;margin:0 0 .7em}
h3{font-size:1.14rem;font-weight:700;margin:1.5em 0 .4em}
p{margin:0 0 1em}
ul,ol{margin:0 0 1.1em;padding-left:1.25em}
li{margin:.25em 0}
strong{font-weight:650}
.bdq-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.bdq-skip{position:absolute;left:12px;top:-60px;background:var(--ink);color:var(--paper);padding:10px 14px;z-index:20;font-family:var(--head)}
.bdq-skip:focus{top:10px}
.bdq-wrap{max-width:1180px;margin:0 auto;padding:0 24px}

/* header */
.bdq-top{background:var(--card);border-bottom:1px solid var(--line)}
.bdq-topin{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:68px}
.bdq-brand{display:flex;align-items:center;gap:10px;font-family:var(--head);font-weight:800;font-size:1.02rem;color:var(--ink);text-decoration:none;white-space:nowrap;min-height:44px}
.bdq-brandmark{width:20px;height:20px;position:relative;flex:none}
.bdq-brandmark::before,.bdq-brandmark::after{content:"";position:absolute;background:var(--terra)}
.bdq-brandmark::before{left:0;right:0;top:0;height:6px}
.bdq-brandmark::after{left:7px;width:6px;top:0;bottom:0}
.bdq-nav ul{list-style:none;display:flex;gap:4px;margin:0;padding:0;flex-wrap:nowrap}
.bdq-nav a{display:flex;align-items:center;min-height:44px;padding:0 11px;font-family:var(--head);font-size:.93rem;font-weight:600;color:var(--ink);text-decoration:none;white-space:nowrap;border-bottom:3px solid transparent}
.bdq-nav a:hover{border-bottom-color:var(--line2)}
.bdq-nav a[aria-current="page"]{border-bottom-color:var(--terra)}
.bdq-menu{display:none;min-height:44px;min-width:64px;padding:0 14px;font:600 .95rem var(--head);background:transparent;color:var(--ink);border:1px solid var(--line2);border-radius:4px;cursor:pointer}

/* hero */
.bdq-hero{padding:54px 0 34px;border-bottom:1px solid var(--line)}
.bdq-lede{font-size:1.16rem;color:var(--muted);max-width:62ch;margin-bottom:22px}
.bdq-search{display:flex;gap:0;max-width:820px;background:var(--card);border:2px solid var(--ink);border-radius:6px;overflow:hidden}
.bdq-search input[type=search]{flex:1;min-width:0;min-height:58px;padding:0 18px;font:500 1.05rem var(--head);border:0;background:transparent;color:var(--ink)}
.bdq-search button{min-height:58px;min-width:120px;padding:0 24px;font:700 1rem var(--head);background:var(--ink);color:var(--paper);border:0;cursor:pointer}
.bdq-search button:hover{background:var(--terra2)}
.bdq-subnav{display:flex;flex-wrap:wrap;gap:4px 18px;margin:16px 0 0;padding:0;list-style:none;font-family:var(--head);font-size:.95rem}
.bdq-subnav a{display:inline-flex;align-items:center;min-height:44px}
.bdq-pagehead{padding:30px 0 30px;border-bottom:1px solid var(--line);background:linear-gradient(var(--paper2),var(--paper))}
.bdq-crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:6px;padding:0;margin:0 0 6px;font:500 .86rem var(--head);color:var(--muted)}
.bdq-crumbs li{display:flex;align-items:center}
.bdq-crumbs li+li::before{content:"/";margin-right:6px;color:var(--line2)}
.bdq-crumbs a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;color:var(--muted)}

/* sections */
.bdq-sec{padding:62px 0;border-bottom:1px solid var(--line)}
.bdq-sec:nth-of-type(even){background:var(--card)}
.bdq-mark{display:inline-block;width:20px;height:20px;position:relative;margin-right:12px;vertical-align:-.08em}
.bdq-mark::before,.bdq-mark::after{content:"";position:absolute;background:var(--terra)}
.bdq-mark::before{left:0;right:0;top:0;height:6px}
.bdq-mark::after{left:7px;width:6px;top:0;bottom:0}
.bdq-grid{display:grid;grid-template-columns:46fr 54fr;gap:48px;align-items:start}
.bdq-flip .bdq-grid{grid-template-columns:54fr 46fr}
.bdq-grid>*,.bdq-ledgrid>*,.bdq-frames>*,.bdq-wall>*,.bdq-tool>*,.bdq-footgrid>*{min-width:0}
.bdq-col{max-width:740px}
.bdq-col-after{margin-top:26px}
.bdq-after{margin-top:24px;max-width:740px}
.bdq-wide .bdq-fig,.bdq-ledger .bdq-fig{margin-top:30px}
.bdq-wide>.bdq-wrap>.bdq-col:first-child{max-width:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:44px;align-items:start}
.bdq-wide>.bdq-wrap>.bdq-col:first-child>h2{grid-column:1/-1}
.bdq-ledgrid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:44px;align-items:start}
.bdq-sheet{background:var(--terrasoft);border-left:5px solid var(--terra);padding:18px 20px;font-family:var(--head);font-size:.95rem}
.bdq-sheetdl{margin:0}
.bdq-sheetdl div{padding:9px 0;border-bottom:1px dashed var(--line2)}
.bdq-sheetdl div:last-child{border-bottom:0}
.bdq-sheetdl dt{font:600 .7rem var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.bdq-sheetdl dd{margin:2px 0 0;font-weight:600;line-height:1.4}
.bdq-frames{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:28px}

/* figures: contact-sheet frames */
.bdq-fig{margin:0;background:var(--card);border:1px solid var(--line2);padding:10px 10px 12px}
.bdq-sec:nth-of-type(even) .bdq-fig{background:var(--paper)}
.bdq-frameno{display:block;font:500 .68rem/1.2 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 0 8px}
.bdq-fig img{width:100%;height:auto;background:#fff}
.bdq-fig figcaption{font:400 .92rem/1.5 var(--body);color:var(--muted);margin-top:10px}
.bdq-fig-w{max-width:1120px}

/* text blocks */
.bdq-note{font-family:var(--head);font-size:.92rem;line-height:1.55;color:var(--muted);border-left:3px solid var(--line2);padding:4px 0 4px 14px}
.bdq-dl{margin:0 0 1.2em}
.bdq-dl div{display:grid;grid-template-columns:170px minmax(0,1fr);gap:14px;padding:10px 0;border-top:1px solid var(--line)}
.bdq-dl dt{font:700 .95rem var(--head)}
.bdq-dl dd{margin:0}
.bdq-tablewrap{overflow-x:auto;margin:0 0 1.2em;border:1px solid var(--line)}
.bdq-table{border-collapse:collapse;width:100%;font-size:.95rem;background:var(--card)}
.bdq-table caption{text-align:left;font:600 .85rem var(--head);color:var(--muted);padding:8px 10px}
.bdq-table th,.bdq-table td{padding:9px 12px;border-top:1px solid var(--line);text-align:left;vertical-align:top}
.bdq-table thead th{font:700 .82rem var(--head);background:var(--paper2)}
.bdq-faq details{border-top:1px solid var(--line);padding:2px 0}
.bdq-faq details:last-child{border-bottom:1px solid var(--line)}
.bdq-faq summary{cursor:pointer;font:700 1.02rem var(--head);padding:12px 0;min-height:44px;list-style-position:outside}
.bdq-ans{padding:0 0 12px}
.bdq-quote{margin:0 0 1.2em;padding:14px 18px;background:var(--paper2);border-left:4px solid var(--slate);font-style:italic}

/* tool: stand-in gap overlay */
.bdq-toolsec{background:var(--card)}
.bdq-tool{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:36px;align-items:start;margin-top:8px}
.bdq-form fieldset{border:1px solid var(--line2);border-radius:6px;padding:12px 16px 14px;margin:0 0 14px;min-width:0}
.bdq-form legend{font:700 .95rem var(--head);padding:0 6px}
.bdq-row{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;margin:6px 0}
.bdq-row label,.bdq-rowlab{font:600 .92rem var(--head)}
.bdq-rowlab{min-width:9.5em}
.bdq-form select,.bdq-form input[type=number]{min-height:44px;padding:0 10px;font:500 1rem var(--head);border:1px solid var(--line2);border-radius:4px;background:var(--paper);color:var(--ink)}
.bdq-form input[type=number]{width:96px}
.bdq-seg{display:inline-flex;flex-wrap:wrap;max-width:100%;border:1px solid var(--line2);border-radius:4px;overflow:hidden}
.bdq-seg label{display:flex;align-items:center;gap:6px;min-height:44px;padding:0 12px;font:600 .9rem var(--head);cursor:pointer;border-right:1px solid var(--line2)}
.bdq-seg label:last-child{border-right:0}
.bdq-seg input{accent-color:var(--terra)}
.bdq-stage{border:1px solid var(--line2);background:#fff;padding:10px}
.bdq-stage svg{display:block;width:100%;height:auto}
.bdq-legend{display:flex;flex-wrap:wrap;gap:6px 18px;font:500 .82rem var(--mono);color:var(--muted);margin:8px 0 0}
.bdq-out{margin-top:16px}
.bdq-out h3{margin-top:.6em}
.bdq-out ul{padding-left:1.1em}
.bdq-pill{display:inline-block;font:600 .74rem var(--mono);letter-spacing:.04em;text-transform:uppercase;padding:2px 8px;border-radius:3px;background:var(--terrasoft);color:var(--terra2);margin-right:6px}

/* category wall */
.bdq-wall{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:22px 0 0;padding:0;list-style:none}
.bdq-wall li{margin:0}
.bdq-card{display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line2);text-decoration:none;color:var(--ink);height:100%}
.bdq-card:hover{border-color:var(--terra)}
.bdq-card img{aspect-ratio:1/1;width:100%;object-fit:cover;background:#fff}
.bdq-card .bdq-cardtxt{padding:12px 14px 14px;display:flex;flex-direction:column;gap:4px}
.bdq-card .bdq-cardname{font:750 1.06rem var(--head);color:var(--ink)}
.bdq-card .bdq-cardnote{font:400 .9rem/1.45 var(--body);color:var(--muted)}
.bdq-card .bdq-dest{font:500 .66rem var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--terra2)}
.bdq-wallnote{font-family:var(--head);font-size:.92rem;color:var(--muted);margin-top:16px;max-width:820px}

/* directory (Spreadsheet page) */
.bdq-dir{list-style:none;padding:0;margin:0 0 1.2em;border-top:1px solid var(--line)}
.bdq-dir li{display:grid;grid-template-columns:200px minmax(0,1fr);gap:16px;padding:12px 0;border-bottom:1px solid var(--line);margin:0}
.bdq-dir a{font:700 1rem var(--head);display:inline-flex;align-items:center;min-height:44px;min-width:44px}

/* footer */
.bdq-foot{background:var(--ink);color:#D9D3CA;padding:44px 0 50px;font-family:var(--head);font-size:.94rem}
.bdq-foot a{color:#F0B79F}
.bdq-footgrid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:40px}
.bdq-footname{font-weight:800;color:#fff;margin-bottom:.6em}
.bdq-foot ul{list-style:none;padding:0;margin:0;columns:2;column-gap:24px}
.bdq-foot li{margin:0;break-inside:avoid}
.bdq-foot li a{display:inline-flex;align-items:center;min-height:44px;min-width:44px}

@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

@media (prefers-color-scheme:dark){
  :root{--paper:#1A1918;--paper2:#232120;--card:#211F1D;--ink:#ECE7E0;--muted:#BDB5AA;--terra:#E4906F;--terra2:#F0AE92;--terrasoft:#3A2A23;
        --slate:#9FB0C0;--line:#3A3734;--line2:#4E4A45;--focus:#7FB8E0}
  .bdq-fig img,.bdq-stage,.bdq-card img{background:#F4F2EE}
  .bdq-search button{background:var(--terra);color:#1A1918}
  .bdq-foot{background:#100F0E}
}

/* small screens: keep these last so they override the base rules above */
@media (max-width:1179px){
  .bdq-grid,.bdq-flip .bdq-grid{grid-template-columns:minmax(0,1fr);gap:26px}
  .bdq-flip .bdq-grid>.bdq-fig{order:2}
  .bdq-grid>.bdq-fig{max-width:740px}
  .bdq-ledgrid{grid-template-columns:minmax(0,1fr);gap:22px}
  .bdq-tool{grid-template-columns:minmax(0,1fr)}
  .bdq-sheet{max-width:740px}
  .bdq-wide>.bdq-wrap>.bdq-col:first-child{grid-template-columns:minmax(0,1fr);max-width:740px}
  .bdq-wide .bdq-fig{max-width:740px}
}
@media (max-width:1099px){
  .bdq-menu{display:inline-flex;align-items:center;justify-content:center}
  .bdq-topin{flex-wrap:wrap}
  .bdq-nav{display:none;width:100%}
  .bdq-nav.bdq-open{display:block}
  .bdq-nav ul{flex-direction:column;gap:0;padding:0 0 12px}
  .bdq-nav a{border-bottom:1px solid var(--line)}
  .bdq-wall{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bdq-frames{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:700px){
  body{font-size:17px}
  .bdq-wrap{padding:0 18px}
  .bdq-hero{padding:34px 0 26px}
  .bdq-sec{padding:44px 0}
  .bdq-search{flex-direction:column;border-radius:6px}
  .bdq-search button{width:100%}
  .bdq-dl div,.bdq-dir li{grid-template-columns:minmax(0,1fr);gap:4px}
  .bdq-footgrid{grid-template-columns:minmax(0,1fr)}
  .bdq-brand{font-size:.92rem;white-space:normal}
  .bdq-wall{gap:12px}
  .bdq-card .bdq-cardtxt{padding:10px}
}
