/*
 * Maleo — styles following the MALEO visual identity guidelines (2026).
 *
 * Colours: Deep Teal is the root, Soft Cream the ground for text, Midnight Navy the depth (and
 * Royalty's own ground), Gold one focal moment, Terracotta the rarest accent, Sand the Arabic
 * ground. Deep Teal is always solid and exact; Teal never sits on Navy.
 * Type: one serif voice (Minion Pro, from assets/fonts via theme.json; Noto Sans Arabic for Arabic); capitals
 * are letterspaced, lowercase never is; left-aligned text, centred only for statements.
 */

/* ---------- Tokens ---------- */
:root{
	--m-teal:#003333;--m-cream:#f1e3c5;--m-navy:#0f161e;--m-gold:#b99a5b;--m-terra:#a25034;--m-sand:#e2d3b3;
	--m-serif:'Minion Pro','Noto Sans Arabic',Georgia,serif;
	--m-pad:clamp(24px,6vw,96px);
	--m-wide:1320px;
}
/* Each ground sets its own ink: text, muted text, rules, accent. Components read these. */
:root,.m-on-cream{--m-ground:var(--m-cream);--m-ink:var(--m-teal);--m-muted:rgba(0,51,51,.74);--m-line:rgba(0,51,51,.16);--m-line-strong:rgba(0,51,51,.38);--m-accent:var(--m-terra)}
.m-dive,.m-works,.m-story,.m-promise,.m-contact,.m-others,.m-piece__details,.m-piece__frame,.m-typo{--m-ground:var(--m-teal);--m-ink:var(--m-cream);--m-muted:rgba(241,227,197,.76);--m-line:rgba(241,227,197,.18);--m-line-strong:rgba(241,227,197,.42);--m-accent:var(--m-gold)}
.m-gh,.m-ih--dark,.m-situ,.m-scale,.m-house--royalty,.m-royalty,.m-footer,.m-menu,.m-cart__panel,.m-present{--m-ground:var(--m-navy);--m-ink:var(--m-cream);--m-muted:rgba(241,227,197,.7);--m-line:rgba(185,154,91,.22);--m-line-strong:rgba(185,154,91,.5);--m-accent:var(--m-gold)}
.m-house--arabic{--m-ground:var(--m-sand);--m-ink:var(--m-teal);--m-muted:rgba(0,51,51,.74);--m-line:rgba(0,51,51,.18);--m-line-strong:rgba(0,51,51,.4);--m-accent:var(--m-terra)}

/* ---------- Base ---------- */
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
section[id]{scroll-margin-top:88px}
body{margin:0;background:var(--m-cream);color:var(--m-teal);font-family:var(--m-serif);font-size:18px;font-weight:400;line-height:1.7;font-variant-numeric:lining-nums;-webkit-font-smoothing:antialiased}
img{display:block}
a{color:inherit;text-decoration:none}
input,textarea,select,button{font:inherit;color:inherit}
::selection{background:var(--m-gold);color:var(--m-navy)}
:focus-visible{outline:2px solid var(--m-accent);outline-offset:3px}
[hidden]{display:none!important}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.screen-reader-text{border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
.m-skip{position:absolute;inset-inline-start:-10000px;top:0;z-index:200;padding:12px 18px;background:var(--m-navy);color:var(--m-cream);font-size:12px;letter-spacing:.24em;text-transform:uppercase}
.m-skip:focus{inset-inline-start:16px;top:16px}

/* overflow-x:clip trims sideways overflow without turning the wrapper into a scroll container,
   which would silently disable every position:sticky inside it (the dive, the story, the work-page header). */
.m-page{width:100%;overflow-x:hidden;overflow-x:clip;background:var(--m-cream);color:var(--m-teal)}
.m-top{height:0}

/* The full stop of the tagline: the warm thread on light and teal grounds, gold on navy. */
.m-dot{color:var(--m-terra)}
:is(.m-footer,.m-royalty) .m-dot{color:var(--m-gold)}

/* Keylines with open corners — the Marine frame, never a closed box. */
.m-keylines{position:relative}
.m-keylines::after{content:'';position:absolute;inset:0;pointer-events:none;--k:clamp(14px,1.8vw,24px);--c:var(--m-line-strong);background:linear-gradient(var(--c),var(--c)) 0 0/var(--k) 1px,linear-gradient(var(--c),var(--c)) 0 0/1px var(--k),linear-gradient(var(--c),var(--c)) 100% 0/var(--k) 1px,linear-gradient(var(--c),var(--c)) 100% 0/1px var(--k),linear-gradient(var(--c),var(--c)) 0 100%/var(--k) 1px,linear-gradient(var(--c),var(--c)) 0 100%/1px var(--k),linear-gradient(var(--c),var(--c)) 100% 100%/var(--k) 1px,linear-gradient(var(--c),var(--c)) 100% 100%/1px var(--k);background-repeat:no-repeat}

/* ---------- Shared pieces ---------- */
.m-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 26px;border:1px solid var(--m-ink);background:var(--m-ink);color:var(--m-ground);cursor:pointer;font-size:12px;line-height:1.4;letter-spacing:.24em;text-transform:uppercase;transition:background .25s,color .25s,border-color .25s}
.m-button:hover{background:transparent;color:var(--m-ink)}
.m-button--quiet{background:transparent;color:var(--m-ink);border-color:var(--m-line-strong)}
.m-button--quiet:hover{border-color:var(--m-ink)}
.m-button:disabled{opacity:.6;cursor:progress}
.m-line-link{align-self:flex-start;display:inline-block;padding-bottom:4px;border-bottom:1px solid var(--m-line-strong);font-size:12px;letter-spacing:.24em;text-transform:uppercase;color:var(--m-ink)}
.m-line-link:hover{border-color:var(--m-accent)}
.m-arrow{display:inline-block}

.m-specs{margin:14px 0 0;border-top:1px solid var(--m-line)}
.m-specs>div{display:grid;grid-template-columns:minmax(96px,.42fr) minmax(0,1fr);gap:16px;padding:10px 0;border-bottom:1px solid var(--m-line)}
.m-specs dt{padding-top:3px;font-size:12px;letter-spacing:.24em;text-transform:uppercase;color:var(--m-muted)}
.m-specs dd{margin:0;font-size:17px;line-height:1.55}

/* ---------- Logo (variation B; wordmark only on phones) ---------- */
.m-logo{display:flex;align-items:center;gap:14px;flex:0 0 auto;min-width:0}
.m-logo .m-logo__mark{height:40px;width:auto}
.m-logo__word{display:block}
.m-logo__word img{display:block;height:42px;width:auto}
/* Below the digital minimum of the horizontal lockup (170 px), headers use the wordmark alone (variation C). */
@media (max-width:700px){
	.m-logo .m-logo__mark{display:none}
	.m-logo__word img{height:22px}
	.m-logo:lang(ar) .m-logo__word img{height:26px}
}

