/* MM Galleri, the "atelier" layer (theme 1.3.36, owner's request 2026-10-21: look and feel of a high-end marble
   atelier, after a study of Chanel, The Row, Louis Vuitton, Aesop, Cartier and the Awwwards luxury gallery).
   Loaded after site.css and only overrides it: take this file away and the site is exactly 1.3.35 again.
   What it changes:
   - the top bar: logo in the centre, the menu on a second row below it, no boxes around the tools, "Book an
     appointment" as a word instead of an orange button; the logo keeps its own colours everywhere;
   - the home photo: no dark box over it, the words centred at the bottom on a soft shade, links instead of buttons;
   - buttons: small spaced capitals, ink instead of orange (orange stays on the small labels only);
   - more room between sections, stone tiles with small capital names and no arrows, no colour chips on the home page;
   - the brands as one still, quiet row, every logo in its own colour;
   - slow fade-ins as the page scrolls (assets/js/atelier.js; never for visitors whose device asks for less motion). */

:root { --band: clamp(72px, 9vw, 152px); }

/* ---------- Links and buttons: quiet ---------- */
.mmg a { color: var(--ink); }
.mmg a:hover { color: var(--ink-2); }
.btn { font-family: var(--caps); font-size: 13px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
.btn--large { font-size: 14px; }
.btn--small { font-size: 12px; }
.mmg .btn--accent { background: var(--ink); color: var(--ground); }
.mmg .btn--accent:hover { background: #000; color: #fff; }
.mmg .band--dark .btn--accent, .mmg .site-footer .btn--accent { background: var(--on-dark); color: var(--dark); }
.link-caps { font-size: 13px; letter-spacing: 0.22em; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 10px; }
.link-caps .icon { display: none; }
.link-caps:hover { text-decoration-color: var(--accent-line); }
.mmg .link-accent { color: var(--on-dark) !important; font-family: var(--caps); font-size: 13px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 10px; }
.mmg .link-accent .icon { display: none; }
.mmg .link-light { font-family: var(--caps); font-size: 13px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; }
.kicker { font-size: 12px; letter-spacing: 0.28em; }

/* ---------- Top bar ---------- */
.site-header { border-bottom-color: rgba(20, 19, 18, 0.08); }
.icon-btn, .picker__button, .lang-switch--bar a { border-color: transparent; }
.picker__button { font-family: var(--caps); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; padding: 0 8px; }
.picker__button .icon { width: 16px; height: 16px; }
.lang-switch--bar a { min-width: 36px; font-size: 12px; letter-spacing: 0.2em; color: var(--ink-2) !important; }
.lang-switch--bar a[aria-current="true"] { background: transparent; color: var(--ink) !important; border-color: transparent; text-decoration: underline; text-underline-offset: 8px; }
.mmg .btn--header { min-height: 44px; padding: 0 4px; background: transparent; color: var(--ink); font-size: 12px; letter-spacing: 0.22em; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 10px; }
.mmg .btn--header:hover { background: transparent; color: var(--ink-2); }
.header-tools__start, .header-tools__end { display: flex; align-items: center; gap: inherit; }
.menu-btn { font-size: 12px; letter-spacing: 0.22em; }

/* Computers wide enough for the whole menu: logo centred on the first row, the menu centred on the second. */
@media (min-width: 1321px) {
  .site-header__bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "start brand end" "nav nav nav"; align-items: center; column-gap: 24px; row-gap: 2px; min-height: 0; padding-top: 18px; padding-bottom: 6px; }
  .brand { grid-area: brand; justify-self: center; }
  .brand img { width: 84px; }
  .main-nav { grid-area: nav; justify-self: center; }
  .main-nav ul { gap: clamp(28px, 2.6vw, 44px); }
  .main-nav a { font-size: 12px; letter-spacing: 0.24em; border-bottom-width: 1px; }
  .header-tools { display: contents; }
  .header-tools__start { grid-area: start; justify-self: start; gap: 4px; margin-left: -12px; }
  .header-tools__end { grid-area: end; justify-self: end; gap: 10px; }
  .header-tools__start .picker__panel { left: 0; right: auto; }
}

/* Over the home photo the top bar keeps the light bar of site.css (owner, 2026-10-21: the logo always keeps its own
   black and orange, never turned white or grey; a see-through dark bar would hide it, so there is none). */

/* ---------- Home photo ---------- */
.hero { min-height: 100svh; align-items: flex-end; justify-content: center; }
.hero::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(rgba(10, 9, 8, 0), rgba(10, 9, 8, 0.72)); pointer-events: none; }
.hero__img img { animation: atelier-settle 2.8s cubic-bezier(0.2, 0.6, 0.2, 1) both; }
@keyframes atelier-settle { from { transform: scale(1.06); } to { transform: none; } }
.hero__panel { z-index: 1; margin: 0 auto clamp(40px, 6vh, 72px); width: min(1040px, calc(100% - 2 * var(--gutter))); padding: 0; background: transparent; align-items: center; text-align: center; gap: 18px; }
.hero .h-display { font-size: clamp(30px, 3.7vw, 56px); line-height: 1.12; }
.hero__line { display: block; }
.hero .lead { font-size: 16px; max-width: 560px; color: var(--on-dark-2); }
.hero .kicker--accent { color: var(--on-dark); }
.hero .btn-row { justify-content: center; gap: 8px 40px; padding-top: 4px; }
.mmg .hero .btn { min-height: 44px; padding: 0; background: transparent; border: 0; color: var(--on-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 10px; }
.mmg .hero .btn:hover { color: #fff; background: transparent; }
.hero .btn .icon { display: none; }
.hero__caption { z-index: 1; padding: 0; background: transparent; font-size: 11px; color: var(--on-dark-2) !important; bottom: clamp(40px, 6vh, 72px); }

/* ---------- The collection on the home page ---------- */
.find__head { margin-bottom: clamp(40px, 4vw, 64px); }
.type-tiles { gap: clamp(20px, 2.2vw, 36px); }
.type-tile { gap: 18px; }
.type-tile__name { justify-content: flex-start; font-family: var(--caps); font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; }
.type-tile__name .icon { display: none; }
.type-tile__sub { margin-top: -10px; font-size: 13px; }
.home .colour-row { display: none; }
.find__search .field-row input { border: 0; border-bottom: 1px solid var(--ink); background: transparent; }
.find__search .btn { min-height: 56px; }

/* ---------- Projects ---------- */
.project__name { letter-spacing: 0.2em; }

/* ---------- The atelier block ---------- */
.atelier__split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
.atelier .split__img img { aspect-ratio: 4 / 5; }
.atelier .split__text { gap: 24px; padding-bottom: clamp(0px, 2vw, 32px); }
.atelier .split__text p { max-width: 460px; }
.atelier__links { display: flex; flex-wrap: wrap; gap: 8px 36px; padding-top: 8px; }

/* ---------- Brands: one still, quiet row ---------- */
.brands--strip { padding: 0 0 var(--band); }
.brands--strip .band__head { justify-content: center; margin-bottom: 28px; }
.brands--strip .h-sub { font-family: var(--caps); font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-2); }
.brands--strip .brands__tools { display: none; }
.brands--strip .marquee:not(.is-moving) .marquee__track { --per: 8; flex-wrap: nowrap; }
.brands--strip .marquee__track li:nth-child(n+9) { display: none; } /* one row of eight on the home page; every logo stays on About */

/* ---------- Bended ---------- */
.feature__panel { background: rgba(20, 19, 18, 0.82); }

/* ---------- Showrooms, journal ---------- */
.showrooms .btn { min-height: 40px; }
.article-card__title { font-size: clamp(20px, 1.6vw, 24px); }

/* ---------- Every other page (owner, 2026-10-21: "adjust everything else in the website", not only the home page) ---------- */
/* Filters: small spaced capitals with a fine line under the chosen one, instead of rounded pills */
.chips { gap: 4px 28px; }
.chip { min-height: 40px; padding: 0; gap: 8px; border: 0; border-bottom: 1px solid transparent; border-radius: 0; background: transparent; font-family: var(--caps); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.chip:hover { border-color: var(--ink); }
.chip--filter[aria-current="true"] { background: transparent; border-color: var(--ink); color: var(--ink) !important; }
.chip__count { font-size: 11px; letter-spacing: 0.08em; opacity: 0.55; }
.chips--dark .chip { background: transparent; border-color: transparent; color: var(--on-dark-2) !important; }
.chips--dark .chip:hover { border-color: var(--on-dark); }
.chips--dark .chip--filter[aria-current="true"] { background: transparent; border-color: var(--on-dark); color: var(--on-dark) !important; }
.swatch { width: 14px; height: 14px; }
/* Page numbers: the current one underlined, not a black square */
.pager__list a[aria-current="page"] { background: transparent; color: var(--ink) !important; text-decoration: underline; text-underline-offset: 8px; }
.pager--dark .pager__list a[aria-current="page"] { background: transparent; color: var(--on-dark) !important; }
/* Natural / engineered switch: two quiet headings with a line above, the chosen one in full ink */
.coll-switch__item { border: 0; border-top: 1px solid var(--line-2); background: transparent; padding: 22px 0 8px; min-height: 0; }
.coll-switch__item[aria-current="page"] { background: transparent; border-top: 2px solid var(--ink); color: var(--ink) !important; }
.coll-switch__item[aria-current="page"] .coll-switch__sub { color: var(--ink-2); }
.coll-switch__item[aria-current="page"] .coll-switch__count { color: var(--ink-2); }
.coll-switch__item:not([aria-current="page"]) { color: var(--ink-2) !important; }
.coll-switch__item:not([aria-current="page"]):hover { background: transparent; color: var(--ink) !important; }
/* Stone page: no stacked black boxes; one main button, the others outlined */
.held { background: transparent; color: var(--ink); padding: 16px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.held__where { font-size: 15px; font-weight: 500; }
.held__ref { color: var(--ink-2); font-size: 14px; }
.price { background: transparent; border: 0; padding: 0; margin-top: 0; }
.mmg .stone__actions .btn--dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.mmg .stone__actions .btn--dark:hover { background: var(--ink); color: var(--ground); }
.view-btn { min-height: 40px; padding: 0 2px; border: 0; border-bottom: 1px solid transparent; background: transparent; font-size: 12px; letter-spacing: 0.2em; }
.gallery__views { gap: 24px; }
.view-btn[aria-pressed="true"] { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline { border-width: 1px; }
/* Links that do something are ink; orange stays on the small labels (kickers, dates) only */
.mmg .showroom__actions .link-caps, .mmg .collab__link, .mmg .link-strong { color: var(--ink) !important; }
.tour-band__badge, .showroom__badge { background: var(--dark); color: var(--on-dark); }
.showroom--current { border-top: 2px solid var(--ink); }
/* Forms: a single fine line instead of a box (the message box keeps a thin frame) */
.field input, .field select { border: 0; border-bottom: 1px solid #8C857A; background: transparent; padding-left: 0; padding-right: 0; }
.field textarea { border-width: 1px; background: transparent; }

/* ---------- Slow fade-ins (assets/js/atelier.js adds .reveal, then .is-in once it scrolls into view) ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.2s cubic-bezier(0.2, 0.6, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.6, 0.2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .hero__img img { animation: none; } }

/* ---------- Smaller screens ---------- */
@media (max-width: 1060px) {
  .atelier__split { grid-template-columns: minmax(0, 1fr); }
  .atelier .split__img img { aspect-ratio: 4 / 3; }
}
@media (max-width: 1320px) {
  .brands--strip .marquee:not(.is-moving) .marquee__track { --per: 4; flex-wrap: wrap; }
}
@media (max-width: 720px) {
  .site-header--over { position: relative; background: var(--ground); border-bottom: 1px solid var(--line); }
  .hero { min-height: 0; }
  .hero::after { display: none; }
  .hero__img { height: 64svh; }
  .hero__panel { margin: 0; width: 100%; padding: 36px var(--gutter) 40px; background: var(--dark); }
  .hero .btn-row { flex-direction: column; align-items: center; gap: 4px; }
  .mmg .hero .btn { width: auto; }
  .hero__caption { position: static; text-align: center; padding: 0 var(--gutter) 28px; background: var(--dark); }
  .type-tiles { gap: 28px 16px; }
  .brands--strip .marquee:not(.is-moving) .marquee__track { --per: 4; flex-wrap: wrap; --gap-x: 16px; }
  .filters__search .field-row { flex: 1 1 100%; min-width: 0; max-width: 100%; } /* the spaced SEARCH word made the row 6 px wider than a phone */
  .field-row .btn { padding: 0 16px; }
}
@media (max-width: 380px) {
  .type-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
