/* AU 2026 - modern layer. Loaded after style.css.
   Palette: #07263F navy, #49EAA9 mint, #01C27A mid green, #EDEFF1 off-white, #A9B2B7 silver, #101015 near-black */

:root {
  --au-navy: #07263F;
  --au-mint: #49EAA9;
  --au-green: #01C27A;
  --au-off: #EDEFF1;
  --au-silver: #A9B2B7;
  --au-ink: #101015;
}

/* ---------- Floating pill ---------- */
header.au-nav {
  position: relative;
  height: 88px;
  background: #ebe8e3;
}
body.home .au-nav,
body.page-template-t-homepage .au-nav {
  height: 0;
}
/* home: hero starts under the floating pill */
body.home .container-hero-home .row,
body.page-template-t-homepage .container-hero-home .row {
  padding-top: calc(10% + 64px);
}
.au-pill {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 998;
  width: auto;
  max-width: calc(100% - 28px);
  height: 52px;
  padding: 0 7px 0 20px;
  gap: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(237, 239, 241, .92);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(7, 38, 63, .08);
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(7, 38, 63, .12);
  transition: background .25s ease, box-shadow .25s ease;
}
.au-pill.is-scrolled {
  background: rgba(237, 239, 241, .94);
  box-shadow: 0 10px 34px rgba(7, 38, 63, .2);
}
.au-pill__brand {
  display: flex;
  align-items: center;
}
.au-pill__brand img {
  display: block;
  width: 128px;
  height: auto;
}
.au-pill__links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 0;
  margin-right: 4px;
}
.au-pill__links a {
  font-family: "Fraunces", serif;
  font-weight: bold;
  font-size: 15px;
  line-height: 1;
  color: var(--au-navy);
  padding: 11px 13px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.au-pill__links a:hover {
  background: rgba(7, 38, 63, .07);
}
.au-pill__links a.au-pill__cta {
  background: var(--au-mint);
  margin-left: 4px;
  padding: 11px 16px;
}
.au-pill__links a.au-pill__cta:hover {
  background: var(--au-navy);
  color: #fff;
}

/* Burger */
.au-burger,
.au-menu__close {
  position: relative;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(7, 38, 63, .22);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  flex: 0 0 auto;
  transition: background .2s ease, border-color .2s ease;
}
.au-burger:hover { background: rgba(7, 38, 63, .07); }
.au-burger span,
.au-menu__close span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--au-navy);
  border-radius: 2px;
  transition: transform .25s ease, top .25s ease;
}
.au-burger span:nth-child(1) { top: 14px; }
.au-burger span:nth-child(2) { top: 21px; }
.au-burger:hover span:nth-child(1) { top: 12px; }
.au-burger:hover span:nth-child(2) { top: 23px; }
.au-burger:focus-visible,
.au-menu__close:focus-visible,
.au-pill a:focus-visible,
.au-menu a:focus-visible {
  outline: 2px solid var(--au-green);
  outline-offset: 2px;
}

/* ---------- Overlay panel ---------- */
.au-menu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear .3s;
}
.au-menu.is-open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.au-menu__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 50% at 18% 18%, rgba(73, 234, 169, .6), transparent 62%),
    radial-gradient(50% 55% at 86% 78%, rgba(1, 194, 122, .42), transparent 62%),
    radial-gradient(60% 60% at 70% 12%, rgba(169, 178, 183, .35), transparent 65%),
    rgba(7, 38, 63, .55);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  opacity: 0;
  transition: opacity .3s ease;
}
.au-menu.is-open .au-menu__bg { opacity: 1; }
.au-menu__card {
  position: relative;
  width: min(460px, 100%);
  max-height: calc(100vh - 28px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background: var(--au-navy);
  color: var(--au-off);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  transform: translateY(14px) scale(.98);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .3s ease;
  opacity: 0;
}
.au-menu.is-open .au-menu__card { transform: none; opacity: 1; }
.au-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 10px 14px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.au-menu__top img {
  display: block;
  width: 164px;
  height: auto;
}
.au-menu__close {
  border-color: rgba(255, 255, 255, .25);
}
.au-menu__close:hover { background: rgba(255, 255, 255, .08); }
.au-menu__close span { background: var(--au-off); top: 18px; }
.au-menu__close span:nth-child(1) { transform: rotate(45deg); }
.au-menu__close span:nth-child(2) { transform: rotate(-45deg); }

.au-menu__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 34px 20px 26px;
}
.au-menu__links a {
  font-family: "Fraunces", serif;
  font-weight: bold;
  font-size: clamp(3rem, 8vw, 46px);
  line-height: 1.22;
  color: var(--au-off);
  opacity: 0;
  transform: translateY(.8rem);
  transition: color .25s ease, font-style .25s ease;
}
.au-menu__links a:hover,
.au-menu__links a:focus-visible {
  color: var(--au-mint);
  border-bottom: 1px solid var(--au-mint);
}
.au-menu.is-open .au-menu__links a {
  animation: au-rise .5s cubic-bezier(.2, .8, .2, 1) forwards;
}
.au-menu.is-open .au-menu__links a:nth-child(1) { animation-delay: .08s; }
.au-menu.is-open .au-menu__links a:nth-child(2) { animation-delay: .13s; }
.au-menu.is-open .au-menu__links a:nth-child(3) { animation-delay: .18s; }
.au-menu.is-open .au-menu__links a:nth-child(4) { animation-delay: .23s; }
@keyframes au-rise {
  to { opacity: 1; transform: none; }
}