/* ---------- Gallery header ---------- */
.m-gh{position:fixed;top:0;left:0;right:0;z-index:60;display:flex;align-items:center;justify-content:space-between;gap:clamp(12px,2vw,28px);padding:14px clamp(16px,5vw,72px);background:rgba(15,22,30,.96);border-bottom:1px solid var(--m-line);color:var(--m-cream);transition:background .5s,border-color .5s}
.m-gh__brand{opacity:0}
.m-gh__actions{display:flex;align-items:center;gap:clamp(8px,1.2vw,14px)}
.m-gh__btn{display:flex;align-items:center;gap:8px;white-space:nowrap;padding:10px clamp(12px,1.6vw,20px);background:transparent;border:1px solid rgba(241,227,197,.3);color:var(--m-cream);cursor:pointer;font-size:12px;line-height:1.2;letter-spacing:.24em;text-transform:uppercase}
.m-gh__btn:hover{border-color:var(--m-gold);color:var(--m-gold)}
.m-gh__btn--menu{gap:10px}
.m-gh__count{font-size:16px;letter-spacing:0;color:var(--m-gold)}
.m-gh__lines{display:flex;flex-direction:column;gap:4px}
.m-gh__lines span{width:16px;height:1px;background:currentColor}
/* The language link carries the language's flag. On phones the bar keeps the flag with a short name
   and the menu keeps only its icon, so language, cart and menu fit beside the wordmark. */
.m-lang{display:inline-flex;align-items:center;gap:8px}
.m-lang .m-lang__flag{width:20px;height:10px;flex:0 0 auto;outline:1px solid rgba(127,127,127,.35)}
.m-lang__short{display:none}
@media (max-width:600px){
	.m-gh__btn{padding:9px 12px}
	.m-gh .m-lang__name,.m-gh__btn--menu>span:last-child{display:none}
	.m-gh .m-lang__short{display:inline}
}

/* ---------- Inner-page header ---------- */
.m-ih{position:sticky;top:0;z-index:60;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 32px;padding:14px clamp(20px,5vw,72px);background:rgba(241,227,197,.96);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--m-line);color:var(--m-ink)}
.m-ih--dark{background:rgba(15,22,30,.97)}
.m-ih__nav{display:flex;align-items:center;gap:clamp(18px,2.4vw,40px);font-size:12px;letter-spacing:.24em;text-transform:uppercase;color:var(--m-muted)}
.m-ih__nav a:hover{color:var(--m-ink)}
.m-ih__actions{flex:0 0 auto;display:flex;align-items:center;gap:clamp(14px,2vw,24px)}
.m-ih__lang{font-size:12px;letter-spacing:.24em;text-transform:uppercase;color:var(--m-muted)}
.m-ih__lang:hover{color:var(--m-ink)}
.m-ih__cart{display:flex;align-items:center;gap:10px;padding:9px 18px;border:1px solid var(--m-line-strong);font-size:12px;letter-spacing:.24em;text-transform:uppercase}
.m-ih__cart:hover{border-color:var(--m-ink)}
.m-ih__count{font-size:16px;letter-spacing:0}
/* Narrower screens: the sections run in one scrolling row under the logo, language and cart. */
@media (max-width:1120px){
	.m-ih__nav{order:3;width:100%;overflow-x:auto;white-space:nowrap;scrollbar-width:none;padding-bottom:2px}
	.m-ih__nav::-webkit-scrollbar{display:none}
}

.admin-bar .m-gh,.admin-bar .m-ih{top:32px}
@media screen and (max-width:782px){.admin-bar .m-gh,.admin-bar .m-ih{top:46px}}

/* ---------- The dive (Marine: Deep Teal ground, cream ink, gold speculars) ---------- */
.m-dive{position:relative;background:var(--m-teal);color:var(--m-cream)}
.m-dive__stage{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;background:var(--m-teal)}
.m-dive__canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.m-dive__title{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:clamp(84px,12vh,120px) 24px clamp(64px,10vh,96px)}
.m-hero{display:flex;flex-direction:column;align-items:center;gap:clamp(12px,2.2vh,22px);text-align:center}
.m-hero .m-hero__lockup{width:min(44vh,380px,68vw);height:auto}
.m-hero .m-hero__emblem{width:min(26vh,220px,46vw);height:auto}
.m-hero .m-hero__word{width:min(38vh,340px,68vw);height:auto}
.m-hero__rule{width:44px;height:1px;background:var(--m-gold)}
.m-hero__tagline{margin:0;font-style:italic;font-weight:300;font-size:clamp(24px,2.8vw,36px);line-height:1.2}
.m-hero__line{margin:0;font-size:12px;letter-spacing:.3em;text-transform:uppercase;color:var(--m-muted)}
.m-dive__cap{position:absolute;inset-inline-start:calc(clamp(16px,2.4vw,32px) + clamp(40px,5vw,72px));inset-inline-end:var(--m-pad);bottom:11vh;opacity:0;pointer-events:none;display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px 40px}
.m-dive__cap-text{max-width:36ch}
.m-dive__kicker{margin-bottom:12px;font-size:12px;letter-spacing:.3em;text-transform:uppercase;color:var(--m-gold)}
.m-dive__name{margin:0 0 10px;font-weight:400;font-size:clamp(38px,5.4vw,72px);line-height:1;text-shadow:0 2px 40px rgba(0,26,26,.9)}
.m-dive__line{margin:0;font-style:italic;font-size:clamp(17px,1.4vw,21px);line-height:1.6;color:rgba(241,227,197,.86);text-shadow:0 2px 30px rgba(0,26,26,.95)}
.m-dive__length{font-size:clamp(20px,2vw,28px)}
.m-dive__end{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:0 24px;opacity:0;pointer-events:none;text-align:center}
.m-dive__end p{margin:0;max-width:22ch;font-style:italic;font-weight:300;font-size:clamp(28px,3.8vw,52px);line-height:1.25;text-wrap:balance}
.m-dive__gauge{position:absolute;inset-inline-start:clamp(16px,2.4vw,32px);top:50%;transform:translateY(-50%);opacity:0;pointer-events:none}
.m-dive__track{position:relative;width:1px;height:26vh;background:rgba(241,227,197,.2)}
#dive-pip{position:absolute;inset-inline-start:-2px;top:0;width:5px;height:5px;border-radius:50%;background:var(--m-gold)}
.m-dive__intro{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(16px,2.4vh,26px);padding:0 24px;opacity:0;pointer-events:none;text-align:center}
.m-dive__intro .m-dive__icon{width:clamp(110px,11vw,150px);height:auto}
.m-dive__eyebrow{font-size:12px;letter-spacing:.36em;text-transform:uppercase}
.m-dive__intro p{margin:0;max-width:26ch;font-style:italic;font-weight:300;font-size:clamp(26px,3.4vw,46px);line-height:1.25;text-wrap:balance}
.m-dive__cue{position:absolute;left:0;right:0;bottom:clamp(22px,3.5vh,40px);display:flex;flex-direction:column;align-items:center;gap:9px;pointer-events:none;font-size:11px;letter-spacing:.36em;text-transform:uppercase;color:var(--m-muted)}
.m-dive__cue-line{width:1px;height:clamp(24px,4vh,36px);background:linear-gradient(to bottom,var(--m-gold),transparent)}

