:root {
  --ink: #160f11;
  --paper: #eee8de;
  --red: #7e0d1a;
  --red-bright: #bc1530;
  --gold: #c8ad73;
  --blue: #133e75;
  --yellow: #dda42e;
  --line: rgba(22, 15, 17, 0.2);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
}

body.lightbox-open { overflow: hidden; }

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; }

::selection {
  background: var(--red);
  color: #fff;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: #fff;
  color: #000;
}

.skip-link:focus { top: 1rem; }

.navbar {
  padding: 1rem 0;
  transition: background 0.35s ease, padding 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  padding: 0.7rem 0;
  background: rgba(22, 15, 17, 0.92);
  backdrop-filter: blur(14px);
  border-color: rgba(255,255,255,0.14);
}

.navbar-brand,
.navbar .nav-link {
  color: #fff;
}

.navbar-brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.navbar-brand span { font-style: italic; }

.navbar-brand,
.navbar-brand:link,
.navbar-brand:visited {
    color: #fff !important;
    transition: color .25s ease;
}

.navbar-brand:hover,
.navbar-brand:focus {
    color: var(--gold) !important;
    text-decoration: none;
}

.navbar .nav-link {
  margin-left: 1.35rem;
  font-family: var(--mono);
  font-size: 0.73rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus { color: var(--gold); }

.nav-contact {
  border: 1px solid rgba(255,255,255,0.4);
  padding: 0.55rem 0.9rem !important;
}

.navbar-toggler {
  border: 0;
  box-shadow: none !important;
  width: 42px;
  height: 42px;
}

.navbar-toggler span {
  display: block;
  width: 26px;
  height: 1px;
  margin: 7px auto;
  background: #fff;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 35%, rgba(126, 13, 26, 0.75), transparent 35%),
    linear-gradient(145deg, #0a0809 0%, #201014 52%, #080707 100%);
  color: #fff;
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.09;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 50%;
}

.orbit-one {
  width: 58vw;
  height: 58vw;
  right: -16vw;
  top: -12vw;
  animation: slow-spin 26s linear infinite;
}

.orbit-two {
  width: 28vw;
  height: 28vw;
  right: 10vw;
  bottom: -10vw;
  animation: slow-spin 18s linear infinite reverse;
}

@keyframes slow-spin { to { transform: rotate(360deg); } }

.eyebrow,
.section-number,
.work-kicker {
  margin-bottom: 1.25rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(5.7rem, 15vw, 14rem);
  line-height: 0.72;
  letter-spacing: -0.075em;
}

.hero-title span { display: block; }

.outline-word {
    color: rgba(255,255,255,.18);
    -webkit-text-stroke: 0;
    font-style: italic;
}


.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  max-width: 850px;
  margin-top: 5rem;
  margin-left: 1rem;
}

.hero-intro {
  max-width: 520px;
  margin: 0;
  color: rgba(255,255,255,0.78);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.1vw, 2rem);
  line-height: 1.35;
}

