/* lujasabri.com - editorial one pager ("Portada").
   Colours and type come from mockup A. Sections are group blocks with ls-* classes. */

:root {
	--ivory: #F7F3EE;
	--stone: #E9E2D8;
	--ink: #1C1A1B;
	--night: #121011;
	--wine: #6B2236; /* main accent: burgundy */
	--champagne: #CDB79E;
	--soft: #6B6266;
	--line: #CFC6BB;
	--serif: "Bodoni Moda", Didot, "Bodoni 72", serif;
	--sans: Jost, Futura, system-ui, sans-serif;
	--max: 1176px;
	--gut: max(22px, calc((100vw - var(--max)) / 2)); /* vw, not %: nested blocks use it too */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}
body {
	margin: 0;
	background: var(--ivory);
	color: var(--ink);
	font-family: var(--sans);
	font-weight: 300;
	font-size: 18px;
	line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
strong, b { font-weight: 500; }
h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; }
[id] { scroll-margin-top: 24px; }

.ls-skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: var(--ivory); padding: 10px 16px; }
.ls-skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }

/* ------------------------------------------------------------ header */
.ls-header { position: relative; z-index: 10; color: var(--ink); border-bottom: 1px solid var(--line); }
.ls-header.is-over { position: absolute; top: 0; left: 0; right: 0; color: var(--ivory); border-bottom: 0; }
.ls-header__inner { display: flex; align-items: center; gap: 28px; height: 64px; padding-inline: var(--gut); font-size: 14px; letter-spacing: .08em; }
.ls-brand { font-family: var(--serif); font-size: 20px; letter-spacing: .02em; text-decoration: none; margin-right: auto; }
.ls-header.is-over .ls-brand { visibility: hidden; } /* the masthead is the brand on the cover */
.ls-nav { display: flex; gap: 28px; }
.ls-nav a, .ls-lang a { text-decoration: none; }
.ls-nav a:hover, .ls-lang a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ls-lang { display: flex; gap: 6px; }
.ls-lang span { font-weight: 500; }
.ls-lang a { opacity: .75; }
.ls-lang > * + *::before { content: "/"; margin-right: 6px; opacity: .6; font-weight: 300; }
.ls-menu { display: none; position: relative; }
.ls-menu summary { list-style: none; cursor: pointer; padding: 6px 0; }
.ls-menu summary::-webkit-details-marker { display: none; }
.ls-menu nav { position: absolute; right: 0; top: 36px; display: grid; gap: 4px; min-width: 210px; padding: 16px 20px; background: var(--ivory); color: var(--ink); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.ls-menu nav a { text-decoration: none; padding: 6px 0; }

/* ------------------------------------------------------------ shared bits */
.ls-kicker { font-size: 13px; letter-spacing: .25em; color: var(--wine); margin-bottom: 18px; font-weight: 400; }
.ls-home h2 { font-size: clamp(40px, 5vw, 68px); line-height: 1.02; letter-spacing: -.01em; }
.ls-home .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.ls-home .wp-block-button__link {
	display: inline-block; padding: 15px 28px; border-radius: 0; border: 1px solid var(--wine);
	background: var(--wine); color: var(--ivory); font-family: var(--sans); font-size: 14px; font-weight: 400;
	letter-spacing: .12em; text-transform: uppercase; text-decoration: none; line-height: 1.3;
}
.ls-home .is-style-outline .wp-block-button__link { background: transparent; color: var(--wine); }
.ls-home .wp-block-button__link:hover { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.ls-home .wp-block-image { margin: 0; }
.ls-home .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------ cover */
.ls-cover { position: relative; height: 100vh; min-height: 720px; max-height: 1000px; background: #0D0C0C; color: var(--ivory); overflow: hidden; }
.ls-cover .ls-cover__img { position: absolute; inset: 0; }
.ls-cover .ls-cover__img img { object-position: 50% 34%; opacity: .96; }
.ls-cover::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .08) 32%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .6) 100%); }
.ls-cover > :not(.ls-cover__img) { position: relative; z-index: 2; }
.ls-masthead { position: absolute !important; top: 58px; left: 0; right: 0; text-align: center; font-size: clamp(60px, 17vw, 250px); line-height: .85; letter-spacing: -.02em; font-weight: 500; }
.ls-issue { position: absolute !important; top: calc(58px + clamp(60px, 17vw, 250px) * .86); left: 0; right: 0; text-align: center; font-size: 13px; letter-spacing: .3em; font-weight: 400; text-shadow: 0 1px 10px rgba(0, 0, 0, .55); }
.ls-coverlines { position: absolute !important; left: 0; right: 0; bottom: 56px; padding-inline: var(--gut); display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; }
.ls-cl-big { font-family: var(--serif); font-style: italic; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.08; max-width: 15ch; }
.ls-coverlines { text-shadow: 0 1px 14px rgba(0, 0, 0, .45); }
.ls-cl-small { justify-self: end; text-align: right; display: grid; gap: 18px; font-size: 15px; max-width: 30ch; }
.ls-cl-small a { text-decoration: none; display: block; }
.ls-cl-small a:hover strong { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.ls-cl-small strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: 0; line-height: 1.2; }