/* ---------- Marine Collection (also the shop) ---------- */
.m-works{display:flex;flex-direction:column;gap:clamp(80px,10vw,150px);padding:clamp(88px,10vw,160px) var(--m-pad);background:var(--m-teal);color:var(--m-cream)}
.m-works__head{max-width:var(--m-wide);width:100%;margin:0 auto;display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:24px 48px;padding-bottom:28px;border-bottom:1px solid var(--m-line)}
.m-works__heading{display:flex;flex-direction:column;gap:22px}
.m-works .m-works__icon{width:clamp(96px,9vw,132px);height:auto}
.m-works__title{margin:0;font-weight:400;font-size:clamp(34px,4vw,56px);line-height:1.05}
.m-works__title span{display:block;margin-bottom:14px;font-size:12px;letter-spacing:.3em;text-transform:uppercase;color:var(--m-muted)}
.m-works__intro{margin:0;max-width:46ch;font-size:clamp(17px,1.3vw,19px);line-height:1.75;color:var(--m-muted);text-wrap:pretty}
.m-works__intro p{margin:0}

.m-work{max-width:var(--m-wide);width:100%;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr);gap:32px;align-items:center}
.m-work__media{position:relative;display:block;aspect-ratio:2/1;min-width:0;padding:clamp(20px,4vw,56px)}
.m-work .m-work__img{position:absolute;inset:0;width:100%;height:100%;padding:inherit;object-fit:contain;object-position:center;filter:drop-shadow(0 26px 30px rgba(0,20,20,.45))}
@media (min-width:900px){
	.m-work{grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:clamp(40px,4.5vw,72px)}
	.m-work--flip{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
	.m-work--flip .m-work__media{order:2}
}
.m-work__info{display:flex;flex-direction:column;gap:4px;min-width:0}
.m-work__numeral{margin-bottom:8px;font-size:13px;letter-spacing:.3em;text-transform:uppercase;color:var(--m-accent)}
.m-work__species{font-size:12px;letter-spacing:.3em;text-transform:uppercase;color:var(--m-muted)}
.m-work__title{margin:2px 0 4px;font-weight:400;font-size:clamp(32px,3vw,44px);line-height:1.05}
.m-work__line{margin:0 0 6px;font-style:italic;font-size:clamp(17px,1.35vw,20px);line-height:1.5;color:var(--m-muted)}
.m-work__buy{margin-top:18px;display:flex;flex-direction:column;gap:16px}
.m-work__price-row{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 16px}
.m-work__price,.m-piece__price{font-size:24px}
.m-work__stock{font-size:14px;color:var(--m-muted)}
.m-work__stock.is-low{color:var(--m-accent)}
.m-work__actions{display:flex;flex-wrap:wrap;gap:12px}
/* The form only exists for the no-script fallback; display:contents keeps the button a direct flex item. */
.m-work__form{display:contents}
:is(.m-work__price,.m-piece__price) ins{text-decoration:none}
:is(.m-work__price,.m-piece__price) del{opacity:.5;font-size:.8em}

/* A work without photographs yet: its name set in type on the collection ground. */
.m-typo{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;background:var(--m-teal);color:var(--m-cream);text-align:center}
.m-typo .m-typo__mark{width:clamp(64px,7vw,96px);height:auto;opacity:.9}
.m-typo__name{font-size:clamp(28px,3vw,44px);line-height:1.1}
.m-typo__line{font-style:italic;font-size:clamp(16px,1.3vw,19px);color:var(--m-muted)}

/* ---------- The story of a work (the Hamour film: template-parts/story.php + assets/js/story.js) ---------- */
/* Still by default; .m-story--film (set by the script) turns it into the scroll-scrubbed film. */
.m-story{position:relative;background:var(--m-teal);color:var(--m-cream)}
.m-story__stage{position:relative}
.m-story__poster{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.m-story__canvas,.m-story__bar{display:none}
.m-story__head{padding:40px var(--m-pad) 0;font-size:12px;letter-spacing:.3em;text-transform:uppercase;color:var(--m-muted)}
.m-story__caps{display:grid;gap:22px;padding:24px var(--m-pad) 72px}
.m-story__cap{margin:0;max-width:26ch;font-style:italic;font-weight:300;font-size:clamp(26px,3.2vw,48px);line-height:1.15;text-wrap:balance}
.m-story__kicker{display:block;margin-bottom:12px;font-style:normal;font-size:12px;font-weight:400;letter-spacing:.3em;text-transform:uppercase;color:var(--m-gold)}
.m-story__link{display:table;margin-top:22px;font-style:normal}
.m-story--film{height:780vh}
.m-story--film .m-story__stage{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden}
.m-story--film .m-story__poster,.m-story--film .m-story__canvas{position:absolute;inset:0;display:block;width:100%;height:100%;aspect-ratio:auto}
.m-story--film .m-story__canvas{opacity:0;transition:opacity .6s ease}
.m-story--film.is-live .m-story__canvas{opacity:1}
.m-story--film.is-live .m-story__poster{visibility:hidden}
.m-story--film .m-story__head{position:absolute;top:clamp(84px,13vh,128px);inset-inline-start:var(--m-pad);padding:0}
.m-story--film .m-story__caps{position:absolute;inset-inline:var(--m-pad);bottom:clamp(40px,10vh,96px);display:block;padding:0}
.m-story--film .m-story__cap{position:absolute;bottom:0;inset-inline-start:0;opacity:0;visibility:hidden;text-shadow:0 2px 30px rgba(0,20,20,.85);will-change:opacity,transform}
.m-story--film .m-story__bar{display:block;position:absolute;inset-inline:0;bottom:0;height:1px;background:var(--m-gold);opacity:.7;transform:scaleX(0);transform-origin:0 50%}
[dir="rtl"] .m-story--film .m-story__bar{transform-origin:100% 50%}

/* ---------- Formats (a room) ---------- */
.m-situ{position:relative;min-height:88vh;display:flex;align-items:flex-end;overflow:hidden;background:var(--m-navy);color:var(--m-cream)}
.m-situ .m-situ__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 40%}
.m-situ__shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,22,30,.2),rgba(15,22,30,.05) 40%,rgba(15,22,30,.9))}
.m-situ__copy{position:relative;max-width:var(--m-wide);width:100%;margin:0 auto;padding:40vh var(--m-pad) clamp(48px,6vw,80px);display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:clamp(20px,4vw,64px);align-items:end}
.m-situ__copy h2{margin:0;font-weight:400;font-size:clamp(34px,4.4vw,60px);line-height:1.05}
.m-situ__copy p{margin:0;max-width:46ch;font-size:clamp(17px,1.35vw,20px);line-height:1.75;color:rgba(241,227,197,.86);text-wrap:pretty}