.au-menu__lang a {
  color: var(--au-off);
  transition: color .2s ease;
}
.au-menu__lang a:hover { color: var(--au-mint); }
.au-menu__lang {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 8px 20px 22px;
  font-size: 14px;
  letter-spacing: .08em;
}
.au-menu__lang a {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
}
.au-menu__lang a.is-active {
  background: var(--au-mint);
  border-color: var(--au-mint);
  color: var(--au-navy);
}

html.au-menu-open { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .au-nav { height: 78px; }
  .au-case--bleed .au-case__cover { margin-top: -78px; }
  .au-pill { top: 10px; height: 50px; padding-left: 16px; width: calc(100% - 20px); }
  .au-pill__brand img { width: 120px; }
  .au-pill__links { display: none; }
  .au-burger { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .au-menu, .au-menu__card, .au-menu__links a, .au-pill, .au-burger span {
    transition: none !important;
    animation: none !important;
  }
  .au-menu__links a { opacity: 1; transform: none; }
}

/* ================================================================
   Portfolio: listing, cards, case study
   ================================================================ */
.au-wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.au-btn {
  display: inline-block;
  background: var(--au-mint);
  color: var(--au-navy);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 10px;
  transition: background .2s ease, color .2s ease;
}
.au-btn:hover { background: var(--au-navy); color: #fff; }

/* Listing header */
.au-work { padding-top: 24px; padding-bottom: 80px; }
.au-work__head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px 48px;
  align-items: end;
  padding-bottom: 32px;
}
.au-work__head h1 {
  font-family: "Fraunces", serif;
  font-weight: bold;
  font-size: clamp(3.5rem, 7vw, 84px);
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--au-navy);
  margin: 0;
}
.au-work__intro { font-size: 1.1rem; line-height: 1.5; color: rgba(7, 38, 63, .85); }
.au-work__intro p { margin: 0 0 .6em; }
/* Filters */
.au-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 80%;
    gap: 8px;
    margin-left: .5rem;
    padding: 14px 0 28px;
    border-top: 1px solid rgba(7, 38, 63, .25);
}
.au-filters[hidden] { display: none; }
.au-filters__sep { width: 1px; height: 22px; background: rgba(7, 38, 63, .18); margin: 0 6px; }
.au-chip {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 10px 16px;
  color: var(--au-navy);
  background: transparent;
  border: 1px solid rgba(7, 38, 63, .25);
  border-radius: 999px;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.au-chip:hover { border-color: var(--au-navy); }
.au-chip.is-active { background: var(--au-navy); border-color: var(--au-navy); color: #fff; }
.au-chip--type { font-weight: 500; }
.au-chip:focus-visible { outline: 2px solid var(--au-green); outline-offset: 2px; }

/* Grid + cards */
.au-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 28px;
}
.au-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 2rem; }
.au-card[hidden] { display: none; }
.au-card__link { display: block; color: inherit; }
.au-card__media {
  position: relative;
  display: block;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  border-radius: .25rem;
}
.au-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.au-card__link:hover .au-card__media img { transform: scale(1.035); }
.au-card__badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  background: var(--au-mint);
  color: var(--au-navy);
  padding: 6px 10px;
  border-radius: 8px;
}
.au-card__body { display: block; padding-top: 14px; }
.au-card__title {
  display: block;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  color: var(--au-navy);
}
.au-card__link:hover .au-card__title { 
  border-bottom: 1px solid var(--au-navy);
}
.au-card__meta {
  display: block;
  font-weight: bold;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-top: .4rem;
  font-size: .8rem;
  color: rgba(7, 38, 63, .80);
}
.au-empty { padding: 40px 0; color: rgba(7, 38, 63, .66); }
.au-featured { padding-top: 56px; padding-bottom: 72px; }

