/* ==========================================================================
   Jacob's Jewelry — shared stylesheet
   Clean white luxury aesthetic, referencing Cartier.com / Harry Winston
   ========================================================================== */

:root {
  --white:      #FFFFFF;
  --off-white:  #FFFFFF;
  --panel:      rgba(21, 34, 56, 0.04);
  --line:       rgba(21, 34, 56, 0.15);
  --black:      #0A0A0A;
  --grey:       rgba(10, 10, 10, 0.72);
  --grey-light: rgba(10, 10, 10, 0.52);
  --navy:       #152238;
  --navy-soft:  rgba(21, 34, 56, 0.35);
  --navy-tint:  rgba(21, 34, 56, 0.06);
  --on-navy:        rgba(255, 255, 255, 0.78);
  --on-navy-faint:  rgba(255, 255, 255, 0.5);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: 32px;
}

/* ---- Reset ---------------------------------------------------------- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--grey);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--black);
  line-height: 1.15;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---- Utility ---------------------------------------------------------- */

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 18px;
}

.rule {
  width: 56px;
  height: 1px;
  background: var(--navy);
  margin: 0 auto 24px;
}

.rule--left {
  margin: 0 0 24px;
}

.section {
  padding: 120px 0;
}

.section--tight {
  padding: 90px 0;
}

.section--clear-header {
  padding-top: 180px;
}

.section--panel {
  background: var(--panel);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 72px;
  text-align: center;
}

.section-head h2 {
  font-size: 38px;
}

.section-head p {
  margin-top: 18px;
  color: var(--grey-light);
}

.one-line {
  white-space: nowrap;
}

.lede {
  font-size: 19px;
  color: var(--grey-light);
}

/* ---- Buttons ---------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 16px 38px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.35s ease;
  border: 1px solid var(--black);
  color: var(--black);
}

.btn:hover {
  background: var(--black);
  color: var(--white);
}

.btn--navy {
  border-color: var(--navy);
  color: var(--navy);
}

.btn--navy:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--light {
  border-color: var(--white);
  color: var(--white);
}

.btn--light:hover {
  background: var(--white);
  color: var(--black);
}

/* ---- Placeholder images ------------------------------------------------ */

.placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--off-white);
  border: 1px solid var(--navy-soft);
  color: var(--grey-light);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  min-height: 280px;
  width: 100%;
}

.placeholder span {
  padding: 12px 24px;
}

.placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder:has(img) {
  border-color: transparent;
}

/* ---- Header ------------------------------------------------------------ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
  will-change: transform;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  height: 58px;
  width: auto;
}

.footer-brand .logo-img {
  height: 40px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  position: relative;
  padding-bottom: 6px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--navy);
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  width: 100%;
}

.main-nav a.is-active {
  color: var(--black);
}

.nav-cta {
  border: 1px solid var(--black);
  padding: 11px 26px !important;
  padding-bottom: 11px !important;
}

.nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
}

.nav-toggle span {
  height: 1px;
  width: 26px;
  background: var(--black);
}

/* ---- Footer -------------------------------------------------------------*/

.site-footer {
  background: var(--navy);
  color: var(--on-navy);
  padding: 96px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand p {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.8;
  max-width: 280px;
  color: var(--on-navy-faint);
}

.footer-col h4 {
  font-family: var(--font-body);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--on-navy-faint);
  margin-bottom: 14px;
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--on-navy-faint);
}

.footer-bottom a {
  color: var(--on-navy-faint);
}

.footer-bottom a:hover {
  color: var(--white);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

/* ---- Scroll intro ---------------------------------------------------------------*/

body.intro-lock {
  overflow: hidden;
  height: 100vh;
}

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
  overflow: hidden;
  background: var(--black);
  opacity: 1;
  will-change: transform;
}

.intro-overlay.is-fading {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.intro-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.intro-diamond-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease-out;
  will-change: transform;
}

#intro-layer-2,
#intro-layer-3 {
  opacity: 0;
}


.intro-cta {
  position: absolute;
  left: 50%;
  bottom: 48px;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #000;
  will-change: transform;
  transition: opacity 0.3s ease;
}

.intro-whiteout {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  will-change: transform;
}

