/* The logo uses its approved vector as the stencil for reflected light. */
.studio-header .studio-brand { position: relative; }
.studio-header .studio-brand::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(108deg, transparent 38%, #fbe2bb88 46%, #fff3d9 50%, #fbe2bb88 54%, transparent 62%) 130% 0 / 300% 100% no-repeat;
  -webkit-mask: url("/asaiah/brand/wordmark-dark.svg") center / contain no-repeat;
  mask: url("/asaiah/brand/wordmark-dark.svg") center / contain no-repeat;
  opacity: 0;
}
@keyframes ae-foil-pass {
  0% { opacity: 0; background-position-x: 95%; }
  14%, 77% { opacity: .92; }
  100% { opacity: 0; background-position-x: 0%; }
}

/* These three primary actions share a satin face and a polished metal rim. */
.studio-header .header-request, .hero-actions .hero-request, .project-form .solid-action {
  --ae-hotspot: 30%;
  --ae-surface: linear-gradient(115deg, #383129, #2b2824 50%, #211e1b);
  --ae-rim: linear-gradient(118deg, #aa7950, #f1d0a5 17%, #9e724e 46%, #d8ae7d 80%, #966b49);
  position: relative;
  color: #fff3df;
  border: 1px solid transparent;
  border-radius: 3px;
  background: var(--ae-surface) padding-box, var(--ae-rim) border-box;
  box-shadow: inset 0 1px 0 #fff4dc12, 0 2px 4px #1a140e26;
}
.hero-actions .hero-request {
  --ae-surface: linear-gradient(107deg, #efbf8f 0%, #dfab7a 47%, #cd9266 100%);
  --ae-rim: linear-gradient(118deg, #ffe0b8, #bc8c68 45%, #edc399);
  color: #22180f;
}
.studio-header .header-request:hover, .hero-actions .hero-request:hover, .project-form .solid-action:hover {
  color: #fff7ea;
  border-color: transparent;
  background: var(--ae-surface) padding-box, var(--ae-rim) border-box;
}
.hero-actions .hero-request:hover { color: #20160e; }
.studio-header .header-request::before, .hero-actions .hero-request::before, .project-form .solid-action::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: -1px 3px auto;
  height: 2px;
  background: radial-gradient(ellipse 36px 2px at var(--ae-hotspot) 50%, #fff8e7, #f1cf9eaa 45%, transparent 100%);
  opacity: .56;
}
.ae-direction {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  width: .75em;
  height: .75em;
  margin-left: .72em;
  border-top: 1.5px solid;
  border-right: 1.5px solid;
}
.ae-direction::after {
  content: "";
  position: absolute;
  width: 1em;
  right: 0;
  top: -1px;
  border-top: 1.5px solid;
  transform: rotate(-45deg);
  transform-origin: right top;
}
.project-form .solid-action { gap: .85em; }
.project-form .solid-action::after {
  content: "";
  width: .85em;
  height: .85em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 13 13 3M3 3h10v10' fill='none' stroke='black' stroke-width='1.65'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 13 13 3M3 3h10v10' fill='none' stroke='black' stroke-width='1.65'/%3E%3C/svg%3E") center / contain no-repeat;
}
.studio-header .header-request:active, .hero-actions .hero-request:active, .project-form .solid-action:active {
  box-shadow: inset 0 2px 5px #130c083d;
}
.studio-nav > a { position: relative; }
.studio-nav > a::after {
  content: "";
  position: absolute;
  bottom: 6px;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg, #9d7052, #f0d1a5);
  transform: scaleX(0);
  transform-origin: left;
}

/* A photographic margin and a ruled form make the project enquiry read as one spread. */
.enquiry.section-space {
  background: linear-gradient(118deg, #f7f3ea, #ece4d5);
  color: #29251e;
  border-top: 1px solid #b9a487;
}
.enquiry-inner { align-items: start; }
.enquiry-copy {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  align-self: stretch;
  min-height: 33rem;
  padding: clamp(26px, 3.1vw, 54px) clamp(23px, 3.2vw, 55px) clamp(110px, 11vw, 190px);
  background: #28231d;
  color: #fbf4e6;
}
.enquiry-copy > img { position: relative; width: 144px; margin: 0 0 19px -8px; }
.enquiry-copy .section-label { color: #edc59d; }
.enquiry-copy h2 { color: #fff8ea; font-size: clamp(44px, 4.25vw, 73px); }
.enquiry-copy h2 em { color: #edcfaa; }
.enquiry-copy > p:not(.section-label) { color: #f0e8da; max-width: 31ch; }
.enquiry-copy .email-link { color: #fff7e9; border-bottom-color: #c4a988; text-decoration-thickness: 1px; text-underline-offset: .25em; overflow-wrap: anywhere; }
.ae-studio-detail {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: #29251f;
}
.ae-studio-detail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 65%;
  filter: saturate(.7) sepia(.16);
}
.ae-studio-detail::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(157deg, #171713f5 4%, #1e1c18eb 28%, #211c17aa 53%, #2c221535 76%, #41301c12);
}
.ae-studio-detail::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 9px;
  border: 1px solid #ecd6b747;
}
.enquiry-inner .project-form {
  padding-top: clamp(17px, 2vw, 29px);
  border-top: 2px solid #a77853;
}
.enquiry-inner .project-form :is(input, select, textarea) {
  border: 1px solid #b9ad98;
  border-bottom-color: #887762;
  background-color: #fcfaf5;
  color: #29251e;
}
.enquiry-inner .project-form :is(input, select, textarea):focus-visible {
  outline: 2px solid #865a39;
  outline-offset: 2px;
}
.enquiry-inner .project-form :is(input, textarea)::placeholder { color: #6c6257; }

/* The cursor body is painted by the OS. The reflected arc sits above the motion ribbon. */
@media (any-hover:hover) and (any-pointer:fine) and (prefers-reduced-motion:no-preference) and (forced-colors:none) {
  html[data-ae-mouse] body { cursor:url("/asaiah/brand/cursor-nib.png") 3 2, auto; }
  html[data-ae-mouse] :is(a[href],button,summary,select,[role=tab]) { cursor:url("/asaiah/brand/cursor-link.png") 3 2, pointer; }
  html[data-ae-mouse] input[type=range],
  html[data-ae-mouse] .room-compare[data-interactive] .room-range,
  html[data-ae-mouse] .comparison.interactive #split { cursor:url("/asaiah/brand/cursor-drag.png") 16 16, ew-resize; }
  html[data-ae-mouse] :is(textarea,input:not([type=range]):not([type=submit]):not([type=button]),[contenteditable=true]) { cursor:text; }
  html[data-ae-mouse] :is(select,button:disabled) { cursor:auto; }
  html[data-ae-mouse] :is(.hero-description,.project-form label,.enquiry-copy p,.policy-content p) { cursor:text; }
}
.ae-pointer-light,.ae-click-ring {
  position:fixed; z-index:10000; box-sizing:border-box; pointer-events:none; user-select:none; opacity:0; border-radius:50%;
}
.ae-pointer-light {
  top:-19px; left:-19px; width:38px; height:38px;
  transition:opacity .18s ease-out;
}
.ae-pointer-light::before,.ae-pointer-light::after,.ae-click-ring::before,.ae-click-ring::after {
  content:""; position:absolute; pointer-events:none; border-radius:50%;
}
.ae-pointer-light::before {
  inset:3px;
  background:conic-gradient(from 30deg,transparent 0deg 85deg,#b7835840 112deg,#e9bb8e 151deg,#fff1d4 174deg,#ae7648 201deg,transparent 227deg);
  -webkit-mask:radial-gradient(closest-side,transparent calc(100% - 1.6px),#000 calc(100% - 1px));
  mask:radial-gradient(closest-side,transparent calc(100% - 1.6px),#000 calc(100% - 1px));
}
.ae-pointer-light::after { inset:0; background:radial-gradient(ellipse at 21% 55%,#cb945a55,transparent 47%); }
.ae-pointer-light.is-lit { opacity:.75; }
.ae-pointer-light[data-surface=scene]::before { inset:0; }
.ae-pointer-light[data-surface=scene].is-lit { opacity:1; }
.ae-pointer-light[data-surface=link]::before { inset:7px; }
.ae-pointer-light[data-surface=metal]::before { inset:9px; }
.ae-pointer-light[data-surface=paper]::after { opacity:.4; }
.ae-click-ring {
  width:44px;height:44px;margin:-22px 0 0 -22px;
  border:1px solid #b47d53;
  box-shadow:0 0 0 1px #442d1d40,inset 0 0 0 1px #ffe2b99c;
}
.ae-click-ring::before {
  inset:4px;
  border:1px solid transparent; border-left-color:#d0a376; border-right-color:#98633d;
  background:linear-gradient(#e6bd91,#e6bd91) center top/1px 4px no-repeat,
             linear-gradient(#a67a52,#a67a52) center bottom/1px 4px no-repeat;
}
.ae-click-ring[data-action=yes]::after { inset:14px; background:url("/asaiah/brand/symbol.svg") center/contain no-repeat; border-radius:0; }
:is(.brief-button,.commission,.nav-brief) { position:relative; }
:is(.brief-button,.commission,.nav-brief)::before {
  content:""; position:absolute; inset:0 2px auto; height:1px; pointer-events:none;
  background:radial-gradient(ellipse 38px 2px at var(--ae-hotspot,32%) 50%,#f4dbb2,transparent); opacity:.8;
}
@media (prefers-reduced-motion:no-preference) and (hover:hover) {
  .room-viewport:has(.room-range:hover) .room-grip,.compare-images:has(#split:hover) .divider span {
    box-shadow:0 0 0 2px #4c392b,0 0 0 3px #d5b287,0 4px 14px #20180e55;
  }
}

@media (max-width: 840px) {
  .enquiry-copy { min-height: 0; padding: 26px 25px 39px; }
  .enquiry-copy > img { width: 115px; margin-bottom: 11px; }
  .enquiry-copy h2 { font-size: clamp(38px, 7vw, 56px); }
  .enquiry-copy > p:not(.section-label) { margin-top: 14px; }
  .enquiry-copy .email-link { margin-top: 15px; }
  .ae-studio-detail img { object-position: right 52%; }
  .ae-studio-detail::before { background: linear-gradient(105deg, #1a1814f5 0%, #211c18ed 28%, #201a16bc 62%, #221b16a1 100%); }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .studio-header .studio-brand:is(:hover, :focus-visible)::after { animation: ae-foil-pass .86s cubic-bezier(.33,.03,.43,1) both; }
  .studio-header .header-request:hover::before, .hero-actions .hero-request:hover::before,
  .project-form .solid-action:hover::before { opacity: 1; }
  .ae-direction, .project-form .solid-action::after, .hero-request > span { transition: transform .2s cubic-bezier(.2,.7,.25,1); }
  .header-request:hover .ae-direction, .project-form .solid-action:hover::after { transform: translate(1.5px,-1.5px); }
  .hero-request:hover > span { transform: translateX(2px); }
  .studio-nav > a::after { transition: transform .22s cubic-bezier(.22,.61,.36,1); }
  .studio-nav > a:is(:hover,:focus-visible)::after { transform: scaleX(1); }
  .studio-nav > a:hover { text-decoration: none; }
}
@media (prefers-reduced-motion: reduce), (forced-colors: active), print {
  .ae-pointer-light, .ae-click-ring, .studio-header .studio-brand::after { display: none; }
}
@media (forced-colors: active) {
  .studio-header .header-request, .hero-actions .hero-request, .project-form .solid-action {
    color: ButtonText; background: ButtonFace; border: 1px solid ButtonText;
  }
  .enquiry-inner .project-form :is(input, select, textarea):focus-visible { outline-color: Highlight; }
}

.ae-motion-ribbon {
  position:fixed;
  inset:0 auto auto 0;
  width:444px;
  height:444px;
  max-width:none;
  z-index:9999;
  pointer-events:none;
  user-select:none;
  visibility:hidden;
}
.ae-motion-ribbon.is-drawn { visibility:visible; }

@media (any-hover:hover) and (any-pointer:fine) and (prefers-reduced-motion:no-preference) and (forced-colors:none) {
  /* The mask keeps the grazing light on the office side of the composition. */
  .hero-field::after {
    content:"";
    position:absolute;
    z-index:1;
    inset:0;
    pointer-events:none;
    background:linear-gradient(108deg,transparent 25%,#d9965420 37%,#ffd7a255 45%,#ffedce38 46%,#d7996420 53%,transparent 61%)
      calc(29% - var(--ae-travel-x,0) * 25%) calc(50% + var(--ae-travel-y,0) * 20%) / 235% 145% no-repeat;
    -webkit-mask-image:linear-gradient(90deg,transparent 23%,#0006 43%,#000 62%);
    mask-image:linear-gradient(90deg,transparent 23%,#0006 43%,#000 62%);
    mix-blend-mode:screen;
    opacity:0;
    transition:opacity .36s ease-out;
  }
  .hero-field[data-ae-light]::after { opacity:.96; }
}
@media (min-width:901px) and (any-hover:hover) and (any-pointer:fine) and (prefers-reduced-motion:no-preference) and (forced-colors:none) {
  .directory-plate-frame img {
    translate:0 0;
    scale:1;
    transition:translate .36s ease-out, scale .36s ease-out;
  }
  .directory-plate-frame[data-ae-light] img {
    translate:calc(var(--ae-travel-x,0) * -7px) calc(var(--ae-travel-y,0) * -3px);
    scale:1.065;
    transition:translate 65ms linear, scale .28s ease-out;
  }
  .directory-plate-frame::before {
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
    background:linear-gradient(106deg,transparent 33%,#ffe7bb28 45%,#fff2d73d 48%,transparent 63%)
      calc(50% - var(--ae-travel-x,0) * 40%) 50% / 225% 100% no-repeat;
    opacity:0;
    transition:opacity .3s;
  }
  .directory-plate-frame[data-ae-light]::before { opacity:1; }
}
@media (prefers-reduced-motion:reduce), (forced-colors:active), print {
  .ae-motion-ribbon { display:none; }
}
