/* ============================================================
   OCYM Staging — site styles
   Palette + type tokens
   ============================================================ */
:root {
  --paper: #f7f4ee;
  --paper-2: #efe9df;
  --ink: #23201b;
  --ink-soft: #3d382f;
  --muted: #6e675c;
  --line: #e2dccf;
  --accent: #9c7a54;
  --accent-dark: #7d5f3f;
  --white: #fffdf9;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --maxw: 1180px;
  --radius: 2px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

/* Any author `display` rule outranks the browser's own [hidden] rule, so
   setting el.hidden silently does nothing on anything we style with
   display. This has caught us twice - the filter bar, then the photo
   grid sitting visible underneath the before/after sliders. One rule
   here makes `hidden` mean hidden everywhere. */
[hidden] { display: none !important; }

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- type ---------- */
h1, h2, h3, .display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(30px, 4.2vw, 46px);
  max-width: 16em;
}

.section-lede {
  color: var(--muted);
  font-size: 17px;
  max-width: 560px;
  margin-top: 16px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 32px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  background: none;
  font-family: var(--sans);
}

.btn-solid {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-solid:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.btn-ghost { color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

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

.btn-light-solid {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}
.btn-light-solid:hover { background: transparent; color: var(--white); }

.text-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: color 0.2s;
}
.text-link:hover { color: var(--ink); }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img { height: 38px; width: auto; }

/* over hero: light logo + links */
.site-header.on-dark .logo img { filter: invert(1) brightness(1.6); }
.site-header.on-dark { color: var(--white); }

.site-header.scrolled {
  background: rgba(247, 244, 238, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  padding: 14px 0;
  color: var(--ink);
}
.site-header.scrolled .logo img { filter: none; }

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

.main-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.main-nav a:hover { opacity: 1; }

.nav-phone {
  font-weight: 600;
  border: 1px solid currentColor;
  padding: 10px 18px;
  border-radius: var(--radius);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: inherit;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: transform 0.25s, opacity 0.25s;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: linear-gradient(155deg, #2b261f 0%, #4a4033 55%, #6b5c48 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(20, 17, 13, 0.5) 0%, rgba(20, 17, 13, 0.15) 55%, rgba(20, 17, 13, 0) 75%),
    linear-gradient(to top, rgba(20, 17, 13, 0.72) 0%, rgba(20, 17, 13, 0.25) 45%, rgba(20, 17, 13, 0.3) 100%);
}

.hero .wrap {
  position: relative;
  z-index: 2;
  padding-bottom: 90px;
  padding-top: 160px;
  width: 100%;
}

.hero .eyebrow { color: #d8bd97; }

.hero h1 {
  font-size: clamp(40px, 6.4vw, 76px);
  max-width: 11em;
  margin-bottom: 24px;
}

.hero p {
  font-size: 18px;
  max-width: 520px;
  opacity: 0.92;
  margin-bottom: 38px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- stats band ---------- */
.stats {
  border-bottom: 1px solid var(--line);
  padding: 64px 0;
}

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

.stat h3 {
  font-size: clamp(38px, 4vw, 54px);
  color: var(--accent-dark);
}

.stat p { color: var(--muted); font-size: 15px; margin-top: 6px; max-width: 26em; }

.stat small {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
  opacity: 0.75;
}

/* ---------- generic section spacing ---------- */
.section { padding: 110px 0; }
.section-head { margin-bottom: 56px; }
.section-head.centered { text-align: center; }
.section-head.centered .section-lede,
.section-head.centered .section-title { margin-left: auto; margin-right: auto; }

.alt-bg { background: var(--paper-2); }

/* ---------- intro split ---------- */
.intro .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.intro-media { position: relative; }

.intro-media .ph { aspect-ratio: 4 / 5; }

/* show the about photo at its natural proportions, no side cropping */
.intro-media img { aspect-ratio: auto !important; height: auto !important; }

.intro-media::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  border: 1px solid var(--line);
  z-index: -1;
}

.intro-copy h2 { font-size: clamp(30px, 3.8vw, 44px); margin-bottom: 22px; }
.intro-copy p { color: var(--ink-soft); margin-bottom: 18px; max-width: 34em; }
.intro-copy .text-link { display: inline-block; margin-top: 10px; }

/* ---------- services ---------- */
#services { padding-top: 64px; }

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

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(35, 32, 27, 0.09);
}

.service-card .ph, .service-card img.card-img { aspect-ratio: 4 / 3; }

/* The JS image swap sets an inline height:100%, which lets flexbox squash
   the photo whenever a card's copy runs longer than its neighbours'.
   Pin the height so all three images stay the same size regardless of text. */
.service-card img.card-img { height: auto !important; flex-shrink: 0; }

.service-body { padding: 28px 26px 32px; display: flex; flex-direction: column; flex: 1; }

.service-body h3 { font-size: 24px; margin-bottom: 12px; }

.service-body p { color: var(--muted); font-size: 15px; flex: 1; }

.service-body .text-link { margin-top: 22px; align-self: flex-start; }

/* ---------- interior design feature ---------- */
.design-feature { padding-top: 0; padding-bottom: 70px; }

#process { padding-top: 50px; }

.design-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border: 1px solid var(--line);
}

.design-copy {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.design-copy h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  margin-bottom: 18px;
}

.design-copy p {
  color: var(--muted);
  max-width: 30em;
  margin-bottom: 30px;
}

.design-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.design-media {
  min-height: 380px;
}

.design-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 960px) {
  .design-card { grid-template-columns: 1fr; }
  .design-media { order: -1; min-height: 260px; }
  .design-copy { padding: 40px 28px; }
}

/* ---------- process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.step { position: relative; padding-top: 26px; }

.step::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 44px;
  height: 1px;
  background: var(--accent);
}

.step-num {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--accent-dark);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }

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

.tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
  cursor: pointer;
  border: none;
  padding: 0;
}

.tile img, .tile .ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.tile:hover img { transform: scale(1.045); }

.tile .tile-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 18px 14px;
  background: linear-gradient(to top, rgba(20, 17, 13, 0.6), transparent);
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s;
}

.tile:hover .tile-label { opacity: 1; }

.portfolio-cta { text-align: center; margin-top: 48px; }

/* gallery page */
.page-hero {
  padding: 190px 0 70px;
  border-bottom: 1px solid var(--line);
}

.back-link {
  display: inline-block;
  margin-bottom: 26px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  transition: color 0.2s;
}
.back-link:hover { color: var(--ink); }

.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 44px 0 32px;
}