/* ------------------------------------------------------------ story */
/* Photo on the left, the whole text on the right (the side group is flattened into the grid). */
.ls-story {
	padding: 120px var(--gut) 110px; display: grid; grid-template-columns: 5fr 7fr; column-gap: 72px; align-items: start;
	grid-template-areas: "img kicker" "img title" "img deck" "img text"; grid-template-rows: auto auto auto 1fr;
}
.ls-story__side { display: contents; }
.ls-story .ls-kicker { grid-area: kicker; }
.ls-story h2 { grid-area: title; }
.ls-deck { grid-area: deck; font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.35; margin-top: 22px; color: #4A4346; }
.ls-home .ls-portrait { grid-area: img; aspect-ratio: 4 / 5; overflow: hidden; }
.ls-portrait img { object-position: 50% 15%; }
@media (min-width: 861px) {
	/* Desktop: the photo runs the full height of the text next to it. */
	.ls-home .ls-portrait { position: relative; align-self: stretch; aspect-ratio: auto; min-height: 560px; }
	.ls-home .ls-portrait img { position: absolute; inset: 0; object-position: 50% 20%; }
}
.ls-cols { grid-area: text; columns: 2; column-gap: 40px; font-size: 17px; margin-top: 36px; }
.ls-cols p { margin-bottom: 1em; break-inside: avoid-column; }
.ls-cols p:first-child::first-letter { font-family: var(--serif); float: left; font-size: 78px; line-height: .8; padding: 6px 6px 0 0; color: var(--wine); }

/* ------------------------------------------------------------ quote */
.ls-home .ls-pull { margin: 0 var(--gut); border: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 56px 0; text-align: center; }
.ls-pull p { font-family: var(--serif); font-style: italic; font-size: clamp(30px, 4vw, 52px); line-height: 1.15; max-width: 22ch; margin: 0 auto; }
.ls-pull p::before { content: "«"; }
.ls-pull p::after { content: "»"; }
.ls-pull cite { display: block; margin-top: 18px; font-style: normal; font-size: 14px; letter-spacing: .2em; }

/* ------------------------------------------------------------ pillars */
.ls-pillars { padding: 110px var(--gut) 100px; }
.ls-pillars > h2 { max-width: 18ch; }
.ls-pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--ink); }
.ls-pillar { padding: 32px 36px 8px 0; }
.ls-pillar + .ls-pillar { padding-left: 36px; border-left: 1px solid var(--line); }
.ls-num { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--wine); line-height: 1; }
.ls-pillar h3 { font-size: 34px; line-height: 1.1; margin: 14px 0 12px; }
.ls-pillar p:last-child { font-size: 17px; max-width: 32ch; }
.ls-pillars__note { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 17px; color: #4A4346; max-width: 72ch; }
.ls-pillars__note > * + * { margin-top: .8em; }
.ls-pillars__note strong { color: var(--ink); }

/* ------------------------------------------------------------ favourites (small shop) */
.ls-shop { padding: 100px var(--gut); background: var(--stone); }
.ls-shop__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 44px; }
.ls-shop__text { max-width: 40ch; font-size: 17px; }
.ls-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.ls-product { background: var(--ivory); display: flex; flex-direction: column; }
.ls-home .ls-product__img { aspect-ratio: 1; overflow: hidden; background: #fff; }
.ls-product__img a, .ls-ig a { display: block; height: 100%; }
.ls-home .ls-product__img img { object-fit: contain; padding: 8%; transition: transform .4s ease; }
.ls-product:hover .ls-product__img img { transform: scale(1.04); }
.ls-home .ls-product--photo .ls-product__img img { object-fit: cover; padding: 0; }
.ls-product__brand { padding: 16px 18px 0; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--wine); font-weight: 400; }
.ls-product__name { min-height: 3.5em; padding: 4px 18px 4px; font-family: var(--serif); font-size: 20px; line-height: 1.25; font-weight: 500; }
.ls-product__name a { text-decoration: none; }
.ls-product__name a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ls-product__line { padding: 0 18px 20px; font-size: 14px; color: var(--soft); }
.ls-note { font-size: 13px; color: var(--soft); margin-top: 20px; }