.intro-whiteout.is-visible {
  opacity: 1;
}

.intro-overlay.is-mobile {
  cursor: pointer;
}

/* ---- Hero ---------------------------------------------------------------*/

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 92px;
}

.hero-media {
  position: absolute;
  inset: 92px 0 0 0;
  z-index: -1;
}

.hero-media .placeholder {
  height: 100%;
  min-height: 0;
  border: none;
  background: var(--off-white);
}

.hero-content {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 80px var(--gutter);
}

.hero h1 {
  font-size: 38px;
  margin-bottom: 26px;
}

.hero .lede {
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
}

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-light);
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 36px;
  background: var(--navy);
  animation: scroll-cue 2s ease-in-out infinite;
}

@keyframes scroll-cue {
  0% { transform: scaleY(0.2); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0.2); transform-origin: bottom; opacity: 0.4; }
}

/* ---- Credential strip -----------------------------------------------------*/

.credentials {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.credentials-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.credential {
  text-align: center;
  padding: 56px 24px;
  border-right: 1px solid var(--line);
}

.credential:last-child {
  border-right: none;
}

.credential .num {
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
}

.credential .label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-light);
}

/* ---- Fancy colour diamonds divider -------------------------------------------*/

.divider-section {
  padding: 36px 0;
}

.divider-image {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 0 auto;
}

/* ---- Mission & Vision ---------------------------------------------------------*/

.mission-vision {
  background: var(--white);
}

.mission-vision-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 80px;
}

.mission-vision-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 0;
}

.mission-vision-text .eyebrow {
  color: #8B6914;
}

.mission-vision-text h2 {
  font-size: 38px;
  margin-bottom: 24px;
}

.mission-vision-text p {
  margin-bottom: 20px;
  color: var(--grey-light);
}

.mission-vision-media {
  position: relative;
  min-height: 320px;
}

.mission-vision-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.text-link-gold {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8B6914;
  border-bottom: 1px solid rgba(139, 105, 20, 0.4);
  padding-bottom: 4px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.text-link-gold:hover {
  color: #6b5010;
  border-color: #6b5010;
}

/* ---- Pillars ----------------------------------------------------------------*/

.pillars-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.pillars-section + section {
  padding-top: 60px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}

.pillar {
  padding: 24px 4px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  cursor: default;
  transition: transform 0.35s ease;
}

.pillar:hover {
  transform: translateY(-6px);
}

.pillar h3 {
  font-size: 26px;
  margin-bottom: 16px;
  transition: color 0.3s ease;
}

.pillar:hover h3 {
  color: var(--navy);
}

.pillar-rule {
  width: 40px;
  height: 1px;
  background: var(--navy);
  margin-bottom: 20px;
  transform: scaleX(0.45);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.pillar:hover .pillar-rule {
  transform: scaleX(1);
}

.pillar p {
  font-size: 15px;
  color: var(--grey-light);
  transition: color 0.3s ease;
}

.pillar:hover p {
  color: var(--grey);
}

/* ---- Capability cards -----------------------------------------------------*/

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
}

.capability-card {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.capability-card h3 {
  font-size: 23px;
  margin-bottom: 12px;
}

.capability-card p {
  font-size: 15px;
  color: var(--grey-light);
  margin-bottom: 18px;
}

.capability-card .text-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--navy-soft);
  padding-bottom: 4px;
}

/* ---- Process video section -------------------------------------------- */

.process-video-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.process-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.process-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.process-video-section .eyebrow {
  color: var(--on-navy);
}

.process-video-section .section-head h2 {
  color: var(--white);
  font-size: 28px;
}

.process-video-section .section-head p {
  color: var(--on-navy);
}

.process-video-cta {
  position: absolute;
  left: 50%;
  bottom: 56px;
  transform: translateX(-50%);
  text-align: center;
}

/* ---- Portfolio teaser -----------------------------------------------------*/

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.portfolio-item .placeholder {
  min-height: 420px;
  margin-bottom: 16px;
  background: transparent;
}

.portfolio-item .placeholder img {
  object-fit: contain;
  padding: 28px;
  transition: transform 0.4s ease;
}

.portfolio-item:hover .placeholder img {
  transform: scale(1.06);
}