/* ---------- True scale ---------- */
.m-scale{padding:clamp(80px,10vw,150px) var(--m-pad);background:var(--m-navy);color:var(--m-cream)}
.m-scale__shell{max-width:var(--m-wide);margin:0 auto}
.m-scale__head{display:flex;align-items:flex-end;justify-content:space-between;gap:34px;margin-bottom:50px}
.m-scale__kicker{margin-bottom:18px;font-size:12px;letter-spacing:.3em;text-transform:uppercase;color:var(--m-gold)}
.m-scale__head h2{margin:0;font-weight:400;font-size:clamp(40px,5vw,68px);line-height:1}
.m-scale__head>p{max-width:42ch;margin:0;font-size:17px;line-height:1.8;color:var(--m-muted)}
.m-scale__layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:34px}
.m-scale__choices{border-top:1px solid var(--m-line)}
.m-scale__choices button{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:16px 0;background:none;border:0;border-bottom:1px solid var(--m-line);color:rgba(241,227,197,.6);text-align:start;cursor:pointer;font-size:22px;line-height:1.2}
.m-scale__choices button b{font-size:14px;font-weight:400;color:var(--m-gold)}
.m-scale__choices button:hover,.m-scale__choices button.active{color:var(--m-cream)}
.m-scale__choices button.active::before{content:'—';color:var(--m-gold)}
.m-scale__stage{position:relative;min-height:min(74vh,720px);overflow:hidden;border:1px solid var(--m-line);background-color:rgba(241,227,197,.025);background-image:linear-gradient(rgba(241,227,197,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(241,227,197,.06) 1px,transparent 1px);background-size:50px 50px}
.m-scale__grid-note{position:absolute;top:16px;inset-inline-end:18px;font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:rgba(241,227,197,.46)}
.m-scale__person{position:absolute;inset-inline-start:8%;bottom:36px;display:flex;align-items:flex-end;gap:10px;color:rgba(241,227,197,.34);transition:height .45s cubic-bezier(.2,.7,.2,1)}
.m-scale__person svg{height:100%;width:auto;fill:currentColor}
.m-scale__person span{white-space:nowrap;font-size:13px;color:rgba(241,227,197,.55)}
.m-scale__fish{position:absolute;inset-inline-end:6%;top:42%;transform:translateY(-50%);transition:width .5s cubic-bezier(.2,.7,.2,1)}
.m-scale__fish img{width:100%;height:auto;filter:drop-shadow(0 24px 30px rgba(0,0,0,.42))}
.m-scale__measure{position:absolute;left:0;right:0;bottom:-30px;border-top:1px solid var(--m-gold)}
.m-scale__measure::before,.m-scale__measure::after{content:'';position:absolute;top:-6px;height:12px;border-left:1px solid var(--m-gold)}
.m-scale__measure::before{left:0}
.m-scale__measure::after{right:0}
.m-scale__measure span{position:absolute;top:5px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:20px;color:var(--m-gold)}
.m-scale__caption{position:absolute;inset-inline-end:18px;bottom:16px;display:flex;flex-direction:column;text-align:end}
.m-scale__caption strong{font-size:28px;font-weight:400}
.m-scale__caption span{font-size:10px;letter-spacing:.2em;color:rgba(241,227,197,.46)}
@media (max-width:900px){
	.m-scale__layout{grid-template-columns:1fr}
	.m-scale__choices{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));column-gap:12px}
	.m-scale__choices button{flex-direction:column;align-items:flex-start;padding:12px 4px;font-size:18px}
}
@media (max-width:650px){
	.m-scale__head{flex-direction:column;align-items:flex-start}
	.m-scale__choices{grid-template-columns:repeat(2,1fr)}
	.m-scale__stage{min-height:520px}
	.m-scale__person{inset-inline-start:4%}
	.m-scale__fish{inset-inline-end:4%;top:36%}
}

/* ---------- Buying ---------- */
.m-buying{padding:clamp(64px,7vw,104px) var(--m-pad);border-bottom:1px solid var(--m-line)}
.m-buying__grid{max-width:var(--m-wide);margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:clamp(28px,3.5vw,56px)}
.m-buying__item{display:flex;flex-direction:column;gap:10px}
.m-buying__label{font-size:12px;letter-spacing:.3em;text-transform:uppercase;color:var(--m-accent)}
.m-buying__item p{margin:0;font-size:16.5px;line-height:1.75;color:var(--m-muted);text-wrap:pretty}

/* ---------- About ---------- */
.m-about{padding:clamp(80px,10vw,150px) var(--m-pad)}
.m-about__grid{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(32px,5vw,80px);align-items:start}
@media (min-width:820px){.m-about__grid{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}}
.m-about__aside{display:flex;flex-direction:column;gap:22px}
.m-about .m-about__mark{align-self:flex-start;width:clamp(96px,10vw,140px);height:auto}
.m-about__label{font-size:12px;letter-spacing:.34em;text-transform:uppercase;color:var(--m-accent)}
.m-about__body{display:flex;flex-direction:column;gap:22px}
.m-about__body h2{margin:0;font-weight:400;font-size:clamp(30px,3.4vw,46px);line-height:1.15;text-wrap:balance}
.m-about__body p{margin:0;max-width:60ch;font-size:clamp(17px,1.25vw,19px);line-height:1.8;color:var(--m-muted);text-wrap:pretty}

/* ---------- The promise (a statement: centred, italic) ---------- */
.m-promise{padding:clamp(88px,11vw,170px) var(--m-pad);background:var(--m-teal);color:var(--m-cream);text-align:center}
.m-promise__inner{max-width:760px;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:clamp(26px,3vw,38px)}
.m-promise__label{font-size:12px;letter-spacing:.36em;text-transform:uppercase;color:var(--m-muted)}
.m-promise__lead{margin:0;font-style:italic;font-weight:300;font-size:clamp(28px,3.2vw,44px);line-height:1.3;text-wrap:balance}
.m-promise__rule{width:44px;height:1px;background:var(--m-gold)}
.m-promise__note{margin:0;max-width:52ch;font-size:17px;line-height:1.85;color:var(--m-muted)}

/* ---------- Photographs (studio and work details) ---------- */
.m-photos{padding:clamp(72px,9vw,140px) var(--m-pad)}
.m-photos__inner{max-width:var(--m-wide);margin:0 auto}
.m-photos__label{margin-bottom:clamp(32px,4vw,56px);font-size:12px;letter-spacing:.36em;text-transform:uppercase;color:var(--m-accent)}
.m-figures{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:clamp(20px,3vw,40px)}
.m-figures--wide{max-width:var(--m-wide);margin:0 auto}
.m-figure{margin:0;display:flex;flex-direction:column;gap:14px}
.m-figure__frame{position:relative;aspect-ratio:4/5;background:var(--m-teal)}
.m-figure__frame .m-figure__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 45%}
.m-figure__caption{font-size:15px;line-height:1.6;color:var(--m-muted)}

/* ---------- The houses: Arabic (sand) and Royalty (navy and gold) ---------- */
.m-house{padding:clamp(88px,10vw,150px) var(--m-pad);background:var(--m-ground);color:var(--m-ink);text-align:center}
.m-house__inner{max-width:720px;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:20px}
.m-house .m-house__icon{width:auto;height:clamp(84px,9vw,120px);margin-bottom:8px}
.m-house__kicker{font-size:12px;letter-spacing:.3em;text-transform:uppercase;color:var(--m-accent)}
.m-house__title{margin:0;font-weight:400;font-size:clamp(34px,4vw,54px);line-height:1.05}
.m-house__text{margin:0;max-width:52ch;font-size:clamp(17px,1.3vw,19px);line-height:1.8;color:var(--m-muted);text-wrap:balance}
.m-house__status{margin-top:6px;font-size:12px;letter-spacing:.3em;text-transform:uppercase;color:var(--m-muted)}
.m-house .m-line-link{align-self:center;margin-top:6px}
/* Royalty: navy ground, gold ink, a whisper of cream; no teal, sand or terracotta. */
.m-house--royalty{color:var(--m-gold)}
.m-house--royalty :is(.m-house__kicker,.m-house__text){color:rgba(185,154,91,.82)}
.m-house--royalty .m-line-link{color:var(--m-gold);border-color:rgba(185,154,91,.5)}
.m-house--royalty .m-line-link:hover{border-color:var(--m-gold)}