.text-link {
  flex: 0 0 auto;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-side-label {
  position: absolute;
  right: 1.2rem;
  bottom: 2.5rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: rgba(255,255,255,0.44);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-pad { padding: clamp(6rem, 10vw, 10rem) 0; }

.opening-quote {
  background: var(--paper);
}

.display-quote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 7.3rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.display-quote cite {
  display: block;
  margin-top: 2rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-panel {
  position: relative;
  overflow: hidden;
}

.mcqueen-panel {
  background: #17080b;
  color: #fff;
}

.work-copy h2,
.section-title,
.contact-title {
  margin: 0 0 1.8rem;
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 8.3rem);
  line-height: 0.86;
  letter-spacing: -0.055em;
}

.work-description {
  max-width: 580px;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.7;
}

.work-copy blockquote {
  max-width: 540px;
  margin: 3rem 0 0;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1.05;
  font-style: italic;
}

.quote-source {
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.poster-stack {
  position: relative;
  width: min(100%, 720px);
  margin: 8rem auto 6rem;
}

.main-poster {
  width: 74%;
  height: auto;
  margin-left: auto;
  box-shadow: 0 35px 85px rgba(0,0,0,0.42);
  transform: rotate(2deg);
}

.floating-photo {
  position: absolute;
  width: 43%;
  height: auto;
  left: 2%;
  bottom: -7%;
  box-shadow: 0 30px 75px rgba(0,0,0,0.55);
  transform: rotate(-4deg);
}

.safe-panel {
  min-height: 100vh;
  color: #fff;
  background: #111;
}

.safe-image-wrap,
.safe-overlay {
  position: absolute;
  inset: 0;
}

.safe-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.safe-overlay {
  background: linear-gradient(90deg, rgba(8,9,13,0.91) 0%, rgba(8,9,13,0.58) 50%, rgba(8,9,13,0.12) 100%);
}

.safe-panel .work-copy { padding-top: 10rem; }

.script-box {
  max-width: 630px;
  margin-top: 2.4rem;
  padding: 1.6rem;
  border-left: 2px solid rgba(255,255,255,0.65);
  background: rgba(13,13,16,0.44);
  backdrop-filter: blur(8px);
}

.script-box .character {
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.script-box p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.45;
}

.safe-badge-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.safe-art-badge,
.grant-badge {
  width: min(220px, 70%);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin-left: auto;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 20px 55px rgba(0,0,0,0.25);
}

.safe-art-badge {
  background: rgba(8,9,13,0.45);
}

.undone-panel {
  background: #d6a42e;
  color: #102e55;
}

.undone-poster {
  position: relative;
  width: min(80%, 540px);
  margin: 7rem auto;
  transform: rotate(-3deg);
  box-shadow: 26px 30px 0 rgba(17,46,85,0.95);
}

.undone-poster img {
  width: 100%;
  height: auto;
}

.dialogue-card {
  max-width: 540px;
  margin-top: 2.5rem;
  padding: 1.8rem;
  border: 2px solid currentColor;
  box-shadow: 11px 11px 0 currentColor;
}

.dialogue-card p:last-child { margin-bottom: 0; }

.dialogue-card strong {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-section {
  background: var(--paper);
}

.section-title { font-size: clamp(3.8rem, 7vw, 7rem); }

.bio-copy p {
  font-size: 1.08rem;
  line-height: 1.85;
}

.bio-copy .lead {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.3;
}

.career-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 7rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.career-strip div {
  min-height: 180px;
  padding: 2rem;
  border-right: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.career-strip div:last-child { border-right: 0; }

.career-strip span {
  display: block;
  margin-bottom: 2rem;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 4rem);
  letter-spacing: -0.04em;
  text-transform: none;
}

.selected-works {
  background: #151113;
  color: #fff;
}

.section-intro {
  max-width: 520px;
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
}

.works-list { border-top: 1px solid rgba(255,255,255,0.18); }

.work-row {
  display: grid;
  grid-template-columns: 90px minmax(260px, 0.8fr) 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2.1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  transition: padding 0.3s ease, color 0.3s ease;
}

.work-row:hover {
  padding-left: 1rem;
  color: var(--gold);
}

.work-index {
  font-family: var(--mono);
  font-size: 0.7rem;
}

.work-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 4.2rem);
  letter-spacing: -0.035em;
}

.work-row p {
  margin: 0;
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
}

.gallery-section { background: #ded9cf; }

.gallery-note {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.gallery-item,
.gallery-wide,
.gallery-tall {
  position: relative;
  grid-column: auto;
  grid-row: auto;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #111;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.65s cubic-bezier(.2,.7,.2,1), opacity 0.35s ease;
}

/* Show more of the top of the What's Bugging Greg image */
.gallery-grid .gallery-item:nth-child(2) img {
    object-position: center top;
}

.gallery-item span {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  color: #fff;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 55%, rgba(0,0,0,0.75));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover img { transform: scale(1.04); }
.gallery-item:hover span,
.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover span { transform: translateY(0); }

.finale-section {
  background: var(--red);
  color: #fff;
}

.final-quote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 8rem);
  line-height: 0.98;
  font-style: italic;
  letter-spacing: -0.045em;
}

.contact-section {
  background: #0e0b0c;
  color: #fff;
}

.contact-title { font-size: clamp(4.5rem, 10vw, 10rem); }

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding-bottom: 1rem;
}

.contact-links a,
.contact-links span {
  width: fit-content;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.83rem;
  letter-spacing: 0.07em;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}

.contact-links a:hover { color: var(--gold); }

footer {
  padding: 0 0 2rem;
  background: #0e0b0c;
  color: rgba(255,255,255,0.5);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-line {
  margin-bottom: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.13);
}

footer a {
  color: inherit;
  text-decoration: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 4rem 2rem 2rem;
  background: rgba(8,7,7,0.96);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-inner {
  width: min(1100px, 94vw);
  max-height: 86vh;
  text-align: center;
}

.lightbox-inner img {
  width: auto;
  max-width: 100%;
  max-height: 76vh;
  margin: 0 auto;
  object-fit: contain;
}

.lightbox-inner p {
  margin: 1rem 0 0;
  color: rgba(255,255,255,0.75);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.lightbox-close {
  position: absolute;
  top: 1.3rem;
  right: 1.3rem;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.7,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 1rem;
    padding: 1.2rem;
    background: rgba(22,15,17,0.98);
  }

  .navbar .nav-link {
    margin: 0;
    padding: 0.8rem 0;
  }

  .nav-contact {
    display: inline-block;
    margin-top: 0.5rem !important;
  }

  .hero-title { font-size: clamp(5rem, 20vw, 10rem); }

  .hero-bottom {
    align-items: flex-start;
    flex-direction: column;
    margin-left: 0;
    margin-top: 3rem;
  }

  .poster-stack { margin-top: 7rem; }

  .safe-panel .work-copy { padding-top: 8rem; }
  .safe-badge-stack {
    align-items: flex-start;
    margin-top: 2rem;
  }

  .safe-art-badge,
  .grant-badge { margin-left: 0; }

  .career-strip { grid-template-columns: repeat(2, 1fr); }
  .career-strip div:nth-child(2) { border-right: 0; }
  .career-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .work-row {
    grid-template-columns: 60px 1fr;
  }

  .work-row p {
    grid-column: 2;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .section-pad { padding: 5rem 0; }

  .hero-side-label { display: none; }

  .hero-title {
    font-size: clamp(4.3rem, 23vw, 7rem);
    line-height: 0.8;
  }

  .outline-word { padding-left: 0.08em; }

  .display-quote { font-size: clamp(2.8rem, 14vw, 4.8rem); }

  .work-copy h2,
  .section-title,
  .contact-title {
    font-size: clamp(3.4rem, 16vw, 5.2rem);
  }

  .poster-stack {
    width: 100%;
    margin: 6rem auto 4rem;
  }

  .main-poster { width: 78%; }

  .floating-photo {
    width: 45%;
    left: 0;
  }

  .safe-overlay {
    background: linear-gradient(0deg, rgba(8,9,13,0.96) 0%, rgba(8,9,13,0.45) 75%, rgba(8,9,13,0.18) 100%);
  }

  .safe-image-wrap img { object-position: 58% center; }

  .undone-poster {
    width: 80%;
    margin: 5rem auto 2rem;
    box-shadow: 14px 16px 0 rgba(17,46,85,0.95);
  }

  .career-strip { grid-template-columns: 1fr; }

  .career-strip div,
  .career-strip div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .career-strip div:last-child { border-bottom: 0; }

  .work-row {
    grid-template-columns: 42px 1fr;
    gap: 1rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-wide,
  .gallery-tall {
    aspect-ratio: 4 / 3;
  }
  .gallery-item span,
  .gallery-item::after { opacity: 1; }
  .gallery-item span { transform: none; }

  .contact-links { padding-bottom: 0; }
}



/* Our Suburb */
.our-suburb-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(11, 24, 42, 0.98), rgba(18, 45, 68, 0.96)),
    #10283d;
  color: #f3eee5;
}

.our-suburb-glow {
  position: absolute;
  width: 48rem;
  height: 48rem;
  right: -18rem;
  top: -20rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,173,115,0.18), transparent 68%);
  pointer-events: none;
}

.our-suburb-title {
  margin: 0 0 2rem;
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 0.85;
  letter-spacing: -0.055em;
}

.our-suburb-context {
  max-width: 410px;
  color: rgba(243,238,229,0.7);
  font-size: 1rem;
  line-height: 1.75;
}

.our-suburb-script {
  position: relative;
  padding: clamp(2rem, 5vw, 4.5rem);
  border: 1px solid rgba(243,238,229,0.18);
  background: rgba(7,17,28,0.48);
  box-shadow: 0 35px 90px rgba(0,0,0,0.24);
  backdrop-filter: blur(10px);
}

.our-suburb-script::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--gold);
}

.our-suburb-script p {
  margin: 0 0 1.5rem;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  line-height: 1.7;
}

.our-suburb-script .script-character {
  margin-bottom: 2rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.our-suburb-script .our-suburb-ending {
  margin-bottom: 0;
  color: var(--gold);
  font-style: italic;
  font-size: clamp(1.5rem, 2.5vw, 2.3rem);
}

@media (max-width: 991.98px) {
  .our-suburb-context {
    max-width: 620px;
  }
}

@media (max-width: 767.98px) {
  .our-suburb-script {
    padding: 2rem 1.5rem;
  }

  .our-suburb-script p {
    font-size: 1.08rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
