/* MOXODON – editorial art-toy gallery: paper background, Inter, uppercase headings, thin dark rules.
   Merged from the customer's restyle (November 2026) – one rule per element, no override layers.
   Inter is self-hosted (variable font, SIL OFL 1.1 – assets/fonts/OFL.txt): the page loads nothing from elsewhere. */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-latin-wght-normal.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: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-latin-ext-wght-normal.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  --ink: #111111;
  --muted: #4e4c49;
  --soft: #66635f;
  --sold: #55534f;
  --line: #353431;
  --bg: #f7f5f1;
  --frame: #e9e6e1;
  --display: "Inter", Arial, sans-serif;
  --sans: "Inter", Arial, sans-serif;
  /* The arrow next to link labels: a 16×16 stroke, used as a mask so it takes the text colour. */
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.4; }
img { display: block; max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }
:where(a, button):focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.wrap { width: min(100% - 40px, 1050px); margin-inline: auto; }
main, .hero p { overflow-wrap: anywhere; }
.status { text-align: center; color: var(--muted); }
h2, .page-title {
  margin: 0 0 12px; font-family: var(--display); font-size: clamp(24px, 3.2vw, 34px); line-height: 1.15;
  font-weight: 700; text-transform: uppercase; letter-spacing: .025em;
}

/* Links with an arrow: label plus 14px arrow, 8px apart (arrow comes from app.js / the HTML as <span class="arrow">) */
.arrow {
  display: inline-block; flex: 0 0 14px; width: 14px; height: 14px; background: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat;
}
.arrow-back { transform: rotate(180deg); }
.more, .card-inquire {
  display: inline-flex; align-items: center; gap: 8px; vertical-align: middle; font-size: 12px; font-weight: 600;
  letter-spacing: .075em; line-height: 1.4; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  border-bottom: 1px solid transparent;
}
.more:hover, .more:focus-visible, .card-inquire:hover, .card-inquire:focus-visible { border-bottom-color: currentColor; }

/* Navigation bar: inline links, behind the burger on phones */
.navbar { position: sticky; top: 0; z-index: 20; background: var(--bg); }
.navbar-inner {
  position: relative; min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand img { width: 125px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; padding: 0; margin: 0; list-style: none; }
.nav-links a { font-size: 13px; text-transform: uppercase; font-weight: 600; letter-spacing: .055em; text-decoration: none; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.menu-toggle {
  display: none; width: 34px; height: 32px; padding: 5px 2px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: space-around;
}
.menu-toggle span { flex: 0 0 2px; height: 2px; min-height: 2px; width: 100%; background: var(--ink); }

/* Hero: headline, short rule, spaced subline, picture in a 4:3 frame (10:9 full width on phones) */
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 24px; padding-bottom: 24px; }
.hero h1 {
  margin: 0; font-family: var(--display); font-size: clamp(35px, 6.3vw, 72px); font-weight: 800;
  letter-spacing: .045em; line-height: 1.06; text-transform: uppercase;
}
.hero-rule { width: 68px; height: 3px; background: var(--ink); margin: 16px auto 12px; }
.hero-subtitle { margin: 0; font-size: clamp(11px, 1.5vw, 15px); font-weight: 800; letter-spacing: .46em; text-transform: uppercase; }
.hero-image-crop { position: relative; width: 600px; max-width: 100%; aspect-ratio: 4 / 3; overflow: hidden; margin: 20px auto 0; }
.hero-image { position: absolute; top: 50%; left: 0; width: 100%; height: auto; transform: translateY(-50%); }

/* Sections, separated by a thin rule */
.section { padding-top: 18px; padding-bottom: 24px; }
.works-section, .journal-section { border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-heading h2 { margin: 0; }

/* Category tabs: one scrollable row, the active one underlined */
.filter { display: flex; flex-wrap: nowrap; gap: 22px; overflow-x: auto; scrollbar-width: none; padding: 0 0 13px; margin-bottom: 9px; }
.filter::-webkit-scrollbar { display: none; }
.filter button {
  font: inherit; white-space: nowrap; font-size: 12px; font-weight: 600; text-transform: uppercase; background: none;
  color: #383735; padding: 0 0 7px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; cursor: pointer;
}
.filter button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }

/* Product cards: square picture (whole photo), title, category, then price / "Inquire" aligned along each row */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 28px; min-width: 0; }
.work-card { display: flex; flex-direction: column; min-width: 0; height: 100%; }
.card { display: flex; flex-direction: column; flex: 1; min-height: 0; text-decoration: none; color: inherit; }
.card-image { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--frame); }
.card-image img { width: 100%; height: 100%; object-fit: contain; }
.badge {
  position: absolute; top: 10px; left: 10px; padding: 2px 7px; border: 1px solid rgba(255, 255, 255, .8);
  color: #fff; font-size: 9px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
}
.card-body { display: flex; flex-direction: column; flex: 1; padding-top: 16px; }
.card-body h3 {
  margin: 0; font-family: var(--display); font-size: 23px; font-weight: 600; line-height: 1.05;
  letter-spacing: .025em; text-transform: uppercase;
}
.card:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.card-category { margin: 8px 0 0; font-size: 14px; line-height: 1.3; color: var(--soft); }
.card-bottom { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; }
.card-price { font-size: 18px; font-weight: 700; letter-spacing: .01em; }
.card-price.sold { font-size: 15px; font-weight: 600; color: var(--sold); text-transform: uppercase; }