/* ---------- Two-column sections: commissions, contact, enquire, tabs ---------- */
.m-split{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(28px,4vw,64px);align-items:start}
@media (min-width:820px){.m-split{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}}
.m-split__title{margin:0;font-weight:400;font-size:clamp(30px,3.2vw,44px);line-height:1.1}

.m-commissions{padding:clamp(80px,10vw,150px) var(--m-pad)}
.m-commissions__body{display:flex;flex-direction:column;gap:22px;font-size:clamp(17px,1.25vw,19px);line-height:1.8;color:var(--m-muted)}
.m-commissions__body p{margin:0;text-wrap:pretty}
.m-commissions__figure{margin:8px 0 0}
.m-commissions__figure img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:center 45%}
.m-commissions__figure figcaption{margin-top:12px;font-size:15px;color:var(--m-muted)}

.m-contact{padding:clamp(80px,10vw,150px) var(--m-pad);background:var(--m-teal);color:var(--m-cream)}
.m-contact__aside{display:flex;flex-direction:column;gap:26px}
.m-contact__lines{display:flex;flex-direction:column;gap:4px;font-size:17px;line-height:1.8;color:var(--m-muted)}
.m-contact__lines a{align-self:flex-start;color:var(--m-ink);border-bottom:1px solid transparent}
.m-contact__lines a:hover{border-color:var(--m-accent)}
.m-contact__note{font-size:15px}

/* ---------- Enquiry forms ---------- */
.m-form{display:flex;flex-direction:column;gap:26px}
.m-form__row{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:26px}
/* appearance/radius resets keep iOS from adding its own rounded, shaded fields. */
.m-form__field{min-width:0;padding:10px 0;border:0;border-bottom:1px solid var(--m-line-strong);border-radius:0;background:transparent;-webkit-appearance:none;appearance:none;outline:none;font-size:17px;color:var(--m-ink)}
.m-form__field::placeholder{color:var(--m-muted);opacity:.8}
.m-form__field:focus{border-color:var(--m-ink)}
.m-form__field--area{resize:vertical}
.m-form__send{align-self:flex-start;padding:0 0 4px;background:none;border:0;border-bottom:1px solid var(--m-line-strong);cursor:pointer;font-size:12px;letter-spacing:.26em;text-transform:uppercase;color:var(--m-ink)}
.m-form__send:hover{border-color:var(--m-accent)}
.m-form__send:disabled{opacity:.5;cursor:progress}
.m-form__thanks{margin:0;font-style:italic;font-weight:300;font-size:clamp(24px,2.4vw,32px);line-height:1.35;outline:none}
.m-form__error{margin:0;font-size:15px;line-height:1.6;color:var(--m-accent)}
.m-form__trap{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* ---------- Footer ---------- */
.m-footer{padding:clamp(56px,7vw,100px) var(--m-pad) 32px;background:var(--m-navy);color:var(--m-cream)}
.m-footer__inner{max-width:var(--m-wide);margin:0 auto}
.m-footer__top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:40px 64px;padding-bottom:clamp(32px,4vw,56px);border-bottom:1px solid var(--m-line)}
.m-footer__lockups{display:flex;flex-wrap:wrap;align-items:center;gap:48px}
.m-footer__lockups img{width:140px;height:auto}
.m-footer__side{display:flex;flex-direction:column;gap:22px;align-items:flex-start}
.m-footer__tagline{margin:0;font-style:italic;font-weight:300;font-size:clamp(24px,2.4vw,32px);line-height:1.2}
.m-footer__links{display:flex;flex-wrap:wrap;gap:14px 30px;font-size:12px;letter-spacing:.24em;text-transform:uppercase;color:var(--m-muted)}
.m-footer__links a:hover{color:var(--m-gold)}
.m-footer__bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 32px;padding-top:24px;font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:rgba(241,227,197,.5)}

/* ---------- Menu overlay ---------- */
.m-menu{position:fixed;inset:0;z-index:90;display:flex;flex-direction:column;background:var(--m-navy);color:var(--m-cream)}
.m-menu__top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px clamp(16px,5vw,72px)}
.m-menu .m-menu__mark{height:34px;width:auto}
.m-menu__close{padding:10px 20px;background:none;border:1px solid rgba(241,227,197,.3);color:var(--m-cream);cursor:pointer;font-size:12px;letter-spacing:.24em;text-transform:uppercase}
.m-menu__close:hover{border-color:var(--m-gold);color:var(--m-gold)}
.m-menu__nav{flex:1;display:flex;flex-direction:column;justify-content:center;gap:clamp(8px,1.6vh,18px);padding:0 var(--m-pad)}
.m-menu__nav a{align-self:flex-start;font-weight:400;font-size:clamp(34px,5.5vw,64px);line-height:1.1}
.m-menu__nav a:hover{color:var(--m-gold)}
.m-menu__foot{display:flex;flex-wrap:wrap;gap:12px 40px;padding:clamp(20px,4vh,40px) var(--m-pad);border-top:1px solid var(--m-line);font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--m-muted)}
.m-menu__foot a:hover{color:var(--m-gold)}

/* ---------- Cart drawer ---------- */
.m-cart{position:fixed;inset:0;z-index:80;display:flex;justify-content:flex-end}
.m-cart__backdrop{position:absolute;inset:0;padding:0;border:0;background:rgba(15,22,30,.72);cursor:pointer}
.m-cart__panel{position:relative;width:min(460px,100%);height:100%;display:flex;flex-direction:column;background:var(--m-navy);color:var(--m-cream);border-inline-start:1px solid var(--m-line)}
.m-cart__head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px clamp(20px,4vw,32px);border-bottom:1px solid var(--m-line)}
.m-cart__title{font-size:12px;letter-spacing:.3em;text-transform:uppercase;color:var(--m-gold)}
.m-cart__close{background:none;border:0;cursor:pointer;font-size:12px;letter-spacing:.24em;text-transform:uppercase;color:var(--m-muted)}
.m-cart__close:hover{color:var(--m-gold)}
.m-cart__body{flex:1;overflow-y:auto;padding:clamp(20px,4vw,32px);display:flex;flex-direction:column;gap:26px}
.m-cart__empty{margin:0;font-style:italic;font-weight:300;font-size:26px;line-height:1.35;color:var(--m-muted)}
.m-line{display:grid;grid-template-columns:88px 1fr;gap:18px;align-items:start}
.m-line .m-line__img{width:88px;height:66px;object-fit:contain;background:rgba(241,227,197,.05)}
.m-line__info{display:flex;flex-direction:column;gap:8px;min-width:0}
.m-line__name{font-size:21px;line-height:1.15}
.m-line__meta{font-size:14px;color:var(--m-muted)}
.m-line__row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.m-line__step{display:flex;align-items:center;gap:14px;padding:5px 12px;border:1px solid var(--m-line-strong)}
.m-line__btn{padding:0;background:none;border:0;color:var(--m-gold);cursor:pointer;font-size:16px;line-height:1}
.m-line__btn:disabled{opacity:.35;cursor:default}
.m-line__qty{min-width:12px;font-size:15px;text-align:center}
.m-line__total{font-size:19px}
.m-line__note{font-size:13px;color:var(--m-muted)}
.m-line__note.is-max{color:var(--m-gold)}
.m-cart__foot{display:flex;flex-direction:column;gap:18px;padding:clamp(20px,4vw,32px);border-top:1px solid var(--m-line)}
.m-cart__subtotal{display:flex;align-items:baseline;justify-content:space-between;gap:16px}
.m-cart__subtotal span:first-child{font-size:12px;letter-spacing:.24em;text-transform:uppercase;color:var(--m-muted)}
.m-cart__total{font-size:26px}
.m-cart__note{margin:0;font-size:14px;line-height:1.7;color:var(--m-muted)}
/* Gold is never a background fill: the checkout is cream on navy. */
.m-cart__checkout{display:block;padding:16px 28px;border:1px solid var(--m-cream);background:var(--m-cream);color:var(--m-navy);cursor:pointer;text-align:center;font-size:12px;letter-spacing:.26em;text-transform:uppercase}
.m-cart__checkout:hover{background:transparent;color:var(--m-cream)}
.m-cart__checkout[aria-disabled="true"]{opacity:.5;cursor:default}
.m-cart__checkout[aria-disabled="true"]:hover{background:var(--m-cream);color:var(--m-navy)}

