/* Self-hosted Google Fonts (latin subset), 2026-11-18: removes a render-blocking cross-origin stylesheet. */
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/cinzel-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/playfair-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/playfair-italic-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Uncial Antiqua"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/uncial-antiqua-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@keyframes twinkle {
  0%, 100% { opacity: .2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 8px 30px -8px rgba(201,162,75,0.5), 0 0 0 0 rgba(228,199,122,0); }
  50% { box-shadow: 0 8px 34px -6px rgba(201,162,75,0.65), 0 0 22px 3px rgba(228,199,122,0.35); }
}
.firefly { animation: twinkle 4.5s ease-in-out infinite; }
.cta-glow { animation: glow-pulse 3.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .firefly { animation: none; opacity: .55; }
  .cta-glow { animation: none; }
}

.drop-cap::first-letter {
  font-family: "Uncial Antiqua", cursive;
  font-size: 2.9rem;
  line-height: 0.6;
  float: left;
  padding-right: 0.15rem;
  padding-top: 0.4rem;
  color: #E4C77A;
}

/* Portfolio filter pills (assets/js/gallery.js) */
.pill {
  background: #0A0F09; border: 1px solid rgba(201,162,75,0.3); color: #F4ECD8;
  font-family: "Inter", sans-serif; font-size: 0.85rem; font-weight: 500;
  padding: 0.55rem 1rem; border-radius: 9999px; cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.pill:hover { border-color: rgba(201,162,75,0.6); }
.pill.active { background: rgba(201,162,75,0.16); border-color: #C9A24B; color: #E4C77A; }

/* ==================================================================
   PORTFOLIO GALLERY — job feed play button + video modal
   (assets/js/gallery.js).
   ================================================================== */

.job-play-btn {
  position: absolute; inset: 0; margin: auto; width: 3rem; height: 3rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,15,9,0.75); border: 1px solid rgba(201,162,75,0.6);
  border-radius: 9999px; color: #E4C77A; cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.job-play-btn:hover { transform: scale(1.08); border-color: #C9A24B; }

.gallery-modal {
  position: fixed; inset: 0; z-index: 80;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.85); padding: 1.5rem;
}
.gallery-modal.hidden { display: none; }

.gallery-modal-frame-wrap {
  position: relative; width: min(960px, 100%); aspect-ratio: 16 / 9;
  background: #0A0F09; border: 1px solid rgba(201,162,75,0.4);
}

.gallery-modal-frame { width: 100%; height: 100%; }

.gallery-modal-close {
  position: absolute; top: -2.5rem; right: 0;
  background: none; border: none; color: #F4ECD8;
  font-size: 2rem; line-height: 1; cursor: pointer;
}
.gallery-modal-close:hover { color: #E4C77A; }

/* ==================================================================
   FOOTER: same structure as the newer Acuity sites (accent rule,
   brand column, link columns, base bar with the credit pill).
   ================================================================== */

.site-footer { position: relative; z-index: 1; background: #0A0F09; border-top: 1px solid rgba(201,162,75,0.2); padding: 64px 0 28px; font-family: "Inter", sans-serif; font-size: 0.92rem; color: rgba(244,236,216,0.7); }
.site-footer::before { content: ""; position: absolute; top: -1px; left: 0; width: 120px; height: 1px; background: #C9A24B; }
.foot-wrap { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 40px; }
.foot-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.foot-logo img { width: 44px; height: 44px; object-fit: contain; }
.foot-logo span { font-family: "Cinzel", serif; font-weight: 600; font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; color: #F4ECD8; }
.foot-blurb { margin: 18px 0; max-width: 30ch; line-height: 1.6; }
.foot-tel { color: #E4C77A; text-decoration: underline; text-decoration-color: rgba(228,199,122,0.4); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.foot-tel:hover, .foot-tel:focus-visible { color: #F4ECD8; text-decoration-color: #C9A24B; }
.foot-head { font-family: "Cinzel", serif; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: #C9A24B; margin: 0 0 14px; }
.foot-list { list-style: none; padding: 0; margin: 0; }
.foot-list li { padding: 4px 0; }
.foot-list a { color: rgba(244,236,216,0.75); text-decoration: none; transition: color .2s; overflow-wrap: anywhere; }
.foot-list a:hover, .foot-list a:focus-visible { color: #E4C77A; }
.foot-note { color: rgba(244,236,216,0.55); }

.social-tiles { display: grid; gap: 10px; }
.social-tile { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid rgba(201,162,75,0.3); border-radius: 3px; background: #12190F; color: #F4ECD8; text-decoration: none; transition: border-color .2s, background .2s, transform .2s; }
.social-tile svg { width: 24px; height: 24px; flex-shrink: 0; color: #C9A24B; }
.social-tile span { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.social-tile strong { font-family: "Cinzel", serif; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.social-tile small { font-size: 0.8rem; color: rgba(244,236,216,0.6); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social-tile:hover, .social-tile:focus-visible { border-color: #C9A24B; background: rgba(201,162,75,0.08); transform: translateY(-2px); }
.social-tile:focus-visible, .foot-list a:focus-visible, .foot-tel:focus-visible { outline: 2px solid #E4C77A; outline-offset: 3px; }

.foot-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(201,162,75,0.12); font-size: 0.78rem; color: rgba(244,236,216,0.5); }
/* The bottom row: the Acuity footer standard (footer-standard.md, 2026-11-19).
   The only per-site value is the accent: this site's gold. */
.site-footer { --awl-accent: #C9A24B; --awl-ink: rgba(244,236,216,0.85); }
.awl-foot-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.awl-foot-legal {
  margin: 0;
  min-width: 0;
}

.awl-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  flex-shrink: 0;
  min-height: 36px;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--awl-accent);
  border: 1px solid color-mix(in srgb, var(--awl-accent) 55%, transparent);
  border-radius: var(--awl-radius, 999px);
  background-color: color-mix(in srgb, var(--awl-accent) 7%, transparent);
  color: var(--awl-ink, inherit);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition:
    border-color 0.2s ease,
    box-shadow 0.3s ease;
}

.awl-credit__logo {
  flex-shrink: 0;
  width: 15px;
  height: 17px;
  background-color: var(--awl-accent);
  -webkit-mask: url("/acuity-a-mark.svg") center / contain no-repeat;
  mask: url("/acuity-a-mark.svg") center / contain no-repeat;
}

.awl-credit__text {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35em;
}

.awl-credit__lead {
  opacity: 0.72;
}

.awl-credit__name {
  font-weight: 600;
}

.awl-credit__arrow {
  display: inline-block;
  margin-left: 0.15em;
  color: var(--awl-accent);
  transition: transform 0.2s ease;
}

.awl-credit:hover,
.awl-credit:focus-visible {
  border-color: var(--awl-accent);
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--awl-accent) 16%, transparent),
    0 6px 24px color-mix(in srgb, var(--awl-accent) 30%, transparent);
  text-decoration: none;
}

.awl-credit:hover .awl-credit__arrow,
.awl-credit:focus-visible .awl-credit__arrow {
  transform: translate(1px, -1px);
}

.awl-credit:focus-visible {
  outline: 2px solid var(--awl-accent);
  outline-offset: 3px;
}

.awl-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Phones: the copyright takes the full width, and the credit sits on its
   own row beneath it, left-aligned and on one line. */
@media (max-width: 639px) {
  .awl-foot-base {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .awl-credit,
  .awl-credit__arrow {
    transition: none;
  }
}

@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand, .foot-social { grid-column: 1 / -1; } .social-tiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot-grid > div { min-width: 0; } .social-tile { min-width: 0; } }
@media (max-width: 520px) {
  .site-footer { padding: 40px 0 20px; font-size: 0.82rem; }
  .foot-grid { gap: 24px 16px; }
  .foot-logo img { width: 34px; height: 34px; }
  .foot-logo span { font-size: 0.85rem; }
  .foot-blurb { margin: 12px 0; }
  .foot-head { margin-bottom: 8px; font-size: 0.66rem; }
  .foot-list li { padding: 4px 0; }
  .social-tiles { gap: 8px; }
  .social-tile { gap: 10px; padding: 10px; }
  .social-tile svg { width: 20px; height: 20px; }
  .social-tile strong { font-size: 0.72rem; }
  .social-tile small { font-size: 0.7rem; }
  .foot-base { margin-top: 28px; padding-top: 16px; font-size: 0.72rem; }
}
@media (prefers-reduced-motion: reduce) { .social-tile { transition: none; } .social-tile:hover { transform: none; } }

/* ==================================================================
   MOBILE MENU (assets/js/nav.js). Without JS the menu is just a list
   of links; with it, the list collapses until the button opens it.
   ================================================================== */

.js .mobile-nav:not(.is-open) { display: none; }
#nav-toggle:focus-visible { outline: 2px solid #E4C77A; outline-offset: 2px; border-radius: 3px; }

/* ==================================================================
   MORE FROM THE SHOP (assets/js/shop-photos.js). The whole block is
   hidden until the list holds at least one photo.
   ================================================================== */

.shop-photos { --shop-ratio: 4 / 5; margin-top: 56px; }
.shop-photos:not(:has(.shop-list > li)) { display: none; }

.shop-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.shop-title { font-family: "Playfair Display", serif; font-weight: 600; font-size: 1.25rem; color: #F4ECD8; margin: 0; }
.shop-nav { display: flex; gap: 8px; }
.shop-nav[hidden] { display: none; }
.shop-btn { width: 40px; height: 40px; border: 1px solid rgba(201,162,75,0.45); border-radius: 3px; background: #0A0F09; color: #E4C77A; font-size: 1.1rem; line-height: 1; cursor: pointer; transition: border-color .2s, background .2s; }
.shop-btn:hover, .shop-btn:focus-visible { border-color: #C9A24B; background: rgba(201,162,75,0.1); }
.shop-btn:focus-visible, .shop-list:focus-visible { outline: 2px solid #E4C77A; outline-offset: 3px; }

/* Desktop: one row. Photos that fit sit centred with no controls; more than fit scroll. */
.shop-list { list-style: none; margin: 0; padding: 0 0 14px; display: grid; grid-auto-flow: column; grid-auto-columns: 320px; justify-content: safe center; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: rgba(201,162,75,0.5) transparent; }
.shop-list::-webkit-scrollbar { height: 6px; }
.shop-list::-webkit-scrollbar-thumb { background: rgba(201,162,75,0.45); border-radius: 3px; }
.shop-list > li { scroll-snap-align: start; min-width: 0; }
.shop-list img { display: block; width: 100%; aspect-ratio: var(--shop-ratio); object-fit: cover; border: 1px solid rgba(201,162,75,0.3); border-radius: 2px; background: #0A0F09; }

@media (max-width: 639px) {
  .shop-photos { margin-top: 40px; }
  .shop-nav { display: none; }
  /* 4 or more photos: a swipe row with the next photo peeking in */
  .shop-list { grid-auto-columns: 78%; justify-content: start; }
  /* 1-3 photos: stack them so each one is seen in the normal downward scroll */
  .shop-list:not(:has(> li:nth-child(4))) { grid-auto-flow: row; grid-auto-columns: 100%; overflow: visible; padding-bottom: 0; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) { .shop-list { scroll-behavior: auto; } }