/* ------------------------------------------------------------ team */
.ls-team { color: var(--ink); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 72px; align-items: center; padding: 88px var(--gut); }
.ls-home .ls-team__img { position: relative; aspect-ratio: 4 / 5; max-height: 600px; overflow: hidden; }
.ls-home .ls-team__img img { position: absolute; inset: 0; object-position: 50% 70%; }
.ls-team__txt { display: flex; flex-direction: column; justify-content: center; }
.ls-team__txt > p:not(.ls-kicker):not(.ls-fine) { margin-top: 22px; max-width: 44ch; color: #4A4346; }
.ls-steps { list-style: none; padding: 0; margin: 30px 0 34px; display: grid; gap: 16px; counter-reset: s; }
.ls-steps li { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; counter-increment: s; font-size: 17px; }
.ls-steps li::before { content: counter(s); font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--wine); }
.ls-team + .ls-social { background: linear-gradient(var(--line), var(--line)) no-repeat top center / calc(100% - 2 * var(--gut)) 1px; }
.ls-fine { font-size: 13px; color: var(--soft); margin-top: 18px; max-width: 46ch; }
.ls-note a { color: var(--ink); text-decoration-color: var(--champagne); text-underline-offset: 3px; }
.ls-note a:hover { text-decoration-color: var(--ink); }

/* ------------------------------------------------------------ contact */
.ls-social { padding: 110px var(--gut) 90px; text-align: center; }
.ls-contact__text { max-width: 46ch; margin: 22px auto 0; color: #4A4346; }
.ls-handles { list-style: none; padding: 0; display: flex; justify-content: center; gap: 22px 48px; flex-wrap: wrap; margin-top: 40px; font-family: var(--serif); font-size: 26px; }
.ls-handles a { text-decoration: none; border-bottom: 1px solid var(--champagne); }
.ls-handles a:hover { border-bottom-color: var(--ink); }
.ls-handles strong { display: block; font-family: var(--sans); font-weight: 400; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--wine); }
.ls-ig { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 56px; }
.ls-home .ls-ig .wp-block-image { aspect-ratio: 1; overflow: hidden; }
.ls-ig img { transition: opacity .3s ease; }
.ls-ig a:hover img { opacity: .85; }

