/* Elena · the production stylesheet (Figma "Maison · Ie · Landing · Desktop 1444").
   Two families, two inks: Brygada 1918 for anything that is read as a title, a name or a letter;
   Hanken Grotesk for body copy and interface. Ink #2f3431 for words that lead, grey #636a66 for words that follow.
   No gold, no gradients. The ie is sewn quietly: running-stitch rosettes and bands in sage and pale thread. */
:root {
  --bg: #f8f8f7;
  --paper: #ffffff;
  --tile: #efefec;
  --ink: #2f3431;
  --grey: #636a66;          /* 5.3:1 on --bg */
  --line: #deded9;
  --serif: "Brygada 1918", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;
  --script: "Ephesis", cursive;
  --bar: 64px;
  --gut: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 24px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, blockquote, ul, dl, dd { margin: 0; }
ul, ol { list-style: none; padding: 0; margin: 0; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
.sr, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 30; padding: 10px 16px; background: var(--ink); color: var(--bg); font-size: 14px; transform: translateY(-160%); }
.skip:focus { transform: none; }
.logo { display: inline-block; aspect-ratio: 423 / 129.5; background: currentColor;
  -webkit-mask: url(/assets/logo/elena.svg) center / contain no-repeat; mask: url(/assets/logo/elena.svg) center / contain no-repeat; }

/* ------------------------------------------------------------ type roles */
.title { font: 400 clamp(28px, 1.2vw + 18px, 36px)/1.15 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.lede { margin-top: 16px; color: var(--grey); font-size: 14px; }
.phrase { font: 400 clamp(18px, .5vw + 14px, 21px)/1.45 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.discover { display: inline-block; margin-top: 18px; font-size: 14px; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; transition: text-underline-offset .4s var(--ease); }
.discover:hover { text-underline-offset: 9px; }
.credit { padding: 10px 0 0; color: var(--grey); font-size: 12px; text-align: right; }

/* ------------------------------------------------------------ header */
.bar { position: fixed; inset: 0 0 auto; z-index: 20; height: var(--bar); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 28px;
  background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .4s var(--ease); }
.is-scrolled .bar { border-bottom-color: var(--line); }
.bar__start, .bar__end { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.bar__end { justify-content: flex-end; }
.bar__menu { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.burger { position: relative; width: 20px; height: 10px; }
.burger i { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger i:first-child { top: 0; }
.burger i:last-child { top: 8.5px; }
[aria-expanded="true"] .burger i:first-child { top: 4.25px; transform: rotate(45deg); }
[aria-expanded="true"] .burger i:last-child { top: 4.25px; transform: rotate(-45deg); }
.bar__logo { display: block; color: var(--ink); transition: opacity .6s var(--ease), transform .6s var(--ease), visibility 0s linear 0s; }
.bar__logo .logo { display: block; width: 104px; }
/* on the landing page the name is already the hero title: the mark in the bar waits until the page moves */
html:not(.show-logo) .home .bar__logo { opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s linear .4s; }
.bar__ig { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.bar__cta { text-decoration: none; }
.bar__cta:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.lang { display: flex; gap: 14px; }
.lang button { min-height: 44px; color: var(--grey); font-size: 13px; font-weight: 500; }
.lang button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* drawer */
.drawer { position: fixed; top: var(--bar); left: 0; bottom: 0; z-index: 19; width: min(440px, 100%); padding: 48px 40px 40px; overflow-y: auto;
  display: flex; flex-direction: column; background: var(--bg); border-right: 1px solid var(--line);
  transform: translateX(-100%); visibility: hidden; transition: transform .7s var(--ease), visibility 0s linear .7s; }
.drawer.is-open { transform: none; visibility: visible; transition: transform .7s var(--ease); }
.drawer__list li + li { margin-top: 14px; }
.drawer__list a { font: 400 30px/1.25 var(--serif); letter-spacing: -.02em; text-decoration: none; }
.drawer__list a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; }
.drawer__list li, .drawer__small, .drawer__phone, .lang--drawer { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.drawer.is-open .drawer__list li, .drawer.is-open .drawer__small, .drawer.is-open .drawer__phone, .drawer.is-open .lang--drawer { opacity: 1; transform: none; }
.drawer.is-open li:nth-child(1) { transition-delay: .12s; } .drawer.is-open li:nth-child(2) { transition-delay: .17s; }
.drawer.is-open li:nth-child(3) { transition-delay: .22s; } .drawer.is-open li:nth-child(4) { transition-delay: .27s; }
.drawer.is-open li:nth-child(5) { transition-delay: .32s; }
.drawer.is-open .drawer__small, .drawer.is-open .lang--drawer, .drawer.is-open .drawer__phone { transition-delay: .37s; }
.drawer__phone { display: flex; flex-direction: column; gap: 4px; margin-top: auto; padding-top: 48px; font: 400 26px/1.2 var(--serif); letter-spacing: -.01em; text-decoration: none; }
.drawer__phone span { color: var(--grey); font: 500 12px/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.drawer__phone:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.drawer__small { padding-top: 28px; }
.drawer__small { margin-top: 0; padding-top: 28px; font-size: 14px; color: var(--grey); }
.drawer__small li + li { margin-top: 8px; }
.drawer__small a { text-decoration: none; } .drawer__small a:hover { color: var(--ink); }
.lang--drawer { display: none; margin-top: 24px; }
.scrim { position: fixed; inset: var(--bar) 0 0; z-index: 18; background: rgba(47, 52, 49, .28); opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s linear .6s; }
.menu-open .scrim { opacity: 1; visibility: visible; transition: opacity .6s var(--ease); }
.menu-open { overflow: hidden; }

/* ------------------------------------------------------------ motifs */
[data-stitch] { display: block; }
[data-stitch] svg { display: block; width: 100%; height: 100%; overflow: visible; }
.rosette { width: 26px; height: 26px; margin: 0 auto 22px; }
.rhomb { width: 30px; height: 30px; margin: 0 auto 28px; }
.tiers__mark { width: 18px; height: 18px; margin-bottom: 18px; }
.tree { width: 84px; height: 132px; margin: 0 auto 48px; }
.altita { height: 40px; margin: 160px var(--gut) 0; }
.letter { position: relative; }
.letter__frame { position: absolute; inset: 14px; pointer-events: none; }

/* ------------------------------------------------------------ opening */
/* the opening fills the first screen: below the stitched band only the top of the next title shows */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 42.5%) 1fr; min-height: max(560px, calc(100vh - 142px)); min-height: max(560px, calc(100svh - 142px)); padding-top: var(--bar); overflow: hidden; }
.hero__text { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 24px 72px; text-align: center; }
.hero__text .rosette { margin: 0 0 22px; }
.eyebrow { color: var(--grey); font-size: 13px; font-weight: 500; letter-spacing: .02em; }
.hero__title--logo .logo { display: block; width: clamp(220px, 20vw, 300px); color: var(--ink); }
.hero__title--logo { margin-top: 0; line-height: 0; } /* the mark alone opens the page: no rosette, no address line */
.hero__title--logo + .hero__sub { margin-top: 36px; }
.hero__title { margin-top: 24px; font: 400 clamp(46px, 2vw + 30px, 60px)/1.02 var(--serif); letter-spacing: -.03em; }
.hero__sub { margin-top: 22px; max-width: 21em; color: var(--grey); font-size: 15.6px; line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 32px; margin-top: 50px; }
.hero__actions .discover { margin-top: 0; }
/* Figma frame "Maison · Ie · Landing · Desktop 1440": the drawing starts at 33.8% and runs past the right edge;
   its foot sits just under the stitched band. Never taller than the space under the header. */
.hero__art { position: absolute; left: 33.82%; bottom: -10px; width: min(90.07%, calc((max(560px, 100svh - 142px) - var(--bar) + 10px) * 1.872)); max-width: none; height: auto; pointer-events: none; }
.btn { display: inline-flex; align-items: center; height: 50px; padding: 0 28px; background: var(--ink); color: var(--paper); border-radius: 2px; font-size: 14px; font-weight: 500; text-decoration: none; transition: background-color .4s var(--ease), transform .2s var(--ease); }
.btn:hover { background: #1f2320; }
.btn:active { transform: scale(.985); }
.altita--hero { margin: 0; height: 36px; }
.bleed { margin: 0 var(--gut); }
.bleed img { width: 100%; height: auto; aspect-ratio: 1408 / 788; object-fit: cover; background: var(--tile); }
.credit--story { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; padding-top: 14px; }
.credit__note { color: var(--grey); font: italic 400 15px/1.45 var(--serif); }
.after { padding: 56px 24px 0; text-align: center; }
.after--tight { padding-top: 40px; }
.sprig { width: 68px; height: auto; margin: 0 auto 28px; }

/* ------------------------------------------------------------ sections */
.block { padding: 152px 0 0; }
#flori { padding-top: 40px; }
.block--story { padding-top: 136px; }
.bleed--almond { margin-top: 112px; }
.block--sub { padding-top: 88px; }
.split__text .rosette { margin-bottom: 20px; }
.block--after { padding-top: 80px; }

.text { max-width: 600px; margin: 0 auto; padding: 0 24px; text-align: center; }
.text p { margin-top: 20px; color: var(--grey); }
.text p + p { margin-top: 14px; }
.text .discover { margin-top: 22px; }
.more { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-underline-offset .4s var(--ease); }
.more:hover { text-underline-offset: 7px; }
#povestea .text p { max-width: 30em; margin-left: auto; margin-right: auto; }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gut); padding: 0 var(--gut); margin-top: 88px; }
.frame { overflow: hidden; background: var(--tile); aspect-ratio: 4 / 5; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.pane figcaption { margin-top: 16px; color: var(--grey); font-size: 13px; text-align: center; }

.quote { max-width: 780px; margin: 128px auto 0; padding: 0 24px; text-align: center; }
.quote p { font: italic 400 clamp(24px, 1.4vw + 14px, 34px)/1.3 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
.quote footer { margin-top: 20px; color: var(--grey); font-size: 13px; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 56px var(--gut); padding: 0 var(--gut); margin-top: 72px; }
.grid .frame { aspect-ratio: 3 / 4; }
.item:hover .frame img { transform: scale(1.03); }
.item__name { margin: 18px auto 0; max-width: 28ch; font: 400 16px/1.4 var(--serif); text-align: center; text-wrap: balance; }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1120px; margin: 72px auto 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tiers li { padding: 56px 36px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.tiers li + li { border-left: 1px solid var(--line); }
.tiers h3 { font: 400 23px/1.2 var(--serif); letter-spacing: -.015em; }
.tiers p { margin-top: 12px; max-width: 28ch; color: var(--grey); font-size: 14px; }
.price { margin-top: auto; padding-top: 28px; font-size: 13px; font-weight: 500; }
.fine { margin-top: 32px; padding: 0 24px; color: var(--grey); font-size: 13px; text-align: center; }

.manifesto { padding: 168px 24px 184px; text-align: center; }
.manifesto__art { width: 102px; margin: 0 auto 32px; }
.manifesto__lead { max-width: 860px; margin: 0 auto; font: 400 clamp(26px, 1.8vw + 14px, 40px)/1.28 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.manifesto__body { max-width: 580px; margin: 32px auto 0; color: var(--grey); }
.manifesto__body em { font-family: var(--serif); color: var(--ink); }

/* subscription: the almond painting beside a stitched list of the three bouquets */
.sub { display: grid; grid-template-columns: minmax(0, 533fr) minmax(0, 645fr); column-gap: clamp(48px, 9.4vw, 136px); max-width: 1440px; margin: 0 auto; padding: 168px clamp(24px, 4.4vw, 63px) 0; align-items: start; }
.sub__art .frame { aspect-ratio: 533 / 666; }
.sub__body { align-self: center; padding-bottom: 60px; } /* centred on the painting itself, not on painting + caption */
.sub__art figcaption { display: flex; flex-direction: column; gap: 3px; margin-top: 13px; color: var(--grey); font: 400 14px/1.45 var(--serif); }
.sub__note { font-style: italic; font-size: 15px; }
.sub__title { font: 400 clamp(32px, 1.4vw + 20px, 44px)/1.08 var(--serif); letter-spacing: -.015em; }
.sub__title span { display: block; }
.sub__lede { margin-top: 20px; max-width: 27em; color: var(--grey); font: 400 17px/1.62 var(--serif); }
/* running stitch between the rows, the same thread as the bands */
.rows { margin-top: 40px; --stitch: repeating-linear-gradient(90deg, #b9bdb0 0 5px, transparent 5px 8.5px); }
.rows__item { position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 22px 18px 24px 0; background: var(--stitch) top left / 100% 1.2px no-repeat; }
.rows__item:last-child { background: var(--stitch) top left / 100% 1.2px no-repeat, var(--stitch) bottom left / 100% 1.2px no-repeat; }
.rows h3 { font: 400 clamp(20px, .5vw + 16px, 23px)/1.2 var(--serif); letter-spacing: -.01em; }
.rows h3 em { font-style: italic; }
.rows__item p:not(.rows__price) { margin-top: 6px; max-width: 26em; color: var(--grey); font: 400 15px/1.6 var(--serif); }
.rows__price { flex: none; padding-top: 4px; color: var(--grey); font: italic 400 14px/1.6 var(--serif); text-align: right; }
.rows__item--elena { padding-left: 84px; }
.rows__posy { position: absolute; left: 4px; top: 50%; width: 60px; height: auto; transform: translateY(-50%); }
.sub__foot { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-top: 22px; }
.sub__fine { color: var(--grey); font: 400 15px/1.6 var(--serif); }
.sub__foot .discover { margin-top: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gut); padding: 0 var(--gut); align-items: stretch; }
.split--shop { margin-top: 136px; align-items: center; }
.split--shop .split__media { display: flex; justify-content: center; background: none; padding: 40px 0; }
.split--shop .split__media img { width: min(533px, 76%); }
.split__media { background: var(--tile); overflow: hidden; }
.split__media img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.split__text { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 88px 48px; text-align: center; }
.split__text > p { margin-top: 20px; max-width: 42ch; color: var(--grey); }
.facts { margin-top: 36px; display: grid; grid-template-columns: auto auto; gap: 16px 40px; justify-content: center; }
.facts__wide { grid-column: 1 / -1; }
.facts dt { color: var(--grey); font-size: 12px; font-weight: 500; letter-spacing: .06em; }
.facts dd { margin-top: 2px; font: 400 17px/1.4 var(--serif); }
.split__text .discover { margin-top: 28px; }

/* ------------------------------------------------------------ the letter */
.post { position: relative; overflow: hidden; margin-top: 80px; padding: 128px var(--gut) 136px; background: var(--tile); }
.post > .text, .post > .letter { position: relative; z-index: 1; }
.post__art { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; pointer-events: none; }
.letter { max-width: 780px; margin: 64px auto 0; padding: 72px 84px 64px; background: var(--paper); font: 400 19px/2.05 var(--serif); }
.letter__date { color: var(--grey); font-size: 15px; text-align: right; }
.letter__dear { margin: 28px 0 12px; font-size: 25px; letter-spacing: -.01em; }
.letter__line { margin-top: 4px; }
.letter__line--block label { display: block; }
.stop { margin-left: -2px; }
.blank, .letter__msg { font: italic 400 1em/1.4 var(--serif); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 4px 2px; margin: 0 4px;
  width: calc(var(--len, 12) * .58em + 20px); max-width: 100%; transition: border-color .3s var(--ease); }
.letter__msg { display: block; width: 100%; margin: 8px 0 0; padding: 4px 2px; resize: vertical; line-height: 2.05;
  background: repeating-linear-gradient(transparent 0 calc(2.05em - 1px), var(--line) calc(2.05em - 1px) 2.05em); border-bottom: 0; }
.blank::placeholder, .letter__msg::placeholder { color: var(--grey); opacity: .8; }
.blank:focus, .letter__msg:focus { outline: none; border-bottom-color: var(--ink); }
[aria-invalid="true"] { border-bottom-color: #8c3a2b !important; }
.consent { display: flex; gap: 12px; margin-top: 36px; color: var(--grey); font: 400 13px/1.6 var(--sans); cursor: pointer; }
.consent input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--ink); }
.letter__sign { margin-top: 36px; display: flex; flex-direction: column; align-items: flex-end; }
.signature { font-family: var(--script); font-size: 42px; line-height: 1.3; min-height: 1.3em; }
.send { display: block; width: 100%; max-width: 320px; height: 52px; margin: 36px auto 0; background: var(--ink); color: var(--paper); border-radius: 2px;
  font: 500 14px/1 var(--sans); letter-spacing: .01em; transition: background-color .4s var(--ease), transform .2s var(--ease); }
.send:hover { background: #1f2320; }
.send:active { transform: scale(.985); }
.letter__status { margin-top: 18px; min-height: 1.6em; font: 400 14px/1.6 var(--sans); text-align: center; }
.letter__status[data-state="ok"] { color: var(--ink); }
.letter__status[data-state="err"] { color: #8c3a2b; }

/* ------------------------------------------------------------ footer */
.foot { padding: 0 28px 32px; }
.foot .altita--foot { margin: 0 -28px 32px; height: 40px; }
.foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; max-width: 1120px; margin: 0 auto; }
.foot h2 { font: 500 14px/1.4 var(--sans); }
.foot ul { margin-top: 18px; color: var(--grey); font-size: 14px; line-height: 2.1; }
.foot a { text-decoration: none; } .foot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.foot__phone { color: var(--ink); font: 400 18px/1.6 var(--serif); }
.facts__link { text-decoration: none; }
.facts__link:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.foot__mark { display: block; width: 132px; margin: 112px auto 0; color: var(--ink); }
.foot__base { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--grey); font-size: 12px; text-align: center; }
.foot__base p + p { margin-top: 4px; }

/* cookie note */
.notice { position: fixed; left: 16px; bottom: 16px; z-index: 25; max-width: 520px; display: flex; gap: 20px; align-items: center; padding: 18px 20px; background: var(--paper);
  box-shadow: 0 12px 40px -12px rgba(47, 52, 49, .22); font-size: 13px; line-height: 1.55; }
.notice[hidden] { display: none; }
.notice a { color: var(--ink); }
.notice__ok { flex: none; height: 40px; padding: 0 18px; background: var(--ink); color: var(--paper); border-radius: 2px; font-size: 13px; font-weight: 500; }

/* ------------------------------------------------------------ inner pages: story, legal, errors */
.page-head { max-width: 760px; margin: 0 auto; padding: calc(var(--bar) + 88px) 24px 72px; text-align: center; }
.page-head .rosette { margin: 0 auto 22px; }
.page-head .eyebrow { margin-bottom: 4px; }
.page-head__title { margin-top: 12px; font: 400 clamp(34px, 1.6vw + 22px, 48px)/1.1 var(--serif); letter-spacing: -.025em; text-wrap: balance; }
.page-head__title--big { margin-top: 24px; font-size: clamp(46px, 2.2vw + 28px, 76px); line-height: 1.02; letter-spacing: -.03em; }
.page-head__title--big span, .page-head__title--big em { display: block; }
.page-head__title--big em { font-style: italic; }
.page-head__lede { margin: 24px auto 0; max-width: 40ch; color: var(--grey); font-size: 15.6px; }
.page-head--story + .altita { margin-top: 0; }

.chapter { max-width: 640px; margin: 0 auto; padding: 128px 24px 0; }
.chapter .rosette { margin: 0 auto 22px; }
.chapter__title { font: 400 clamp(28px, 1.2vw + 18px, 36px)/1.15 var(--serif); letter-spacing: -.02em; text-align: center; }
.chapter__body { margin-top: 32px; }
.chapter__body p { color: var(--grey); font-size: 16px; line-height: 1.75; }
.chapter__body p + p { margin-top: 18px; }
.chapter__body em { font-family: var(--serif); color: var(--ink); }
.chapter__quote { margin: 40px 0; color: var(--ink) !important; font: italic 400 clamp(22px, .8vw + 16px, 28px)/1.35 var(--serif) !important; text-align: center; text-wrap: balance; }
.chapter__photo { margin: 56px 0 0; }
.chapter__photo img { width: 100%; height: auto; background: var(--tile); }
.chapter__photo figcaption { margin-top: 12px; color: var(--grey); font-size: 13px; text-align: center; }
.story-end { padding: 168px 24px 176px; text-align: center; }
.story-end__tag { font: italic 400 clamp(30px, 1.6vw + 18px, 44px)/1.2 var(--serif); letter-spacing: -.02em; }
.story-end .hero__actions { margin-top: 36px; }

.legal { max-width: 720px; margin: 0 auto; padding: 0 24px 152px; }
.legal .updated { margin-bottom: 40px; color: var(--grey); font: italic 400 15px/1.5 var(--serif); text-align: center; }
.legal h2 { margin: 56px 0 14px; font: 400 clamp(22px, .6vw + 18px, 26px)/1.25 var(--serif); letter-spacing: -.01em; }
.legal p, .legal li { color: var(--grey); font-size: 16px; line-height: 1.75; }
.legal p + p { margin-top: 14px; }
.legal ul { list-style: disc; display: grid; gap: 8px; margin: 12px 0; padding-left: 1.2em; }
.legal a { color: var(--ink); text-underline-offset: 3px; }
.legal strong { color: var(--ink); font-weight: 500; }
.legal .todo { background: #efe6c8; color: var(--ink); padding: 0 4px; }
.legal table { width: 100%; margin: 16px 0; border-collapse: collapse; font-size: 14px; }
.legal th, .legal td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--grey); }
.legal th { color: var(--ink); font-weight: 500; }
html[lang="ro"] .l-en, html[lang="en"] .l-ro { display: none; }

.err { max-width: 640px; margin: 0 auto; padding: calc(var(--bar) + 96px) 24px 168px; text-align: center; }
.err__art { width: 110px; margin: 0 auto 28px; }
.err__title { margin-top: 12px; font: 400 clamp(32px, 1.6vw + 20px, 48px)/1.1 var(--serif); letter-spacing: -.025em; text-wrap: balance; }
.err__text { margin: 20px auto 40px; max-width: 36ch; color: var(--grey); }

/* ------------------------------------------------------------ flowers & services */
/* the head is the landing hero in mirror: a painting runs off the left edge, the words stand on the right */
.hero--mirror { grid-template-columns: 1fr minmax(0, 42.5%); }
.hero__paint { position: relative; margin: 0; overflow: hidden; background: var(--tile); }
.hero__paint img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__paint figcaption { position: absolute; right: 16px; bottom: 12px; color: #fff; font-size: 12px; text-shadow: 0 1px 6px rgba(0, 0, 0, .45); }
.hero--mirror .chips { margin-top: 50px; }
.hero--mirror .hero__sub { max-width: 26em; text-wrap: balance; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 36px; font-size: 14px; font-weight: 500; }
.chips a { text-decoration: none; }
.chips a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.chips a + a::before { content: "·"; display: inline-block; margin: 0 14px; color: var(--grey); text-decoration: none; }

/* bouquets: the words on the left, a mosaic of our own bouquets on the right (the opposite side to the head's painting) */
.svc { display: grid; grid-template-columns: minmax(0, 533fr) minmax(0, 645fr); column-gap: clamp(48px, 9.4vw, 136px); max-width: 1440px; margin: 96px auto 0; padding: 0 clamp(24px, 4.4vw, 63px); align-items: center; } /* the same grid as the subscription, mirrored by content */
.svc__text { padding: 32px 0; }
.svc .mosaic { grid-column: 2; }
.svc .svc__text { grid-column: 1; grid-row: 1; }
.mosaic { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: repeat(2, clamp(200px, 17vw, 280px)); gap: 8px; }
.mosaic__tile { overflow: hidden; background: var(--tile); }
.mosaic__tile:first-child { grid-row: span 2; }
.mosaic__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.mosaic__tile:hover img { transform: scale(1.03); }
/* full-bleed olive band; the landing hero's drawing stands on its bottom edge and runs off the right, as on the first page */
.olive { position: relative; overflow: hidden; margin: 136px 0 0; min-height: calc(min(75vw, 1300px) * .534 - 24px); display: flex; align-items: center; background: #4b482c; color: #d9cba5; }
.olive__text { position: relative; z-index: 1; width: min(46%, 640px); padding: 72px 0 72px clamp(40px, 9vw, 136px); }
.olive .eyebrow { color: #d9cba5; opacity: .8; }
.olive__title { margin-top: 16px; max-width: 16em; font: 400 clamp(28px, 1.6vw + 18px, 42px)/1.18 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.olive__lede { margin-top: 20px; max-width: 30em; opacity: .86; }
.olive__art { position: absolute; left: 40%; bottom: 0; width: min(75vw, 1300px); max-width: none; height: auto; pointer-events: none; }

.sectors { padding: 16px var(--gut) 0; }
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px var(--gut); }
.sector .frame { aspect-ratio: 4 / 3; }
.sector__hero { margin-top: 18px; font: 400 21px/1.25 var(--serif); letter-spacing: -.01em; }
.sector__line { margin-top: 6px; max-width: 30em; color: var(--grey); font-size: 14px; }


/* the same component, painting on the right */
.sub--mirror { grid-template-columns: minmax(0, 645fr) minmax(0, 533fr); }
.sub--mirror .sub__art { order: 2; }
.sub__sprig { width: 84px; height: auto; margin-bottom: 32px; } /* centred on the painting itself, not on painting + caption */

/* ------------------------------------------------------------ reveals */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }
.js-reveal .item[data-reveal] .frame img, .js-reveal .pane[data-reveal] .frame img { transform: scale(1.06); }
.js-reveal .item[data-reveal].is-in .frame img, .js-reveal .pane[data-reveal].is-in .frame img { transform: none; }
.js-reveal .item[data-reveal].is-in:hover .frame img { transform: scale(1.03); }
.grid .item:nth-child(4n+2) { transition-delay: .08s; } .grid .item:nth-child(4n+3) { transition-delay: .16s; } .grid .item:nth-child(4n+4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* ------------------------------------------------------------ tablet */
@media (max-width: 1024px) {
  .hero { grid-template-columns: minmax(0, 46%) 1fr; }
  .hero__art { width: 58%; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid .item { transition-delay: 0s !important; }
  .grid .item:nth-child(2n) { transition-delay: .08s !important; }
  .tiers { margin-left: 24px; margin-right: 24px; }
  .letter { padding: 56px 48px; }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ------------------------------------------------------------ phone
   Above the almond tree the page keeps the desktop order, set in one column.
   From the almond tree down every block is recomposed for a thumb and a narrow screen. */
@media (max-width: 768px) {
  :root { --bar: 56px; --gut: 12px; }
  body { font-size: 15px; }
  .bar { padding: 0 8px 0 12px; }
  .bar__label, .bar__cta, .bar__start .lang { display: none; }
  .bar__menu { min-width: 44px; justify-content: center; }
  .bar__logo .logo { width: 88px; }
  .lang--drawer { display: flex; }
  .drawer { width: 100%; border-right: 0; padding: 36px 24px 32px; }
  .drawer__list a { font-size: 28px; }

  /* opening */
  /* the first screen shows the words, the meadow and the stitched band: the stems stand right on the band */
  .hero { display: block; min-height: 0; }
  .hero__text { padding: 28px 20px 0; }
  .hero__text .rosette { width: 20px; height: 20px; margin-bottom: 12px; }
  .eyebrow { font-size: 12px; }
  .hero__title { margin-top: 14px; font-size: clamp(38px, 10.5vw, 46px); }
  .hero__title--logo { margin-top: 8px; }
  .hero__title--logo .logo { width: min(62vw, 240px); }
  .hero__title--logo + .hero__sub { margin-top: 22px; }
  .hero__sub { margin-top: 14px; max-width: 25em; font-size: 14px; line-height: 1.6; }
  .hero__actions { margin-top: 22px; gap: 14px 24px; }
  .hero__actions .btn { height: 44px; padding: 0 22px; font-size: 13px; }
  .hero__actions .discover { font-size: 13px; }
  .hero__art { position: relative; left: auto; bottom: auto; display: block; width: 150%; max-width: none; margin: -12vw 0 0 -6%; } /* the drawing's top is open sky */
  .altita.altita--hero { height: 30px; margin: -2px 0 0; }

  /* flowers and story */
  #flori { padding-top: 32px; }
  .text { padding: 0 20px; }
  .grid { gap: 32px 8px; margin-top: 40px; padding: 0 var(--gut); }
  .item__name { margin-top: 10px; padding: 0 4px; font-size: 14px; }
  .altita { height: 30px; margin: 96px 20px 0; }
  .block--story { padding-top: 80px; }
  .sprig { width: 56px; margin-bottom: 22px; }
  .pair { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 48px; }
  .pane figcaption { margin-top: 10px; padding: 0 4px; font-size: 12px; line-height: 1.45; }
  .quote { margin-top: 80px; }
  .quote p { font-size: 25px; }

  /* from the almond tree down */
  .bleed--almond { margin: 88px 0 0; }
  .bleed--almond img { aspect-ratio: 4 / 5; object-position: 38% 50%; }
  .credit--story { align-items: flex-start; gap: 6px; padding: 16px 20px 0; text-align: left; }
  .credit__note { font-size: 15px; }
  .block--sub { padding-top: 72px; }
  .block--sub .text { text-align: left; }
  .tiers { grid-template-columns: 1fr; margin: 36px 20px 0; border-bottom: 0; }
  .tiers li { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: baseline; padding: 22px 0; text-align: left; border-bottom: 1px solid var(--line); }
  .tiers li + li { border-left: 0; }
  .tiers h3 { grid-column: 1; font-size: 21px; }
  .tiers p { grid-column: 1 / -1; max-width: none; margin-top: 6px; }
  .price { grid-column: 2; grid-row: 1; margin: 0; padding: 0; color: var(--grey); font-size: 12px; }
  .fine { padding: 0 20px; text-align: left; }
  .manifesto { padding: 112px 20px 120px; }
  .manifesto__art { width: 80px; margin-bottom: 28px; }
  .manifesto__lead { font-size: 27px; line-height: 1.26; }
  .manifesto__body { margin-top: 24px; }
  .sub { grid-template-columns: 1fr; row-gap: 48px; padding: 96px 20px 0; }
  .sub__body { padding-bottom: 0; }
  .sub__art { margin: 0 -8px; }
  .sub__art figcaption { padding: 0 8px; }
  .sub__lede { font-size: 16px; }
  .rows { margin-top: 36px; }
  .rows__item { padding: 22px 0 24px; gap: 16px; }
  .rows__item p:not(.rows__price) { font-size: 15px; }
  .rows__item--elena { padding-left: 64px; }
  .rows__posy { left: 0; width: 48px; }
  .split--shop { margin-top: 96px; }
  .split--shop .split__media { padding: 40px 0 0; }
  .split--shop .split__media img { width: 100%; }
  .split { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .split__media { margin: 0 var(--gut); }
  .split__media img { min-height: 0; aspect-ratio: 4 / 5; object-position: 50% 45%; }
  .split__text { padding: 48px 20px 0; }
  .facts { grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 28px; text-align: left; justify-content: stretch; }
  .facts dd { font-size: 15px; overflow-wrap: anywhere; }
  .post { margin-top: 96px; padding: 80px var(--gut) 210px; }
  .post__art { left: -12%; width: 235%; max-width: none; }
  .letter { margin-top: 36px; padding: 40px 22px 32px; font-size: 17px; line-height: 1.9; }
  .letter__frame { inset: 7px; }
  .letter__dear { margin-top: 20px; font-size: 22px; }
  .blank { display: block; width: 100%; margin: 2px 0 8px; padding: 6px 2px; }
  .stop { display: none; }
  .consent { margin-top: 28px; }
  .signature { font-size: 36px; }
  .send { max-width: none; }
  .foot { padding: 0 20px 28px; }
  .foot .altita--foot { margin: 0 -20px 56px; height: 30px; }
  .foot__cols { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .foot__mark { margin-top: 64px; }
  .page-head { padding: calc(var(--bar) + 56px) 20px 56px; }
  .chapter { padding: 96px 20px 0; }
  .chapter__photo { margin: 40px -8px 0; }
  .story-end { padding: 120px 20px 128px; }
  .legal { padding: 0 20px 112px; }
  .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; }
  .legal thead { display: none; }
  .legal td { padding: 4px 0; border: 0; }
  .legal tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .err { padding: calc(var(--bar) + 64px) 20px 120px; }
  .hero--mirror { display: flex; flex-direction: column-reverse; }
  .hero__paint { height: 82vw; margin-top: 32px; }
  .hero--mirror .chips { margin-top: 26px; }
  .chips { font-size: 13px; }
  .chips { gap: 8px 20px; }
  .chips a + a::before { display: none; }
  .svc { grid-template-columns: 1fr; margin-top: 72px; }
  .svc { padding: 0 20px; }
  .svc .mosaic, .svc .svc__text { grid-column: 1; grid-row: auto; }
  .svc__text { padding: 0 0 32px; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 40vw); }
  .olive { display: block; min-height: 0; margin-top: 96px; }
  .olive__text { width: auto; padding: 56px 24px 0; }
  .olive__art { position: relative; left: auto; display: block; width: 150%; margin: -8vw 0 0 -6%; }
  .sector-grid { grid-template-columns: 1fr 1fr; gap: 32px 8px; }
  .sector__hero { font-size: 18px; }
  .sector__line { font-size: 13px; }
  .sectors { padding: 8px var(--gut) 0; }
  .sub--mirror .sub__art { order: 0; }
  .notice { left: 8px; right: 8px; bottom: 8px; gap: 14px; padding: 12px 14px; font-size: 12px; line-height: 1.45; }
  .notice__ok { height: 36px; padding: 0 14px; font-size: 12px; }
}