/* Room bar is a second tier under the category bar: smaller, tighter,
   sitting close to the buttons it belongs to. */
.room-filters {
  gap: 8px;
  margin: -18px 0 32px;
}
.room-filters .filter-btn {
  font-size: 11px;
  padding: 7px 15px;
}

.filter-btn {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover { border-color: var(--ink); color: var(--ink); }

.filter-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.gallery-note {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}

/* ---------- image placeholder (until photos are added) ---------- */
.ph {
  width: 100%;
  background:
    linear-gradient(135deg, rgba(156, 122, 84, 0.14), rgba(156, 122, 84, 0.05)),
    var(--paper-2);
  border: 1px dashed rgba(156, 122, 84, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.ph span {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  opacity: 0.85;
  line-height: 1.8;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 44px 26px 0;
  font-family: var(--serif);
  font-size: 20px;
  position: relative;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 300;
  color: var(--accent-dark);
  transition: transform 0.25s;
}

.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq-list details p {
  color: var(--muted);
  padding: 0 44px 26px 0;
  max-width: 42em;
}

/* ---------- contact / CTA ---------- */
.contact {
  background: var(--ink);
  color: var(--paper);
}

.contact .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact .eyebrow { color: #d8bd97; }

.contact h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 22px; }

.contact-copy p { opacity: 0.8; max-width: 30em; margin-bottom: 34px; }

.contact-lines { display: flex; flex-direction: column; gap: 14px; }

.contact-lines a {
  font-family: var(--serif);
  font-size: 24px;
  transition: color 0.2s;
}
.contact-lines a:hover { color: #d8bd97; }

.contact-lines .label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
  display: block;
  margin-bottom: 2px;
}

.contact-form { display: flex; flex-direction: column; gap: 18px; }

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

.contact-form label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
  display: block;
  margin-bottom: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: rgba(255, 253, 249, 0.06);
  border: 1px solid rgba(255, 253, 249, 0.22);
  color: var(--paper);
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 15px;
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.contact-form select option { color: var(--ink); }

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #d8bd97;
}

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

.contact-form .btn { align-self: flex-start; margin-top: 6px; }

/* ---------- footer ---------- */
.site-footer {
  background: #1b1815;
  color: rgba(247, 244, 238, 0.7);
  padding: 56px 0 40px;
  font-size: 14px;
}

.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer .logo img { height: 28px; filter: invert(1) brightness(1.4); opacity: 0.85; }

.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }

.footer-nav a {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.footer-nav a:hover { opacity: 1; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 17, 13, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 86vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox button {
  position: absolute;
  background: none;
  border: none;
  color: rgba(255, 253, 249, 0.85);
  font-size: 34px;
  cursor: pointer;
  padding: 16px;
  line-height: 1;
  transition: color 0.2s;
  font-family: var(--sans);
}
.lightbox button:hover { color: #fff; }

.lb-close { top: 18px; right: 22px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .section { padding: 80px 0; }

  .stats .wrap { grid-template-columns: 1fr; gap: 28px; }

  .intro .wrap { grid-template-columns: 1fr; gap: 48px; }
  .intro-media::before { display: none; }

  .services-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

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

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

  .contact .wrap { grid-template-columns: 1fr; gap: 56px; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--paper);
    color: var(--ink);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    display: none;
  }

  .main-nav.open { display: flex; }
  .main-nav.open a { font-size: 16px; }

  .nav-toggle { display: block; position: relative; z-index: 110; }

  body.nav-open .nav-toggle { color: var(--ink); }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

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

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

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

/* ---------- before / after sliders ---------- */
.ba-section .section-lede { margin-bottom: 40px; }

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

.ba-item { margin: 0; }

.ba {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
  touch-action: pan-y;          /* let the page scroll vertically over it */
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

/* Clip the left-hand photo to the handle position. Clipping rather than
   resizing a wrapper means the image never squashes as the handle moves. */
.ba-img.is-clipped { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.ba-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

/* The arrows on the knob. */
.ba-handle::before {
  content: "\2039\00a0\203A";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  font-size: 17px;
  letter-spacing: -1px;
  color: var(--ink);
  pointer-events: none;
}

.ba-tag {
  position: absolute;
  top: 14px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(20, 17, 13, 0.62);
  color: #fff;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
  transition: opacity 0.2s;
}
.ba-tag.at-left  { left: 14px; }
.ba-tag.at-right { right: 14px; }

/* The range input is the real control: it covers the whole image so a
   drag anywhere works, but is visually invisible — the .ba-handle is
   what the eye follows. */
.ba-range {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: ew-resize;
}
.ba-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 44px;
  height: 100%;
  cursor: ew-resize;
}
.ba-range::-moz-range-thumb {
  width: 44px;
  height: 100%;
  border: none;
  background: transparent;
  cursor: ew-resize;
}
.ba-range:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 3px; }

.ba-caption {
  margin-top: 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 860px) {
  .ba-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* A label hides once its side of the slider is too narrow to hold it. */
.ba-tag.is-hidden { opacity: 0; }

/* Shown when a category has no photos yet. */
.gallery-empty {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.gallery-empty-link {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Before & After reads as a different kind of view, not another room. */
.room-filters .ba-tab { margin-left: 6px; }
.room-filters .ba-tab::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 11px;
  margin-right: 10px;
  vertical-align: -1px;
  background: var(--line);
}
.room-filters .ba-tab.active::before { background: rgba(255,255,255,0.35); }
.ba-section { padding-top: 8px; }

/* Hover captions are only shown on the All view (see applyFilter). The
   zoom on hover is deliberately left alone. */
.portfolio-grid.hide-labels .tile-label { display: none; }

/* ---------- Instagram link in the header ----------
   Inherits the nav's colour, so it stays readable both over the hero
   (white) and against the solid header after scrolling. */
.nav-ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.9;
}
.nav-ig:hover { opacity: 1; }

.nav-ig svg {
  width: 19px;
  height: 19px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
/* the little lens dot reads better filled than outlined at this size */
.nav-ig svg .ig-dot { fill: currentColor; stroke: none; }

/* On desktop the icon speaks for itself; the word is for the mobile menu,
   where links are a vertical list and a lone glyph would look stray. */
.nav-ig-text { display: none; }

@media (max-width: 860px) {
  .nav-ig { gap: 12px; }
  .nav-ig svg { width: 22px; height: 22px; }
  .nav-ig-text {
    display: inline;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
}