.portfolio-item .label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
}

/* ---- CTA band -------------------------------------------------------------*/

.cta-band {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 110px 0;
}

.cta-band .eyebrow {
  color: var(--on-navy);
}

.cta-band h2 {
  color: var(--white);
  font-size: 38px;
  margin-bottom: 18px;
}

.cta-band p {
  color: var(--on-navy-faint);
  max-width: 520px;
  margin: 0 auto 36px;
}

/* ---- Page hero (non-home pages) ------------------------------------------*/

.page-hero {
  position: relative;
  padding: 220px 0 60px;
  text-align: center;
}

.page-hero + section {
  padding-top: 60px;
}

.page-hero .hero-media {
  inset: 92px 0 0 0;
}

.page-hero h1 {
  font-size: 48px;
}

.page-hero .lede {
  max-width: 560px;
  margin: 18px auto 0;
}

.breadcrumb {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-light);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--grey-light);
}

.breadcrumb a:hover {
  color: var(--navy);
}

.breadcrumb .sep {
  margin: 0 8px;
  color: var(--navy-soft);
}

/* ---- Intro statement ------------------------------------------------------*/

.intro-statement {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.intro-statement p {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--black);
  line-height: 1.5;
}

/* ---- Legal content (Privacy Policy) ----------------------------------*/

.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-updated {
  margin-top: 14px;
  font-size: 14px;
  color: var(--grey-light);
}

.legal-block {
  margin-bottom: 56px;
}

.legal-block:last-child {
  margin-bottom: 0;
}

.legal-block h2 {
  font-size: 26px;
  margin-bottom: 16px;
}

.legal-block p {
  margin-bottom: 14px;
  color: var(--grey-light);
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-block .discipline-points {
  margin-top: 8px;
}

/* ---- Discipline (alternating image+text) ----------------------------------*/

.discipline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}

.discipline:last-child {
  border-bottom: none;
}

.discipline--reverse .discipline-media {
  order: 2;
}

.discipline-index {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--navy);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.discipline-text h3 {
  font-size: 32px;
  margin-bottom: 18px;
}

.discipline-text > p {
  margin-bottom: 22px;
  color: var(--grey-light);
}

.discipline-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.discipline-points li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--grey);
}

.discipline-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 1px;
  background: var(--navy);
}

.discipline-media .placeholder {
  min-height: 360px;
}

.cert-image {
  aspect-ratio: 1946 / 1032;
  min-height: 0;
  background: transparent;
}

.cert-image img {
  object-fit: contain;
}

.cert-link {
  display: block;
  text-align: center;
  margin-top: 18px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}

.cert-link span {
  border-bottom: 1px solid var(--navy-soft);
  padding-bottom: 4px;
}

.cert-link:hover {
  color: var(--black);
}

.cert-link:hover span {
  border-color: var(--black);
}

/* ---- RJC policy content ------------------------------------------------ */

.policy-text {
  max-width: 780px;
  margin: 0 auto;
}

.policy-text p {
  margin-bottom: 22px;
  color: var(--grey);
  line-height: 1.85;
}

.policy-text p:last-child {
  margin-bottom: 0;
}

.policy-docs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.policy-doc-card {
  padding: 48px 40px;
  border: 1px solid var(--line);
  text-align: center;
}

.policy-doc-card h3 {
  font-size: 24px;
  margin-bottom: 14px;
}

.policy-doc-card p {
  font-size: 15px;
  color: var(--grey-light);
  margin-bottom: 28px;
}

.rjc-cert-photo {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto;
  border: 2px solid #8B6914;
}

/* ---- Enquiry form -----------------------------------------------------------*/

.enquiry {
  max-width: 720px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.field {
  margin-bottom: 28px;
}

.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-light);
  margin-bottom: 10px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--black);
  transition: border-color 0.25s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 13px;
  color: var(--grey-light);
  margin-top: 18px;
}

/* ---- Work filter & grid ----------------------------------------------------*/

