@font-face {
  font-family: 'Agency Hanken';
  src: url('/fonts/hanken-grotesk-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.agency-masthead, .agency-footer, .agency-skip {
  --shell-gutter: clamp(20px, 4.4vw, 80px);
  font-family: 'Agency Hanken', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
:is(.agency-masthead, .agency-footer) *, .agency-masthead, .agency-footer { box-sizing: border-box; }
.agency-masthead a, .agency-footer a { color: inherit; text-decoration: none; }
.agency-masthead :is(a, summary):focus-visible, .agency-footer :is(a, summary):focus-visible, .agency-skip:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
a.agency-skip {
  position: fixed;
  z-index: 10001;
  left: 16px;
  top: 12px;
  padding: 12px 18px;
  background: #131514;
  color: white;
  transform: translateY(-160%);
  text-decoration: none;
}
a.agency-skip:focus { transform: none; }

body .agency-masthead {
  position: relative;
  z-index: 99;
  margin: 0;
  padding: 0;
  background: #f8f8f4;
  color: #131514;
  border-bottom: 1px solid #d2d4ca;
}
.agency-masthead-inner, .agency-footer-inner {
  width: 100%;
  max-width: 1512px;
  margin: 0 auto;
  padding-inline: var(--shell-gutter);
}
.agency-masthead-inner {
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.agency-masthead .agency-brand { display: inline-flex; width: fit-content; align-items: center; min-height: 44px; }
.agency-masthead .agency-brand img { display: block; width: clamp(120px, 10.8vw, 164px); height: auto; }
.agency-desktop-nav, .agency-header-actions {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.8vw, 46px);
}
.agency-header-actions { justify-self: end; gap: 15px; }
.agency-masthead a, .agency-masthead summary {
  font: 600 15px/1.2 'Agency Hanken', Arial, sans-serif;
  letter-spacing: -.025em;
}
.agency-desktop-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}
.agency-desktop-nav a:is(:hover, [aria-current="page"]) { text-decoration: underline; }
.agency-masthead .agency-project-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  white-space: nowrap;
}
.agency-project-link i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #f8f8f4;
  background: #131514;
  transition: transform .2s ease;
}
.agency-project-link svg { width: 17px; height: 17px; }
.agency-project-link:hover i { transform: translate(2px, -2px); }
.agency-menu { display: none; }
.agency-menu summary {
  min-height: 44px;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  list-style: none;
}
.agency-menu summary::-webkit-details-marker { display: none; }
.agency-menu-close, .agency-menu[open] .agency-menu-open { display: none; }
.agency-menu[open] .agency-menu-close { display: inline; }
.agency-menu-icon { width: 18px; height: 14px; position: relative; }
.agency-menu-icon::before, .agency-menu-icon::after {
  content: '';
  position: absolute;
  left: 1px;
  right: 1px;
  height: 1.5px;
  background: currentColor;
  top: 4px;
}
.agency-menu-icon::after { top: 9px; }
.agency-menu[open] .agency-menu-icon::before { top: 7px; transform: rotate(45deg); }
.agency-menu[open] .agency-menu-icon::after { top: 7px; transform: rotate(-45deg); }
.agency-menu-panel {
  position: absolute;
  top: 100%;
  inset-inline: 0;
  z-index: 1;
  max-height: calc(100vh - var(--agency-bar-height, 71px));
  max-height: calc(100dvh - var(--agency-bar-height, 71px));
  overflow: auto;
  overscroll-behavior: contain;
  color: #161815;
  background: #f8f8f4;
  border-block: 1px solid #c9ccc2;
  box-shadow: 0 15px 30px rgb(15 20 15 / 12%);
}
.agency-menu-content {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: start;
  gap: 25px clamp(16px,5vw,56px);
  padding: 23px max(var(--shell-gutter),env(safe-area-inset-right)) max(22px,env(safe-area-inset-bottom)) max(var(--shell-gutter),env(safe-area-inset-left));
}
.agency-menu-destinations { display: grid; }
.agency-menu-destinations a, .agency-menu-projects a { display: flex; align-items: center; min-height: 47px; }
.agency-masthead .agency-menu-destinations a {
  font-size: clamp(22px,4.7vw,35px);
  font-weight: 530;
  letter-spacing: -.055em;
  border-bottom: 1px solid #d2d4ca;
}
.agency-menu-work h2 {
  margin: 0 0 6px;
  font: 680 10px/1.5 'Agency Hanken', Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #54584f;
}
.agency-menu-projects a { gap: 8px; font-size: clamp(13px,2.1vw,17px); line-height: 1.2; }
.agency-menu-projects img { width: clamp(36px,7vw,62px); height: clamp(32px,5.5vw,45px); object-fit: cover; flex: none; border-radius: 2px; }
.agency-menu-panel a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.agency-masthead .agency-menu-chat {
  grid-column: 1/-1;
  display: flex;
  min-height: 49px;
  justify-content: space-between;
  align-items: center;
  padding: 10px 17px;
  background: #161815;
  color: #f8f8f4;
  font-size: 17px;
  border-radius: 3px;
}
.agency-menu-chat span { display: inline-flex; align-items: center; gap: 9px; }
.agency-menu-chat span::before {
  content: "";
  width: 17px;
  height: 17px;
  background: url('/images/brand/sonder-mark-motion.webp') center / contain no-repeat;
}
.agency-menu-chat svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion:no-preference) {
  .agency-menu[open] .agency-menu-content { animation: agency-menu-arrive .22s ease-out; }
  .agency-menu-icon::before, .agency-menu-icon::after { transition: transform .16s ease; }
  @keyframes agency-menu-arrive { from { opacity:.5; transform:translateY(-5px); } to { opacity:1; transform:none; } }
}