/* ---------- Presentation mode ---------- */
.m-present{position:fixed;inset:0;z-index:9999;display:grid;grid-template-rows:auto 1fr auto;background:var(--m-navy);color:var(--m-cream)}
.m-present__top,.m-present__bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 26px;border-bottom:1px solid var(--m-line)}
.m-present__top>div{display:flex;flex-direction:column}
.m-present__top b{font-size:20px;font-weight:400;letter-spacing:.24em}
.m-present__top small{font-size:13px;color:var(--m-muted)}
.m-present button{padding:9px 13px;background:none;border:1px solid rgba(241,227,197,.25);color:var(--m-cream);cursor:pointer}
.m-present button:hover{border-color:var(--m-gold);color:var(--m-gold)}
.m-present__stage{min-height:0;padding:clamp(20px,4vw,52px);display:grid;place-items:center}
.m-present__card{width:min(1500px,100%);height:100%;min-height:0;display:grid;grid-template-columns:1.35fr .8fr;overflow:hidden;background:var(--m-teal);border:1px solid rgba(241,227,197,.14)}
.m-present__card--text{grid-template-columns:1fr}
/* The image fills its half of the card and is contained in it, whatever its proportions (the square cover, long fish). */
.m-present__media{position:relative;min-height:0;background:var(--m-teal)}
.m-present__media img{position:absolute;inset:0;width:100%;height:100%;padding:clamp(16px,3vw,48px);object-fit:contain}
.m-present__copy{display:flex;flex-direction:column;justify-content:flex-end;padding:clamp(30px,5vw,74px)}
.m-present__copy small{font-size:13px;letter-spacing:.25em;text-transform:uppercase;color:var(--m-gold)}
.m-present__copy h2{margin:18px 0;font-weight:400;font-size:clamp(44px,6vw,92px);line-height:.95}
.m-present__copy h2.is-long{font-size:clamp(32px,3.6vw,58px);line-height:1.1}
.m-present__copy p{margin:0;max-width:52ch;font-size:clamp(17px,1.5vw,22px);line-height:1.65;color:var(--m-muted)}
.m-present__bottom{border-top:1px solid var(--m-line);border-bottom:0}
.m-present__bottom b{font-weight:400}
.m-present__progress{flex:1;max-width:500px;height:1px;background:rgba(241,227,197,.16)}
.m-present__progress i{display:block;width:0;height:100%;background:var(--m-gold);transition:width .3s}
.m-present__nav{display:flex;gap:8px}
@media (max-width:900px){.m-present__card{grid-template-columns:1fr}.m-present__media{height:46vh}}
@media (max-width:650px){.m-present__stage{padding:12px}.m-present__media{height:42vh}.m-present__copy h2{font-size:40px}.m-present__progress{display:none}}

/* ---------- Work page (cream ground; the work itself on Deep Teal) ---------- */
.m-piece__crumbs{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 32px;padding:22px var(--m-pad);font-size:12px;letter-spacing:.24em;text-transform:uppercase;color:var(--m-muted)}
.m-piece__crumbs a:hover{color:var(--m-ink)}
.m-piece__main{padding:clamp(16px,3vw,48px) var(--m-pad) clamp(80px,10vw,150px)}
.m-piece__inner{max-width:var(--m-wide);margin:0 auto;display:flex;flex-direction:column;gap:clamp(40px,5vw,72px)}
.m-piece__frame{position:relative;width:100%;max-height:82vh;aspect-ratio:3/2;margin:0 auto;padding:clamp(24px,5vw,72px);background:var(--m-teal)}
.m-piece__frame .m-piece__img{position:absolute;inset:0;width:100%;height:100%;padding:inherit;object-fit:contain;object-position:center;filter:drop-shadow(0 28px 34px rgba(0,20,20,.45))}
.m-piece__grid{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(36px,5vw,80px);align-items:start}
@media (min-width:900px){.m-piece__grid{grid-template-columns:minmax(0,5fr) minmax(0,6fr)}}
.m-piece__info{display:flex;flex-direction:column;gap:4px;min-width:0}
.m-piece__species{font-size:12px;letter-spacing:.3em;text-transform:uppercase;color:var(--m-muted)}
.m-piece__title{margin:2px 0 4px;font-weight:400;font-size:clamp(36px,4vw,56px);line-height:1.02}
.m-piece__line{margin:0 0 6px;font-style:italic;font-size:clamp(18px,1.5vw,22px);line-height:1.5;color:var(--m-muted)}
.m-piece__form{display:flex;flex-direction:column;gap:18px;margin-top:22px}
.m-options{margin:0;padding:0;border:0;min-width:0}
.m-options legend{float:left;width:100%;margin-bottom:10px;padding:0;font-size:12px;letter-spacing:.24em;text-transform:uppercase;color:var(--m-muted)}
.m-option{position:relative;display:inline-flex;margin:0 10px 10px 0;margin-inline:0 10px}
.m-option input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.m-option span{display:inline-block;padding:9px 18px;border:1px solid var(--m-line-strong);font-size:17px;line-height:1.3;transition:background .2s,color .2s,border-color .2s}
.m-option:hover span{border-color:var(--m-ink)}
.m-option input:checked+span{background:var(--m-ink);border-color:var(--m-ink);color:var(--m-ground)}
.m-option input:focus-visible+span{outline:2px solid var(--m-accent);outline-offset:2px}
.m-piece__price-row{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:12px 24px;padding-top:18px;border-top:1px solid var(--m-line)}
.m-piece__price{font-size:26px}
.m-piece__status{font-size:12px;letter-spacing:.24em;text-transform:uppercase;color:var(--m-accent)}
.m-piece__actions{display:flex;flex-wrap:wrap;gap:12px}
.m-piece__note{margin-top:14px;font-size:15px;color:var(--m-muted)}
.m-piece__desc{display:flex;flex-direction:column;gap:22px;max-width:62ch;font-size:clamp(17px,1.25vw,19px);line-height:1.85;color:var(--m-muted)}
.m-piece__desc p{margin:0;text-wrap:pretty}
.m-piece__details{padding:clamp(72px,9vw,140px) var(--m-pad);background:var(--m-teal);color:var(--m-cream)}
.m-piece__details .m-figure__frame{background:rgba(0,0,0,0)}
.m-piece__about{padding:clamp(72px,9vw,140px) var(--m-pad)}
.m-tabs{display:flex;flex-direction:column;gap:14px}
.m-tabs__tab{display:flex;align-items:center;gap:12px;padding:0;background:none;border:0;cursor:pointer;text-align:start;font-size:12px;letter-spacing:.24em;text-transform:uppercase;color:var(--m-muted)}
.m-tabs__tab[aria-selected="true"]{color:var(--m-ink)}
.m-tabs__mark{width:20px;height:1px;background:var(--m-line-strong)}
.m-tabs__tab[aria-selected="true"] .m-tabs__mark{background:var(--m-accent)}
.m-tabs__panels{max-width:60ch;font-size:clamp(17px,1.25vw,19px);line-height:1.85;color:var(--m-muted)}
.m-tabs__panel p{margin:0;text-wrap:pretty}
.m-tabs__panel p+p{margin-top:1em}

