/* Bowler & Cane: holding page (shown while the full website is in preparation) */
:root{
  --side:#fbf8f1; --green:#0a2a1e; --green-deep:#071f16; --brass:#c4a661; --brass-soft:#d8c28a; --line:#c4a666; --cream:#f1e9d6;
  --side-w:29%;
  --serif:'EB Garamond',Garamond,'Palatino Linotype',Palatino,Georgia,serif;
  --caps:'Semplicita','Semplicità','Semplicita Pro','Semplicità Pro','Helvetica Neue',Helvetica,Arial,sans-serif;
  --frame:clamp(14px,1.8vw,30px);
  box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px);
  padding-bottom:env(safe-area-inset-bottom,0px);
  background:var(--green);
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--side:#fbf8f1;--green:#0a2a1e}}
:root[data-theme="dark"]{--side:#fbf8f1;--green:#0a2a1e}
*,*::before,*::after{box-sizing:border-box}
html,body{height:100%}
body{margin:0;background:var(--green);color:var(--green);font-family:var(--serif);-webkit-font-smoothing:antialiased}
p,h1{margin:0;font-weight:inherit}
a{color:inherit;text-decoration:none}
a:focus-visible{outline:2px solid var(--brass);outline-offset:4px}
img{display:block;max-width:100%}

.page{display:flex;height:100%;min-height:600px}

/* left: identity */
.side{flex:0 0 var(--side-w);position:relative;background:var(--side);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:26px;padding:96px 32px;text-align:center}
.side .logo{width:min(340px,76%);height:auto;margin:0 auto}
.side .tag{font-style:italic;font-size:clamp(1.1rem,1.4vw,1.3rem);color:#2f4a3f}
.side .copy{position:absolute;left:0;right:0;bottom:32px;font-size:13.5px;font-style:italic;color:#4d5a53}

/* right: photograph with framed message */
.view{flex:1;position:relative;overflow:hidden;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;isolation:isolate;padding:var(--frame)}
.view > img:not(.frame-hat){position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 40%;z-index:-2}
.view::after{content:"";position:absolute;inset:0;z-index:-1;background:rgba(10,42,30,.55)}
.view .frame{position:absolute;inset:var(--frame);border:1px solid var(--line);border-top:0;pointer-events:none}
.view .frame::before,.view .frame::after{content:"";position:absolute;top:0;height:1px;width:calc(50% - 32px);background:var(--line)}
.view .frame::before{left:0}.view .frame::after{right:0}
.view .frame-hat{position:absolute;left:50%;top:var(--frame);width:34px;height:auto;transform:translate(-50%,-55%);pointer-events:none}
.message{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center;padding:0 24px;max-width:760px}
.message .small{font-family:var(--caps);font-weight:300;font-size:clamp(12px,1vw,14px);letter-spacing:.14em;padding-left:.14em}
.message .headline{font-family:var(--caps);font-weight:200;font-size:clamp(2rem,3.6vw,3.4rem);letter-spacing:.14em;padding-left:.14em;line-height:1.15;text-wrap:balance;text-shadow:0 2px 3px rgba(0,0,0,.35),0 4px 18px rgba(0,0,0,.45)}
.message i{font-family:var(--serif);font-style:italic;letter-spacing:0;text-transform:none}
.message .headline i{font-size:.6em;margin:0 .1em}
.message .headline .m-br{display:none} /* line break on phones only */
.message .note{margin-top:8px;font-style:italic;font-size:clamp(1.05rem,1.4vw,1.25rem);color:rgba(255,255,255,.88)}

/* the single way in: private enquiries */
/* a solid ivory button, clearly distinct from the fine brass frame */
.enquire{display:inline-flex;align-items:center;justify-content:center;gap:14px;margin-top:clamp(36px,6vh,64px);min-height:62px;padding:0px 20px;background:var(--side);color:var(--green);box-shadow:0 0 0 1px var(--side),0 0 0 5px rgba(251,248,241,.28);transition:background .3s,color .3s,box-shadow .3s}
.enquire:hover,.enquire:focus-visible{background:var(--brass-soft);color:var(--green);box-shadow:0 0 0 1px var(--brass-soft),0 0 0 5px rgba(216,194,138,.35)}
.enquire span{font-family:var(--caps);font-weight:400;font-size:13.5px;letter-spacing:.16em;padding-left:.16em}
/* the two walking canes from the site menu: on hover they cross with both handles at the top, curling outwards; the upper cane turns over */
.enquire .bars{position:relative;display:block;width:46px;height:24px;flex:0 0 auto}
.enquire .cane{position:absolute;left:0;width:46px;height:10px;overflow:visible;transition:transform .5s cubic-bezier(.65,0,.35,1)}
.enquire .cane:first-child{top:0;transform-origin:23px 8.2px;transform:translate(0,0) rotate(0deg) scale(1,1)}
.enquire .cane:last-child{top:14px;transform-origin:23px 1.8px;transform:translate(0,0) rotate(0deg) scale(1,1)}
.enquire:hover .cane:first-child,.enquire:focus-visible .cane:first-child{transform:translate(0,3.8px) rotate(-24deg) scale(1,-1)}
.enquire:hover .cane:last-child,.enquire:focus-visible .cane:last-child{transform:translate(0,-3.8px) rotate(24deg) scale(1,1)}
@media (prefers-reduced-motion:reduce){.enquire .cane{transition:none}}

@media (max-width:860px){
  .page{flex-direction:column;height:auto}
  .side{flex:none;min-height:56svh;padding:72px 24px 80px}
  .view{flex:none;min-height:72svh;padding:56px 20px}
}

/* the ivory side runs the full height of the page, beside the photograph */
html,body{height:auto;min-height:100%}
.page{height:auto;min-height:max(600px,100vh)}
.col{flex:1;display:flex;flex-direction:column;min-width:0}
.col .view{flex:1 0 auto;min-height:max(600px,100vh)}



/* ===== opening sequence (holding page) =====
   1. the ivory side panel fills the whole screen, with the logo at its centre;
   2. after a short pause the photograph slides in from the right, pushing the panel back to its usual width on the left;
   3. "By Invitation" emerges from the centre, then, a moment later, the Private Office button.
   To remove the sequence, delete this block. */
body{overflow-x:hidden}
.side{animation:side-open 1.4s cubic-bezier(.65,0,.35,1) 1.9s both}
.message .headline{animation:emerge 1.6s cubic-bezier(.2,.6,.2,1) 4s both}
.message .enquire{animation:emerge 1.6s cubic-bezier(.2,.6,.2,1) 4.9s both}
@keyframes side-open{from{flex-basis:100%}to{flex-basis:var(--side-w)}}
@keyframes emerge{from{opacity:0;transform:scale(.9);filter:blur(6px)}to{opacity:1;transform:none;filter:none}}
@media (max-width:860px){.side{animation:none}.message .headline{animation-delay:.8s}.message .enquire{animation-delay:1.5s}}
@media (prefers-reduced-motion:reduce){.side,.message .headline,.message .enquire{animation:none}}
.view{min-width:0}
/* the logo keeps its settled size throughout: measured from the page width, not the panel's changing width */
@media (min-width:861px){.page{container-type:inline-size}.side .logo{width:min(340px,calc(.76 * (29cqw - 64px)))}}
/* ===== end of opening sequence ===== */

/* ===== phones only (860px and narrower) =====
   1. the ivory panel fills the screen, as on desktop;
   2. after a pause it lifts away upwards, revealing the framed photograph;
   3. the logo and "By Invitation" emerge together, then The Private Office button.
   Larger screens are not affected by anything in this block. */
.m-logo,.m-copy{display:none}
@media (max-width:860px){
  .page{position:relative;display:block;height:100svh;min-height:540px;overflow:hidden}
  .side{position:absolute;inset:0;z-index:5;height:auto;min-height:0;padding:72px 24px 80px;animation:m-side-up 1.2s cubic-bezier(.65,0,.35,1) 1.9s both}
  .col{position:absolute;inset:0}
  .col .view{height:100%;min-height:0;padding:72px 20px 56px}
  /* the frame sits the same distance from the top as from the sides; the hat rises 12.5px above its line */
  .view .frame{top:24px}
  /* phones: no bowler hat on the frame, so its top line runs unbroken */
  .view .frame-hat{display:none}
  .view .frame::before,.view .frame::after{width:50%}
  .message .headline .m-br{display:inline}
  /* in proportion with "By Invitation" on a phone: larger words, a slimmer button */
  .message .headline{font-size:2.3rem}
  .enquire{min-height:46px;padding:0 16px;gap:8px;margin-top:30px}
  .enquire span{font-size:11.5px;letter-spacing:.14em;padding-left:.14em}
  .enquire .bars{transform:scale(.75);margin:0 -6px}
  .m-logo{display:block;width:min(230px,62vw);height:auto;margin:0 auto 26px;animation:emerge 1.6s cubic-bezier(.2,.6,.2,1) 3.3s both}
  .message .headline{animation-delay:3.3s}
  .message .enquire{animation-delay:4.1s}
  /* the copyright rests in a gap at the foot of the frame, as the bowler hat does at its top */
  .view .frame{border-bottom:0}
  .m-copy{margin:0;position:absolute;left:var(--frame);right:var(--frame);bottom:var(--frame);z-index:2;display:flex;align-items:center;gap:12px;transform:translateY(50%);pointer-events:none;animation:surface-in 1s ease 3.1s both}
  .m-copy::before,.m-copy::after{content:"";flex:1;height:1px;background:var(--line)}
  .m-copy span{font-family:var(--serif);font-style:italic;font-size:13px;color:rgba(251,248,241,.85);white-space:nowrap}

}
@keyframes surface-in{from{opacity:0}to{opacity:1}}
@keyframes m-side-up{from{transform:none;visibility:visible}to{transform:translateY(-100%);visibility:hidden}}
@media (max-width:860px) and (prefers-reduced-motion:reduce){.side{display:none}.m-logo,.m-copy{animation:none}}
/* ===== end of phones only ===== */

/* ===== the launch banner across the foot of the photograph ===== */
.notice{position:absolute;left:var(--frame);right:var(--frame);bottom:var(--frame);z-index:3;display:flex;align-items:center;justify-content:center;gap:16px;min-height:64px;padding:12px 24px;background:rgba(10,42,30,.88);border-top:1px solid var(--line);color:#fbf8f1;text-align:center;text-decoration:none;animation:surface-in 1.2s ease 5.6s both;transition:background .3s}
.notice p{margin:0;font-family:var(--caps);font-weight:300;font-size:clamp(11.5px,.95vw,13.5px);letter-spacing:.16em;line-height:1.7}
.notice p i{font-family:var(--serif);font-style:italic;font-size:1.18em;letter-spacing:.02em}
.notice .arrow{width:22px;height:13px;flex:none;color:#c4a666;transition:transform .3s}
.notice:hover{background:rgba(10,42,30,.97)}
.notice:hover .arrow{transform:translateX(4px)}
.notice:focus-visible{outline:2px solid #c4a666;outline-offset:-6px}
@media (max-width:860px){.notice{left:0;right:0;bottom:46px;border-bottom:1px solid var(--line);animation-delay:4.6s}.notice p{font-size:11px;letter-spacing:.12em}}
@media (prefers-reduced-motion:reduce){.notice{animation:none}}
/* ===== end of the launch banner ===== */