/* Case study */
.au-case__head { padding-top: 24px; padding-bottom: 28px; }
.au-case__back { font-size: 14px; font-weight: 600; color: rgba(7, 38, 63, .7); }
.au-case__back:hover { color: var(--au-navy); }
.au-case__head h1 {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -.01em;
  color: var(--au-navy);
  margin: 18px 0 22px;
}
.au-case__meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 36px;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(7, 38, 63, .2);
}
.au-case__meta li { font-size: 15px; color: var(--au-navy); }
.au-case__meta li span {
  display: block;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(7, 38, 63, .55);
  margin-bottom: 2px;
}
.au-case__cover { margin: 0; }
.au-case__cover img { display: block; width: 100%; height: auto; max-height: min(72vh, 760px); min-height: 300px; object-fit: cover; }
.au-case--bleed .au-case__cover { margin-top: -88px; }
.au-case__summary {
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.4;
  color: rgba(7, 38, 63, .8);
  max-width: 760px;
  margin: -6px 0 24px;
}
.au-case__body {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 32px 56px;
  padding-top: 0;
  padding-bottom: 72px;
  align-items: start;
}
.au-case__body--solo { grid-template-columns: minmax(0, 1fr); }
.au-case__body--solo .au-case__content { max-width: 760px; }
.au-case__facts { position: sticky; top: 96px; }
.au-case__facts section { margin-bottom: 22px; }
.au-case__facts h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(7, 38, 63, .55);
  margin: 0 0 6px;
}
.au-case__facts p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--au-ink); }
.au-case__proof ul { margin: 0; padding: 0; list-style: none; }
.au-case__proof li {
  display: block;
  float: none;
  width: auto;
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  font-size: 16px;
  line-height: 1.45;
}
.au-case__proof li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--au-green);
}
.au-case__links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.au-case__links a:not(.au-btn) { font-weight: 600; color: var(--au-navy); border-bottom: 1px solid rgba(7, 38, 63, .3); }
.au-case__links a:not(.au-btn):hover { border-color: var(--au-navy); }

.au-case__content img,
.au-case__content video,
.au-case__content iframe { max-width: 100%; height: auto; border-radius: 14px; }
.au-case__content > * + * { margin-top: 24px; }
.au-case__content p { font-size: 1.05rem; line-height: 1.6; }
.au-case__content figure { margin-left: 0; margin-right: 0; }

.au-case__pager {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 56px;
  border-top: 1px solid rgba(7, 38, 63, .12);
  max-width: 1180px;
}
.au-case__pager a {
  font-family: "Fraunces", serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--au-navy);
  max-width: 46%;
}
.au-case__pager a span {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(7, 38, 63, .55);
  margin-bottom: 4px;
}
.au-case__next { text-align: right; margin-left: auto; }
.au-case__pager a:hover { font-style: italic; }

@media (max-width: 992px) {
  .au-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .au-work__head { grid-template-columns: 1fr; }
  .au-case__body { grid-template-columns: 1fr; }
  .au-case__facts { position: static; }
}
@media (max-width: 600px) {
  .au-wrap { padding: 0 16px; }
  .au-grid, .au-grid--2 { grid-template-columns: 1fr; gap: 32px; }
  .au-filters__sep { display: none; }
  .au-case__pager a { font-size: 18px; max-width: 48%; }
}

/* ---- Brand system blocks inside case content ---- */
.au-case__content h2 {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.15;
  color: var(--au-navy);
  margin: 48px 0 12px;
}
.au-case__content figure img { width: 100%; height: auto; }
.au-case__content figcaption { font-size: 14px; color: rgba(7, 38, 63, .62); margin-top: 8px; }
.au-swatches {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 !important;
}
.au-swatches figure { margin: 0; }
.au-swatches span {
  display: block;
  height: 120px;
  border-radius: 12px;
}
.au-swatches span.is-light { box-shadow: inset 0 0 0 1px rgba(7, 38, 63, .22); }
.au-swatches figcaption {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--au-navy);
}
.au-swatches small { display: block; font-weight: 400; color: rgba(7, 38, 63, .62); }
.au-specimen { margin: 24px 0 0 !important; }
.au-specimen > div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 8px 20px;
  padding: 14px 0;
  border-top: 1px solid rgba(7, 38, 63, .12);
}
.au-specimen dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(7, 38, 63, .55);
  padding-top: 5px;
}
.au-specimen dd { margin: 0; font-size: 1.05rem; color: var(--au-ink); }
.au-specimen dd a { font-size: 14px; font-weight: 600; color: var(--au-navy); border-bottom: 1px solid rgba(7, 38, 63, .3); margin-left: 6px; }
.au-specimen small { color: rgba(7, 38, 63, .6); margin-left: 6px; }
@media (max-width: 600px) {
  .au-swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .au-specimen > div { grid-template-columns: 1fr; }
}

/* ---- Gallery blocks inside case content ---- */
.au-gallery { display: grid; gap: 14px; margin: 28px 0 !important; }
.au-gallery--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.au-gallery--trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.au-gallery figure { margin: 0; }
.au-gallery img { width: 100%; height: auto; display: block; border-radius: 12px; }
.au-gallery .is-bleed { grid-column: 1 / -1; }
@media (max-width: 600px) {
  .au-gallery--pair, .au-gallery--trio { grid-template-columns: 1fr; }
}