.work-filter {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.work-filter button {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-light);
  padding-bottom: 8px;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.work-filter button:hover {
  color: var(--black);
}

.work-filter button.is-active {
  color: var(--black);
  border-bottom-color: var(--navy);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.work-item .placeholder {
  aspect-ratio: 1 / 1;
  min-height: 0;
  border: none;
}

.work-item.is-hidden {
  display: none;
}

.work-item .placeholder {
  cursor: zoom-in;
}

.work-item .placeholder img {
  transition: transform 0.45s ease;
}

.work-item:hover .placeholder img {
  transform: scale(1.06);
}

.work-item .placeholder .hover-angle {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s ease, transform 0.45s ease;
}

.work-item:hover .placeholder .hover-angle {
  opacity: 1;
}

.work-item[data-item="pendant-drop"] .placeholder img {
  transform: scale(1.2);
}

.work-item[data-item="pendant-drop"]:hover .placeholder img {
  transform: scale(1.27);
}

.work-item[data-item="stud-cluster"] .placeholder img {
  object-position: center 15%;
  transform: scale(1.07);
  transform-origin: 50% 15%;
}

.work-item[data-item="stud-cluster"]:hover .placeholder img {
  transform: scale(1.14);
  transform-origin: 50% 15%;
}

/* ---- Lightbox -----------------------------------------------------------*/

#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

#lightbox.is-open {
  display: flex;
}

#lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  width: auto;
  height: auto;
  cursor: default;
}

#lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: var(--white);
  font-size: 32px;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  padding: 8px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

#lightbox-close:hover {
  opacity: 1;
}

#lightbox-prev,
#lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 48px;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  padding: 8px 18px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

#lightbox-prev {
  left: 8px;
}

#lightbox-next {
  right: 8px;
}

#lightbox-prev:hover,
#lightbox-next:hover {
  opacity: 1;
}

#lightbox-counter {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--on-navy);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---- Quote block -----------------------------------------------------------*/

.quote-block {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.quote-block p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 26px;
  color: var(--black);
  line-height: 1.5;
}

.quote-block cite {
  display: block;
  margin-top: 22px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}

.placeholder--portrait {
  min-height: 480px;
}

/* ---- Team photo ---------------------------------------------------------------*/

.team-photo {
  aspect-ratio: 3 / 2;
}

.atelier-text {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.night-photo-full {
  aspect-ratio: 3299 / 1133;
  min-height: 0;
}

.team-section {
  padding-bottom: 40px;
}

.team-section .section-head h2 {
  font-size: 28px;
}

.team-section + section {
  padding-top: 40px;
}

/* ---- Leadership ---------------------------------------------------------------*/

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px;
  max-width: 760px;
  margin: 0 auto;
}

.leader-card {
  text-align: center;
}

.leader-card .placeholder {
  min-height: 320px;
  margin-bottom: 24px;
}

.leader-card h3 {
  font-size: 24px;
  margin-bottom: 6px;
}

.leader-card .role {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
}

.leader-card .bio-tbd {
  font-size: 14px;
  font-style: italic;
  color: var(--grey-light);
}

/* ---- Responsive ---------------------------------------------------------*/

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero h1 {
    font-size: 37px;
  }

  .discipline {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .discipline--reverse .discipline-media {
    order: 0;
  }

  .mission-vision-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .mission-vision-text {
    padding: 0;
  }

  .mission-vision-media {
    min-height: 320px;
  }

  .policy-docs-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

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

  .work-filter {
    gap: 24px;
  }

  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 360px;
  }
}

@media (max-width: 860px) {
  .one-line {
    white-space: normal;
  }

  .main-nav {
    position: fixed;
    top: 92px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .main-nav.is-open {
    max-height: 480px;
  }

  .main-nav a {
    width: 100%;
    padding: 18px var(--gutter);
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    border: none !important;
  }

  .nav-toggle {
    display: flex;
  }

  .section {
    padding: 80px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .credentials-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .credential {
    border-bottom: 1px solid var(--line);
  }

  .credential:nth-child(2n) {
    border-right: none;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .hero h1 {
    font-size: 29px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .page-hero {
    padding: 160px 0 70px;
  }

  .section--clear-header {
    padding-top: 140px;
  }

  .page-hero h1 {
    font-size: 34px;
  }

  .intro-statement p {
    font-size: 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .certs-row {
    gap: 28px 40px;
  }

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

  .work-filter {
    gap: 16px 22px;
  }
}