.m-others{padding:clamp(72px,9vw,140px) var(--m-pad);background:var(--m-teal);color:var(--m-cream)}
.m-others__inner{max-width:var(--m-wide);margin:0 auto}
.m-others__head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:16px 32px;margin-bottom:clamp(32px,4vw,56px)}
.m-others__label{font-size:12px;letter-spacing:.36em;text-transform:uppercase;color:var(--m-muted)}
.m-others__all{padding-bottom:3px;border-bottom:1px solid var(--m-line-strong);font-size:12px;letter-spacing:.24em;text-transform:uppercase}
.m-others__all:hover{border-color:var(--m-accent)}
.m-others__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:clamp(28px,4vw,64px)}
.m-others__card{display:flex;flex-direction:column;gap:16px}
.m-others__media{position:relative;display:block;aspect-ratio:4/3;padding:clamp(16px,3vw,40px)}
.m-others__media .m-others__img{position:absolute;inset:0;width:100%;height:100%;padding:inherit;object-fit:contain;object-position:center;filter:drop-shadow(0 20px 24px rgba(0,20,20,.45))}
.m-others__text{font-size:16px;line-height:1.7;color:var(--m-muted)}
.m-others__species{font-size:12px;letter-spacing:.3em;text-transform:uppercase}
.m-others__name{margin-bottom:2px;font-size:24px;color:var(--m-ink)}

.m-enquire{padding:clamp(80px,10vw,150px) var(--m-pad)}
.m-enquire__aside{display:flex;flex-direction:column;gap:22px}
.m-enquire__lead{margin:0;font-size:17px;line-height:1.8;color:var(--m-muted);text-wrap:pretty}
.m-enquire__line{align-self:flex-start;font-size:17px;border-bottom:1px solid transparent}
.m-enquire__line:hover{border-color:var(--m-accent)}

/* ---------- Royalty (by invitation): Midnight Navy and Gold only ---------- */
.m-royalty{--m-ink:var(--m-gold);--m-muted:rgba(185,154,91,.8);background:var(--m-navy);color:var(--m-gold)}
.m-royalty__hero{padding:clamp(96px,12vw,180px) var(--m-pad) clamp(64px,8vw,110px);display:flex;flex-direction:column;align-items:center;gap:22px;text-align:center}
.m-royalty .m-royalty__crown{width:clamp(120px,12vw,170px);height:auto;margin-bottom:6px}
.m-royalty__kicker{font-size:12px;letter-spacing:.34em;text-transform:uppercase;color:rgba(185,154,91,.82)}
.m-royalty__title{margin:0;font-weight:400;font-size:clamp(42px,6vw,84px);line-height:1;color:var(--m-gold)}
.m-royalty__lead{margin:0;max-width:34ch;font-style:italic;font-weight:300;font-size:clamp(22px,2.4vw,32px);line-height:1.4;color:rgba(241,227,197,.86);text-wrap:balance}
.m-royalty__badges{margin:14px 0 0;padding:0;list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:10px 14px}
.m-royalty__badges li{padding:8px 14px;border:1px solid rgba(185,154,91,.45);font-size:11px;letter-spacing:.26em;text-transform:uppercase;color:var(--m-gold)}
.m-royalty__body{max-width:760px;margin:0 auto;padding:0 var(--m-pad) clamp(72px,9vw,130px);display:flex;flex-direction:column;gap:22px;font-size:clamp(17px,1.3vw,20px);line-height:1.85;color:rgba(185,154,91,.92)}
.m-royalty__body p{margin:0;text-wrap:pretty}
.m-royalty__note{padding-top:22px;border-top:1px solid var(--m-line);font-style:italic;color:rgba(241,227,197,.82)}
.m-royalty__enquire{padding:clamp(72px,9vw,130px) var(--m-pad);border-top:1px solid var(--m-line)}
.m-royalty .m-form__field{border-color:rgba(185,154,91,.45)}
.m-royalty .m-form__field:focus{border-color:var(--m-gold)}

/* ---------- Plain pages, shop and fallbacks ---------- */
.m-plain{padding:clamp(40px,6vw,96px) var(--m-pad) clamp(80px,10vw,150px)}
.m-plain__inner{max-width:var(--m-wide);margin:0 auto}
.m-plain__title{margin:0 0 clamp(32px,4vw,56px);font-weight:400;font-size:clamp(36px,4vw,56px);line-height:1.05}
.m-plain__content{font-size:18px;line-height:1.85;color:var(--m-muted)}
.m-plain__content>:is(p,ul,ol,h2,h3,h4,blockquote){max-width:62ch}
.m-plain__content :is(h2,h3,h4){font-weight:400;line-height:1.2;color:var(--m-ink)}
.m-plain__content p a,.m-plain__content li a{border-bottom:1px solid var(--m-line-strong)}
.m-post{padding:24px 0;border-top:1px solid var(--m-line)}
.m-post__title{margin:0 0 8px;font-weight:400;font-size:clamp(24px,2.2vw,30px);line-height:1.15}
.m-pagination .nav-links{max-width:var(--m-wide);margin:0 auto;display:flex;flex-wrap:wrap;gap:18px;font-size:12px;letter-spacing:.24em;text-transform:uppercase}
.m-pagination .current{color:var(--m-accent)}