/* Journal: picture left, text right. On the home page only the latest until "View all". */
.news-list { display: grid; gap: 28px; }
.journal-section .news-list > :nth-child(n+2) { display: none; }
.journal-expanded .journal-section .news-list > :nth-child(n+2) { display: grid; }
.journal-all {
  display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; cursor: pointer;
  color: inherit; font-family: inherit; font-size: 12px; font-weight: 600; letter-spacing: .02em; line-height: 1.4;
  text-transform: uppercase;
}
.journal-expanded .journal-all .arrow { transform: rotate(-90deg); }
.news { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; align-items: start; min-width: 0; }
.news img, .news-noimage { width: 150px; height: 150px; object-fit: cover; }
.news-noimage { background: var(--frame); }
.news-body { margin-top: -4px; }
.news time, .news-detail time { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.news h3 {
  font-family: var(--display); margin: 8px 0 6px; font-size: 21px; font-weight: 700; line-height: 1.15;
  letter-spacing: .02em; text-transform: uppercase;
}
.news h3 a { text-decoration: none; }
.news h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.news p { margin: 0 0 .4em; font-size: 13px; line-height: 1.5; }
.news .more { margin-top: 4px; }
.news-section { min-height: 55vh; }
.news-detail { max-width: 720px; }
.news-detail h2 { margin: 6px 0 18px; font-size: clamp(30px, 4.5vw, 48px); line-height: 1.08; }
.news-detail img { width: 100%; max-width: 640px; aspect-ratio: 1; object-fit: cover; margin-bottom: 20px; background: var(--frame); }
.news-detail p { margin: 0 0 12px; font-size: 14px; line-height: 1.65; }
.news-detail .lead p { font-weight: 700; }

/* Product page */
.item-section { padding-top: 40px; padding-bottom: 52px; min-height: 55vh; }
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; min-width: 0; }
.gallery-main { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--frame); }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.thumbs button { padding: 0; border: 1px solid transparent; background: none; cursor: pointer; width: 76px; }
.thumbs button[aria-pressed="true"] { border-color: #77736e; }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.detail-text { padding-top: 8px; }
.category { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.detail h1 {
  font-family: var(--display); font-size: 42px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .02em; line-height: 1.08; margin: 10px 0 30px;
}
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 0 0 24px; border-top: 1px solid var(--line); padding-top: 14px; font-size: 13px; }
.facts dt { color: var(--muted); text-transform: uppercase; font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.facts dd { margin: 0; }
.description { font-size: 15px; line-height: 1.65; margin: 24px 0; }
.description p { margin: 0 0 12px; }
.price { font-size: 28px; font-weight: 800; margin: 28px 0 20px; }
.price.sold { font-size: 24px; color: var(--sold); text-transform: uppercase; letter-spacing: .1em; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 23px;
  border: 1px solid var(--ink); color: var(--ink); text-decoration: none;
  font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
}
.button:hover { background: var(--ink); color: var(--bg); }
.back { margin: 48px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.back a { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; line-height: 1.4; text-decoration: none; }   /* 12px also inside .news-detail */
.back a:hover { text-decoration: underline; }

/* Footer */
.footer-inner { border-top: 1px solid var(--line); padding-top: 13px; padding-bottom: 24px; }
.footer-top, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer-top { padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.footer-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.footer-brand img { height: 23px; width: auto; max-width: none; }
.social { display: flex; gap: 22px; align-items: center; }
.social svg { width: 23px; height: 23px; fill: var(--ink); }
.social a:hover svg { opacity: .65; }
.footer-bottom { padding-top: 10px; font-size: 12px; }
.footer-bottom p { margin: 0; }
.footer-bottom > div { display: flex; gap: 18px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* Impressum, Datenschutz */
.legal { max-width: 720px; min-height: 55vh; }
.legal h1 { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 4vw, 40px); text-transform: uppercase; letter-spacing: .02em; margin: 0 0 .5em; }
.legal h2 { text-transform: none; letter-spacing: 0; font-size: 1.1rem; font-weight: 700; margin: 1.6em 0 .4em; }
.legal p { margin: 0 0 .8em; }

@media (max-width: 760px) {
  .wrap { width: min(100% - 36px, 480px); }
  .navbar-inner { min-height: 58px; }
  .brand img { width: 116px; }
  .menu-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 0; flex-direction: column; align-items: stretch; gap: 0;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-links a { display: flex; align-items: center; min-height: 52px; font-size: 16px; }
  .hero-inner { padding-top: 48px; }
  .hero-image-crop { width: 100vw; max-width: none; aspect-ratio: 10 / 9; margin: 20px 0 0 calc(50% - 50vw); }
  .filter { gap: 20px; }
  /* One column: cards keep their natural height (row alignment only matters side by side). */
  .cards { grid-template-columns: 1fr; row-gap: 50px; }
  .work-card { height: auto; }
  .card { display: block; }
  .card-body { display: block; }
  .card-body h3 { font-size: 19px; }
  .card-category { font-size: 13px; }
  .card-bottom { margin-top: 20px; padding-top: 0; }
  .card-price { font-size: 17px; }
  .news { grid-template-columns: 110px minmax(0, 1fr); gap: 16px; }
  .news img, .news-noimage { width: 110px; height: 110px; }
  .news time { font-size: 10px; }
  .news h3 { font-size: 18px; }
  .news p { font-size: 12px; }
  .news .more { font-size: 11px; }
  .item-section { padding-top: 24px; padding-bottom: 38px; }
  .detail { grid-template-columns: 1fr; gap: 24px; }
  .detail-text { padding-top: 0; }
  .detail h1 { font-size: 32px; }
  .description { font-size: 14px; }
  .price { font-size: 26px; }
  .price.sold { font-size: 22px; }
  .detail-text .button { display: flex; width: 100%; }
  .back { margin-top: 34px; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: clamp(30px, 9vw, 38px); letter-spacing: .025em; }
  .hero-subtitle { font-size: 10px; letter-spacing: .35em; }
  .footer-bottom { font-size: 11px; }
}