/* ------------------------------------------------------------ reading pages (legal) */
.ls-page { max-width: calc(44rem + 44px); margin: 0 auto; padding: 72px 22px 96px; }
.ls-page__title { font-size: clamp(40px, 6vw, 64px); line-height: 1.05; }
.ls-page__lead { font-family: var(--serif); font-style: italic; font-size: 22px; margin-top: 16px; color: #4A4346; }
.ls-prose { margin-top: 40px; }
.ls-prose > * + * { margin-top: 1em; }
.ls-prose h2 { font-size: 28px; margin-top: 1.8em; line-height: 1.2; }
.ls-prose h3 { font-size: 22px; margin-top: 1.5em; }
.ls-prose ul, .ls-prose ol { padding-left: 1.2em; }
.ls-prose li + li { margin-top: .3em; }
.ls-prose a { text-decoration-color: var(--champagne); text-underline-offset: 3px; }
.ls-prose a:hover { text-decoration-color: var(--ink); }
.ls-textbutton { display: inline-block; margin-top: 24px; padding: 14px 26px; background: var(--wine); color: var(--ivory); text-decoration: none; letter-spacing: .12em; font-size: 14px; text-transform: uppercase; }

/* ------------------------------------------------------------ footer */
.ls-footer { border-top: 1px solid var(--line); padding: 40px var(--gut) calc(48px + env(safe-area-inset-bottom)); font-size: 14px; }
.ls-footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.ls-footer__sig { font-family: var(--serif); font-size: 28px; }
.ls-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.ls-footer a { text-decoration: none; }
.ls-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ls-footer__bottom { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 24px; flex-wrap: wrap; margin-top: 22px; }
.ls-footer__fine, .ls-footer__credit { font-size: 13px; color: var(--soft); }
.ls-footer__credit { margin-left: auto; }
.ls-footer__credit a { text-decoration: underline; text-decoration-color: var(--champagne); text-underline-offset: 3px; }
.ls-footer__credit a:hover { color: var(--ink); text-decoration-color: var(--ink); }

/* ------------------------------------------------------------ tablet and phone */
@media (max-width: 1080px) {
	.ls-nav { display: none; }
	.ls-menu { display: block; }
	.ls-products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
	body { font-size: 17px; }
	.ls-header__inner { gap: 20px; }
	.ls-cover { height: 100svh; min-height: 640px; }
	.ls-cover::after { background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, .25) 45%, rgba(0, 0, 0, .82) 100%); }
	.ls-coverlines { text-shadow: 0 1px 12px rgba(0, 0, 0, .6); grid-template-columns: 1fr; gap: 24px; bottom: 40px; }
	.ls-cl-small { justify-self: start; text-align: left; gap: 12px; }
	.ls-cl-small strong { font-size: 20px; }
	.ls-story { grid-template-columns: 1fr; grid-template-areas: "kicker" "title" "deck" "img" "text"; grid-template-rows: none; padding-block: 80px 56px; }
	.ls-home .ls-portrait { margin-top: 32px; }
	.ls-cols { columns: 1; margin-top: 32px; }
	.ls-pillars { padding-block: 80px 72px; }
	.ls-pillars__grid { grid-template-columns: 1fr; }
	.ls-pillar, .ls-pillar + .ls-pillar { padding: 28px 0 24px; border-left: 0; }
	.ls-pillar + .ls-pillar { border-top: 1px solid var(--line); }
	.ls-shop { padding-block: 80px; }
	.ls-shop__head { flex-direction: column; align-items: start; gap: 18px; }
	.ls-products { gap: 12px; }
	.ls-product__brand { padding: 12px 12px 0; font-size: 11px; }
	.ls-product__name { font-size: 17px; padding: 4px 12px 4px; }
	.ls-home .wp-block-buttons { flex-direction: column; }
	.ls-home .wp-block-button, .ls-home .wp-block-button__link { width: 100%; text-align: center; }
	.ls-product__line { padding: 0 12px 14px; font-size: 13px; text-wrap: pretty; }
	.ls-product__name { min-height: 0; }
	.ls-team { grid-template-columns: minmax(0, 1fr); row-gap: 36px; padding: 64px 22px; }
	.ls-home .ls-team__img { aspect-ratio: 1; }
	.ls-home .ls-team__img img { object-position: 50% 40%; }
	.ls-social { padding-block: 80px 64px; }
	.ls-handles { font-size: 22px; gap: 22px 40px; }
	.ls-handles li { flex: 0 0 100%; }
	.ls-ig { grid-template-columns: repeat(3, 1fr); }
	.ls-footer__inner { flex-direction: column; align-items: flex-start; }
	.ls-footer__credit { margin-left: 0; }
}

/* ------------------------------------------------------------ phone titles (option A, 2026-11-22)
   Below the cover, phones use Bodoni Moda's text cut (opsz 11): its thin strokes stay
   visible on a small screen. Desktop keeps the display cut. The cover is not touched. */
@media (max-width: 860px) {
	.ls-home h2, .ls-pillar h3, .ls-deck, .ls-num, .ls-pull p, .ls-product__name,
	.ls-handles, .ls-steps li::before, .ls-page__title, .ls-page__lead { font-variation-settings: "opsz" 11; }
	.ls-home h2 { font-size: 34px; line-height: 1.12; letter-spacing: 0; text-wrap: balance; }
	.ls-pillar h3 { font-size: 28px; line-height: 1.12; }
	.ls-deck { font-weight: 500; font-size: 20px; line-height: 1.45; color: var(--ink); text-wrap: pretty; }
	.ls-pull p { font-size: 28px; text-wrap: balance; }
	.ls-kicker { font-weight: 500; letter-spacing: .18em; }
	.ls-page__title { font-size: 36px; line-height: 1.1; text-wrap: balance; }
	.ls-page__lead { font-size: 20px; color: var(--ink); }
}
