/* Shared Firedrake portfolio: charcoal, off-white and fire orange. */
.studio-body { background: #111; color: #f7f7f7; --muted: #aaa6a2; --line: #36322f; }
.studio-body .container { max-width: 1380px; padding-inline: 3.5rem; }
.studio-body a { color: inherit; }
.studio-body a:hover { text-decoration: none; }
.studio-body :focus-visible { outline: 2px solid var(--brand-orange); outline-offset: 5px; }
.studio-body .studio-header { background: #111; border: 0; }
.studio-body .header-inner { min-height: 110px; border-bottom: 1px solid var(--line); gap: 2rem; padding-block: 1.25rem; }
.studio-body .logo { display: flex; gap: 1rem; align-items: center; color: #f7f7f7; font-size: 1rem; letter-spacing: .13em; line-height: 1.3; }
.brand-mark { font-size: 1.6rem; letter-spacing: -.12em; padding-right: .6rem; }
.brand-mark > span { color: var(--brand-orange); }
.logo-subtitle { display: block; font-size: .65rem; font-weight: 400; letter-spacing: .28em; color: #aaa6a2; margin-top: .25rem; }
.studio-body .main-nav { justify-content: flex-end; gap: 2.3rem; }
.studio-body .nav-link { font-size: .8rem; color: #d5d1cd; letter-spacing: .02em; }
.studio-body .nav-link:hover, .studio-body .nav-link[aria-current] { color: var(--brand-orange); }
.studio-body .nav-contact { border: 1px solid #635044; padding: .7rem 1.1rem; border-radius: 0; }
.studio-body .nav-contact span { color: var(--brand-orange); padding-left: .6rem; }
.studio-label { text-transform: uppercase; font-size: .67rem; letter-spacing: .15em; font-weight: 500; }
.studio-hero { padding: 2rem 0 3.8rem; }
.hero-topline { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); margin-bottom: 5rem; }
.studio-hero .site-page-kicker { font-size: .68rem; letter-spacing: .18em; margin-bottom: 1.1rem; }
.studio-hero h1 { font-size: clamp(3.6rem, 7.6vw, 7.3rem); line-height: 1; letter-spacing: -.05em; text-transform: none; font-weight: 600; margin: 0; }
.studio-hero h1 > span { color: var(--brand-orange); }
.hero-bottom { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-top: 2.5rem; }
.hero-copy { color: #b9b3ae; max-width: 480px; font-size: .95rem; }
.hero-copy p { margin: 0; }
.hero-portfolio-link { font-size: .8rem; border-bottom: 1px solid #6d5546; padding-bottom: .5rem; white-space: nowrap; }
.hero-portfolio-link span { color: var(--brand-orange); margin-left: 3rem; font-size: 1.4rem; }
.discipline-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); margin-bottom: 5rem; }
.discipline-strip a { display: flex; align-items: center; gap: 1rem; padding: 1.5rem 1.3rem; border-right: 1px solid var(--line); font-size: 1rem; letter-spacing: .08em; }
.discipline-strip a:first-child { padding-left: 0; }
.discipline-strip a:last-child { border-right: 0; }
.discipline-strip a > :last-child { margin-left: auto; color: var(--brand-orange); font-size: 1.5rem; }
.discipline-strip .studio-label { color: var(--muted); }
.discipline-strip a:hover { color: var(--brand-orange); }
.portfolio-panel { scroll-margin-top: 2rem; padding-bottom: 2rem; }
.portfolio-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.8rem; }
.portfolio-heading h2 { font-size: .8rem; letter-spacing: .13em; margin: 0; }
.section-index { color: var(--brand-orange); margin-right: 1.5rem; }
.portfolio-heading > span { color: var(--muted); }
.portfolio-filters { display: flex; gap: 2rem; align-items: center; border-block: 1px solid var(--line); margin-bottom: 2rem; min-height: 65px; font-size: .85rem; }
.portfolio-filters a, .current-discipline { padding-block: 1.2rem; }
.portfolio-filters a[aria-current] { color: var(--brand-orange); box-shadow: 0 1px var(--brand-orange); }
.portfolio-enquire { margin-left: auto; color: var(--muted) !important; font-size: .75rem; }
.category-filters { display: flex; flex-wrap: wrap; gap: 1rem; margin: -.6rem 0 2rem; font-size: .7rem; color: var(--muted); }
.category-filters [aria-current] { color: var(--brand-orange); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 1.4rem; }
.project-card { min-width: 0; display: block; }
.project-image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #24201d; }
.project-image img, .project-image video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.project-card:hover .project-image img { transform: scale(1.035); }
.project-arrow { position: absolute; right: .9rem; top: .8rem; background: #111b; border: 1px solid #ffffff33; width: 2.1rem; height: 2.1rem; display: grid; place-items: center; border-radius: 50%; }
.project-index { position: absolute; left: .9rem; bottom: .9rem; background: #111d; padding: .35rem .5rem; color: white; }
.project-play { position: absolute; right: .9rem; bottom: .9rem; background: #111d; padding: .35rem .5rem; }
.project-caption { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; margin-top: .9rem; }
.project-caption h3 { font-size: .95rem; font-weight: 500; margin: 0; }
.project-caption .studio-label { font-size: .55rem; color: #b7a799; text-align: right; flex-shrink: 0; }
.project-summary { color: var(--muted); font-size: .75rem; margin: .5rem 0 0; }
.project-placeholder { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; background: radial-gradient(ellipse at 60% 30%, #60311955, transparent 70%), #1c1917; color: #b78969; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; }
.placeholder-monogram { font-size: 3rem; letter-spacing: -.05em; margin-top: .5rem; opacity: .45; }
.portfolio-empty { grid-column: 1 / -1; padding: 4rem 1rem; border: 1px solid var(--line); text-align: center; color: var(--muted); }
.portfolio-empty a { font-size: .8rem; color: var(--brand-orange); }
.portfolio-pagination { display: flex; justify-content: center; gap: 2rem; margin-top: 3rem; font-size: .8rem; }
.portfolio-page-intro { padding: 5rem 0 3rem; }
.portfolio-page-intro h1 { font-size: clamp(3rem, 6vw, 6rem); text-transform: none; letter-spacing: -.04em; margin: 0; line-height: 1.1; }
.portfolio-page-intro h1 span { color: var(--brand-orange); }
.studio-body .studio-footer { border: 0; border-top: 1px solid var(--line); margin-top: 3rem; padding: 2.5rem 0; color: var(--muted); font-size: .75rem; }
.studio-body .footer-row { text-align: left; align-items: start; }
.footer-brand { color: #f7f7f7 !important; font-size: .9rem; }
.footer-brand > span { display: block; color: var(--muted); font-size: .65rem; margin-top: .3rem; }
.studio-footer p { margin: 0; }
.studio-body .footer-rights { color: var(--muted); font-size: .65rem; }
.studio-body .site-page-hero { padding-top: 5rem; }
.studio-body .site-page-hero h1 { text-transform: none; letter-spacing: -.04em; }
.studio-body .page-richtext, .studio-body .site-page-intro { color: #b9b3ae; }
.studio-body .contact-polaroid-frame { background: #1c1917; border: 1px solid var(--line); border-radius: 2px; box-shadow: none; }
.studio-body .contact-intro { color: var(--muted); }
.studio-body .form-group label { color: #ccc5bf; }
.studio-body .contact-form input, .studio-body .contact-form textarea { background: #111; border: 1px solid #49413b; color: #f7f7f7; border-radius: 2px; }
.studio-body .contact-success-card { background: #223125; color: #d3e9d7; border-color: #3e5d44; }
.studio-body .btn { border-radius: 2px; color: #111; font-weight: 600; box-shadow: none; }
.studio-body .errorlist { color: #ffb494; }
.project-intro { padding: 4rem 0 2rem; }
.project-intro > a { color: var(--muted); }
.project-intro h1 { font-size: clamp(2.8rem, 5vw, 5.5rem); text-transform: none; letter-spacing: -.04em; line-height: 1.1; margin: 2rem 0 1.5rem; }
.project-subtitle { display: flex; flex-wrap: wrap; gap: 2rem; color: #b7a799; }
.project-hero img, .project-hero video { width: 100%; max-height: 85vh; object-fit: contain; display: block; background: #080808; }
.project-story { display: grid; grid-template-columns: 1fr 3fr; gap: 2rem; padding: 3rem 0; border-bottom: 1px solid var(--line); }
.project-story > h2 { color: var(--muted); }
.project-story > div { color: #c7c1bb; max-width: 800px; }
.project-lede { font-size: 1.4rem; color: #f7f7f7; }
.project-sequence { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; padding-top: 2rem; }
.sequence-item { margin: 0; }
.sequence-item.full-width { grid-column: 1 / -1; }
.sequence-item img, .sequence-item video { width: 100%; display: block; }
.sequence-item figcaption { color: var(--muted); font-size: .75rem; margin-top: .7rem; }
.sequence-text { max-width: 800px; padding: 2rem 0; color: #c7c1bb; }
.next-project { margin-top: 4rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.next-project p { color: var(--muted); }
.next-project > a { display: flex; justify-content: space-between; font-size: clamp(2rem, 4vw, 4rem); }
.next-project a > span { color: var(--brand-orange); }
.lightbox { width: 95vw; max-width: 1600px; height: 94vh; background: #111; color: white; border: 1px solid var(--line); padding: 3.5rem 1rem 1rem; }
.lightbox::backdrop { background: #000e; }
.lightbox img { width: 100%; height: 100%; object-fit: contain; }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; background: transparent; border: 0; color: white; font: inherit; cursor: pointer; }
.skip-link { position: absolute; left: 1rem; top: -100px; background: #111; color: white; padding: 1rem; z-index: 100; }
.skip-link:focus { top: 1rem; }
@media (min-width: 1000px) { .project-card:nth-child(6n + 2) { margin-top: 3rem; } }
@media (max-width: 1000px) { .studio-body .container { padding-inline: 2rem; } .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) {
  .studio-body .container { padding-inline: 1.25rem; }
  .studio-body .header-inner { min-height: 90px; position: relative; }
  .studio-body .nav-toggle { display: block; background: transparent; color: white; border-color: #49413b; }
  .studio-body .main-nav { display: none; position: absolute; left: 1.25rem; right: 1.25rem; top: 90px; margin: 0; background: #1c1917; border: 1px solid var(--line); border-radius: 0; width: auto; padding: 1.2rem; z-index: 40; }
  .studio-body .main-nav.open { display: flex; gap: 1rem; flex-direction: column; align-items: stretch; }
  .hero-topline { margin-bottom: 3.5rem; font-size: .55rem; }
  .hero-topline > :last-child { display: none; }
  .studio-hero { padding-bottom: 2.5rem; }
  .hero-bottom { flex-direction: column; align-items: start; }
  .discipline-strip { margin-bottom: 3rem; }
  .discipline-strip a { font-size: .8rem; padding: 1rem .6rem; gap: .4rem; }
  .discipline-strip .studio-label { display: none; }
  .portfolio-filters { gap: 1.25rem; font-size: .75rem; flex-wrap: wrap; }
  .portfolio-enquire { display: none; }
  .portfolio-heading h2 { font-size: .7rem; }
  .section-index { margin-right: .5rem; }
  .project-caption { flex-direction: column; gap: .2rem; }
  .project-story { grid-template-columns: 1fr; gap: .5rem; }
  .studio-body .footer-row { gap: 1.8rem; }
}
@media (max-width: 540px) { .project-grid { grid-template-columns: 1fr; gap: 2rem; } .project-sequence { grid-template-columns: 1fr; } .sequence-item { grid-column: 1 / -1; } .portfolio-filters { gap: 1.2rem; } .brand-mark { font-size: 1.35rem; } .studio-body .logo { font-size: .85rem; } }
@media (prefers-reduced-motion: reduce) { .project-image img { transition: none; } }

/* Keep uploaded artwork at its natural proportions, across all disciplines. */
.studio-body .site-logo { display: block; max-width: min(280px, 52vw); max-height: 58px; width: auto; height: auto; object-fit: contain; }
.studio-body .footer-logo { max-width: 220px; max-height: 46px; margin-bottom: .6rem; }
@media (max-width: 800px) { .studio-body .site-logo { max-height: 48px; } }

/* Homepage headline reel and optional full-bleed media within the hero panel. */
.studio-hero { position: relative; isolation: isolate; }
.hero-content { position: relative; }
.studio-hero .hero-headline { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .2em; row-gap: .02em; }
.studio-hero .hero-word-window { display: inline-block; height: 1.12em; overflow: hidden; color: var(--brand-white); transition: width 760ms cubic-bezier(.22,.68,.22,1); }
.hero-word-reel { display: flex; width: max-content; flex-direction: column; transition: transform 760ms cubic-bezier(.22,.68,.22,1); }
.hero-word { display: block; flex: 0 0 1.12em; height: 1.12em; line-height: 1.12; white-space: nowrap; }
.studio-hero .hero-ignited { color: var(--brand-orange); line-height: 1.12; }
.hero-background { position: absolute; inset: 0; overflow: hidden; z-index: -1; background: #111; }
.hero-background .hero-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-background::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #080808e6 0%, #080808a6 65%, #08080875), linear-gradient(0deg, #111 0%, #1110 30%, #1110 80%, #1118); }
.studio-hero-with-media { padding: 2rem 2.5rem 3.8rem; margin-inline: -2.5rem; }
.studio-hero-with-media .hero-copy { color: #e0dcd8; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-end; gap: .9rem; }

/* Persistent contact action, centred above the viewport's bottom safe area. */
.studio-body { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
.floating-contact { position: fixed; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); z-index: 50; max-width: calc(100vw - 32px); }
.floating-contact > a { display: flex; align-items: center; gap: .8rem; min-height: 54px; padding: .8rem 1.3rem; white-space: nowrap; border: 1px solid #745039; border-radius: 999px; background: #181512f2; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 8px 32px #0009; font-size: .85rem; font-weight: 500; color: #f7f7f7; transition: border-color 160ms ease, background 160ms ease; }
.floating-contact > a:hover { border-color: var(--brand-orange); background: #292018; }
.contact-status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-orange); }
.contact-arrow { color: var(--brand-orange); font-size: 1.2rem; margin-left: .7rem; }
@media (max-width: 800px) {
  .studio-hero-with-media { padding-inline: 1.25rem; margin-inline: -1.25rem; }
  .hero-actions { align-items: flex-start; }
}
@media (max-width: 540px) {
  .studio-hero .hero-headline { flex-direction: column; align-items: flex-start; font-size: clamp(2.8rem, 12.5vw, 4.2rem); }
  .floating-contact { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .hero-word-reel, .hero-word-window, .floating-contact > a { transition: none; } }
