:root { -webkit-tap-highlight-color:transparent; }
.studio-header { position:fixed; inset:0 0 auto; z-index:100; display:flex; align-items:center; justify-content:space-between; min-height:66px; padding:0 clamp(20px,5vw,84px); color:#ebe9e4; font:400 16px/1.45 Segoe,sans-serif; }
.studio-header::before { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; background:linear-gradient(100deg,#302e2bdf,#191817df); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); opacity:0; transition:opacity .22s ease; }
.studio-header:is(:hover,:focus-within,.is-scrolled)::before,.interior:not(.page-projects) .studio-header::before { opacity:1; }
.studio-header .brand { display:flex; align-items:center; gap:12px; color:inherit; font:400 22px/1.2 Agency,sans-serif; text-decoration:none; }
.studio-header .brand img { width:34px; height:auto; filter:grayscale(1) brightness(1.65); }
.brand-loader { display:none; }
@media(prefers-reduced-motion:no-preference) {
  .brand-loader {
    display:grid; place-items:center; position:fixed; inset:0; z-index:2000;
    pointer-events:none; animation:brand-loader-expire 1.9s step-end both;
  }
  .brand-loader::before {
    content:""; position:absolute; inset:0;
    background:radial-gradient(ellipse at center,#28241f,#141311 72%);
    animation:brand-loader-exit 1.9s ease both;
  }
  .brand-loader-lockup { display:grid; justify-items:center; padding:20px; }
  .brand-loader .brand-mark { position:relative; width:clamp(96px,16vw,154px); animation:brand-loader-exit 1.9s ease both; }
  .brand-loader .brand-mark img { position:relative; z-index:1; display:block; width:100%; height:auto; animation:brand-materialize 1.55s ease both; }
  .brand-loader .brand-trace {
    position:absolute; inset:0; width:100%; height:100%;
    stroke:#e2bc83; stroke-width:9; stroke-linecap:round; stroke-linejoin:round;
    animation:brand-trace-layer 1.55s ease both;
  }
  .brand-loader .brand-trace path {
    stroke-dasharray:1; stroke-dashoffset:1;
    animation:brand-draw .8s cubic-bezier(.25,.65,.33,1) .12s forwards;
  }
  .brand-loader .brand-trace path:nth-child(2) { animation-delay:.22s; }
  .brand-loader .brand-trace path:nth-child(3) { animation-delay:.32s; }
  @keyframes brand-loader-expire { to { visibility:hidden; } }
  @keyframes brand-loader-exit { 0%,65% { opacity:1; } 100% { opacity:0; } }
  @keyframes brand-trace-layer {
    0%,100% { opacity:0; }
    15%,70% { opacity:1; }
  }
  @keyframes brand-draw { to { stroke-dashoffset:0; } }
  @keyframes brand-materialize {
    0%,45% { opacity:0; }
    100% { opacity:1; }
  }
}
body :is(button:not(.drawer-shade,.project-photo),.btn,.cta,.studio-button,.footer-invite a,[role="button"]):not(:disabled):is(:active,:focus-visible) {
  filter:brightness(1.18);
}
@media(hover:hover) {
  body :is(button:not(.drawer-shade,.project-photo),.btn,.cta,.studio-button,.footer-invite a,[role="button"]):not(:disabled):hover {
    filter:brightness(1.18);
  }
}
body.home-page .hero .hero-cta {
  gap:14px; background:#433a2fe8 linear-gradient(108deg,#ffffff25,transparent 66%);
}
body.home-page .hero .hero-cta:is(:hover,:focus-visible,:active) {
  background:#e3c397 linear-gradient(108deg,#ffffff25,transparent 66%);
  color:#231b13; border-color:#f8deb6; filter:none;
}
@media(prefers-reduced-motion:no-preference) {
  body.home-page .hero .hero-cta { transition:background-color .32s ease,color .22s ease,border-color .28s ease; }
  .hero-cta span { transition:transform .25s ease; }
  .hero-cta:is(:hover,:focus-visible) span { transform:translateX(3px); }
}
.studio-header button { padding:0; background:none; border:0; color:inherit; font:inherit; cursor:pointer; }
.studio-header .menu,.studio-header .drawer-close,.studio-header .drawer-shade { display:none; }
.studio-header #navigation { display:flex; align-items:center; gap:clamp(22px,3vw,50px); font-size:16px; }
.studio-header details { position:relative; }
.studio-header summary { padding:10px; cursor:pointer; list-style:none; }
.studio-header summary::-webkit-details-marker { display:none; }
.studio-header details > div { position:absolute; right:0; min-width:175px; padding:8px 14px; border:1px solid #ffffff25; background:#272520fa; }
.studio-header details a { display:block; padding:10px 0; color:inherit; text-decoration:none; }
.studio-header details a:hover { color:#dfc191; }
.drawer-open,.drawer-open body { overflow:hidden; }
@media(max-width:1100px) {
  .studio-header { min-height:60px; }
  .studio-header .brand { font-size:21px; gap:10px; }
  .studio-header .menu { display:inline-flex; align-items:center; justify-content:center; gap:5px; width:44px; height:44px; }
  .studio-header .menu i { width:5px; height:5px; border-radius:50%; background:currentColor; }
  .studio-header .drawer-shade:not([hidden]) { display:block; position:fixed; inset:0; background:#08080791; backdrop-filter:blur(4px); }
  .studio-header nav#navigation { position:fixed; inset:0 0 0 auto; display:flex; flex-direction:column; align-items:stretch; gap:0; width:min(86vw,440px); height:100dvh; overflow:auto; padding:22px 28px 48px; background:linear-gradient(155deg,#24221ff5,#1b1917df),url('hero/pavilion-editorial-mobile.jpg') center/cover; visibility:hidden; transform:translateX(101%); transition:transform .35s ease,visibility .35s; }
  .studio-header nav#navigation.open { visibility:visible; transform:none; }
  .studio-header .drawer-close { display:block; align-self:flex-end; width:44px; height:44px; font-size:26px; }
  .studio-header details { border-bottom:1px solid #ffffff26; }
  .studio-header summary { padding:18px 0; font:26px Agency,sans-serif; }
  .studio-header summary::after { content:"+"; float:right; color:#d7b884; }
  .studio-header details[open] summary::after { content:"\2212"; }
  .studio-header details > div { position:static; border:0; background:none; padding:0 0 12px; }
}
.interior { --gutter:clamp(20px,5vw,84px); }
.interior .btn,.studio-button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 22px; border:1px solid #bca178; border-radius:18px 4px; color:#fff0da; background:linear-gradient(115deg,#554937,#39332b); font:400 16px/1.25 Segoe,sans-serif; text-decoration:none; }
.interior .btn:is(:hover,:focus-visible),.studio-button:is(:hover,:focus-visible) { background:#dfc191; color:#211c15; text-decoration:none; }
.studio-pair .studio-button { justify-self:center; margin-top:20px; }
.studio-pair .studio-tile,.studio-pair #clients.studio-tile { grid-template-rows:auto 1fr auto; }
@media(max-width:700px) {
  :root { --type-copy:16px; --type-caption:14px; --type-section:25px; }
  body main .hero h1 { font-size:clamp(44px,12vw,62px); line-height:1.04; }
  .contact-rail,.contact-rail .contact-trigger { width:56px; height:56px; }
  .contact-rail .contact-trigger::before { width:37px; height:37px; }
  .contact-trigger .chat-mark { width:25px; height:25px; }
  .interior .floating-trigger { width:56px; height:56px; }
}
@media(prefers-reduced-motion:no-preference) {
  .hero picture { animation:studio-image-in .75s ease-out both; }
  .hero-copy,.interior main { animation:studio-content-in .6s cubic-bezier(.22,.68,.3,1) both; }
  @keyframes studio-image-in { from {opacity:.25} to {opacity:1} }
  @keyframes studio-content-in { from {opacity:.35;translate:0 7px} to {opacity:1;translate:0 0} }
}
@media(prefers-reduced-motion:reduce) { .studio-header nav#navigation { transition:none; } }
.studio-header,.studio-header * { -webkit-tap-highlight-color:transparent; }
@media(max-width:1100px) {
  .studio-header .menu { position:relative; z-index:2; transform:rotate(0); transition:transform .44s cubic-bezier(.22,.75,.2,1); }
  .studio-header .menu i { position:absolute; inset:auto; width:5px; height:5px; transition:width .28s,height .28s,transform .42s cubic-bezier(.22,.75,.2,1); }
  .studio-header .menu i:first-child { transform:translateX(-5px); }
  .studio-header .menu i:last-child { transform:translateX(5px); }
  .studio-header .menu[aria-expanded="true"] { transform:rotate(180deg); color:#edddc2; }
  .studio-header .menu[aria-expanded="true"] i { width:20px; height:2px; border-radius:2px; }
  .studio-header .menu[aria-expanded="true"] i:first-child { transform:rotate(45deg); }
  .studio-header .menu[aria-expanded="true"] i:last-child { transform:rotate(-45deg); }
  .studio-header nav#navigation {
    z-index:1; padding-top:76px;
    background:linear-gradient(165deg,#1e1d1bf5 12%,#23211ef0 42%,#1a1916a8 80%,#18171595),url('img/la-venetian/02-sm.webp') 46% bottom / cover;
    transition:transform .44s cubic-bezier(.22,.75,.2,1),visibility .44s;
  }
}
@media(prefers-reduced-motion:reduce) {
  .studio-header nav#navigation,.studio-header .menu,.studio-header .menu i { transition:none; }
}
.studio-header #navigation > a { display:block; padding:10px; font:inherit; color:inherit; text-decoration:none; }
.studio-header #navigation a:is(:hover,:focus-visible),.studio-header #navigation summary:hover { color:#e8c996; text-decoration:none; }
.studio-header #navigation details { position:relative; }
@media(min-width:1101px) {
  .studio-header #navigation details > div { inset:100% auto auto 0; width:max-content; min-width:0; padding:6px 8px; border:1px solid #bfa37880; border-radius:18px 3px; background:linear-gradient(125deg,#38332df7,#23221ff5); box-shadow:0 12px 30px #0004; }
  .studio-header #navigation details a { padding:10px 8px; }
  @media(prefers-reduced-motion:no-preference) { .studio-header details[open] > div { animation:studio-content-in .18s ease-out; } }
}
@media(max-width:1100px) {
  .studio-header #navigation > a { padding:18px 0; border-bottom:1px solid #ffffff26; font:26px Agency,sans-serif; }
}
.studio-header #navigation .project-nav { position:relative; display:flex; align-items:center; }
.studio-header #navigation .project-nav-link { display:block; padding:10px 0; color:inherit; text-decoration:none; }
.studio-header #navigation .project-nav details { position:static; border:0; }
.studio-header #navigation .project-nav summary {
  display:grid; place-items:center; width:44px; height:44px; padding:0; color:#d7b884;
}
.studio-header #navigation .project-nav summary::after {
  content:"+"; float:none; font:22px/1 Segoe,sans-serif;
}
.studio-header #navigation .project-nav details[open] summary::after { content:"−"; }
@media(min-width:1101px) {
  .studio-header #navigation .project-nav summary { display:none; }
}
@media(max-width:1100px) {
  .studio-header #navigation .project-nav { display:block; border-bottom:1px solid #ffffff26; }
  .studio-header #navigation .project-nav-link { padding:18px 50px 18px 0; font:26px Agency,sans-serif; }
  .studio-header #navigation .project-nav summary { position:absolute; inset:8px 0 auto auto; }
}
.interior .toolbar { padding-inline:0; margin-block:0 24px; }
body :is(.hero,.studio-intro,.directory-action) .cta,.interior .btn,.studio-button {
  border:1px solid #bca178; border-radius:18px 4px; background:linear-gradient(115deg,#554937,#39332b); color:#fff0da;
  box-shadow:inset 0 1px 0 #fff3; text-transform:none; letter-spacing:normal;
}
.interior .btn:is(:hover,:focus-visible),body :is(.hero,.studio-intro,.directory-action) .cta:is(:hover,:focus-visible),.studio-button:is(:hover,:focus-visible) { background:#dfc191; color:#211c15; }
.interior .contact-rail { position:fixed; z-index:15; right:0; top:50%; transform:translateY(-50%); }
.interior .contact-trigger,.interior #rail-links[hidden] { display:none; }
.interior #rail-links { display:grid; padding:6px 2px; border:1px solid #c2b49666; border-right:0; border-radius:20px 0 0 20px; background:linear-gradient(128deg,#47433cd4,#242320c9); backdrop-filter:blur(8px); }
.interior #rail-links a { display:grid; position:relative; place-items:center; width:44px; height:44px; color:#efe5d5; }
.interior #rail-links svg { width:18px; height:18px; }
.interior #rail-links span { position:absolute; right:100%; white-space:nowrap; background:#272522; padding:4px 10px; opacity:0; pointer-events:none; }
.interior #rail-links a:is(:hover,:focus-visible) span { opacity:1; }
@media(max-width:700px) {
  .interior .contact-rail { top:auto; bottom:max(16px,env(safe-area-inset-bottom)); transform:none; }
  .interior .contact-trigger { display:grid; place-items:center; position:relative; isolation:isolate; border:0; padding:0; background:none; color:#efd9b6; }
  .interior .contact-trigger::before { content:""; position:absolute; z-index:-1; width:37px; height:37px; transform:rotate(45deg); border:1px solid #bba88b; border-radius:3px; background:#38342dbd; backdrop-filter:blur(7px); }
  .interior .contact-trigger[aria-expanded=true] svg { visibility:hidden; }

  .interior #rail-links { position:absolute; bottom:100%; right:0; border-radius:18px 3px; }
}

@media(max-width:700px) {
  @font-face {
    font-family:HomeDisplay;
    src:url('../redesign/fonts/agency-fb-regular.woff') format('woff');
    font-display:block;
  }
  .home-page .studio-header .brand,.home-page main .hero h1 { font-family:HomeDisplay,Agency,sans-serif; }
  .home-page footer.studio-footer { grid-template-columns:minmax(0,1.45fr) minmax(0,1fr); column-gap:clamp(12px,4vw,24px); justify-items:center; text-align:center; }
  .home-page .studio-footer .footer-invite { width:100%; }
  .home-page .studio-footer :is(.footer-contact,.footer-pages) { align-items:center; justify-items:center; }
  :is(.home-page,.interior) .contact-rail { bottom:calc(32px + env(safe-area-inset-bottom,0px)); }
  :is(.home-page,.interior) .contact-rail,:is(.home-page,.interior) .contact-trigger { width:56px; height:56px; }
  :is(.home-page,.interior) .contact-trigger::before { width:37px; height:37px; }
  :is(.home-page,.interior) .contact-trigger .chat-mark { width:25px; height:25px; }
}

@media(max-width:700px) {
  :is(.home-page,.interior) #rail-links { overflow:clip; }
  :is(.home-page,.interior) #rail-links a { width:56px; height:56px; }
  :is(.home-page,.interior) #rail-links svg { width:24px; height:24px; }
}
@media(max-width:700px) and (prefers-reduced-motion:no-preference) {
  :is(.home-page,.interior) #rail-links:not([hidden]) {
    animation:none;
    transform-origin:bottom right;
    opacity:1;
    transform:scaleY(1);
    transition:opacity .24s ease, transform .36s cubic-bezier(.22,.72,.24,1);
  }
  :is(.home-page,.interior) #rail-links:not([hidden]) a {
    animation:none;
    opacity:1;
    transform:translateY(0);
    transition:opacity .28s ease, transform .34s cubic-bezier(.22,.72,.24,1);
    transition-delay:calc(120ms - var(--delay,0ms));
  }
  :is(.home-page,.interior) #rail-links.closing:not([hidden]) {
    opacity:0;
    transform:scaleY(.94);
    transition-delay:.24s;
  }
  :is(.home-page,.interior) #rail-links.closing:not([hidden]) a {
    opacity:0;
    transform:translateY(8px);
    transition-delay:var(--delay,0ms);
  }
  @starting-style {
    :is(.home-page,.interior) #rail-links:not([hidden]) { opacity:0; transform:scaleY(.94); }
    :is(.home-page,.interior) #rail-links:not([hidden]) a { opacity:0; transform:translateY(8px); }
  }
}

/* The four client marks share a pair of fine, tapered rules. */
.home-page .studio-pair #clients .client-marks {
  background:
    linear-gradient(90deg,transparent,#c9ad7b45,transparent) center / 94% 1px no-repeat,
    linear-gradient(transparent,#c9ad7b45,transparent) center / 1px 94% no-repeat;
}
.home-page .studio-pair #clients > h2,
.home-page .studio-pair #distinction-title { text-align:center; }
.home-page .studio-pair .recognition-content { justify-items:center; text-align:center; }

@media(max-width:700px) and (max-height:420px) {
  :is(.home-page,.interior) #rail-links:not([hidden]) { grid-auto-flow:column; }
  :is(.home-page,.interior) #rail-links a { width:min(56px,18vw); }
}

.home-page .studio-feature { display:grid; grid-template-rows:auto 1fr; min-width:0; }
.home-page .studio-feature > h2 {
  margin:0 0 clamp(20px,2.5vw,36px); padding:0; border:0;
  text-align:center; text-transform:uppercase; letter-spacing:.13em;
  font:400 var(--type-section)/1.2 Agency,sans-serif;
}
.home-page .studio-feature > h2 span { color:var(--gold); }
.home-page .studio-feature #distinction-title { padding:0; border:0; margin:0 0 clamp(20px,2.5vw,36px); }
.home-page .studio-feature .studio-tile,.home-page .studio-feature #clients.studio-tile { grid-template-rows:1fr auto; }
.home-page .studio-feature #clients .client-marks li div { grid-template-rows:64px; }
.home-page .studio-feature #clients .client-marks img[src$="echor.svg"] {
  width:min(78px,85%); height:36px; align-self:center; padding:4px 7px;
}

@media(max-width:1100px) and (prefers-reduced-motion:no-preference) {
  .studio-header details[open] > div a { animation:studio-link-enter .34s ease-out backwards; }
  .studio-header details[open] > div a:nth-child(2) { animation-delay:45ms; }
  .studio-header details[open] > div a:nth-child(3) { animation-delay:90ms; }
  .studio-header details[open] > div a:nth-child(4) { animation-delay:135ms; }
  @keyframes studio-link-enter { from { opacity:0; transform:translateX(9px); } to { opacity:1; transform:none; } }
}

@media(max-width:700px) and (prefers-reduced-motion:no-preference) {
 .interior .contact-trigger::before { transition:transform .42s ease; }
 .interior .contact-trigger[aria-expanded=true]::before { transform:rotate(135deg); }
}

.contact-trigger .close-mark {
  position:absolute; inset:0; margin:auto; width:22px; height:22px;
  pointer-events:none; opacity:0; transform:rotate(-90deg);
  stroke-dasharray:1; stroke-dashoffset:1;
  transition:transform .42s ease, stroke-dashoffset .32s ease, opacity .18s;
}
.contact-rail .contact-trigger[aria-expanded=true] .close-mark {
  opacity:1; visibility:visible; transform:rotate(0); stroke-dashoffset:0;
}
@media(prefers-reduced-motion:reduce) {
  .contact-trigger .close-mark { transition:none; }
}

@media(min-width:701px) {
  :is(.home-page,.interior) #rail-links a span {
    background:#282521ed; color:#f0e2cb; border:1px solid #bca17765;
    border-radius:13px 3px; padding:6px 12px;
  }
}
@media(min-width:701px) and (prefers-reduced-motion:no-preference) {
  :is(.home-page,.interior) #rail-links a span { transition:opacity .22s ease; }
}
@media(max-width:700px) and (prefers-reduced-motion:no-preference) {
  .contact-trigger[aria-expanded=false] { animation:contact-greeting .85s 1.6s ease both; }
  @keyframes contact-greeting {
    0%,100% { scale:1; }
    45% { scale:1.13; }
  }
}

@media(max-width:700px), (hover:none) and (pointer:coarse) {
  body:is(.home-page,.interior) .contact-rail {
    position:fixed; z-index:30;
    inset:150px 0 auto auto;
    width:auto; height:auto;
    transform:none; animation:none; transition:none;
  }
  body:is(.home-page,.interior) #rail-links:not([hidden]) {
    display:grid; position:static; grid-auto-flow:row;
    padding:6px 0; border-right:0; border-radius:20px 0 0 20px;
    max-height:calc(100svh - 162px); overflow-y:auto;
    opacity:1; transform:none;
    background:linear-gradient(145deg,#62574780,#26221c8c 58%,#39302580);
    -webkit-backdrop-filter:blur(9px) saturate(130%); backdrop-filter:blur(9px) saturate(130%);
    animation:none; transition:none;
  }
  body:is(.home-page,.interior) #rail-links:not([hidden]) a {
    width:44px; height:44px;
    opacity:1; transform:none;
    animation:none; transition:none;
  }
  body:is(.home-page,.interior) #rail-links:not([hidden]) svg { width:17px; height:17px; }
  body:is(.home-page,.interior) #rail-links a span { display:none; }
}
@media(max-height:420px) and (pointer:coarse) {
  body:is(.home-page,.interior) .contact-rail { top:72px; }
  body:is(.home-page,.interior) #rail-links:not([hidden]) { max-height:calc(100svh - 84px); }
}