/* ---------- WooCommerce: notices, account pages and the Cart / Checkout blocks ---------- */
.woocommerce-notices-wrapper:empty{display:none}
.m-piece>.woocommerce-notices-wrapper{padding:22px var(--m-pad) 0}
.m-piece>.woocommerce-notices-wrapper>*{max-width:var(--m-wide);margin:0 auto}
/* The theme's own pages load no WooCommerce stylesheet, so their notices get their layout here. */
:is(.m-piece,.m-shop) :is(.woocommerce-message,.woocommerce-info,.woocommerce-error){display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;margin-block-end:24px;padding:18px 22px;list-style:none;border-top:2px solid}
:is(.m-piece,.m-shop) :is(.woocommerce-message,.woocommerce-info) .button{order:2}
:is(.woocommerce-message,.woocommerce-info,.woocommerce-error){border-top-color:var(--m-teal)!important;background:var(--m-sand)!important;color:var(--m-teal)!important;font-size:16px}
:is(.woocommerce-message,.woocommerce-info)::before{color:var(--m-teal)!important}
.woocommerce-error::before{color:var(--m-terra)!important}
.woocommerce :is(a.button,button.button,input.button,#respond input#submit),.woocommerce-page :is(a.button,button.button,input.button){padding:15px 30px;background:var(--m-teal);color:var(--m-cream);border:0;border-radius:0;font-family:var(--m-serif);font-size:12px;font-weight:400;line-height:1.4;letter-spacing:.24em;text-transform:uppercase}
.woocommerce :is(a.button,button.button,input.button):hover,.woocommerce-page :is(a.button,button.button,input.button):hover{background:var(--m-navy);color:var(--m-cream)}
.woocommerce form .form-row :is(input.input-text,textarea,select),.woocommerce-page form .form-row :is(input.input-text,textarea,select){padding:10px 12px;border:1px solid rgba(0,51,51,.3);border-radius:0;background:rgba(255,255,255,.35)}
.woocommerce-MyAccount-navigation ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px;font-size:12px;letter-spacing:.24em;text-transform:uppercase}
.woocommerce-MyAccount-navigation-link.is-active a{color:var(--m-terra)}
.woocommerce table.shop_table{border-radius:0;border-color:var(--m-line)}

.wc-block-components-text-input input,.wc-block-components-combobox .wc-block-components-combobox-control input,.wc-blocks-components-select .wc-blocks-components-select__select,.wc-block-components-textarea{border-radius:0!important;border-color:rgba(0,51,51,.3)!important}
.wc-block-components-text-input.is-active input:focus,.wc-block-components-text-input input:focus{box-shadow:0 0 0 1px var(--m-teal)!important;border-color:var(--m-teal)!important}
.wc-block-components-button:not(.is-link){border-radius:0;font-family:var(--m-serif);letter-spacing:.2em;text-transform:uppercase}
.wc-block-components-product-name{font-size:21px!important;font-weight:400;color:var(--m-teal)}
.wc-block-components-radio-control__option,.wc-block-components-panel,.wc-block-components-totals-wrapper,.wc-block-components-radio-control--highlight-checked{border-color:var(--m-line)!important;border-radius:0!important}
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]{border-radius:0}
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked{background:var(--m-teal);border-color:var(--m-teal)}
.wc-block-components-checkbox .wc-block-components-checkbox__mark{fill:var(--m-cream)}

/* ---------- Arabic ---------- */
/* Mirroring comes from dir="rtl" and the logical properties above. Arabic is never letterspaced, has
   no italic, and is never set smaller than the Latin beside it: tracked capitals become plain labels. */
:lang(ar){letter-spacing:0!important}
:lang(ar),:lang(ar) *{font-style:normal!important}
:is(.m-gh__btn,.m-ih__nav,.m-ih__cart,.m-ih__lang,.m-hero__line,.m-dive__kicker,.m-dive__eyebrow,.m-dive__cue,.m-work__numeral,.m-work__species,.m-works__title span,.m-specs dt,.m-button,.m-line-link,.m-story__head,.m-story__kicker,.m-scale__kicker,.m-scale__grid-note,.m-scale__caption span,.m-buying__label,.m-about__label,.m-promise__label,.m-photos__label,.m-house__kicker,.m-house__status,.m-form__send,.m-footer__links,.m-footer__bottom,.m-menu__close,.m-menu__foot,.m-cart__title,.m-cart__close,.m-cart__subtotal span,.m-cart__checkout,.m-piece__crumbs,.m-piece__species,.m-piece__status,.m-options legend,.m-tabs__tab,.m-others__label,.m-others__all,.m-others__species,.m-royalty__kicker,.m-royalty__badges li,.m-present__copy small,.m-skip):lang(ar){font-size:14px}
:is(h1,h2,h3,.m-hero__tagline,.m-dive__end p,.m-dive__intro p,.m-promise__lead,.m-royalty__lead,.m-menu__nav a,.m-form__thanks,.m-cart__empty,.m-story__cap,.m-others__name,.m-line__name,.m-typo__name):lang(ar){line-height:1.5}
:is(.m-hero__tagline,.m-dive__end p,.m-dive__intro p,.m-promise__lead,.m-royalty__lead,.m-story__cap,.m-form__thanks,.m-cart__empty,.m-footer__tagline):lang(ar){font-weight:300}
[dir="rtl"] :is(.m-arrow,.m-present__nav button){transform:scaleX(-1)}
.m-footer__lockups:lang(ar) img:first-child{order:2}

/* ---------- Cover motion: the mark draws in, a gold light passes over it, the lines follow ---------- */
.m-hero__logo{position:relative;display:block;line-height:0}
.m-hero__logo img{display:block}
@media (prefers-reduced-motion:no-preference){
	.m-hero__logo{animation:m-logo-in 1.8s cubic-bezier(.2,.7,.2,1) .15s both,m-logo-float 7s ease-in-out 2.2s infinite}
	.m-hero__logo img{-webkit-mask-image:linear-gradient(100deg,#000 40%,transparent 60%);mask-image:linear-gradient(100deg,#000 40%,transparent 60%);-webkit-mask-size:260% 100%;mask-size:260% 100%;-webkit-mask-position:100% 0;mask-position:100% 0;animation:m-logo-draw 1.9s cubic-bezier(.45,0,.2,1) .2s both}
	.m-hero__logo::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 38%,rgba(255,238,184,.95) 50%,transparent 62%) no-repeat;background-size:300% 100%;background-position:120% 0;-webkit-mask:var(--m-logo) center/contain no-repeat;mask:var(--m-logo) center/contain no-repeat;mix-blend-mode:screen;animation:m-logo-sheen 7s ease-in-out 1.9s infinite}
	.m-hero__rule{transform-origin:50% 50%;animation:m-rule-in 1s cubic-bezier(.2,.7,.2,1) 1.4s both}
	.m-hero__tagline{animation:m-rise .9s cubic-bezier(.2,.7,.2,1) 1.6s both}
	.m-hero__line{animation:m-rise .9s cubic-bezier(.2,.7,.2,1) 1.85s both}
}
@keyframes m-logo-in{from{opacity:0;transform:translateY(14px) scale(.965);filter:blur(6px)}to{opacity:1;transform:none;filter:none}}
@keyframes m-logo-draw{from{-webkit-mask-position:100% 0;mask-position:100% 0}to{-webkit-mask-position:0 0;mask-position:0 0}}
@keyframes m-logo-float{0%,100%{translate:0 0}50%{translate:0 -5px}}
@keyframes m-logo-sheen{0%{background-position:120% 0}28%,100%{background-position:-20% 0}}
@keyframes m-rule-in{from{transform:scaleX(0);opacity:0}to{transform:none;opacity:1}}
@keyframes m-rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
