/* Palena Studio: homepage, "journey of luxury" design.
   Loaded only on the homepage (printed by index.php). Every rule is scoped to .phome, so nothing here can change any other page.
   The site header and footer are the theme's own and are not styled here.

   Fonts: Cormorant Garamond (400 and up) and Jost are already loaded by the theme (palena-fonts.css).
   The two light (300) Cormorant files used for headings are declared here (the same files the product page uses). */

@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:300;font-display:swap;src:url('../fonts/cormorant-garamond/cormorant-300-normal-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:300;font-display:swap;src:url('../fonts/cormorant-garamond/cormorant-300-italic-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* The site header floats over the opening banner. Once the page moves it becomes a solid dark bar (the theme's own script adds is-scrolled), so its links stay readable on the light chapters. */
html body.home .palena-header.is-scrolled,html body.home .palena-header.is-submenu-active{--palena-header-surface-bg:rgba(15,13,11,.94);--palena-header-surface-blur:blur(10px);--palena-header-surface-border:rgba(242,237,229,.12)}

/* The page scrolls smoothly to "Enter the works" and the request form (not for visitors who ask for less motion). */
@media (prefers-reduced-motion:no-preference){html:has(.phome){scroll-behavior:smooth}}

.phome,.phome *{box-sizing:border-box}
.phome [hidden]{display:none!important}

/* Two grounds, night and paper; one work per screen; the glow of the piece is the only accent */
.phome{
  --night:#0f0d0b; --night-2:#171411; --paper:#ece7df; --paper-2:#e3dcd1;
  --ivory:#f3eee6; --ink:#1b1815; --muted-n:rgba(243,238,230,.64); --muted-p:rgba(27,24,21,.62);
  --rule-n:rgba(243,238,230,.16); --rule-p:rgba(27,24,21,.16);
  --bronze:#b8905e; --glow:#ecc995;
  --display:'Cormorant Garamond','Cormorant',Garamond,Georgia,serif;
  --body:'Jost','Futura','Century Gothic','Avenir Next',system-ui,sans-serif;
  --gutter-l:max(16px,env(safe-area-inset-left,0px));
  --gutter-r:max(16px,env(safe-area-inset-right,0px));
  --head:calc(var(--palena-header-height,85px) + var(--palena-admin-bar-height,0px));
  position:relative;margin:0;background:var(--night);color:var(--ivory);
  font:300 16px/1.7 var(--body);-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;color-scheme:dark;overflow-x:clip}
.phome img{display:block;max-width:100%;height:auto}
.phome picture{display:contents}
.phome a{color:inherit;text-decoration:none}
.phome a:hover{color:inherit;text-decoration:none}
.phome :focus-visible{outline:1px solid var(--glow);outline-offset:4px}
.phome .paper :focus-visible{outline-color:#7d5c35}
.phome .wrap{max-width:1440px;margin:0 auto;padding-left:var(--gutter-l);padding-right:var(--gutter-r)}
@media (min-width:900px){.phome .wrap{padding-left:max(56px,env(safe-area-inset-left,0px));padding-right:max(56px,env(safe-area-inset-right,0px))}}
.phome .label{font:400 11.5px/1.4 var(--body);letter-spacing:.22em;text-transform:uppercase}
.phome h1,.phome h2,.phome h3{font-family:var(--display)!important;font-weight:300;text-wrap:balance;margin:0;color:inherit;letter-spacing:0;text-transform:none}
.phome p,.phome figure,.phome ul,.phome label{margin:0}
.phome ul{list-style:none;padding:0}
.phome label{display:inline-block}
/* The theme forces the text font on every paragraph and span; the lines set in the display face say so here. */
.phome .hero-h span,.phome .making h2 span,.phome .stories h2 span,.phome .statement,.phome .statement span,.phome .quote,.phome .quote span,.phome .sig,.phome .finish{font-family:var(--display)!important}
/* WP Rocket may mark blocks of this page for deferred rendering; this page scrolls by position, so every block is drawn normally. */
.phome [data-wpr-lazyrender]{content-visibility:visible!important;contain-intrinsic-size:none!important}

/* Hero */
.phome .hero{position:relative;min-height:min(92svh, 1000px);min-height:min(92vh, 1000px);display:flex;align-items:flex-end;overflow:hidden;isolation:isolate}
@supports (height:1svh){.phome .hero{min-height:min(92svh, 1000px)}}
/* The frame is 16:9 on tablet and desktop, so a 16:9 picture or film is shown whole. The words and the controls (.hero-fold) sit in the part of the frame that is on screen when the page opens, even when the frame is taller than the window. Phones keep the tall frame. */
.phome .hero-fold{display:contents}
@media (min-width:768px){
  .phome .hero{aspect-ratio:16/9;min-height:0;display:block}
  .phome .hero-fold{display:flex;align-items:flex-end;position:absolute;left:0;right:0;top:0;height:min(100%, 100vh);height:min(100%, 100svh)}
}
@media (min-width:768px) and (max-width:1100px){
  .phome .hero .hero-inner{padding-block:0 clamp(24px,4.2vw,44px)}
  .phome .hero .hero-ui{bottom:clamp(24px,4.2vw,44px)}
  .phome .hero .lede,.phome .hero .tag{display:none}
  .phome .hero .hero-actions{margin-top:20px}
  .phome .hero .finish{font-size:19px}
}
/* narrow tablets: the counter, dots and arrows move to a row under the menu (as on phones) so they never meet the buttons */
@media (min-width:768px) and (max-width:959px){
  .phome .hero .hero-ui{top:calc(var(--head) + 14px);bottom:auto;left:var(--gutter-l);right:var(--gutter-r);justify-items:stretch}
  .phome .hero .hero-ui .plate{display:none}
  .phome .hero .hero-nav{justify-content:space-between}
}
.phome .hero-media{position:absolute;inset:0;z-index:-2}
.phome .hero-media figure{position:absolute;inset:0;margin:0;opacity:0;transition:opacity 1.3s ease}
.phome .hero-media figure.active{opacity:1}
.phome .hero-media img{width:100%;height:100%;object-fit:cover}
.phome .hero-media figure.active img{animation:drift var(--dur,7s) ease-out both}
.phome .hero-media video{display:block;width:100%;height:100%;object-fit:cover;background:var(--night)}
.phome .hero-media figure.active video{animation:drift 12s ease-out both}
@keyframes drift{from{transform:scale(1.07)}to{transform:scale(1)}}
.phome .hero-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg, rgba(14,12,10,.82) 0%, rgba(14,12,10,.55) 34%, rgba(14,12,10,0) 62%), linear-gradient(180deg, rgba(14,12,10,.55) 0%, rgba(14,12,10,0) 22%, rgba(14,12,10,0) 52%, rgba(14,12,10,.8) 100%)}
@media (max-width:700px){.phome .hero-shade{background:linear-gradient(180deg, rgba(14,12,10,.5) 0%, rgba(14,12,10,.15) 30%, rgba(14,12,10,.88) 72%)}}
.phome .hero-inner{width:100%;padding-block:0 clamp(40px,8vh,88px);container-type:inline-size;display:grid}
.phome .hero .hero-h{font-size:clamp(24px,7.2cqw,64px);line-height:1.08;letter-spacing:-.01em;text-shadow:0 2px 24px rgba(0,0,0,.35)}
.phome .ln{display:block}
.phome .nb{white-space:nowrap}
.phome .hero .hero-h em{font-style:italic;color:var(--glow)}
.phome .hero-copy{grid-area:1/1;align-self:end;opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .8s ease,transform .8s ease,visibility 0s linear .8s}
.phome .hero-copy.active{opacity:1;visibility:visible;transform:none;transition-delay:.35s,.35s,0s}
.phome .slide-title{font-size:clamp(34px,5vw,64px);line-height:1;letter-spacing:-.005em;margin-top:10px;text-shadow:0 2px 24px rgba(0,0,0,.35)}
.phome .hero .finish{font:italic 300 clamp(20px,2vw,28px)/1.2 var(--display);color:var(--muted-n);margin-top:6px}
.phome .hero .tag{margin-top:14px;color:var(--muted-n);font-size:17px}
.phome .hero .lede{margin-top:22px;max-width:62ch;color:var(--muted-n);font-size:17px}
.phome .hero-actions{margin-top:34px;display:flex;flex-wrap:wrap;gap:14px 34px;align-items:center}
.phome .cta{display:inline-flex;align-items:center;gap:12px;padding:16px 26px;border:1px solid currentColor;font:400 12px/1 var(--body);letter-spacing:.22em;text-transform:uppercase;text-decoration:none;background:transparent;color:inherit;cursor:pointer;transition:background .3s,color .3s,border-color .3s}
.phome .cta:hover{background:var(--ivory);color:var(--night);border-color:var(--ivory)}
.phome .cta.solid{background:var(--ivory);color:var(--night);border-color:var(--ivory)}
.phome .cta.solid:hover{background:transparent;color:var(--ivory)}
.phome .link{font:400 12px/1 var(--body);letter-spacing:.22em;text-transform:uppercase;text-decoration:none;padding-block:8px;border-bottom:1px solid var(--bronze)}
.phome .link:hover{color:var(--glow)}
.phome .hero{touch-action:pan-y}
.phome .hero-ui{position:absolute;right:var(--gutter-r);bottom:clamp(40px,8vh,88px);display:grid;gap:16px;justify-items:end}
@media (min-width:900px){.phome .hero-ui{right:max(56px, env(safe-area-inset-right,0px))}}
.phome .plate{color:var(--muted-n);text-align:right;min-height:1.4em;transition:opacity .5s}
.phome .hero-nav{display:flex;align-items:center;gap:20px}
.phome .hero-count{font:400 11px/1 var(--body);letter-spacing:.2em;font-variant-numeric:tabular-nums;color:var(--muted-n)}
.phome .hero-dots{display:flex;gap:6px}
.phome .hero-dots button{position:relative;width:34px;height:24px;padding:0;border:0;background:none;cursor:pointer}
.phome .hero-dots button::before{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:rgba(243,238,230,.38)}
.phome .hero-dots button::after{content:"";position:absolute;left:0;top:calc(50% - 1px);height:3px;width:0;background:var(--glow)}
.phome .hero-dots button[aria-current="true"]::after{width:100%;animation:fillbar var(--dur,7s) linear both}
.phome .hero.paused .hero-dots button[aria-current="true"]::after{animation-play-state:paused}
.phome .hero.stopped .hero-dots button[aria-current="true"]::after{animation:none;width:100%}
@keyframes fillbar{from{width:0}to{width:100%}}
.phome .hero-arrows{display:flex}
.phome .hero-arrows button{width:42px;height:42px;border:1px solid var(--rule-n);background:rgba(14,12,10,.35);color:var(--ivory);font:300 18px/1 var(--body);cursor:pointer;backdrop-filter:blur(6px);transition:background .3s,color .3s}
.phome .hero-arrows button + button{border-left:0}
.phome .hero-arrows button:hover{background:var(--ivory);color:var(--night)}
@media (max-width:767px){
  .phome .hero-ui{top:calc(var(--head) + 14px);bottom:auto;left:var(--gutter-l);right:var(--gutter-r);justify-items:stretch}
  .phome .plate,.phome .hero-arrows{display:none}
  .phome .hero-nav{justify-content:space-between}
}

/* Paper chapters */
.phome .paper{background:var(--paper);color:var(--ink);color-scheme:light}
.phome .paper .muted{color:var(--muted-p)}
.phome .paper .cta:hover{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.phome .paper .cta.solid{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.phome .paper .cta.solid:hover{background:transparent;color:var(--ink)}
.phome .paper .link{border-color:var(--bronze)}
.phome .paper .link:hover{color:#7d5c35}

/* Manifesto */
.phome .manifesto{padding-block:clamp(88px,14vw,180px)}
.phome .manifesto .inner{display:grid;grid-template-columns:minmax(0,1fr);gap:36px;max-width:1100px;container-type:inline-size}
.phome .manifesto .label{color:#8a6a43}
.phome .statement{font:300 clamp(24px,3.7cqw,42px)/1.18 var(--display);letter-spacing:-.005em;text-wrap:balance}
.phome .statement em{font-style:italic}
.phome .manifesto .cols{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
@media (min-width:900px){.phome .manifesto .cols{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px}}
.phome .manifesto .cols p{font-size:16.5px;color:var(--muted-p)}
.phome .sig{font:italic 300 22px/1.2 var(--display);color:var(--ink)}

/* Swan light-up chapter */
.phome .lightup{position:relative;height:260vh;--p:0}
.phome .lightup-sticky{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;background:color-mix(in srgb, #12110e calc(var(--p) * 100%), #85857f)}
.phome .lightup-stage{position:absolute;inset:0}
.phome .lightup-stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 42%}
.phome .lightup-stage .on{opacity:var(--p)}
@media (max-aspect-ratio:1/1){.phome .lightup-stage img{object-fit:contain;object-position:50% 34%}}
.phome .lightup-copy{position:absolute;left:0;right:0;bottom:0;padding-block:0 clamp(36px,7vh,80px);color:var(--ink);transition:color .5s ease}
.phome .lightup.lit .lightup-copy{color:var(--ivory)}
.phome .lightup-copy .grid{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:28px}
.phome .lightup h2{font-size:clamp(34px,5vw,64px);line-height:1}
.phome .lightup .finish{font:italic 300 clamp(22px,2.4vw,32px)/1.2 var(--display);margin-top:6px}
.phome .lightup .tag{margin-top:16px;max-width:38ch;opacity:.8}
.phome .lightup .actions{margin-top:24px;display:flex;gap:28px;flex-wrap:wrap;align-items:center}
.phome .dimmer{display:grid;grid-template-columns:auto 160px auto;gap:14px;align-items:center;font-variant-numeric:tabular-nums}
.phome .dimmer .track{height:1px;background:currentColor;opacity:.35;position:relative}
.phome .dimmer .fill{position:absolute;left:0;top:-1px;height:3px;width:calc(var(--p) * 100%);background:var(--glow);opacity:1}
.phome .dimmer .pct{min-width:4ch;text-align:right}
.phome .hint{opacity:calc(1 - var(--p) * 1.6)}
@media (max-width:700px){.phome .dimmer{grid-template-columns:auto 1fr auto;width:100%}}

/* Works */
.phome .works{background:var(--night)}
.phome .work{position:relative}
.phome .work figure{margin:0;position:relative}
.phome .work img{width:100%;height:min(88vh, 62vw);object-fit:cover}
@supports (height:1svh){.phome .work img{height:min(88svh, 62vw)}}
.phome .work .scrim{position:absolute;inset:auto 0 0 0;height:55%;background:linear-gradient(180deg, rgba(14,12,10,0), rgba(14,12,10,.82))}
.phome .work .cap{position:absolute;left:0;right:0;bottom:0;padding-block:0 clamp(28px,6vh,64px)}
.phome .work .cap .grid{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:20px}
.phome .work h2{font-size:clamp(30px,3.6vw,48px);line-height:1.05}
.phome .work .finish{font:italic 300 clamp(20px,2vw,28px)/1.2 var(--display);color:var(--muted-n);margin-top:4px}
.phome .work .tag{margin-top:12px;color:var(--muted-n);max-width:40ch}
.phome .works .bar{padding-block:clamp(64px,9vw,120px) clamp(28px,4vw,44px);display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap}
.phome .works .bar h2{font-size:clamp(28px,3.2vw,44px)}
.phome .works .bar p{color:var(--muted-n);max-width:46ch}
.phome .work + .work{margin-top:2px}
@media (max-width:700px){
  .phome .work img{height:auto;aspect-ratio:3/2}
  .phome .work .scrim{display:none}
  .phome .work .cap{position:static;padding-block:22px 44px}
}

/* Material chapter: a centred column (about 1080 px wide): heading and story above, one 16:9 photograph (the second dissolves in over it as the visitor scrolls), the facts below. */
.phome .making{padding-block:clamp(88px,12vw,168px) clamp(72px,9vw,128px)}
.phome .making .wrap{max-width:1080px}
.phome .mk-top{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;align-items:end}
@media (min-width:960px){.phome .mk-top{grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:56px}}
.phome .mk-head{display:grid;gap:22px;container-type:inline-size}
.phome .making .label{color:#8a6a43}
.phome .making h2{font-size:clamp(34px,8.2cqw,84px);line-height:1.03;letter-spacing:-.01em}
.phome .mk-story{display:grid;gap:22px;align-content:end}
.phome .mk-story p{color:var(--muted-p)}
.phome .mk-plate{margin:clamp(40px,5vw,64px) 0 0;--pp:.5;--sw:0}
.phome .mk-frame{position:relative;overflow:hidden;aspect-ratio:16/9;max-height:88vh;background:var(--paper-2)}
@media (max-width:959px){.phome .mk-frame{aspect-ratio:4/3}}
.phome .mk-pic{position:absolute;inset:0;transform-origin:50% 60%}
.phome .mk-photo{width:100%;height:100%;object-fit:cover;transform:translate3d(0,calc((var(--pp,.5) - .5) * -9%),0) scale(1.14);will-change:transform}
/* the second photograph fades in while the plate crosses the middle of the screen */
.phome .mk-b{opacity:0}
.phome .mk-plate.has-b .mk-b{opacity:clamp(0, calc((var(--pp,0) - .36) * 5), 1)}
.phome .sheen{position:absolute;inset:0;pointer-events:none;mix-blend-mode:soft-light;background:linear-gradient(104deg,transparent 38%,rgba(255,243,220,.0) 42%,rgba(255,243,220,.85) 50%,rgba(255,243,220,0) 58%,transparent 62%);background-size:260% 100%;background-repeat:no-repeat;background-position:calc((1 - var(--sw,0)) * 100%) 0}
/* reveal, once, as the plate comes into view */
.phome.js .mk-frame{clip-path:inset(0 0 100% 0);transition:clip-path 1.6s cubic-bezier(.2,.7,.1,1)}
.phome.js .mk-pic{transform:scale(1.2);transition:transform 2.6s cubic-bezier(.2,.7,.1,1)}
.phome.js .mk-plate.in .mk-frame{clip-path:inset(0)}
.phome.js .mk-plate.in .mk-pic{transform:scale(1)}
.phome .mk-facts{margin-top:clamp(40px,5vw,72px)}
.phome .facts{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:30px clamp(24px,4vw,64px)}
.phome .facts li{display:grid;gap:10px;align-content:start;padding-top:20px;border-top:1px solid var(--rule-p)}
.phome .facts li span:first-child{font:400 11px/1.6 var(--body);letter-spacing:.2em;text-transform:uppercase;color:#8a6a43}
.phome .facts li span:last-child{font:300 clamp(19px,1.7vw,24px)/1.3 var(--display)!important;text-align:left!important}
.phome .making.no-plate .mk-top{grid-template-columns:minmax(0,1fr);max-width:860px}

/* Stories (Design Narratives): one wide picture at a time, the names of all of them listed underneath */
.phome .stories{background:var(--night);padding-block:clamp(88px,11vw,152px)}
.phome .st-head{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;align-items:end;margin-bottom:clamp(36px,5vw,64px)}
@media (min-width:960px){.phome .st-head{grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:72px}}
.phome .st-head > div{container-type:inline-size}
.phome .stories .label{color:var(--bronze)}
.phome .stories h2{font-size:clamp(30px,6.4cqw,64px);line-height:1.06;margin-top:14px}
.phome .st-intro{color:var(--muted-n);max-width:46ch;text-align:left!important}
.phome .st-view{display:grid}
.phome .st-slide{grid-area:1/1;opacity:0;visibility:hidden;transition:opacity .9s ease,visibility 0s linear .9s}
.phome .st-slide.active{opacity:1;visibility:visible;transition-delay:0s}
.phome .st-media{display:block;overflow:hidden;aspect-ratio:3/1;background:var(--night-2)}
@media (max-width:700px){.phome .st-media{aspect-ratio:2/1}}
.phome .st-img{width:100%;height:100%;object-fit:cover;transform:scale(1.045);transition:transform 6s ease-out}
.phome .st-slide.active .st-img{transform:scale(1)}
.phome .st-cap{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;padding-top:26px}
.phome .st-cap h3{font-size:clamp(28px,3.2vw,44px);line-height:1.08}
.phome .st-cap p{color:var(--muted-n)}
.phome .st-cap .link{justify-self:start}
@media (min-width:960px){
  .phome .st-cap{grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:14px 72px;align-items:start}
  .phome .st-cap h3{grid-row:1 / span 2}
  .phome .st-cap > *:not(h3){grid-column:2}
}
.phome .st-index{list-style:none;margin:clamp(28px,4vw,48px) 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:0 24px;border-top:1px solid var(--rule-n)}
.phome .st-index a{display:flex;gap:14px;align-items:baseline;padding:16px 0;border-bottom:1px solid var(--rule-n);color:var(--muted-n);transition:color .3s,border-color .3s}
.phome .st-index .n{font:400 11px/1 var(--body);letter-spacing:.2em;font-variant-numeric:tabular-nums}
.phome .st-index .t{font:300 20px/1.2 var(--display)!important}
.phome .st-index a:hover,.phome .st-index a[aria-current="true"]{color:var(--ivory)}
.phome .st-index a[aria-current="true"]{border-bottom-color:var(--glow)}
@media (max-width:700px){
  .phome .st-index{display:flex;gap:26px;overflow-x:auto;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .phome .st-index::-webkit-scrollbar{display:none}
  .phome .st-index li{flex:0 0 auto;scroll-snap-align:start}
  .phome .st-index a{white-space:nowrap}
}
.phome .st-all{margin-top:clamp(32px,4vw,56px)}

/* House */
.phome .house{padding-block:clamp(96px,13vw,176px);background:var(--night-2)}
.phome .house .wrap{container-type:inline-size}
.phome .house .quote{font:300 clamp(22px,3.9cqw,52px)/1.14 var(--display)}
.phome .house .quote em{font-style:italic;color:var(--glow)}
.phome .house .by{margin-top:24px;color:var(--muted-n)}
.phome .house .proof{margin-top:clamp(56px,8vw,96px);display:grid;grid-template-columns:minmax(0,1fr);gap:0;border-top:1px solid var(--rule-n)}
@media (min-width:860px){.phome .house .proof{grid-template-columns:repeat(3,minmax(0,1fr))}}
.phome .house .proof div{padding:26px 28px 26px 0;border-bottom:1px solid var(--rule-n)}
@media (max-width:859px){.phome .house .proof div{padding-right:0}}
@media (min-width:860px){.phome .house .proof div{border-bottom:0;border-right:1px solid var(--rule-n);padding-left:28px}.phome .house .proof div:first-child{padding-left:0}.phome .house .proof div:last-child{border-right:0}}
.phome .house .proof h3{font-size:26px;line-height:1.15}
.phome .house .proof p{margin-top:8px;color:var(--muted-n);font-size:15px}
.phome .house .serial{font:400 13px/1 ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;letter-spacing:.12em;color:var(--glow)}
.phome .house .after{margin-top:40px;display:flex;gap:30px;flex-wrap:wrap}
.phome .house .house-label{color:var(--muted-n)}
.phome .house .quote{margin-top:22px}
.phome .house .proof h3{margin-top:14px}

/* Presentation */
.phome .present{padding-block:clamp(88px,12vw,160px)}
.phome .present .grid{display:grid;grid-template-columns:minmax(0,1fr);gap:48px}
@media (min-width:960px){.phome .present .grid{grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:88px}}
.phome .present h2{font-size:clamp(30px,3.6vw,48px);line-height:1.05}
.phome .present .label{color:#8a6a43}
.phome .present .intro{display:grid;gap:22px;align-content:start}
.phome .present .intro p{color:var(--muted-p)}
.phome form.req{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px 28px}
.phome form.req .full{grid-column:1/-1}
@media (max-width:620px){.phome form.req{grid-template-columns:minmax(0,1fr)}}
.phome .field{display:grid;gap:8px}
.phome .field > label,.phome .field > legend{font:400 11px/1.4 var(--body);letter-spacing:.2em;text-transform:uppercase;color:var(--muted-p)}
.phome .field input,.phome .field select,.phome .field textarea{font:300 17px/1.4 var(--body);color:var(--ink);background:transparent;border:0;border-bottom:1px solid rgba(27,24,21,.35);padding:10px 0;border-radius:0;width:100%;min-width:0}
.phome .field input:focus,.phome .field select:focus,.phome .field textarea:focus{outline:none;border-color:var(--ink)}
.phome .field textarea{display:block;resize:vertical;min-height:64px;max-height:240px}
.phome .field textarea::placeholder{color:var(--muted-p);opacity:1}
.phome fieldset.field{border:0;padding:0;margin:0}
.phome .choices{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin-top:4px}
@media (max-width:520px){.phome .choices{grid-template-columns:minmax(0,1fr)}}
.phome .choice{position:relative}
.phome .choice input{position:absolute;opacity:0;inset:0;cursor:pointer}
.phome .choice span{display:block;border:1px solid rgba(27,24,21,.28);padding:16px 18px;font-size:15px;line-height:1.4;transition:border-color .25s, background .25s}
.phome .choice span b{display:block;font:400 21px/1.2 var(--display)}
.phome .choice input:checked + span{border-color:var(--ink);background:rgba(27,24,21,.04)}
.phome .choice input:focus-visible + span{outline:1px solid #7d5c35;outline-offset:3px}
.phome .check{display:flex;gap:10px;align-items:center;font-size:15px}
.phome .check input{width:16px;height:16px;accent-color:#7d5c35}
.phome .req .foot{display:flex;flex-wrap:wrap;gap:18px 26px;align-items:center}
.phome .req .fine{font-size:13px;color:var(--muted-p)}
.phome .req .fine a{border-bottom:1px solid var(--bronze)}
.phome .field legend{margin:0;padding:0;width:auto;float:none}
.phome .sent{border:1px solid var(--ink);padding:22px 24px}
.phome .sent b{font:400 26px/1.2 var(--display);display:block;margin-bottom:6px}

.phome section{position:relative}

@media (prefers-reduced-motion:reduce){
  .phome .hero-media img,.phome .hero-media figure.active img,.phome .hero-media video,.phome .hero-media figure.active video{animation:none}
  .phome .hero-media figure,.phome .hero-copy{transition:none}
  .phome .mk-photo{transform:scale(1.04)!important}
  .phome .mk-plate.has-b .mk-b{opacity:0}
  .phome .sheen{display:none}
  .phome.js .mk-frame,.phome.js .mk-pic{transition:none;clip-path:none;transform:none}
  .phome .st-slide,.phome .st-img,.phome .st-index a{transition:none}
  .phome .st-img,.phome .st-slide.active .st-img{transform:none}
  .phome .hero-dots button[aria-current="true"]::after{animation:none;width:100%}
  .phome .cta,.phome .choice span{transition:none}
}

/* Justified body text (headings, labels, quotes and one-line captions stay as they are) */
.phome p:not(.label):not(.lede):not(.plate):not(.statement):not(.quote):not(.by):not(.sig):not(.tag):not(.finish):not(.fine):not(.serial):not(.st-intro),.phome .choice span{text-align:justify;text-justify:inter-word;-webkit-hyphens:none;hyphens:none;overflow-wrap:normal;word-break:normal}
.phome .choice span b{text-align:left}

/* The presentation form is sent through the site's enquiry handler (see palena-home.js) */
.phome .req .req-err{grid-column:1/-1;margin:0;font:400 13px/1.5 var(--body);color:#8a2f1e}
.phome .req .req-err[hidden]{display:none}
.phome .req .hp{position:absolute;left:-9999px;top:-9999px;width:1px;height:1px;overflow:hidden}
.phome .req button[disabled]{opacity:.6;cursor:default}


/* Phones: fewer words over the photographs. The small label and the one-line description are left out; the name, the finish and the link stay, and the dark shade only covers the part under them. */
@media (max-width:767px){
  .phome .hero-copy > p.label,.phome .hero .tag,.phome .hero .lede{display:none}
  .phome .hero .hero-actions{margin-top:18px}
  .phome .hero-inner{padding-block:0 28px}
  .phome .hero-shade{background:linear-gradient(180deg, rgba(14,12,10,.5) 0%, rgba(14,12,10,0) 24%, rgba(14,12,10,0) 64%, rgba(14,12,10,.8) 100%)}
  .phome .lightup-copy .grid > div:first-child > p.label,.phome .lightup .tag{display:none}
  .phome .lightup .actions{margin-top:16px;gap:12px 22px}
  .phome .lightup-copy .grid{gap:20px}
  /* the picture, the words and the dimmer are one group, kept together in the middle of the screen: the picture is a little larger (the wings still fit), its top and bottom edges melt into the background (the soft edge is on the picture pair as a whole, not on each picture, so the lit picture covers the unlit one completely), and the words follow right under it */
  .phome .lightup-sticky{display:flex;flex-direction:column;justify-content:center;padding-top:var(--head)}
  .phome .lightup-stage{position:relative;inset:auto;flex:0 0 auto;width:100%;aspect-ratio:1.2 / 1;-webkit-mask-image:linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);mask-image:linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%)}
  .phome .lightup-stage img{object-fit:cover;object-position:50% 42%}
  .phome .lightup-copy{position:relative;left:auto;right:auto;bottom:auto;padding-block:14px 0}
}

/* Phones: the banner picture is shown WHOLE. The phone pictures are 4:5, so the picture frame is 4:5 as well (the old tall frame was about 1:2 and cut a third off the sides, even after the slow zoom-out had finished). The picture sits at the top and its lower part fades away by turning transparent, not by a black cover: behind it is a soft blurred copy of the same picture (made by palena-home.js), so the fade keeps the picture's own colours. The words and the controls are at the bottom, over that soft area. The height of the banner is not set by the screen height: the padding above the words (125% of the width, the height of the 4:5 picture, less 12 px) keeps the words just under the picture on every phone, tall or short. */
.phome .hero-media img.fill{display:none}
@media (max-width:767px){
  .phome .hero{display:flex;align-items:flex-end;aspect-ratio:auto;min-height:0;background:var(--night)}
  .phome .hero-media{position:absolute;inset:0;width:auto;aspect-ratio:auto;overflow:hidden}
  .phome .hero-media img.fill{display:block;position:absolute;left:-60px;top:-60px;width:calc(100% + 120px);height:calc(100% + 120px);max-width:none;object-fit:cover;filter:blur(30px) brightness(.42) saturate(1.12);animation:none!important;opacity:0;transition:opacity .9s ease}
  .phome .hero-media img.fill.on{opacity:1}
  .phome .hero-media picture{position:absolute;left:0;right:0;top:0;display:block;overflow:hidden;aspect-ratio:4/5;-webkit-mask-image:linear-gradient(180deg,#000 54%,rgba(0,0,0,.62) 75%,rgba(0,0,0,.2) 91%,transparent 100%);mask-image:linear-gradient(180deg,#000 54%,rgba(0,0,0,.62) 75%,rgba(0,0,0,.2) 91%,transparent 100%)}
  .phome .hero-media picture img{width:100%;height:100%;object-fit:cover}
  .phome .hero-media figure.slide-video::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,13,11,0) 55%,rgba(15,13,11,.85) 100%)}
  .phome .hero-shade{top:0;right:0;bottom:auto;left:0;height:130px;background:linear-gradient(180deg,rgba(15,13,11,.5) 0%,rgba(15,13,11,0) 100%)}
  .phome .hero-inner{padding-block:calc(125% - 12px) 84px}
  .phome .hero-ui{top:auto;bottom:22px}
}