body .agency-footer {
  margin: 0;
  padding: 0 0 22px;
  background: #111214;
  color: #f8f8f4;
  border: 0;
  font: 500 15px/1.4 'Agency Hanken', Arial, sans-serif;
}
.agency-footer-stage {
  isolation: isolate;
  position: relative;
  overflow: clip;
  background:
    radial-gradient(ellipse at 68% 62%, #493f51 0%, #28262e 20%, transparent 58%),
    radial-gradient(ellipse at 30% 0%, #292c30 0%, transparent 58%), #141518;
  border-block: 1px solid #424449;
}
.agency-footer-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .22;
}
.agency-footer-stage-inner {
  position: relative;
  width: 100%;
  max-width: 1728px;
  height: clamp(430px, 46vw, 725px);
  margin: 0 auto;
}
.agency-footer-invitation {
  position: absolute;
  z-index: 3;
  left: var(--shell-gutter);
  top: clamp(42px, 5.25vw, 84px);
  display: grid;
  gap: 9px;
  width: fit-content;
}
.agency-footer-invitation > span {
  color: #c8c8c7;
  font-size: 14px;
}
.agency-footer-invitation strong {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  font: 540 clamp(30px, 3.7vw, 62px)/.99 'Agency Hanken', Arial, sans-serif;
  letter-spacing: -.062em;
}
.agency-footer-invitation strong.sonder-foil-cta {
  width:fit-content;
  padding:12px 20px;
  min-height:48px;
  font-size:clamp(20px,2.45vw,38px);
  letter-spacing:-.04em;
}
.agency-footer-invitation svg { width: .60em; height: .60em; }
.agency-footer .agency-footer-invitation:hover { text-decoration: none; }
.agency-footer-invitation:hover strong:not(.sonder-foil-cta) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.agency-footer-signature {
  display: block;
  position: absolute;
  left: var(--shell-gutter);
  right: var(--shell-gutter);
  bottom: clamp(24px, 3.6vw, 58px);
  overflow: hidden;
  line-height: 1;
}
.agency-footer .agency-footer-signature img { display: block; width: 100%; height: auto; max-width: none; }
.agency-footer-art {
  position: absolute;
  z-index: 2;
  top: -6%;
  left: 40%;
  width: 47%;
  height: 99%;
  pointer-events: none;
}
.agency-footer-art::before {
  content: '';
  position: absolute;
  border-radius: 100%;
  width: 63%;
  height: 11%;
  left: 17%;
  top: 77%;
  background: radial-gradient(ellipse at center, #0009, transparent 72%);
  filter: blur(12px);
  transform: rotate(-8deg);
}
.agency-footer-art canvas, .agency-sculpture-poster {
  position: absolute;
  display: block;
}
.agency-footer-art canvas { inset: 0; width: 100%; height: 100%; }
.agency-sculpture-poster {
  object-fit: contain;
  width: 70%;
  height: 75%;
  left: 15%;
  top: 10%;
  filter: drop-shadow(-10px 10px 0 #575269) drop-shadow(-5px 6px 0 #49434d) drop-shadow(-8px 14px 10px #19171e77);
  transform: perspective(500px) rotateX(14deg) rotateY(24deg) rotateZ(-17deg);
}
.agency-footer-art[data-rendered] .agency-sculpture-poster { visibility: hidden; }
.agency-footer .agency-sculpture-motion {
  position: absolute; z-index: 3;
  top: clamp(25px, 4vw, 63px); right: var(--shell-gutter);
  display: grid; place-items: center; width: 42px; height: 42px; padding: 0;
  border: 1px solid #ffffff4a; border-radius: 50%; background: #191b1d80; color: #fff; cursor: pointer;
}
.agency-sculpture-motion:is(:hover, :focus-visible) { outline: 1px solid #fff; outline-offset: 3px; }
.agency-sculpture-motion .sculpture-play, .agency-sculpture-motion[data-paused] .sculpture-pause,
.agency-footer .agency-sculpture-motion[hidden], .agency-footer-art canvas[hidden] { display: none; }
.agency-sculpture-motion[data-paused] .sculpture-play { display: inline; }
.agency-footer-inner { padding-top: clamp(44px, 5.3vw, 80px); }
.agency-footer-legal { margin-top: clamp(32px, 4.2vw, 64px); }
@media (max-width: 700px) {
  .agency-footer-stage-inner { height: clamp(380px, 79vw, 510px); }
  .agency-footer-invitation { top: 26px; }
  .agency-footer-art { top: 4%; left: 25%; width: 75%; height: 86%; }
  .agency-footer-signature { bottom: 24px; }
}
@media (max-width: 440px) {
  .agency-footer-stage-inner { height: 382px; }
  .agency-footer-invitation > span { font-size: 12px; }
  .agency-footer-art { top: 88px; left: 18%; width: 79%; height: 63%; }
}
.agency-footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.8fr) repeat(3, minmax(0, .79fr));
  gap: 20px;
}
.agency-footer-grid nav, .agency-footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.agency-footer .agency-footer-label {
  margin-bottom: 10px;
  color: #afb1a8;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .11em;
}
.agency-footer a { color: #f8f8f4; }
.agency-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.agency-footer .agency-footer-email {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 500 clamp(20px, 2.2vw, 34px)/1.15 'Agency Hanken', Arial, sans-serif;
  letter-spacing: -.04em;
}
.agency-footer-email svg { width: .7em; height: .7em; flex: none; }
.agency-location { margin-top: 5px; font-size: 14px; color: #afb1a8; }


.agency-footer-legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  border-top: 1px solid #484b46;
  padding-top: 16px;
  font-size: 13px;
  color: #c2c4bb;
}
.agency-footer-legal nav { display: flex; gap: 18px; }
.agency-footer-legal nav a { color: inherit; }
.agency-directory { margin-top: 5px; font-size: 13px; }
.agency-directory summary { width: fit-content; padding: 8px 0; cursor: pointer; color: #c2c4bb; }
.agency-directory > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 25px; padding: 18px 0 8px; }
.agency-directory nav { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
@media (max-width: 839px), (max-width: 1023px) and (max-height: 540px) and (pointer:coarse) {
  html:has(.agency-menu[open]), body:has(.agency-menu[open]) { overflow: hidden; }
  .agency-menu-panel a:focus-visible { outline-offset: -2px; }
  .agency-masthead-inner { grid-template-columns: 1fr auto; min-height: 70px; gap: 10px; }
  .agency-desktop-nav { display: none; }
  .agency-menu { display: block; }
  .agency-menu summary { display: inline-flex; }
  .agency-header-actions { gap: 24px; }
  .agency-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 16px; }
  .agency-footer-contact { grid-column: 1 / -1; }
}
@media (max-width: 570px) {
  .agency-masthead-inner { min-height: 64px; }
  .agency-masthead .agency-brand img { width: 111px; }
  .agency-header-actions { gap: 14px; }
  .agency-masthead a, .agency-masthead summary { font-size: 14px; }
  .agency-masthead .agency-project-link { gap: 6px; }
  .agency-project-link i { width: 25px; height: 25px; }
  .agency-project-link svg { width: 15px; height: 15px; }
  .agency-menu-panel { --agency-bar-height:65px; }
  .agency-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 359px) {
  .agency-header-actions > .agency-project-link { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .agency-project-link i { transition: none; }
  .agency-project-link:hover i { transform: none; }
}
/* The primary enquiry actions share the iridescent signet from the masthead. */
:is(.agency-signature-cta, .agency .button[href^="/contact"], .agency-footer-invitation > span)::before {
  content: "";
  display: inline-block;
  flex: none;
  width: 17px;
  height: 17px;
  background: url("/images/brand/sonder-mark-motion.webp") center / contain no-repeat;
  vertical-align: -.19em;
}
.agency-footer-invitation > span::before { margin-right: 8px; }
.agency .button[href^="/contact"], .agency .agency-signature-cta { column-gap: 10px; }
.agency-signature-cta { display: inline-flex; align-items: center; gap: 10px; }
.agency-project-link i { position: relative; }
.agency-project-link i::before {
  content: "";
  position: absolute;
  inset: 20%;
  opacity: 0;
  background: url("/images/brand/sonder-mark-motion.webp") center / contain no-repeat;
}
.agency :is(.button[href^="/contact"], .agency-signature-cta):focus-visible,
.agency-footer-invitation:focus-visible, .agency-project-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
.agency .button[href^="/contact"]:focus-visible { outline-color: #69688f; }
@media (prefers-reduced-motion:no-preference) {
  :is(.agency-signature-cta, .agency .button[href^="/contact"], .agency-footer-invitation > span)::before,
  .agency-project-link i::before { transition: transform .36s cubic-bezier(.2,.7,.2,1), opacity .2s; }
  :is(.agency-signature-cta, .agency .button[href^="/contact"], .agency-footer-invitation) :is(svg,span[aria-hidden="true"]),
  .agency-project-link i > svg { transition: transform .25s ease, opacity .2s; }
  .agency-project-link:focus-visible i::before { opacity: 1; }
  .agency-project-link:focus-visible i > svg { opacity: 0; }
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  :is(.agency-signature-cta, .agency .button[href^="/contact"]):hover::before,
  .agency-footer-invitation:hover > span::before { transform: perspective(70px) rotateY(-24deg) rotate(14deg) scale(1.12); }
  :is(.agency-signature-cta, .agency .button[href^="/contact"], .agency-footer-invitation):hover :is(svg,span[aria-hidden="true"]) { transform: translate(2px,-2px); }
  .agency-project-link:hover i::before { opacity: 1; transform: rotate(12deg); }
  .agency-project-link:hover i > svg { opacity: 0; }
}
@media (forced-colors:active) {
  :is(.agency-signature-cta, .agency .button[href^="/contact"], .agency-footer-invitation > span)::before,
  .agency-project-link i::before { display: none; }
  .agency-project-link:is(:hover,:focus-visible) i > svg { opacity: 1; }
}

.agency-masthead .agency-growth-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 17px;
  text-align: center;
  line-height: 1.15;
}
@media (max-width: 839px), (max-width: 1023px) and (max-height: 540px) and (pointer: coarse) {
  body .agency-masthead { position: sticky; top: 0; }
  .agency-masthead-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .agency-header-actions { gap: 8px; }
  .agency-masthead .agency-brand { max-width: 100%; }
  .agency-masthead .agency-brand img { max-width: 100%; }
  .agency-masthead .agency-menu summary {
    position: relative;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid #c9cbc5;
    border-radius: 8px;
  }
  .agency-menu summary :is(.agency-menu-open, .agency-menu-close) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
}
@media (max-width: 370px) {
  .agency-masthead-inner { padding-inline: 12px; gap: 8px; }
  .agency-masthead .agency-growth-cta { padding-inline: 10px; }
}
